]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
Fix stpcpy / mempcpy namespace (bug 17573).
[thirdparty/glibc.git] / ChangeLog
CommitLineData
5a6fa4d7
JM
12014-11-12 Joseph Myers <joseph@codesourcery.com>
2
939da411
JM
3 [BZ #17573]
4 * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
5 with asm name __mempcpy.
6 [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
7
293d9a41
JM
8 [BZ #17572]
9 * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
10 and define as weak alias of __rawmemchr.
11 (__rawmemchr): Do not define as strong alias of rawmemchr.
12
bef8fd60
JM
13 [BZ #17571]
14 * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
15 alias of __qsort_r.
16 (qsort): Call __qsort_r instead of qsort_r.
17 * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
18 (__qsort_r): Declare. Call libc_hidden_proto.
19 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
20 instead of qsort_r.
21 * nscd/gai.c (__qsort_r): Define to qsort_r.
22 * posix/tst-rfc3484.c (__qsort_r): Likewise.
23 * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
24 * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
25
c52ff39e
JM
26 [BZ #17570]
27 * malloc/malloc.c (malloc_info): Rename to __malloc_info and
28 define as weak alias of __malloc_info.
29
2f5c1b00
JM
30 [BZ #17584]
31 * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
32 as weak alias of __rewinddir. Don't use libc_hidden_def.
33 (__rewinddir): Use libc_hidden_def.
34 * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
35 as weak alias of __rewinddir. Don't use libc_hidden_def.
36 (__rewinddir): Use libc_hidden_def.
37 * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
38 weak alias of __rewinddir. Don't use libc_hidden_def.
39 (__rewinddir): Use libc_hidden_def.
40 * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
41 (__rewinddir): Use libc_hidden_proto.
42 * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
43 rewinddir.
44 (__getcwd): Use __rewinddir instead of rewinddir.
45
5a6fa4d7
JM
46 [BZ #17583]
47 * libio/fileno.c (fileno): Rename to __fileno and define as weak
48 alias of __fileno. Use libc_hidden_weak.
49 (__fileno): Use libc_hidden_def.
50 [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
51 * libio/ftello.c (ftello): Rename to __ftello and define as weak
52 alias of __ftello.
53 [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
54 __ftello.
55 * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
56 (__fread_unlocked): Define as strong alias of _IO_fread. Use
57 libc_hidden_def.
58 (fread_unlocked): Don't use libc_hidden_ver.
59 * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
60 and define as weak alias of __fread_unlocked. Don't use
61 libc_hidden_def.
62 (__fread_unlocked): Use libc_hidden_def.
63 * include/stdio.h (__fileno): Declare. Use libc_hidden_proto.
64 (ftello): Don't use libc_hidden_proto.
65 (__ftello): Declare. Use libc_hidden_proto.
66 (fread_unlocked): Don't use libc_hidden_proto.
67 (__fread_unlocked): Declare. Use libc_hidden_proto.
68 * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
69 and __ftello instead of fileno, fread_unlocked and ftello.
70
2581b98e
SP
712012-11-12 Siddhesh Poyarekar <siddhesh@redhat.com>
72
73 * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
74 GOT12.
75 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
76 Likewise.
77 (_dl_start_user): Likewise.
78 * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
79
533bb7c2
SP
802014-11-12 Carlos O'Donell <carlos@redhat.com>
81 Siddhesh Poyarekar <siddhesh@redhat.com>
82
83 * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
84 Move argv and envp down instead of moving argc up.
85 * sysdeps/s390/s390-32/dl-sysdep.h: New file.
86
fffa1cf8
LH
872014-11-12 Leonhard Holz <leonhard.holz@web.de>
88
89 [BZ #17506]
90 * test-skeleton.c (main): Return successful if one of
91 EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
92 * string/tst-strcoll-overflow.c: Define expected status.
93
fb89b46d
TU
942014-11-12 Tatiana Udalova <t.udalova@samsung.com>
95
96 [BZ #17475]
97 * locale/iso-639.def: Define Bhili and Tulu language codes.
98
5c40c3ba
AH
992014-11-11 Alan Hayward <alan.hayward@arm.com>
100
101 * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
102
b17fe01b 1032014-11-10 Renlin Li <Renlin.Li@arm.com>
80085def
RL
104
105 [BZ #17555]
106 * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
107
bd805071
AS
1082014-11-10 Andrew Senkevich <andrew.n.senkevich@gmail.com>
109
110 * configure.ac: Updated check of minimal required version to
111 2.22.
112 * manual/install.texi (Tools for Compilation): Updated version
113 number.
114 * configure: Regenerated.
115 * INSTALL: Likewise.
116
1400983e
AS
1172014-11-07 Andreas Schwab <schwab@linux-m68k.org>
118
119 * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
120 __tls_get_addr.
121
2c46a66a
JM
1222014-11-07 Joseph Myers <joseph@codesourcery.com>
123
124 * include/sys/wait.h (__libc_waitpid): Remove declaration.
125 * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
126 (__waitpid): Don't define as alias. Use libc_hidden_def not
127 libc_hidden_weak.
128 (waitpid): Define as alias of __waitpid.
129 * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
130 __waitpid.
131 (__waitpid): Don't define as alias. Use libc_hidden_def not
132 libc_hidden_weak.
133 (waitpid): Define as alias of __waitpid.
134 * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
135 __libc_waitpid alias.
136 * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
137 * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
138 Likewise.
139 * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
140 * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
141 * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
142 alias.
143 * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
144 __waitpid.
145 (__waitpid): Don't define as alias. Use libc_hidden_def not
146 libc_hidden_weak.
147 (waitpid): Define as alias of __waitpid.
148
da53d6db
CD
1492014-11-06 Carlos O'Donell <carlos@redhat.com>
150
a2887bdb
CD
151 * manual/llio.texi: Add comment that write safety has been
152 fixed in Linux.
153
da53d6db
CD
154 * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
155 (localplt-build-dso): Add elf/ld.so.
156 * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
157 i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
158 and free for ld.so.
159 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
160 __libc_memalign, malloc, calloc, realloc, and free for ld.so.
161 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
162 Likewise.
163 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
164 Likewise.
165 * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
166 * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
167 version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
168 * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
169 * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
170 * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
171 * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
172 * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
173 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
174 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
175 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
176
9cf27b8d
JM
1772014-11-05 Joseph Myers <joseph@codesourcery.com>
178
179 [BZ #14132]
180 * include/libc-symbols.h (INTUSE): Remove macro.
181 (INTDEF): Likewise.
182 (INTVARDEF): Likewise.
183 (_INTVARDEF): Likewise.
184 (INTDEF2): Likewise.
185 (INTVARDEF2): Likewise.
186 * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
187 rtld_hidden_def instead of INTVARDEF.
188 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
189 (_dl_starting_up_internal): Remove declaration.
190 (_dl_starting_up): Use rtld_hidden_proto.
191 * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
192 declaration.
193 [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
194 (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
195 _dl_starting_up.
196 * elf/dl-writev.h (_dl_writev): Likewise.
197 * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
198 (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
199 _dl_starting_up_internal.
200
af83568d
AZ
2012014-11-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
202
203 * stdio-common/tst-fmemopen.c (do_test): Refactor to use
204 test-skeleton.c.
205
b01ee67c
WN
2062014-11-05 Will Newton <will.newton@linaro.org>
207
208 * benchtests/Makefile: (bench-malloc): Add malloc thread
209 scalability benchmark.
210 * benchtests/bench-malloc-threads.c: New file.
211
be9d4ccc
RE
2122014-11-05 Richard Earnshaw <rearnsha@arm.com>
213
214 * sysdeps/aarch64/strchrnul.S: New file.
215
7110166d
AZ
2162014-11-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
217
218 * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
219 definition.
220 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
221 Likwise.
222 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
223 Likewise.
224 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
225 Likewise.
226 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
227 Likewise.
228 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
229 Likewise.
230
2312014-11-05 Arjun Shankar <arjun.is@lostca.se>
29955b5d
AS
232
233 * catgets/test-gencat.c: Use test-skeleton.c.
234 * catgets/tst-catgets.c: Likewise.
235 * csu/tst-empty.c: Likewise.
236 * elf/tst-audit2.c: Likewise.
237 * elf/tst-global1.c: Likewise.
238 * elf/tst-pathopt.c: Likewise.
239 * elf/tst-piemod1.c: Likewise.
240 * elf/tst-tls10.c: Likewise.
241 * elf/tst-tls11.c: Likewise.
242 * elf/tst-tls12.c: Likewise.
243 * gnulib/tst-gcc.c: Likewise.
244 * iconvdata/tst-e2big.c: Likewise.
245 * iconvdata/tst-loading.c: Likewise.
246 * iconv/tst-iconv1.c: Likewise.
247 * iconv/tst-iconv2.c: Likewise.
248 * inet/test-inet6_opt.c: Likewise.
249 * inet/tst-gethnm.c: Likewise.
250 * inet/tst-network.c: Likewise.
251 * inet/tst-ntoa.c: Likewise.
252 * intl/tst-codeset.c: Likewise.
253 * intl/tst-gettext2.c: Likewise.
254 * intl/tst-gettext3.c: Likewise.
255 * intl/tst-ngettext.c: Likewise.
256 * intl/tst-translit.c: Likewise.
257 * io/test-stat.c: Likewise.
258 * libio/test-fmemopen.c: Likewise.
259 * libio/tst-freopen.c: Likewise.
260 * libio/tst-sscanf.c: Likewise.
261 * libio/tst-ungetwc1.c: Likewise.
262 * libio/tst-ungetwc2.c: Likewise.
263 * libio/tst-widetext.c: Likewise.
264 * localedata/tst-ctype.c: Likewise.
265 * localedata/tst-digits.c: Likewise.
266 * localedata/tst-leaks.c: Likewise.
267 * localedata/tst-mbswcs1.c: Likewise.
268 * localedata/tst-mbswcs2.c: Likewise.
269 * localedata/tst-mbswcs3.c: Likewise.
270 * localedata/tst-mbswcs4.c: Likewise.
271 * localedata/tst-mbswcs5.c: Likewise.
272 * localedata/tst-setlocale.c: Likewise.
273 * localedata/tst-trans.c: Likewise.
274 * localedata/tst-wctype.c: Likewise.
275 * localedata/tst-xlocale1.c: Likewise.
276 * login/tst-grantpt.c: Likewise.
277 * malloc/tst-calloc.c: Likewise.
278 * malloc/tst-malloc.c: Likewise.
279 * malloc/tst-mallocstate.c: Likewise.
280 * malloc/tst-mcheck.c: Likewise.
281 * malloc/tst-mtrace.c: Likewise.
282 * malloc/tst-obstack.c: Likewise.
283 * math/atest-exp2.c: Likewise.
284 * math/atest-exp.c: Likewise.
285 * math/atest-sincos.c: Likewise.
286 * math/test-matherr.c: Likewise.
287 * math/test-misc.c: Likewise.
288 * math/test-powl.c: Likewise.
289 * math/tst-definitions.c: Likewise.
290 * misc/tst-dirname.c: Likewise.
291 * misc/tst-efgcvt.c: Likewise.
292 * misc/tst-fdset.c: Likewise.
293 * misc/tst-hsearch.c: Likewise.
294 * misc/tst-mntent2.c: Likewise.
295 * nptl/tst-sem7.c: Likewise.
296 * nptl/tst-sem8.c: Likewise.
297 * nptl/tst-sem9.c: Likewise.
298 * nss/test-netdb.c: Likewise.
299 * posix/tst-fnmatch.c: Likewise.
300 * posix/tst-getlogin.c: Likewise.
301 * posix/tst-gnuglob.c: Likewise.
302 * posix/tst-mmap.c: Likewise.
303 * pwd/tst-getpw.c: Likewise.
304 * resolv/tst-inet_ntop.c: Likewise.
305 * rt/tst-timer.c: Likewise.
306 * stdio-common/test-fseek.c: Likewise.
307 * stdio-common/test-popen.c: Likewise.
308 * stdio-common/test-vfprintf.c: Likewise.
309 * stdio-common/tst-cookie.c: Likewise.
310 * stdio-common/tst-fileno.c: Likewise.
311 * stdio-common/tst-gets.c: Likewise.
312 * stdio-common/tst-obprintf.c: Likewise.
313 * stdio-common/tst-perror.c: Likewise.
314 * stdio-common/tst-sprintf2.c: Likewise.
315 * stdio-common/tst-sprintf3.c: Likewise.
316 * stdio-common/tst-sprintf.c: Likewise.
317 * stdio-common/tst-swprintf.c: Likewise.
318 * stdio-common/tst-tmpnam.c: Likewise.
319 * stdio-common/tst-unbputc.c: Likewise.
320 * stdio-common/tst-wc-printf.c: Likewise.
321 * stdlib/tst-environ.c: Likewise.
322 * stdlib/tst-fmtmsg.c: Likewise.
323 * stdlib/tst-limits.c: Likewise.
324 * stdlib/tst-rand48-2.c: Likewise.
325 * stdlib/tst-rand48.c: Likewise.
326 * stdlib/tst-random2.c: Likewise.
327 * stdlib/tst-random.c: Likewise.
328 * stdlib/tst-strtol.c: Likewise.
329 * stdlib/tst-strtoll.c: Likewise.
330 * stdlib/tst-tls-atexit.c: Likewise.
331 * stdlib/tst-xpg-basename.c: Likewise.
332 * string/test-ffs.c: Likewise.
333 * string/tst-bswap.c: Likewise.
334 * string/tst-inlcall.c: Likewise.
335 * string/tst-strtok.c: Likewise.
336 * string/tst-strxfrm.c: Likewise.
337 * sysdeps/x86_64/tst-audit10.c: Likewise.
338 * sysdeps/x86_64/tst-audit3.c: Likewise.
339 * sysdeps/x86_64/tst-audit4.c: Likewise.
340 * sysdeps/x86_64/tst-audit5.c: Likewise.
341 * time/tst-ftime_l.c: Likewise.
342 * time/tst-getdate.c: Likewise.
343 * time/tst-mktime3.c: Likewise.
344 * time/tst-mktime.c: Likewise.
345 * time/tst-posixtz.c: Likewise.
346 * time/tst-strptime2.c: Likewise.
347 * time/tst-strptime3.c: Likewise.
348 * wcsmbs/tst-btowc.c: Likewise.
349 * wcsmbs/tst-mbrtowc.c: Likewise.
350 * wcsmbs/tst-mbsrtowcs.c: Likewise.
351 * wcsmbs/tst-wchar-h.c: Likewise.
352 * wcsmbs/tst-wcpncpy.c: Likewise.
353 * wcsmbs/tst-wcrtomb.c: Likewise.
354 * wcsmbs/tst-wcsnlen.c: Likewise.
355 * wcsmbs/tst-wcstof.c: Likewise.
356
2004e7fb
JM
3572014-11-04 Joseph Myers <joseph@codesourcery.com>
358
ab97ee8f
JM
359 [BZ #14132]
360 * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
361 INTDEF.
362 * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
363 declaration.
364 (_dl_mcount): Use rtld_hidden_proto.
365 * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
366 _dl_mcount.
367 * elf/rtld.c (_rtld_global_ro): Likewise.
368
c5684fdb
JM
369 [BZ #14132]
370 * elf/dl-init.c (_dl_init): Don't use INTDEF.
371 * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
372 of _dl_init_internal.
373 * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
374 * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
375 * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
376 * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
377 * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
378 * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
379 * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
380 * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
381 * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
382 * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
383 * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
384 * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
385 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
386 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
387 * sysdeps/tile/dl-start.S (_start): Likewise.
388 * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
389 * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
390
4243cbea
JM
391 [BZ #14132]
392 * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
393 [IS_IN_rtld] (_dl_argv_internal): Do not declare.
394 (rtld_progname): Make macro definition unconditional.
395 * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
396 INTDEF.
397 (dlmopen_doit): Do not use INTUSE with _dl_argv.
398 (dl_main): Likewise.
399 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
400 * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
401 instead of _dl_argv_internal.
402 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
403 __GI__dl_argv instead of INTUSE(_dl_argv).
404 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
405 __GI__dl_argv instead of _dl_argv_internal.
406
2004e7fb
JM
407 * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
408 * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
409 macro.
410 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
411 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
412 New macro.
413 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
414 * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
415 macro.
416 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
417 * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
418
97827bfc
AS
4192014-11-04 Andreas Schwab <schwab@suse.de>
420
421 * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
422
5e4df284
AZ
4232014-11-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
424
425 * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
426 mtvsrd instruction in binary form.
427
04b76b5a
AS
4282014-11-03 Andreas Schwab <schwab@suse.de>
429
430 [BZ #17522]
431 * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
432 for less than MB_LEN_MAX use a local buffer of that size.
433 * libio/tst-fputws.c: New file.
434 * libio/Makefile (tests): Add tst-fputws.
435
4c6da7da
JM
4362014-11-01 Jose E. Marchesi <jose.marchesi@oracle.com>
437
438 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
439 the size of the fpu_fr.fpu_dregs[] array.
440
1679ba8e
JM
4412014-11-01 Joseph Myers <joseph@codesourcery.com>
442
443 * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
444 (__nanosleep): Do not define as alias.
445 (nanosleep): Define as alias of __nanosleep.
446 * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
447 __libc_nanosleep name.
448
2626c183
JM
4492014-10-31 Joseph Myers <joseph@codesourcery.com>
450
451 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
452 install.texi in comment.
453
7f981fc2
TR
4542014-10-31 Torvald Riegel <triegel@redhat.com>
455
456 * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
457 * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
458 ... add here and use lwsync or sync ...
459 * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
460 ... and add here using lwsync.
461
d6f373d2
MF
4622014-10-31 Matthew Fortune <matthew.fortune@imgtec.com>
463
464 * elf/dl-machine-reject-phdr.h: New file.
465 * elf/dl-load.c: #include that.
466 (open_verify): Call elf_machine_reject_phdr_p and ignore the file
467 if that returned true.
468
67c37987
RM
4692014-10-31 Roland McGrath <roland@hack.frob.com>
470
471 [BZ #17496]
472 * Makerules: Move gnu/lib-names.h generation chunk up, to right after
473 gen-as-const-headers chunk. Add a big scare comment after the last
474 safe place to touch before-compile.
475
94a42455 4762014-10-31 Joseph Myers <joseph@codesourcery.com>
f62ff286 477
f3f5d895
JM
478 * manual/install.texi (Tools for Compilation): Update autoconf
479 version requirements.
480 * INSTALL: Regenerated.
481
f62ff286
JM
482 * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
483 * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
484 (__libc_pselect): Likewise.
94a42455
JM
485
486 [BZ #14138]
487 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
488 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
489 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
490 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
491
ff9dbdc0
TR
4922014-10-31 Torvald Riegel <triegel@redhat.com>
493
494 * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
495 correct barrier instruction.
496 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
497 Likewise.
498 * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
499 Likewise.
500
b4f66884
RM
5012014-10-30 Roland McGrath <roland@hack.frob.com>
502
503 * include/ctype.h: Include <ctype/ctype.h> first thing rather than
504 after defining inlines. Instead, just use parens to defeat macro
505 expansion of __isctype in its declaration.
506
e19c95fd
JM
5072014-10-30 Joseph Myers <joseph@codesourcery.com>
508
509 * include/sys/uio.h (__libc_readv): Remove declaration.
510 (__libc_writev): Likewise.
511 * misc/readv.c (__libc_readv): Rename to __readv.
512 (__readv): Do not define as alias.
513 (readv): Define as alias of __readv.
514 * misc/writev.c (__libc_writev): Rename to __writev.
515 (__writev): Do not define as alias.
516 (writev): Define as alias of __writev.
517 * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
518 (__readv): Do not define as alias.
519 (readv): Define unconditionally as alias of __readv.
520 * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
521 (__writev): Do not define as alias.
522 (writev): Define unconditionally as alias of __writev.
523 * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
524 name.
525 (writev): Do not define __libc_writev name.
526
65b00b6c
RM
5272014-10-30 Roland McGrath <roland@hack.frob.com>
528
529 * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
530 (convert_charseq): New function, broken out of ...
531 (use_from_charmap): ... here. Call it.
532 (use_to_charmap): Use convert_charseq and free instead of duplicating
533 its code with a variable-length stack struct.
534
d4e157aa
JM
5352014-10-30 Joseph Myers <joseph@codesourcery.com>
536
537 * include/fcntl.h (__libc_creat): Remove declaration.
538 * io/creat.c (__libc_creat): Rename to creat.
539 (creat): Do not define as alias.
540 * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
541 of creat instead of __libc_creat.
542 * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
543 to creat.
544 (creat): Do not define as alias.
545 [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
546 __libc_creat.
547 * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
548 __libc_creat name.
549 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
550 Likewise.
551
0c6891a0
CD
5522014-10-29 Carlos O'Donell <carlos@redhat.com>
553
554 * manual/llio.texi: Add comments discussing why write() may be
555 considered MT-unsafe on Linux.
556
cc00cece
CD
5572014-10-28 Carlos O'Donell <carlos@redhat.com>
558
559 * dl-load.c (local_strdup): Remove.
560 (expand_dynamic_string_token): Use __strdup.
561 (decompose_rpath): Likewise.
562 (_dl_map_object): Likewise.
563
51e623f2
JM
5642014-10-28 Joseph Myers <joseph@codesourcery.com>
565
566 [BZ #14132]
567 * sysdeps/generic/unwind-dw2-fde.c
568 (__register_frame_info_bases_internal): Do not declare.
569 (__register_frame_info_table_bases_internal): Likewise.
570 (__deregister_frame_info_bases_internal): Likewise.
571 (__register_frame_info_bases): Declare and use hidden_proto before
572 definition. Use hidden_def instead of INTDEF.
573 (__register_frame_info_table_bases): Likewise.
574 (__deregister_frame_info_bases): Likewise.
575 (__register_frame_info): Do not use INTUSE.
576 (__register_frame): Likewise.
577 (__register_frame_info_table): Likewise.
578 (__register_frame_table): Likewise.
579 (__deregister_frame_info): Likewise.
580 (__deregister_frame): Likewise.
581
03d41216
GC
5822014-10-27 Gratian Crisan <gratian.crisan@ni.com>
583
584 * sysdeps/unix/sysv/linux/arm/kernel-features.h
585 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
586 not undefine.
587 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
588 Likewise.
589 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
590 Likewise.
591
a4b3624d
JM
5922014-10-27 Joseph Myers <joseph@codesourcery.com>
593
594 [BZ #14138]
595 * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
596 * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
597 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
598 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
599 * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
600 * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
601 * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
602 * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
603 * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
604 * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
605 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
606 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
607 * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
608 syscall.
609 (setfsuid): Likewise.
610 * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
611 (setfsuid): Likewise.
612 * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
613 (setfsuid): Likewise.
614 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
615 Likewise.
616 (setfsuid): Likewise.
617 * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
618 (setfsuid): Likewise.
619 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
620 Likewise.
621 (setfsuid): Likewise.
622
3574f2fd
AS
6232014-10-27 Andreas Schwab <schwab@suse.de>
624
625 [BZ #17501]
626 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
627 check for Slow_SSE4_2 feature bit.
628 * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
629 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
630 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
631 Likewise. Fix check for Fast_Unaligned_Load feature bit.
632
70996a37
RM
6332014-10-24 Roland McGrath <roland@hack.frob.com>
634
461a7b1e
RM
635 * configure.ac: Validate compiler version with a empirical test of
636 __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
637 $CC -v output.
638 * configure: Regenerated.
639
70996a37
RM
640 * inet/htons.c (htons): Prototypify.
641 * inet/htonl.c (htonl): Likewise.
642
e80514b5
WD
6432014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
644
645 * string/strncat.c (strncat): Improve performance by using strlen.
646
6e46de42
WD
6472014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
648
649 * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
650
6a9ad2fa
WD
6512014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
652
653 * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
654 Call libc_fetestexcept_aarch64.
655
1c8810ed
WD
6562014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
657
658 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
659 Call libc_feholdexcept_aarch64.
660
8b1af712
WD
6612014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
662
663 * sysdeps/aarch64/fpu/fegetround.c (fegetround):
664 Call get_rounding_mode.
665
a7b00c11
WD
6662014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
667
668 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
669 Simplify logic.
670
3a84f1a6
WD
6712014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
672
673 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
674 Simplify logic.
675
48eb7a94
JM
6762014-10-24 Joseph Myers <joseph@codesourcery.com>
677
c8bc4038
JM
678 [BZ #14138]
679 * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
680 * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
681 * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
682 * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
683 * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
684 * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
685 * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
686 * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
687 * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
688 * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
689 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
690 * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
691 * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
692 * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
693 * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
694 * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
695 * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
696 * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
697 * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
698 * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
699 * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
700 * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
701 * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
702 * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
703 * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
704 * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
705 * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
706 * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
707 * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
708 * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
709 * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
710 * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
711 * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
712 * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
713 * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
714 * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
715 * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
716 * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
717 * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
718 * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
719 * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
720 syscall.
721 (geteuid): Likewise.
722 (getgid): Likewise.
723 (getuid): Likewise.
724 (getresgid): Likewise.
725 (getresuid): Likewise.
726 (getgroups): Likewise.
727 * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
728 (geteuid): Likewise.
729 (getgid): Likewise.
730 (getuid): Likewise.
731 (getresgid): Likewise.
732 (getresuid): Likewise.
733 (getgroups): Likewise.
734 * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
735 (geteuid): Likewise.
736 (getgid): Likewise.
737 (getuid): Likewise.
738 (getresgid): Likewise.
739 (getresuid): Likewise.
740 (getgroups): Likewise.
741 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
742 Likewise.
743 (geteuid): Likewise.
744 (getgid): Likewise.
745 (getuid): Likewise.
746 (getresgid): Likewise.
747 (getresuid): Likewise.
748 (getgroups): Likewise.
749 * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
750 (geteuid): Likewise.
751 (getgid): Likewise.
752 (getuid): Likewise.
753 (getresgid): Likewise.
754 (getresuid): Likewise.
755 (getgroups): Likewise.
756 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
757 Likewise.
758 (geteuid): Likewise.
759 (getgid): Likewise.
760 (getuid): Likewise.
761 (getgroups): Likewise.
762
48eb7a94
JM
763 [BZ #14138]
764 * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
765 * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
766 * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
767 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
768 * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
769 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
770 * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
771 * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
772 * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
773 * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
774 * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
775 * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
776 * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
777 __chown.
778 * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
779 (lchown): Likewise.
780 (fchown): Likewise.
781 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
782 Likewise.
783 (lchown): Likewise.
784 (fchown): Likewise.
785 * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
786 (lchown): Likewise.
787 (fchown): Likewise.
788 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
789 Likewise.
790 (lchown): Likewise.
791 (fchown): Likewise.
792
ea9a7c8b
WD
7932014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
794
795 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
796 Simplify logic.
797
e226de33
WD
7982014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
799
800 * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
801 Cleanup logic.
802
6e3d8ed3
WD
8032014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
804
805 * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
806 Remove unused include.
807
eb04247d
WD
8082014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
809
810 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
811 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
812 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
813 * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
814
13d84554
CD
8152014-10-23 Carlos O'Donell <carlos@systemhalted.org>
816 Helge Deller <deller@gmx.de>
817
818 [BZ #17508]
819 * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
820 Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
821 Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
822
15f9c5df
JM
8232014-10-23 Joseph Myers <joseph@codesourcery.com>
824
825 [BZ #14132]
826 * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
827 Remove macro definition.
828 (__ashrdi3_v_glibc20): Likewise.
829 (__lshrdi3_v_glibc20): Likewise.
830 (__cmpdi2_v_glibc20): Likewise.
831 (__ucmpdi2_v_glibc20): Likewise.
832 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
833 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
834 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
835 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
836 [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
837 [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
838
c6dfed24
RM
8392014-10-22 Roland McGrath <roland@hack.frob.com>
840
841 * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
842 old GNU extension [0] syntax.
843 * nscd/nscd_helper.c (open_socket): Use a flexible array member and
844 alloca rather than an array member with variable length.
845 * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
846 * nscd/nscd.c (invalidate_db): New function, broken out of ...
847 (parse_opt): ... here. Likewise use alloca there.
848 Validate the -i argument before checking for rootness.
849 (send_shutdown): New function, broken out of ...
850 (parse_opt): ... here.
851
8c2b1ed8
RM
8522014-10-22 Roland McGrath <roland@hack.frob.com>
853
854 * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
855 macro to get at the _rt_local_ro field.
856 [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
857 ([PIC] case) or _dl_hwcap ([!PIC] case).
858 * sysdeps/arm/setjmp.S: Likewise.
859
860 * config.h.in (ARM_PCREL_MOVW_OK): New macro.
861 * sysdeps/arm/configure.ac: New check to define it.
862 * sysdeps/arm/configure: Regenerated.
863 * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
864 (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
865 (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
866 depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
867 (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
868 Use move/movt pair instead of a load.
869 (LDST_GLOBAL): Macro removed.
870 (LDR_GLOBAL): New macro replaces it.
871 (LDR_HIDDEN): New macro.
872 (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
873 Use LDR_HIDDEN instead for __pointer_chk_guard_local.
874
875 * setjmp/tst-setjmp-static.c: New file.
876 * setjmp/Makefile (tests): Add it.
877 (tests-static): New variable.
878
b5af9297
MR
8792014-10-22 Maciej W. Rozycki <macro@codesourcery.com>
880
881 [BZ #17485]
882 * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
883
a13d0d74
JM
8842014-10-21 Joseph Myers <joseph@codesourcery.com>
885
886 [BZ #14132]
887 * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
888
f05e73f6
RM
8892014-10-21 Roland McGrath <roland@hack.frob.com>
890
891 * nptl/version.c (__nptl_main): Call __libc_write, not __write.
892
6ab1d1ea
RM
8932014-10-20 Roland McGrath <roland@hack.frob.com>
894
895 * io/fts.c (dirent_not_directory): New function.
896 (fts_build): Call it.
897
ab49e763
RM
8982014-10-20 Roland McGrath <roland@hack.frob.com>
899
e436eb79
RM
900 * nptl/version.c (__nptl_main): Use normal __write rather than
901 INTERNAL_SYSCALL.
902 (banner): Update copyright years.
903
6af246cf
RM
904 * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
905 gettimeofday.
906 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
907 * nptl/pthread_cond_timedwait.c: Likewise.
908 * nptl/pthread_mutex_timedlock.c: Likewise.
909 * nptl/sem_timedwait.c: Likewise.
910
ab49e763
RM
911 * sysdeps/nptl/bits/libc-lock.h
912 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
913 (__libc_lock_init_recursive): Return void, not 0.
914 * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
915 (__libc_rwlock_init): Likewise.
916 * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
917
f50277c1
TR
9182014-10-20 Torvald Riegel <triegel@redhat.com>
919
920 [BZ #15215]
921 * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
922 (__pthread_once_slow): ... here.
923 * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
924 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
925
63668b70
TR
9262014-10-20 Torvald Riegel <triegel@redhat.com>
927
928 [BZ #15215]
929 * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
930 __PTHREAD_ONCE_FORK_GEN_INCR): New.
931 * sysdeps/nptl/fork.c (__libc_fork): Use them.
932 * nptl/pthread_once.c (__pthread_once): Likewise.
933 Update comments.
934
42b7f5d4
JM
9352014-10-20 Joseph Myers <joseph@codesourcery.com>
936
937 [BZ #14138]
938 * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
939 name.
940 (writev): Use __libc_writev as strong name.
941 * sysdeps/unix/sysv/linux/readv.c: Remove file.
942 * sysdeps/unix/sysv/linux/writev.c: Likewise.
943
b0643088
RM
9442014-10-17 Roland McGrath <roland@hack.frob.com>
945
114c4e09
RM
946 * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
947
674b8978
RM
948 * sysdeps/i386/nptl/tls.h
949 (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
950 [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
951 New macros.
952 * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
953 (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
954 * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
955 Call SETUP_THREAD_SYSINFO instead of doing an assignment.
956 * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
957 Call CHECK_THREAD_SYSINFO instead of doing an assert.
958
184ee940
RM
959 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
960 Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
961 on [__NR_futex].
962 * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
963 broken out of ...
964 (__pthread_mutex_init): ... here. Call it.
965 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
966 Conditionalize PI cases on [__NR_futex].
967 * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
968 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
969 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
970
327ae257
RM
971 * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
972 conditional on [SIGSETXID].
973 (sigcancel_handler): Make definition conditional on [SIGCANCEL].
974 (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
975 is defined. Likewise for SIGSETXID.
976 * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
977 Conditionalize definitions on [SIGSETXID].
978 (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
979 * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
980 unblocking on [SIGCANCEL].
981
b0643088
RM
982 * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
983 [__NR_set_robust_list].
984
33cc770b
SP
9852014-10-17 Siddhesh Poyarekar <siddhesh@redhat.com>
986
987 * string/strcoll_l.c (get_next_seq): Fix up formatting.
988 (do_compare): Likewise.
989
0742aef6
LH
9902014-10-17 Leonhard Holz <leonhard.holz@web.de>
991
992 [BZ #15884]
993 * string/strcoll_l.c: Don't include stdio.h.
994 (coll_seq): Remove members idxarr and rulearr.
995 (get_next_seq_cached): Remove function.
996 (get_next_seq): Likewise.
997 (get_next_seq_nocache): Rename to get_next_seq.
998 (do_compare): Remove function.
999 (do_compare_nocache): Rename to do_compare.
1000 (STRCOLL): Remove weight and rules cache.
1001
ee54ce44
RM
10022014-10-16 Roland McGrath <roland@hack.frob.com>
1003
1004 * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
1005 * sysdeps/arm/sfp-machine.h: ... to here.
1006 * sysdeps/arm/Implies: Remove arm/soft-fp.
1007
a75d3b02
JM
10082014-10-14 Joseph Myers <joseph@codesourcery.com>
1009
1010 * conform/data/sys/utsname.h-data (*_t): Allow.
1011 * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
1012 [POSIX] (WEXITED): Do not expect constant.
1013 [POSIX] (WSTOPPED): Likewise.
1014 [POSIX] (WNOHANG): Likewise.
1015 [POSIX] (WNOWAIT): Likewise.
1016 [POSIX] (siginfo_t): Do not expect type or elements.
1017 [POSIX] (pid_t): Do not expect type.
1018 [POSIX] (signal.h): Do not allow header.
1019 [POSIX] (sys/resource.h): Likewise.
1020 [POSIX] (si_*): Do not allow pattern.
1021 [POSIX] (W*): Likewise.
1022 [POSIX] (P_*): Likewise.
1023 [POSIX] (BUS_*): Likewise.
1024 [POSIX] (CLD_*): Likewise.
1025 [POSIX] (FPE_*): Likewise.
1026 [POSIX] (ILL_*): Likewise.
1027 [POSIX] (POLL_*): Likewise.
1028 [POSIX] (SEGV_*): Likewise.
1029 [POSIX] (SI_*): Likewise.
1030 [POSIX] (TRAP_*): Likewise.
1031 * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
1032 variable.
1033
fda389c8
SP
10342014-10-14 Paul Pluzhnikov <ppluzhnikov@google.com>
1035
1036 [BZ #12926]
1037 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
1038 infinite loop when __recvmsg returns 0.
1039
6bc6bd3b
JM
10402014-10-10 Joseph Myers <joseph@codesourcery.com>
1041
fcb32af1
JM
1042 * CANCEL-FCT-WAIVE: Remove file.
1043 * CANCEL-FILE-WAIVE: Likewise.
1044
6bc6bd3b
JM
1045 [BZ #14132]
1046 * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
1047 instead of INTVARDEF.
1048 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
1049 * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
1050 rtld_hidden_data_def instead of INTVARDEF.
1051 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
1052 * elf/dl-deps.c (expand_dst): Likewise.
1053 * elf/dl-load.c (_dl_dst_count): Likewise.
1054 (_dl_dst_substitute): Likewise.
1055 (decompose_rpath): Likewise.
1056 (_dl_init_paths): Likewise.
1057 (open_path): Likewise.
1058 (_dl_map_object): Likewise.
1059 * elf/rtld.c (dl_main): Likewise.
1060 (process_dl_audit): Likewise.
1061 (process_envvars): Likewise.
1062 * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
1063 Remove declaration.
1064 (__libc_enable_secure): Use rtld_hidden_proto.
1065
b8c80a7e
KS
10662014-10-09 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
1067
1068 * elf/dl-load.c
1069 (add_path): New function broken out of _dl_rtld_di_serinfo.
1070 (_dl_rtld_di_serinfo): Remove that nested function. Update call sites.
1071
ff12c11f
JM
10722014-10-09 Joseph Myers <joseph@codesourcery.com>
1073
5c0508a3
JM
1074 * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
1075 parentheses around macro arguments.
1076 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
1077 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
1078 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
1079 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
1080 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
1081 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
1082 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
1083 [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
1084 [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
1085 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
1086 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
1087 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
1088 [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
1089 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
1090 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
1091 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
1092 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
1093 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
1094 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
1095 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
1096 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
1097 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
1098 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
1099 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
1100 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
1101 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
1102 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
1103 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
1104 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
1105 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
1106 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
1107 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
1108 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
1109 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
1110 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
1111 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
1112 Likewise.
1113 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
1114 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
1115 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
1116 [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
1117 [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
1118 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
1119 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
1120 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
1121 [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
1122 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
1123 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
1124 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
1125 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
1126 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
1127 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
1128 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
1129 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
1130 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
1131 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
1132 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
1133 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
1134 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
1135 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
1136 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
1137 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
1138 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
1139 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
1140 * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
1141 (_FP_FRAC_SRS_1): Likewise.
1142 (_FP_FRAC_CLZ_1): Likewise.
1143 (_FP_MUL_MEAT_1_imm): Likewise.
1144 (_FP_MUL_MEAT_1_wide): Likewise.
1145 (_FP_MUL_MEAT_1_hard): Likewise.
1146 (_FP_SQRT_MEAT_1): Likewise.
1147 (_FP_FRAC_ASSEMBLE_1): Likewise.
1148 (_FP_FRAC_DISASSEMBLE_1): Likewise.
1149 * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
1150 (__FP_CLZ_2): Likewise.
1151 (_FP_MUL_MEAT_2_wide): Likewise.
1152 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
1153 (_FP_MUL_MEAT_2_gmp): Likewise.
1154 (_FP_MUL_MEAT_2_120_240_double): Likewise.
1155 (_FP_SQRT_MEAT_2): Likewise.
1156 (_FP_FRAC_ASSEMBLE_2): Likewise.
1157 (_FP_FRAC_DISASSEMBLE_2): Likewise.
1158 * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
1159 (_FP_FRAC_CLZ_4): Likewise.
1160 (_FP_MUL_MEAT_4_wide): Likewise.
1161 (_FP_MUL_MEAT_4_gmp): Likewise.
1162 (_FP_SQRT_MEAT_4): Likewise.
1163 (_FP_FRAC_ASSEMBLE_4): Likewise.
1164 (_FP_FRAC_DISASSEMBLE_4): Likewise.
1165 * soft-fp/op-common.h (_FP_CMP): Likewise.
1166 (_FP_CMP_EQ): Likewise.
1167 (_FP_CMP_UNORD): Likewise.
1168 (_FP_TO_INT): Likewise.
1169 (_FP_FROM_INT): Likewise.
1170 [!__FP_CLZ] (__FP_CLZ): Likewise.
1171 (_FP_DIV_HELP_imm): Likewise.
1172 * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
1173 Likewise.
1174 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
1175 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
1176 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
1177 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
1178 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
1179 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
1180 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
1181 [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
1182 [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
1183 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
1184 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
1185 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
1186 [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
1187 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
1188 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
1189 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
1190 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
1191 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
1192 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
1193 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
1194 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
1195 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
1196 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
1197 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
1198 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
1199 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
1200 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
1201 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
1202 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
1203 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
1204 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
1205 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
1206 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
1207 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
1208 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
1209 * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
1210 (FP_UNPACK_RAW_SP): Likewise.
1211 (FP_PACK_RAW_S): Likewise.
1212 (FP_PACK_RAW_SP): Likewise.
1213 (FP_UNPACK_S): Likewise.
1214 (FP_UNPACK_SP): Likewise.
1215 (FP_UNPACK_SEMIRAW_S): Likewise.
1216 (FP_UNPACK_SEMIRAW_SP): Likewise.
1217 (FP_PACK_S): Likewise.
1218 (FP_PACK_SP): Likewise.
1219 (FP_PACK_SEMIRAW_S): Likewise.
1220 (FP_PACK_SEMIRAW_SP): Likewise.
1221 (_FP_SQRT_MEAT_S): Likewise.
1222 (FP_CMP_S): Likewise.
1223 (FP_CMP_EQ_S): Likewise.
1224 (FP_CMP_UNORD_S): Likewise.
1225 (FP_TO_INT_S): Likewise.
1226 (FP_FROM_INT_S): Likewise.
1227
a736ec37
JM
1228 * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
1229
ff12c11f
JM
1230 * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
1231 (FP_EX_INVALID_IMZ): Likewise.
1232 (FP_EX_INVALID_IMZ_FMA): Likewise.
1233 (FP_EX_INVALID_ISI): Likewise.
1234 (FP_EX_INVALID_ZDZ): Likewise.
1235 (FP_EX_INVALID_IDI): Likewise.
1236 (FP_EX_INVALID_SQRT): Likewise.
1237 (FP_EX_INVALID_CVI): Likewise.
1238 (FP_EX_INVALID_VC): Likewise.
1239 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
1240 "invalid" exceptions.
1241 (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
1242 (_FP_ADD_INTERNAL): Likewise.
1243 (_FP_MUL): Likewise.
1244 (_FP_FMA): Likewise.
1245 (_FP_DIV): Likewise.
1246 (_FP_CMP_CHECK_NAN): Likewise.
1247 (_FP_SQRT): Likewise.
1248 (_FP_TO_INT): Likewise.
1249 (FP_EXTEND): Likewise.
1250
b6dcfe8c
AM
12512014-10-09 Allan McRae <allan@archlinux.org>
1252
1253 * po/fr.po: Update French translation from translation project.
1254
2d6a47ba
JM
12552014-10-09 Joseph Myers <joseph@codesourcery.com>
1256
cb831245
JM
1257 [BZ #14132]
1258 * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
1259 of INTDEF.
1260 * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
1261 (__cxa_atexit): Use libc_hidden_proto.
1262 [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
1263
5deeb190
JM
1264 [BZ #14132]
1265 * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
1266 declaration.
1267 [!_ISOMAC] (__iswdigit_l_internal): Likewise.
1268 [!_ISOMAC] (__iswspace_l_internal): Likewise.
1269 [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
1270 [!_ISOMAC] (__iswctype_internal): Likewise.
1271 * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
1272 * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
1273 alias.
1274 (fcntl): Remove __fcntl_internal alias.
1275 * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
1276 __connect_internal alias.
1277 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
1278 Likewise.
1279
454ac701
JM
1280 * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
1281 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
1282 FP_DENORM_ZERO.
1283 (_FP_CHECK_FLUSH_ZERO): New macro.
1284 (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
1285 (_FP_CMP): Likewise.
1286 (_FP_CMP_EQ): Likewise.
1287 (_FP_TO_INT): Do not set inexact for subnormal arguments if
1288 FP_DENORM_ZERO.
1289 (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
1290 (FP_TRUNC): Likewise.
1291
0022e688
JM
1292 * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
1293 treated as invalid conversion, not as normal exponent.
1294
73e28d9c
JM
1295 * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
1296 (_FP_CMP): Add extra argument EX. Call _FP_CMP_CHECK_NAN.
1297 (_FP_CMP_EQ): Likewise.
1298 (_FP_CMP_UNORD): Likewise.
1299 * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
1300 (FP_CMP_EQ_D): Likewise.
1301 (FP_CMP_UNORD_D): Likewise.
1302 * soft-fp/extended.h (FP_CMP_E): Likewise.
1303 (FP_CMP_EQ_E): Likewise.
1304 (FP_CMP_UNORD_E): Likewise.
1305 * soft-fp/quad.h (FP_CMP_Q): Likewise.
1306 (FP_CMP_EQ_Q): Likewise.
1307 (FP_CMP_UNORD_Q): Likewise.
1308 * soft-fp/single.h (FP_CMP_S): Likewise.
1309 (FP_CMP_EQ_S): Likewise.
1310 (FP_CMP_UNORD_S): Likewise.
1311 * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
1312 * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
1313 * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
1314 * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
1315 * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
1316 * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
1317 * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
1318 * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
1319 * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
1320 * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
1321 * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
1322 * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
1323 * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
1324 to FP_CMP_Q.
1325 * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
1326 FP_CMP_Q.
1327 * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
1328 * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
1329 FP_CMP_EQ_Q.
1330 * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
1331 FP_CMP_Q.
1332 * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
1333 * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
1334 * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
1335 * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
1336 FP_CMP_EQ_Q.
1337 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
1338 FP_CMP_Q.
1339 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
1340 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
1341 FP_CMP_EQ_Q.
1342 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
1343 FP_CMP_Q.
1344 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
1345 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
1346 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
1347 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
1348 FP_CMP_EQ_Q.
1349
43059f42
JM
1350 * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
1351 a subnormal result, set the underflow exception if trapping on
1352 underflow is enabled.
1353 * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
1354 (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
1355 [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
1356 redefine to 0.
1357 * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
1358 * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
1359 * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
1360 * soft-fp/extendxftf2.c (__extendxftf2): Use
1361 FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
1362
2d6a47ba
JM
1363 * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
1364 * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
1365 (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
1366 FP_HANDLE_EXCEPTIONS.
1367 * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
1368 (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
1369 FP_HANDLE_EXCEPTIONS.
1370 * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
1371 (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
1372 FP_HANDLE_EXCEPTIONS.
1373 * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
1374 (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
1375 FP_HANDLE_EXCEPTIONS.
1376
620f462e
JM
13772014-10-08 Joseph Myers <joseph@codesourcery.com>
1378
1379 [BZ #14132]
1380 * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
1381 * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
1382 use INTUSE.
1383 [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
1384 * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
1385 Remove alias.
1386 (__adjtimex): Define using libc_hidden_ver.
1387 * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
1388 Remove declaration.
1389 (ntp_gettime): Call __adjtimex directly.
1390 * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
1391 Remove declaration.
1392 (ntp_gettimex): Call __adjtimex directly.
1393 * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
1394 __adjtimex_internal alias.
1395
c763c5d2
RM
13962014-10-08 Roland McGrath <roland@hack.frob.com>
1397
1398 [BZ #17460]
1399 * nscd/nscd.c (more_help): Rewrite list of tables collection
1400 using xstrdup and asprintf.
1401
1402 * nscd/nscd_conf.c: Remove local xstrdup declaration.
1403
7b8fb2b8
RM
14042014-10-08 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
1405 Roland McGrath <roland@hack.frob.com>
1406
1407 * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
1408 (do_lookup_unique): ... local function 'enter' here; update callers.
1409
abb280f7
JM
14102014-10-06 Joseph Myers <joseph@codesourcery.com>
1411
f7b42517
JM
1412 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
1413 compat_symbol calls on [SHARED].
1414 * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
1415 * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
1416 Remove.
1417 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
1418 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
1419 (oldsetrlimit): Remove.
1420 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
1421 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
1422 (lchown): New syscall entry.
1423 (oldsetrlimit): Remove.
1424 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
1425 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
1426 (oldsetrlimit): Remove.
1427 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
1428
abb280f7
JM
1429 [BZ #14138]
1430 * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
1431 * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
1432 * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
1433 * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
1434 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
1435 * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
1436 (fchown): Likewise.
1437 * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
1438 (fchown): Likewise.
1439 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
1440 Likewise.
1441
47d46237
AZ
14422014-10-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1443
1444 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
1445 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
1446 (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
1447 __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
1448 * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
1449 Likewise.
1450 (__old_sem_post): Likewise.
1451
14522014-10-06 Chris Metcalf <cmetcalf@tilera.com>
1c4c1a6f 1453
845a7343
CM
1454 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
1455 INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
1456 HAVE_CLOCK_GETTIME_VSYSCALL macros.
1457 * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
1458 Use INLINE_VSYSCALL macro.
1459 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
1460 __vdso_clock_gettime.
1461 * sysdeps/unix/sysv/linux/tile/init-first.c
1462 (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
1463 * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
1464 __vdso_clock_gettime.
1465
83d641ef
CM
1466 * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
1467 to set up frame more cleanly.
1468
d9cd52e6
CM
1469 * sysdeps/tile/memcmp.c: New file.
1470
4b68ea11
CM
1471 * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
1472
c86f7b80
CM
1473 * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
1474 * sysdeps/tile/tilegx/strcasestr.c: New file.
1475 * sysdeps/tile/tilegx/strnlen.c: New file.
1476 * sysdeps/tile/tilegx/strstr.c: New file.
1477
1c4c1a6f
CM
1478 * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
1479
99d86ea3
AS
14802014-10-06 Arjun Shankar <arjun.is@lostca.se>
1481
1482 * nptl/tst-setuid3.c: Write errors to stdout.
1483
06210a44
KS
14842014-10-01 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
1485
1486 * elf/dl-deps.c
1487 (preload): New functions broken out of _dl_map_object_deps.
1488 (_dl_map_object_deps): Remove a nested function. Update call sites.
1489
6268f532
JM
14902014-10-01 Joseph Myers <joseph@codesourcery.com>
1491
1492 [BZ #14138]
1493 * sysdeps/unix/sysv/linux/execve.c: Remove file.
1494 * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
1495
b925285f
SE
14962014-10-01 Steve Ellcey <sellcey@mips.com>
1497
1498 * sysdeps/mips/strcmp.S: New.
1499
754a15c6
JM
15002014-09-30 Joseph Myers <joseph@codesourcery.com>
1501
1502 [BZ #14138]
1503 * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
1504 (linkat): Likewise.
1505 (mkdirat): Likewise.
1506 (readlinkat): Likewise.
1507 (renameat): Likewise.
1508 (symlinkat): Likewise.
1509 (unlinkat): Likewise.
1510 * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
1511 * sysdeps/unix/sysv/linux/linkat.c: Likewise.
1512 * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
1513 * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
1514 * sysdeps/unix/sysv/linux/renameat.c: Likewise.
1515 * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
1516 * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
1517
85bb81c9
WN
15182014-09-30 Will Newton <will.newton@linaro.org>
1519
dc6fe23b
WN
1520 * math/math.h: Define long double math functions if
1521 _LIBC_TEST is defined.
1522 * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
1523
85bb81c9
WN
1524 * localedata/Makefile: Move assignment to tests-special
1525 into an ifdef testing run-built-tests.
1526 * timezone/Makefile: Likewise.
1527
b7e02da4
JM
15282014-09-29 Joseph Myers <joseph@codesourcery.com>
1529
1530 * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
1531 with $(BASH) not $(SHELL).
1532
62058ce6
CD
15332014-09-29 Carlos O'Donell <carlos@redhat.com>
1534 Matthew LeGendre <legendre1@llnl.gov>
1535
1536 [BZ #17411]
1537 * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
1538 l_reloc_result.
1539
8e257a29
KS
15402014-09-29 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
1541
1542 * stdio-common/printf_fp.c
1543 (hack_digit): New function, broken out of ...
1544 (__printf_fp): ... local function here. Update call sites.
1545 hack_digit now takes an additional parameter that is a pointer
1546 to a struct of the referenced locals. Those locals moved inside
1547 the struct and references updated.
1548
f4a58f0d
L
15492014-09-29 H.J. Lu <hongjiu.lu@intel.com>
1550
1551 * aclocal.m4: Require autoconf 2.69.
1552 * configure: Regenerated.
1553 * sysdeps/aarch64/configure: Likewise.
1554 * sysdeps/alpha/configure: Likewise.
1555 * sysdeps/arm/armv7/configure: Likewise.
1556 * sysdeps/arm/configure: Likewise.
1557 * sysdeps/ia64/configure: Likewise.
1558 * sysdeps/mach/configure: Likewise.
1559 * sysdeps/mips/configure: Likewise.
1560 * sysdeps/s390/configure: Likewise.
1561 * sysdeps/unix/sysv/linux/mips/configure: Likewise.
1562 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
1563
1564 * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
1565 file.
1566 * sysdeps/ia64/configure.ac: Likewise.
1567
93ae1eba
JM
15682014-09-26 Joseph Myers <joseph@codesourcery.com>
1569
1810d3ab
JM
1570 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
1571 specify symbol version for ld.so. Do not include entry for
1572 libpthread.
1573 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
1574 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
1575 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
1576
93ae1eba
JM
1577 [BZ #14171]
1578 * Makeconfig [$(build-shared) = yes]
1579 ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
1580 makefiles.
1581 [$(build-shared) = yes && $(soversions.mk-done) = t]
1582 ($(common-objpfx)gnu/lib-names.h): Remove rule.
1583 [$(build-shared) = yes && $(soversions.mk-done) = t]
1584 ($(common-objpfx)gnu/lib-names.stmp): Likewise. Split and moved
1585 to Makerules.
1586 [$(build-shared) = yes && $(soversions.mk-done) = t]
1587 (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
1588 here.
1589 [$(build-shared) = yes && $(soversions.mk-done) = t]
1590 (common-generated): Don't append gnu/lib-names.h and
1591 gnu/lib-names.stmp here.
1592 * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
1593 (lib-names-h-abi): New variable.
1594 [$(build-shared) = yes && $(soversions.mk-done) = t]
1595 (lib-names-stmp-abi): Likewise.
1596 [$(build-shared) = yes && $(soversions.mk-done) = t &&
1597 abi-variants] (before-compile): Append
1598 $(common-objpfx)$(lib-names-h-abi).
1599 [$(build-shared) = yes && $(soversions.mk-done) = t &&
1600 abi-variants] (common-generated): Append gnu/lib-names.h.
1601 [$(build-shared) = yes && $(soversions.mk-done) = t &&
1602 abi-variants] (install-others-nosubdir): Depend on
1603 $(inst_includedir)/$(lib-names-h-abi).
1604 [$(build-shared) = yes && $(soversions.mk-done) = t &&
1605 abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
1606 [$(build-shared) = yes && $(soversions.mk-done) = t]
1607 ($(common-objpfx)$(lib-names-h-abi)): New rule.
1608 [$(build-shared) = yes && $(soversions.mk-done) = t]
1609 ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
1610 [$(build-shared) = yes && $(soversions.mk-done) = t]
1611 (common-generated): Append $(lib-names-h-abi) and
1612 $(lib-names-stmp-abi).
1613 * scripts/lib-names.awk: Do not handle multi being set.
1614 * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
1615 Remove variable.
1616 (abi-lp64_be-ld-soname): Likewise.
1617 * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
1618 Likewise.
1619 (abi-hard-ld-soname): Likewise.
1620 * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
1621 * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
1622 Remove variable.
1623 (abi-o32_hard-ld-soname): Likewise.
1624 (abi-o32_soft_2008-ld-soname): Likewise.
1625 (abi-o32_hard_2008-ld-soname): Likewise.
1626 (abi-n32_soft-ld-soname): Likewise.
1627 (abi-n32_hard-ld-soname): Likewise.
1628 (abi-n32_soft_2008-ld-soname): Likewise.
1629 (abi-n32_hard_2008-ld-soname): Likewise.
1630 (abi-n64_soft-ld-soname): Likewise.
1631 (abi-n64_hard-ld-soname): Likewise.
1632 (abi-n64_soft_2008-ld-soname): Likewise.
1633 (abi-n64_hard_2008-ld-soname): Likewise.
1634 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
1635 Likewise.
1636 (abi-64-v2-ld-soname): Likewise.
1637 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
1638 ld.so entries.
1639 * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
1640 variable.
1641 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
1642 entry.
1643 * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
1644 variable.
1645 (abi-64-ld-soname): Likewise.
1646 (abi-x32-ld-soname): Likewise.
1647 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
1648 entry.
1649 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
1650
68870f12
JM
16512014-09-23 Joseph Myers <joseph@codesourcery.com>
1652
1653 [BZ #14138]
1654 * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
1655 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
1656 * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
1657 * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
1658 * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
1659 * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
1660 * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
1661 syscall entry for GLIBC_2.2 symbol version.
1662 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
1663 Likewise.
1664 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
1665 (setrlimit): Likewise.
1666 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
1667 Likewise.
1668
ea58f202
WN
16692014-09-23 Will Newton <will.newton@linaro.org>
1670
1671 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
1672 _LINUX_ARM_SYSDEP_H include guard too.
1673 * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
1674 define.
1675
69eb9a18
RV
16762014-09-20 Rasmus Villemoes <rv@rasmusvillemoes.dk>
1677
1678 * sysdeps/unix/sysv/linux/eventfd.c:
1679 Make first argument unsigned.
1680 * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
1681 * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
1682
20e5a5f7
OB
16832014-09-20 Ondřej Bílka <neleai@seznam.cz>
1684
1685 * socket/recvmmsg.c (recvmmsg): Drop const argument.
1686 * socket/sys/socket.h: Likewise
1687 * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
1688
d3c827e7
AK
16892014-09-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1690
1691 * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
1692
fe1cc35a
AS
16932014-09-17 Arjun Shankar <arjun.is@lostca.se>
1694
1695 * time/tst-ftime.c: New test.
1696 * time/Makefile (tests): Add tst-ftime.
1697
4e8afe69
JM
16982014-09-17 Joseph Myers <joseph@codesourcery.com>
1699
c4fe3ea7
JM
1700 * soft-fp/extended.h: Fix comment formatting.
1701 * soft-fp/op-1.h: Likewise.
1702 * soft-fp/op-2.h: Likewise.
1703 * soft-fp/op-4.h: Likewise.
1704 * soft-fp/op-8.h: Likewise.
1705 * soft-fp/op-common.h: Likewise.
1706 * soft-fp/soft-fp.h: Likewise.
1707
4e8afe69
JM
1708 * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
1709
af296fcd
JM
17102014-09-16 Joseph Myers <joseph@codesourcery.com>
1711
1712 [BZ #6652]
1713 * Makeconfig (soversions-default-setname): Remove variable.
1714 ($(common-objpfx)soversions.i): Don't pass default_setname to
1715 soversions.awk.
1716 * Makerules ($(common-objpfx)abi-versions.h): Don't pass
1717 oldest_abi to abi-versions.awk.
1718 * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
1719 * config.make.in (oldest-abi): Remove variable.
1720 * configure.ac (--enable-oldest-abi): Remove configure option.
1721 * configure: Regenerated.
1722 * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
1723 text.
1724 * scripts/abi-versions.awk: Do not handle oldest_abi variable.
1725 * scripts/soversions.awk: Do not handle default_setname variable.
1726 * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
1727 variable.
1728 * sysdeps/mach/hurd/configure: Regenerated.
1729 * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
1730 variable.
1731 * sysdeps/unix/sysv/linux/configure: Regenerated.
1732
545583d6
SP
17332014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
1734
d330b980
SP
1735 * elf/Makefile (CFLAGS-interp.c): Remove.
1736 ($(elf-objpfx)runtime-linker.h): Generate header with linker
1737 path string.
1738 * elf/interp.c: Include generated runtime-linker.h
1739
02657da2
SP
1740 * Makerules (lib%.so): Don't include $(+interp) in
1741 prerequisites.
1742 * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
1743 * dlfcn/eval.c: Remove file.
1744
653b1080
SP
1745 * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
1746 macros.
1747
602f80ec
SP
1748 [BZ #17266]
1749 * misc/sys/cdefs.h: Define __extern_always_inline for clang
1750 4.2 and newer.
1751
545583d6
SP
1752 [BZ #17370]
1753 * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
1754
884ddc50
SP
17552014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
1756 Jakub Jelinek <jakub@redhat.com>
1757
1758 [BZ #17266]
1759 * libio/stdio.h: Check definition of __fortify_function
1760 instead of __extern_always_inline to include bits/stdio2.h.
1761 * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
1762 check if __extern_always_inline is defined.
1763 [__USE_MISC || __USE_XOPEN]: Likewise.
1764 [__USE_ISOC99] Likewise.
1765 * misc/sys/cdefs.h (__fortify_function): Define only if
1766 __extern_always_inline is defined.
1767 [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
1768 __extern_always_inline and __extern_inline only for g++-4.3
1769 and newer or a compatible gcc.
1770
a7b87268
AS
17712014-09-15 Andreas Schwab <schwab@linux-m68k.org>
1772
1773 [BZ #17371]
1774 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
1775 last change to handle zero prefix length.
1776
3f41521d
SP
17772014-09-15 Siddhesh Poyarekar <siddhesh@redhat.com>
1778
61fe374a
SP
1779 * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
1780 _SC_REGEX_VERSION.
1781
3f41521d
SP
1782 * posix/getconf.c (vars): Add _POSIX_IPV6 and
1783 _POSIX_RAW_SOCKETS.
1784
d8f879ee
AM
17852014-09-13 Allan McRae <allan@archlinux.org>
1786
1787 * po/ru.po: Update Russian translation from translation project.
1788
c079afb7
RM
17892014-09-12 Roland McGrath <roland@hack.frob.com>
1790
a62b3c15
RM
1791 * locale/programs/locale.c (show_locale_vars): Inline local function
1792 into its sole call site. Clean up some style nits.
1793 (print_item): New function, broken out of ...
1794 (show_info): ... local function here. Clean up style nits.
1795
d7e49b19
RM
1796 * locale/programs/ld-ctype.c (set_one_default): New function, broken
1797 out of ...
1798 (set_class_defaults): ... local function set_default here.
1799 Define set_default as a macro locally to pass constant parameters.
1800 (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
1801 rather than a shared local.
1802
c079afb7
RM
1803 * stdlib/rpmatch.c (try): New function, broken out of ...
1804 (rpmatch): ... local function here. Also, prototypify definition.
1805
0bd72468
JM
18062014-09-12 Joseph Myers <joseph@codesourcery.com>
1807
ba90e050
JM
1808 * scripts/soversions.awk: Do not handle configuration names.
1809 * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
1810 vendor and os variables to soversions.awk.
1811 * configure.ac: Do not modify gnu-* host_os.
1812 * configure: Regenerated
1813 * shlib-versions: Remove first column with configuration names.
1814 * nptl/shlib-versions: Likewise.
1815 * nptl_db/shlib-versions: Likewise.
1816 * sysdeps/hppa/shlib-versions: Likewise.
1817 * sysdeps/m68k/shlib-versions: Likewise.
1818 * sysdeps/mach/hurd/shlib-versions: Likewise.
1819 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
1820 * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
1821 * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
1822 * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
1823 * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
1824 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
1825 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
1826 * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
1827 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
1828 Likewise.
1829 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
1830 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
1831 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
1832 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
1833 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
1834 * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
1835 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
1836 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
1837
73a39112
JM
1838 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
1839 (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
1840 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
1841 Regenerated.
1842 * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
1843 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
1844 Condition symbol version definitions on [HAVE_ELFV2_ABI].
1845
c729e7c1
JM
1846 * shlib-versions: Remove OS-specific entries. Moved to files in
1847 sysdeps.
1848 * sysdeps/mach/hurd/shlib-versions: New file.
1849 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
1850
dc932a24
JM
1851 * nptl/shlib-versions: Remove architecture-specific entries.
1852 Moved to files in sysdeps.
1853 * shlib-versions: Likewise.
1854 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
1855 file.
1856 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
1857 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
1858 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
1859 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
1860
0bd72468
JM
1861 * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
1862 (UDP_NO_CHECK6_RX): Likewise.
1863
920238e0
SP
18642014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
1865
1866 * sysdeps/posix/sysconf.c (__sysconf): Spell
1867 _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
1868
ba7b4d29
FW
18692014-08-12 Florian Weimer <fweimer@redhat.com>
1870
1871 * iconv/gconv_open.c (__gconv_open): Remove transliteration module
1872 loading.
1873 * iconv/Versions (__gconv_transliterate): Export for use from
1874 gconv modules.
1875 * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
1876 (struct __gconv_trans_data, __gconv_trans_fct,
1877 __gconv_trans_context_fct, __gconv_trans_query_fct,
1878 __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
1879 definitions.
1880 (struct __gconv_step_data): Remove __trans member.
1881 (__gconv_transliterate): Declaration moved from gconv_int.h. No
1882 longer hidden. Remove unused trans_data argument.
1883 * iconv/gconv_int.h (struct trans_struct): Remove definition.
1884 (__gconv_translit_find): Remove declaration.
1885 (__gconv_transliterate): Declaration moved to gconv.h. Add hidden
1886 prototype.
1887 * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
1888 * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
1889 trans_data argument. Add hidden definition.
1890 (__gconv_translit_find): Remove.
1891 * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
1892 __gconv_transliterate directly if __GCONV_TRANSLIT is set.
1893 * iconv/skeleton.c: Remove transliteration initialization.
1894 * libio/fileops.c (_IO_new_file_fopen): Adjust struct
1895 __gconv_step_data initialization.
1896 * libio/iofwide.c (__libio_translit_): Remove.
1897 (_IO_fwide): Adjust struct __gconv_step_data initialization.
1898 * wcsmbs/btowc.c (__btowc): Likewise.
1899 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
1900 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
1901 * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
1902 * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
1903 * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
1904 * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
1905 * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
1906 * wcsmbs/wctob.c (wctob): Likewise.
1907
5379aebd
SP
19082014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
1909
1910 [BZ #16194]
1911 * sysdeps/x86/tst-xmmymm.sh: Rename file to...
1912 * sysdeps/x86/tst-ld-sse-use.sh: ... this. Check for zmm
1913 register usage.
1914 * sysdeps/x86/Makefile: Adjust.
1915
8c0ab919
RM
19162014-09-11 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
1917 Roland McGrath <roland@hack.frob.com>
1918
1919 * locale/weight.h: Add include guard.
1920 (findidx): Make static rather than auto; take new parameters
1921 TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
1922 * locale/weightwc.h: Likewise.
1923 * posix/fnmatch_loop.c
1924 (FCT): Change type of EXTRA from int32_t to wint_t.
1925 Don't include either header inside the function.
1926 Call FINDIDX rather than findidx, and pass new arguments.
1927 #undef FINDIDX at the end of the file.
1928 * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
1929 FINDIDX before including fnmatch_loop.c for the non-wide version.
1930 [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
1931 #include <locale/weightwc.h>, and define FINDIDX to findidxwc
1932 for the wide version.
1933 * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
1934 (build_equiv_class) [_LIBC]: Don't #include it inside the function.
1935 Pass new arguments to findidx.
1936 * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
1937 [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
1938 Don't #include it inside the function. Pass new arguments to findidx.
1939 * posix/regex_internal.h
1940 [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
1941 (re_string_elem_size_at): Don't #include it inside the function.
1942 Pass new arguments to findidx.
1943 * string/strcoll_l.c: #include WEIGHT_H at top level.
1944 (get_next_seq): Don't #include it inside the function.
1945 Pass new arguments to findidx.
1946 (get_next_seq_nocache): Likewise.
1947 * string/strxfrm_l.c: #include WEIGHT_H at top level.
1948 (STRXFRM): Don't #include it inside the function.
1949 Pass new arguments to findidx.
1950
52ffbdf2
FW
19512014-09-11 Florian Weimer <fweimer@redhat.com>
1952
1953 [BZ #17344]
1954 * malloc/malloc.c (unlink): Turn asserts into a call to
1955 malloc_printerr.
1956
984c0ea9
TL
19572014-09-11 Tim Lammens <tim.lammens@gmail.com>
1958
1959 [BZ #17370]
1960 * libio/wfileops (do_ftell_wide): Free OUT.
1961
3daee107
CM
19622014-09-10 Chris Metcalf <cmetcalf@tilera.com>
1963
1964 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
1965
58b930ae
SP
19662014-09-10 Siddhesh Poyarekar <siddhesh@redhat.com>
1967
1968 [BZ #17363]
1969 * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
1970 group if the current group is empty.
1971
3b473fec
AZ
19722014-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1973
71ae8647
AZ
1974 * benchtests/bench-memset.c (test_main): Add more test from size
1975 from 32 to 512 bytes.
1976 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
1977 Add POWER8 memset object.
1978 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1979 (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
1980 * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
1981 implementation.
1982 * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
1983 Likewise.
1984 * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
1985 multiarch POWER8 memset optimization.
1986 * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
1987 POWER8 memset optimization.
1988
3b473fec
AZ
1989 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
1990 Remove bzero multiarch objects.
1991 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
1992 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
1993 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
1994 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
1995 Remove define.
1996 [__bzero]: Redefine to specific name.
1997 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
1998 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
1999 * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
2000 define.
2001 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
2002 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
2003
e6fb9587
FW
20042014-09-10 Florian Weimer <fweimer@redhat.com>
2005
2006 * Makeconfig (gccwarn-c): Turn implicit-function-declaration
2007 warnings into errors.
2008
2009 * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
2010 __cxa_thread_atexit_impl prototype.
2011
9d3a350b
SE
20122014-09-09 Steve Ellcey <sellcey@mips.com>
2013
2014 * sysdeps/mips/preconfigure: Put code inside mips* case statement.
2015 Fix capitalization of error message.
2016
0febba23
SE
20172014-09-09 Steve Ellcey <sellcey@mips.com>
2018
2019 * sysdeps/mips/preconfigure: Modify ABI tests.
2020
645a0e9c
CD
20212014-09-07 Carlos O'Donell <carlos@systemhalted.org>
2022
2023 * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
2024
d83f0734
CD
20252014-09-07 Roland McGrath <roland@hack.frob.com>
2026 Carlos O'Donell <carlos@systemhalted.org>
2027
2028 * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
2029 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
2030 * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
2031 * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
2032 * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
2033 * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
2034 * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
2035 * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
2036 * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
2037 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
2038 * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
2039 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
2040 * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
2041 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
2042 * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
2043 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
2044 * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
2045 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
2046 * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
2047 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
2048 * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
2049 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
2050 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
2051 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
2052 * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
2053 * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
2054 * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
2055 * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
2056 Deconditionalize the code that was previously under [RESET_PID].
2057 * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
2058 * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
2059 * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
2060 * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
2061 include sysdep.h.
2062
21c83793
AM
20632014-09-08 Allan McRae <allan@archlinux.org>
2064
2065 * version.h (RELEASE): Set to "development".
2066 (VERSION): Set to "2.20.90"
2067
1cd9b65c
AM
20682014-09-07 Allan McRae <allan@archlinux.org
2069
b8079dd0
AM
2070 * version.h (RELEASE): Set to "stable".
2071 (VERSION): Set to "2.20"
2072 * include/features.h (__GLIBC_MINOR__): Set to 20.
2073
c46303ef
AM
2074 * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
2075 Liebler.
2076
1cd9b65c
AM
2077 * po/ko.po: Update Korean translation from translation project.
2078
8622092d
CM
20792014-09-06 Chris Metcalf <cmetcalf@tilera.com>
2080
2081 [BZ #17354]
2082 * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
2083 macro for handling signed relocations.
2084
41488498
FW
20852014-09-03 Florian Weimer <fweimer@redhat.com>
2086
2087 [BZ #17325]
2088 * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
2089 * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
2090 assert.
2091 * iconvdata/ibm933.c (BODY): Fix check for sentinel.
2092 * iconvdata/ibm935.c (BODY): Likewise.
2093 * iconvdata/ibm937.c (BODY): Likewise.
2094 * iconvdata/ibm939.c (BODY): Likewise.
2095 * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
2096 assert.
2097 * iconvdata/Makefile (iconv-test.out): Pass module list to test
2098 script.
2099 * iconvdata/run-iconv-test.sh: New test loop for checking for
2100 decoder crashers.
2101
a78b712d
KR
21022014-09-02 Khem Raj <raj.khem@gmail.com>
2103
2104 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
2105 libm_hidden_ver.
2106
cb08abc6
AM
21072014-09-01 Allan McRae <allan@archlinux.org>
2108
2c31e102
AM
2109 * po/eo.po: Update Esperanto translation from translation project.
2110
cb08abc6
AM
2111 * po/ca.po: Update Catalan translation from translation project.
2112
17a62de1
ST
21132014-08-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
2114
2115 * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
2116 __proc_dostop call.
2117
9570bc53
MW
21182014-08-27 Mark Wielaard <mjw@redhat.com>
2119
2120 [BZ #17319]
2121 * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
2122 to call set_thread_area instead of hand written asm.
2123 (__NR_set_thread_area): Removed define.
2124 (TLS_FLAG_WRITABLE): Likewise.
2125 (__ASSUME_SET_THREAD_AREA): Remove check.
2126 (TLS_EBX_ARG): Remove define.
2127 (TLS_LOAD_EBX): Likewise.
2128
b0f955c9
ST
21292014-08-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
2130
2131 Simplify atomicity of socket creation in bind.
2132
2133 * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
2134 looking up the name after linking the file.
2135
529bf515
AM
21362014-08-27 Allan McRae <allan@archlinux.org>
2137
2138 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
2139
a1a6a401
FW
21402014-08-26 Florian Weimer <fweimer@redhat.com>
2141
2142 [BZ #17187]
2143 * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
2144 trans_compare, open_translit, __gconv_translit_find):
2145 Remove module loading code.
2146
686ab290
AM
21472014-08-26 Allan McRae <allan@archlinux.org>
2148
e4e7cfd2
AM
2149 * po/vi.po: Update Vietnamese translation from translation project.
2150
6aa09f71
AM
2151 * po/uk.po: Update Ukrainian translation from translation project.
2152
edc0660e
AM
2153 * po/fr.po: Update French translation from translation project.
2154
7eea72ac
AM
2155 * po/ru.po: Update Russian translation from translation project.
2156
93c49eff
AM
2157 * po/pl.po: Update Polish translation from translation project.
2158
46acaf63
AM
2159 * po/cs.po: Update Czech translation from translation project.
2160
a9f5ce98
AM
2161 * po/de.po: Update German translation from translation project.
2162
373f2b78
AM
2163 * po/bg.po: Update Bulgarian translation from translation project.
2164
e7548bd8
AM
2165 * po/sv.po: Update Sweedish translation from translation project.
2166
c526bf4d
AM
2167 * po/nl.po: Update Dutch translation from translation project.
2168
686ab290
AM
2169 * po/es.po: Update Spanish translation from translation project.
2170
eb72478a
SP
21712014-08-21 Siddhesh Poyarekar <siddhesh@redhat.com>
2172
dd763fdb
SP
2173 * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
2174
318c7a58
SP
2175 * catgets/Makefile (CPPFLAGS-gencat): Remove.
2176 * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
2177 (CPPFLAGS-iconvconfig): Likewise.
2178 * timezone/Makefile (CPPFLAGS-zic): Likewise.
2179
eb72478a
SP
2180 * include/libc-symbols.h: Remove unnecessary check for
2181 NOT_IN_libc.
2182 * nptl/pthreadP.h: Likewise.
2183 * sysdeps/aarch64/setjmp.S: Likewise.
2184 * sysdeps/alpha/setjmp.S: Likewise.
2185 * sysdeps/arm/sysdep.h: Likewise.
2186 * sysdeps/i386/setjmp.S: Likewise.
2187 * sysdeps/m68k/setjmp.c: Likewise.
2188 * sysdeps/posix/getcwd.c: Likewise.
2189 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
2190 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
2191 * sysdeps/s390/s390-32/setjmp.S: Likewise.
2192 * sysdeps/s390/s390-64/setjmp.S: Likewise.
2193 * sysdeps/sh/sh3/setjmp.S: Likewise.
2194 * sysdeps/sh/sh4/setjmp.S: Likewise.
2195 * sysdeps/unix/alpha/sysdep.h: Likewise.
2196 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
2197 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
2198 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
2199 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
2200 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
2201 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
2202 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
2203 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
2204 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
2205 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
2206 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
2207 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
2208 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
2209 * sysdeps/x86_64/setjmp.S: Likewise.
2210
d44a052c
JM
22112014-08-13 Joseph Myers <joseph@codesourcery.com>
2212
2213 [BZ #17263]
2214 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
2215 <stdint.h>.
2216 (__get_clockfreq): Use uint64_t instead of hp_timing_t in
2217 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
2218
508ce3ac
SP
22192014-08-13 Siddhesh Poyarekar <siddhesh@redhat.com>
2220
e44c8b0e
SP
2221 * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
2222
508ce3ac
SP
2223 [BZ #17262]
2224 * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
2225 and __x86_64__ when disabling x87 inline functions.
2226
b4acef1f
L
22272014-08-12 H.J. Lu <hongjiu.lu@intel.com>
2228
2229 [BZ #17259]
2230 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
2231 asm statement with __cpuid_count.
2232
61b1ef6e
MF
22332014-08-12 Mike Frysinger <vapier@gentoo.org>
2234
2235 * configure.ac: Change __ehdr_start code to dereference the struct.
2236 Run readelf on the output to look for relocations.
2237 * configure: Regenerated.
2238
898c62f4
JM
22392014-08-12 Joseph Myers <joseph@codesourcery.com>
2240
2241 [BZ #17261]
2242 * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
2243 value to 0.
2244 (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
2245
9a8a5720
RM
22462014-08-12 Roland McGrath <roland@hack.frob.com>
2247
2248 * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
2249
4e75751c
BO
22502014-08-12 Bernard Ogden <bernie.ogden@linaro.org>
2251
2252 [BZ #16892]
2253 * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
2254 atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
2255
bb2ce416
SA
22562014-08-12 Sean Anderson <seanga2@gmail.com>
2257
2258 * malloc/malloc.c: Fix typo in comment.
2259
7950a4ee
AM
22602014-08-09 Allan McRae <allan@archlinux.org>
2261
2262 * Regenerate libc.po.
2263
f469c49f
MF
22642014-08-08 Mike Frysinger <vapier@gentoo.org>
2265
2266 * intl/tst-gettext2.sh: Check every lang file for creation.
2267
656b84c2
WD
22682014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
2269
2270 * sysdeps/aarch64/fpu/math_private.h
2271 (libc_feholdsetround_noex_aarch64_ctx): New function.
2272
538e9e45
W
22732014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
2274
2275 * sysdeps/arm/armv6/strcpy.S (strcpy):
2276 Fix performance issue in misaligned cases.
2277
d4795e4a
AZ
22782014-08-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2279
2280 * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
2281 Move definition from termios.h.
2282 (struct termio): Likewise.
2283 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
2284 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
2285 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
2286 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
2287 Likewise.
2288 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
2289 Move definition to ioctl-types.h
2290 (struct termio): Likewise.
2291 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
2292 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
2293 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
2294 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
2295 Likewise.
2296
64accb62
RH
22972014-08-05 Richard Henderson <rth@redhat.com>
2298
27bb6dc0
RH
2299 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
2300 exceptions.
2301 * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
2302 Add fraiseexcpt.
2303 * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
2304 Use __feraiseexcept.
2305 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
2306 Protect libm symbols with IS_IN_libm.
2307
64accb62
RH
2308 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
2309
e5292691
BO
23102014-08-04 Bernard Ogden <bernie.ogden@linaro.org>
2311
2312 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
2313
5b4bd2d4
WN
23142014-08-04 Will Newton <will.newton@linaro.org>
2315
2316 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
2317 file.
2318
fcadaeef
MF
23192014-08-04 Mike Frysinger <vapier@gentoo.org>
2320
2321 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
2322 variants for each function.
2323
43a94c64
RM
23242014-08-04 Roland McGrath <roland@hack.frob.com>
2325
2326 * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
2327 appended ...
2328 * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
2329 * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
2330 appended ...
2331 * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
2332 * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
2333 * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
2334 * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
2335 * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
2336 * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
2337 * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
2338 * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
2339 * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
2340 * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
2341 * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
2342 * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
2343 * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
2344 * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
2345 * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
2346 * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
2347 * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
2348 * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
2349 * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
2350 * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
2351 * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
2352 * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
2353 * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
2354 * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
2355 * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
2356 * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
2357 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
2358 * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
2359 * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
2360 * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
2361 * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
2362 * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
2363 * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
2364 * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
2365 * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
2366 * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
2367 * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
2368 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
2369 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
2370 * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
2371 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
2372 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
2373 * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
2374 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
2375 * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
2376 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
2377 * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
2378 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
2379 * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
2380 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
2381 * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
2382 * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
2383 * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
2384 Update #include.
2385 * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
2386 * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
2387
8f3c1fa4
RM
23882014-08-04 Roland McGrath <roland@hack.frob.com>
2389
2390 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
2391 * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
2392 * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
2393 * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
2394 * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
2395 * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
2396
ca08746f
RM
23972014-08-04 Roland McGrath <roland@hack.frob.com>
2398
2399 * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
2400 * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
2401 * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
2402 * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
2403
9c925ff9
RM
24042014-08-04 Roland McGrath <roland@hack.frob.com>
2405
2406 * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
2407 * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
2408 (__libc_vfork): Define function under this name.
2409 (__vfork): Define as an alias.
2410 * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
2411 * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
2412
e641054c
RM
24132014-08-04 Roland McGrath <roland@hack.frob.com>
2414
2415 * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
2416 that was previously under [RESET_PID].
2417 * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
2418
dacdc867
AS
24192014-08-04 Andreas Schwab <schwab@suse.de>
2420
2421 * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
2422
41f725ff
MF
24232014-08-03 Mike Frysinger <vapier@gentoo.org>
2424
2425 * stdlib/tst-setcontext.c (test_stack): Fix coding style.
2426 (main): Likewise.
2427
277cfb31
RM
24282014-08-01 Roland McGrath <roland@hack.frob.com>
2429
2430 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
2431
4896f049
RH
24322014-08-01 Richard Henderon <rth@redhat.com>
2433
2434 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
2435 feclearexcept; use math_opt_barrier instead of open-coded asm; fix
2436 typo in exact zero test.
2437 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
2438 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
2439 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
2440
6f64e7d7
RM
24412014-08-01 Roland McGrath <roland@hack.frob.com>
2442
2443 * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
2444 (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
2445 * sysdeps/arm/sysdep.h: ... here.
2446 [!__ASSEMBLER__]: Include <stdint.h>.
2447
3f3dd810
SP
24482014-08-01 Siddhesh Poyarekar <siddhesh@redhat.com>
2449
a476ac4b
SP
2450 * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
2451 (HAVE_WCTYPE_H): Likewise.
2452 (HAVE_ISWCTYPE): Likewise.
2453 (ENABLE_NLS): Likewise.
2454 * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
2455 && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
2456
78dd658a
SP
2457 * posix/regex_internal.c: Check if DEBUG is defined and is
2458 set.
2459
3f3dd810
SP
2460 * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
2461 (HAVE_MBSRTOWCS): Likewise.
2462 * posix/fnmatch.c: Include string.h unconditionally.
2463
95ee7fb1
SL
24642014-08-01 Stefan Liebler <stli@linux.vnet.ibm.com>
2465
2466 * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
2467 reversal.
2468
23fe486b
RM
24692014-07-31 Roland McGrath <roland@hack.frob.com>
2470
f61a113f
RM
2471 * sysdeps/generic/safe-fatal.h: New file.
2472 * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
2473 * nptl/forward.c: Include it.
2474 (__pthread_unwind): Use __safe_fatal as default action, rather
2475 than a bogus use of INTERNAL_SYSCALL that could never work.
2476
9fe7e787
RM
2477 * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
2478 * configure.ac (libc_cv_builtin_trap): New test.
2479 * configure: Regenerated.
2480 * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
2481 (ABORT_INSTRUCTION): Define using __builtin_trap.
2482
23fe486b
RM
2483 * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
2484 * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
2485 * sysdeps/nptl/nptl-signals.h: New file.
2486 * nptl/pthreadP.h: Include <nptl-signals.h>.
2487
f349489e
SL
24882014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
2489
2490 * sysdeps/s390/s390-64/utf16-utf32-z9.c
2491 (ONE_DIRECTION): Define.
2492 * sysdeps/s390/s390-64/utf8-utf16-z9.c
2493 (ONE_DIRECTION): Define.
2494 * sysdeps/s390/s390-64/utf8-utf32-z9.c
2495 (ONE_DIRECTION): Define.
2496
2f438e20
SL
24972014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
2498
2499 * sysdeps/s390/Makefile: Delete file.
2500 * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
2501 * sysdeps/s390/__longjmp.c: Delete file.
2502 * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
2503 Remove fields __flags and __reserved.
2504 * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
2505 and add versioning.
2506 * sysdeps/s390/rtld-__longjmp.c: Delete file.
2507 * sysdeps/s390/rtld-global-offsets.sym: Likewise.
2508 * sysdeps/s390/rtld-setjmp.S: Likewise.
2509 * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
2510 * sysdeps/s390/s390-32/__longjmp.c: ... here.
2511 * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
2512 * sysdeps/s390/s390-32/setjmp.S: ... here.
2513 Add versioning.
2514 (__sigsetjmp): Remove setting __flags field.
2515 * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
2516 * sysdeps/s390/s390-64/__longjmp.c: ... here.
2517 * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
2518 * sysdeps/s390/s390-64/setjmp.S: ... here.
2519 Add versioning.
2520 (__sigsetjmp): Remove setting __flags field.
2521 * sysdeps/s390/setjmp.S: Delete file.
2522 * sysdeps/s390/sigjmp.c: Likewise.
2523 * sysdeps/s390/v1-longjmp.c: Likewise.
2524 * sysdeps/s390/v1-setjmp.h: Likewise.
2525 * sysdeps/s390/v1-sigjmp.c: Likewise.
2526 * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
2527 Remove v1-longjmp_chk.
2528 * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
2529 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
2530 Include debug/longjmp_chk.c and add versioning.
2531 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
2532 Include nptl/pt-longjmp.c and add versioning.
2533 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
2534 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
2535 Include __longjmp.c.
2536 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
2537 Move to ...
2538 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
2539 (__getcontext): Remove setting __flags field.
2540 Add versioning.
2541 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
2542 Don't restore upper high grps.
2543 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
2544 Likewise.
2545 (__swapcontext): Remove setting uc_flags field.
2546 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
2547 Delete file.
2548 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
2549 Include __longjmp.c.
2550 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
2551 Move to ...
2552 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
2553 (__getcontext): Remove setting __flags field.
2554 Add versioning.
2555 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
2556 (__swapcontext): Remove setting uc_flags field.
2557 * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
2558 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
2559 Remove fields uc_high_gprs and __reserved.
2560 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
2561 New file with reverted content.
2562 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
2563 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
2564 Regenerated.
2565 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
2566 Regenerated.
2567
6c9578a2
AS
25682014-07-31 Andreas Schwab <schwab@suse.de>
2569
2570 * config.h.in (HAVE_IFUNC): Define to 0.
2571 * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
2572 definedness.
2573
05f3633d
LM
25742014-07-30 Ling Ma <ling.ml@alibaba-inc.com>
2575
2576 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
2577 memmove-avx-unaligned, memcpy-avx-unaligned and
2578 mempcpy-avx-unaligned.
2579 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
2580 Add tests for AVX memcpy functions.
2581 * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
2582 * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
2583 memcpy_chk.
2584 * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
2585 * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
2586 memmove_chk.
2587 * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
2588 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
2589 mempcpy_chk.
2590 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
2591 * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
2592 * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
2593
a53fbd8e
AZ
25942013-07-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2595
2596 [BZ #17213]
2597 * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
2598 powerpc64le.
2599
0961f7e1
JL
26002014-07-29 Jeff Layton <jlayton@poochiereds.net>
2601
2602 [BZ #16839]
2603 * manual/llio.texi: Add section about open file description locks.
2604 * manual/examples/ofdlocks.c: Example of open file description
2605 lock usage.
2606 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
2607 F_OFD_SETLK, and F_OFD_SETLKW.
2608
cc5fb300
AM
26092014-07-23 Allan McRae <allan@archlinux.org>
2610
2611 * po/es.po: Update Spanish translation from translation project.
2612
23329dca
AS
26132014-07-18 Andreas Schwab <schwab@linux-m68k.org>
2614
2615 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
2616
9c82da17
MR
26172014-07-17 Maciej W. Rozycki <macro@codesourcery.com>
2618
2619 [BZ #17078]
2620 * sysdeps/arm/dl-machine.h (elf_machine_rela)
2621 [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
2622 (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
2623
29c4f53e
JM
26242014-07-17 Joseph Myers <joseph@codesourcery.com>
2625
831b9896
JM
2626 [BZ #17088]
2627 * math/fesetenv.c (__fesetenv)
2628 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
2629 * math/feupdateenv.c (__feupdateenv)
2630 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
2631
b21c2d50
JM
2632 * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
2633 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
2634 (__ASSUME_SOCKETCALL): Do not define.
2635
067764ef
JM
2636 * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
2637 * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
2638 (__ASSUME_SOCKETCALL): Do not define.
2639 (__ASSUME_ST_INO_64_BIT): Define unconditionally.
2640 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
2641 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
2642 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
2643 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
2644 [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
2645 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
2646 [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
2647
642530c1
JM
2648 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
2649 * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
2650 (__ASSUME_SOCKETCALL): Do not define.
2651 (__ASSUME_IPC64): Define unconditionally.
2652 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
2653 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
2654 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
2655 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
2656 [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
2657 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
2658 [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
2659 Likewise.
2660
03f77315
JM
2661 * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
2662 * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
2663 (__ASSUME_SOCKETCALL): Do not define.
2664 (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
2665 (__ASSUME_FUTEX_LOCK_PI): Likewise.
2666 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
2667 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
2668 (__ASSUME_REQUEUE_PI): Define unconditionally.
2669 [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
2670 (__ASSUME_RECVMMSG_SYSCALL): Do not define.
2671 [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
2672 [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
2673 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
2674 [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
2675
083b1f7c
JM
2676 * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
2677 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
2678 (__ASSUME_SOCKETCALL): Do not define.
2679 [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
2680 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
2681 [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
2682 [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
2683 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
2684 [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
2685
5be44ea6
JM
2686 * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
2687 * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
2688 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
2689 [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
2690 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
2691 [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
2692 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
2693 [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
2694 (__ASSUME_GETCPU_SYSCALL): Likewise.
2695
d95ffd4c
JM
2696 * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
2697 * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR. Remove
2698 cases for individual architectures.
2699 * sysdeps/gnu/configure: Regenerated.
2700 * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
2701 LIBC_SLIBDIR_RTLDDIR.
2702 * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
2703 * sysdeps/unix/sysv/linux/mips/configure.ac: Use
2704 LIBC_SLIBDIR_RTLDDIR.
2705 * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
2706 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
2707 LIBC_SLIBDIR_RTLDDIR.
2708 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
2709 Regenerated.
2710 * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
2711 * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
2712 file.
2713 * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
2714 * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
2715 file.
2716 * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
2717 * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
2718 * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
2719 * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
2720
29c4f53e
JM
2721 * sysdeps/aarch64/shlib-versions: Move to ...
2722 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
2723 * sysdeps/alpha/shlib-versions: Move to ...
2724 * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
2725 * sysdeps/arm/shlib-versions: Move to ...
2726 * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
2727 * sysdeps/hppa/shlib-versions: Move all contents except for
2728 libgcc_s entry to ...
2729 * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here. Merge in
2730 entry from ...
2731 * sysdeps/hppa/nptl/shlib-versions: ... here. Remove file.
2732 * sysdeps/ia64/shlib-versions: Move to ...
2733 * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here. Merge in
2734 entry from ...
2735 * sysdeps/ia64/nptl/shlib-versions: ... here. Remove file.
2736 * sysdeps/m68k/coldfire/shlib-versions: Move to ...
2737 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
2738 * sysdeps/microblaze/shlib-versions: Move to ...
2739 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
2740 * sysdeps/mips/shlib-versions: Move to ...
2741 * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here. Merge in
2742 entry from ...
2743 * sysdeps/mips/nptl/shlib-versions: ... here. Remove file.
2744 * sysdeps/tile/shlib-versions: Move to ...
2745 * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
2746 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
2747 from ...
2748 * sysdeps/x86_64/64/shlib-versions: ... here. Remove file.
2749 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
2750 entry from ...
2751 * sysdeps/x86_64/x32/shlib-versions: ... here. Remove file.
2752
32bead5b
WN
27532014-07-17 Will Newton <will.newton@linaro.org>
2754
57977c4b
WN
2755 * sysdeps/arm/bits/atomic.h
2756 (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
2757 (__arch_compare_and_exchange_bool_16_int): Likewise.
2758 (__arch_compare_and_exchange_bool_64_int): Likewise.
2759
32bead5b
WN
2760 * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
2761 into an #else block.
2762
37fccd41
RM
27632014-07-16 Roland McGrath <roland@hack.frob.com>
2764
2765 * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
2766 just Linux configurations. Test empirically that the compiler sets
2767 __ARM_EABI__, rather than using the tuple to decide.
2768 * sysdeps/arm/preconfigure: Regenerated.
2769 * sysdeps/unix/sysv/linux/arm/configure: File removed.
2770 * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
2771 contents appended ...
2772 * sysdeps/arm/configure.ac: ... here.
2773 * sysdeps/arm/configure: Regenerated.
2774
b365f3ec
RM
27752014-07-15 Roland McGrath <roland@hack.frob.com>
2776
8badf496
RM
2777 * nptl/pthread_kill.c: New file.
2778 * nptl/pthread_sigmask.c: New file.
2779 * nptl/pthread_sigqueue.c: New file.
2780
3df6f22e
RM
2781 * sysdeps/nptl/lowlevellock.h: New file.
2782 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
2783 * sysdeps/nptl/lowlevellock-futex.h: New file.
2784
b365f3ec
RM
2785 * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
2786 Remove dead declarations.
2787
f2fef657
L
27882014-07-14 H.J. Lu <hongjiu.lu@intel.com>
2789
2790 * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
2791 * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
2792 config-cflags-avx2.
2793 * sysdeps/x86_64/configure.ac: Likewise.
2794 * sysdeps/i386/configure: Regenerated.
2795 * sysdeps/x86_64/configure: Likewise.
2796 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
2797 memset-avx2 only if config-cflags-avx2 is yes.
2798 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
2799 Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
2800 defined.
2801 * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
2802 only if HAVE_AVX2_SUPPORT is defined.
2803 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
2804
f6c44d47
AM
28052014-07-14 Alan Modra <amodra@gmail.com>
2806
2807 [BZ #17153]
2808 * elf/elf.h (DT_PPC64_NUM): Correct value.
2809 * NEWS: Add to fixed bug list.
2810
7ee03f00
JM
28112014-07-13 Jim Meyering <meyering@fb.com>
2812
2813 [BZ 17150]
2814 regex: don't deref NULL upon heap allocation failure
2815 * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
2816 failure in one more place.
2817 To trigger the segfault, configure grep -with-included-regex,
2818 build it, and run these commands:
2819 ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
2820
9d39d517
AS
28212014-07-13 Andreas Schwab <schwab@linux-m68k.org>
2822
2823 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
2824
a75b89b7
RH
28252014-07-11 Richard Henderson <rth@redhat.com>
2826
2827 * sysdeps/aarch64/libm-test-ulps: Update.
2828
771eb141
FW
28292014-07-10 Florian Weimer <fweimer@redhat.com>
2830
2831 [BZ #17135]
2832 * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
2833 * nptl/allocatestack.c (__nptl_setxid_error): New function.
2834 (__nptl_setxid): Initialize error member. Call
2835 __nptl_setxid_error.
2836 * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
2837 * nptl/descr.h (struct xid_command): Add error member.
2838 * nptl/tst-setuid3.c: New file.
2839 * nptl/Makefile (tests): Add it.
2840
bc1da176
AZ
28412014-07-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2842
2843 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
2844 New define.
2845 (__lll_trylock): Use __lll_base_trylock.
2846 (__lll_cond_trylock): Likewise.
2847
887865fc
RM
28482014-07-10 Roland McGrath <roland@hack.frob.com>
2849
c0c6bac9
RM
2850 * nptl/pthread_create.c (start_thread): Use atomic_or and
2851 lll_futex_wake directly rather than lll_robust_dead.
2852 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
2853 (lll_robust_dead): Macro removed.
6a42be57 2854 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
c0c6bac9
RM
2855 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
2856 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
2857 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
2858 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
2859 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
2860 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
2861 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
2862 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
2863 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
2864 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
2865 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
2866 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
2867 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
2868 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
2869
887865fc
RM
2870 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
2871 Use atomic_compare_and_exchange_val_acq directly rather than
2872 lll_robust_trylock.
2873 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
2874 (__lll_robust_trylock, lll_robust_trylock): Removed.
2875 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
2876 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
2877 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
2878 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
2879 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
2880 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
2881 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
2882 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
2883 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
2884 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
2885 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
2886 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
2887 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
2888 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
2889
58536726
FW
28902014-07-02 Florian Weimer <fweimer@redhat.com>
2891
2892 * manual/locale.texi (Locale Names): New section documenting
2893 locale name syntax. Adjust menu and node chaining accordingly.
2894 (Choosing Locale): Reference Locale Names, Locale Categories.
2895 Mention setting LC_ALL=C. Reflect that name syntax is now
2896 documented.
2897 (Locale Categories): New section title. Reference Locale Names.
2898 LC_ALL is an environment variable, but not a category.
2899 (Setting the Locale): Remove "locale -a" invocation and LOCPATH
2900 description, now in Locale Name. Reference that section. Locale
2901 name syntax is now documented.
2902
4e8f95a0
FW
29032014-07-02 Florian Weimer <fweimer@redhat.com>
2904
2905 [BZ #17137]
2906 * locale/findlocale.c (name_present, valid_locale_name): New
2907 functions.
2908 (_nl_find_locale): Use the loc_name variable to store name
2909 candidates. Call name_present and valid_locale_name to check and
2910 validate locale names. Return an error if the locale is invalid.
2911
d1836456
FW
29122014-07-02 Florian Weimer <fweimer@redhat.com>
2913
2914 * locale/setlocale.c (setlocale): Use strdup for allocating
2915 composite name copy.
2916
d69b7f5a
SP
29172014-07-10 Siddhesh Poyarekar <siddhesh@redhat.com>
2918
888c679b
SP
2919 Sync up with gnulib.
2920 * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
2921 [!_LIBC && ENABLE_NLS]: Include gettext.h.
2922 [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
2923 and _GL_ARG_NONNULL.
2924 [USE_UNLOCKED_IO]: Include unlocked-io.h.
2925 [!_LIBC]: Include code for Windows and Cygwin.
2926 [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
2927 Include prototype for int strerror_r.
2928 [!_LIBC] (is_open): New function.
2929 (flush_stdout): New function.
2930 (print_errno_message): Use it.
2931 (error): Likewise.
2932 (error_at_line): Likewise.
2933 (error_tail) Add function attribute macros. Use
2934 __builtin_expect.
2935
180e0e4b
SP
2936 * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
2937
d22f1fe2
SP
2938 * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
2939
12f2254b
SP
2940 * io/ftw.c: Include sys/param.h unconditionally.
2941
c3c7c360
SP
2942 * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
2943
d62aa75a
SP
2944 [BZ #17125]
2945 * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
2946 libc_freeres_ptr.
2947 (freecache): New function to free CACHE on exit.
2948
d69b7f5a
SP
2949 * sunrpc/xdr.c (xdr_string): Add comment about SIZE
2950 initialization.
2951
5efe06a1
DM
29522014-07-09 David S. Miller <davem@davemloft.net>
2953
2954 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2955
7000d82e
DM
2956 * sysdeps/sparc/nptl/internaltypes.h: Delete.
2957 * sysdeps/sparc/nptl/sparc-nptl.h: New file.
2958 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
2959 * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
2960 * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
2961 * sysdeps/sparc/nptl/sem_init.c: Likewise.
2962 * sysdeps/sparc/nptl/sem_post.c: Likewise.
2963 * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
2964 * sysdeps/sparc/nptl/sem_wait.c: Likewise.
2965 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
2966 * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
2967 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
2968 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
2969
c213442d
AS
29702014-07-09 Andreas Schwab <schwab@suse.de>
2971
4a2552c3
AS
2972 * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
2973 output.
2974 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
2975 (do_test): Likewise.
2976
c213442d
AS
2977 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
2978
82374e65
WN
29792014-07-09 Will Newton <will.newton@linaro.org>
2980
2981 * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
2982 * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
2983 * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
2984 * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
2985 * sysdeps/hppa/start.S (_start): Likewise.
2986
6680738a
SP
29872014-07-09 Siddhesh Poyarekar <siddhesh@redhat.com>
2988
6ee3eab4
SP
2989 * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
2990
6680738a
SP
2991 * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
2992 defined.
2993
80b5c505
SP
29942014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
2995
e35c53e3
SP
2996 * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
2997 after checking that it is non-NULL.
2998
80b5c505
SP
2999 * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
3000
91f4b564
AZ
30012014-07-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3002
27b75f56
AZ
3003 * sysdeps/powerpc/memmove.c: Remove file.
3004 * sysdeps/powerpc/powerpc32/power4/memcopy.h
3005 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
3006 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
3007 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
3008 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
3009 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
3010 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
3011 string memmove instead of removed powerpc one.
3012
e7f95bb5
AZ
3013 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
3014 [weak_alias]: Fix compiler warning due trailing data.
3015 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
3016 [weak_alias]: Likewise.
3017 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
3018 warnigs due missing definition of __strcpy_power7 and __strlen_power7.
3019
91f4b564
AZ
3020 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
3021 (__libc_ifunc_impl_list): Add memmove functions.
3022
7c33f1e5
SP
30232014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
3024
3025 * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
3026 Remove code.
3027 * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
3028 Likewise
3029 * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
3030 Likewise
3031 * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
3032 Likewise
3033 * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
3034 Likewise
3035 * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
3036 Likewise
3037 * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
3038 Likewise
3039 * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
3040 Likewise
3041 * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
3042 Likewise
3043 * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
3044 Likewise
3045 * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
3046 Likewise
3047 * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
3048 Likewise
3049 * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
3050 Likewise
3051 * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
3052 Likewise
3053 * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
3054 Likewise
3055 * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
3056 Likewise
3057 * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
3058 Likewise
3059
3f17b03b
AZ
30602014-07-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3061
87868c24
AZ
3062 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
3063 to avoid alignment traps in non-cacheable memory.
3064 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
3065
07aedd78
AZ
3066 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
3067 multiarch objects.
3068 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
3069 file: multiarch power7 memmove.
3070 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
3071 multiarch default memmove.
3072 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
3073 multiarch memove for powerpc32/power4.
3074
17762f66
AZ
3075 * string/bcopy.c: Use full path to include memmove.c.
3076 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
3077 multiarch objects.
3078 * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
3079 bcopy for powerpc64.
3080 * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
3081 bcopy for powerpc64.
3082 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
3083 and memmove implementations.
3084 * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
3085 optimized multiarch memmove for POWER7/powerpc64.
3086 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
3087 default multiarch memmove for powerpc64.
3088 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
3089 multiarch for powerpc64.
3090 * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
3091 for POWER7/powerpc64.
3092 * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
3093 memmove for POWER7/powerpc64.
3094
d6f68bbe
AZ
3095 * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
3096 glibc default one.
3097
3f17b03b
AZ
3098 * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
3099 __ELF_NATIVE_CLASS equal to 64.
3100
08192659
RM
31012014-07-07 Roland McGrath <roland@hack.frob.com>
3102
f4c4021b
RM
3103 * sysdeps/nptl/lowlevellock.h: File removed.
3104
f083450f
RM
3105 * NEWS: NPTL is no longer an add-on!
3106 * nptl/internaltypes.h: Moved ...
3107 * sysdeps/nptl/internaltypes.h: ... here.
3108 * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
3109 * sysdeps/nptl/fork.c: Likewise.
3110 * sysdeps/nptl/gai_misc.h: Likewise.
3111 * sysdeps/nptl/librt-cancellation.c: Likewise.
3112 * sysdeps/nptl/jmp-unwind.c: Likewise.
3113 * sysdeps/nptl/setxid.h: Likewise.
3114 * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
3115 * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
3116 * sysdeps/unix/sysv/linux/arm/Implies: New file.
3117 * sysdeps/unix/sysv/linux/hppa/Implies: New file.
3118 * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
3119 * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
3120 * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
3121 * sysdeps/unix/sysv/linux/m68k/Implies: New file.
3122 * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
3123 * sysdeps/unix/sysv/linux/mips/Implies: New file.
3124 * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
3125 * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
3126 * sysdeps/unix/sysv/linux/sh/Implies: New file.
3127 * sysdeps/unix/sysv/linux/sparc/Implies: New file.
3128 * sysdeps/unix/sysv/linux/tile/Implies: New file.
3129 * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
3130 * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
3131 * nptl/Makeconfig: Moved ...
3132 * sysdeps/nptl/Makeconfig: ... here.
3133 * nptl/configure: File removed.
3134 * nptl/ANNOUNCE: File removed.
3135 * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
3136 * sysdeps/unix/sysv/linux/configure: Regenerated.
3137
08192659
RM
3138 * nptl/Makefile (routines): Add libc_pthread_init,
3139 libc_multiple_threads, register-atfork and unregister-atfork.
3140 (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
3141 (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
3142 lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
3143 pthread-pi-defines.sym, structsem.sym.
3144 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
3145 (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
3146 [$(subdir) = nptl] (tests): Add tst-setgetname.
3147 * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
3148 * sysdeps/unix/sysv/linux/sigaction.c: Just include
3149 <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
3150 [!LIBC_SIGACTION]: Remove aliases.
3151 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
3152 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
3153 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
3154 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
3155 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
3156 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
3157 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
3158 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
3159 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
3160 * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
3161 (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
3162 __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
3163 __libc_allocate_rtsig_private.
3164 * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
3165 * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
3166 * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
3167 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
3168 * sysdeps/unix/sysv/linux/sleep.c: Likewise.
3169 * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
3170 * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
3171 * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
3172 * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
3173 * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
3174 * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
3175 * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
3176 * nptl/internaltypes.h: ... here.
3177 * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
3178 * sysdeps/nptl/jmp-unwind.c: ... here.
3179 * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
3180 * nptl/libc-lowlevellock.c: ... here.
3181 * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
3182 * nptl/libc_multiple_threads.c: ... here.
3183 * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
3184 * nptl/libc_pthread_init.c: ... here.
3185 * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
3186 * nptl/lowlevelbarrier.sym: ... here.
3187 * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
3188 * nptl/lowlevelcond.sym: ... here.
3189 * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
3190 * nptl/lowlevellock.c: ... here.
3191 * nptl/lowlevellock.h: Moved ...
3192 * sysdeps/nptl/lowlevellock.h: ... here.
3193 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
3194 * nptl/lowlevelrobustlock.c: ... here.
3195 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
3196 * nptl/lowlevelrobustlock.sym: ... here.
3197 * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
3198 * nptl/lowlevelrwlock.sym: ... here.
3199 * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
3200 * nptl/pt-fork.c: ... here.
3201 * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
3202 * nptl/pthread-pi-defines.sym: ... here.
3203 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
3204 * nptl/pthread_attr_getaffinity.c: ... here.
3205 * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
3206 * nptl/pthread_attr_setaffinity.c: ... here.
3207 * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
3208 * nptl/pthread_mutex_cond_lock.c: ... here.
3209 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
3210 Update #include.
3211 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
3212 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
3213 * nptl/pthread_once.c: ... here, replacing old file.
3214 * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
3215 * nptl/pthread_yield.c: ... here.
3216 * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
3217 * nptl/register-atfork.c: ... here.
3218 * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
3219 * nptl/sem_post.c: ... here.
3220 * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
3221 * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
3222 * nptl/sem_timedwait.c: ... here.
3223 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
3224 * nptl/sem_trywait.c: ... here.
3225 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
3226 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
3227 * nptl/sem_wait.c: ... here.
3228 * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
3229 * nptl/structsem.sym: ... here.
3230 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
3231 * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
3232 * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
3233 * nptl/unregister-atfork.c: ... here.
3234 * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
3235 * nptl/unwindbuf.sym: ... here.
3236 * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
3237 * sysdeps/nptl/fork.c: ... here.
3238 * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
3239 * sysdeps/nptl/fork.h: ... here.
3240 * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
3241 * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
3242 * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
3243 * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
3244 * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
3245 * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
3246 * sysdeps/unix/sysv/linux/getpid.c: ... here.
3247 * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
3248 * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
3249 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
3250 * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
3251 * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
3252 * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
3253 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
3254 * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
3255 * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
3256 * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
3257 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
3258 * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
3259 * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
3260 * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
3261 * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
3262 * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
3263 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
3264 * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
3265 * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
3266 * sysdeps/unix/sysv/linux/raise.c: ... here.
3267 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
3268 * sysdeps/unix/sysv/linux/timer_create.c: ... here.
3269 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
3270 * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
3271 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
3272 * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
3273 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
3274 * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
3275 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
3276 * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
3277 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
3278 * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
3279 * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
3280 * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
3281 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
3282
96baf6ff
SP
32832014-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
3284
3285 * sysdeps/generic/memcopy.h: Add comment for
3286 MEMCPY_OK_FOR_FWD_MEMMOVE.
3287
6b7b14b2
WN
32882014-07-04 Will Newton <will.newton@linaro.org>
3289
1570a72b
WN
3290 * string/memchr.c: Merge from gnulib.
3291 [_LIBC]: Remove conditionals.
3292 (__ptr_t): Remove define.
3293 (LONG_MAX_32_BITS): Likewise.
3294 (LONG_MAX): Likewise.
3295 (MEMCHR): Use ANSI prototype and optimize algorithm.
3296
6b7b14b2
WN
3297 * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
3298
38851324
SP
32992014-07-03 Roland McGrath <roland@hack.frob.com>
3300
3d9eb57c
RM
3301 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
3302 (lll_futex_timed_wait_bitset): Fix syscall argument count.
3303
78b984ae
RM
3304 * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
3305 Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
3306 in a bare environment with no <stdlib.h> installed.
3307 * sysdeps/nptl/configure: Regenerated.
3308
2d5976a5
RM
3309 * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
3310
c1f5acd4
RM
3311 * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
3312 AC_EGREP_CPP for kernel header checks, so they only succeed if
3313 including <linux/version.h> actually works right.
3314 * sysdeps/unix/sysv/linux/configure: Regenerated.
3315
4d614fe5
RM
3316 * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
3317 value so it's not diagnosed as unused.
3318
38851324
SP
3319 * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
3320 thing) with "ifeq ($(subdir),rt)".
3321
b3ec00e5
RH
33222014-07-03 Richard Henderson <rth@redhat.com>
3323
69862e25
RH
3324 * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
3325 * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
3326 include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
3327
d5e16ade
RH
3328 * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
3329 (math_force_eval): New.
3330
ca7b945c
RH
3331 * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
3332 * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
3333
cd1175a3
RH
3334 * sysdeps/alpha/fpu/s_round.c: Remove file.
3335 * sysdeps/alpha/fpu/s_roundf.c: Remove file.
3336
b3ec00e5
RH
3337 * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
3338 (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
3339 * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
3340 (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
3341 (_dl_start, print_statistics): Likewise.
3342 * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
3343 HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
3344
3345 * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
3346 * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
3347 * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
3348 * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
3349 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
3350 (HP_SMALL_TIMING_AVAIL): Define.
3351 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
3352 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
3353 (HP_SMALL_TIMING_AVAIL): Define.
3354 * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
3355 * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
3356
3357 * sysdeps/aarch64/hp-timing.h: New file.
3358
3359 * sysdeps/generic/hp-timing.h: Remove dead comment.
3360 * sysdeps/generic/hp-timing-common.h: New file.
3361 * sysdeps/alpha/hp-timing.h: Include it.
3362 (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
3363 * sysdeps/i386/i686/hp-timing.h: Likewise.
3364 * sysdeps/ia64/hp-timing.h: Likewise.
3365 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
3366 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
3367 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
3368 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
3369 * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
3370 (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
3371 (hp_timing_t): New.
3372
3373 * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
3374 * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
3375 (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
3376 * elf/rtld.c (_dl_start_final): Likewise.
3377 * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
3378 * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
3379 * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
3380 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
3381 * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
3382 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
3383 (HP_TIMING_DIFF_INIT): Remove.
3384 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
3385 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
3386 (HP_TIMING_DIFF_INIT): Remove.
3387 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
3388 * sysdeps/i386/i686/hp-timing.c: Remove file.
3389 * sysdeps/x86_64/hp-timing.c: Remove file.
3390 * sysdeps/ia64/hp-timing.c: Remove file.
3391 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
3392 * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
3393 * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
3394 * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
3395
3396 * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
3397 * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
3398 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
3399 * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
3400 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
3401 (HP_TIMING_ACCUM): Remove.
3402 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
3403 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
3404 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
3405
3406 * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
3407 * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
3408 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
3409 * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
3410 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
3411 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
3412 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
3413 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
3414
3415 * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
3416
225f410f
MR
34172014-07-03 Maciej W. Rozycki <macro@codesourcery.com>
3418
3419 * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
3420
3247f285
SP
34212014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
3422
3423 Sync up with gettext.
3424 * intl/loadmsgcat.c: Define O_BINARY if not defined.
3425 [_MSC_VER]: Include malloc.h
3426 [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
3427 (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
3428 (_nl_load_domain): Open DOMAIN_FILE in binary mode. Don't use
3429 TEMP_FAILURE_RETRY. Cast return of alloca.
3430 [!_LIBC] Call gl_rwlock_init.
3431 [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
3432
d12704c7
SP
34332014-07-02 Roland McGrath <roland@hack.frob.com>
3434
3435 * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
3436 before checking its value.
3437
99f8dc92
SP
34382014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
3439
05fdac77
SP
3440 * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
3441
99f8dc92
SP
3442 * debug/memcpy_chk.c: Don't include pagecopy.h.
3443 * debug/mempcpy_chk.c: Likewise.
3444 * string/memcpy.c: Likewise.
3445 * string/memmove.c: Likewise.
3446 * sysdeps/powerpc/memmove.c: Likewise.
3447 * sysdeps/generic/memcopy.h: Include pagecopy.h. Move
3448 definition of PAGE_COPY_FWD_MAYBE here...
3449 * sysdeps/generic/pagecopy.h: ... from here.
3450 * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
3451
bc8ea385
VR
34522014-07-02 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
3453 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3454
3455 * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
3456 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
3457 optimizations.
3458 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
3459 (__libc_ifunc_impl_list): Likewise.
3460 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
3461 multiarch strcat for PPC64.
3462 * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
3463 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
3464
fe5f34e4
RM
34652014-07-02 Roland McGrath <roland@hack.frob.com>
3466
3467 * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
3468
256aa665
SP
34692014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
3470
d4eb8195
SP
3471 * intl/loadmsgcat.c: Remove declaration of
3472 get_sysdep_segment_value.
3473 (get_sysdep_segment_value): Use ISO C style.
3474 (_nl_load_domain): Use ISO C style. Get rid of redundant
3475 semicolon. Fix typo and formatting in comment.
3476 (_nl_unload_domain): Use ISO C style.
3477
256aa665
SP
3478 * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
3479
b100f9aa
WN
34802014-07-02 Will Newton <will.newton@linaro.org>
3481
3482 * malloc/obstack.c: Merge from gnulib master.
3483 [HAVE_CONFIG_H]: Remove conditional code.
3484 [!_LIBC]: Include config.h.
3485 [!ELIDE_CODE]: Don't include inttypes.h, include
3486 stdint.h unconditionally.
3487 (print_and_abort): Mark as _Noreturn.
3488 (_obstack_allocated_p): Mark as __attribute_pure__.
3489 (obstack_free): Rename to __obstack_free.
3490 [!__attribute__]: Remove conditional code.
3491 * malloc/obstack.h: Merge from gnulib master.
3492 [__cplusplus]: Move conditional down.
3493 [!__attribute_pure__]: Define __attribute_pure__ here
3494 if it is not already defined.
3495 (_obstack_memory_used): Mark as __attribute_pure__.
3496 [!__obstack_free]: Define as obstack_free.
3497 [__GNUC__]: Remove check for ancient NeXT gcc.
3498
c4c41244
PE
34992014-07-02 Will Newton <will.newton@linaro.org>
3500 Paul Eggert <eggert@cs.ucla.edu>
3501
3502 * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
3503
e1e041c4
SP
35042014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
3505
3506 * resolv/gethnamaddr.c: Add comment warning that the file is
3507 not maintained.
3508
ccf431ff
CD
35092014-07-01 Carlos O'Donell <carlos@redhat.com>
3510
d34570a6
CD
3511 * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
3512 entries.
3513
ccf431ff
CD
3514 * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
3515 entry for aio_cancel and aio_cancel64.
3516 * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
3517 * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
3518 * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
3519 * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
3520 * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
3521 * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
3522 * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
3523 * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
3524 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
3525 * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
3526 * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
3527 * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
3528 * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
3529
ca06321d
RM
35302014-07-01 Roland McGrath <roland@hack.frob.com>
3531
3532 * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
3533 * nptl/pthread_mutex_lock.c: Likewise.
3534 * nptl/pthread_mutex_timedlock.c: Likewise.
3535 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
3536
a1ac3184
RH
35372014-07-01 Richard henderson <rth@redhat.com>
3538
631021e0
RH
3539 * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
3540 (__isnan, __isnanl): Remove.
3541 * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
3542
a1ac3184
RH
3543 * sysdeps/alpha/fpu/libm-test-ulps: Update.
3544
0c1d731f
SL
35452014-07-01 Stefan Liebler <stli@linux.vnet.ibm.com>
3546
3547 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
3548
76985d3e
SP
35492014-07-01 Siddhesh Poyarekar <siddhesh@redhat.com>
3550
3551 * resolv/nss_dns/dns-host.c (getanswer_r)
3552 [MULTI_PTRS_ARE_ALIASES]: Remove code.
3553
b0cb3096
JM
35542014-07-01 Joseph Myers <joseph@codesourcery.com>
3555
3556 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
3557 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
3558 undefine.
3559 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
3560 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
3561
4d76cb39
RM
35622014-07-01 Roland McGrath <roland@hack.frob.com>
3563
3564 * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
3565 * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
3566
3567 * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
3568 * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
3569
3570 * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
3571 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
3572 ... here.
3573 * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
3574 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
3575
3576 * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
3577 * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
3578 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
3579 * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
3580
3581 * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
3582 * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
3583 * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
3584 * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
3585 * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
3586 Moved ...
3587 * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
3588 ... here.
3589 * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
3590 * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
3591 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
3592 * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
3593 * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
3594 * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
3595 * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
3596 * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
3597 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
3598 * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
3599 * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
3600 * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
3601 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
3602 * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
3603 * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
3604 * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
3605 * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
3606 * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
3607 * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
3608 * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
3609 ... here.
3610 * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
3611 * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
3612 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
3613 * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
3614 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
3615 * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
3616 * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
3617 * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
3618
0cdcad17
DH
36192014-07-01 David Holsgrove <david.holsgrove@xilinx.com>
3620
3621 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
3622 * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
3623 * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
3624 Add sysdep.
3625
9b71d0e3
AZ
36262014-06-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3627
3628 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3629
665390c2
JM
36302014-06-30 Joseph Myers <joseph@codesourcery.com>
3631
ae05a9d7
JM
3632 * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
3633 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
3634
a7672a2f
JM
3635 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
3636
665390c2
JM
3637 * sysdeps/arm/libm-test-ulps: Regenerated.
3638
d7a05d07
MR
36392014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
3640 Roland McGrath <roland@hack.frob.com>
3641
3642 * test-skeleton.c (signal_handler): Kill the whole process group
3643 before killing the child individually.
3644 (main): Report any failure on `setpgid'.
3645
46f1d8a6
RM
36462014-06-30 Roland McGrath <roland@hack.frob.com>
3647
3648 * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
3649 from _TLS_H to _ARM_NPTL_TLS_H.
3650 (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
3651 * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
3652
9c37ec0b
JM
36532014-06-30 Joseph Myers <joseph@codesourcery.com>
3654
ce9c5b3e
JM
3655 [BZ #16539]
3656 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
3657 (__expm1l): Return argument unchanged when small but not
3658 subnormal.
3659
3a6e9887
JM
3660 * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
3661 include macro name.
3662 (_FP_UNPACK_RAW_1_P): Likewise.
3663 (_FP_PACK_RAW_1): Likewise.
3664 (_FP_PACK_RAW_1_P): Likewise.
3665 (_FP_MUL_MEAT_1_wide): Likewise.
3666 (_FP_MUL_MEAT_DW_1_hard): Likewise.
3667 (_FP_MUL_MEAT_1_hard): Likewise.
3668 (_FP_DIV_MEAT_1_imm): Likewise.
3669 (_FP_DIV_MEAT_1_udiv_norm): Likewise.
3670 (_FP_DIV_MEAT_1_udiv): Likewise.
3671 * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
3672 (_FP_UNPACK_RAW_2): Likewise.
3673 (_FP_UNPACK_RAW_2_P): Likewise.
3674 (_FP_PACK_RAW_2): Likewise.
3675 (_FP_PACK_RAW_2_P): Likewise.
3676 (_FP_MUL_MEAT_DW_2_wide): Likewise.
3677 (_FP_MUL_MEAT_2_wide): Likewise.
3678 (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
3679 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
3680 (_FP_MUL_MEAT_DW_2_gmp): Likewise.
3681 (_FP_MUL_MEAT_2_gmp): Likewise.
3682 (_FP_DIV_MEAT_2_udiv): Likewise.
3683 * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
3684 (_FP_FRAC_SRL_4): Likewise.
3685 (_FP_FRAC_SRST_4): Likewise.
3686 (_FP_FRAC_SRS_4): Likewise.
3687 (_FP_UNPACK_RAW_4): Likewise.
3688 (_FP_UNPACK_RAW_4_P): Likewise.
3689 (_FP_PACK_RAW_4): Likewise.
3690 (_FP_PACK_RAW_4_P): Likewise.
3691 (_FP_MUL_MEAT_DW_4_wide): Likewise.
3692 (_FP_MUL_MEAT_4_wide): Likewise.
3693 (_FP_MUL_MEAT_4_gmp): Likewise.
3694 (umul_ppppmnnn): Likewise.
3695 (_FP_DIV_MEAT_4_udiv): Likewise.
3696 (__FP_FRAC_ADD_4): Likewise.
3697 (__FP_FRAC_SUB_3): Likewise.
3698 (__FP_FRAC_SUB_4): Likewise.
3699 (__FP_FRAC_DEC_3): Likewise.
3700 (__FP_FRAC_DEC_4): Likewise.
3701 (__FP_FRAC_ADDI_4): Likewise.
3702 * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
3703 (_FP_FRAC_SRL_8): Likewise.
3704 (_FP_FRAC_SRS_8): Likewise.
3705
9c37ec0b
JM
3706 * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
3707 include macro name.
3708 (FP_UNPACK_RAW_EP): Likewise.
3709 (FP_PACK_RAW_E): Likewise.
3710 (FP_PACK_RAW_EP): Likewise.
3711 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
3712 (_FP_ISSIGNAN): Likewise.
3713 (_FP_ADD_INTERNAL): Likewise.
3714 (_FP_FMA): Likewise.
3715 (_FP_CMP): Likewise.
3716 (_FP_SQRT): Likewise.
3717 (_FP_TO_INT): Likewise.
3718 (_FP_FROM_INT): Likewise.
3719 (FP_EXTEND): Likewise.
3720 (_FP_DIV_MEAT_N_loop): Likewise.
3721
2125f674
MR
37222014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
3723
3724 * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
3725 throughout.
3726
edea4028
JM
37272014-06-29 Joseph Myers <joseph@codesourcery.com>
3728
3729 [BZ #17097]
3730 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
3731 result with correct sign in case of exponents that produce
3732 overflow except for X very close to 1.
3733
dd0ba018
PE
37342014-06-28 Paul Eggert <eggert@cs.ucla.edu>
3735
3736 mktime: merge #if/#ifdef usage from glibc
3737 * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
3738 as that works with both Glibc's and Gnulib's style.
3739 See thread starting at Siddhesh Poyarekar's bug report at:
3740 http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
3741
64df73c2
SP
37422014-06-28 Siddhesh Poyarekar <siddhesh@redhat.com>
3743
3744 * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
3745 * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
3746 * sysdeps/tile/tilegx/memmove.c: Remove file.
3747
f1eafb41
JM
37482014-06-27 Joseph Myers <joseph@codesourcery.com>
3749
3750 * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
3751 abi-name definition.
3752 * scripts/soversions.awk: Do not handle or generate ABI lines.
3753 * shlib-versions: Remove ABI entries.
3754 * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
3755 * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
3756
58eb0862
RM
37572014-06-27 Roland McGrath <roland@hack.frob.com>
3758
37caf178
RM
3759 * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
3760 * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
3761 * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
3762 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
3763 * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
3764 * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
3765 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
3766 Moved ...
3767 * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
3768 ... here.
3769 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
3770 * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
3771 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
3772 * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
3773 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
3774 * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
3775 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
3776 * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
3777 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
3778 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
3779 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
3780 * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
3781 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
3782 Moved ...
3783 * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
3784 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
3785 * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
3786 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
3787 * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
3788 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
3789 Moved ...
3790 * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
3791 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
3792 Moved ...
3793 * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
3794 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
3795 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
3796 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
3797 Moved ...
3798 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
3799 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
3800 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
3801 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
3802 * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
3803 * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
3804 * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
3805 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
3806 Moved ...
3807 * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
3808 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
3809 * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
3810 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
3811 Moved ...
3812 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
3813 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
3814 Moved ...
3815 * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
3816 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
3817 * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
3818 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
3819 Moved ...
3820 * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
3821 ... here.
3822 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
3823 Identical file removed.
3824 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
3825 Moved ...
3826 * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
3827 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
3828 Identical file removed.
3829 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
3830 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
3831 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
3832 Moved ...
3833 * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
3834 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
3835 Identical file removed.
3836 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
3837 * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
3838 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
3839 Identical file removed.
3840 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
3841 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
3842 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
3843 Identical file removed.
3844 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
3845 * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
3846 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
3847 Identical file removed.
3848 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
3849 Moved ...
3850 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
3851 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
3852 Identical file removed.
3853 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
3854 Moved ...
3855 * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
3856 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
3857 * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
3858 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
3859 Identical file removed.
3860 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
3861 Moved ...
3862 * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
3863 ... here.
3864 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
3865 Identical file removed.
3866 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
3867 Moved ...
3868 * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
3869 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
3870 Identical file removed.
3871 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
3872 Moved ...
3873 * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
3874 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
3875 * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
3876 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
3877 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
3878 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
3879 Moved ...
3880 * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
3881 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
3882 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
3883
58eb0862
RM
3884 * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
3885 SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
3886 * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
3887 * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
3888 * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
3889
6f12d062
AS
38902014-06-27 Arjun Shankar <arjun.is@lostca.se>
3891
3892 [BZ #17092]
3893 * nscd/nscd.c (monitor_child): Return exit status of child
3894 instead of return value from wait syscall.
3895
be254932
JM
38962014-06-27 Joseph Myers <joseph@codesourcery.com>
3897
cb403c34
JM
3898 * configure.ac (libc_commonpagesize): Remove variable.
3899 (libc_relro_required): Likewise.
3900 (libc_cv_z_relro): Remove configure test.
3901 * configure: Regenerated.
3902 * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
3903 variable.
3904 (libc_relro_required): Likewise.
3905 * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
3906 (libc_relro_required): Likewise.
3907 * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
3908 (libc_relro_required): Likewise.
3909 * sysdeps/arm/preconfigure: Regenerated.
3910 * sysdeps/ia64/preconfigure: Remove file.
3911 * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
3912 variable.
3913 (libc_relro_required): Likewise.
3914
be254932
JM
3915 [BZ #16561]
3916 [BZ #16562]
3917 * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
3918 (__ieee754_yn): Set FE_TONEAREST mode internally and then
3919 recompute overflowing results in original rounding mode.
3920 * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
3921 (__ieee754_ynf): Set FE_TONEAREST mode internally and then
3922 recompute overflowing results in original rounding mode.
3923 * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
3924 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
3925 recompute overflowing results in original rounding mode.
3926 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
3927 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
3928 recompute overflowing results in original rounding mode.
3929 * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
3930 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
3931 recompute overflowing results in original rounding mode.
3932 * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
3933 (libc_feholdsetround_ctx): New macro.
3934 * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
3935 * sysdeps/i386/fpu/libm-test-ulps: Update.
3936 * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
3937
b351d85a
JM
39382014-06-26 Joseph Myers <joseph@codesourcery.com>
3939
3940 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
3941 [__PIC__] (PSEUDO): Use name of _nocancel entry point in
3942 corresponding .cpsetup call.
3943
3cb4de47
RM
39442014-06-26 Roland McGrath <roland@hack.frob.com>
3945
3946 * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
3947 * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
3948 * sysdeps/arm/Makefile [$(subdir) = csu]
3949 (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
3950 (static-only-routines): Add aeabi_read_tp here.
3951 (shared-only-routines): Add libc-aeabi_read_tp here.
3952 (CFLAGS-libc-start.c): Add -fexceptions here.
3953 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
3954 (sysdep_routines, static-only-routines, shared-only-routines):
3955 Don't add to these here.
3956 (CFLAGS-libc-start.c): Likewise.
3957
3958 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
3959 * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
3960 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
3961 * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
3962 * sysdeps/arm/Makefile [$(subdir) = rt]
3963 (librt-sysdep_routines, librt-shared-only-routines):
3964 Append rt-aeabi_unwind_cpp_pr1 here.
3965 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
3966 (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
3967 * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
3968 (libpthread-sysdep_routines, libpthread-shared-only-routines):
3969 Append nptl-aeabi_unwind_cpp_pr1 here.
3970 (tests): Filter out tst-cleanupx4 here.
3971 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
3972 (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
3973 Don't do those here.
3974
354426bb
JM
39752014-06-26 Joseph Myers <joseph@codesourcery.com>
3976
3977 * scripts/list-sources.sh: Do not handle ports specially.
3978
28b0a8c9
RM
39792014-06-26 Roland McGrath <roland@hack.frob.com>
3980
a3dd035d
RM
3981 * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
3982 * sysdeps/arm/feupdateenv.c: Likewise.
3983
28b0a8c9
RM
3984 * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
3985
e66a8203
JM
39862014-06-26 Joseph Myers <joseph@codesourcery.com>
3987
3988 * manual/texinfo.tex: Update to version 2014-05-05.10 with
3989 trailing whitespace removed.
3990 * scripts/config.guess: Update to version 2014-03-23.
3991 * scripts/config.sub: Update to version 2014-05-01
3992 * scripts/install-sh: Update to version 2013-12-25.23.
3993 * scripts/move-if-change: Update from gnulib.
3994
74171115
SP
39952014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
3996
b97c9ce5
SP
3997 * debug/memmove_chk.c: Remove pagecopy.h include.
3998
4000f892
SP
39992014-06-26 Paul Eggert <eggert@cs.ucla.edu>
4000
74171115
SP
4001 * time/mktime.c (leapyear): Remove inline keyword. The code is now
4002 identical to gnulib mktime.
4003
a8779c28
JM
40042014-06-26 Joseph Myers <joseph@codesourcery.com>
4005
e64708de
JM
4006 * configure.ac: Do not test for machine being rs6000. Do not test
4007 for powerpc*-*soft.
4008 * configure: Regenerated.
4009
a8779c28
JM
4010 * configure.ac (libc_cv_asm_cfi_directives): Remove configure
4011 test.
4012 * configure: Regenerated.
4013 * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
4014 * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
4015 Remove configure test.
4016 * sysdeps/arm/configure: Regenerated.
4017 * sysdeps/nptl/configure.ac: Do not check
4018 libc_cv_asm_cfi_directives.
4019 * sysdeps/nptl/configure: Regenerated.
4020 * sysdeps/x86_64/nptl/configure.ac: Remove file.
4021 * sysdeps/x86_64/nptl/configure: Remove generated file.
4022 * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
4023 unconditional.
4024 [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
4025
2aac0a86
SP
40262014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
4027
059bf913
SP
4028 * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
4029 * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
4030 (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
4031 it is defined.
4032
4cf5b6d0
SP
4033 * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
4034 instead of whether it is defined.
4035 * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
4036 * sysdeps/hppa/dl-machine.h: Likewise.
4037 * sysdeps/ia64/dl-machine.h: Likewise.
4038 * sysdeps/m68k/dl-machine.h: Likewise.
4039 * sysdeps/microblaze/dl-machine.h: Likewise.
4040 * sysdeps/mips/dl-machine.: Likewise.
4041 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
4042 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
4043 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
4044 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
4045 * sysdeps/sh/dl-machine.h: Likewise.
4046 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
4047 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
4048 * sysdeps/tile/dl-machine.h: Likewise.
4049 * sysdeps/x86_64/dl-machine.h: Likewise.
4050
2aac0a86
SP
4051 * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
4052 code.
4053 (verify_persistent_db): Likewise.
4054
6ad2df0b
RM
40552014-06-26 Roland McGrath <roland@hack.frob.com>
4056
d8a483f3
RM
4057 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
4058 * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
4059 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
4060 * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
4061 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
4062 Moved ...
4063 * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
4064 ... here.
4065 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
4066 * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
4067 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
4068 Identical file removed.
4069 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
4070 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
4071 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
4072 * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
4073 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
4074 * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
4075 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
4076 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
4077 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
4078 * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
4079 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
4080 Moved ...
4081 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
4082 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
4083 * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
4084 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
4085 * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
4086 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
4087 Moved ...
4088 * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
4089 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
4090 * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
4091 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
4092 * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
4093 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
4094 Identical file removed.
4095 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
4096 * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
4097 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
4098 * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
4099 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
4100 Moved ...
4101 * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
4102 ... here.
4103 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
4104 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
4105 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
4106 * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
4107 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
4108 * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
4109 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
4110 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
4111 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
4112 * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
4113 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
4114 Moved ...
4115 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
4116 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
4117 Moved ...
4118 * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
4119 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
4120 * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
4121 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
4122 Moved ...
4123 * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
4124 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
4125 * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
4126
52ae23b4
RM
4127 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
4128 folded into ...
4129 * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
4130 * sysdeps/unix/sysv/linux/s390/Versions
4131 (libpthread: GLIBC_2.19): New version set.
4132 * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
4133 * sysdeps/unix/sysv/linux/s390/s390-64/Versions
4134 (librt: GLIBC_2.3.3): New version set.
4135 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
4136 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
4137 * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
4138 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
4139 * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
4140 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
4141 * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
4142 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
4143 * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
4144 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
4145 * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
4146 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
4147 * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
4148 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
4149 * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
4150 * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
4151 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
4152 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
4153 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
4154 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
4155 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
4156 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
4157 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
4158 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
4159 * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
4160 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
4161 * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
4162 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
4163 * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
4164 * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
4165 * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
4166 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
4167 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
4168 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
4169 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
4170 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
4171 * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
4172 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
4173 * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
4174 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
4175 * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
4176 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
4177 * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
4178 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
4179 * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
4180
39507e4a
RM
4181 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
4182 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
4183 (__libc_vfork): Define the function under this name.
4184 [!NOT_IN_libc] (__vfork): Make this an alias.
4185 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
4186 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
4187 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
4188 (__libc_vfork): Define the function under this name.
4189 [!NOT_IN_libc] (__vfork): Make this an alias.
4190 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
4191 * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
4192 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
4193 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
4194 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
4195 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
4196
e549ee56
RM
4197 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
4198 code that was previously under [RESET_PID].
4199 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
4200 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
4201 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
4202
6ad2df0b
RM
4203 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
4204 * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
4205 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
4206 * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
4207 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
4208 * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
4209 * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
4210 * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
4211 * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
4212 * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
4213 * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
4214 Moved ...
4215 * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
4216 * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
4217 * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
4218 * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
4219 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
4220 * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
4221 * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
4222 * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
4223 * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
4224 * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
4225 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
4226 * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
4227 * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
4228 * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
4229 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
4230 * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
4231 * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
4232 * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
4233 * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
4234 * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
4235 * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
4236 * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
4237 * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
4238 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
4239 * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
4240 * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
4241 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
4242 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
4243 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
4244
7c1c1d8e
RM
42452014-06-25 Roland McGrath <roland@hack.frob.com>
4246
4247 * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
4248 that was previously under [RESET_PID].
4249 * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
4250
3e239be6
JM
42512014-06-25 Joseph Myers <joseph@codesourcery.com>
4252
74385da5
JM
4253 * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
4254 not undefine and redefine.
4255 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
4256 [O_CLOEXEC]: Make code unconditional.
4257 (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
4258 * sysdeps/unix/sysv/linux/shm_open.c: Do not include
4259 <kernel-features.h>.
4260 [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
4261 conditional variable definition.
4262 (shm_open) [O_CLOEXEC]: Make code unconditional.
4263 (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
4264 code.
4265
c2570a0b
JM
4266 * configure.ac (USE_REGPARMS): Don't define here.
4267 * configure: Regenerated.
4268 * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
4269 * sysdeps/i386/configure: Regenerated.
4270
11b076bb
JM
4271 * nptl/createthread.c: Don't include kernel-features.h.
4272 * nptl/pthread_cancel.c: Likewise.
4273 * nptl/pthread_condattr_setclock.c: Likewise.
4274 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
4275 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
4276 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
4277 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
4278 * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
4279 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
4280 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
4281 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
4282 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
4283 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
4284 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
4285 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
4286 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
4287 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
4288 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
4289 * nscd/gai.c: Likewise.
4290 * nss/nss_db/db-open.c: Likewise.
4291 * sysdeps/generic/ldsodefs.h: Likewise.
4292 * sysdeps/sh/nptl/tls.h: Likewise.
4293 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
4294 * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
4295 * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
4296 * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
4297 * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
4298 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
4299 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
4300 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
4301 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
4302 * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
4303 * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
4304 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
4305 * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
4306 * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
4307 * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
4308 * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
4309 * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
4310 * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
4311 * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
4312 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
4313 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
4314 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
4315 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
4316 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
4317 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
4318 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
4319 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
4320 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
4321 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
4322 * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
4323 * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
4324 * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
4325 * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
4326 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
4327 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
4328 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
4329 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
4330 * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
4331 * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
4332 * sysdeps/unix/sysv/linux/if_index.c: Likewise.
4333 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
4334 * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
4335 * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
4336 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
4337 * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
4338 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
4339 * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
4340 * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
4341 * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
4342 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
4343 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
4344 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
4345 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
4346 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
4347 * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
4348 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
4349 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
4350 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
4351 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
4352 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
4353 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
4354 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
4355 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
4356 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
4357 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
4358 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
4359 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
4360 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
4361 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
4362 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
4363 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
4364 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
4365 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
4366 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
4367 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
4368 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
4369 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
4370 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
4371 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
4372 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
4373 * sysdeps/unix/sysv/linux/pread.c: Likewise.
4374 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
4375 * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
4376 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
4377 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
4378 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
4379 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
4380 * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
4381 * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
4382 * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
4383 * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
4384 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
4385 * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
4386 * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
4387 * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
4388 * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
4389 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
4390 * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
4391 * sysdeps/unix/sysv/linux/syslog.c: Likewise.
4392 * sysdeps/unix/sysv/linux/system.c: Likewise.
4393 * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
4394 * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
4395 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
4396 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
4397 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
4398 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
4399 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
4400
92072d57
JM
4401 * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
4402 * configure: Regenerated.
4403 * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
4404
3e239be6
JM
4405 * configure.ac (base_machine): Do not set specially for particular
4406 machines here.
4407 * configure: Regenerated.
4408 * sysdeps/powerpc/preconfigure: Move machine and base_machine
4409 settings from configure.ac.
4410 * sysdeps/i386/preconfigure: New file.
4411 * sysdeps/s390/preconfigure: Likewise.
4412 * sysdeps/sh/preconfigure: Likewise.
4413 * sysdeps/sparc/preconfigure: Likewise.
4414
06d50baa
RM
44152014-06-25 Roland McGrath <roland@hack.frob.com>
4416
74836003
RM
4417 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
4418 * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
4419 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
4420 * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
4421 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
4422 * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
4423 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
4424 * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
4425 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
4426 * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
4427 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
4428 * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
4429 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
4430 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
4431 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
4432 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
4433 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
4434 * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
4435 * sysdeps/sparc/sparc64/Makefile: ... appended here.
4436
4437 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
4438 * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
4439 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
4440 * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
4441 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
4442 * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
4443 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
4444 * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
4445 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
4446 * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
4447 * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
4448 * sysdeps/sparc/sparc32/sem_post.c: ... here.
4449 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
4450 * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
4451 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
4452 * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
4453 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
4454 * sysdeps/sparc/sparc32/sem_wait.c: ... here.
4455 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
4456 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
4457 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
4458 * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
4459 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
4460 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
4461 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
4462 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
4463 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
4464 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
4465 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
4466 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
4467 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
4468 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
4469 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
4470 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
4471 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
4472 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
4473 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
4474 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
4475
06d50baa
RM
4476 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
4477 * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
4478 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
4479 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
4480 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
4481 Moved ...
4482 * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
4483 ... here.
4484 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
4485 * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
4486 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
4487 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
4488 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
4489 Moved ...
4490 * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
4491 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
4492 * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
4493 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
4494 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
4495 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
4496 * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
4497 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
4498 Moved ...
4499 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
4500 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
4501 Moved ...
4502 * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
4503 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
4504 * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
4505 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
4506 Moved ...
4507 * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
4508 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
4509 * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
4510 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
4511 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
4512 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
4513 * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
4514 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
4515 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
4516 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
4517 Moved ...
4518 * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
4519 ... here.
4520 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
4521 * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
4522 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
4523 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
4524 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
4525 Moved ...
4526 * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
4527 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
4528 * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
4529 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
4530 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
4531 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
4532 * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
4533 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
4534 Moved ...
4535 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
4536 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
4537 Moved ...
4538 * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
4539 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
4540 * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
4541 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
4542 Moved ...
4543 * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
4544 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
4545 * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
4546 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
4547 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
4548
a4ccbc9b
JM
45492014-06-25 Joseph Myers <joseph@codesourcery.com>
4550
0828edbf
JM
4551 * timezone/checktab.awk: Update from tzcode 2014e.
4552 * timezone/private.h: Likewise.
4553 * timezone/tzfile.h: Likewise.
4554 * timezone/zdump.c: Likewise.
4555 * timezone/zic.c: Likewise.
4556
a4ccbc9b
JM
4557 * sysdeps/unix/sysv/linux/kernel-features.h
4558 (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
4559 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
4560 [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
4561 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
4562 Remove conditional code.
4563
9aea0cb8
WN
45642014-06-25 Will Newton <will.newton@linaro.org>
4565
4566 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
4567 (_dl_arm_cap_flags): Add HWCAP2 values.
4568 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
4569 (_DL_HWCAP_COUNT): Increase to 37.
4570 (_DL_HWCAP_LAST): New define.
4571 (_DL_HWCAP2_LAST): New define.
4572 (_dl_procinfo): Add support for printing
4573 AT_HWCAP2 entries.
4574 (_dl_string_hwcap): Use _dl_hwcap_string.
4575
6eaa65ce
AZ
45762014-06-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4577
4578 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4579
0f5b7185
JM
45802014-06-25 Joseph Myers <joseph@codesourcery.com>
4581
cfd2ea50
JM
4582 * README: Do not mention ports directory.
4583
cecf2ed4
JM
4584 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
4585 Remove macro.
4586 * sysdeps/unix/sysv/linux/futimes.c: Do not include
4587 <kernel-features.h>.
4588 [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
4589 conditional variable definition.
4590 (__futimes): Update comment.
4591 (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
4592 (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
4593
a638de82
JM
4594 [BZ #16560]
4595 * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
4596 arguments close to 0.
4597 * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
4598 Likewise.
4599 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
4600 Likewise.
4601 * math/auto-libm-test-in: Add more tests of exp10.
4602 * math/auto-libm-test-out: Regenerated.
4603 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4604
0f5b7185
JM
4605 * sysdeps/unix/sysv/linux/kernel-features.h
4606 (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
4607 * sysdeps/unix/sysv/linux/readv.c: Do not include
4608 <kernel-features.h>.
4609 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
4610 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
4611 (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
4612 unconditional.
4613 (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
4614 conditional code.
4615 * sysdeps/unix/sysv/linux/writev.c: Do not include
4616 <kernel-features.h>.
4617 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
4618 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
4619 (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
4620 unconditional.
4621 (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
4622 conditional code.
4623
c7aec4be
WN
46242014-06-25 Will Newton <will.newton@linaro.org>
4625
4626 * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
4627 comment changes throughout the file. Remove checks
4628 for HAVE_*_H definitions that are not required.
4629 (__gen_tempname): Call abort if an unknown kind value is
4630 passed.
4631
c5241f95
AS
46322014-06-25 Andreas Schwab <schwab@suse.de>
4633
4634 [BZ #17086]
4635 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
4636 scalbln, scalblnf, scalblnl in libc.
4637
911422da
SP
46382014-06-25 Siddhesh Poyarekar <siddhesh@redhat.com>
4639
4640 [BZ #17086]
4641 * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
4642 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
4643 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
4644
0d749bbe
RM
46452014-06-24 Roland McGrath <roland@hack.frob.com>
4646
4647 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
4648 * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
4649 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
4650 * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
4651 Update #include.
4652 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
4653 * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
4654 Update #include.
4655 * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
4656 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
4657 * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
4658 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
4659 * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
4660 * sysdeps/x86/bits/pthreadtypes.h: ... here.
4661 * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
4662 * sysdeps/x86/bits/semaphore.h: ... here.
4663 * sysdeps/x86/nptl/elide.h: Moved ...
4664 * sysdeps/x86/elide.h: ... here.
4665 * sysdeps/x86_64/nptl/Implies: File removed.
4666 * sysdeps/i386/nptl/Implies: File removed.
4667
0ea5d373
JM
46682014-06-24 Joseph Myers <joseph@codesourcery.com>
4669
4060283d
JM
4670 [BZ #16539]
4671 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
4672 return the argument for normal arguments with exponent below -64.
4673 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
4674 Likewise.
4675 * math/auto-libm-test-in: Add another test of expm1.
4676 * math/auto-libm-test-out: Regenerated.
4677
e7dd3c8c
JM
4678 [BZ #16287]
4679 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
4680 calling __erfcl for arguments at least 16.
4681 * math/auto-libm-test-in: Add more tests of erf.
4682 * math/auto-libm-test-out: Regenerated.
4683
0ea5d373
JM
4684 * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
4685 individual architectures.
4686 * sysdeps/unix/sysv/linux/configure: Regenerated.
4687 * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
4688 * sysdeps/unix/sysv/linux/i386/configure: New generated file.
4689 * sysdeps/unix/sysv/linux/powerpc/configure.ac
4690 (ldd_rewrite_script): Define variable.
4691 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
4692 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
4693 file.
4694 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
4695 generated file.
4696 * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
4697 * sysdeps/unix/sysv/linux/s390/configure: New generated file.
4698 * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
4699 * sysdeps/unix/sysv/linux/sh/configure: New generated file.
4700 * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
4701 * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
4702 * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
4703 * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
4704
2307e126
SP
47052014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
4706
4707 [BZ #17084]
4708 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
4709 Rename member __data.d to __data.__elision_data.
4710
c0a4ed77
W
47112014-06-24 Wilco <wdijkstr@arm.com>
4712
4713 * NEWS: Add 16918 to fixed bug list.
4714
b8c00573
W
47152014-06-24 Wilco <wdijkstr@arm.com>
4716
4717 * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
4718
b5570d92
W
47192014-06-24 Wilco <wdijkstr@arm.com>
4720
4721 * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
4722 * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
4723 (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
4724 (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
4725 (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
4726 * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
4727 * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
4728 Use _FPU_MASK_RM.
4729
947bdca2
W
47302014-06-24 Wilco <wdijkstr@arm.com>
4731
4732 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
4733
00f669ed
W
47342014-06-24 Wilco <wdijkstr@arm.com>
4735
4736 * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
4737 * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
4738 * sysdeps/arm/fesetround.c (fesetround): Remove space.
4739 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
4740
db59bad3
W
47412014-06-24 Wilco <wdijkstr@arm.com>
4742
4743 [BZ #16918]
4744 * sysdeps/arm/feupdateenv.c (feupdateenv):
4745 Rewrite to reduce FPSCR accesses and fix return value.
4746
001f7b77
W
47472014-06-24 Wilco <wdijkstr@arm.com>
4748
4749 * sysdeps/arm/fclrexcpt.c (feclearexcept):
4750 Optimize to avoid unnecessary FPSCR writes.
4751 * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
4752 * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
4753 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
4754 * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
4755
4841e6a6
W
47562014-06-24 Wilco <wdijkstr@arm.com>
4757
4758 * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
4759 * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
4760 * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
4761 * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
4762 Call libc_fetestexcept_vfp.
4763 * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
4764 * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
4765 __SOFTFP__ ifdef so that they can be built for softfp.
4766
0813022c
SP
47672014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
4768
08e5862f
SP
4769 * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
4770 argument type signed char.
4771
0813022c
SP
4772 * Makerules (check-abi): Dump diff of symlist if the test
4773 fails.
4774
3fc7236a
RM
47752014-06-23 Roland McGrath <roland@hack.frob.com>
4776
aba8ef95
RM
4777 * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
4778 using abort.
4779
3fc7236a
RM
4780 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
4781 Remove unused variable ST.
4782
4da6db51
JM
47832014-06-23 Joseph Myers <joseph@codesourcery.com>
4784
4648909d
JM
4785 [BZ #16354]
4786 [BZ #17061]
4787 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
4788 small arguments before calling __expm1.
4789 * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
4790 small arguments before calling __expm1f.
4791 * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
4792 small arguments before calling __expm1l.
4793 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
4794 Likewise.
4795 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
4796 * math/auto-libm-test-in: Add more cosh tests. Do not allow
4797 spurious underflow for some cosh tests.
4798 * math/auto-libm-test-out: Regenerated.
4799 * sysdeps/i386/fpu/libm-test-ulps: Update.
4800
46a3d3c7
JM
4801 [BZ #17050]
4802 * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
4803 (__ieee754_y1): Set errno if return value overflows.
4804 * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
4805 (__ieee754_y1f): Set errno if return value overflows.
4806 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
4807 (__ieee754_y1l): Set errno if return value overflows.
4808 * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
4809 (__ieee754_y1l): Set errno if return value overflows.
4810 * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
4811 * math/auto-libm-test-out: Regenerated.
4812
863893ec
JM
4813 * math/gen-auto-libm-tests.c: Document use of
4814 ignore-zero-inf-sign.
4815 (input_flag_type): Add value flag_ignore_zero_inf_sign.
4816 (input_flags): Add ignore-zero-inf-sign.
4817 (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
4818 * math/gen-libm-test.pl (generate_testfile): Handle
4819 ignore-zero-inf-sign.
4820 * math/auto-libm-test-in: Mark some cpow tests with
4821 ignore-zero-inf-sign and some with xfail-rounding.
4822 * math/auto-libm-test-out: Regenerated.
4823 * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
4824 * sysdeps/i386/fpu/libm-test-ulps: Update.
4825 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4826
4da6db51
JM
4827 [BZ #16315]
4828 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
4829 overflowing or underflowing operations take place with sign of
4830 result.
4831 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
4832 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
4833 * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
4834 (__ieee754_pow): Recompute overflowing and underflowing results in
4835 original rounding mode.
4836 * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
4837 (__powl_helper): Allow negative argument X and scale negated value
4838 as needed. Avoid passing value outside [-1, 1] to f2xm1.
4839 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
4840 overflowing or underflowing operations take place with sign of
4841 result.
4842 * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
4843 Include <math.h>.
4844 * math/auto-libm-test-in: Add more tests of pow.
4845 * math/auto-libm-test-out: Regenerated.
4846 * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
4847 (pow_tonearest_test_data): Remove.
4848 (pow_test_tonearest): Likewise.
4849 (pow_towardzero_test_data): Likewise.
4850 (pow_test_towardzero): Likewise.
4851 (pow_downward_test_data): Likewise.
4852 (pow_test_downward): Likewise.
4853 (pow_upward_test_data): Likewise.
4854 (pow_test_upward): Likewise.
4855 (main): Don't call removed functions.
4856 * sysdeps/i386/fpu/libm-test-ulps: Update.
4857 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4858
5686b236
RM
48592014-06-23 Roland McGrath <roland@hack.frob.com>
4860
4861 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
4862 Moved ...
4863 * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
4864 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
4865 Moved ...
4866 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
4867 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
4868 Moved ...
4869 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
4870 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
4871 Moved ...
4872 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
4873 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
4874 File removed.
4875 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
4876 File removed.
4877 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
4878 File removed.
4879 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
4880 File removed.
4881 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
4882 File removed.
4883 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
4884 File removed.
4885 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
4886 File removed.
4887 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
4888 File removed.
4889 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
4890 File removed.
4891 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
4892 File removed.
4893 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
4894 File removed.
4895 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
4896 File removed.
4897 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
4898 Moved ...
4899 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
4900 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
4901 Moved ...
4902 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
4903 ... here.
4904 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
4905 Moved ...
4906 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
4907 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
4908 Moved ...
4909 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
4910 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
4911 Moved ...
4912 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
4913 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
4914 Moved ...
4915 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
4916 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
4917 Moved ...
4918 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
4919 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
4920 Moved ...
4921 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
4922 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
4923 Moved ...
4924 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
4925 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
4926 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
4927 ... here.
4928 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
4929 Moved ...
4930 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
4931 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
4932 Moved ...
4933 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
4934 ... here.
4935 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
4936 Moved ...
4937 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
4938 ... here.
4939 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
4940 Moved ...
4941 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
4942 ... here.
4943 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
4944 Moved ...
4945 * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
4946 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
4947 Moved ...
4948 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
4949 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
4950 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
4951 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
4952 Moved ...
4953 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
4954 ... here.
4955 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
4956 Moved ...
4957 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
4958 ... here.
4959 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
4960 Moved ...
4961 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
4962 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
4963 Moved ...
4964 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
4965 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
4966 Moved ...
4967 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
4968 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
4969 Moved ...
4970 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
4971 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
4972 Moved ...
4973 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
4974 ... here.
4975 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
4976 Moved ...
4977 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
4978 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
4979 Moved ...
4980 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
4981 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
4982 Moved ...
4983 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
4984 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
4985 Moved ...
4986 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
4987 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
4988 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
4989 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
4990 Moved ...
4991 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
4992 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
4993 Moved ...
4994 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
4995 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
4996 Moved ...
4997 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
4998 ... here.
4999 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
5000 Moved ...
5001 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
5002 ... here.
5003 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
5004 Moved ...
5005 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
5006 ... here.
5007 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
5008 Moved ...
5009 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
5010 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
5011 Moved ...
5012 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
5013 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
5014 Moved ...
5015 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
5016 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
5017 Moved ...
5018 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
5019 ... here.
5020 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
5021 Moved ...
5022 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
5023 ... here.
5024 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
5025 Moved ...
5026 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
5027 ... here.
5028 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
5029 Moved ...
5030 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
5031 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
5032 Moved ...
5033 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
5034
e6d90d67
WD
50352014-06-23 Will Newton <will.newton@linaro.org>
5036 Wilco <wdijkstr@arm.com>
5037
5038 * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
5039 implementation. Include get-rounding-mode.h.
5040 [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
5041 [!libc_feholdsetround_noex_ctx]: Define
5042 libc_feholdsetround_noex_ctx.
5043 [!libc_feholdsetround_noexf_ctx]: Define
5044 libc_feholdsetround_noexf_ctx.
5045 [!libc_feholdsetround_noexl_ctx]: Define
5046 libc_feholdsetround_noexl_ctx.
5047 (libc_feholdsetround_ctx): New function.
5048 (libc_feresetround_ctx): New function.
5049 (libc_feholdsetround_noex_ctx): New function.
5050 (libc_feresetround_noex_ctx): New function.
5051
d42df555
RM
50522014-06-23 Roland McGrath <roland@hack.frob.com>
5053
88a46474
RM
5054 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
5055 * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
5056 * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
5057 * sysdeps/mips/nptl/bits/semaphore.h: ... here.
5058 * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
5059 * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
5060
15bed472
RM
5061 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
5062 * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
5063 * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
5064 * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
5065 * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
5066 * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
5067 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
5068 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
5069 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
5070 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
5071 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
5072 Moved ...
5073 * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
5074 ... here.
5075 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
5076 * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
5077 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
5078 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
5079 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
5080 Moved ...
5081 * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
5082 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
5083 * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
5084 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
5085 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
5086 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
5087 * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
5088 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
5089 Moved ...
5090 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
5091 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
5092 Moved ...
5093 * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
5094 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
5095 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
5096 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
5097 Moved ...
5098 * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
5099 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
5100 * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
5101 * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
5102 * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
5103 * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
5104 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
5105 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
5106 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
5107 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
5108 Moved ...
5109 * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
5110 ... here.
5111 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
5112 * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
5113 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
5114 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
5115 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
5116 * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
5117 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
5118 * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
5119 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
5120 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
5121 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
5122 * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
5123 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
5124 Moved ...
5125 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
5126 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
5127 * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
5128 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
5129 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
5130 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
5131 Moved ...
5132 * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
5133 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
5134 * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
5135 * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
5136 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
5137
d42df555
RM
5138 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
5139 * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
5140 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
5141 * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
5142 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
5143 * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
5144 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
5145 * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
5146 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
5147 * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
5148 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
5149 * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
5150 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
5151 * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
5152 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
5153 * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
5154 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
5155 * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
5156 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
5157 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
5158 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
5159 * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
5160 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
5161 * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
5162 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
5163 * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
5164 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
5165 * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
5166
76e5216e
JM
51672014-06-23 Joseph Myers <joseph@codesourcery.com>
5168
5169 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
5170 (FALLOC_FL_COLLAPSE_RANGE): New macro.
5171 [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
5172 * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
5173 (IPV6_PMTUDISC_INTERFACE): Likewise.
5174 (IPV6_PMTUDISC_OMIT): Likewise.
5175
7a81cbcc
AS
51762014-06-23 Andreas Schwab <schwab@suse.de>
5177
5178 * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
5179 Remove unused errout label.
5180
db224009
AZ
51812014-06-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5182
5183 * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
5184 macro: hardware supports Vector Crypto instructions.
5185
f393b4aa
WN
51862014-06-23 Will Newton <will.newton@linaro.org>
5187
cc7d0447
WN
5188 * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
5189 rather than __builtin_expect.
5190
d6d06225
WN
5191 * elf/dl-lookup.c (undefined_msg): Remove variable.
5192 (_dl_lookup_symbol_x): Replace undefined_msg with string
5193 literal.
5194
f393b4aa
WN
5195 * elf/dl-lookup.c (do_lookup_unique): New function.
5196 (do_lookup_x): Move STB_GNU_UNIQUE handling code
5197 to a separate function.
5198
ac60763e
AS
51992014-06-23 Andreas Schwab <schwab@suse.de>
5200
5201 [BZ #17079]
5202 * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
5203 before reading the next line.
5204
c5c13355
WN
52052014-06-23 Will Newton <will.newton@linaro.org>
5206
5207 * test-skeleton.c (signal_handler): Use printf and %m
5208 rather than perror. Use printf rather than fprintf to
5209 stderr. Use puts rather than fputs to stderr.
5210 (main): Likewise.
5211
bd3675f9
LC
52122014-06-22 Ludovic Courtès <ludo@gnu.org>
5213
5214 * nscd/nscd.c (thread_info_t): Remove typedef.
5215 (thread_info): Remove variable.
5216
d03efb2f
AM
52172014-06-21 Allan McRae <allan@archlinux.org>
5218
5219 * NEWS: Mention CVE-2014-4043.
5220
bc4a86fa
RM
52212014-06-20 Roland McGrath <roland@hack.frob.com>
5222
dc9a54f8
RM
5223 * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
5224 * nptl/smp.h: ... here.
5225
bd7022c4
RM
5226 * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
5227
26ffd5e6
RM
5228 * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
5229 * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
5230 * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
5231 * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
5232
93a6d082
RM
5233 * nptl/allocatestack.c: Include <stack-aliasing.h>.
5234 * nptl/stack-aliasing.h: New file.
5235 * sysdeps/i386/i686/stack-aliasing.h: New file.
5236 * sysdeps/i386/i686/nptl/Makefile: File removed.
5237 * sysdeps/x86_64/stack-aliasing.h: New file.
5238 * sysdeps/x86_64/nptl/Makefile
5239 (CFLAGS-pthread_create.c): Variable removed.
5240
bc4a86fa
RM
5241 * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
5242 * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
5243 old file.
5244 * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
5245 * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
5246 old file.
5247
2272ffc1
JM
52482014-06-21 Joseph Myers <joseph@codesourcery.com>
5249
5250 * sysdeps/unix/sysv/linux/arm/kernel-features.h
5251 (__ASSUME_SIGFRAME_V2): Remove macro.
5252 * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
5253 [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
5254 (__default_sa_restorer_v2): Rename to __default_sa_restorer.
5255 (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
5256 * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
5257 Declare as function. Remove conditional macro definitions.
5258 (__default_rt_sa_restorer): Likewise.
5259 (__default_sa_restorer_v1): Remove declaration.
5260 (__default_sa_restorer_v2): Likewise.
5261 (__default_rt_sa_restorer_v1): Likewise.
5262 (__default_rt_sa_restorer_v2): Likewise.
5263 * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
5264 __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
5265 __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
5266
4b88139b
RM
52672014-06-20 Roland McGrath <roland@hack.frob.com>
5268
5269 * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
5270 (libpthread-routines): Add sysdep.
5271 * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
5272 * sysdeps/unix/sysv/linux/sparc/Versions
5273 (libpthread: GLIBC_2.3.3): New version set.
5274 * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
5275 * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
5276 * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
5277 * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
5278 * sysdeps/sparc/nptl/internaltypes.h: ... here. Use #include_next.
5279 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
5280 Moved ...
5281 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
5282 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
5283 * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
5284 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
5285 * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
5286 * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
5287 * sysdeps/sparc/nptl/sem_init.c: ... here.
5288 * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
5289 * sysdeps/sparc/nptl/sem_post.c: ... here.
5290 * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
5291 * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
5292 * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
5293 * sysdeps/sparc/nptl/sem_wait.c: ... here.
5294 * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
5295 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
5296 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
5297 (libpthread-routines): Add cpu_relax.
5298 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
5299 File removed.
5300 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
5301 (librt: GLIBC_2.3.3): New version set.
5302 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
5303 * sysdeps/sparc/sparc64/nptl/Makefile: New file.
5304 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
5305 (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
5306 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
5307 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
5308 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
5309 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
5310 Moved ...
5311 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
5312 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
5313 * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
5314 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
5315 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
5316 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
5317 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
5318 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
5319 * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
5320 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
5321 Moved ...
5322 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
5323 Update #include.
5324 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
5325 Moved ...
5326 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
5327 Update #include.
5328 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
5329 Moved ...
5330 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
5331 Update #include.
5332 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
5333 Moved ...
5334 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
5335 Update #include.
5336 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
5337 Moved ...
5338 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
5339 Update #include.
5340 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
5341 Moved ...
5342 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
5343 Update #include.
5344 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
5345 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
5346 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
5347 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
5348 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
5349 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
5350 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
5351 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
5352 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
5353 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
5354 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
5355 Moved ...
5356 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
5357 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
5358 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
5359 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
5360 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
5361
d7109027
JM
53622014-06-20 Joseph Myers <joseph@codesourcery.com>
5363
9bc6103d
JM
5364 * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
5365 * nptl/pthread_rwlock_timedrdlock.c: Likewise.
5366 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
5367 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
5368 * nscd/nscd.c: Likewise.
5369 * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
5370 * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
5371 * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
5372 * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
5373
d7109027
JM
5374 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
5375 <kernel-features.h>.
5376 (init_mq_netlink): Remove conditional have_sock_cloexec
5377 definitions. Remove code conditional on have_sock_cloexec < 0.
5378 (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
5379 (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
5380 * sysdeps/unix/sysv/linux/opensock.c: Do not include
5381 <kernel-features.h>.
5382 (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
5383 (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
5384
d92d8f8a
L
53852014-06-20 H.J. Lu <hongjiu.lu@intel.com>
5386
5387 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
5388 Add tests for memset_chk and memset.
5389
5390 * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
5391 with AVX2_Usable.
5392
4e6d2347
MR
53932014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
5394
257ce712
MR
5395 [BZ #16046]
5396 * elf/tst-dl-iter-static.c: New file.
5397 * elf/Makefile (tests-static): Add tst-dl-iter-static.
5398
4e6d2347
MR
5399 * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
5400 error.
5401
a2a76afe
JM
54022014-06-20 Joseph Myers <joseph@codesourcery.com>
5403
7fd00f99
JM
5404 * sysdeps/unix/sysv/linux/kernel-features.h
5405 (__ASSUME_F_GETOWN_EX): Remove macro.
5406 * sysdeps/unix/sysv/linux/fcntl.c: Do not include
5407 <kernel-features.h>.
5408 (miss_F_GETOWN_EX): Remove variable or macro.
5409 (do_fcntl): Do not check miss_F_GETOWN_EX.
5410 (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
5411
4a103975
JM
5412 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
5413 Remove macro.
5414 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
5415 [!__ASSUME_AT_RANDOM]: Remove conditional code.
5416 (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
5417
a2a76afe
JM
5418 * sysdeps/unix/sysv/linux/kernel-features.h
5419 (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
5420 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
5421 [ADJ_OFFSET_SS_READ]: Make code unconditional.
5422 (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
5423
90e5dd48
MR
54242014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
5425
5426 [BZ #17075]
5427 * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
5428 Fix calculation of the symbol's value.
5429 * sysdeps/arm/tst-armtlsdescloc.c: New file.
5430 * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
5431 * sysdeps/arm/tst-armtlsdescextnow.c: New file.
5432 * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
5433 * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
5434 * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
5435 * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
5436 `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
5437 (modules-names): Add `tst-armtlsdescmod',
5438 `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
5439 (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
5440 (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
5441 (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
5442 (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
5443 (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
5444 (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
5445 ($(objpfx)tst-armtlsdescloc): New dependency.
5446 ($(objpfx)tst-armtlsdescextnow): Likewise.
5447 ($(objpfx)tst-armtlsdescextlazy): Likewise.
5448 * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
5449 TLS scheme support.
5450 * sysdeps/arm/configure: Regenerate.
5451
809fdf0d
JM
54522014-06-20 Joseph Myers <joseph@codesourcery.com>
5453
5454 * include/fcntl.h (__atfct_seterrno): Remove prototype.
5455 (__atfct_seterrno_2): Likewise.
5456 * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
5457 <kernel-features.h>.
5458 (__ASSUME_ATFCTS): Do not undefine and redefine.
5459 * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
5460 (__have_atfcts): Remove conditional definition.
5461 (__fxstatat([__NR_fstatat64]: Make code unconditional.
5462 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
5463 unreachable if [__ASSUME_ATFCTS].
5464 * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
5465 not undefine and redefine.
5466 * sysdeps/unix/sysv/linux/faccessat.c: Do not include
5467 <kernel-features.h>.
5468 (faccessat) [__NR_faccessat]: Make code unconditional.
5469 (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
5470 * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
5471 <kernel-features.h>.
5472 (fchmodat) [__NR_fchmodat]: Make code unconditional.
5473 (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
5474 * sysdeps/unix/sysv/linux/fchownat.c: Do not include
5475 <kernel-features.h>.
5476 (fchownat) [__NR_fchownat]: Make code unconditional.
5477 (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
5478 * sysdeps/unix/sysv/linux/futimesat.c: Do not include
5479 <kernel-features.h>.
5480 (futimesat) [__NR_futimesat]: Make code unconditional.
5481 (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
5482 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
5483 <kernel-features.h>.
5484 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
5485 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
5486 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
5487 <kernel-features.h>.
5488 (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
5489 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
5490 * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
5491 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
5492 <kernel-features.h>.
5493 (__fxstatat) [__NR_fstatat64]: Make code unconditional.
5494 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
5495 * sysdeps/unix/sysv/linux/linkat.c: Do not include
5496 <kernel-features.h>.
5497 (linkat) [__NR_linkat]: Make code unconditional.
5498 (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
5499 * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
5500 * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
5501 <kernel-features.h>.
5502 (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
5503 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
5504 * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
5505 <kernel-features.h>.
5506 (mkdirat) [__NR_mkdirat]: Make code unconditional.
5507 (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
5508 * sysdeps/unix/sysv/linux/openat.c: Do not include
5509 <kernel-features.h>.
5510 [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
5511 [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
5512 (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
5513 (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
5514 * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
5515 * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
5516 <kernel-features.h>.
5517 (readlinkat) [__NR_readlinkat]: Make code unconditional.
5518 (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code. Return
5519 result of INLINE_SYSCALL directly, not via int variable.
5520 * sysdeps/unix/sysv/linux/renameat.c: Do not include
5521 <kernel-features.h>.
5522 [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
5523 (renameat) [__NR_renameat]: Make code unconditional.
5524 (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
5525 * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
5526 * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
5527 * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
5528 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
5529 (__ASSUME_ATFCTS): Do not undefine and redefine.
5530 * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
5531 <kernel-features.h>.
5532 (symlinkat) [__NR_symlinkat]: Make code unconditional.
5533 (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
5534 * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
5535 <kernel-features.h>.
5536 (unlinkat) [__NR_unlinkat]: Make code unconditional.
5537 (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
5538 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
5539 (__ASSUME_ATFCTS): Do not undefine and redefine.
5540 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
5541 <kernel-features.h>.
5542 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
5543 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
5544 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
5545 <kernel-features.h>.
5546 (__xmknodat) [__NR_mknodat]: Make code unconditional.
5547 (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
5548
224c6c51
L
55492014-06-20 H.J. Lu <hongjiu.lu@intel.com>
5550
5551 * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
5552
aa6ec754
AS
55532014-06-20 Andreas Schwab <schwab@linux-m68k.org>
5554
5555 [BZ #17069]
5556 * posix/regcomp.c (parse_reg_exp): Deallocate partially
5557 constructed tree before returning error.
5558 * posix/bug-regexp36.c: Expand test case.
5559
d8c2869d
SL
55602014-06-20 Stefan Liebler <stli@linux.vnet.ibm.com>
5561
3ef6b850
SL
5562 [BZ #6803]
5563 * math/libm-test.inc (scalbln_test_date):
5564 Add errno expectations.
5565 * math/w_scalblnf.c: New File.
5566 Add wrapper which checks for setting errno to ERANGE.
5567 Add weak_alias for corresponding scalbln function.
5568 * math/w_scalbln.c: Likewise.
5569 * math/w_scalblnl.c: Likewise.
5570 * math/Makefile (libm-calls): Add w_scalbln.
5571 * sysdeps/ieee754/flt-32/s_scalblnf.c:
5572 Remove weak_alias for corresponding scalbln function.
5573 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
5574 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
5575 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
5576 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
5577 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
5578 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
5579 * sysdeps/i386/fpu/s_scalbn.S: Likewise.
5580 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
5581 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
5582 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
5583 Remove long_double_symbol for scalblnl function in libm, libc.
5584 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
5585 Add wrapper which checks for setting errno to ERANGE.
5586 Add long_double_symbol for scalblnl function in libm, libc.
5587 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
5588 Remove long_double_symbol for scalblnl in libm.
5589 * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
5590 Add wrapper which checks for setting errno to ERANGE.
5591 Add long_double_symbol for scalblnl function in libm.
5592 * sysdeps/ia64/fpu/w_scalblnf.c: New File.
5593 Do not use wrapper because of own implementation.
5594
c8daec5c
L
55952014-06-19 H.J. Lu <hongjiu.lu@intel.com>
5596
5597 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
5598 3 bytes for __pad1 for x32.
5599 (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
5600
5c74e47c
LM
56012014-06-19 Ling Ma <ling.ml@alibaba-inc.com>
5602 H.J. Lu <hongjiu.lu@intel.com>
5603
5604 * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
5605 * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
5606 * sysdeps/x86_64/multiarch/memset.S: Likewise.
5607 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
5608 * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
5609
4d43ef1e
AS
56102014-06-19 Andreas Schwab <schwab@linux-m68k.org>
5611
5612 [BZ #17069]
5613 * posix/regcomp.c (parse_expression): Deallocate partially
5614 constructed tree before returning error.
5615 * posix/Makefile.c (tests): Add bug-regex36.
5616 (generated): Add bug-regex36.mtrace.
5617 (tests-special): Add $(objpfx)bug-regex36-mem.out
5618 (bug-regex36-ENV): New variable.
5619 ($(objpfx)bug-regex36-mem.out): New rule.
5620 * posix/bug-regex36.c: New file.
5621
51a7380b
WN
56222014-06-19 Will Newton <will.newton@linaro.org>
5623
5624 * malloc/malloc.c (systrim): If extra is zero then return
5625 early.
5626
91b84fe5
SP
56272014-06-19 Siddhesh Poyarekar <siddhesh@redhat.com>
5628
5629 * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
5630
f940b965
RE
56312014-06-19 Richard Earnshaw <rearnsha@arm.com>
5632
5633 * sysdeps/aarch64/strchr.S: New file.
5634
4ba7a00f
JM
56352014-06-18 Joseph Myers <joseph@codesourcery.com>
5636
5637 [BZ #17022]
5638 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
5639 from arguments -2 or below.
5640 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
5641 * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
5642
b3a9f56b
AS
56432014-06-18 Andreas Schwab <schwab@suse.de>
5644
5645 [BZ #17062]
5646 * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
5647 of a bracket expr not to run off the end of the string.
5648 * posix/Makefile (tests): Add tst-fnmatch3.
5649 * posix/tst-fnmatch3.c: New file.
5650
85d89278
JM
56512014-06-18 Joseph Myers <joseph@codesourcery.com>
5652
5653 * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
5654 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
5655 [$(cross-compiling) = no]: Likewise.
5656 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
5657 [$(cross-compiling) = no]: Likewise.
5658
754c5a08
RS
56592014-16-17 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
5660
5661 [BZ #17031]
5662 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
5663 double, adjusted for any remainder from the high double.
5664 * math/libm-test.inc (nearbyint): Add tests.
5665 (rint): Likewise.
5666
556f529d
AZ
56672014-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5668
5669 * nptl/sysdeps/powerpc/Makefile: Moved ...
5670 * sysdeps/powerpc/nptl/Makefile: ... here.
5671 * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
5672 * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
5673 * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
5674 * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
5675 * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
5676 * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
5677 * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
5678 * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
5679 * nptl/sysdeps/powerpc/tls.h: Moved ...
5680 * sysdeps/powerpc/nptl/tls.h: ... here.
5681
91c03c53
JM
56822014-06-16 Joseph Myers <joseph@codesourcery.com>
5683
5684 [BZ #16681]
5685 * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
5686 * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
5687 * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
5688 * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
5689 * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
5690 * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
5691 * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
5692 * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
5693 * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
5694
a76e63c5
AS
56952014-06-17 Andreas Schwab <schwab@linux-m68k.org>
5696
5697 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
5698
f2f6d82f
AS
56992014-06-16 Andreas Schwab <schwab@linux-m68k.org>
5700
ea8a15f6
AS
5701 * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
5702 defined operator.
5703
f2f6d82f
AS
5704 * scripts/cross-test-ssh.sh (timeoutfactor): Default to
5705 $TIMEOUTFACTOR.
5706
a7291117
FW
57072014-06-16 Florian Weimer <fweimer@redhat.com>
5708
5709 [BZ #17058]
5710 * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
5711 non-executed part of the test.
5712
3d7c00e3
AS
57132014-06-16 Andreas Schwab <schwab@suse.de>
5714
5715 * string/bits/string2.h (strdup, strndup): Update feature guard.
5716
6957fb31
DM
57172014-06-14 David S. Miller <davem@davemloft.net>
5718
5719 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5720
11b9e55b
AS
57212014-06-14 Andreas Schwab <schwab@linux-m68k.org>
5722
1d2a0492
AS
5723 * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
5724 that was previously under [RESET_PID].
5725 * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
5726
11b9e55b
AS
5727 * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
5728 * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
5729 * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
5730 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
5731 (__libc_vfork): New strong alias.
5732 * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
5733
0f6901d0
AK
57342014-06-14 Andi Kleen <ak@linux.intel.com>
5735
5736 * sysdeps/generic/elide.h: New file.
5737
38bbbb9f
SL
57382014-06-13 Stefan Liebler <stli@linux.vnet.ibm.com>
5739
5740 * Makefile (installed-headers): Adjust path of pthread.h header.
5741
45193bb8
RM
57422014-06-13 Roland McGrath <roland@hack.frob.com>
5743
9a25fd1e
RM
5744 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
5745 * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
5746 * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
5747 * sysdeps/s390/nptl/bits/semaphore.h: ... here.
5748
4004f7e4
RM
5749 * nptl/sysdeps/s390/Makefile: Moved ...
5750 * sysdeps/s390/nptl/Makefile: ... here.
5751 * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
5752 * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
5753 * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
5754 * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
5755 * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
5756 * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
5757 * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
5758 * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
5759 * nptl/sysdeps/s390/pthreaddef.h: Moved ...
5760 * sysdeps/s390/nptl/pthreaddef.h: ... here.
5761 * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
5762 * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
5763 * nptl/sysdeps/s390/tls.h: Moved ...
5764 * sysdeps/s390/nptl/tls.h: ... here.
5765
45193bb8
RM
5766 * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
5767 * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
5768
f6fdf533
DM
57692014-06-13 David S. Miller <davem@davemloft.net>
5770
5771 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
5772 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
5773 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
5774 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
5775 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
5776 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
5777 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
5778 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
5779 * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
5780 * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
5781 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
5782 Remove RESET_PID cpp guards.
5783 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
5784 Remove RESET_PID cpp guards.
5785 * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
5786
f5d71e14
AS
57872014-06-13 Andreas Schwab <schwab@linux-m68k.org>
5788
5789 * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
5790 __sp to uintptr_t.
5791
b7aa8caa
AK
57922014-06-13 Andi Kleen <ak@linux.intel.com>
5793
4b266200
AZ
5794 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
5795 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
5796 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
5797 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
5798 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
5799 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
5800 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
5801 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
5802 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
5803 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
5804 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
5805 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
5806 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
5807 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
5808 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
5809 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
5810 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
5811 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
5812 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
5813 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
8491ed6d
AK
5814
5815 * nptl/pthread_rwlock_rdlock.c: Include elide.h.
4b266200
AZ
5816 (pthread_rwlock_rdlock): Add elision.
5817 * nptl/pthread_rwlock_wrlock.c: Include elide.h.
5818 (pthread_rwlock_wrlock): Add elision.
5819 * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
5820 (pthread_rwlock_trywrlock): Add elision.
5821 * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
5822 (pthread_rwlock_tryrdlock): Add elision.
5823 * nptl/pthread_rwlock_unlock.c: Include elide.h.
5824 (pthread_rwlock_tryrdlock): Add elision unlock.
5825 * nptl/sysdeps/pthread/pthread.h:
5826 (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
5827 (PTHREAD_RWLOCK_INITIALIZER,
5828 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
5829 Handle new elision field.
5830 * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
5831 * sysdeps/arm/nptl/bits/pthreadtypes.h
5832 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
5833 * sysdeps/sh/nptl/bits/pthreadtypes.h
5834 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
5835 * sysdeps/tile/nptl/bits/pthreadtypes.h
5836 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
5837 * sysdeps/a/nptl/bits/pthreadtypes.h
5838 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
5839 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
5840 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
5841 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
5842 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
5843 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
5844 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
5845 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
5846 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
5847 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
5848 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
5849 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
5850 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
5851 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
5852 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
5853 * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
5854 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
5855 * sysdeps/unix/sysv/linux/x86/elision-conf.c:
5856 (elision_init): Set try_xbegin to zero when no RTM.
5857 * sysdeps/x86/nptl/bits/pthreadtypes.h
5858 (pthread_rwlock_t): Change __pad1 to __rwelision.
5859 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
8491ed6d 5860
a832bdd3
AK
58612014-06-13 Andi Kleen <ak@linux.intel.com>
5862
5863 * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
5864 Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
5865 * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
5866 Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
5867
995a46bb
MI
58682014-06-13 Meador Inge <meadori@codesourcery.com>
5869
5870 [BZ #16996]
03ed7738 5871 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
995a46bb
MI
5872 that the cached result has been set before returning it.
5873
45262aee
RM
58742014-06-12 Roland McGrath <roland@hack.frob.com>
5875
febf6cc5
RM
5876 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
5877 * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
5878 * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
5879 * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
5880 * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
5881 * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
5882
e2682246
RM
5883 * nptl/sysdeps/sparc/Makefile: Moved ...
5884 * sysdeps/sparc/nptl/Makefile: ... here.
5885 * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
5886 * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
5887 * nptl/sysdeps/sparc/tls.h: Moved ...
5888 * sysdeps/sparc/nptl/tls.h: ... here.
5889 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
5890 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
5891 * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
5892 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
5893 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
5894 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
5895 * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
5896 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
5897 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
5898 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
5899 * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
5900 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
5901 * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
5902 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
5903 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
5904 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
5905 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
5906 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
5907 Update #include.
5908 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
5909 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
5910 Update #include.
5911 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
5912 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
5913 Update #include.
5914 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
5915 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
5916 Update #include.
5917
b0725f43
RM
5918 * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
5919
b14368b8
RM
5920 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
5921 * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
5922
c5620eb3
RM
5923 * sysdeps/pthread/posix-timer.h: Include <list.h>.
5924 (struct list_links): Type removed.
5925 (struct thread_node, struct timer_node): Replace struct list_links
5926 with struct list_head.
5927 (list_unlink_ip): Likewise.
5928 * sysdeps/pthread/timer_routines.c
5929 (timer_free_list, thread_free_list, thread_active_list): Likewise.
5930 (list_append, list_insbefore): Likewise.
5931 (list_init): Function removed.
5932 (thread_init, init_module): Use INIT_LIST_HEAD instead.
463dc947
RM
5933 * sysdeps/nptl/Makefile: Move tst-timer bits to ...
5934 * sysdeps/pthread/Makefile: ... here, new file.
5935
5936 * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
5937 * sysdeps/nptl/Implies: ... here.
5938 * sysdeps/unix/sysv/linux/Implies: Add nptl.
5939 * nptl/sysdeps/pthread/list.h: Moved ...
5940 * include/list.h: ... here.
5941 * nptl/sysdeps/pthread/createthread.c: Moved ...
5942 * nptl/createthread.c: ... here.
5943 * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
5944 * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
5945 * nptl/pt-longjmp.c: ... here.
5946 * nptl/sysdeps/pthread/Makefile: Moved ...
5947 * sysdeps/nptl/Makefile: ... here.
5948 * nptl/sysdeps/pthread/Subdirs: Moved ...
5949 * sysdeps/nptl/Subdirs: ... here.
5950 * nptl/sysdeps/pthread/aio_misc.h: Moved ...
5951 * sysdeps/nptl/aio_misc.h: ... here.
5952 * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
5953 * sysdeps/nptl/bits/libc-lock.h: ... here.
5954 * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
5955 * sysdeps/nptl/bits/libc-lockP.h: ... here.
5956 * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
5957 * sysdeps/nptl/bits/stdio-lock.h: ... here.
5958 * nptl/sysdeps/pthread/configure: Moved ...
5959 * sysdeps/nptl/configure: ... here.
5960 * nptl/sysdeps/pthread/configure.ac: Moved ...
5961 * sysdeps/nptl/configure.ac: ... here.
5962 * nptl/sysdeps/pthread/gai_misc.h: Moved ...
5963 * sysdeps/nptl/gai_misc.h: ... here.
5964 * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
5965 * sysdeps/nptl/librt-cancellation.c: ... here.
5966 * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
5967 * sysdeps/nptl/malloc-machine.h: ... here.
5968 * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
5969 * sysdeps/nptl/pthread-functions.h: ... here.
5970 * nptl/sysdeps/pthread/pthread.h: Moved ...
5971 * sysdeps/nptl/pthread.h: ... here.
5972 * nptl/sysdeps/pthread/setxid.h: Moved ...
5973 * sysdeps/nptl/setxid.h: ... here.
5974 * nptl/sysdeps/pthread/sigfillset.c: Moved ...
5975 * sysdeps/nptl/sigfillset.c: ... here.
5976 * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
5977 * sysdeps/nptl/tcb-offsets.h: ... here.
5978 * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
5979 * sysdeps/nptl/tst-mqueue8x.c: ... here.
5980 * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
5981 * sysdeps/nptl/unwind-forcedunwind.c: ... here.
5982 * nptl/sysdeps/pthread/allocalim.h: Moved ...
5983 * sysdeps/pthread/allocalim.h: ... here.
5984 * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
5985 * sysdeps/pthread/bits/sigthread.h: ... here.
5986 * nptl/sysdeps/pthread/flockfile.c: Moved ...
5987 * sysdeps/pthread/flockfile.c: ... here.
5988 * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
5989 * sysdeps/pthread/ftrylockfile.c: ... here.
5990 * nptl/sysdeps/pthread/funlockfile.c: Moved ...
5991 * sysdeps/pthread/funlockfile.c: ... here.
5992 * nptl/sysdeps/pthread/posix-timer.h: Moved ...
5993 * sysdeps/pthread/posix-timer.h: ... here.
5994 * nptl/sysdeps/pthread/timer_create.c: Moved ...
5995 * sysdeps/pthread/timer_create.c: ... here.
5996 * nptl/sysdeps/pthread/timer_delete.c: Moved ...
5997 * sysdeps/pthread/timer_delete.c: ... here.
5998 * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
5999 * sysdeps/pthread/timer_getoverr.c: ... here.
6000 * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
6001 * sysdeps/pthread/timer_gettime.c: ... here.
6002 * nptl/sysdeps/pthread/timer_routines.c: Moved ...
6003 * sysdeps/pthread/timer_routines.c: ... here.
6004 * nptl/sysdeps/pthread/timer_settime.c: Moved ...
6005 * sysdeps/pthread/timer_settime.c: ... here.
6006 * nptl/sysdeps/pthread/tst-timer.c: Moved ...
6007 * sysdeps/pthread/tst-timer.c: ... here.
6008 * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
6009 * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
6010
e876b090
RM
6011 * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
6012 * nptl/sysdeps/pthread/sigprocmask.c: File removed.
6013
f6b07b3d
RM
6014 * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
6015 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
6016 * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
6017 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
6018 Update #include target.
6019 * nptl/sysdeps/i386/i686/Makefile: Moved ...
6020 * sysdeps/i386/i686/nptl/Makefile: ... here.
6021 * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
6022 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
6023 Update #include target.
6024 * nptl/sysdeps/i386/i686/tls.h: Moved ...
6025 * sysdeps/i386/i686/nptl/tls.h: ... here. Use #include_next.
6026 * nptl/sysdeps/i386/Makefile: Moved ...
6027 * sysdeps/i386/nptl/Makefile: ... here.
6028 * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
6029 * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
6030 * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
6031 * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
6032 * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
6033 * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
6034 * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
6035 * nptl/sysdeps/i386/pthreaddef.h: Moved ...
6036 * sysdeps/i386/nptl/pthreaddef.h: ... here.
6037 * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
6038 * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
6039 * nptl/sysdeps/i386/tls.h: Moved ...
6040 * sysdeps/i386/nptl/tls.h: ... here.
6041
45262aee
RM
6042 * sysdeps/sh/Makefile [$(subdir) = csu]
6043 (gen-as-const-headers): Add tcb-offsets.sym.
6044 * nptl/sysdeps/sh/Makefile: File removed.
6045 * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
6046 * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
6047 * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
6048 * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
6049 * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
6050 * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
6051 * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
6052 * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
6053 * nptl/sysdeps/sh/pthreaddef.h: Moved ...
6054 * sysdeps/sh/nptl/pthreaddef.h: ... here.
6055 * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
6056 * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
6057 * nptl/sysdeps/sh/tls.h: Moved ...
6058 * sysdeps/sh/nptl/tls.h: ... here.
6059 * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
6060 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
6061 * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
6062 * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
6063 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
6064 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
6065 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
6066 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
6067 * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
6068 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
6069 * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
6070 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
6071 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
6072 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
6073 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
6074 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
6075 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
6076 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
6077 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
6078 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
6079 * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
6080 * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
6081 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
6082 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
6083 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
6084 Moved ...
6085 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
6086 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
6087 Moved ...
6088 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
6089 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
6090 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
6091 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
6092 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
6093 * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
6094 * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
6095 * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
6096 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
6097 * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
6098 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
6099 * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
6100 * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
6101 * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
6102 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
6103 * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
6104 * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
6105 * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
6106 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
6107
35a5e3e3
SL
61082014-06-12 Stefan Liebler <stli@linux.vnet.ibm.com>
6109
6110 * posix/spawn_faction_addopen.c: Include string.h.
6111
14642b85
RM
61122014-06-11 Roland McGrath <roland@hack.frob.com>
6113
6114 * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
6115 * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
6116 * nptl/sysdeps/x86_64/Makefile: Moved ...
6117 * sysdeps/x86_64/nptl/Makefile: ... here.
6118 * nptl/sysdeps/x86_64/configure: Moved ...
6119 * sysdeps/x86_64/nptl/configure: ... here.
6120 * nptl/sysdeps/x86_64/configure.ac: Moved ...
6121 * sysdeps/x86_64/nptl/configure.ac: ... here.
6122 * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
6123 * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
6124 * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
6125 * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
6126 * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
6127 * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
6128 * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
6129 * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
6130 * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
6131 * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
6132 * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
6133 * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
6134 * nptl/sysdeps/x86_64/tls.h: Moved ...
6135 * sysdeps/x86_64/nptl/tls.h: ... here.
6136 * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
6137 * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
6138 * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
6139 * sysdeps/x86_64/x32/nptl/tls.h: ... here.
6140
6141 * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
6142
31c44fea
AZ
61432014-06-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6144
6145 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6146
e81a4f9a
JM
61472014-06-11 Joseph Myers <joseph@codesourcery.com>
6148
6149 * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
6150 type.
6151 [POSIX] (off_t): Likewise.
6152 * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
6153 [POSIX] (S_ISBLK): Require macro.
6154 [POSIX] (S_ISCHR): Likewise.
6155 [POSIX] (S_ISDIR): Likewise.
6156 [POSIX] (S_ISFIFO): Likewise.
6157 [POSIX] (S_ISREG): Likewise.
6158 [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
6159 optional-macro.
6160 * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
6161 type.
6162 [POSIX] (time_t): Likewise.
6163 [POSIX] (timer_t): Likewise.
6164
89e435f3
FW
61652014-06-11 Florian Weimer <fweimer@redhat.com>
6166
6167 [BZ #17048]
6168 * posix/spawn_int.h (struct __spawn_action): Make the path string
6169 non-const to support deallocation.
6170 * posix/spawn_faction_addopen.c
6171 (posix_spawn_file_actions_addopen): Make a copy of the pathname.
6172 * posix/spawn_faction_destroy.c
6173 (posix_spawn_file_actions_destroy): Adjust comment. Deallocate
6174 path in all spawn_do_open actions.
6175 * posix/tst-spawn.c (do_test): Exercise the copy operation in
6176 posix_spawn_file_actions_addopen.
6177
c3a2ebe1
CM
61782014-06-11 Chris Metcalf <cmetcalf@tilera.com>
6179
6180 * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
6181 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
6182 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
6183 conditional code always true.
6184 (__libc_vfork): New alias.
6185
9503784a
RM
61862014-06-11 Roland McGrath <roland@hack.frob.com>
6187
c9cab3d2
RM
6188 * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
6189 * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
6190
d3996c79
RM
6191 * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
6192
ba5ec611
RM
6193 * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
6194 * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
6195
f12b4814
RM
6196 * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
6197 * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
6198
9503784a
RM
6199 * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
6200 * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
6201
e23d3d26
VR
62022014-06-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
6203
6204 * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
6205 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
6206 multiarch strcmp for PPC64.
6207 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
6208 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
6209 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
6210 multiarch optimizations.
6211 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
6212 (__libc_ifunc_impl_list): Likewise.
6213
42b1161e
SP
62142014-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
6215
6216 * benchtests/scripts/validate_benchout.py: New script.
6217 * benchtests/Makefile (bench-func): Call it.
6218 * benchtests/scripts/benchout.schema.json: New file.
6219
2d0fc4dc
CM
62202014-06-10 Chris Metcalf <cmetcalf@tilera.com>
6221
4a594c34
AZ
6222 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
6223 * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
6224 * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
6225 * sysdeps/tile/nptl/bits/semaphore.h: ... here.
6226 * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
6227 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
6228 * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
6229 * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
6230 * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
6231 * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
6232 * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
6233 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
6234 * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
6235 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
6236 * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
6237 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
6238 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
2d0fc4dc 6239 Moved ...
4a594c34 6240 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
2d0fc4dc 6241 ... here.
4a594c34 6242 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
2d0fc4dc 6243 Moved ...
4a594c34
AZ
6244 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
6245 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
2d0fc4dc 6246 Moved ...
4a594c34 6247 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
2d0fc4dc 6248 ... here.
4a594c34 6249 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
2d0fc4dc 6250 Moved ...
4a594c34 6251 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
2d0fc4dc 6252 ... here.
4a594c34 6253 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
2d0fc4dc 6254 Moved ...
4a594c34
AZ
6255 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
6256 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
2d0fc4dc 6257 Moved ...
4a594c34 6258 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
2d0fc4dc 6259 ... here.
4a594c34 6260 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
2d0fc4dc 6261 Moved ...
4a594c34 6262 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
2d0fc4dc 6263 ... here.
4a594c34 6264 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
2d0fc4dc 6265 Moved ...
4a594c34
AZ
6266 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
6267 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
2d0fc4dc 6268 Moved ...
4a594c34 6269 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
2d0fc4dc 6270 ... here.
4a594c34 6271 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
2d0fc4dc 6272 Moved ...
4a594c34 6273 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
2d0fc4dc 6274 ... here.
4a594c34 6275 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
2d0fc4dc 6276 Moved ...
4a594c34 6277 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
2d0fc4dc 6278 ... here.
4a594c34 6279 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
2d0fc4dc 6280 Moved ...
4a594c34
AZ
6281 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
6282 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
2d0fc4dc 6283 Moved ...
4a594c34 6284 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
2d0fc4dc 6285 ... here.
4a594c34 6286 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
2d0fc4dc 6287 Moved ...
4a594c34 6288 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
2d0fc4dc 6289 ... here.
4a594c34 6290 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
2d0fc4dc 6291 Moved ...
4a594c34 6292 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
2d0fc4dc 6293 ... here.
4a594c34 6294 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
2d0fc4dc 6295 Moved ...
4a594c34
AZ
6296 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
6297 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
2d0fc4dc 6298 Moved ...
4a594c34 6299 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
2d0fc4dc 6300 ... here.
4a594c34 6301 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
2d0fc4dc 6302 Moved ...
4a594c34 6303 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
2d0fc4dc 6304 ... here.
4a594c34 6305 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
2d0fc4dc 6306 Moved ...
4a594c34
AZ
6307 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
6308 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
2d0fc4dc 6309 Moved ...
4a594c34 6310 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
2d0fc4dc 6311 ... here.
4a594c34 6312 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
2d0fc4dc 6313 Moved ...
4a594c34
AZ
6314 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
6315 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
2d0fc4dc 6316 Moved ...
4a594c34
AZ
6317 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
6318 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
2d0fc4dc 6319 Moved ...
4a594c34 6320 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
2d0fc4dc 6321 ... here.
4a594c34 6322 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
2d0fc4dc 6323 Moved ...
4a594c34 6324 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
2d0fc4dc 6325 ... here.
4a594c34 6326 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
2d0fc4dc 6327 Moved ...
4a594c34 6328 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
2d0fc4dc 6329 ... here.
4a594c34 6330 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
2d0fc4dc 6331 Moved ...
4a594c34
AZ
6332 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
6333 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
2d0fc4dc 6334 Moved ...
4a594c34 6335 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
2d0fc4dc 6336 ... here.
4a594c34 6337 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
2d0fc4dc 6338 Moved ...
4a594c34 6339 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
2d0fc4dc 6340 ... here.
4a594c34
AZ
6341 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
6342 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
6343 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
6344 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
6345 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
2d0fc4dc 6346 Moved ...
4a594c34 6347 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
2d0fc4dc 6348 ... here.
4a594c34
AZ
6349 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
6350 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
6351 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
6352 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
6353 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
6354 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
6355 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
6356 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
6357 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
6358 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
6359 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
6360 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
6361 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
2d0fc4dc 6362 Moved ...
4a594c34
AZ
6363 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
6364 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
2d0fc4dc 6365 Moved ...
4a594c34
AZ
6366 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
6367 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
6368 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
6369 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
2d0fc4dc 6370 Moved ...
4a594c34
AZ
6371 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
6372 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
6373 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
6374 * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
6375 * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
6376 * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
6377 * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
2d0fc4dc 6378
0570cfed
W
63792014-06-10 Wilco <wdijkstr@arm.com>
6380
6381 * math/test-fenv-return.c: New file.
6382 * math/Makefile: Add new test test-fenv-return.
6383
f8ba1b56
JM
63842014-06-10 Joseph Myers <joseph@codesourcery.com>
6385
6386 [BZ #17042]
6387 * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
6388 when x - 1 is zero.
6389 * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
6390 * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
6391 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
6392 0.0L for an argument of 1.0L.
6393 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
6394 Likewise.
6395 * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
6396 value when x - 1 is zero.
6397 * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
6398 * sysdeps/i386/fpu/libm-test-ulps: Update.
6399 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6400
2c3520d9
BO
64012014-06-09 Bernard Ogden <bernie.ogden@linaro.org>
6402
6403 [BZ #15119]
6404 * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
6405
acaa4d24
RM
64062014-06-09 Roland McGrath <roland@hack.frob.com>
6407
6408 * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
6409 * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
6410
962b744d
RM
64112014-06-09 Roland McGrath <roland@hack.frob.com>
6412
d752f0cc
RM
6413 * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
6414 * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
6415
34eda6d1
RM
6416 * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
6417 * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
6418
50f0a637
RM
6419 * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
6420 * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
6421
08f41f04
RM
6422 * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
6423 * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
6424
962b744d
RM
6425 * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
6426 if not already defined.
6427 (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
6428 * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
6429 * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
6430 (TLS_INIT_TP): Use it.
6431 (TLS_DEFINE_INIT_TP): New macro.
6432 * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
6433
09f19b05
JM
64342014-06-09 Joseph Myers <joseph@codesourcery.com>
6435
6436 * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
6437 constant.
6438 [POSIX] (IXANY): Likewise.
6439 [POSIX] (OLCUC): Likewise.
6440 [POSIX || POSIX2008] (CBAUD): Do not allow.
6441 [POSIX || POSIX2008] (DEFECHO): Likewise.
6442 [POSIX || POSIX2008] (ECHOCTL): Likewise.
6443 [POSIX || POSIX2008] (ECHOKE): Likewise.
6444 [POSIX || POSIX2008] (ECHOPRT): Likewise.
6445 [POSIX || POSIX2008] (EXTA): Likewise.
6446 [POSIX || POSIX2008] (EXTB): Likewise.
6447 [POSIX || POSIX2008] (FLUSHO): Likewise.
6448 [POSIX || POSIX2008] (LOBLK): Likewise.
6449 [POSIX || POSIX2008] (PENDIN): Likewise.
6450 [POSIX || POSIX2008] (SWTCH): Likewise.
6451 [POSIX || POSIX2008] (VDISCARD): Likewise.
6452 [POSIX || POSIX2008] (VDSUSP): Likewise.
6453 [POSIX || POSIX2008] (VLNEXT): Likewise.
6454 [POSIX || POSIX2008] (VREPRINT): Likewise.
6455 [POSIX || POSIX2008] (VSTATUS): Likewise.
6456 [POSIX || POSIX2008] (VWERASE): Likewise.
6457 (B*): Change to B[0123456789]*.
6458 * conform/data/time.h-data [POSIX || UNIX98]
6459 (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
6460 [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
6461 [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
6462 [POSIX] (tm_*): Do not allow.
6463
686554bf
JM
64642014-06-07 Joseph Myers <joseph@codesourcery.com>
6465
6466 * Makefile (install): Don't set LANGUAGE.
6467 * Makefile.in (install): Likewise.
6468 * assert/Makefile (test-assert-ENV): Remove variable.
6469 (test-assert-perr-ENV): Likewise.
6470 * elf/Makefile (neededtest4-ENV): Likewise.
6471 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
6472 [$(cross-compiling) = no]: Don't set LANGUAGE.
6473 * io/ftwtest-sh (LANG): Remove variable.
6474 * libio/Makefile (tst-widetext-ENV): Likewise.
6475 * manual/install.texi (Running make install): Don't refer to
6476 environment settings for make install.
6477 * INSTALL: Regenerated.
6478 * nptl/tst-tls6.sh: Don't set LANG.
6479 * posix/globtest.sh (LANG): Remove variable.
6480 * string/Makefile (tester-ENV): Likewise.
6481 (inl-tester-ENV): Likewise.
6482 (noinl-tester-ENV): Likewise.
6483 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
6484 [$(cross-compiling) = no]: Don't set LANGUAGE.
6485 * timezone/Makefile (build-testdata): Use $(built-program-cmd)
6486 without explicit environment settings.
6487
68e6b6b1
RM
64882014-06-06 Roland McGrath <roland@hack.frob.com>
6489
6490 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
6491 * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
6492 * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
6493 * sysdeps/sh/nptl/bits/semaphore.h: ... here.
6494
4d3ae034
CM
64952014-06-06 Chris Metcalf <cmetcalf@tilera.com>
6496
6497 * crypt/crypt-private.h [DOS]: Add some includes taken from the
6498 other files in the crypt directory.
6499 * crypt/crypt.c: Remove duplicate includes.
6500 * crypt/crypt-entry.c: Likewise.
6501 * crypt/crypt_util.c: Likewise.
6502
8540f6d2
JM
65032014-06-06 Joseph Myers <joseph@codesourcery.com>
6504
6505 * Makeconfig (run-program-env): New variable.
6506 (run-program-prefix-before-env): Likewise.
6507 (run-program-prefix-after-env): Likewise.
6508 (run-program-prefix): Define in terms of new variables.
6509 (built-program-cmd-before-env): New variable.
6510 (built-program-cmd-after-env): Likewise.
6511 (built-program-cmd): Define in terms of new variables.
6512 (test-program-prefix-before-env): New variable.
6513 (test-program-prefix-after-env): Likewise.
6514 (test-program-prefix): Define in terms of new variables.
6515 (test-program-cmd-before-env): New variable.
6516 (test-program-cmd-after-env): Likewise.
6517 (test-program-cmd): Define in terms of new variables.
6518 * Rules (make-test-out): Use $(run-program-env).
6519 * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
6520 (help): Do not mention environment variables. Mention
6521 --timeoutfactor option.
6522 (timeoutfactor): New variable.
6523 (blacklist_exports): Remove function.
6524 (exports): Remove variable.
6525 (command): Do not include ${exports}.
6526 * manual/install.texi (Configuring and compiling): Do not mention
6527 test wrappers preserving environment variables. Mention that last
6528 assignment to a variable must take precedence.
6529 * INSTALL: Regenerated.
6530 * benchtests/Makefile (run-bench): Use $(run-program-env).
6531 * catgets/Makefile ($(objpfx)test1.cat): Use
6532 $(built-program-cmd-before-env), $(run-program-env) and
6533 $(built-program-cmd-after-env).
6534 ($(objpfx)test2.cat): Do not specify environment variables
6535 explicitly.
6536 ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
6537 $(run-program-env) and $(built-program-cmd-after-env).
6538 ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
6539 $(run-program-env) and $(test-program-cmd-after-env).
6540 ($(objpfx)sample.SJIS.cat): Do not specify environment variables
6541 explicitly.
6542 * catgets/test-gencat.sh: Use test_program_cmd_before_env,
6543 run_program_env and test_program_cmd_after_env arguments.
6544 * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
6545 * elf/tst-pathopt.sh: Use run_program_env argument.
6546 * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
6547 $(test-wrapper-env) and $(run-program-env).
6548 * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
6549 run_program_env arguments.
6550 * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
6551 * intl/Makefile ($(objpfx)tst-gettext.out): Use
6552 $(test-program-prefix-before-env), $(run-program-env) and
6553 $(test-program-prefix-after-env).
6554 ($(objpfx)tst-gettext2.out): Likewise.
6555 * intl/tst-gettext.sh: Use test_program_prefix_before_env,
6556 run_program_env and test_program_prefix_after_env arguments.
6557 * intl/tst-gettext2.sh: Likewise.
6558 * intl/tst-gettext4.sh: Do not set environment variables
6559 explicitly.
6560 * intl/tst-gettext6.sh: Likewise.
6561 * intl/tst-translit.sh: Likewise.
6562 * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
6563 $(test-program-prefix-before-env), $(run-program-env) and
6564 $(test-program-prefix-after-env).
6565 * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
6566 run_program_env and test_program_prefix_after_env arguments.
6567 * math/Makefile (run-regen-ulps): Use $(run-program-env).
6568 * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
6569 * nptl/tst-tls6.sh: Use run_program_env argument. Set LANG=C
6570 explicitly with each use of ${test_wrapper_env}.
6571 * posix/Makefile ($(objpfx)wordexp-tst.out): Use
6572 $(test-program-prefix-before-env), $(run-program-env) and
6573 $(test-program-prefix-after-env).
6574 * posix/tst-getconf.sh: Do not set environment variables
6575 explicitly.
6576 * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
6577 run_program_env and test_program_prefix_after_env arguments.
6578 * stdio-common/tst-printf.sh: Do not set environment variables
6579 explicitly.
6580 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
6581 $(test-program-prefix-before-env), $(run-program-env) and
6582 $(test-program-prefix-after-env).
6583 * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
6584 run_program_env and test_program_prefix_after_env arguments.
6585 Split $test calls into $test_pre and $test.
6586 * timezone/Makefile (build-testdata): Use
6587 $(built-program-cmd-before-env), $(run-program-env) and
6588 $(built-program-cmd-after-env).
6589
ed36bfa1
AZ
65902014-06-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6591
6592 * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
6593 strlen for non SHARED builds.
6594
fc75bf46
SP
65952014-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
6596
6597 * nptl/allocatestack.c (check_list): Inlined function...
6598 (__reclaim_stacks): ... here.
6599
d89b3d80
OB
66002014-06-05 Ondřej Bílka <neleai@seznam.cz>
6601
6602 [BZ #15698]
6603 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
6604 memory overrun.
6605
2bf18041
JM
66062014-06-05 Joseph Myers <joseph@codesourcery.com>
6607
6608 * Rules (make-test-out): Include
6609 LOCPATH=$(common-objpfx)localedata in default environment.
6610 * debug/Makefile (tst-chk1-ENV): Remove variable.
6611 (tst-chk2-ENV): Likewise.
6612 (tst-chk3-ENV): Likewise.
6613 (tst-chk4-ENV): Likewise.
6614 (tst-chk5-ENV): Likewise.
6615 (tst-chk6-ENV): Likewise.
6616 (tst-lfschk1-ENV): Likewise.
6617 (tst-lfschk2-ENV): Likewise.
6618 (tst-lfschk3-ENV): Likewise.
6619 (tst-lfschk4-ENV): Likewise.
6620 (tst-lfschk5-ENV): Likewise.
6621 (tst-lfschk6-ENV): Likewise.
6622 * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
6623 (tst-iconv7-ENV): Likewise.
6624 * intl/Makefile (LOCPATH-ENV): Likewise.
6625 (tst-codeset-ENV): Likewise.
6626 (tst-gettext3-ENV): Likewise.
6627 (tst-gettext5-ENV): Likewise.
6628 * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
6629 (tst-fopenloc-ENV): Likewise.
6630 (tst-fgetws-ENV): Remove variable.
6631 (tst-ungetwc1-ENV): Likewise.
6632 (tst-ungetwc2-ENV): Likewise.
6633 (bug-ungetwc2-ENV): Likewise.
6634 (tst-swscanf-ENV): Likewise.
6635 (bug-ftell-ENV): Likewise.
6636 (tst-fgetwc-ENV): Likewise.
6637 (tst-fseek-ENV): Likewise.
6638 (tst-ftell-partial-wide-ENV): Likewise.
6639 (tst-ftell-active-handler-ENV): Likewise.
6640 (tst-ftell-append-ENV): Likewise.
6641 * posix/Makefile (tst-fnmatch-ENV): Likewise.
6642 (tst-regexloc-ENV): Likewise.
6643 (bug-regex1-ENV): Likewise.
6644 (tst-regex-ENV): Likewise.
6645 (tst-regex2-ENV): Likewise.
6646 (bug-regex5-ENV): Likewise.
6647 (bug-regex6-ENV): Likewise.
6648 (bug-regex17-ENV): Likewise.
6649 (bug-regex18-ENV): Likewise.
6650 (bug-regex19-ENV): Likewise.
6651 (bug-regex20-ENV): Likewise.
6652 (bug-regex22-ENV): Likewise.
6653 (bug-regex23-ENV): Likewise.
6654 (bug-regex25-ENV): Likewise.
6655 (bug-regex26-ENV): Likewise.
6656 (bug-regex30-ENV): Likewise.
6657 (bug-regex32-ENV): Likewise.
6658 (bug-regex33-ENV): Likewise.
6659 (bug-regex34-ENV): Likewise.
6660 (bug-regex35-ENV): Likewise.
6661 (tst-rxspencer-ENV): Likewise.
6662 (tst-rxspencer-no-utf8-ENV): Likewise.
6663 * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
6664 (tst-sscanf-ENV): Likewise.
6665 (tst-swprintf-ENV): Likewise.
6666 (tst-swscanf-ENV): Likewise.
6667 (test-vfprintf-ENV): Likewise.
6668 (scanf13-ENV): Likewise.
6669 (bug14-ENV): Likewise.
6670 (tst-grouping-ENV): Likewise.
6671 * stdlib/Makefile (tst-strtod-ENV): Likewise.
6672 (tst-strtod3-ENV): Likewise.
6673 (tst-strtod4-ENV): Likewise.
6674 (tst-strtod5-ENV): Likewise.
6675 (testmb2-ENV): Likewise./
6676 * string/Makefile (tst-strxfrm-ENV): Likewise.
6677 (tst-strxfrm2-ENV): Likewise.
6678 (bug-strcoll1-ENV): Likewise.
6679 (test-strcasecmp-ENV): Likewise.
6680 (test-strncasecmp-ENV): Likewise.
6681 * time/Makefile (tst-strptime-ENV): Likewise.
6682 (tst-ftime_l-ENV): Likewise.
6683 * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
6684 (tst-mbrtowc-ENV): Likewise.
6685 (tst-wcrtomb-ENV): Likewise.
6686 (tst-mbrtowc2-ENV): Likewise.
6687 (tst-c16c32-1-ENV): Likewise.
6688 (tst-mbsnrtowcs-ENV): Likewise.
6689
cd1fb604
OB
66902014-06-05 Ondřej Bílka <neleai@seznam.cz>
6691
6692 * manual/resource.texi (How to get information about the memory
6693 subsystem?): Fix typo.
6694 Reported by Peon de la Parra Ivan <peon@keba.com>
6695
b42eca7d
GY
66962014-06-03 Guo Yixuan <culu.gyx@gmail.com>
6697
6698 [BZ #16882]
6699 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
6700 (pthread_spin_lock): Branch out of spin loop to proper location.
6701 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
6702 (pthread_spin_lock): Likewise.
6703
902b71f9
DM
6704 * nptl/tst-spin4.c: New test.
6705 * nptl/Makefile (tests): Add tst-spin4.
6706
f9d2d032
AS
67072014-06-03 Andreas Schwab <schwab@suse.de>
6708
6709 [BZ #15946]
6710 * resolv/res_send.c (send_dg): Reload file descriptor after
6711 calling reopen.
6712
cf7bfd28
SL
67132014-06-03 Stefan Liebler <stli@linux.vnet.ibm.com>
6714
6715 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
6716
111cc714
RH
67172014-06-03 Richard Henderson <rth@redhat.com>
6718
89b4bd6b
RH
6719 * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
6720 * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
6721 * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
6722 SAVE_PID and RESTORE_PID blocks from pt-vfork.S. Map 0 to INT_MIN
6723 in the SAVE_PID block.
6724 (__libc_vfork): New alias.
71840409 6725 * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
89b4bd6b 6726
111cc714
RH
6727 * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
6728 child in registers, not on the stack. Remove RESET_PID conditionals.
6729 * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
6730
ccc39911
MS
67312014-06-03 Marcus Shawcroft <marcus.shawcroft@arm.com>
6732
6733 * sysdeps/aarch64/libm-test-ulps: Regenerate.
6734
693096cc
W
67352014-06-03 Wilco <wdijkstr@arm.com>
6736
6737 * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
6738 (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
6739 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
6740 Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
6741 * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
6742 Likewise.
6743
0b4366bc
W
67442014-06-03 Wilco <wdijkstr@arm.com>
6745
6746 * sysdeps/aarch64/fpu/math_private.h
6747 (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
6748 (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
6749 (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
6750 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
6751 Fix declarations.
6752
8747cd03
KS
67532014-06-03 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
6754
6755 * crypt/crypt-private.h: Include ufc-crypt.h.
6756 (__b64_from_24bit): Declare extern.
6757 * crypt/crypt_util.c(__b64_from_24bit): New function.
6758 (b64t): New static const variable.
6759 * crypt/md5-crypt.c (b64_from_24bit): Remove function.
6760 (b64t): Remove variable.
6761 (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
6762 * crypt/sha256-crypt.c: Include crypt-private.h.
6763 (b64t): Remove variable.
6764 (__sha256_crypt_r): Remove b64_from_24bit and replace
6765 with __b64_from_24bit.
6766 * crypt/sha512-crypt.c: Likewise.
6767
d936d379
RM
67682014-06-02 Roland McGrath <roland@hack.frob.com>
6769
6770 * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
6771 * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
6772 Label the code __libc_vfork rather than __vfork.
6773 [!NOT_IN_libc] (vfork): Define as weak alias.
6774 [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
6775 * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
6776 * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
6777
9fa76613
SP
67782014-06-02 Siddhesh Poyarekar <siddhesh@redhat.com>
6779
6780 * malloc/malloc.c (malloc_info): Fix format specifier for
6781 n_mmaps.
6782
a88dadbe
W
67832014-06-02 Wilco <wdijkstr@arm.com>
6784
6785 * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
6786 FPCR write.
6787
c95b3011
W
67882014-06-02 Wilco <wdijkstr@arm.com>
6789
6790 [BZ #17009]
6791 * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
6792 Rewrite to reduce FPCR/FPSR accesses.
6793
6b4d7a90
DM
67942014-06-01 David S. Miller <davem@davemloft.net>
6795
6796 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6797
30f3d07c
DM
67982014-05-31 David S. Miller <davem@davemloft.net>
6799
6800 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
6801 to occur in round to nearest mode when |x| >= 2.0
6802
74f31c18
RH
68032014-05-30 Richard Henderson <rth@twiddle.net>
6804
f0712b54
RH
6805 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
6806 (PSEUDO_RET_NOERRNO): Remove.
6807 (ret): Don't redefine.
6808 (ret_NOERRNO): Define in terms of ret.
6809 (ret_ERRVAL): Likewise.
6810
74f31c18
RH
6811 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
6812 use of PSEUDO_RET; perform the error check directly.
6813
30477995
MM
68142014-05-30 Marko Myllynen <myllynen@redhat.com>
6815
6816 * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
6817 with __int128_t.
6818
62a58816
SP
68192014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
6820
6821 * malloc/malloc (malloc_info): Fix formatting.
6822
4d653a59
SP
68232014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
6824 Roland McGrath <roland@hack.frob.com>
6825
6826 * malloc/malloc (malloc_info): Also print mmapped statistics.
6827
5190c17f
RM
68282014-05-30 Roland McGrath <roland@hack.frob.com>
6829
6830 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
6831 * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
6832
987c0269
OB
68332014-05-30 Ondřej Bílka <neleai@seznam.cz>
6834
6835 * malloc/malloc.c (malloc_info): Inline mi_arena.
6836
af4e8ef9
RH
68372014-05-29 Richard Henderson <rth@twiddle.net>
6838
1670e207
RH
6839 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
6840 Remove comma before expanding ASM_ARGS_##nr.
6841 (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
6842 Make _x0 a strict output; make _x8 a strict input; adjust expansion
6843 of ASM_ARGS_##nr.
6844 (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
6845 (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
6846 (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
6847 (ASM_ARGS_1): Add leading comma.
6848
11a28aee
RH
6849 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
6850 (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
6851 to __errno_location.
6852 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
6853 Remove the expected plt for __errno_location.
6854
a17e5ffb 6855 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
11a28aee 6856 [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
a17e5ffb
RH
6857 call to __read_tp.
6858
b5be4597
RH
6859 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
6860 Always allocate 64 bytes of stack frame. Use ldp/stp to create
6861 it and break it down.
6862 (DOCARGS_0, DOCARGS_1): Do nothing.
6863 (DOCARGS_2): Update to store into the new stack frame.
6864 (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
6865 (UNDOCARGS_1): Update to restore from the new stack frame.
6866 (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
6867 (UNDOCARGS_5, UNDOCARGS_6): Likewise.
6868
645d44ab
RH
6869 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
6870 (SINGLE_THREAD_P): New parameter for result regno.
6871 (PSEUDO): Update to match; use cbz instead of beq.
6872
a8b4f04a
RH
6873 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
6874 Use ENTRY to define the _nocancel entry point. Share the syscall
6875 and syscall error check paths with the cancel path.
6876 (PSEUDO_END): New.
6877
af4e8ef9
RH
6878 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
6879 whitespace; tabs before and after asm mnemonics.
6880
26b0d2e1
EW
68812014-05-29 Eric Wong <normalperson@yhbt.net>
6882
6883 [BZ #15132]
6884 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
6885 Call fstat64 or stat64 internally, depending on arguments passed.
6886 Replace stat buffer argument with file descriptor argument.
6887 (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
6888 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
6889 Pass fd to __internal_statvfs instead of calling fstat64.
6890 * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
6891 Pass fd to __internal_statvfs64 instead of calling fstat64.
6892 * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
6893 Pass -1 to __internal_statvfs instead of calling stat64.
6894 * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
6895 Pass -1 to __internal_statvfs64 instead of calling stat64.
6896
1efe2bd9
RM
68972014-05-28 Roland McGrath <roland@hack.frob.com>
6898
0d3b7a19
RM
6899 * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
6900 that was previously under [RESET_PID].
6901 * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
6902
1efe2bd9
RM
6903 * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
6904 * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
6905
a6bea3ca
RM
69062014-05-27 Roland McGrath <roland@hack.frob.com>
6907
30b6629e
RM
6908 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
6909
a6bea3ca
RM
6910 * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
6911 * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
6912
3dfb9a5c
OB
69132014-05-27 Ondřej Bílka <neleai@seznam.cz>
6914
6915 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
6916
774f9285
AS
69172014-05-27 Andreas Schwab <schwab@suse.de>
6918
6919 * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
6920 TLS_INIT_TP macro.
6921 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
6922 * elf/rtld.c (init_tls, dl_main): Likewise.
6923 * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
6924 * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
6925 * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
6926 * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
6927 * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
6928 * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
6929 * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
6930 * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
6931 * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
6932 * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
6933 * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
6934 * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
6935 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
6936 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
6937 * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
6938 * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
6939 * sysdeps/generic/tls.h: Update description.
6940
36ffe739
WN
69412014-05-27 Will Newton <will.newton@linaro.org>
6942
6943 [BZ #16990]
6944 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
6945 and restore r2 rather than just restoring.
6946
2482ae43
SP
69472014-05-27 Siddhesh Poyarekar <siddhesh@redhat.com>
6948
6949 [BZ #16724]
6950 * libio/tst-ftell-append.c: New test case.
6951 * libio/Makefile (tests): Add test case.
6952 * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
6953 append mode.
6954 * libio/wfileops.c (do_ftell_wide): Likewise.
6955
3d1024e8
AZ
69562014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6957
bab90016
AZ
6958 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6959
c7a8d667
AZ
6960 * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
6961 ...
6962 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
6963 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
6964 * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
6965 * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
6966 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
6967 * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
6968 * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
6969 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
6970 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
6971 Moved ...
6972 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
6973 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
6974 Moved ...
6975 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
6976 * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
6977 * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
6978 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
6979 * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
6980 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
6981 ...
6982 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
6983 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
6984 Moved ...
6985 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
6986 here.
6987 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
6988 ...
6989 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
6990 * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
6991 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
6992
daee7851
AZ
6993 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
6994 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
6995 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
6996 * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
6997
50a40819
AZ
6998 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
6999 merge into ...
7000 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
7001 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
7002 ...
7003 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
7004 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
7005 ...
7006 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
7007 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
7008 Moved ...
7009 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
7010 here.
7011 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
7012 Moved ...
7013 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
7014 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
7015 Moved ...
7016 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
7017
8464c2a1
AZ
7018 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
7019 conditional [RESET_PID].
7020 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
7021 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
7022 removed.
7023 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
7024 removed.
7025
3d1024e8
AZ
7026 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
7027 <tcb-offsets.h>.
7028 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
7029 (__libc_vfork): New strong alias.
7030 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
7031 removed.
7032 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
7033 Removed.
7034
7035 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
7036 <tcb-offsets.h>.
7037 (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
7038 (__libc_vfork): New strong alias.
7039 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
7040 removed.
7041 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
7042 removed.
7043
fdfd175d
CD
70442014-05-26 Carlos O'Donell <carlos@redhat.com>
7045
7046 * malloc/malloc.c (mi_arena): New function.
7047 (malloc_info): Remove nested function mi_arena. Call non-nosted
7048 function mi_arena.
7049
d298c416
AZ
70502014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7051
7052 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
7053 by insrwi.
7054 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
7055 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
7056 * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
7057 * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
7058 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
7059 * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
7060 * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
7061
b60ea6ff
AS
70622014-05-26 Andreas Schwab <schwab@suse.de>
7063
7064 [BZ #16984]
7065 * locale/programs/repertoire.c (repertoire_read): Add slash
7066 between I18NPATH element and file name.
7067 * locale/programs/locfile.c (locfile_read): Likewise.
7068
67365926
SL
70692014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
7070
7071 * nptl/pthread_mutexattr_settype.c
7072 (__pthread_mutexattr_settype):
7073 Disable lock elision for PTHREAD_MUTEX_NORMAL.
7074
f8bdf1f0
SL
70752014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
7076
7077 * nptl/tst-mutex5 (do_test):
7078 Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
7079
15eaf6ff
SP
70802014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
7081
7082 * benchtests/README: Document 'init' directive.
7083 * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
7084 BENCH_INIT.
7085 * scripts/bench.py (gen_source): Define BENCH_INIT macro.
7086 (parse_file): Recognize 'init' directive.
7087
75f11331
KM
70882014-05-26 Kyle McMartin <kyle@redhat.com>
7089
7090 [BZ #16796]
7091 * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
7092 alignment of struct pthread.
7093
c3ec475c
SP
70942014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
7095
7096 [BZ #16878]
7097 * nscd/netgroupcache.c (addgetnetgrentX): Look for
7098 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
7099 * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
7100 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
7101
82aab97c
RH
71022014-05-25 Richard Henderson <rth@twiddle.net>
7103
aa2f176d
RH
7104 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
7105 (SINGLE_THREAD_P_PIC): Remove.
7106 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
7107 (SINGLE_THREAD_P_PIC): Remove.
7108
ca3cfa40
RH
7109 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
7110 branch to syscall error ...
7111 (PSEUDO): ... here.
7112 [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
7113 from __local_syscall_error to .Lsyscall_error.
7114 [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
7115 (SYSCALL_ERROR): Update label name.
7116
6e6c2d01
RH
7117 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
7118 Do not use DOARGS/UNDOARGS.
7119 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
7120 (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
7121 (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
7122 (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
7123 (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
7124
c69abcee
RH
7125 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
7126 block comment.
7127
82aab97c
RH
7128 * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
7129 define if !NOT_IN_libc.
7130 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
7131 define with non-default symbol versions.
7132
8820e3ac
RH
71332014-05-23 Richard Henderson <rth@twiddle.net>
7134
900e445f
RH
7135 * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
7136 (vfork, __vfork): Define via compat_symbol.
7137
8820e3ac
RH
7138 * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
7139 [!HAVE_IFUNC] (vfork_compat): Remove.
7140 [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
7141
e59252a5
JM
71422014-05-23 Joseph Myers <joseph@codesourcery.com>
7143
7144 [BZ #16978]
7145 * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
7146 * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
7147 variable.
7148
132c7f5f
RH
71492014-05-23 Richard Henderson <rth@twiddle.net>
7150
bc89e962
RH
7151 * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
7152 * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
7153 * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
7154 * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
7155
7156 * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
7157 * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
7158 * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
7159 * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
7160 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
7161 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
7162 * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
7163 * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
7164 * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
7165 * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
7166 * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
7167 * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
7168 * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
7169 * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
7170 * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
7171 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
7172 * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
7173 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
7174 * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
7175 * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
7176 * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
7177 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
7178 * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
7179 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
7180 * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
7181 * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
7182 * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
7183 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
7184 * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
7185 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
7186 * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
7187 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
7188 * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
7189 * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
7190 * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
7191 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
7192 * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
7193 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
7194 * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
7195 * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
7196 * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
7197 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
7198 * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
7199 * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
7200 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
7201 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
7202 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
7203 * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
7204 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
7205 * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
7206 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
7207 * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
7208 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
7209 * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
7210 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
7211 * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
7212
e2fa4bc2
RH
7213 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
7214 * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
7215 * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here. Restore PID
7216 before exiting on error.
7217 (__libc_vfork): New strong alias.
7218 * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
7219 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
7220
279b24e2
RH
7221 * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
7222 that was previously under [RESET_PID].
7223 * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
7224
132c7f5f
RH
7225 * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
7226
b72592e7
JM
72272014-05-23 Joseph Myers <joseph@codesourcery.com>
7228
7229 [BZ #16977]
7230 * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
7231 value when x - 1 is zero.
7232 * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
7233 * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
7234 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
7235 0.0L for an argument of 1.0L.
7236 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
7237 Likewise.
7238 * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
7239 value when x - 1 is zero.
7240 * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
7241 * sysdeps/i386/fpu/libm-test-ulps: Update.
7242 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7243
2302d679
RV
72442014-05-23 Rasmus Villemoes <rv@rasmusvillemoes.dk>
7245
7246 * manual/filesys.texi (Scanning Directory Content): Fix prototype of
7247 alphasort and versionsort.
7248
32999d63
AZ
72492014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7250
7251 * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
7252 macro.
7253 [copysignf]: Likewise.
7254
019324d0
SP
72552014-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
7256
7257 * crypt/md5-crypt.c: Fix formatting.
7258
34fff5c2
KS
72592014-05-22 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
7260
7261 * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
7262 (b64_from_24bit): New function.
7263
3d2badac
AZ
72642014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7265
7266 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
7267 libc_hidden_builtin_def to ifunc.
7268 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
7269 [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
7270
f7bb179f 72712014-05-21 Roland McGrath <roland@hack.frob.com>
df54acbb
RM
7272
7273 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
7274 * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
7275
4134b50d
JM
72762014-05-21 Joseph Myers <joseph@codesourcery.com>
7277
bb7d0337
JM
7278 * nscd/Depend (linuxthreads): Remove.
7279 (nptl): Add.
7280 * resolv/Depend (linuxthreads): Remove.
7281 * rt/Depend (linuxthreads): Remove.
7282
4134b50d
JM
7283 * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
7284 (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
7285 $(common-objpfx)elf/.
7286 (link-libc-before-gnulib): Likewise.
7287 (elfobjdir): Remove variable.
7288 * Makefile (install): Use $(elf-objpfx) instead of
7289 $(common-objpfx)elf/.
7290 * Makerules (link-libc-args): Use $(elf-objpfx) instead of
7291 $(elfobjdir)/.
7292 (link-libc-deps): Likewise.
7293 ($(common-objpfx)libc.so): Likewise.
7294 ($(common-objpfx)linkobj/libc.so): Likewise.
7295 [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
7296 instead of $(common-objpfx)elf/.
7297 (symbolic-link-list): Likewise.
7298 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
7299 [$(cross-compiling) = no]: Likewise.
7300 * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
7301 $(elfobjdir)/.
7302 (static-gnulib-arch): Likewise.
7303 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
7304 [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
7305 $(common-objpfx)elf/.
7306
3612eb8f
RH
73072014-05-21 Richard Henderson <rth@redhat.com>
7308
a6b3657b
RH
7309 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
7310 (SINGLE_THREAD_P): Use the correct width load. Fold
7311 into the ldr offset.
7312
3612eb8f
RH
7313 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
7314 (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
7315
175cef41
JM
73162014-05-20 Joseph Myers <joseph@codesourcery.com>
7317
7318 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
7319 (libgcc_s_resume): Use __attribute_used__.
7320 * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
7321 Likewise.
7322
e13bccd3
AZ
73232014-05-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7324
7325 * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
7326 optimization when used with float constants.
7327
7c112a38
AZ
7328 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7329
ae75a883
AJ
73302014-05-20 Aurelien Jarno <aurelien@aurel32.net>
7331
7332 [BZ #16915]
7333 * locale/nl_langinfo_l.c: Make direct reference to every
7334 _nl_current_CATEGORY symbol.
7335 * localedata/Makefile (test-srcs): Add tst-langinfo-static.
7336 (tests-static): Add tst-langinfo-static.
7337 (tests-special): Add tst-langinfo-static.out.
7338 ($(objpfx)tst-langinfo.out): Redirect output.
7339 ($(objpfx)tst-langinfo-static.out): New.
7340 * localedata/tst-langinfo.sh: Send output to stdout.
7341 * localedata/tst-langinfo-static.c: New file.
7342
4406c41c
AJ
7343 [BZ #16965]
7344 * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
7345 when the shift amount is modulo the limb size.
7346
4c0a1e63
RH
73472014-05-20 Richard Henderson <rth@redhat.com>
7348
de9d8f20
RH
7349 [BZ #16967]
7350 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
7351 Change type of sa_flags from unsigned int to int.
7352
4c0a1e63
RH
7353 [BZ #16966]
7354 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
57cce706
RH
7355
7356 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
7357
a60339aa
WN
73582014-05-20 Will Newton <will.newton@linaro.org>
7359
7360 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
7361 Test the return value of the system call in the nocancel case.
7362
7d05a816
YR
73632014-05-20 Will Newton <will.newton@linaro.org>
7364 Yvan Roux <yvan.roux@linaro.org>
7365
7366 * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
7367 #include of asm/ptrace.h.
7368 (PTRACE_GET_THREAD_AREA): Remove #undef.
7369 (PTRACE_GETHBPREGS): Likewise.
7370 (PTRACE_SETHBPREGS): Likewise.
7371 (struct user_regs_struct): New structure.
7372 (struct user_fpsimd_struct): New structure.
7373 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
7374 #include of asm/ptrace.h and second #include of sys/user.h.
7375 (PTRACE_GET_THREAD_AREA): Remove #undef.
7376 (PTRACE_GETHBPREGS): Likewise.
7377 (PTRACE_SETHBPREGS): Likewise.
7378 (ELF_NGREG): Use new struct user_regs_struct.
7379 (elf_fpregset_t): Use new struct user_fpsimd_struct.
7380
af121e37
AZ
73812014-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7382
7383 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
7384 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
7385
834caf06
JM
73862014-05-17 Jose E. Marchesi <jose.marchesi@oracle.com>
7387
7388 [BZ #16958]
7389 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
7390 membar to avoid block loads/stores to overlap previous stores.
7391
e184a918
RH
73922014-05-17 Richard Henderson <rth@redhat.com>
7393
7394 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
7395 Create the __##syscall_name##_nocancel entry point.
7396 * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
7397 Remove; let the sysdep-cancel.h code create it.
7398
f56c7a6a
DM
73992014-05-17 David S. Miller <davem@davemloft.net>
7400
7401 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
7402 Protect with __USE_GNU.
7403 (TIOCSET_TEMPT): Likewise.
7404 (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
7405 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
7406 these are already provided in bits/ioctl-types.h
7407
f75616b2
RM
74082014-05-16 Roland McGrath <roland@hack.frob.com>
7409
3edeca86
RM
7410 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
7411 * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
7412
f75616b2
RM
7413 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
7414 Use wait4 regardless of [__NR_waitpid].
7415
deb0f7f6
MR
74162014-05-16 Maciej W. Rozycki <macro@codesourcery.com>
7417
7418 PR libgcc/60166
7419 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
7420 (_FP_NANSIGN_Q): Set the quiet bit.
7421
79520f4b
JM
74222014-05-16 Joseph Myers <joseph@codesourcery.com>
7423
7424 * benchtests/Makefile
7425 ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
7426 not $(common-objpfx)math/libm.so.
7427 ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
7428 $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
7429 * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
7430 $(common-objpfx)dlfcn/libdl.so.
7431 ($(objpfx)tst-audit8): Depend on $(libm), not
7432 $(common-objpfx)math/libm.so.
7433 * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
7434 not $(common-objpfx)dlfcn/libdl.so.
7435 * math/Makefile
7436 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
7437 Depend on $(libm), not $(objpfx)libm.so. Do not condition on
7438 [$(build-shared) = yes].
7439 ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
7440 $(common-objpfx)nptl/libpthread.so.
7441 * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
7442 $(common-objpfx)math/libm.so$(libm.so-version) or
7443 $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
7444 * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
7445 $(common-objpfx)dlfcn/libdl.so.
7446 * setjmp/Makefile (link-libm): Remove variable.
7447 ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
7448 * stdio-common/Makefile (link-libm): Remove variable.
7449 ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
7450 * stdlib/Makefile (link-libm): Remove variable.
7451 ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
7452 ($(objpfx)tst-strtod-round): Likewise.
7453 ($(objpfx)tst-tininess): Likewise.
7454 ($(objpfx)tst-strtod-underflow): Likewise.
7455 ($(objpfx)tst-strtod6): Likewise.
7456 ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
7457 $(libdl), not $(common-objpfx)nptl/libpthread.so and
7458 $(common-objpfx)dlfcn/libdl.so.
7459
026b0fe4
AZ
74602014-05-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7461
7462 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
7463 BSD terminal modes definitions.
7464
def4bcb2
RM
74652014-05-16 Roland McGrath <roland@hack.frob.com>
7466
fe39b021
RM
7467 * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
7468 * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
7469
1d1fc46e 7470 * sysdeps/unix/sysv/linux/arch-fork.h: New file.
def4bcb2
RM
7471 * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
7472 * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
7473 Don't do #include_next.
7474 * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
7475 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
7476 Don't do #include_next.
7477 * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
7478 * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
7479 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
7480 * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
7481
c72399fb
AM
74822014-05-16 Allan McRae <allan@archlinux.org>
7483
d51d659d
AM
7484 * po/sv.po: Update Swedish translation from translation project.
7485
c72399fb
AM
7486 * timezone/Makefile ($(objpfx)tzselect): Use correct variable
7487 in sed expression.
7488
d0583c40
AJ
74892014-05-16 Aurelien Jarno <aurelien@aurel32.net>
7490
7491 [BZ #16917]
7492 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
7493 errno if the TIOCGPTN ioctl fails with an error different than
7494 EINVAL.
7495 * login/tst-ptsname.c: New file.
7496 * login/Makefile (tests): Add tst-ptsname.
7497
d16e6ec7
AJ
7498 [BZ #16943]
7499 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
7500 and prlimit64.
7501
cf26a0cb
SP
75022014-05-15 Siddhesh Poyarekar <siddhesh@redhat.com>
7503
7504 [BZ #16849]
7505 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
7506 herrno to return EAI_AGAIN.
7507
5675da1e
RM
75082014-05-14 Roland McGrath <roland@hack.frob.com>
7509
a5d87b3d
RM
7510 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
7511 * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
7512 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
7513 * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
7514 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
7515 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
7516 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
7517 * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
7518 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
7519 * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
7520 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
7521 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
7522 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
7523 * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
7524 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
7525 * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
7526 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
7527 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
7528 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
7529 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
7530 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
7531 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
7532 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
7533 * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
7534 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
7535 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
7536 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
7537 * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
7538 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
7539 * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
7540 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
7541 * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
7542 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
7543 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
7544 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
7545 Moved ...
7546 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
7547 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
7548 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
7549 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
7550 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
7551 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
7552 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
7553 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
7554 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
7555 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
7556 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
7557 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
7558 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
7559 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
7560 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
7561 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
7562 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
7563 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
7564 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
7565 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
7566 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
7567 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
7568 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
7569 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
7570 * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
7571 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
7572 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
7573 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
7574 Moved ...
7575 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
7576 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
7577 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
7578 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
7579 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
7580 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
7581 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
7582 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
7583 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
7584 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
7585 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
7586 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
7587 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
7588 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
7589 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
7590 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
7591 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
7592 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
7593 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
7594 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
7595 Moved ...
7596 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
7597 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
7598 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
7599
039890a6
RM
7600 * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
7601 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
7602 (libpthread-sysdep_routines): Add elision-related stuff here instead.
7603 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
7604 * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
7605 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
7606 * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
7607 * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
7608 * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
7609 * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
7610 * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
7611 * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
7612 * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
7613 * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
7614 * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
7615 * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
7616 * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
7617 * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
7618 * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
7619 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
7620 * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
7621 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
7622 * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
7623 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
7624 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
7625 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
7626 * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
7627 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
7628 * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
7629 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
7630 * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
7631
65c89320
RM
7632 * sysdeps/unix/sysv/linux/mips/fork.h: New file.
7633 * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
7634
348f8e8c
RM
7635 * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
7636 * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
7637 * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
7638 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
7639 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
7640 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
7641 Moved ...
7642 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
7643 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
7644 Moved ...
7645 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
7646 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
7647 Moved ...
7648 * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
7649 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
7650 Moved ...
7651 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
7652 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
7653 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
7654 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
7655 Moved ...
7656 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
7657 * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
7658 * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
7659 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
7660 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
7661 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
7662 * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
7663 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
7664 Moved ...
7665 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
7666 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
7667 Moved ...
7668 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
7669 ... here.
7670 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
7671 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
7672 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
7673 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
7674 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
7675 Moved ...
7676 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
7677 ... here.
7678 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
7679 Moved ...
7680 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
7681 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
7682 * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
7683 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
7684 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
7685 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
7686 Moved ...
7687 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
7688 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
7689 Moved ...
7690 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
7691 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
7692 Moved ...
7693 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
7694 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
7695 Moved ...
7696 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
7697 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
7698 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
7699 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
7700 Moved ...
7701 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
7702 * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
7703 * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
7704 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
7705 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
7706 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
7707 * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
7708 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
7709 Moved ...
7710 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
7711 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
7712 Moved ...
7713 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
7714 ... here.
7715 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
7716 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
7717 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
7718 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
7719 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
7720 Moved ...
7721 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
7722 ... here.
7723 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
7724 Moved ...
7725 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
7726 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
7727 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
7728 * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
7729 * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
7730 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
7731 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
7732 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
7733 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
7734 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
7735 Moved ...
7736 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
7737 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
7738 Moved ...
7739 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
7740 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
7741 Moved ...
7742 * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
7743 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
7744 Moved ...
7745 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
7746 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
7747 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
7748 * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
7749 * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
7750 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
7751 Moved ...
7752 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
7753 * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
7754 * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
7755 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
7756 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
7757 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
7758 * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
7759 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
7760 Moved ...
7761 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
7762 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
7763 Moved ...
7764 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
7765 ... here.
7766 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
7767 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
7768 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
7769 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
7770 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
7771 Moved ...
7772 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
7773 ... here.
7774 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
7775 Moved ...
7776 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
7777 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
7778 * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
7779 * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
7780 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
7781 * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
7782 * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
7783 * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
7784 * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
7785 * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
7786 * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
7787
5085af05
RM
7788 * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
7789 * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
7790
708f0813
RM
7791 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
7792 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
7793
c96067bc
RM
7794 * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
7795 * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
7796 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
7797 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
7798 * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
7799 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
7800 * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
7801 * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
7802 * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
7803 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
7804 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
7805 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
7806 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
7807 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
7808 * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
7809 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
7810 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
7811 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
7812 Moved ...
7813 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
7814 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
7815 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
7816 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
7817 Moved ...
7818 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
7819 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
7820 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
7821 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
7822 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
7823 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
7824 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
7825 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
7826 Moved ...
7827 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
7828 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
7829 Moved ...
7830 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
7831 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
7832 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
7833 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
7834 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
7835 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
7836 * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
7837 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
7838 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
7839 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
7840 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
7841 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
7842 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
7843 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
7844 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
7845 * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
7846 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
7847
ec136444
RM
7848 * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
7849 * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
7850 * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
7851 * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
7852 * sysdeps/unix/sysv/linux/i386/fork.h: New file.
7853
2fbdf533
RM
7854 * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
7855 * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
7856 * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
7857 * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
7858 * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
7859 * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
7860 * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
7861 * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
7862 * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
7863 * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
7864
4c68138b
RM
7865 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
7866 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
7867
4eaae765
RM
7868 * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
7869 * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
3a51fb60
RM
7870 * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
7871 * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
7872 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
7873 * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
7874 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
7875 * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
7876 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
7877 * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
7878 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
7879 * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
7880 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
7881 * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
7882 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
7883 Update #include.
7884 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
7885 Likewise.
7886 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
7887 Likewise.
7888 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
7889 Likewise.
7890 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
7891 Likewise.
7892 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
7893 Likewise.
7894 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
7895 Likewise.
7896 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
7897 Likewise.
7898 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
7899 Likewise.
7900 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
7901 Likewise.
4ef6befa
RM
7902 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
7903 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
7904 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
7905 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
7906 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
5aa618fb
RM
7907 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
7908 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
7909 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
7910 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
7911 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
7912 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
7913 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
7914 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
7915 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Likewise.
7916 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Likewise.
3a51fb60 7917
941d7dfd
RM
7918 * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
7919 that was previously under [RESET_PID].
7920 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
7921 * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
7922 * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
7923
1b731c35
RM
7924 * sysdeps/i386/nptl/Implies: New file.
7925 * sysdeps/x86_64/nptl/Implies: New file.
7926 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
7927 * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
7928 * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
7929 * sysdeps/x86/nptl/bits/semaphore.h: ... here.
7930
e2787137
RM
7931 * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
7932 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
7933 (__libc_vfork): New strong alias.
7934 * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
7935 * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
7936
7937 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
7938 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
7939 (__libc_vfork): New strong alias.
7940 * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
7941 * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
7942
5675da1e
RM
7943 * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
7944 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
7945 (__libc_vfork): New strong alias.
7946 * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
7947 * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
7948 * nptl/pt-vfork.c: New file.
7949 * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
7950 (libpthread: GLIBC_2.20): New version set (empty).
7951
4f02e2b8
WN
79522014-05-14 Will Newton <will.newton@linaro.org>
7953
7954 * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
7955 rather than #if.
7956
0bf061d3
JM
79572014-05-14 Joseph Myers <joseph@codesourcery.com>
7958
1a84c3d6
JM
7959 [BZ #16564]
7960 * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
7961 arguments with exponent 65 or above.
7962 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
7963 arguments 0x1p113L or above.
7964 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
7965 to arguments 0x1p107L or above.
7966 * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
7967 positive arguments with exponent 65 or above.
7968 * math/auto-libm-test-in: Add more tests of log1p.
7969 * math/auto-libm-test-out: Regenerated.
7970
01dbacd2
JM
7971 [BZ #16928]
7972 * math/s_cacos.c (__cacos): Ensure zero real part of result from
7973 non-finite arguments is +0.
7974 * math/s_cacosf.c (__cacosf): Likewise.
7975 * math/s_cacosl.c (__cacosl): Likewise.
7976 * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
7977 * sysdeps/i386/fpu/libm-test-ulps: Update.
7978 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7979
913d03c8
JM
7980 [BZ #16927]
7981 * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
7982 value.
7983 * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
7984 * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
7985 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
7986 for explicit high bit of mantissa when testing for argument equal
7987 to 1.
7988 * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
7989 * sysdeps/i386/fpu/libm-test-ulps: Update.
7990 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7991
0bf061d3
JM
7992 [BZ #16516]
7993 * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
7994 (__erf): Scale by 16 instead of 8 in potentially underflowing
7995 case. Ensure exception if result actually underflows.
7996 * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
7997 (__erff): Scale by 16 instead of 8 in potentially underflowing
7998 case. Ensure exception if result actually underflows.
7999 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
8000 (efx8): Remove variable.
8001 (__erfl): Scale by 16 instead of 8 in potentially underflowing
8002 case. Ensure exception if result actually underflows.
8003 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
8004 (efx8): Remove variable.
8005 (__erfl): Scale by 16 instead of 8 in potentially underflowing
8006 case. Ensure exception if result actually underflows.
8007 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
8008 (efx8): Remove variable.
8009 (__erfl): Scale by 16 instead of 8 in potentially underflowing
8010 case. Ensure exception if result actually underflows.
8011 * math/auto-libm-test-in: Add more tests of erf.
8012 * math/auto-libm-test-out: Regenerated.
8013
73ba67cb
AS
80142014-05-14 Andreas Schwab <schwab@suse.de>
8015
3d8c8bff
AS
8016 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
8017 Remove code conditionalized on USE___THREAD.
8018
73ba67cb
AS
8019 * config.h.in (HAVE_PT_CHOWN): Define as 0.
8020 * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
8021 not definedness.
8022
5c521ecd
JM
80232014-05-14 Joseph Myers <joseph@codesourcery.com>
8024
5e7698c6
JM
8025 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
8026 Define unconditionally.
8027 (__ASSUME_O_CLOEXEC): Likewise.
8028 (__ASSUME_SOCK_CLOEXEC): Likewise.
8029 (__ASSUME_IN_NONBLOCK): Likewise.
8030 (__ASSUME_PIPE2): Likewise.
8031 (__ASSUME_EVENTFD2): Likewise.
8032 (__ASSUME_SIGNALFD4): Likewise.
8033 (__ASSUME_DUP3): Likewise.
8034 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
8035 (__ASSUME_DUP3): Do not define.
8036 (__ASSUME_EVENTFD2): Likewise.
8037 (__ASSUME_IN_NONBLOCK): Likewise.
8038 (__ASSUME_O_CLOEXEC): Likewise.
8039 (__ASSUME_PIPE2): Likewise.
8040 (__ASSUME_SIGNALFD4): Likewise.
8041 (__ASSUME_SOCK_CLOEXEC): Likewise.
8042 (__ASSUME_UTIMES): Undefine.
8043 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
8044 (__ASSUME_UTIMES): Do not define.
8045 (__ASSUME_O_CLOEXEC): Likewise.
8046 (__ASSUME_SOCK_CLOEXEC): Likewise.
8047 (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
8048 0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
8049 0x020621].
8050 (__ASSUME_PIPE2): Likewise.
8051 (__ASSUME_EVENTFD2): Likewise.
8052 (__ASSUME_SIGNALFD4): Likewise.
8053 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
8054 * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
8055 Do not define.
8056 (__ASSUME_EVENTFD2): Likewise.
8057 (__ASSUME_SIGNALFD4): Likewise.
8058 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
8059 (__ASSUME_32BITUIDS): Likewise.
8060 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
8061 (__ASSUME_IPC64): Likewise.
8062 (__ASSUME_ST_INO_64_BIT): Likewise.
8063 (__ASSUME_GETDENTS64_SYSCALL): Likewise.
8064 [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
8065 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
8066 (__ASSUME_UTIMES): Do not define.
8067 (__ASSUME_PSELECT): Likewise.
8068 (__ASSUME_PPOLL): Likewise.
8069 (__ASSUME_O_CLOEXEC): Likewise.
8070 (__ASSUME_SOCK_CLOEXEC): Likewise.
8071 (__ASSUME_IN_NONBLOCK): Likewise.
8072 (__ASSUME_PIPE2): Likewise.
8073 (__ASSUME_EVENTFD2): Likewise.
8074 (__ASSUME_SIGNALFD4): Likewise.
8075 (__ASSUME_DUP3): Likewise.
8076 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
8077 (__ASSUME_UTIMES): Likewise.
8078 (__ASSUME_O_CLOEXEC): Likewise.
8079 (__ASSUME_SOCK_CLOEXEC): Likewise.
8080 (__ASSUME_IN_NONBLOCK): Likewise.
8081 (__ASSUME_PIPE2): Likewise.
8082 (__ASSUME_EVENTFD2): Likewise.
8083 (__ASSUME_SIGNALFD4): Likewise.
8084 (__ASSUME_DUP3): Likewise.
8085 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
8086 (__ASSUME_UTIMES): Likewise.
8087 (__ASSUME_O_CLOEXEC): Likewise.
8088 (__ASSUME_SOCK_CLOEXEC): Likewise.
8089 (__ASSUME_IN_NONBLOCK): Likewise.
8090 (__ASSUME_PIPE2): Likewise.
8091 (__ASSUME_EVENTFD2): Likewise.
8092 (__ASSUME_SIGNALFD4): Likewise.
8093 (__ASSUME_DUP3): Likewise.
8094 * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
8095 Likewise.
8096 (__ASSUME_UTIMES): Likewise.
8097 (__ASSUME_EVENTFD2): Likewise.
8098 (__ASSUME_SIGNALFD4): Likewise.
8099 * sysdeps/unix/sysv/linux/tile/kernel-features.h
8100 (__ASSUME_O_CLOEXEC): Likewise.
8101 (__ASSUME_SOCK_CLOEXEC): Likewise.
8102 (__ASSUME_IN_NONBLOCK): Likewise.
8103 (__ASSUME_PIPE2): Likewise.
8104 (__ASSUME_EVENTFD2): Likewise.
8105 (__ASSUME_SIGNALFD4): Likewise.
8106 (__ASSUME_DUP3): Likewise.
8107 (__ASSUME_UTIMES): Undefine.
8108
5c521ecd
JM
8109 * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
8110 feclearexcept. Remove symbol versioning code.
8111 * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv. Remove
8112 symbol versioning code.
8113 * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv. Remove
8114 symbol versioning code.
8115 * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
8116 feupdateenv. Remove symbol versioning code.
8117 * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
8118 fegetexceptflag. Remove symbol versioning code.
8119 * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
8120 fesetexceptflag. Remove symbol versioning code.
8121 * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
8122 GLIBC_2.2 and GLIBC_2.3.3 entries. Change GLIBC_2.1 to GLIBC_2.4.
8123 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
8124 (__posix_fadvise64_l32): Remove prototype.
8125 [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
8126 code.
8127
5da9dfad
RM
81282014-05-13 Roland McGrath <roland@hack.frob.com>
8129
8130 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
8131 * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
8132 * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
8133 * sysdeps/arm/nptl/bits/semaphore.h: ... here.
8134
893b4f37
SK
81352014-05-13 Sami Kerola <kerolasa@iki.fi>
8136
8137 * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
8138 current working directory
8139
e0db6517
RM
81402014-05-13 Roland McGrath <roland@hack.frob.com>
8141
58aa195d
RM
8142 * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
8143 * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
8144 * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
8145 * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
8146 * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
8147 * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
8148 * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
8149 * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
8150 * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
8151 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
8152 * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
8153 * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
8154 * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
8155 * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
8156 * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
8157 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
8158 * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
8159 * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
8160 * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
8161 * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
8162 * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
8163 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
8164 * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
8165 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
8166 * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
8167 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
8168 * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
8169 * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
8170 * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
8171 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
8172 * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
8173 * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
8174 * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
8175 * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
8176 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
8177 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
8178 * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
8179 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
8180 * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
8181 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
8182 * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
8183 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
8184
8c6d01f0
RM
8185 * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
8186 * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
8187
8188 * sysdeps/unix/sysv/linux/arm/Makefile
8189 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
8190 Add rt-aeabi_unwind_cpp_pr1.
8191 [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
8192 Add nptl-aeabi_unwind_cpp_pr1.
8193 [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
8194 * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
8195 * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
8196 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
8197 * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
8198 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
8199
8200 * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
8201 * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
8202 * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
8203 * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
8204
bba6da4e
RM
8205 * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
8206 Deconditionalize the code that was previously under [RESET_PID].
8207 * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
8208
e0db6517
RM
8209 * sysdeps/generic/exit-thread.h: New file.
8210 * sysdeps/unix/sysv/linux/exit-thread.h: New file.
8211 * include/unistd.h (__exit_thread): Remove declaration.
8212 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
8213 * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
8214 * csu/libc-start.c: Include <exit-thread.h>.
8215 (LIBC_START_MAIN): Pass no argument to __exit_thread.
8216 * nptl/pthread_create.c: Include <exit-thread.h>.
8217 (start_thread): Call __exit_thread in place of __exit_thread_inline.
8218 * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
8219 * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
8220 * nptl/sysdeps/s390/pthreaddef.h: Likewise.
8221 * nptl/sysdeps/sh/pthreaddef.h: Likewise.
8222 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
8223 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
8224 * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
8225 * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
8226 * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
8227 * sysdeps/arm/nptl/pthreaddef.h: Likewise.
8228 * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
8229 * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
8230 * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
8231 * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
8232 * sysdeps/mips/nptl/pthreaddef.h: Likewise.
8233 * sysdeps/tile/nptl/pthreaddef.h: Likewise.
8234
01eb16fd
AS
82352014-05-13 Andreas Schwab <schwab@suse.de>
8236
8237 * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
8238
637461d9
JM
82392014-05-12 Joseph Myers <joseph@codesourcery.com>
8240
8241 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
8242 (__ASSUME_UTIMES): Do not condition on kernel version.
8243 (__ASSUME_PSELECT): Define unconditionally.
8244 (__ASSUME_PPOLL): Likewise.
8245 (__ASSUME_ATFCTS): Likewise.
8246 (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
8247 (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
8248 (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
8249 (__ASSUME_UTIMENSAT): Define unconditionally.
8250 (__ASSUME_PRIVATE_FUTEX): Likewise.
8251 (__ASSUME_FALLOCATE): Likewise.
8252 (__ASSUME_O_CLOEXEC): Likewise.
8253 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
8254 (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
8255 (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
8256 (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
8257 (__ASSUME_IN_NONBLOCK): Likewise.
8258 (__ASSUME_PIPE2): Likewise.
8259 (__ASSUME_EVENTFD2): Likewise.
8260 (__ASSUME_SIGNALFD4): Likewise.
8261 (__ASSUME_DUP3): Likewise.
8262 [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
8263 (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
8264 (__ASSUME_AT_RANDOM): Likewise.
8265 (__ASSUME_PREADV): Likewise.
8266 (__ASSUME_PWRITEV): Likewise.
8267 (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
8268 (__ASSUME_F_GETOWN_EX): Define unconditionally.
8269 (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
8270 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
8271 [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
8272 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
8273 (__ASSUME_O_CLOEXEC): Define unconditionally.
8274 (__ASSUME_PSELECT): Do not undefine conditionally.
8275 (__ASSUME_PPOLL): Likewise.
8276 (__ASSUME_ATFCTS): Likewise.
8277 (__ASSUME_SET_ROBUST_LIST): Likewise.
8278 (__ASSUME_UTIMENSAT): Likewise.
8279 (__ASSUME_FDATASYNC): Define unconditionally.
8280 * sysdeps/unix/sysv/linux/arm/kernel-features.h
8281 (__ASSUME_SIGFRAME_V2): Likewise.
8282 )__ASSUME_EVENTFD2): Likewise.
8283 (__ASSUME_SIGNALFD4): Likewise.
8284 (__ASSUME_PSELECT): Do not undefine conditionally.
8285 (__ASSUME_PPOLL): Likewise.
8286 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
8287 (__ASSUME_PSELECT): Define unconditionally.
8288 (__ASSUME_PPOLL): Likewise.
8289 (__ASSUME_O_CLOEXEC): Likewise.
8290 (__ASSUME_SOCK_CLOEXEC): Likewise.
8291 (__ASSUME_IN_NONBLOCK): Likewise.
8292 (__ASSUME_PIPE2): Likewise.
8293 (__ASSUME_EVENTFD2): Likewise.
8294 (__ASSUME_SIGNALFD4): Likewise.
8295 (__ASSUME_DUP3): Likewise.
8296 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
8297 (__ASSUME_O_CLOEXEC): Likewise.
8298 (__ASSUME_SOCK_CLOEXEC): Likewise.
8299 (__ASSUME_IN_NONBLOCK): Likewise.
8300 (__ASSUME_PIPE2): Likewise.
8301 (__ASSUME_EVENTFD2): Likewise.
8302 (__ASSUME_SIGNALFD4): Likewise.
8303 (__ASSUME_DUP3): Likewise.
8304 * sysdeps/unix/sysv/linux/mips/kernel-features.h
8305 (__ASSUME_EVENTFD2): Likewise.
8306 (__ASSUME_SIGNALFD4): Likewise.
8307 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
8308
315eb1d8
AS
83092014-05-12 Andreas Schwab <schwab@suse.de>
8310
8311 [BZ #16932]
8312 * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
8313 (_nss_nis_gethostbyname4_r): Return error if item length is larger
8314 than maximum RPC packet size.
8315 * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
8316 * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
8317 * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
8318 (_nss_nis_getservbyport_r): Likewise.
8319
91df99f7
WN
83202014-05-12 Will Newton <will.newton@linaro.org>
8321
8322 * malloc/Makefile (tests): Add tst-mallopt.
8323 * malloc/tst-mallopt.c: New file.
8324
0a982a29
RM
83252014-05-09 Roland McGrath <roland@hack.frob.com>
8326
8327 * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
8328 [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
8329
0ded08a5
AZ
83302014-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8331
8332 * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
8333 (tst-tlsmod6.so): Likewise.
8334
55d4d550
RM
83352014-05-09 Roland McGrath <roland@hack.frob.com>
8336
8337 * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
8338
77d08aca
JM
83392014-05-09 Joseph Myers <joseph@codesourcery.com>
8340
8341 [BZ #16064]
8342 * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
8343 and <dl-procinfo.h>.
8344 (__fegetenv): Save SSE state in envp->__eip if supported.
8345 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
8346 envp->__eip if supported.
8347 * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
8348 and <dl-procinfo.h>.
8349 (__fesetenv): Always set __eip, __cs_selector, __opcode,
8350 __data_offset and __data_selector in environment to 0. Set SSE
8351 state if supported.
8352 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
8353 test-fenv-sse.
8354 [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
8355 -mfpmath=sse.
8356 * sysdeps/x86/fpu/test-fenv-sse.c: New file.
8357
28162f4d
WN
83582014-05-09 Will Newton <will.newton@linaro.org>
8359
8360 * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
8361 and libc_relro_required for ARM.
8362 * sysdeps/arm/preconfigure: Regenerate.
8363
5a414ff7
DV
83642014-05-09 Dominik Vogt <vogt@linux.vnet.ibm.com>
8365 Stefan Liebler <stli@linux.vnet.ibm.com>
8366
8367 * config.make.in (enable-lock-elision): New Makefile variable.
8368 * configure.ac: Likewise.
8369 * configure: Regenerate.
8370 * sysdeps/s390/configure.ac:
8371 Add check for gcc transactions support.
8372 * sysdeps/s390/configure: Regenerate.
8373 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
8374 Build elision files if enabled.
8375 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
8376 Add lock elision support for s390.
8377 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
8378 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
8379 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
8380 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
8381 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
8382 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
8383 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
8384 Likewise.
8385 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
8386 Likewise.
8387 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
8388 Likewise.
8389 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
8390 Likewise.
8391 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
8392 (__lll_timedlock_elision, __lll_lock_elision)
8393 (__lll_unlock_elision, __lll_trylock_elision)
8394 (lll_timedlock_elision, lll_lock_elision)
8395 (lll_unlock_elision, lll_trylock_elision): Add.
8396 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
8397 (pthread_mutex_t): Add lock elision support for s390.
8398
1a2f40e5
W
83992014-05-14 Wilco <wdijkstr@arm.com>
8400
8401 * sysdeps/arm/fclrexcpt.c: Cleanup.
8402 * sysdeps/arm/fedisblxcpt.c: Cleanup.
8403 * sysdeps/arm/feenablxcpt.c: Cleanup.
8404 * sysdeps/arm/fegetenv.c: Cleanup.
8405 * sysdeps/arm/fegetexcept.c: Cleanup.
8406 * sysdeps/arm/fegetround.c: Cleanup.
8407 * sysdeps/arm/feholdexcpt.c: Cleanup.
8408 * sysdeps/arm/fesetenv.c: Cleanup.
8409 * sysdeps/arm/fesetround.c: Cleanup.
8410 * sysdeps/arm/feupdateenv.c: Cleanup.
8411 * sysdeps/arm/fgetexcptflg.c: Cleanup.
8412 * sysdeps/arm/fraiseexcpt.c: Cleanup.
8413 * sysdeps/arm/fsetexcptflg.c: Cleanup.
8414 * sysdeps/arm/ftestexcept.c: Cleanup.
8415 * sysdeps/arm/get-rounding-mode.h: Cleanup.
8416 * sysdeps/arm/setfpucw.c: Cleanup.
8417
f63c86fe
WN
84182014-05-09 Will Newton <will.newton@linaro.org>
8419
8420 * sysdeps/arm/armv7/strcmp.S: New file.
8421 * NEWS: Mention addition of ARMv7 optimized strcmp.
8422
7a1a51b5
RM
84232014-05-08 Roland McGrath <roland@hack.frob.com>
8424
95afbbe5
RM
8425 * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
8426 look for %.ac rather than %.in.
8427
8428 * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
8429 * sysdeps/unix/sysv/linux/configure.ac: Likewise.
8430 * sysdeps/mach/hurd/configure: Regenerated.
8431 * sysdeps/unix/sysv/linux/configure: Regenerated.
8432
7a1a51b5
RM
8433 * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
8434
5057ad3b
SE
84352014-05-07 Steve Ellcey <sellcey@mips.com>
8436
8437 [BZ# 16922]
8438 * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
8439 (LONG_SUB): Ditto.
8440 (PTR_SUB): Ditto.
8441
8dc97517
AS
84422014-05-07 Andreas Schwab <schwab@suse.de>
8443
8444 * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
8445 when skipping over non-matching result from nscd.
8446
ce0c5b8f
OB
84472014-05-07 Ondřej Bílka <neleai@seznam.cz>
8448
8449 [BZ #16876]
8450 * nptl/sockperf.c (client): Check socket return value.
8dc97517 8451
a1189263
OB
8452 [BZ #16877]
8453 * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
8454 nscd security class.
ce0c5b8f 8455
0f58d252
RM
84562014-05-06 Roland McGrath <roland@hack.frob.com>
8457
8458 * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
8459 * sysdeps/arm/unwind.h: ... here.
8460
83df9ad0
AJ
84612014-05-06 Aurelien Jarno <aurelien@aurel32.net>
8462
ce0c5b8f
OB
8463 [BZ# 16916]
8464 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
8465 Define.
83df9ad0 8466
f360f94a
VR
84672014-05-06 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
8468
8469 * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
8470 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
8471 multiarch strncpy for PPC64.
8472 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
8473 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
8474 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
8475 multiarch optimizations.
8476 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
8477 (__libc_ifunc_impl_list): Likewise.
8478 * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
8479 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
8480 multiarch stpncpy for PPC64.
8481 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
8482 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
8483
978a41c3
AS
84842014-05-06 Andreas Schwab <schwab@suse.de>
8485
8486 [BZ #16912]
8487 * gmon/mcount.c (_MCOUNT_DECL): Use
8488 atomic_compare_and_exchange_bool_acq instead of
8489 catomic_compare_and_exchange_bool_acq.
8490
eb1ed03d
RM
84912014-05-05 Roland McGrath <roland@hack.frob.com>
8492
fe658845
RM
8493 * elf/Makefile (others, install-bin): Remove pldd.
8494 (pldd-modules): Variable removed.
8495 ($(objpfx)pldd): Target removed.
8496 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
8497 (others, install-bin): Append pldd here.
8498 ($(objpfx)pldd): New target.
8499
eb1ed03d
RM
8500 * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
8501 to 0, so the first #if test emitted later doesn't see it undefined.
8502 (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
8503 * sysdeps/gnu/errlist.c: Regenerated.
8504
19c4bec0
AZ
85052014-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8506
8507 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
8508 [libc_hidden_builtin_def]: Define to empty value.
8509 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
8510 [libc_hidden_builtin_def]: Likewise.
8511 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
8512 [libc_hidden_builtin_def]: Likewise.
8513 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
8514 [libc_hidden_builtin_def]: Likewise.
8515 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
8516 __redirect_memcpy and define ifunc as default hidden symbol.
8517 * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
8518 * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
8519
7776e669
AC
85202014-05-04 Adam Conrad <adconrad@0c3.net>
8521
8522 * locale/iso-4217.def: Reintroduce XDR currency.
8523
d69aeb12
AM
85242014-05-04 Allan McRae <allan@archlinux.org>
8525
8526 * po/eo.po: Update Esperanto translation from translation project.
8527
8f1df5cf
CD
85282014-05-02 Carlos O'Donell <carlos@redhat.com>
8529
8530 * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
8531 and FEATURE_INDEX_MAX to 1.
8532 [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
8533
13e402e7
SE
85342014-05-01 Steve Ellcey <sellcey@mips.com>
8535
8536 * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
8537 * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
8538 * iconvdata/big5.c (ONE_DIRECTION): Define.
8539 * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
8540 * iconvdata/cp1255.c (ONE_DIRECTION): Define.
8541 * iconvdata/cp1258.c (ONE_DIRECTION): Define.
8542 * iconvdata/cp932.c (ONE_DIRECTION): Define.
8543 * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
8544 * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
8545 * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
8546 * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
8547 * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
8548 * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
8549 * iconvdata/gb18030.c (ONE_DIRECTION): Define.
8550 * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
8551 * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
8552 * iconvdata/gbk.c (ONE_DIRECTION): Define.
8553 * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
8554 * iconvdata/ibm930.c (ONE_DIRECTION): Define.
8555 * iconvdata/ibm932.c (ONE_DIRECTION): Define.
8556 * iconvdata/ibm933.c (ONE_DIRECTION): Define.
8557 * iconvdata/ibm935.c (ONE_DIRECTION): Define.
8558 * iconvdata/ibm937.c (ONE_DIRECTION): Define.
8559 * iconvdata/ibm939.c (ONE_DIRECTION): Define.
8560 * iconvdata/ibm943.c (ONE_DIRECTION): Define.
8561 * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
8562 * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
8563 * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
8564 * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
8565 * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
8566 * iconvdata/iso646.c (ONE_DIRECTION): Define.
8567 * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
8568 * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
8569 * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
8570 * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
8571 * iconvdata/johab.c (ONE_DIRECTION): Define.
8572 * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
8573 * iconvdata/sjis.c (ONE_DIRECTION): Define.
8574 * iconvdata/t.61.c (ONE_DIRECTION): Define.
8575 * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
8576 * iconvdata/tscii.c (ONE_DIRECTION): Define.
8577 * iconvdata/uhc.c (ONE_DIRECTION): Define.
8578 * iconvdata/unicode.c (ONE_DIRECTION): Define.
8579 * iconvdata/utf-16.c (ONE_DIRECTION): Define.
8580 * iconvdata/utf-32.c (ONE_DIRECTION): Define.
8581 * iconvdata/utf-7.c (ONE_DIRECTION): Define.
8582
c727f032
RM
85832014-05-01 Roland McGrath <roland@hack.frob.com>
8584
8f2f08d0
RM
8585 * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
8586 (_IO_JUMPS_OFFSET): Define to 0.
8587
c727f032
RM
8588 * nptl/sysdeps/pthread/bits/libc-lock.h
8589 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
8590 (__libc_lock_define_initialized_recursive): Always define using
8591 initializer. Modern compilers treat uninitialized (implicit zero) and
8592 explicit zero initializers the same (i.e. put the datum in bss).
8593
a849e800
AS
85942014-05-01 Andreas Schwab <schwab@linux-m68k.org>
8595
8596 * nscd/nscd-client.h: Include <string.h>.
8597
5331255b
DM
85982014-05-01 David S. Miller <davem@davemloft.net>
8599
8600 [BZ #16885]
8601 * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
8602 multiple zero bytes exist at the end of a string.
8603 Reported by Aurelien Jarno <aurelien@aurel32.net>
8604
8605 * string/test-strcmp.c (check): Add explicit test for situations where
8606 there are multiple zero bytes after the first.
8607
4fdfe821
AS
86082014-05-01 Andreas Schwab <schwab@linux-m68k.org>
8609
8610 [BZ #16890]
8611 * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
8612 when compiling wprintf.
8613 * stdio-common/tstdiomisc.c (t3): New function.
8614 (main): Call it.
8615
0cdddc25
SE
86162014-05-01 Steve Ellcey <sellcey@mips.com>
8617
8618 * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
8619 * iconv/gconv_simple.c (ONE_DIRECTION): Define.
8620 * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
8621 * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
8622
6426d77e
SE
86232014-05-01 Steve Ellcey <sellcey@mips.com>
8624
8625 * stdlib/longlong.h: Updated from GCC.
8626
6d96f5e4
WN
86272014-05-01 Will Newton <will.newton@linaro.org>
8628 Bernard Ogden <bernie.ogden@linaro.org>
8629
7470db0c
WN
8630 * NEWS: Update fixed bug list.
8631
6d96f5e4
WN
8632 [BZ #15119]
8633 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
8634
211d653c
DM
86352014-04-30 David S. Miller <davem@davemloft.net>
8636
4fa262fa
DM
8637 * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
8638 (libc_feholdexcept_setround_sparc_ctx): New function.
8639 (libc_fesetenv_sparc_ctx): Likewise.
8640 (libc_feupdateenv_sparc_ctx): Likewise.
8641 (libc_feholdsetround_sparc_ctx): Likewise.
8642 (libc_feholdexcept_setround_ctx): Define.
8643 (libc_feholdexcept_setroundf_ctx): Likewise.
8644 (libc_feholdexcept_setroundl_ctx): Likewise.
8645 (libc_fesetenv_ctx): Likewise.
8646 (libc_fesetenvf_ctx): Likewise.
8647 (libc_fesetenvl_ctx): Likewise.
8648 (libc_feupdateenv_ctx): Likewise.
8649 (libc_feupdateenvf_ctx): Likewise.
8650 (libc_feupdateenvl_ctx): Likewise.
8651 (libc_feresetround_ctx): Likewise.
8652 (libc_feresetroundf_ctx): Likewise.
8653 (libc_feresetroundl_ctx): Likewise.
8654 (libc_feholdsetround_ctx): Likewise.
8655 (libc_feholdsetroundf_ctx): Likewise.
8656 (libc_feholdsetroundl_ctx): Likewise.
8657
1d3d93ef
DM
8658 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
8659 with __USE_GNU instead of XOPEN cpp guards.
8660
8aa583c3
DM
8661 * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
8662 0.
8663
211d653c
DM
8664 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
8665 with XOPEN cpp guards.
8666
60c8f1f6
JB
86672014-04-30 Julian Brown <julian@codesourcery.com>
8668
8669 [BZ #16888]
8670 * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
8671 handling.
8672
9a461d46
JM
86732014-04-30 Joseph Myers <joseph@codesourcery.com>
8674
d0f5b3f8
JM
8675 [BZ #9894]
8676 * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
8677 Change to 2.6.32.
8678 (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
8679 * sysdeps/unix/sysv/linux/configure: Regenerated.
8680 * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
8681 * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
8682 * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
8683 * sysdeps/unix/sysv/linux/tile/configure: Likewise.
8684 * README: Update reference to required Linux kernel version.
8685 * manual/install.texi (Linux): Update reference to required Linux
8686 kernel headers version.
8687 * INSTALL: Regenerated.
8688
9a461d46
JM
8689 * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
8690 header inclusion.
8691 [POSIX] (limits.h): Likewise.
8692 [POSIX] (math.h): Likewise.
8693 [POSIX] (sys/wait.h): Likewise.
8694 * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
8695 function.
8696 [POSIX] (stddef.h): Do not allow header inclusion.
8697
1775babf
AZ
86982014-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8699
57f41c40 8700 * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
1775babf 8701
8f630cca
YY
87022014-04-30 Yang Yingliang <yangyingliang@huawei.com>
8703
8704 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
8705 Return immediately after lll_futex_wake.
8706
1cdeb237
SP
87072014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
8708
bc8f194c
SP
8709 [BZ #16791]
8710 * nscd/nscd-client.h (datahead_init_common): Initialize entire
8711 structure.
8712 (datahead_init_pos): Call datahead_init_common early.
8713 (datahead_init_neg): Likewise.
8714
1cdeb237
SP
8715 * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
8716 datahead_init_neg): New functions.
8717 * nscd/aicache.c (addhstaiX): Use them.
8718 * nscd/grpcache.c (cache_addgr): Likewise.
8719 * nscd/hstcache.c (cache_addhst): Likewise.
8720 * nscd/initgrcache.c (addinitgroupsX): Likewise.
8721 * nscd/netgroupcache.c (do_notfound): Likewise.
8722 (addgetnetgrentX): Likewise.
8723 (addinnetgrX): Likewise.
8724 * nscd/pwdcache.c (cache_addpw): Likewise.
8725 * nscd/servicescache.c (cache_addserv): Likewise.
8726
16b293a7
SP
87272014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
8728 Atsushi Onoe <atsushi@onoe.org>
8729
8730 [BZ #14308]
8731 [BZ #12994]
8732 [BZ #13651]
8733 * resolv/res_query.c (__libc_res_nsearch): Return if at least
8734 one response is valid.
8735 * resolv/res_send.c (send_dg): Check for validity of other
8736 response if the current response is a referral.
8737
a28a9b94
SE
87382014-04-29 Steve Ellcey <sellcey@mips.com>
8739
8740 * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
8741
2ca180e9
SL
87422014-04-29 Stefan Liebler <stli@linux.vnet.ibm.com>
8743
8744 [BZ #16823]
8745 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
8746 Always divide by positive zero when computing -Inf result.
8747 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
8748 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
8749
18f2945a
AZ
87502014-04-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8751
8752 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
8753 FPSCR if value do not change.
8754 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
8755 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
8756 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
8757 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
8758 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
8759 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
8760 function.
8761
5abebba4
CD
87622014-05-29 Carlos O'Donell <carlos@systemhalted.org>
8763
8764 * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
8765 * sysdeps/unix/sysv/linux/hppa: Move directory from
8766 ports/systeps/unix/sysv/linux/hppa.
8767 * README: Update listing for hppa-*-linux-gnu.
8768
f7ed60c2
OB
87692014-04-28 Ondřej Bílka <neleai@seznam.cz>
8770
fff763a5
OB
8771 [BZ #16754]
8772 * manual/stdio.texi (Hook functions): Fix types of stream hook
8773 functions.
f7ed60c2
OB
8774 [BZ #16854]
8775 * socket/sys/socket.h: Fix typo in comment.
8776
df639d73
WD
87772014-04-28 Wilco <wdijkstr@arm.com>
8778
f7ed60c2 8779 * sysdeps/arm/fenv_private.h: New file.
df639d73
WD
8780 * sysdeps/arm/math_private.h: New file.
8781 * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
8782
48332d82
L
87832014-04-25 H.J. Lu <hongjiu.lu@intel.com>
8784
8785 * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
8786 with __int128_t.
8787 (La_x86_64_retval): Likewise.
8788
e5e0d9a4
IB
87892014-04-24 Ian Bolton <ian.bolton@arm.com>
8790
8791 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
8792 fpsr if value didn't change.
8793 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
8794 to fpcr if value didn't change.
8795 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
8796 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
8797 fpsr or fpcr if value didn't change.
8798 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
8799 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
8800 fpcr if value didn't change.
8801 * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
8802 to fpsr if value didn't change.
8803
bacc75f7
SP
88042014-02-23 Siddhesh Poyarekar <siddhesh@redhat.com>
8805
8806 * nptl/tst-sem3.c: Use test-skeleton.c
8807 (main): Rename to do_test. Use return instead of
8808 exit.
8809 * nptl/tst-sem4.c: Use test-skeleton.c
8810 (main): Rename to do_test.
8811
a059d359
DM
88122014-04-22 David S. Miller <davem@davemloft.net>
8813
8814 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
8815 (struct sigaction): New struct member __glibc_reserved0, change
8816 type of sa_flags to int.
8817
ea6c92f3
YZ
88182014-04-22 Yufeng Zhang <yufeng.zhang@arm.com>
8819
8820 * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
8821 (COUNT_LEADING_ZEROS_0): Define for AArch64.
8822
766c4a36
SP
88232014-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
8824
8825 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
8826 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
8827
140cc7ab
VK
88282014-04-22 Will Newton <will.newton@linaro.org>
8829 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
8830
8831 * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
8832 (__longjmp): Add longjmp and longjmp_target SystemTap
8833 probes.
8834 * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
8835 (__sigsetjmp): Add setjmp SystemTap probe.
8836
c54e5cf7
CD
88372014-04-17 Carlos O'Donell <carlos@redhat.com>
8838
8839 * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
8840 match manual order.
8841
75ffb047
AZ
88422014-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8843
8844 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
8845
2cd925f7
AZ
8846 * sysdeps/powerpc/fpu/fenv_private.h
8847 (libc_feholdexcept_setroundl_ctx): Define to
8848 libc_feholdexcept_setround_ppc_ctx.
8849 (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
8850 (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
8851 (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
8852 (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
8853
39e6cd8d
IB
88542014-04-17 Ian Bolton <ian.bolton@arm.com>
8855
8856 * sysdeps/aarch64/math-tests.h: New file.
8857
f9281df9
SY
88582014-04-17 Sihai Yao <sihai.ysh@alibaba-inc.com>
8859
8860 * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
8861 New.
8862 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
8863 Check and set bit_AVX2_Usable.
8864 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
8865 macro.
8866 (bit_AVX2): Likewise.
8867 (index_AVX2_Usable): Likewise.
8868 (CPUID_AVX2): Likewise.
8869 (HAS_AVX2): Likewise.
8870
37d35007
WN
88712014-04-17 Will Newton <will.newton@linaro.org>
8872
7c677662
WN
8873 * manual/setjmp.texi (System V contexts): Add note that
8874 calling setcontext on a context created by a call to a
8875 signal handler is undefined. Update text to note that
8876 setcontext from a signal handler is possible but not
8877 recommended.
8878
37d35007 8879 [BZ #16629]
e04a4e9d
WN
8880 * stdlib/tst-setcontext.c: Include signal.h.
8881 (main): Check that the signal stack before and
8882 after swapcontext is the same.
8883
37d35007
WN
8884 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
8885 Re-implement to restore registers in user code and avoid
8886 rt_sigreturn system call.
8887
423a7160
W
88882014-04-17 Wilco <wdijkstr@arm.com>
8889
8890 * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
8891 * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
8892 * math/test-fenv.c: Skip exception trap tests on targets which only
8893 support non-stop mode.
8894
bc93ab29
IB
88952014-04-17 Ian Bolton <ian.bolton@arm.com>
8896 Wilco Dijkstra <wilco.dijkstra@arm.com>
8897
8898 * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
8899 (libc_feholdsetround_aarch64_ctx)
8900 (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
8901 (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
8902 (libc_feresetround_ctx, libc_feresetroundf_ctx)
8903 (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
8904 (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
8905 (libc_feresetround_noexl_ctx): Define.
8906
95fc5fa3
RH
89072014-04-16 Richard Henderson <rth@redhat.com>
8908
ddb04724
RH
8909 * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
8910
d77c0899
RH
8911 * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
8912 unwind tables.
8913
a3df56fc
RH
8914 * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
8915 const from the non-libc, non-ldso copy.
8916
95fc5fa3
RH
8917 * sysdeps/alpha/libm-test-ulps: Regenerate.
8918
7e0b6763
IB
89192014-04-16 Ian Bolton <ian.bolton@arm.com>
8920 Wilco Dijkstra <wilco.dijkstra@arm.com>
8921
8922 * sysdeps/aarch64/fpu/math_private.h: New file.
8923
a9ea2e0c
MS
89242014-04-16 Marcus Shawcroft <marcus.shawcroft@arm.com>
8925
8926 * sysdeps/aarch64/libm-test-ulps: Regenerate.
8927
ea8ba7cd
IZ
89282014-04-16 Igor Zamyatin <igor.zamyatin@intel.com>
8929
7e54fd04 8930 [BZ #16275]
ea8ba7cd
IZ
8931 * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
8932 (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
8933 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
8934 Intel MPX bound registers before _dl_profile_fixup.
8935 * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
8936 registers after _dl_profile_fixup. Save and restore bound
8937 registers bnd0/bnd1 when calling _dl_call_pltexit.
8938 * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
8939 (LR_BND_OFFSET): Likewise.
8940 (LRV_BND0_OFFSET): Likewise.
8941 (LRV_BND1_OFFSET): Likewise.
8942
9f2a4fbc
ST
89432014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
8944
8945 * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
8946 to...
8947 * sysdeps/mach/hurd/i386/tls.h: ... here.
3c799e91
ST
8948 (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
8949 pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
8950 fields.
9f2a4fbc 8951
fd15a59b
ST
89522014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
8953
8954 * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
8955
f19dfa0a
SL
89562014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
8957
8958 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
8959
4fa8bc3b
SL
89602014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
8961
8962 [BZ #14770]
8963 * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
8964 * sysdeps/s390/configure: Regenerate.
8965
8ea587db
SL
8966 [BZ #16824]
8967 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
8968 Set round-to-nearest internally to reduce error accumulation.
8969
aa5f0ff1
AM
89702014-04-16 Alan Modra <amodra@gmail.com>
8971
8972 [BZ #16740]
8973 [BZ #16619]
8974 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
8975 * math/libm-test.inc (frexp_test_data): Add tests.
9860b045 8976 * NEWS: Update fixed bug list.
aa5f0ff1 8977
bb9c256f
SP
89782014-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
8979
8980 * benchtests/Makefile: Depend on libraries in build directory.
8981 (bench-math): Separate out math tests.
8982 (bench-pthread): Separate out pthread tests.
8983 (bench): Include math and pthread tests.
8984
f737dfd0
CD
89852014-04-14 Carlos O'Donell <carlos@redhat.com>
8986
8987 [BZ #16831]
8988 * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
8989 _dl_debug_initialize.
8990
0699f766
CD
8991 * configure.ac: Remove SELinux header check.
8992 * configure: Regenerate.
8993 * nscd/selinux.c (perms): Array of const char* to permission names.
8994 (nscd_request_avc_has_perm): Call security_deny_unknown to find
8995 default policy. Call string_to_security_class and string_to_av_perm to
8996 translate strings. Enforce default policy and call avs_has_perm with
8997 results of translated strings.
8998
809bd45f
DM
89992014-04-13 David S. Miller <davem@davemloft.net>
9000
9001 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9002
89e691f2
AM
90032014-04-12 Allan McRae <allan@archlinux.org>
9004
9005 [BZ #16838]
9006 * manual/string.texi (Collation Functions): Fix qsort argument
9007 order in example.
9008 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
9009
9c9daaeb
CM
90102014-04-11 Chris Metcalf <cmetcalf@tilera.com>
9011
9012 * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
9013 Make the test a no-op if there are no exceptions defined.
9014
95561fb9
PP
90152014-04-11 Paul Pluzhnikov <ppluzhnikov@google.com>
9016
fe8d072c 9017 * elf/Makefile (tests): make tst-dlopen-aout conditional on
95561fb9
PP
9018 enable-hardcoded-path-in-tests
9019
970c602a
WN
90202014-04-11 Will Newton <will.newton@linaro.org>
9021
9022 * benchtests/Makefile (extra-objs): Add json-lib.o.
9023 (bench-func): Tidy up JSON output.
9024 * benchtests/bench-skeleton.c: Include json-lib.h.
9025 (main): Use JSON library functions to do output of
9026 benchmark results.
9027 * benchtests/bench-timing-type.c (main): Output the
9028 timing type simply, leaving formatting to the user.
9029 * benchtests/json-lib.c: New file.
9030 * benchtests/json-lib.h: Likewise.
9031
36875b06
TR
90322014-04-11 Torvald Riegel <triegel@redhat.com>
9033
9034 [BZ #15215]
9035 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
9036 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here. Add missing
9037 memory barriers. Add comments.
9038 * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
9039 * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
9040 * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
9041 * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
9042 * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
9043 * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
9044
579db35a
SL
90452014-04-11 Stefan Liebler <stli@linux.vnet.ibm.com>
9046
9047 * sysdeps/s390/s390-32/configure.ac: Unify file with ...
9048 * sysdeps/s390/s390-64/configure.ac: ... this ...
9049 * sysdeps/s390/configure.ac: ... to here.
9050 * sysdeps/s390/s390-32/configure: Delete file.
9051 * sysdeps/s390/s390-64/configure: Delete file.
9052 * sysdeps/s390/configure: Regenerate.
9053
c12e9f37
JAPH
90542014-04-11 Joseph Anthony Pasquale Holsten <joseph@josephholsten.com>
9055
9056 * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
9057
439bda32
WN
90582014-04-11 Will Newton <will.newton@linaro.org>
9059
9060 * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
9061 to zero if it is not defined elsewhere. (mtrim): Test
9062 the value of MALLOC_DEBUG with #if rather than #ifdef.
9063
6a5d6ea1
TR
90642014-04-10 Torvald Riegel <triegel@redhat.com>
9065
9066 * benchtests/pthread_once-inputs: New file.
9067 * benchtests/pthread_once-source.c: New file.
9068 * benchtests/README: Update documentation.
9069
a4c75cfd
IZ
90702014-04-09 Igor Zamyatin <igor.zamyatin@intel.com>
9071 H.J. Lu <hongjiu.lu@intel.com>
9072
7e54fd04 9073 [BZ #16275]
a4c75cfd
IZ
9074 * config.h.in (HAVE_MPX_SUPPORT): New #undef.
9075 * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
9076 * sysdeps/x86_64/configure: Regenerated.
9077 * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
9078 macro.
9079 (REGISTER_SAVE_RAX): Likewise.
9080 (REGISTER_SAVE_RCX): Likewise.
9081 (REGISTER_SAVE_RDX): Likewise.
9082 (REGISTER_SAVE_RSI): Likewise.
9083 (REGISTER_SAVE_RDI): Likewise.
9084 (REGISTER_SAVE_R8): Likewise.
9085 (REGISTER_SAVE_R9): Likewise.
9086 (REGISTER_SAVE_BND0): Likewise.
9087 (REGISTER_SAVE_BND1): Likewise.
9088 (REGISTER_SAVE_BND2): Likewise.
9089 (_dl_runtime_resolve): Use them. Save and restore Intel MPX
9090 bound registers when calling _dl_fixup.
9091
27822ce6
AZ
90922014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9093
9094 * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
57f41c40
AS
9095 * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
9096 of its definition.
27822ce6
AZ
9097 * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
9098 * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
9099 * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
9100 * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
9101 * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
9102 * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
9103 * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
9104
a88ddc90
PTB
91052014-04-09 Peter Brett <peter@peter-b.co.uk>
9106
9107 [BZ #15514]
9108 * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
9109 pathconf(_PC_NAME_MAX).
9110
01f8eac2
AZ
91112014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9112
9113 * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
9114 Remove macro usage.
9115 (__PTHREAD_SPINS): Move definition to ...
9116 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
9117 (__PTHREAD_SPINS): ... here.
9118 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
9119 (__PTHREAD_SPIN): Likewise.
9120 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
9121 (__PTHREAD_SPIN): Likewise.
9122 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
9123 (__PTHREAD_SPIN): Likewise.
9124 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
9125 (__PTHREAD_SPIN): Likewise.
9126 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
9127 (__PTHREAD_SPIN): Likewise.
9128 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
9129 (__PTHREAD_SPIN): Likewise.
9130 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
9131 (__PTHREAD_SPIN): Likewise.
9132 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
9133 (__PTHREAD_SPIN): Likewise.
9134 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
9135 (__PTHREAD_SPIN): Likewise.
9136 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
9137 (__PTHREAD_SPIN): Likewise.
9138 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
9139 (__PTHREAD_SPIN): Likewise.
9140 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
9141 (__PTHREAD_SPIN): Likewise.
9142
de21c33c
AZ
9143 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
9144 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
9145 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
9146 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
9147 imply folder.
9148 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
9149 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
9150 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
9151 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
9152 correct imply path.
9153 * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
9154 strlen symbol for non multi-arch builds.
9155 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
9156 missing hidden_def and weak_alias.
9157
862c472e
CD
91582014-04-08 Carlos O'Donell <carlos@redhat.com>
9159
9160 * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
9161
8667f90e
WN
91622014-04-07 Will Newton <will.newton@linaro.org>
9163
9164 * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
9165 and contents. [!_LIBC] Remove #ifndef and contents.
9166 (basename): Use ANSI prototype. [_LIBC] Remove #idef.
9167 * string/memccpy.c (__memccpy): Use ANSI prototype.
9168 * string/memfrob.c (memfrob): Likewise.
9169 * string/strcoll.c (STRCOLL): Likewise.
9170 * string/strlen.c (strlen): Likewise.
9171 * string/strtok.c (STRTOK): Likewise.
9172 * string/strcat.c: Remove unused #include of memcopy.h.
9173 (strcat): Use ANSI prototype.
9174 * string/strchr.c: Remove unused #include of memcopy.h.
9175 (strchr): Use ANSI prototype.
9176 * string/strcmp.c: Remove unused #include of memcopy.h.
9177 (strcmp): Use ANSI prototype.
9178 * string/strcpy.c: Remove unused #include of memcopy.h.
9179 (strcpy): Use ANSI prototype.
9180
7ffa9423
AZ
91812014-04-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9182
9183 * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
9184 * config.make.in (config-extra-cppflags): Set it from
9185 libc_extra_cppflags.
9186 * configure.ac (libc_extra_cflags): Make it accumulate over
9187 configure fragments.
9188 (libc_extra_cppflags): New flag.
9189 * configure. Regenerate.
9190 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
57f41c40
AS
9191 (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
9192 not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
7ffa9423
AZ
9193 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
9194
8bd70862
AZ
9195 [BZ #16815]
9196 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
9197 result for FE_DOWNWARD rounding mode.
9198 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
9199 Likewise.
9200 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9201
d42f3448
CM
92022014-04-04 Chris Metcalf <cmetcalf@tilera.com>
9203
9204 * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
9205 in function argument name.
9206
1c21d115
DS
92072014-04-03 David Svoboda <svoboda@cert.org>
9208
9209 [BZ #5666]
9210 * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
9211 explicitly.
9212
fcccd512
RM
92132014-04-03 Roland McGrath <roland@hack.frob.com>
9214
9215 * elf/dl-unmap-segments.h: New file.
9216 * sysdeps/generic/ldsodefs.h
9217 (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
9218 * elf/dl-close.c: Include <dl-unmap-segments.h>.
9219 * elf/dl-fptr.c: Likewise.
9220 (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
9221 * sysdeps/aarch64/tlsdesc.c: Likewise.
9222 * sysdeps/arm/tlsdesc.c: Likewise.
9223 * sysdeps/i386/tlsdesc.c: Likewise.
9224 * sysdeps/tile/dl-runtime.c: Likewise.
9225 * sysdeps/x86_64/tlsdesc.c: Likewise.
9226 * elf/dl-load.h: New file.
9227 * elf/dl-load.c: Include it.
9228 (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
9229 Macros moved to dl-load.h.
9230 (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
9231 (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
9232 Use _dl_unmap_segments in place of __munmap.
9233 Break out segment-mapping loop into ...
9234 * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
9235
f6488e2b
WN
92362014-04-03 Will Newton <will.newton@linaro.org>
9237
9238 * elf/dl-lookup.c (do_lookup_x): Remove comment
9239 referring to nested function and move variable
9240 declarations down to before first use.
9241
6f05bafe
JM
92422014-04-02 Joseph Myers <joseph@codesourcery.com>
9243
a84e78c8
JM
9244 [BZ #16799]
9245 [BZ #16800]
9246 * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
9247 with 0 numerator.
9248 * math/s_catanf.c (__catanf): Likewise.
9249 * math/s_catanh.c (__catanh): Likewise.
9250 * math/s_catanhf.c (__catanhf): Likewise.
9251 * math/s_catanhl.c (__catanhl): Likewise.
9252 * math/s_catanl.c (__catanl): Likewise.
9253 * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
9254 by positive zero when computing -Inf result.
9255 * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
9256 (catanh_test): Likewise.
9257 * sysdeps/i386/fpu/libm-test-ulps: Update.
9258 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9259
6f05bafe
JM
9260 [BZ #16789]
9261 * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
9262 instead of using underflowing value in computing result.
9263 * math/s_clog10.c (__clog10): Likewise.
9264 * math/s_clog10f.c (__clog10f): Likewise.
9265 * math/s_clog10l.c (__clog10l): Likewise.
9266 * math/s_clogf.c (__clogf): Likewise.
9267 * math/s_clogl.c (__clogl): Likewise.
9268 * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
9269 (clog10_test): Likewise.
9270 * sysdeps/i386/fpu/libm-test-ulps: Update.
9271 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9272
b0abbc21
AM
92732014-04-02 Alan Modra <amodra@gmail.com>
9274
9275 [BZ #16739]
9276 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
9277 output when value is near a power of two. Use int64_t for lx and
9278 remove casts. Use decimal rather than hex exponent constants.
9279 Don't use long double multiplication when double will suffice.
9280 * math/libm-test.inc (nextafter_test_data): Add tests.
9281 * NEWS: Add 16739 and 16786 to bug list.
9282
af6b1797
AM
9283 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
9284
483818d7
AM
9285 * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
9286
f6c55796
WN
92872014-04-01 Will Newton <will.newton@linaro.org>
9288
9289 * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
9290 -fno-builtin. (CFLAGS-bench-ffsll.c): Likewise.
9291
13f7fe35
FW
92922014-04-01 Florian Weimer <fweimer@redhat.com>
9293
9294 [BZ #13347]
9295 * nptl/nptl-init.c (sighandler_setxid): Check system call result.
9296 * nptl/tst-setuid2.c: New file.
9297 * nptl/Makefile (xtests): Add tst-setuid2.
9298
c859b32e
AM
92992014-04-01 Alan Modra <amodra@gmail.com>
9300
9301 [BZ #16786]
9302 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
9303
54fa2475
JM
93042014-03-31 Joseph Myers <joseph@codesourcery.com>
9305
8795b4a4
JM
9306 [BZ #6803]
9307 [BZ #6804]
9308 * math/w_scalb.c (__scalb): For non-SVID mode, check result and
9309 set errno as appropriate.
9310 * math/w_scalbf.c (__scalbf): Likewise.
9311 * math/w_scalbl.c (__scalbl): Likewise.
9312 * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
9313 ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
9314 * math/libm-test.inc (scalb_test_data): Add errno expectations.
9315 Add more NaN tests.
9316
54fa2475
JM
9317 [BZ #16349]
9318 * math/w_atan2.c: Include <errno.h>.
9319 (__atan2): Set errno for result underflowing to zero.
9320 * math/w_atan2f.c: Include <errno.h>.
9321 (__atan2f): Set errno for result underflowing to zero.
9322 * math/w_atan2l.c: Include <errno.h>.
9323 (__atan2l): Set errno for result underflowing to zero.
9324 * math/auto-libm-test-in: Don't allow missing errno for some atan2
9325 tests.
9326 * math/auto-libm-test-out: Regenerated.
9327
757d9dd5
AZ
93282014-03-31 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9329
9330 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
9331 Encode instruction correctly in little endian.
9332 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
9333 Likewise.
9334 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
9335 Likewise.
9336 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
9337 Likewise.
9338 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
9339 Likewise.
9340
d7a68734
JM
93412014-03-31 Joseph Myers <joseph@codesourcery.com>
9342
47c5adeb
JM
9343 [BZ #9894]
9344 * sysdeps/unix/sysv/linux/kernel-features.h
9345 [__sparc__ && !__arch64__ && !__sparc_v9__]
9346 (__ASSUME_SET_ROBUST_LIST): Do not define.
9347 [__sparc__ && !__arch64__ && !__sparc_v9__]
9348 (__ASSUME_FUTEX_LOCK_PI): Likewise.
9349 [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
9350 Likewise.
9351 * sysdeps/unix/sysv/linux/arm/kernel-features.h
9352 (__ASSUME_FUTEX_LOCK_PI): Undefine.
9353 (__ASSUME_REQUEUE_PI): Likewise.
9354 (__ASSUME_SET_ROBUST_LIST): Likewise.
9355 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
9356 [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
9357 Undefine.
9358 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
9359 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
9360 Likewise.
9361 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
9362 Likewise.
9363 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
9364 Likewise.
9365 * sysdeps/unix/sysv/linux/mips/kernel-features.h
9366 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
9367 Undefine.
9368 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
9369 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
9370 Likewise.
9371
d7a68734
JM
9372 [BZ #16648]
9373 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
9374 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
9375 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
9376
c760f5c2
WN
93772014-03-31 Will Newton <will.newton@linaro.org>
9378
9379 * benchtests/Makefile (bench): Add ffs and ffsll to list
9380 of tests.
9381 * benchtests/ffs-inputs: New file.
9382 * benchtests/ffsll-inputs: Likewise.
9383
ea6029b1
JM
93842014-03-29 Joseph Myers <joseph@codesourcery.com>
9385
9386 [BZ #16770]
9387 * math/e_scalb.c (__ieee754_scalb): Check second argument is not
9388 too large before casting to int.
9389 * math/e_scalbf.c (__ieee754_scalbf): Likewise.
9390 * math/e_scalbl.c (__ieee754_scalbl): Likewise.
9391 * math/libm-test.inc (scalb_test_data): Add more tests.
9392
cf806aff
SP
93932014-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
9394
56737508
SP
9395 * benchtests/Makefile (DETAILED_OPT): New make option.
9396 (bench-func): Run benchmark program with -d if DETAILED_OPT is
9397 set.
9398 * benchtests/bench-skeleton.c: Include stdbool.h.
9399 (main): Store and print timings per input.
9400 * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
9401 member to each argument value.
9402 (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
9403 (_print_arg_data): Initialize per-input timing to 0.
9404
cb5e4aad
SP
9405 * benchtests/Makefile (timing-type): New binary.
9406 (bench-clean): Also remove bench-timing-type.
9407 (bench): New target for timing-type.
9408 (bench-func): Print output in JSON format.
9409 * benchtests/bench-skeleton.c (main): Print output in JSON
9410 format.
9411 * benchtests/bench-timing-type.c: New file.
9412 * benchtests/bench-timing.h (TIMING_TYPE): New macro.
9413 (TIMING_PRINT_STATS): Remove.
9414 * benchtests/scripts/bench.py (_print_arg_data): Store variant
9415 name separately.
9416
cf806aff
SP
9417 * benchtests/bench-modf.c: Remove.
9418 * benchtests/modf-inputs: New inputs file.
9419
289e0779
JM
94202014-03-28 Joseph Myers <joseph@codesourcery.com>
9421
9422 [BZ #16362]
9423 * math/s_clog10.c (M_PI_LOG10E): New macro.
9424 (__clog10): Use M_PI_LOG10E instead of M_PI when real and
9425 imaginary parts are 0.
9426 * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
9427 (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
9428 imaginary parts are 0.
9429 * math/s_clog10l.c (M_PI_LOG10El): New macro.
9430 (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
9431 imaginary parts are 0.
9432 * math/libm-test.inc (clog10_test_data): Update expected results
9433 for when real and imaginary parts are 0.
9434
277ae3f1
PP
94352014-03-27 Paul Pluzhnikov <ppluzhnikov@google.com>
9436
9437 * elf/dl-load.c: Finish conversion of __builtin_expect into
9438 __glibc_{un}likely.
9439
03a7091f
JM
94402014-03-27 Joseph Myers <joseph@codesourcery.com>
9441
9442 [BZ #16348]
9443 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
9444 1+x for argument with exponent below -67.
9445 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
9446 Likewise.
9447 * math/auto-libm-test-in: Add more tests of exp.
9448 * math/auto-libm-test-out: Regenerated.
9449
ea7d8b95
SP
94502014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
9451
dd3022d7
SP
9452 [BZ #16759]
9453 * inet/getnetgrent_r.c (get_nonempty_val): New function.
9454 (nscd_getnetgrent): Use it.
9455
ea7d8b95
SP
9456 [BZ #16760]
9457 * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
9458 of stpcpy.
9459
df5b85da
AK
94602014-03-27 Andi Kleen <ak@linux.intel.com>
9461
57f41c40
AS
9462 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
9463 (lll_robust_lock, lll_cond_lock, lll_timedlock)
9464 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
9465 (lll_robust_unlock): Remove out of line section. Use cfi
9466 intrinsics.
df5b85da 9467 (LLL_STUB_UNWIND_INFO*): Remove.
57f41c40
AS
9468 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
9469 (lll_robust_lock, lll_cond_lock, lll_timedlock)
9470 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
9471 (lll_robust_unlock): Remove out of line section. Use cfi
9472 intrinsics.
df5b85da
AK
9473 (LLL_STUB_UNWIND_INFO*): Remove.
9474
fbd6b5a4
SP
94752014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
9476
9477 [BZ #16758]
9478 * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
9479 blank values.
9480
1b26b855
PP
94812014-03-26 Paul Pluzhnikov <ppluzhnikov@google.com>
9482
9483 * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
9484
9be36fb8
JM
94852014-03-26 Joseph Myers <joseph@codesourcery.com>
9486
9487 [BZ #16198]
9488 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
9489 fnstenv.
9490 * math/test-fenv-preserve.c: New file.
9491 * math/Makefile (tests): Add test-fenv-preserve.
9492
60a2f3c1
WN
94932014-03-26 Will Newton <will.newton@linaro.org>
9494
9495 * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
9496
a5e5f1e2
RM
94972014-03-25 Roland McGrath <roland@hack.frob.com>
9498
9499 * scripts/versionlist.awk: Partition the version sets and emit all
9500 GLIBC_* (sorted) before all others (sorted).
9501
00f4012a
JM
95022014-03-25 Joseph Myers <joseph@codesourcery.com>
9503
9504 * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
9505 GLIBC_2.2.5 version.
9506
7bc5a741
AZ
95072014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9508
9509 * scripts/localplt.awk: Check for PLT generated by internal IFUNC
9510 calls.
9511
7578473b
AZ
9512 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
9513 previous change.
9514
f3f1dab3
AZ
9515 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9516
6da36183
AS
95172014-03-25 Andreas Schwab <schwab@suse.de>
9518
9519 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
9520 label to be used after in6ailist is initialized.
9521
f3f1dab3 95222014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
449282f2 9523
7578473b 9524 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
449282f2
AZ
9525 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
9526
046651c1
JM
95272014-03-25 Joseph Myers <joseph@codesourcery.com>
9528
9529 [BZ #16357]
9530 [BZ #16599]
9531 * math/gen-auto-libm-tests.c (fp_format_desc): Add field
9532 min_plus_half.
9533 (fp_formats): Update initializers.
9534 (init_fp_formats): Initialize new field.
9535 (output_for_one_input_case): Allow underflow for results up to
9536 min_plus_half.
9537 * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
9538 * math/auto-libm-test-in: Don't mark some underflows from asin and
9539 atanh as spurious.
9540 * math/auto-libm-test-out: Regenerated.
9541 * sysdeps/i386/fpu/libm-test-ulps: Update.
9542 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9543
003e49ed
AS
95442014-03-25 Andreas Schwab <schwab@suse.de>
9545
9546 * libio/Makefile (tst-ftell-partial-wide-ENV)
9547 (tst-ftell-active-handler-ENV): Define.
9548
de031874
SL
95492014-03-25 Stefan Liebler <stli@linux.vnet.ibm.com>
9550
9551 * NEWS: Add 16712, 16713, 16714 to fixed bug list.
9552
55a81e3b
PP
95532014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
9554
9555 * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
9556
f3426898
JM
95572014-03-24 Joseph Myers <joseph@codesourcery.com>
9558
9559 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
9560 * sysdeps/x86_64/fpu/multiarch/e_exp.c
9561 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
9562
a42faf59
PP
95632014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
9564
9565 [BZ #16634]
a42faf59 9566 * elf/dl-load.c (open_verify): Add mode parameter.
97d8ca99
CD
9567 Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
9568 (open_path): Change from boolean 'secure' to complete flag 'mode'
9569 (_dl_map_object): Adjust.
a42faf59
PP
9570 * elf/Makefile (tests): Add tst-dlopen-aout.
9571 * elf/tst-dlopen-aout.c: New test.
9572
50936127
SL
95732014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
9574
9575 [BZ #16714]
9576 * sysdeps/unix/sysv/linux/s390/bits/stat.h
9577 (struct stat): Rename member pad0 to __glibc_reserved0.
9578
26011b5c
SL
9579 [BZ #16712]
9580 * sysdeps/s390/s390-32/bits/wordsize.h
9581 (__WORDSIZE32_SIZE_ULONG): New define.
9582 * sysdeps/s390/s390-64/bits/wordsize.h
9583 (__WORDSIZE32_SIZE_ULONG): Likewise.
9584 * sysdeps/generic/stdint.h (SIZE_MAX):
9585 Define as UL if __WORDSIZE32_SIZE_ULONG.
9586
a2d86bf1
SL
9587 [BZ #16713]
9588 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
9589 (__glibc_reserved0): New variable.
9590 (sa_flags): Change type to int.
9591
78b6eebc
SL
9592 * posix/Makefile (before-compile): Use += before-compile instead
9593 of a :=.
9594
f1399b5a
SL
9595 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
9596 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
9597
a071766e
AS
95982014-03-20 Andreas Schwab <schwab@suse.de>
9599
9600 [BZ #16743]
9601 * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
9602 non-matching result from nscd.
9603
27c673b8
SP
96042014-03-24 Siddhesh Poyarekar <siddhesh@redhat.com>
9605
9606 * scripts/bench.py: Moved to ...
9607 * benchtests/scripts/bench.py: ... here.
9608 * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
9609
44152e4b
AS
96102014-03-24 Andreas Schwab <schwab@suse.de>
9611
9612 [BZ #16002]
9613 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
9614 alloca_account and account alloca use for struct in6ailist.
9615
b376a11a
JM
96162014-03-24 Joseph Myers <joseph@codesourcery.com>
9617
9618 [BZ #16284]
9619 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
9620 rounding mode to recompute results that overflow to infinity or
9621 underflow to zero.
9622 * math/auto-libm-test-in: Don't mark tests as expected to fail for
9623 bug 16284.
9624 * math/auto-libm-test-out: Regenerated.
9625 * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
9626 (ccosh_test): Likewise.
9627 (csin_test_data): Use plus_oflow.
9628 (csin_test): Use ALL_RM_TEST.
9629 (csinh_test_data): Use plus_oflow.
9630 (csinh_test): Use ALL_RM_TEST.
9631 * sysdeps/i386/fpu/libm-test-ulps: Update.
9632 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9633
f7be7376
JM
96342014-03-21 Joseph Myers <joseph@codesourcery.com>
9635
1ca2d03e
JM
9636 * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
9637 * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
9638 * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
9639
f7be7376
JM
9640 [BZ #16731]
9641 * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
9642 when x - 1 is zero.
9643 * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
9644 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
9645 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
9646 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
9647 argument is 1.
9648 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
9649 * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
9650 zero.
9651 * math/libm-test.inc (log_test): Use ALL_RM_TEST.
9652 * sysdeps/i386/fpu/libm-test-ulps: Update.
9653 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9654
fdf4534d
SP
96552014-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
9656
df26ea53
SP
9657 * scripts/bench.pl: Remove file.
9658 * scripts/bench.py: New benchmark script.
9659 * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
9660 * benchtests/README: Mention python dependency.
9661 * scripts/pylintrc: New file.
9662 * scripts/pylint: New file.
9663
fdf4534d
SP
9664 * bits/mathdef.h: Use #ifdef instead of #if.
9665 * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
9666 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
9667 * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
9668 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
9669 * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
9670 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
9671
6f23d093
AZ
96722014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9673 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
9674
9675 * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
9676 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
9677 and strpbrk-ppc64 objects.
9678 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9679 (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
9680 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
9681 multiarch strpbrk for POWER7.
9682 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
9683 multiarch strpbrk for PPC64.
9684 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
9685 ifunc selector.
9686 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
9687 strpbrk for POWER7.
9688
8c92dfff
JM
96892014-03-20 Joseph Myers <joseph@codesourcery.com>
9690
9691 * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
9692 (atan_test): Likewise.
9693 (atanh_test_data): Use NO_TEST_INLINE for two tests.
9694 (atanh_test): Use ALL_RM_TEST.
9695 (atan2_test_data): Likewise.
9696 (cabs_test): Likewise.
9697 (cacosh_test): Likewise.
9698 (carg_test): Likewise.
9699 (casin_test): Likewise.
9700 (casinh_test): Likewise.
9701 (cbrt_test): Likewise.
9702 (csqrt_test): Likewise.
9703 (erf_test): Likewise.
9704 (erfc_test): Likewise.
9705 (pow10_test): Likewise.
9706 (exp2_test): Likewise.
9707 (hypot_test): Likewise.
9708 (j0_test): Likewise.
9709 (j1_test): Likewise.
9710 (lgamma_test): Likewise.
9711 (gamma_test): Likewise.
9712 (sincos_test): Likewise.
9713 (tanh_test): Likewise.
9714 (y0_test): Likewise.
9715 (y1_test): Likewise.
9716 * sysdeps/i386/fpu/libm-test-ulps: Update.
9717 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9718
6eaf95cb
AZ
97192014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9720
a387428c
SP
9721 * string/strcspn.c (strcspn): Using macro to redefine symbol name.
9722 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
6eaf95cb
AZ
9723 and strcspn-ppc64 objects.
9724 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9725 (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
9726 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
9727 multiarch strcspn for POWER7.
9728 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
9729 multiarch strcspn for PPC64.
9730 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
9731 ifunc selector.
9732 * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
9733 strcspn for POWER7.
9734
ae3a5dff
JM
97352014-03-20 Joseph Myers <joseph@codesourcery.com>
9736
9737 * math/gen-libm-test.pl (generate_testfile): Expect only function
9738 name as argument to AUTO_TESTS_* and pass results for all rounding
9739 modes to parse_args.
9740 (parse_auto_input): Separate inputs of automatic tests from
9741 outputs before storing in %auto_tests.
9742 * math/libm-test.inc (acos_test_data): Update call to
9743 AUTO_TESTS_f_f.
9744 (acos_test): Use ALL_RM_TEST.
9745 (acos_tonearest_test_data): Remove.
9746 (acos_test_tonearest): Likewise.
9747 (acos_towardzero_test_data): Likewise.
9748 (acos_test_towardzero): Likewise.
9749 (acos_downward_test_data): Likewise.
9750 (acos_test_downward): Likewise.
9751 (acos_upward_test_data): Likewise.
9752 (acos_test_upward): Likewise.
9753 (acosh_test_data): Update call to AUTO_TESTS_f_f.
9754 (asin_test_data): Likewise.
9755 (asin_test): Use ALL_RM_TEST.
9756 (asin_tonearest_test_data): Remove.
9757 (asin_test_tonearest): Likewise.
9758 (asin_towardzero_test_data): Likewise.
9759 (asin_test_towardzero): Likewise.
9760 (asin_downward_test_data): Likewise.
9761 (asin_test_downward): Likewise.
9762 (asin_upward_test_data): Likewise.
9763 (asin_test_upward): Likewise.
9764 (asinh_test_data): Update call to AUTO_TESTS_f_f.
9765 (atan_test_data): Likewise.
9766 (atanh_test_data): Likewise.
9767 (atan2_test_data): Update call to AUTO_TESTS_ff_f.
9768 (cabs_test_data): Update call to AUTO_TESTS_c_f.
9769 (carg_test_data): Likewise.
9770 (cbrt_test_data): Update call to AUTO_TESTS_f_f.
9771 (ccos_test_data): Update call to AUTO_TESTS_c_c.
9772 (ccosh_test_data): Likewise.
9773 (cexp_test_data): Likewise.
9774 (clog_test_data): Likewise.
9775 (clog10_test_data): Likewise.
9776 (cos_test_data): Update call to AUTO_TESTS_f_f.
9777 (cos_test): Use ALL_RM_TEST.
9778 (cos_tonearest_test_data): Remove.
9779 (cos_test_tonearest): Likewise.
9780 (cos_towardzero_test_data): Likewise.
9781 (cos_test_towardzero): Likewise.
9782 (cos_downward_test_data): Likewise.
9783 (cos_test_downward): Likewise.
9784 (cos_upward_test_data): Likewise.
9785 (cos_test_upward): Likewise.
9786 (cosh_test_data): Update call to AUTO_TESTS_f_f.
9787 (cosh_test): Use ALL_RM_TEST.
9788 (cosh_tonearest_test_data): Remove.
9789 (cosh_test_tonearest): Likewise.
9790 (cosh_towardzero_test_data): Likewise.
9791 (cosh_test_towardzero): Likewise.
9792 (cosh_downward_test_data): Likewise.
9793 (cosh_test_downward): Likewise.
9794 (cosh_upward_test_data): Likewise.
9795 (cosh_test_upward): Likewise.
9796 (cpow_test_data): Update call to AUTO_TESTS_cc_c.
9797 (csqrt_test_data): Update call to AUTO_TESTS_c_c.
9798 (ctan_test_data): Likewise.
9799 (ctan_test): Use ALL_RM_TEST.
9800 (ctan_tonearest_test_data): Remove.
9801 (ctan_test_tonearest): Likewise.
9802 (ctan_towardzero_test_data): Likewise.
9803 (ctan_test_towardzero): Likewise.
9804 (ctan_downward_test_data): Likewise.
9805 (ctan_test_downward): Likewise.
9806 (ctan_upward_test_data): Likewise.
9807 (ctan_test_upward): Likewise.
9808 (ctanh_test_data): Update call to AUTO_TESTS_c_c.
9809 (ctanh_test): Use ALL_RM_TEST.
9810 (ctanh_tonearest_test_data): Remove.
9811 (ctanh_test_tonearest): Likewise.
9812 (ctanh_towardzero_test_data): Likewise.
9813 (ctanh_test_towardzero): Likewise.
9814 (ctanh_downward_test_data): Likewise.
9815 (ctanh_test_downward): Likewise.
9816 (ctanh_upward_test_data): Likewise.
9817 (ctanh_test_upward): Likewise.
9818 (erf_test_data): Update call to AUTO_TESTS_f_f.
9819 (erfc_test_data): Likewise.
9820 (exp_test_data): Likewise.
9821 (exp_test): Use ALL_RM_TEST.
9822 (exp_tonearest_test_data): Remove.
9823 (exp_test_tonearest): Likewise.
9824 (exp_towardzero_test_data): Likewise.
9825 (exp_test_towardzero): Likewise.
9826 (exp_downward_test_data): Likewise.
9827 (exp_test_downward): Likewise.
9828 (exp_upward_test_data): Likewise.
9829 (exp_test_upward): Likewise.
9830 (exp10_test_data): Update call to AUTO_TESTS_f_f.
9831 (exp10_test): Use ALL_RM_TEST.
9832 (exp10_tonearest_test_data): Remove.
9833 (exp10_test_tonearest): Likewise.
9834 (exp10_towardzero_test_data): Likewise.
9835 (exp10_test_towardzero): Likewise.
9836 (exp10_downward_test_data): Likewise.
9837 (exp10_test_downward): Likewise.
9838 (exp10_upward_test_data): Likewise.
9839 (exp10_test_upward): Likewise.
9840 (exp2_test_data): Update call to AUTO_TESTS_f_f.
9841 (expm1_test_data): Likewise.
9842 (expm1_test): Use ALL_RM_TEST.
9843 (expm1_tonearest_test_data): Remove.
9844 (expm1_test_tonearest): Likewise.
9845 (expm1_towardzero_test_data): Likewise.
9846 (expm1_test_towardzero): Likewise.
9847 (expm1_downward_test_data): Likewise.
9848 (expm1_test_downward): Likewise.
9849 (expm1_upward_test_data): Likewise.
9850 (expm1_test_upward): Likewise.
9851 (fma_test_data): Update call to AUTO_TESTS_fff_f.
9852 (fma_test): Use ALL_RM_TEST.
9853 (fma_towardzero_test_data): Remove.
9854 (fma_test_towardzero): Likewise.
9855 (fma_downward_test_data): Likewise.
9856 (fma_test_downward): Likewise.
9857 (fma_upward_test_data): Likewise.
9858 (fma_test_upward): Likewise.
9859 (hypot_test_data): Update call to AUTO_TESTS_ff_f.
9860 (j0_test_data): Update call to AUTO_TESTS_f_f.
9861 (j1_test_data): Likewise.
9862 (jn_test_data): Update call to AUTO_TESTS_if_f.
9863 (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
9864 (log_test_data): Update call to AUTO_TESTS_f_f.
9865 (log10_test_data): Likewise.
9866 (log1p_test_data): Likewise.
9867 (log2_test_data): Likewise.
9868 (pow_test_data): Update call to AUTO_TESTS_ff_f.
9869 (pow_tonearest_test_data): Likewise.
9870 (sin_test_data): Update call to AUTO_TESTS_f_f.
9871 (sin_test): Use ALL_RM_TEST.
9872 (sin_tonearest_test_data): Remove.
9873 (sin_test_tonearest): Likewise.
9874 (sin_towardzero_test_data): Likewise.
9875 (sin_test_towardzero): Likewise.
9876 (sin_downward_test_data): Likewise.
9877 (sin_test_downward): Likewise.
9878 (sin_upward_test_data): Likewise.
9879 (sin_test_upward): Likewise.
9880 (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
9881 (sinh_test_data): Update call to AUTO_TESTS_f_f.
9882 (sinh_test): Use ALL_RM_TEST.
9883 (sinh_tonearest_test_data): Remove.
9884 (sinh_test_tonearest): Likewise.
9885 (sinh_towardzero_test_data): Likewise.
9886 (sinh_test_towardzero): Likewise.
9887 (sinh_downward_test_data): Likewise.
9888 (sinh_test_downward): Likewise.
9889 (sinh_upward_test_data): Likewise.
9890 (sinh_test_upward): Likewise.
9891 (sqrt_test_data): Update call to AUTO_TESTS_f_f.
9892 (sqrt_test): Use ALL_RM_TEST.
9893 (sqrt_tonearest_test_data): Remove.
9894 (sqrt_test_tonearest): Likewise.
9895 (sqrt_towardzero_test_data): Likewise.
9896 (sqrt_test_towardzero): Likewise.
9897 (sqrt_downward_test_data): Likewise.
9898 (sqrt_test_downward): Likewise.
9899 (sqrt_upward_test_data): Likewise.
9900 (sqrt_test_upward): Likewise.
9901 (tan_test_data): Update call to AUTO_TESTS_f_f.
9902 (tan_test): Use ALL_RM_TEST.
9903 (tan_tonearest_test_data): Remove.
9904 (tan_test_tonearest): Likewise.
9905 (tan_towardzero_test_data): Likewise.
9906 (tan_test_towardzero): Likewise.
9907 (tan_downward_test_data): Likewise.
9908 (tan_test_downward): Likewise.
9909 (tan_upward_test_data): Likewise.
9910 (tan_test_upward): Likewise.
9911 (tanh_test_data): Update call to AUTO_TESTS_f_f.
9912 (tgamma_test_data): Likewise.
9913 (y0_test_data): Likewise.
9914 (y1_test_data): Likewise.
9915 (yn_test_data): Update call to AUTO_TESTS_if_f.
9916 (main): Do not call removed functions.
9917
d71aeee8
JM
99182014-03-19 Joseph Myers <joseph@codesourcery.com>
9919
9920 * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
9921 (ldexp_test_data): Remove.
9922 (ldexp_test): Move to after scalbn_test. Use ALL_RM_TEST with
9923 scalbn_test_data.
9924 (scalb_test): Use ALL_RM_TEST.
9925
baaf1ded
AS
99262014-03-19 Andreas Schwab <schwab@suse.de>
9927
9928 * nscd/nscd.service: Also invalidate netgroup cache on reload.
9929
b1115e91
JM
99302014-03-19 Joseph Myers <joseph@codesourcery.com>
9931
9932 [BZ #16649]
9933 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
9934 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
9935 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
9936 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
9937 (__ASSUME_PREADV): Undefine.
9938 (__ASSUME_PWRITEV): Likewise.
9939
0283ecca
RM
99402014-03-18 Roland McGrath <roland@hack.frob.com>
9941
7d375303
RM
9942 * bits/mman-linux.h: Add comment about non-Linux use.
9943 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
9944 bits/mman-linux.h resting place.
9945
0283ecca
RM
9946 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
9947 * bits/mman-linux.h: ... here.
9948
aebe1003
AZ
99492014-03-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9950
9951 * conform/conformtest.pl: Add standard definition when calling C
9952 preprocessor on data files.
9953 (checknamespace): Remove unused variable.
9954
b29b6bb8
JM
99552014-03-18 Joseph Myers <joseph@codesourcery.com>
9956
9957 * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
9958 minus_oflow, plus_uflow and minus_uflow in expected results.
9959 * math/libm-test.inc (scalbn_test_data): Add more tests of
9960 negative arguments. Use plus_oflow, minus_oflow, plus_uflow and
9961 minus_uflow.
9962 (scalbn_test): Use ALL_RM_TEST.
9963 (scalbln_test_data): Add more tests of negative arguments. Use
9964 plus_oflow, minus_oflow, plus_uflow and minus_uflow.
9965 (scalbln_test): Use ALL_RM_TEST.
9966
c8f8fa15
RM
99672014-03-18 Roland McGrath <roland@hack.frob.com>
9968
9969 * scripts/abilist.awk: Ignore symbols marked with .hidden.
9970
fede7a5f
WN
99712014-03-18 Will Newton <will.newton@linaro.org>
9972
9973 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
9974 inaccurate comment.
9975
80cf0a58
JM
99762014-03-18 Joseph Myers <joseph@codesourcery.com>
9977
9978 * Makerules [!subdir] (check-abi): Exit with error status if a
9979 test failed.
9980
b3620862
JM
99812014-03-17 Joseph Myers <joseph@codesourcery.com>
9982
9983 * math/libm-test.inc (nearbyint_test_data): Include all tests used
9984 for rint. Include results for all rounding modes.
9985 (nearbyint_test): Use ALL_RM_TEST.
9986 (rint_test_data): Include all tests used for nearbyint.
9987
788bba36
WN
99882014-03-17 Will Newton <will.newton@linaro.org>
9989
04ec140a
WN
9990 * nptl/sysdeps/pthread/pthread.h: Revert previous
9991 change.
9992
7579d8d5
WN
9993 * sysdeps/generic/ldsodefs.h: Revert previous
9994 change.
9995
c15cf13a
WN
9996 * libio/genops.c: Revert previous change.
9997 * libio/libioP.h: Likewise.
9998 * stdio-common/vfprintf.c: Likewise.
9999
d0ac1324
WN
10000 * sysdeps/generic/math_private.h: Revert previous
10001 change.
10002
9290130a
WN
10003 * sysdeps/generic/math_private.h: Check whether
10004 HAVE_RM_CTX is defined with #ifdef rather
10005 than #if.
10006
afb466fc
WN
10007 * argp/argp-fmtstream.h: Check whether
10008 __STRICT_ANSI__ is defined with #ifdef rather
10009 than #if.
10010 * argp/argp.h: Likewise.
10011
f7efd7c3
WN
10012 * libio/genops.c: Check whether
10013 _IO_JUMPS_OFFSET is defined with #ifdef rather
10014 than #if.
10015 * libio/libioP.h: Likewise.
10016 * stdio-common/vfprintf.c: Likewise.
10017
53f1bed3
WN
10018 * sysdeps/generic/ldsodefs.h: Check whether
10019 HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
10020 than #if.
10021
788bba36
WN
10022 * nptl/sysdeps/pthread/pthread.h: Check
10023 __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
10024 its value.
10025
fcd89ebe
SP
100262014-03-17 Siddhesh Poyarekar <siddhesh@redhat.com>
10027
ae42bbc5
SP
10028 * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
10029 setting O_APPEND.
10030 * libio/tst-ftell-active-handler.c (do_append_test): Add a
10031 test case.
10032
ea33158c
SP
10033 [BZ #16680]
10034 * libio/fileops.c (_IO_file_open): Seek to end of file but
10035 don't cache the offset.
10036 (get_file_offset): Remove function.
10037 (do_ftell): Use cached offset when available.
10038 * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
10039 don't cache the offset.
10040 * libio/tst-ftell-active-handler.c (do_rewind_test): New test
10041 case.
10042 (do_one_test): Call it.
10043 (do_ftell_test): Fix up expected old offset for a+ mode.
10044 * libio/wfileops.c (do_ftell_wide): Used cached offset when
10045 available.
10046
b1dbb426
SP
10047 * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
10048 up test status with function return status.
10049 (do_write_test): Likewise.
10050 (do_append_test): Likewise.
10051
fcd89ebe
SP
10052 * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
10053 && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
10054 Remove.
10055
9962a2d3
JM
100562014-03-17 Joseph Myers <joseph@codesourcery.com>
10057
10058 * math/gen-libm-test.pl (parse_args): Handle results specified for
10059 each rounding mode separately.
10060 * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
10061 tests and results from lrint_tonearest_test_data,
10062 lrint_towardzero_test_data, lrint_downward_test_data and
10063 lrint_upward_test_data.
10064 (lrint_test): Use ALL_RM_TEST.
10065 (lrint_tonearest_test_data): Remove.
10066 (lrint_test_tonearest): Likewise.
10067 (lrint_towardzero_test_data): Likewise.
10068 (lrint_test_towardzero): Likewise.
10069 (lrint_downward_test_data): Likewise.
10070 (lrint_test_downward): Likewise.
10071 (lrint_upward_test_data): Likewise.
10072 (lrint_test_upward): Likewise.
10073 (llrint_test_data): Merge in per-rounding-mode tests and results
10074 from llrint_tonearest_test_data, llrint_towardzero_test_data,
10075 llrint_downward_test_data and llrint_upward_test_data.
10076 (llrint_test): Use ALL_RM_TEST.
10077 (llrint_tonearest_test_data): Remove.
10078 (llrint_test_tonearest): Likewise.
10079 (llrint_towardzero_test_data): Likewise.
10080 (llrint_test_towardzero): Likewise.
10081 (llrint_downward_test_data): Likewise.
10082 (llrint_test_downward): Likewise.
10083 (llrint_upward_test_data): Likewise.
10084 (llrint_test_upward): Likewise.
10085 (rint_test_data): Merge in per-rounding-mode tests and results
10086 from rint_tonearest_test_data, rint_towardzero_test_data,
10087 rint_downward_test_data and rint_upward_test_data. Add
10088 per-rounding-mode results for tests not in those arrays.
10089 (rint_test): Use ALL_RM_TEST.
10090 (rint_tonearest_test_data): Remove.
10091 (rint_test_tonearest): Likewise.
10092 (rint_towardzero_test_data): Likewise.
10093 (rint_test_towardzero): Likewise.
10094 (rint_downward_test_data): Likewise.
10095 (rint_test_downward): Likewise.
10096 (rint_upward_test_data): Likewise.
10097 (rint_test_upward): Likewise.
10098 (main): Don't call removed functions.
10099
5006148e
RM
101002014-03-14 Roland McGrath <roland@hack.frob.com>
10101
10102 * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
10103 "Compiled on ..." crapola. It is anti-useful.
10104
d6fe5e58
JM
101052014-03-14 Joseph Myers <joseph@codesourcery.com>
10106
10107 * scripts/evaluate-test.sh: Handle fourth argument to determine
10108 whether test run should stop on failure.
10109 * Makeconfig (stop-on-test-failure): New variable.
10110 (evaluate-test): Pass fourth argument to evaluate-test.sh based on
10111 $(stop-on-test-failure).
10112 * Makefile (tests): Give a summary of results from testing and
10113 exit with failure status if they include an ERROR or FAIL.
10114 (xtests): Likewise.
10115 * manual/install.texi (Configuring and compiling): Mention
10116 stop-on-test-failure=y.
10117 * INSTALL: Regenerated.
10118
498a2233
RM
101192014-03-14 Roland McGrath <roland@hack.frob.com>
10120
22dbc19d
RM
10121 * scripts/versionlist.awk: New file.
10122 * Makerules [$(build-shared) = yes]
10123 (postclean-generated): Add Versions.def, not Versions.def.v and
10124 Versions.def.v.i.
10125 ($(common-objpfx)Versions.def.v.i): Target removed.
10126 ($(common-objpfx)Versions.def): New target.
10127 ($(common-objpfx)Versions.all): Depend on that rather that
10128 $(common-objpfx)Versions.def.v.
10129 * Versions.def: File removed.
10130
498a2233
RM
10131 * Makeconfig (+gccwarn): Add -Wundef.
10132 * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
10133 a dl-sysdep.h breaking its contract.
10134 [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
10135 * include/stackinfo.h: New file.
10136 * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
10137 * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
10138 * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
10139 * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
10140 * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
10141 * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
10142 * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
10143 * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
10144 * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
10145 * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
10146 * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
10147 * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
10148 * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
10149 * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
10150 * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
10151
c7de5025
AZ
101522014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10153
10154 [BZ #16707]
10155 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
10156 implementation.
10157 * math/libm-test.inc (round_test_data): Add more tests.
10158
98fb27a3
AZ
10159 [BZ #16706]
10160 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
10161 implementation.
10162 * math/libm-test.inc (nearbyint_test_data): Add more tests.
10163
374f7f61
AZ
10164 [BZ #16701]
10165 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
10166 implementation.
10167 * math/libm-test.inc (ceil_test_data): Add more tests.
10168
4655c291
AZ
10169 * math/libm-test.inc (trunc_test_data): Add more tests related to
10170 BZ#16414.
10171
d7329d4b
RM
101722014-03-14 Roland McGrath <roland@hack.frob.com>
10173
10174 * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
10175 with #if rather than #ifdef.
10176 * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
10177
aa4de9ce
L
101782014-03-14 H.J. Lu <hongjiu.lu@intel.com>
10179
10180 * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
10181 first. Disable AVX-512 GCC support if assembler doesn't support
10182 it.
10183 * sysdeps/x86_64/configure: Regenerated.
10184
2e03fae7
CD
101852014-03-13 Carlos O'Donell <carlos@redhat.com>
10186
10187 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
10188 [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
10189 (__old_pthread_attr_setstack): Likewise.
10190 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
10191 [!_STACK_GROWS_DOWN]: Likewise.
10192
43ca83ec
MF
101932014-03-13 Mike Frysinger <vapier@gentoo.org>
10194
10195 * config.make.in (have-bash2): Delete.
10196 * configure.ac (libc_cv_have_bash2): Delete.
10197 * configure: Regenerate.
10198 * elf/Makefile (common-ldd-rewrite): Rename to ...
10199 (ldd-rewrite): ... this. Move bash-ldd-rewrite content to end.
10200 (sh-ldd-rewrite): Delete.
10201 (bash-ldd-rewrite): Delete.
10202 (have-bash2): Delete checks.
57f41c40
AS
10203 [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
10204 ldd-rewrite.
c66e48b4
MF
10205
10206 * config.make.in (have-ksh): Delete.
10207 (KSH): Delete.
10208 * configure.ac (libc_cv_have_ksh): Delete.
10209 * configure: Regenerate.
10210
b93834ef
MF
10211 * elf/Makefile: Delete $(have-ksh) check.
10212 ($(objpfx)sotruss): Change KSH to BASH.
10213 * elf/sotruss.ksh: Rename to ...
10214 * elf/sotruss.sh: ... this. Change @KSH@ to @BASH@. Change
10215 function style to match POSIX. Drop ksh vim mode setting.
10216
f3a4632a
MF
10217 * manual/time.texi (Specifying the Time Zone with TZ): Change
10218 Tuesday to Thursday.
10219
5896c8bd
MF
10220 * debug/tst-longjmp_chk2.c: Update header comment.
10221 (stackoverflow_handler): Add comment. Call assert on pass value.
10222
2d63a517
IZ
102232014-03-13 Igor Zamyatin <igor.zamyatin@intel.com>
10224
7e54fd04 10225 [BZ #16194]
2d63a517
IZ
10226 * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
10227 (HAVE_AVX512_ASM_SUPPORT): Likewise.
10228 * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
10229 (La_x86_64_vector): Add zmm.
10230 * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
10231 (modules-names): Add tst-auditmod10a and tst-auditmod10b.
10232 ($(objpfx)tst-audit10): New target.
10233 ($(objpfx)tst-audit10.out): Likewise.
10234 (tst-audit10-ENV): New.
10235 (AVX512-CFLAGS): Likewise.
10236 (CFLAGS-tst-audit10.c): Likewise.
10237 (CFLAGS-tst-auditmod10a.c): Likewise.
10238 (CFLAGS-tst-auditmod10b.c): Likewise.
10239 * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
10240 HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
10241 * sysdeps/x86_64/configure: Regenerated.
10242 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
10243 AVX-512 zmm register support.
10244 (_dl_x86_64_save_sse): Likewise.
10245 (_dl_x86_64_restore_sse): Likewise.
10246 * sysdeps/x86_64/dl-trampoline.h: Updated to support different
10247 size vector registers.
10248 * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
10249 (ZMM_SIZE): Likewise.
10250 * sysdeps/x86_64/tst-audit10.c: New file.
10251 * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
10252 * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
10253
44c4e5d5
RM
102542014-03-13 Roland McGrath <roland@hack.frob.com>
10255
10256 * configure.ac (HAVE_EHDR_START): New check.
10257 * configure: Regenerated.
10258 * config.h.in (HAVE_EHDR_START): New #undef.
10259 * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
10260 assuming the lowest-addressed segment maps the start of the file.
10261
acd6e389
JM
102622014-03-13 Joseph Myers <joseph@codesourcery.com>
10263
10264 * INSTALL: Regenerated.
10265
6f918f36
WN
102662014-03-13 Will Newton <will.newton@linaro.org>
10267
10268 * manual/setjmp.texi (System V contexts): Improve
10269 clarity and grammar of documentation.
10270
798212a0
PP
102712014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com>
10272
10273 [BZ #16381]
798212a0 10274 * elf/Makefile (tests): Add tst-pie2.
2e03fae7 10275 (tests-pie): Add tst-pie2.
798212a0
PP
10276 * elf/tst-pie2.c: New file.
10277 * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
10278 for ET_EXEC.
10279 * elf/rtld.c (map_doit): Load executable as lt_executable.
10280 (dl_main): Likewise.
10281
abe6d90c
JM
102822014-03-12 Joseph Myers <joseph@codesourcery.com>
10283
10284 [BZ #16642]
10285 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
10286 (__ASSUME_PSELECT): Undefine.
10287
dd3946c6
AZ
102882014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10289
10290 [BZ #16689]
10291 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
10292 (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
10293 static build.
10294 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
10295 selector for static builds.
10296
c44496df
SP
102972014-03-12 Siddhesh Poyarekar <siddhesh@redhat.com>
10298
10299 [BZ #16695]
10300 * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
10301 key in the buffer.
10302
27c7220a
AZ
103032014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10304
57f41c40
AS
10305 * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
10306 IFUNC selector for static builds.
27c7220a 10307
600fa361
JM
103082014-03-11 Joseph Myers <joseph@codesourcery.com>
10309
76c96cf7
JM
10310 * sysdeps/mips/math_private.h [__mips_hard_float]
10311 (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
10312 libc_feresetround_mips_ctx.
10313 [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
10314 [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
10315 [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
10316
600fa361
JM
10317 [BZ #16677]
10318 * math/s_nextafter.c (__nextafter): Do not return value from
10319 overflowing computation.
10320 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
10321 * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
10322 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
10323 Likewise.
10324 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
10325 Likewise.
10326 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
10327 * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
10328
d7706c32
RM
103292014-03-11 Roland McGrath <roland@hack.frob.com>
10330
10331 * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
10332 * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
10333 Move sfi_sp use from the load-multiple (that no longer sets sp) to
10334 the new mov targetting sp.
10335
4facea47
AZ
103362014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10337
10338 [BZ #16683]
10339 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
10340 Define it for static builds as well.
10341 (NO_BZERO_IMPL): Likewise.
10342
e65caf1f
VR
103432014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
10344
10345 * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
10346 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
10347 multiarch strspn for PPC64.
10348 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
10349 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
10350 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
10351 (__libc_ifunc_impl_list): Likewise.
10352 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
10353 multiarch optimizations
10354 * string/strspn.c (strspn): Using macro to redefine symbol name.
10355
ba9cc071
AZ
103562014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
10357 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10358
10359 * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
10360 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
10361 multiarch strncat for PPC64.
10362 * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
10363 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
10364 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
10365 (__libc_ifunc_impl_list): Likewise.
10366 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
10367 multiarch optimizations
10368
8b4ff974
SP
103692014-03-10 Siddhesh Poyarekar <siddhesh@redhat.com>
10370
10371 [BZ #16639]
10372 * nscd/nscd.service: Make service type forking.
10373
54b46a4b
AZ
103742014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10375
10376 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
10377 sign in non default rounding modes.
10378 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
10379
e9996ef7
JM
103802014-03-08 Joseph Myers <joseph@codesourcery.com>
10381
10382 * math/libm-test.inc (ALL_RM_TEST): New macro.
10383 (ceil_test): Use ALL_RM_TEST.
10384 (cimag_test): Likewise.
10385 (conj_test): Likewise.
10386 (copysign_test): Likewise.
10387 (cproj_test): Likewise.
10388 (creal_test): Likewise.
10389 (fabs_test): Likewise.
10390 (floor_test): Likewise.
10391 (fmax_test): Likewise.
10392 (fmin_test): Likewise.
10393 (fmod_test): Likewise.
10394 (fpclassify_test): Likewise.
10395 (frexp_test): Likewise.
10396 (ilogb_test): Likewise.
10397 (isfinite_test): Likewise.
10398 (finite_test): Likewise.
10399 (isgreater_test): Likewise.
10400 (isgreaterequal_test): Likewise.
10401 (isinf_test): Likewise.
10402 (isless_test): Likewise.
10403 (islessequal_test): Likewise.
10404 (islessgreater_test): Likewise.
10405 (isnan_test): Likewise.
10406 (isnormal_test): Likewise.
10407 (issignaling_test): Likewise.
10408 (isunordered_test): Likewise.
10409 (logb_test): Likewise.
10410 (logb_downward_test_data): Remove.
10411 (logb_test_downward): Likewise.
10412 (lround_test): Use ALL_RM_TEST.
10413 (llround_test): Likewise.
10414 (modf_test): Likewise.
10415 (nexttoward_test): Likewise.
10416 (remainder_test): Likewise.
10417 (drem_test): Likewise.
10418 (remainder_tonearest_test_data): Likewise.
10419 (remainder_test_tonearest): Likewise.
10420 (drem_test_tonearest): Likewise.
10421 (remainder_towardzero_test_data): Likewise.
10422 (remainder_test_towardzero): Likewise.
10423 (drem_test_towardzero): Likewise.
10424 (remainder_downward_test_data): Likewise.
10425 (remainder_test_downward): Likewise.
10426 (drem_test_downward): Likewise.
10427 (remainder_upward_test_data): Likewise.
10428 (remainder_test_upward): Likewise.
10429 (drem_test_upward): Likewise.
10430 (remquo_test): Use ALL_RM_TEST. Remove comment about x.
10431 (round_test): Use ALL_RM_TEST.
10432 (signbit_test): Likewise.
10433 (trunc_test): Likewise.
10434 (significand_test): Likewise.
10435 (main): Don't call removed functions.
10436
bc61d27c
JM
104372014-03-07 Joseph Myers <joseph@codesourcery.com>
10438
5c780849
JM
10439 [BZ #16674]
10440 * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
10441 || __USE_XOPEN2K8].
10442 (ILL_ILLOPN): Likewise.
10443 (ILL_ILLADR): Likewise.
10444 (ILL_ILLTRP): Likewise.
10445 (ILL_PRVOPC): Likewise.
10446 (ILL_PRVREG): Likewise.
10447 (ILL_COPROC): Likewise.
10448 (ILL_BADSTK): Likewise.
10449 (FPE_INTDIV): Likewise.
10450 (FPE_INTOVF): Likewise.
10451 (FPE_FLTDIV): Likewise.
10452 (FPE_FLTOVF): Likewise.
10453 (FPE_FLTUND): Likewise.
10454 (FPE_FLTRES): Likewise.
10455 (FPE_FLTINV): Likewise.
10456 (FPE_FLTSUB): Likewise.
10457 (SEGV_MAPERR): Likewise.
10458 (SEGV_ACCERR): Likewise.
10459 (BUS_ADRALN): Likewise.
10460 (BUS_ADRERR): Likewise.
10461 (BUS_OBJERR): Likewise.
10462 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
10463 (TRAP_TRACE): Likewise.
10464 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
10465 __USE_XOPEN2K8].
10466 (CLD_KILLED): Likewise.
10467 (CLD_DUMPED): Likewise.
10468 (CLD_TRAPPED): Likewise.
10469 (CLD_STOPPED): Likewise.
10470 (CLD_CONTINUED): Likewise.
10471 (POLL_IN): Likewise.
10472 (POLL_OUT): Likewise.
10473 (POLL_MSG): Likewise.
10474 (POLL_ERR): Likewise.
10475 (POLL_PRI): Likewise.
10476 (POLL_HUP): Likewise.
10477 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
10478 Likewise.
10479 (ILL_ILLOPN): Likewise.
10480 (ILL_ILLADR): Likewise.
10481 (ILL_ILLTRP): Likewise.
10482 (ILL_PRVOPC): Likewise.
10483 (ILL_PRVREG): Likewise.
10484 (ILL_COPROC): Likewise.
10485 (ILL_BADSTK): Likewise.
10486 (FPE_INTDIV): Likewise.
10487 (FPE_INTOVF): Likewise.
10488 (FPE_FLTDIV): Likewise.
10489 (FPE_FLTOVF): Likewise.
10490 (FPE_FLTUND): Likewise.
10491 (FPE_FLTRES): Likewise.
10492 (FPE_FLTINV): Likewise.
10493 (FPE_FLTSUB): Likewise.
10494 (SEGV_MAPERR): Likewise.
10495 (SEGV_ACCERR): Likewise.
10496 (BUS_ADRALN): Likewise.
10497 (BUS_ADRERR): Likewise.
10498 (BUS_OBJERR): Likewise.
10499 (BUS_MCEERR_AR): Likewise.
10500 (BUS_MCEERR_AO): Likewise.
10501 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
10502 (TRAP_TRACE): Likewise.
10503 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
10504 __USE_XOPEN2K8].
10505 (CLD_KILLED): Likewise.
10506 (CLD_DUMPED): Likewise.
10507 (CLD_TRAPPED): Likewise.
10508 (CLD_STOPPED): Likewise.
10509 (CLD_CONTINUED): Likewise.
10510 (POLL_IN): Likewise.
10511 (POLL_OUT): Likewise.
10512 (POLL_MSG): Likewise.
10513 (POLL_ERR): Likewise.
10514 (POLL_PRI): Likewise.
10515 (POLL_HUP): Likewise.
10516 * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
10517 (ILL_ILLOPN): Likewise.
10518 (ILL_ILLADR): Likewise.
10519 (ILL_ILLTRP): Likewise.
10520 (ILL_PRVOPC): Likewise.
10521 (ILL_PRVREG): Likewise.
10522 (ILL_COPROC): Likewise.
10523 (ILL_BADSTK): Likewise.
10524 (FPE_INTDIV): Likewise.
10525 (FPE_INTOVF): Likewise.
10526 (FPE_FLTDIV): Likewise.
10527 (FPE_FLTOVF): Likewise.
10528 (FPE_FLTUND): Likewise.
10529 (FPE_FLTRES): Likewise.
10530 (FPE_FLTINV): Likewise.
10531 (FPE_FLTSUB): Likewise.
10532 (SEGV_MAPERR): Likewise.
10533 (SEGV_ACCERR): Likewise.
10534 (BUS_ADRALN): Likewise.
10535 (BUS_ADRERR): Likewise.
10536 (BUS_OBJERR): Likewise.
10537 (BUS_MCEERR_AR): Likewise.
10538 (BUS_MCEERR_AO): Likewise.
10539 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
10540 (TRAP_TRACE): Likewise.
10541 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
10542 __USE_XOPEN2K8].
10543 (CLD_KILLED): Likewise.
10544 (CLD_DUMPED): Likewise.
10545 (CLD_TRAPPED): Likewise.
10546 (CLD_STOPPED): Likewise.
10547 (CLD_CONTINUED): Likewise.
10548 (POLL_IN): Likewise.
10549 (POLL_OUT): Likewise.
10550 (POLL_MSG): Likewise.
10551 (POLL_ERR): Likewise.
10552 (POLL_PRI): Likewise.
10553 (POLL_HUP): Likewise.
10554 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
10555 Likewise.
10556 (ILL_ILLOPN): Likewise.
10557 (ILL_ILLADR): Likewise.
10558 (ILL_ILLTRP): Likewise.
10559 (ILL_PRVOPC): Likewise.
10560 (ILL_PRVREG): Likewise.
10561 (ILL_COPROC): Likewise.
10562 (ILL_BADSTK): Likewise.
10563 (ILL_BADIADDR): Likewise.
10564 (ILL_BREAK): Likewise.
10565 (FPE_INTDIV): Likewise.
10566 (FPE_INTOVF): Likewise.
10567 (FPE_FLTDIV): Likewise.
10568 (FPE_FLTOVF): Likewise.
10569 (FPE_FLTUND): Likewise.
10570 (FPE_FLTRES): Likewise.
10571 (FPE_FLTINV): Likewise.
10572 (FPE_FLTSUB): Likewise.
10573 (FPE_DECOVF): Likewise.
10574 (FPE_DECDIV): Likewise.
10575 (FPE_DECERR): Likewise.
10576 (FPE_INVASC): Likewise.
10577 (FPE_INVDEC): Likewise.
10578 (SEGV_MAPERR): Likewise.
10579 (SEGV_ACCERR): Likewise.
10580 (SEGV_PSTKOVF): Likewise.
10581 (BUS_ADRALN): Likewise.
10582 (BUS_ADRERR): Likewise.
10583 (BUS_OBJERR): Likewise.
10584 (BUS_MCEERR_AR): Likewise.
10585 (BUS_MCEERR_AO): Likewise.
10586 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
10587 (TRAP_TRACE): Likewise.
10588 (TRAP_BRANCH): Likewise.
10589 (TRAP_HWBKPT): Likewise.
10590 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
10591 __USE_XOPEN2K8].
10592 (CLD_KILLED): Likewise.
10593 (CLD_DUMPED): Likewise.
10594 (CLD_TRAPPED): Likewise.
10595 (CLD_STOPPED): Likewise.
10596 (CLD_CONTINUED): Likewise.
10597 (POLL_IN): Likewise.
10598 (POLL_OUT): Likewise.
10599 (POLL_MSG): Likewise.
10600 (POLL_ERR): Likewise.
10601 (POLL_PRI): Likewise.
10602 (POLL_HUP): Likewise.
10603 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
10604 (ILL_ILLOPN): Likewise.
10605 (ILL_ILLADR): Likewise.
10606 (ILL_ILLTRP): Likewise.
10607 (ILL_PRVOPC): Likewise.
10608 (ILL_PRVREG): Likewise.
10609 (ILL_COPROC): Likewise.
10610 (ILL_BADSTK): Likewise.
10611 (FPE_INTDIV): Likewise.
10612 (FPE_INTOVF): Likewise.
10613 (FPE_FLTDIV): Likewise.
10614 (FPE_FLTOVF): Likewise.
10615 (FPE_FLTUND): Likewise.
10616 (FPE_FLTRES): Likewise.
10617 (FPE_FLTINV): Likewise.
10618 (FPE_FLTSUB): Likewise.
10619 (SEGV_MAPERR): Likewise.
10620 (SEGV_ACCERR): Likewise.
10621 (BUS_ADRALN): Likewise.
10622 (BUS_ADRERR): Likewise.
10623 (BUS_OBJERR): Likewise.
10624 (BUS_MCEERR_AR): Likewise.
10625 (BUS_MCEERR_AO): Likewise.
10626 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
10627 (TRAP_TRACE): Likewise.
10628 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
10629 __USE_XOPEN2K8].
10630 (CLD_KILLED): Likewise.
10631 (CLD_DUMPED): Likewise.
10632 (CLD_TRAPPED): Likewise.
10633 (CLD_STOPPED): Likewise.
10634 (CLD_CONTINUED): Likewise.
10635 (POLL_IN): Likewise.
10636 (POLL_OUT): Likewise.
10637 (POLL_MSG): Likewise.
10638 (POLL_ERR): Likewise.
10639 (POLL_PRI): Likewise.
10640 (POLL_HUP): Likewise.
10641 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
10642 (ILL_ILLOPN): Likewise.
10643 (ILL_ILLADR): Likewise.
10644 (ILL_ILLTRP): Likewise.
10645 (ILL_PRVOPC): Likewise.
10646 (ILL_PRVREG): Likewise.
10647 (ILL_COPROC): Likewise.
10648 (ILL_BADSTK): Likewise.
10649 (FPE_INTDIV): Likewise.
10650 (FPE_INTOVF): Likewise.
10651 (FPE_FLTDIV): Likewise.
10652 (FPE_FLTOVF): Likewise.
10653 (FPE_FLTUND): Likewise.
10654 (FPE_FLTRES): Likewise.
10655 (FPE_FLTINV): Likewise.
10656 (FPE_FLTSUB): Likewise.
10657 (SEGV_MAPERR): Likewise.
10658 (SEGV_ACCERR): Likewise.
10659 (BUS_ADRALN): Likewise.
10660 (BUS_ADRERR): Likewise.
10661 (BUS_OBJERR): Likewise.
10662 (BUS_MCEERR_AR): Likewise.
10663 (BUS_MCEERR_AO): Likewise.
10664 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
10665 (TRAP_TRACE): Likewise.
10666 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
10667 __USE_XOPEN2K8].
10668 (CLD_KILLED): Likewise.
10669 (CLD_DUMPED): Likewise.
10670 (CLD_TRAPPED): Likewise.
10671 (CLD_STOPPED): Likewise.
10672 (CLD_CONTINUED): Likewise.
10673 (POLL_IN): Likewise.
10674 (POLL_OUT): Likewise.
10675 (POLL_MSG): Likewise.
10676 (POLL_ERR): Likewise.
10677 (POLL_PRI): Likewise.
10678 (POLL_HUP): Likewise.
10679 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
10680 (ILL_ILLOPN): Likewise.
10681 (ILL_ILLADR): Likewise.
10682 (ILL_ILLTRP): Likewise.
10683 (ILL_PRVOPC): Likewise.
10684 (ILL_PRVREG): Likewise.
10685 (ILL_COPROC): Likewise.
10686 (ILL_BADSTK): Likewise.
10687 (FPE_INTDIV): Likewise.
10688 (FPE_INTOVF): Likewise.
10689 (FPE_FLTDIV): Likewise.
10690 (FPE_FLTOVF): Likewise.
10691 (FPE_FLTUND): Likewise.
10692 (FPE_FLTRES): Likewise.
10693 (FPE_FLTINV): Likewise.
10694 (FPE_FLTSUB): Likewise.
10695 (SEGV_MAPERR): Likewise.
10696 (SEGV_ACCERR): Likewise.
10697 (BUS_ADRALN): Likewise.
10698 (BUS_ADRERR): Likewise.
10699 (BUS_OBJERR): Likewise.
10700 (BUS_MCEERR_AR): Likewise.
10701 (BUS_MCEERR_AO): Likewise.
10702 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
10703 (TRAP_TRACE): Likewise.
10704 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
10705 __USE_XOPEN2K8].
10706 (CLD_KILLED): Likewise.
10707 (CLD_DUMPED): Likewise.
10708 (CLD_TRAPPED): Likewise.
10709 (CLD_STOPPED): Likewise.
10710 (CLD_CONTINUED): Likewise.
10711 (POLL_IN): Likewise.
10712 (POLL_OUT): Likewise.
10713 (POLL_MSG): Likewise.
10714 (POLL_ERR): Likewise.
10715 (POLL_PRI): Likewise.
10716 (POLL_HUP): Likewise.
10717 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
10718 (ILL_ILLOPN): Likewise.
10719 (ILL_ILLADR): Likewise.
10720 (ILL_ILLTRP): Likewise.
10721 (ILL_PRVOPC): Likewise.
10722 (ILL_PRVREG): Likewise.
10723 (ILL_COPROC): Likewise.
10724 (ILL_BADSTK): Likewise.
10725 (ILL_DBLFLT): Likewise.
10726 (ILL_HARDWALL): Likewise.
10727 (FPE_INTDIV): Likewise.
10728 (FPE_INTOVF): Likewise.
10729 (FPE_FLTDIV): Likewise.
10730 (FPE_FLTOVF): Likewise.
10731 (FPE_FLTUND): Likewise.
10732 (FPE_FLTRES): Likewise.
10733 (FPE_FLTINV): Likewise.
10734 (FPE_FLTSUB): Likewise.
10735 (SEGV_MAPERR): Likewise.
10736 (SEGV_ACCERR): Likewise.
10737 (BUS_ADRALN): Likewise.
10738 (BUS_ADRERR): Likewise.
10739 (BUS_OBJERR): Likewise.
10740 (BUS_MCEERR_AR): Likewise.
10741 (BUS_MCEERR_AO): Likewise.
10742 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
10743 (TRAP_TRACE): Likewise.
10744 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
10745 __USE_XOPEN2K8].
10746 (CLD_KILLED): Likewise.
10747 (CLD_DUMPED): Likewise.
10748 (CLD_TRAPPED): Likewise.
10749 (CLD_STOPPED): Likewise.
10750 (CLD_CONTINUED): Likewise.
10751 (POLL_IN): Likewise.
10752 (POLL_OUT): Likewise.
10753 (POLL_MSG): Likewise.
10754 (POLL_ERR): Likewise.
10755 (POLL_PRI): Likewise.
10756 (POLL_HUP): Likewise.
10757 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
10758 (ILL_ILLOPN): Likewise.
10759 (ILL_ILLADR): Likewise.
10760 (ILL_ILLTRP): Likewise.
10761 (ILL_PRVOPC): Likewise.
10762 (ILL_PRVREG): Likewise.
10763 (ILL_COPROC): Likewise.
10764 (ILL_BADSTK): Likewise.
10765 (FPE_INTDIV): Likewise.
10766 (FPE_INTOVF): Likewise.
10767 (FPE_FLTDIV): Likewise.
10768 (FPE_FLTOVF): Likewise.
10769 (FPE_FLTUND): Likewise.
10770 (FPE_FLTRES): Likewise.
10771 (FPE_FLTINV): Likewise.
10772 (FPE_FLTSUB): Likewise.
10773 (SEGV_MAPERR): Likewise.
10774 (SEGV_ACCERR): Likewise.
10775 (BUS_ADRALN): Likewise.
10776 (BUS_ADRERR): Likewise.
10777 (BUS_OBJERR): Likewise.
10778 (BUS_MCEERR_AR): Likewise.
10779 (BUS_MCEERR_AO): Likewise.
10780 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
10781 (TRAP_TRACE): Likewise.
10782 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
10783 __USE_XOPEN2K8].
10784 (CLD_KILLED): Likewise.
10785 (CLD_DUMPED): Likewise.
10786 (CLD_TRAPPED): Likewise.
10787 (CLD_STOPPED): Likewise.
10788 (CLD_CONTINUED): Likewise.
10789 (POLL_IN): Likewise.
10790 (POLL_OUT): Likewise.
10791 (POLL_MSG): Likewise.
10792 (POLL_ERR): Likewise.
10793 (POLL_PRI): Likewise.
10794 (POLL_HUP): Likewise.
10795 * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
10796 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
10797
bc61d27c
JM
10798 [BZ #16670]
10799 * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
10800 before #include of <time.h>.
10801 [!__USE_XOPEN2K] (__need_timespec): Likewise.
10802 * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
10803 (test-xfail-UNIX98/sched.h/conform): Likewise.
10804
302949e2
MS
108052014-03-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
10806
10807 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
10808 error absence of trapping exception support.
10809 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
10810
a00f522a
JM
108112014-03-07 Joseph Myers <joseph@codesourcery.com>
10812
6f99f280
JM
10813 * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
10814 ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
10815 * timezone/Makefile (testdata): Move definition above include of
10816 Rules.
10817 (test-zones): New variable.
10818 (tests-special): Add zone files.
10819 (build-testdata): Use $(evaluate-test).
10820
0b20a9e8
JM
10821 * elf/Makefile (tests-special): Rename tests to end with .out.
10822 ($(objpfx)noload-mem): Likewise.
10823 ($(objpfx)tst-leaks1-mem): Likewise.
10824 ($(objpfx)tst-leaks1-static-mem.out): Likewise.
10825 * iconv/Makefile (xtests-special): Change test-iconvconfig to
10826 $(objpfx)test-iconvconfig.out.
10827 (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use
10828 set -e inside subshell and redirect output to file.
10829 * iconvdata/Makefile (generated): Rename tests to end with .out.
10830 Correct type.
10831 (tests-special): Rename tests to end with .out.
10832 ($(objpfx)mtrace-tst-loading): Likewise.
10833 * intl/Makefile (generated): Likewise.
10834 (tests-special): Likewise.
10835 ($(objpfx)mtrace-tst-gettext): Likewise.
10836 * misc/Makefile (generated): Likewise.
10837 (tests-special): Likewise.
10838 ($(objpfx)tst-error1-mem): Likewise.
10839 * nptl/Makefile (tests-special): Likewise.
10840 ($(objpfx)tst-stack3-mem): Likewise.
10841 (generated): Likewise.
10842 * posix/Makefile (generated): Likewise.
10843 (tests-special): Likewise.
10844 (xtests-special): Likewise.
10845 ($(objpfx)tst-fnmatch-mem): Likewise.
10846 ($(objpfx)bug-regex2-mem): Likewise.
10847 ($(objpfx)bug-regex14-mem): Likewise.
10848 ($(objpfx)bug-regex21-mem): Likewise.
10849 ($(objpfx)bug-regex31-mem): Likewise.
10850 ($(objpfx)tst-vfork3-mem): Likewise.
10851 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
10852 ($(objpfx)tst-pcre-mem): Likewise.
10853 ($(objpfx)tst-boost-mem): Likewise.
10854 ($(objpfx)bug-ga2-mem): Likewise.
10855 ($(objpfx)bug-glob2-mem): Likewise.
10856 * resolv/Makefile (generate): Likewise.
10857 (tests-special): Likewise.
10858 (xtests-special): Likewise.
10859 (generated): Likewise.
10860 ($(objpfx)mtrace-tst-leaks): Likewise.
10861 ($(objpfx)mtrace-tst-leaks2): Likewise.
10862
265d52ab
JM
10863 * scripts/merge-test-results.sh: New file.
10864 * Makefile (tests-special-notdir): New variable.
10865 (tests): Run merge-test-results.sh.
10866 (xtests): Likewise.
10867 * Rules (tests-special-notdir): New variable.
10868 (xtests-special-notdir): Likewise.
10869 (tests): Run merge-test-results.sh
10870 (xtests): Likewise.
10871
54ee292d
JM
10872 * Makeconfig (test-xfail-name): New variable.
10873 (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
10874 compute variable name for expected failures.
10875 * conform/Makefile (conformtest-headers-data): New variable.
10876 (conformtest-standards): Likewise.
10877 (conformtest-headers-ISO): Likewise.
10878 (conformtest-headers-ISO99): Likewise.
10879 (conformtest-headers-ISO11): Likewise.
10880 (conformtest-headers-POSIX): Likewise.
10881 (conformtest-headers-XPG3): Likewise.
10882 (conformtest-headers-XPG4): Likewise.
10883 (conformtest-headers-UNIX98): Likewise.
10884 (conformtest-headers-XOPEN2K): Likewise.
10885 (conformtest-headers-POSIX2008): Likewise.
10886 (conformtest-headers-XOPEN2K8): Likewise.
10887 (conformtest-header-list-base): Likewise.
10888 (conformtest-header-list-tests): Likewise.
10889 (conformtest-header-base): Likewise.
10890 (conformtest-header-tests): Likewise.
10891 (tests-special): Add $(conformtest-header-list-tests). If
10892 [$(fast-check) && !$(cross-compiling)], add
10893 $(conformtest-header-tests) instead of
10894 $(objpfx)run-conformtest.out.
10895 (generated): Add $(conformtest-header-list-base). If
10896 [$(fast-check) && !$(cross-compiling)], add
10897 $(conformtest-header-base). Remove previous setting.
10898 ($(conformtest-header-list-tests)): New target.
10899 (test-xfail-run-conformtest): Remove variable.
10900 ($(objpfx)run-conformtest.out): Remove target.
10901 (test-xfail-ISO11/complex.h/conform): New variable.
10902 (test-xfail-ISO11/stdalign.h/conform): Likewise.
10903 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
10904 (test-xfail-XPG3/varargs.h/conform): Likewise.
10905 (test-xfail-XPG4/varargs.h/conform): Likewise.
10906 (test-xfail-UNIX98/varargs.h/conform): Likewise.
10907 (test-xfail-XPG4/ndbm.h/conform): Likewise.
10908 (test-xfail-UNIX98/ndbm.h/conform): Likewise.
10909 (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
10910 (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
10911 (test-xfail-XPG3/fcntl.h/conform): Likewise.
10912 (test-xfail-XPG3/ftw.h/conform): Likewise.
10913 (test-xfail-XPG3/grp.h/conform): Likewise.
10914 (test-xfail-XPG3/langinfo.h/conform): Likewise.
10915 (test-xfail-XPG3/limits.h/conform): Likewise.
10916 (test-xfail-XPG3/pwd.h/conform): Likewise.
10917 (test-xfail-XPG3/search.h/conform): Likewise.
10918 (test-xfail-XPG3/signal.h/conform): Likewise.
10919 (test-xfail-XPG3/stdio.h/conform): Likewise.
10920 (test-xfail-XPG3/stdlib.h/conform): Likewise.
10921 (test-xfail-XPG3/string.h/conform): Likewise.
10922 (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
10923 (test-xfail-XPG3/sys/msg.h/conform): Likewise.
10924 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
10925 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
10926 (test-xfail-XPG3/sys/stat.h/conform): Likewise.
10927 (test-xfail-XPG3/sys/types.h/conform): Likewise.
10928 (test-xfail-XPG3/sys/wait.h/conform): Likewise.
10929 (test-xfail-XPG3/termios.h/conform): Likewise.
10930 (test-xfail-XPG3/time.h/conform): Likewise.
10931 (test-xfail-XPG3/unistd.h/conform): Likewise.
10932 (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
10933 (test-xfail-XPG4/fcntl.h/conform): Likewise.
10934 (test-xfail-XPG4/langinfo.h/conform): Likewise.
10935 (test-xfail-XPG4/netdb.h/conform): Likewise.
10936 (test-xfail-XPG4/netinet/in.h/conform): Likewise.
10937 (test-xfail-XPG4/signal.h/conform): Likewise.
10938 (test-xfail-XPG4/stdio.h/conform): Likewise.
10939 (test-xfail-XPG4/stdlib.h/conform): Likewise.
10940 (test-xfail-XPG4/stropts.h/conform): Likewise.
10941 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
10942 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
10943 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
10944 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
10945 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
10946 (test-xfail-XPG4/sys/stat.h/conform): Likewise.
10947 (test-xfail-XPG4/sys/time.h/conform): Likewise.
10948 (test-xfail-XPG4/sys/types.h/conform): Likewise.
10949 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
10950 (test-xfail-XPG4/termios.h/conform): Likewise.
10951 (test-xfail-XPG4/ucontext.h/conform): Likewise.
10952 (test-xfail-XPG4/unistd.h/conform): Likewise.
10953 (test-xfail-XPG4/utmpx.h/conform): Likewise.
10954 (test-xfail-POSIX/sched.h/conform): Likewise.
10955 (test-xfail-POSIX/signal.h/conform): Likewise.
10956 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
10957 (test-xfail-POSIX/tar.h/conform): Likewise.
10958 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
10959 (test-xfail-UNIX98/fcntl.h/conform): Likewise.
10960 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
10961 (test-xfail-UNIX98/netdb.h/conform): Likewise.
10962 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
10963 (test-xfail-UNIX98/sched.h/conform): Likewise.
10964 (test-xfail-UNIX98/signal.h/conform): Likewise.
10965 (test-xfail-UNIX98/stdio.h/conform): Likewise.
10966 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
10967 (test-xfail-UNIX98/stropts.h/conform): Likewise.
10968 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
10969 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
10970 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
10971 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
10972 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
10973 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
10974 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
10975 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
10976 (test-xfail-UNIX98/unistd.h/conform): Likewise.
10977 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
10978 (test-xfail-XOPEN2K/aio.h/conform): Likewise.
10979 (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
10980 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
10981 (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
10982 (test-xfail-XOPEN2K/math.h/conform): Likewise.
10983 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
10984 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
10985 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
10986 (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
10987 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
10988 (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
10989 (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
10990 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
10991 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
10992 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
10993 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
10994 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
10995 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
10996 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
10997 (test-xfail-XOPEN2K/termios.h/conform): Likewise.
10998 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
10999 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
11000 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
11001 (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
11002 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
11003 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
11004 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
11005 (test-xfail-POSIX2008/signal.h/conform): Likewise.
11006 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
11007 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
11008 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
11009 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
11010 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
11011 (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
11012 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
11013 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
11014 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
11015 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
11016 (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
11017 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
11018 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
11019 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
11020 (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
11021 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
11022 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
11023 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
11024 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
11025 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
11026 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
11027 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
11028 (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
11029 (conformtest-cc-flags): Likewise.
11030 ($(conformtest-header-tests): New target.
11031 * conform/check-header-lists.sh: New file.
11032 * conform/run-conformtest.sh: Remove.
11033
a00f522a
JM
11034 * conform/conformtest.pl: Allow ' and \ in values given for
11035 constants.
11036 * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
11037 inclusion.
11038 [POSIX] (sys/types.h): Likewise.
11039 [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
11040 inclusion.
11041 [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
11042 inclusion.
11043 * conform/data/signal.h-data (SIGIO): Remove expectation.
11044 [XPG3] (SIGBUS): Do not expect.
11045 [POSIX || XPG3] (SIGPOLL): Likewise.
11046 [POSIX || XPG3] (SIGPROF): Likewise.
11047 [POSIX || XPG3] (SIGSYS): Likewise.
11048 [XPG3] (SIGTRAP): Likewise.
11049 [POSIX || XPG3] (SIGURG): Likewise.
11050 [POSIX || XPG3] (SIGVTALRM): Likewise.
11051 [POSIX || XPG3] (SIGXCPU): Likewise.
11052 [POSIX || XPG3] (SIGXFSZ): Likewise.
11053 [POSIX] (SA_SIGINFO): Expect.
11054 [XPG3] (siginfo_t): Do not expect type or contents.
11055 [POSIX] (si_pid): Do not expect element.
11056 [POSIX] (si_uid): Likewise.
11057 [POSIX] (si_addr): Likewise.
11058 [POSIX] (si_status): Likewise.
11059 [POSIX] (si_band): Likewise.
11060 [XPG4] (si_value): Likewise.
11061 [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
11062 [POSIX || XPG3] (ILL_ILLOPN): Likewise.
11063 [POSIX || XPG3] (ILL_ILLADR): Likewise.
11064 [POSIX || XPG3] (ILL_ILLTRP): Likewise.
11065 [POSIX || XPG3] (ILL_PRVOPC): Likewise.
11066 [POSIX || XPG3] (ILL_PRVREG): Likewise.
11067 [POSIX || XPG3] (ILL_COPROC): Likewise.
11068 [POSIX || XPG3] (ILL_BADSTK): Likewise.
11069 [POSIX || XPG3] (FPE_INTDIV): Likewise.
11070 [POSIX || XPG3] (FPE_INTOVF): Likewise.
11071 [POSIX || XPG3] (FPE_FLTDIV): Likewise.
11072 [POSIX || XPG3] (FPE_FLTOVF): Likewise.
11073 [POSIX || XPG3] (FPE_FLTUND): Likewise.
11074 [POSIX || XPG3] (FPE_FLTRES): Likewise.
11075 [POSIX || XPG3] (FPE_FLTINV): Likewise.
11076 [POSIX || XPG3] (FPE_FLTSUB): Likewise.
11077 [POSIX || XPG3] (SEGV_MAPERR): Likewise.
11078 [POSIX || XPG3] (SEGV_ACCERR): Likewise.
11079 [POSIX || XPG3] (BUS_ADRALN): Likewise.
11080 [POSIX || XPG3] (BUS_ADRERR): Likewise.
11081 [POSIX || XPG3] (BUS_OBJERR): Likewise.
11082 [POSIX || XPG3] (CLD_EXITED): Likewise.
11083 [POSIX || XPG3] (CLD_KILLED): Likewise.
11084 [POSIX || XPG3] (CLD_DUMPED): Likewise.
11085 [POSIX || XPG3] (CLD_TRAPPED): Likewise.
11086 [POSIX || XPG3] (CLD_STOPPED): Likewise.
11087 [POSIX || XPG3] (CLD_CONTINUED): Likewise.
11088 [POSIX || XPG3] (POLL_IN): Likewise.
11089 [POSIX || XPG3] (POLL_OUT): Likewise.
11090 [POSIX || XPG3] (POLL_MSG): Likewise.
11091 [POSIX || XPG3] (POLL_ERR): Likewise.
11092 [POSIX || XPG3] (POLL_PRI): Likewise.
11093 [POSIX || XPG3] (POLL_HUP): Likewise.
11094 [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
11095 [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
11096 (SIG*): Do not allow.
11097 [XPG3] (si_*): Likewise.
11098 [XPG3] (SI_*): Likewise.
11099 [XPG3 || XPG4] (sigev_*): Likewise.
11100 [XPG3 || XPG4] (SIGEV_*): Likewise.
11101 [XPG3 || XPG4] (sival_*): Likewise.
11102 [POSIX || XPG3 || XPG4] (uc_*): Likewise.
11103 [POSIX || XPG3] (BUS_*): Likewise.
11104 [POSIX || XPG3] (CLD_*): Likewise.
11105 [POSIX || XPG3] (FPE_*): Likewise.
11106 [POSIX || XPG3] (ILL_*): Likewise.
11107 [POSIX || XPG3] (POLL_*): Likewise.
11108 [POSIX || XPG3] (SEGV_*): Likewise.
11109 [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
11110 [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
11111 [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
11112 [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
11113 [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
11114 * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
11115 Specify type and value.
11116 (TVERSLEN): Likewise.
11117 (REGTYPE): Likewise.
11118 (AREGTYPE): Likewise.
11119 (LNKTYPE): Likewise.
11120 (SYMTYPE): Likewise.
11121 (CHRTYPE): Likewise.
11122 (BLKTYPE): Likewise.
11123 (DIRTYPE): Likewise.
11124 (FIFOTYPE): Likewise.
11125 (CONTTYPE): Likewise.
11126 (TSUID): Likewise.
11127 (TSGID): Likewise.
11128 (TSVTX): Likewise.
11129 (TUREAD): Likewise.
11130 (TUWRITE): Likewise.
11131 (TUEXEC): Likewise.
11132 (TGREAD): Likewise.
11133 (TGWRITE): Likewise.
11134 (TGEXEC): Likewise.
11135 (TOREAD): Likewise.
11136 (TOWRITE): Likewise.
11137 (TOEXEC): Likewise.
11138 [POSIX] (TSVTX): Expect constant.
11139
aa97dee1
JM
111402014-03-06 Joseph Myers <joseph@codesourcery.com>
11141
f214606a
JM
11142 * Makefile (tests): Change dependencies to ....
11143 (tests-special): ... additions to this variable.
11144 (tests): Depend on $(tests-special).
11145 * Makerules (check-abi-list): New variable.
11146 (check-abi): Depend on $(check-abi-list).
11147 [$(subdir) = elf] (tests-special): Add
11148 $(objpfx)check-abi-libc.out.
11149 [$(build-shared) = yes && subdir] (tests-special): Add
11150 $(check-abi-list).
11151 [$(build-shared) = yes && subdir] (tests): Do not depend on
11152 check-abi.
11153 * Rules (tests): Depend on $(tests-special).
11154 (xtests): Depend on $(xtests-special).
11155 * catgets/Makefile (tests): Change dependencies to ....
11156 (tests-special): ... additions to this variable.
11157 * conform/Makefile (tests): Change dependencies to ....
11158 (tests-special): ... additions to this variable.
11159 * elf/Makefile (tests): Change dependencies to ....
11160 (tests-special): ... additions to this variable.
11161 * grp/Makefile (tests): Change dependencies to ....
11162 (tests-special): ... additions to this variable.
11163 * iconv/Makefile (xtests): Change dependencies to ....
11164 (xtests-special): ... additions to this variable.
11165 * iconvdata/Makefile (tests): Change dependencies to ....
11166 (tests-special): ... additions to this variable.
11167 * intl/Makefile (tests): Change dependencies to ....
11168 (tests-special): ... additions to this variable. Also add
11169 $(objpfx)tst-gettext.out.
11170 * io/Makefile (tests): Change dependencies to ....
11171 (tests-special): ... additions to this variable.
11172 * libio/Makefile (tests): Change dependencies to ....
11173 (tests-special): ... additions to this variable.
11174 * malloc/Makefile (tests): Change dependencies to ....
11175 (tests-special): ... additions to this variable.
11176 * misc/Makefile (tests): Change dependencies to ....
11177 (tests-special): ... additions to this variable.
11178 * nptl/Makefile (tests): Change dependencies to ....
11179 (tests-special): ... additions to this variable.
11180 * nptl_db/Makefile (tests): Change dependencies to ....
11181 (tests-special): ... additions to this variable.
11182 * posix/Makefile (tests): Change dependencies to ....
11183 (tests-special): ... additions to this variable.
11184 (xtests): Change dependencies to ....
11185 (xtests-special): ... additions to this variable.
11186 * resolv/Makefile (tests): Change dependencies to ....
11187 (tests-special): ... additions to this variable.
11188 (xtests): Change dependencies to ....
11189 (xtests-special): ... additions to this variable.
11190 * stdio-common/Makefile (tests): Change dependencies to ....
11191 (tests-special): ... additions to this variable.
11192 (do-tst-unbputc): Remove target.
11193 (do-tst-printf): Likewise.
11194 * stdlib/Makefile (tests): Change dependencies to ....
11195 (tests-special): ... additions to this variable.
11196 * string/Makefile (tests): Change dependencies to ....
11197 (tests-special): ... additions to this variable.
11198 * sysdeps/x86/Makefile (tests): Change dependencies to ....
11199 (tests-special): ... additions to this variable.
11200
81700b53
JM
11201 * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
11202 whole file.
11203 * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
11204 whole file.
11205 * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
11206 * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
11207
2ea18461
JM
11208 * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
11209 * conform/data/arpa/inet.h-data [XPG3]: Likewise.
11210 * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
11211 * conform/data/fmtmsg.h-data [XPG3]: Likewise.
11212 * conform/data/libgen.h-data [XPG3]: Likewise.
11213 * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
11214 * conform/data/ndbm.h-data [XPG3]: Likewise.
11215 * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
11216 * conform/data/netdb.h-data [XPG3]: Likewise.
11217 * conform/data/netinet/in.h-data [XPG3]: Likewise.
11218 * conform/data/poll.h-data [XPG3]: Likewise.
11219 * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
11220 * conform/data/strings.h-data [XPG3]: Likewise.
11221 * conform/data/stropts.h-data [XPG3]: Likewise.
11222 * conform/data/sys/mman.h-data [XPG3]: Likewise.
11223 * conform/data/sys/resource.h-data [XPG3]: Likewise.
11224 * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
11225 Likewise.
11226 * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
11227 * conform/data/sys/time.h-data [XPG3]: Likewise.
11228 * conform/data/sys/timeb.h-data [XPG3]: Likewise.
11229 * conform/data/sys/uio.h-data [XPG3]: Likewise.
11230 * conform/data/sys/un.h-data [XPG3]: Likewise.
11231 * conform/data/syslog.h-data [XPG3]: Likewise.
11232 * conform/data/ucontext.h-data [XPG3]: Likewise.
11233 * conform/data/utmpx.h-data [XPG3]: Likewise.
11234 * conform/data/varargs.h-data [UNIX98]: Enable file.
11235
355bc986
JM
11236 * manual/Makefile (INSTALL_INFO): Remove variable setting.
11237
215db402
JM
11238 * math/libm-test.inc (struct test_f_f_data): Move expected results
11239 into structure for each rounding mode.
11240 (struct test_ff_f_data): Likewise.
11241 (struct test_ff_f_data_nexttoward): Likewise.
11242 (struct test_fi_f_data): Likewise.
11243 (struct test_fl_f_data): Likewise.
11244 (struct test_if_f_data): Likewise.
11245 (struct test_fff_f_data): Likewise.
11246 (struct test_c_f_data): Likewise.
11247 (struct test_f_f1_data): Likewise.
11248 (struct test_fF_f1_data): Likewise.
11249 (struct test_ffI_f1_data): Likewise.
11250 (struct test_c_c_data): Likewise.
11251 (struct test_cc_c_data): Likewise.
11252 (struct test_f_i_data): Likewise.
11253 (struct test_ff_i_data): Likewise.
11254 (struct test_f_l_data): Likewise.
11255 (struct test_f_L_data): Likewise.
11256 (struct test_fFF_11_data): Likewise.
11257 (RM_): New macro.
11258 (RM_FE_DOWNWARD): Likewise.
11259 (RM_FE_TONEAREST): Likewise.
11260 (RM_FE_TOWARDZERO): Likewise.
11261 (RM_FE_UPWARD): Likewise.
11262 (RUN_TEST_LOOP_f_f): Update references to expected results.
11263 (RUN_TEST_LOOP_2_f): Likewise.
11264 (RUN_TEST_LOOP_fff_f): Likewise.
11265 (RUN_TEST_LOOP_c_f): Likewise.
11266 (RUN_TEST_LOOP_f_f1): Likewise.
11267 (RUN_TEST_LOOP_fF_f1): Likewise.
11268 (RUN_TEST_LOOP_fI_f1): Likewise.
11269 (RUN_TEST_LOOP_ffI_f1): Likewise.
11270 (RUN_TEST_LOOP_c_c): Likewise.
11271 (RUN_TEST_LOOP_cc_c): Likewise.
11272 (RUN_TEST_LOOP_f_i): Likewise.
11273 (RUN_TEST_LOOP_f_i_tg): Likewise.
11274 (RUN_TEST_LOOP_ff_i_tg): Likewise.
11275 (RUN_TEST_LOOP_f_b): Likewise.
11276 (RUN_TEST_LOOP_f_b_tg): Likewise.
11277 (RUN_TEST_LOOP_f_l): Likewise.
11278 (RUN_TEST_LOOP_f_L): Likewise.
11279 (RUN_TEST_LOOP_fFF_11): Likewise.
11280 * math/gen-libm-test.pl (parse_args): Output four copies of
11281 expected results for each test.
11282
67737b8f
JM
11283 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
11284 (__ASSUME_UTIMES): Remove.
11285 * sysdeps/unix/sysv/linux/tile/kernel-features.h
11286 (__ASSUME_UTIMES): Likewise.
11287
aa97dee1
JM
11288 * math/gen-auto-libm-tests.c: Update comment on output format.
11289 (output_for_one_input_case): Generate before-rounding and
11290 after-rounding information as conditions on output flags not
11291 floating-point format.
11292 * math/auto-libm-test-out: Regenerated.
11293 * math/gen-libm-test.pl (cond_value): New function.
11294 (or_cond_value): Use cond_value.
11295 (generate_testfile): Handle conditional exceptions.
11296
e6b6a857
JM
112972014-03-05 Joseph Myers <joseph@codesourcery.com>
11298
2f0a0f44
JM
11299 * math/libm-test.inc (max_valid_error): New variable.
11300 (init_max_error): Take new argument specifying whether function
11301 results are exactly determined. Set max_valid_error and bound
11302 other variables for errors based on this argument.
11303 (set_max_error): Do not record results above max_valid_error.
11304 (check_float_internal): Only accept errors of up to 0.5ulps if
11305 also at most max_valid_error.
11306 (START): Take new argument EXACT and pass it to init_max_error.
11307 (acos_test): Update call to START.
11308 (acos_test_tonearest): Likewise.
11309 (acos_test_towardzero): Likewise.
11310 (acos_test_downward): Likewise.
11311 (acos_test_upward): Likewise.
11312 (acosh_test): Likewise.
11313 (asin_test): Likewise.
11314 (asin_test_tonearest): Likewise.
11315 (asin_test_towardzero): Likewise.
11316 (asin_test_downward): Likewise.
11317 (asin_test_upward): Likewise.
11318 (asinh_test): Likewise.
11319 (atan_test): Likewise.
11320 (atanh_test): Likewise.
11321 (atan2_test): Likewise.
11322 (cabs_test): Likewise.
11323 (cacos_test): Likewise.
11324 (cacosh_test): Likewise.
11325 (carg_test): Likewise.
11326 (casin_test): Likewise.
11327 (casinh_test): Likewise.
11328 (catan_test): Likewise.
11329 (catanh_test): Likewise.
11330 (cbrt_test): Likewise.
11331 (ccos_test): Likewise.
11332 (ccosh_test): Likewise.
11333 (ceil_test): Likewise.
11334 (cexp_test): Likewise.
11335 (cimag_test): Likewise.
11336 (clog_test): Likewise.
11337 (clog10_test): Likewise.
11338 (conj_test): Likewise.
11339 (copysign_test): Likewise.
11340 (cos_test): Likewise.
11341 (cos_test_tonearest): Likewise.
11342 (cos_test_towardzero): Likewise.
11343 (cos_test_downward): Likewise.
11344 (cos_test_upward): Likewise.
11345 (cosh_test): Likewise.
11346 (cosh_test_tonearest): Likewise.
11347 (cosh_test_towardzero): Likewise.
11348 (cosh_test_downward): Likewise.
11349 (cosh_test_upward): Likewise.
11350 (cpow_test): Likewise.
11351 (cproj_test): Likewise.
11352 (creal_test): Likewise.
11353 (csin_test): Likewise.
11354 (csinh_test): Likewise.
11355 (csqrt_test): Likewise.
11356 (ctan_test): Likewise.
11357 (ctan_test_tonearest): Likewise.
11358 (ctan_test_towardzero): Likewise.
11359 (ctan_test_downward): Likewise.
11360 (ctan_test_upward): Likewise.
11361 (ctanh_test): Likewise.
11362 (ctanh_test_tonearest): Likewise.
11363 (ctanh_test_towardzero): Likewise.
11364 (ctanh_test_downward): Likewise.
11365 (ctanh_test_upward): Likewise.
11366 (erf_test): Likewise.
11367 (erfc_test): Likewise.
11368 (exp_test): Likewise.
11369 (exp_test_tonearest): Likewise.
11370 (exp_test_towardzero): Likewise.
11371 (exp_test_downward): Likewise.
11372 (exp_test_upward): Likewise.
11373 (exp10_test): Likewise.
11374 (exp10_test_tonearest): Likewise.
11375 (exp10_test_towardzero): Likewise.
11376 (exp10_test_downward): Likewise.
11377 (exp10_test_upward): Likewise.
11378 (pow10_test): Likewise.
11379 (exp2_test): Likewise.
11380 (expm1_test): Likewise.
11381 (expm1_test_tonearest): Likewise.
11382 (expm1_test_towardzero): Likewise.
11383 (expm1_test_downward): Likewise.
11384 (expm1_test_upward): Likewise.
11385 (fabs_test): Likewise.
11386 (fdim_test): Likewise.
11387 (floor_test): Likewise.
11388 (fma_test): Likewise.
11389 (fma_test_towardzero): Likewise.
11390 (fma_test_downward): Likewise.
11391 (fma_test_upward): Likewise.
11392 (fmax_test): Likewise.
11393 (fmin_test): Likewise.
11394 (fmod_test): Likewise.
11395 (fpclassify_test): Likewise.
11396 (frexp_test): Likewise.
11397 (hypot_test): Likewise.
11398 (ilogb_test): Likewise.
11399 (isfinite_test): Likewise.
11400 (finite_test): Likewise.
11401 (isgreater_test): Likewise.
11402 (isgreaterequal_test): Likewise.
11403 (isinf_test): Likewise.
11404 (isless_test): Likewise.
11405 (islessequal_test): Likewise.
11406 (islessgreater_test): Likewise.
11407 (isnan_test): Likewise.
11408 (isnormal_test): Likewise.
11409 (issignaling_test): Likewise.
11410 (isunordered_test): Likewise.
11411 (j0_test): Likewise.
11412 (j1_test): Likewise.
11413 (jn_test): Likewise.
11414 (ldexp_test): Likewise.
11415 (lgamma_test): Likewise.
11416 (gamma_test): Likewise.
11417 (lrint_test): Likewise.
11418 (lrint_test_tonearest): Likewise.
11419 (lrint_test_towardzero): Likewise.
11420 (lrint_test_downward): Likewise.
11421 (lrint_test_upward): Likewise.
11422 (llrint_test): Likewise.
11423 (llrint_test_tonearest): Likewise.
11424 (llrint_test_towardzero): Likewise.
11425 (llrint_test_downward): Likewise.
11426 (llrint_test_upward): Likewise.
11427 (log_test): Likewise.
11428 (log10_test): Likewise.
11429 (log1p_test): Likewise.
11430 (log2_test): Likewise.
11431 (logb_test): Likewise.
11432 (logb_test_downward): Likewise.
11433 (lround_test): Likewise.
11434 (llround_test): Likewise.
11435 (modf_test): Likewise.
11436 (nearbyint_test): Likewise.
11437 (nextafter_test): Likewise.
11438 (nexttoward_test): Likewise.
11439 (pow_test): Likewise.
11440 (pow_test_tonearest): Likewise.
11441 (pow_test_towardzero): Likewise.
11442 (pow_test_downward): Likewise.
11443 (pow_test_upward): Likewise.
11444 (remainder_test): Likewise.
11445 (drem_test): Likewise.
11446 (remainder_test_tonearest): Likewise.
11447 (drem_test_tonearest): Likewise.
11448 (remainder_test_towardzero): Likewise.
11449 (drem_test_towardzero): Likewise.
11450 (remainder_test_downward): Likewise.
11451 (drem_test_downward): Likewise.
11452 (remainder_test_upward): Likewise.
11453 (drem_test_upward): Likewise.
11454 (remquo_test): Likewise.
11455 (rint_test): Likewise.
11456 (rint_test_tonearest): Likewise.
11457 (rint_test_towardzero): Likewise.
11458 (rint_test_downward): Likewise.
11459 (rint_test_upward): Likewise.
11460 (round_test): Likewise.
11461 (scalb_test): Likewise.
11462 (scalbn_test): Likewise.
11463 (scalbln_test): Likewise.
11464 (signbit_test): Likewise.
11465 (sin_test): Likewise.
11466 (sin_test_tonearest): Likewise.
11467 (sin_test_towardzero): Likewise.
11468 (sin_test_downward): Likewise.
11469 (sin_test_upward): Likewise.
11470 (sincos_test): Likewise.
11471 (sinh_test): Likewise.
11472 (sinh_test_tonearest): Likewise.
11473 (sinh_test_towardzero): Likewise.
11474 (sinh_test_downward): Likewise.
11475 (sinh_test_upward): Likewise.
11476 (sqrt_test): Likewise.
11477 (sqrt_test_tonearest): Likewise.
11478 (sqrt_test_towardzero): Likewise.
11479 (sqrt_test_downward): Likewise.
11480 (sqrt_test_upward): Likewise.
11481 (tan_test): Likewise.
11482 (tan_test_tonearest): Likewise.
11483 (tan_test_towardzero): Likewise.
11484 (tan_test_downward): Likewise.
11485 (tan_test_upward): Likewise.
11486 (tanh_test): Likewise.
11487 (tgamma_test): Likewise.
11488 (trunc_test): Likewise.
11489 (y0_test): Likewise.
11490 (y1_test): Likewise.
11491 (yn_test): Likewise.
11492 (significand_test): Likewise.
11493
e6b6a857
JM
11494 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
11495 individual tests in comment.
11496 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
11497 (prev_max_error): New variable.
11498 (prev_real_max_error): Likewise.
11499 (prev_imag_max_error): Likewise.
11500 (compare_ulp_data): Don't refer to test names in comment.
11501 (find_test_ulps): Remove function.
11502 (find_function_ulps): Likewise.
11503 (find_complex_function_ulps): Likewise.
11504 (init_max_error): Take function name as argument. Look up ulps
11505 for that function.
11506 (print_ulps): Remove function.
11507 (print_max_error): Use prev_max_error instead of calling
11508 find_function_ulps.
11509 (print_complex_max_error): Use prev_real_max_error and
11510 prev_imag_max_error instead of calling find_complex_function_ulps.
11511 (check_float_internal): Take max_ulp parameter instead of calling
11512 find_test_ulps. Don't call print_ulps.
11513 (check_float): Update call to check_float_internal.
11514 (check_complex): Update calls to check_float_internal.
11515 (START): Pass argument to init_max_error.
11516 * math/gen-libm-test.pl (%results): Don't include "kind"
11517 information.
11518 (parse_ulps): Don't handle ulps of individual tests.
11519 (print_ulps_file): Likewise.
11520 (output_ulps): Likewise.
11521 * math/README.libm-test: Update.
11522 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
11523 individual tests.
11524 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
11525 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
11526 * sysdeps/arm/libm-test-ulps: Likewise.
11527 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
11528 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
11529 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
11530 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
11531 * sysdeps/microblaze/libm-test-ulps: Likewise.
11532 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
11533 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
11534 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
11535 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
11536 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
11537 * sysdeps/sh/libm-test-ulps: Likewise.
11538 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
11539 * sysdeps/tile/libm-test-ulps: Likewise.
11540 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11541
45adef3c
JM
115422014-03-04 Joseph Myers <joseph@codesourcery.com>
11543
11544 * math/libm-test.inc (print_complex_max_error): Check separately
11545 whether real and imaginary errors are within allowed range and
11546 pass 0 to print_complex_function_ulps instead of value within
11547 allowed range.
11548
000232b9
SP
115492014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
11550
d4b17258
SP
11551 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
11552 formatting.
11553 (get_handles_fopen): Likewise.
11554 (do_write_test): Likewise.
11555
091eff71
SP
11556 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
11557
fa3cd248
SP
11558 * libio/fileops.c (do_ftell): Use cached offset when
11559 available.
11560 * libio/iofwide.c (do_ftell_wide): Likewise.
11561 * libio/iofdopen.c (_IO_new_fdopen): Don't use
11562 _IO_file_attach.
11563 * libio/wfileops.c (_IO_fwide): Don't cache offset.
11564
000232b9
SP
11565 [BZ #16532]
11566 * libio/libioP.h (get_file_offset): New function.
11567 * libio/fileops.c (get_file_offset): Likewise.
11568 (do_ftell): Likewise.
11569 (_IO_new_file_seekoff): Split out ftell logic.
11570 * libio/wfileops.c (do_ftell_wide): Likewise.
11571 (_IO_wfile_seekoff): Split out ftell logic.
11572 * libio/tst-ftell-active-handler.c: New test case.
11573 * libio/Makefile (tests): Add it.
11574
116f4d1a
RM
115752014-03-03 Roland McGrath <roland@hack.frob.com>
11576
11577 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
11578 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
11579
532a6035
SP
115802014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
11581
11582 [BZ #16639]
11583 * nscd/connections.c (nscd_init): Call do_exit.
11584 (start_threads): Call do_exit and notify_parent.
11585 (begin_drop_privileges): Call do_exit.
11586 (finish_drop_privileges): Likewise.
11587 * nscd/selinux.c (preserve_capabilities): Likewise.
11588 (install_real_capabilities): Likewise.
11589 (nscd_selinux_enabled): Likewise.
11590 (avc_create_thread): Likewise.
11591 (avc_alloc_lock): Likewise.
11592 (nscd_avc_init): Likewise.
11593 * nscd/nscd.c (parent_fd): New static variable.
11594 (main): Create a pipe between parent and child processes.
11595 Skip closing parent_fd.
11596 (monitor_child): New function.
11597 (do_exit): Likewise.
11598 (notify_parent): Likewise.
11599 * nscd/nscd.h (notify_parent): Likewise.
11600 (do_exit): Likewise.
11601
d6285c9f
CD
116022014-03-03 Carlos O'Donell <carlos@redhat.com>
11603
11604 * malloc/malloc.c (__libc_calloc): Revert last change.
11605
2b85d2a0
AZ
116062014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11607
11608 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11609
c7debbdf
RS
116102014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
11611
11612 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
11613 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
11614 implementation.
11615 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
11616 (__libc_ifunc_impl_list): Likewise.
11617 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
11618 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
11619 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
11620 * string/strrchr.c: Define STRRCHR.
11621
235eed86
OB
116222014-02-28 Ondřej Bílka <neleai@seznam.cz>
11623
11624 * benchtest/bench-strtok.c (simple_strtok): Delete.
11625 (strtok_string): Use as benchmark.
11626 * string/strtok (STRTOK): New macro.
11627
8e25d1e7
CD
116282014-02-28 Carlos O'Donell <carlos@redhat.com>
11629
ef563f92
CD
11630 * manual/threads.texi: Add header and standard comments to all
11631 functions.
11632
8e25d1e7
CD
11633 * elf/dl-lookup.c (check_match): New function.
11634 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
11635 (do_lookup_x): Remove nested function check_match. Use non-nested
11636 function check_match.
11637
ff71cc37
RM
116382014-02-28 Roland McGrath <roland@hack.frob.com>
11639
f08e9a26
RM
11640 * csu/Makefile (generated, before-compile): Use += rather than =.
11641 * catgets/Makefile (generated, generated-dirs): Likewise.
11642 * debug/Makefile (generated): Likewise.
11643 * dlfcn/Makefile (generated): Likewise.
11644 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
11645 * iconvdata/Makefile (before-compile, generated): Likewise.
11646 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
11647 * libio/Makefile (generated): Likewise.
11648 * malloc/Makefile (generated): Likewise.
11649 * manual/Makefile (generated, generated-dirs): Likewise.
11650 * misc/Makefile (generated): Likewise.
11651 * posix/Makefile (generated): Likewise.
11652 * resolv/Makefile (generated): Likewise.
11653 * sunrpc/Makefile (generated, generated-dirs): Likewise.
11654 * timezone/Makefile (generated, generated-dirs): Likewise.
11655
ff71cc37
RM
11656 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
11657
fe13a20c
AZ
116582014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11659
57f41c40
AS
11660 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
11661 power8 implementation.
11662 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
11663 file: POWER8 llround ifunc implementation.
11664 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
11665 (__lllround): Add POWER8 implementation.
fe13a20c
AZ
11666 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
11667 POWER8 llround implementation.
11668
57f41c40
AS
11669 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
11670 power8 implementation.
11671 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
11672 file: POWER8 llrint ifunc implementation.
11673 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
11674 Add POWER8 implementation.
1ad8950a
AZ
11675 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
11676 POWER8 llrint implementation.
11677
57f41c40
AS
11678 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
11679 power8 implementation.
11680 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
11681 file: POWER8 finite ifunc implementation.
11682 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
11683 Add POWER8 implementation.
cac626d6
AZ
11684 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
11685 Likewise.
11686 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
11687 POWER8 finite implementation.
11688 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
11689
57f41c40
AS
11690 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
11691 power8 implementation.
11692 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
11693 file: POWER8 isinf ifunc implementation.
4393fc11
AZ
11694 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
11695 POWER8 implementation.
11696 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
11697 Likewise.
57f41c40
AS
11698 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
11699 isinf implementation.
4393fc11
AZ
11700 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
11701
57f41c40
AS
11702 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
11703 (INIT_ARCH): Add hwcap2 initialization.
11704 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
11705 power8 implementation.
11706 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
11707 file: POWER8 isnan ifunc implementation.
487972ae
AZ
11708 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
11709 POWER8 implementation.
11710 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
11711 Likewise.
57f41c40
AS
11712 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
11713 isnan implementation.
487972ae
AZ
11714 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
11715
7d92b787
JY
117162014-02-27 Joey Ye <joey.ye@arm.com>
11717
11718 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
11719 (_FP_NANFRAC_Q): Set to zero.
11720
1cadc858
SP
117212014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
11722
11723 [BZ #16623]
11724 * math/auto-libm-test-in: New test inputs.
11725 * math/auto-libm-test-out: Regenerate.
11726 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
11727 and DA.
11728 (__cos): Likewise.
11729 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
11730
f8c17e79
JM
117312014-02-27 Joseph Myers <joseph@codesourcery.com>
11732
11733 * scripts/evaluate-test.sh: Take new argument indicating whether
11734 failure is expected.
11735 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
11736 indicating whether failure is expected.
11737 * conform/Makefile (test-xfail-run-conformtest): New variable.
11738 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
11739 level.
11740 * posix/Makefile (test-xfail-annexc): New variable.
11741 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
11742
a5f891ac
JM
117432014-02-26 Joseph Myers <joseph@codesourcery.com>
11744
11745 * argp/Makefile: Include Makeconfig immediately after defining
11746 subdir.
11747 * assert/Makefile: Likewise.
11748 * benchtests/Makefile: Likewise.
11749 * catgets/Makefile: Likewise.
11750 * conform/Makefile: Likewise.
11751 * crypt/Makefile: Likewise.
11752 * csu/Makefile: Likewise.
11753 (all): Remove target.
11754 * ctype/Makefile: Include Makeconfig immediately after defining
11755 subdir.
11756 * debug/Makefile: Likewise.
11757 * dirent/Makefile: Likewise.
11758 * dlfcn/Makefile: Likewise.
11759 * gmon/Makefile: Likewise.
11760 * gnulib/Makefile: Likewise.
11761 * grp/Makefile: Likewise.
11762 * gshadow/Makefile: Likewise.
11763 * hesiod/Makefile: Likewise.
11764 * hurd/Makefile: Likewise.
11765 (all): Remove target.
11766 * iconvdata/Makefile: Include Makeconfig immediately after
11767 defining subdir.
11768 * inet/Makefile: Likewise.
11769 * intl/Makefile: Likewise.
11770 * io/Makefile: Likewise.
11771 * libio/Makefile: Likewise.
11772 (all): Remove target.
11773 * locale/Makefile: Include Makeconfig immediately after defining
11774 subdir.
11775 * login/Makefile: Likewise.
11776 * mach/Makefile: Likewise.
11777 (all): Remove target.
11778 * malloc/Makefile: Include Makeconfig immediately after defining
11779 subdir.
11780 (all): Remove target.
11781 * manual/Makefile: Include Makeconfig immediately after defining
11782 subdir.
11783 * math/Makefile: Likewise.
11784 * misc/Makefile: Likewise.
11785 * nis/Makefile: Likewise.
11786 * nss/Makefile: Likewise.
11787 * po/Makefile: Likewise.
11788 (all): Remove target.
11789 * posix/Makefile: Include Makeconfig immediately after defining
11790 subdir.
11791 * pwd/Makefile: Likewise.
11792 * resolv/Makefile: Likewise.
11793 * resource/Makefile: Likewise.
11794 * rt/Makefile: Likewise.
11795 * setjmp/Makefile: Likewise.
11796 * shadow/Makefile: Likewise.
11797 * signal/Makefile: Likewise.
11798 * socket/Makefile: Likewise.
11799 * soft-fp/Makefile: Likewise.
11800 * stdio-common/Makefile: Likewise.
11801 * stdlib/Makefile: Likewise.
11802 * streams/Makefile: Likewise.
11803 * string/Makefile: Likewise.
11804 * sunrpc/Makefile: Likewise.
11805 (all): Remove target.
11806 * sysvipc/Makefile: Include Makeconfig immediately after defining
11807 subdir.
11808 * termios/Makefile: Likewise.
11809 * time/Makefile: Likewise.
11810 * timezone/Makefile: Likewise.
11811 (all): Remove target.
11812 * wcsmbs/Makefile: Include Makeconfig immediately after defining
11813 subdir.
11814 * wctype/Makefile: Likewise.
11815
5b456e9d
SE
118162014-02-26 Steve Ellcey <sellcey@mips.com>
11817
11818 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
11819 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
11820 (libc_feholdexcept_setround_mips): Ditto.
11821 (libc_feholdsetround): New.
11822 (libc_feholdsetroundf): New.
11823 (libc_feholdsetroundl): New.
11824 (libc_feupdateenv_test_mips): New.
11825 (libc_feupdateenv_test): New.
11826 (libc_feupdateenv_testf): New.
11827 (libc_feupdateenv_testl): New.
11828 (libc_feresetround): New.
11829 (libc_feresetroundf): New.
11830 (libc_feresetroundl): New.
11831 (libc_fetestexcept_mips): New.
11832 (libc_fetestexcept): New.
11833 (libc_fetestexceptf): New.
11834 (libc_fetestexceptl): New.
11835 (HAVE_RM_CTX): New.
11836 (libc_feholdexcept_setround_mips_ctx): New.
11837 (libc_feholdexcept_setround_ctx): New.
11838 (libc_feholdexcept_setroundf_ctx): New.
11839 (libc_feholdexcept_setroundl_ctx): New.
11840 (libc_fesetenv_mips_ctx): New.
11841 (libc_fesetenv_ctx): New.
11842 (libc_fesetenv_ctxf): New.
11843 (libc_fesetenv_ctxl): New.
11844 (libc_feupdateenv_mips_ctx): New.
11845 (libc_feupdateenv_ctx): New.
11846 (libc_feupdateenvf_ctx): New.
11847 (libc_feupdateenvl_ctx): New.
11848 (libc_feholdsetround_mips_ctx): New.
11849 (libc_feholdsetround_ctx): New.
11850 (libc_feholdsetroundf_ctx): New.
11851 (libc_feholdsetroundl_ctx): New.
11852 (libc_feresetround_mips_ctx): New.
11853 (libc_feresetround_ctx): New.
11854 (libc_feresetroundf_ctx): New.
11855 (libc_feresetroundl_ctx): New.
11856
085d0e35
CD
118572014-02-26 Carlos O'Donell <carlos@redhat.com>
11858
f067bf1f
CD
11859 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
11860
085d0e35
CD
11861 * manual/ipc.texi: New file.
11862 * manual/Makefile (chapters): Add ipc.
11863 * manual/job.texi: Add "Inter-Process Communication" to next.
11864 * manual/process.texi: Add "Inter-Process Communication" to prev.
11865
86e58c08
AZ
118662014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11867
11868 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11869
4248f0da
OB
118702014-02-26 Ondřej Bílka <neleai@seznam.cz>
11871
11872 * malloc/malloc.c (__libc_calloc): Simplify implementation.
11873
cf822e3c
OB
11874 * manual/arith.texi: Fix spaces after sentences.
11875 * manual/charset.texi: Likewise.
11876 * manual/errno.texi: Likewise.
11877 * manual/install.texi: Likewise.
11878 * manual/llio.texi: Likewise.
11879 * manual/locale.texi: Likewise.
11880 * manual/maint.texi: Likewise.
11881 * manual/math.texi: Likewise.
11882 * manual/memory.texi: Likewise.
11883 * manual/message.texi: Likewise.
11884 * manual/probes.texi: Likewise.
11885 * manual/resource.texi: Likewise.
11886 * manual/signal.texi: Likewise.
11887 * manual/socket.texi: Likewise.
11888 * manual/stdio.texi: Likewise.
11889 * manual/string.texi: Likewise.
11890 * manual/time.texi: Likewise.
11891 * manual/users.texi: Likewise.
11892
ade40b10
CD
118932014-02-25 Carlos O'Donell <carlos@redhat.com>
11894
11895 [BZ #16632]
11896 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
11897 _DEFAULT_SOURCE is defined.
11898
d0503676
CD
118992014-02-25 Ulrich Drepper <drepper@gmail.com>
11900 Carlos O'Donell <carlos@redhat.com>
11901
11902 [BZ #16613]
11903 * elf/dl-tls.c (_dl_count_modids): New function.
11904 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
11905 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
11906 audit library and increment generation counter.
11907 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
11908 * elf/tst-audit9.c: New file.
11909 * elf/tst-auditmod9a.c: New file.
11910 * elf/tst-auditmod9b.c: New file.
11911 * elf/Makefile: Add rules to build and run tst-audit9.
11912
4cbf380c
FW
119132014-02-25 Florian Weimer <fweimer@redhat.com>
11914
11915 [BZ #15347]
11916 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
11917
80a56cc3
WN
119182014-02-25 Will Newton <will.newton@linaro.org>
11919
11920 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
11921 (__longjmp): Restore sp and lr before restoring callee
11922 saved registers. Add longjmp and longjmp_target
11923 SystemTap probe point.
11924 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
11925 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
11926 Define to zero to match jmpbuf layout.
11927 * sysdeps/arm/setjmp.S: Include stap-probe.h.
11928 (__sigsetjmp): Save sp and lr before saving callee
11929 saved registers. Add setjmp SystemTap probe point.
11930
3ea0f74e
SL
119312014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
11932
11933 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
11934
b04acb26
AS
119352014-02-24 Andreas Schwab <schwab@suse.de>
11936
11937 [BZ #15804]
11938 * elf/pldd.c (wait_for_ptrace_stop): New function.
11939 (main): Call it after attaching.
11940
098ad55c
RM
119412014-02-22 Roland McGrath <roland@hack.frob.com>
11942
d4ec6ae1
RM
11943 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
11944 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
11945 Versions files is now verboten.
11946 * hurd/Versions (libc: GLIBC_2.0):
11947 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
11948 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
11949 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
11950 * mach/Versions: Likewise.
11951
098ad55c
RM
11952 * csu/Versions: Remove unused %include.
11953 * resolv/Versions: Likewise.
11954
acd7f096
JM
119552014-02-21 Joseph Myers <joseph@codesourcery.com>
11956
f0881698
JM
11957 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
11958 ($(objpfx)check-local-headers.out): Likewise.
11959 ($(objpfx)begin-end-check.out): Likewise.
11960 * Makerules (check-abi-%.out): Likewise.
11961 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
11962 ($(objpfx)test2.cat): Likewise.
11963 ($(objpfx)de/libc.cat): Likewise.
11964 ($(objpfx)test-gencat.out): Likewise.
11965 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
11966 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
11967 ($(objpfx)noload-mem): Likewise.
11968 ($(objpfx)tst-pathopt.out): Likewise.
11969 ($(objpfx)tst-rtld-load-self.out): Likewise.
11970 ($(objpfx)tst-array1-cmp.out): Likewise.
11971 ($(objpfx)tst-array1-static-cmp.out): Likewise.
11972 ($(objpfx)tst-array2-cmp.out): Likewise.
11973 ($(objpfx)tst-array3-cmp.out): Likewise.
11974 ($(objpfx)tst-array4-cmp.out): Likewise.
11975 ($(objpfx)tst-array5-cmp.out): Likewise.
11976 ($(objpfx)tst-array5-static-cmp.out): Likewise.
11977 ($(objpfx)check-textrel.out): Likewise.
11978 ($(objpfx)check-execstack.out): Likewise.
11979 ($(objpfx)check-localplt.out): Likewise.
11980 ($(objpfx)order2-cmp.out): Likewise.
11981 ($(objpfx)tst-leaks1-mem): Likewise.
11982 ($(objpfx)tst-leaks1-static-mem): Likewise.
11983 ($(objpfx)tst-initorder-cmp.out): Likewise.
11984 ($(objpfx)tst-initorder2-cmp.out): Likewise.
11985 ($(objpfx)tst-unused-dep.out): Likewise.
11986 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
11987 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
11988 * iconv/Makefile (test-iconvconfig): Likewise.
11989 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
11990 ($(objpfx)iconv-test.out): Likewise.
11991 ($(objpfx)tst-tables.out): Likewise.
11992 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
11993 ($(objpfx)tst-gettext.out): Likewise.
11994 ($(objpfx)tst-translit.out): Likewise.
11995 ($(objpfx)tst-gettext2.out): Likewise.
11996 ($(objpfx)tst-gettext4.out): Likewise.
11997 ($(objpfx)tst-gettext6.out): Likewise.
11998 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
11999 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
12000 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
12001 ($(objpfx)tst-fopenloc-mem.out): Likewise.
12002 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
12003 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
12004 * posix/Makefile ($(objpfx)globtest.out): Likewise.
12005 ($(objpfx)wordexp-tst.out): Likewise.
12006 ($(objpfx)annexc.out): Likewise.
12007 ($(objpfx)tst-fnmatch-mem): Likewise.
12008 ($(objpfx)bug-regex2-mem): Likewise.
12009 ($(objpfx)bug-regex14-mem): Likewise.
12010 ($(objpfx)bug-regex21-mem): Likewise.
12011 ($(objpfx)bug-regex31-mem): Likewise.
12012 ($(objpfx)tst-vfork3-mem): Likewise.
12013 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
12014 ($(objpfx)tst-pcre-mem): Likewise.
12015 ($(objpfx)tst-boost-mem): Likewise.
12016 ($(objpfx)tst-getconf.out): Likewise.
12017 ($(objpfx)bug-ga2-mem): Likewise.
12018 ($(objpfx)bug-glob2-mem): Likewise.
12019 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
12020 ($(objpfx)mtrace-tst-leaks2): Likewise.
12021 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
12022 ($(objpfx)tst-printf.out): Likewise.
12023 ($(objpfx)tst-setvbuf1.out): Likewise.
12024 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
12025 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
12026 ($(objpfx)tst-fmtmsg.out): Likewise.
12027 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
12028 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
12029
acd7f096
JM
12030 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
12031 * bits/sigaction.h [__USE_MISC]: Likewise.
12032 * bits/waitstatus.h: Update #endif comments.
12033 * ctype/ctype.h: Likewise.
12034 * dirent/dirent.h: Likewise.
12035 [__USE_MISC]: Remove redundant conditionals.
12036 * grp/grp.h: Update #endif comments.
12037 [__USE_GNU]: Remove redundant conditionals.
12038 [__USE_MISC]: Likewise.
12039 * inet/netinet/in.h [__USE_GNU]: Likewise.
12040 * io/sys/stat.h [__USE_MISC]: Likewise.
12041 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
12042 * libio/bits/stdio.h: Update #endif comments.
12043 [__USE_MISC]: Remove redundant conditionals.
12044 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
12045 * libio/stdio.h: Update #endif comments.
12046 [__USE_MISC]: Remove redundant conditionals.
12047 * math/bits/math-finite.h [__USE_MISC]: Likewise.
12048 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
12049 * math/math.h: Update #else and #endif comments.
12050 [__USE_MISC]: Remove redundant conditionals.
12051 * misc/sys/uio.h: Update #endif comments.
12052 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
12053 * posix/glob.h [__USE_MISC]: Likewise.
12054 * posix/sys/types.h: Update #endif comments.
12055 [__USE_MISC]: Remove redundant conditionals.
12056 * posix/sys/wait.h: Update #endif comments.
12057 [__USE_MISC]: Remove redundant conditionals.
12058 * posix/unistd.h: Update #endif comments.
12059 [__USE_MISC]: Remove redundant conditionals.
12060 * pwd/pwd.h [__USE_GNU]: Likewise.
12061 [__USE_MISC]: Likewise.
12062 * resolv/netdb.h [__USE_GNU]: Likewise.
12063 * signal/signal.h: Update #endif comments.
12064 [__USE_MISC]: Remove redundant conditionals.
12065 * stdlib/stdlib.h: Update #else and #endif comments.
12066 [__USE_MISC]: Remove redundant conditionals.
12067 [__USE_GNU]: Likewise.
12068 * string/bits/string2.h [__USE_MISC]: Likewise.
12069 * string/string.h: Update #endif comments.
12070 [__USE_MISC]: Remove redundant conditionals.
12071 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
12072 Likewise.
12073 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
12074 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
12075 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
12076 Likewise.
12077 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
12078 Likewise.
12079 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
12080 comments.
12081 [__USE_MISC]: Remove redundant conditionals.
12082 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
12083 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
12084 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
12085 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
12086 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
12087 Likewise.
12088 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
12089 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
12090 Likewise.
12091 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
12092 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
12093 Likewise.
12094 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
12095 Likewise.
12096 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
12097 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
12098 Likewise.
12099 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
12100 Likewise.
12101 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
12102 * sysdeps/x86/bits/string.h: Update #endif comments.
12103 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
12104 conditionals.
12105 * time/sys/time.h: Update #endif comments.
12106 * time/time.h: Likewise.
12107 [__USE_MISC]: Remove redundant conditionals.
12108
a5d82e4e
YG
121092014-02-21 Yury Gribov <y.gribov@samsung.com>
12110
12111 [BZ #16600]
12112 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
12113
9a80491d
AS
121142014-02-21 Andreas Schwab <schwab@linux-m68k.org>
12115
12116 * Versions.def (librt): Add GLIBC_2.17.
12117
105fa381
AC
121182014-02-21 Adam Conrad <adconrad@0c3.net>
12119
12120 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
12121 synonym for _SYS_AUXV_H to allow direct inclusion.
12122 * sysdeps/sparc/bits/hwcap.h: Likewise.
12123 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
12124 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
12125 * sysdeps/sparc/sysdep.h: Likewise.
12126
b8cd1c4e
SP
121272014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
12128
12129 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
12130
bd939d23
RS
121312014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
12132
12133 * benchtests/bench-strrchr.c: Print length instead of position.
12134
5d7b57ca
JM
121352014-02-20 Joseph Myers <joseph@codesourcery.com>
12136
bc688c10
JM
12137 [BZ #16611]
12138 * sysdeps/unix/sysv/linux/kernel-features.h
12139 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
12140 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
12141 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
12142 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
12143 Likewise.
12144 [__i386__ || __powerpc__ || __sh__ || __sparc__]
12145 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
12146 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
12147 (__ASSUME_SENDMMSG): Define instead of using previous
12148 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
12149 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
12150 (__ASSUME_SENDMMSG_SYSCALL): Define.
12151 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
12152 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
12153 Likewise.
12154 * sysdeps/unix/sysv/linux/arm/kernel-features.h
12155 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
12156 Likewise.
12157 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
12158 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
12159 Likewise.
12160 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
12161 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
12162 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
12163 [__ASSUME_SENDMMSG]: Change conditionals to
12164 [__ASSUME_SENDMMSG_SOCKETCALL].
12165 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
12166 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
12167 Define.
12168 * sysdeps/unix/sysv/linux/mips/kernel-features.h
12169 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
12170 Likewise.
12171 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
12172 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
12173 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
12174 [!__ASSUME_SENDMMSG]: Change conditional to
12175 [!__ASSUME_SENDMMSG_SOCKETCALL].
12176 * sysdeps/unix/sysv/linux/tile/kernel-features.h
12177 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
12178 Define.
12179
0e31b18c
JM
12180 [BZ #16610]
12181 * sysdeps/unix/sysv/linux/kernel-features.h
12182 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
12183 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
12184 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
12185 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
12186 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
12187 [__i386__ || __sparc__]
12188 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
12189 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
12190 (__ASSUME_RECVMMSG): Define instead of using previous
12191 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
12192 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
12193 (__ASSUME_RECVMMSG_SYSCALL): Define.
12194 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
12195 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
12196 Likewise.
12197 * sysdeps/unix/sysv/linux/arm/kernel-features.h
12198 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
12199 Likewise.
12200 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
12201 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
12202 Likewise.
12203 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
12204 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
12205 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
12206 [__ASSUME_RECVMMSG]: Change condition to
12207 [__ASSUME_RECVMMSG_SOCKETCALL].
12208 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
12209 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
12210 Define.
12211 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
12212 * sysdeps/unix/sysv/linux/mips/kernel-features.h
12213 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
12214 Likewise.
12215 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
12216 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
12217 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
12218 [!__ASSUME_RECVMMSG]: Change condition to
12219 [!__ASSUME_RECVMMSG_SOCKETCALL].
12220 * sysdeps/unix/sysv/linux/tile/kernel-features.h
12221 (__ASSUME_RECVMMSG_SYSCALL): Define.
12222
dd481ccf
JM
12223 [BZ #16609]
12224 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
12225 __powerpc__ || __s390__ || __sh__ || __sparc__]
12226 (__ASSUME_SOCKETCALL): Define.
12227 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
12228 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
12229 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
12230 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
12231 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
12232 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
12233 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
12234 (__ASSUME_ACCEPT4): Define instead of using previous
12235 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
12236 __powerpc__ || __sparc__ || __s390__)] condition.
12237 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
12238 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
12239 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
12240 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
12241 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
12242 [!__ASSUME_ACCEPT4]: Change condition to
12243 [!__ASSUME_ACCEPT4_SOCKETCALL].
12244 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
12245 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
12246 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
12247 * sysdeps/unix/sysv/linux/arm/kernel-features.h
12248 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
12249 __ASSUME_ACCEPT4_SYSCALL.
12250 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
12251 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
12252 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
12253 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
12254 __ASSUME_ACCEPT4_SYSCALL.
12255 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
12256 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
12257 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
12258 [__ASSUME_ACCEPT4]: Change condition to
12259 [__ASSUME_ACCEPT4_SOCKETCALL].
12260 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
12261 (__ASSUME_SOCKETCALL): Define.
12262 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
12263 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
12264 (__ASSUME_SOCKETCALL): Define.
12265 (__ASSUME_ACCEPT4): Remove.
12266 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
12267 Define.
12268 * sysdeps/unix/sysv/linux/mips/kernel-features.h
12269 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
12270 Likewise.
12271 * sysdeps/unix/sysv/linux/tile/kernel-features.h
12272 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
12273
5d7b57ca
JM
12274 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
12275 macro.
12276 (HWCAP_ARM_LPAE): Likewise.
12277 (HWCAP_ARM_EVTSTRM): Likewise.
12278 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
12279 Add vpfd32, lpae and evtstrm.
12280 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
12281 Increase to 22.
12282
63689d61
JM
122832014-02-19 Joseph Myers <joseph@codesourcery.com>
12284
12285 * math/auto-libm-test-in: Add tests of clog10.
12286 * math/auto-libm-test-out: Regenerated.
12287 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
12288 * sysdeps/i386/fpu/libm-test-ulps: Update.
12289 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12290
ab09bf61
AS
122912014-02-18 Andreas Schwab <schwab@suse.de>
12292
12293 [BZ #16574]
12294 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
12295 Store non-zero if the second buffer was newly allocated.
12296 (send_dg): Likewise.
12297 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
12298 to send_vc and send_dg.
12299 (res_nsend): Pass NULL for ansp2_malloced.
12300 * resolv/res_query.c (__libc_res_nquery): Add parameter
12301 answerp2_malloced and pass it down to __libc_res_nsend.
12302 (res_nquery): Pass additional NULL to __libc_res_nquery.
12303 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
12304 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
12305 second answer buffer if answerp2_malloced was set.
12306 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
12307 (__libc_res_nquerydomain): Add parameter
12308 answerp2_malloced and pass it down to __libc_res_nquery.
12309 (res_nquerydomain): Pass additional NULL to
12310 __libc_res_nquerydomain.
12311 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
12312 additional NULL to __libc_res_nsend and __libc_res_nquery.
12313 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
12314 additional NULL to __libc_res_nsearch.
12315 (_nss_dns_gethostbyname4_r): Revert last change. Use new
12316 parameter of __libc_res_nsearch to check for separately allocated
12317 second buffer.
12318 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
12319 __libc_res_nquery.
12320 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
12321 additional NULL to __libc_res_nquery.
12322 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
12323 __libc_res_nsearch.
12324 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
12325 * include/resolv.h: Update prototypes of __libc_res_nquery,
12326 __libc_res_nsearch, __libc_res_nsend.
12327
a4fb7861
JM
123282014-02-18 Joseph Myers <joseph@codesourcery.com>
12329
c6af2d89
JM
12330 * math/auto-libm-test-in: Add tests of fma.
12331 * math/auto-libm-test-out: Regenerated.
12332 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
12333 (fma_towardzero_test_data): Likewise.
12334 (fma_downward_test_data): Likewise.
12335 (fma_upward_test_data): Likewise.
12336 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
12337 mpc_mode.
12338 (rounding_modes): Add values for new field.
12339 (func_calc_method): Add value mpfr_fff_f.
12340 (func_calc_desc): Add mpfr_fff_f union field.
12341 (test_function): Add field exact_args.
12342 (FUNC): Add macro argument EXACT_ARGS.
12343 (FUNC_mpfr_f_f): Update call to FUNC.
12344 (FUNC_mpfr_f_f): Likewise.
12345 (FUNC_mpfr_ff_f): Likewise.
12346 (FUNC_mpfr_if_f): Likewise.
12347 (FUNC_mpc_c_f): Likewise.
12348 (FUNC_mpc_c_c): Likewise.
12349 (test_functions): Add fma. Update calls to FUNC.
12350 (handle_input_arg): Add argument exact_args.
12351 (add_test): Update call to handle_input_arg.
12352 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
12353 (output_for_one_input_case): Update call to calc_generic_results.
12354 Recalculate exact zero results in each rounding mode.
12355
a4fb7861
JM
12356 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
12357 non-negative before setting low bit.
12358 * math/auto-libm-test-in: Mark one asin test possibly having
12359 spurious underflow.
12360 * math/auto-libm-test-out: Regenerated.
12361 * sysdeps/i386/fpu/libm-test-ulps: Update.
12362 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12363
ef114eaf
DH
123642014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
12365
2b7f4f2c
SP
12366 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
12367 * sysdeps/unix/sysv/linux/microblaze: Move directory from
12368 ports/sysdeps/unix/sysv/linux/microblaze.
ef114eaf
DH
12369 * README: Add missing listing for microblaze*-*-linux-gnu.
12370
8125aedc
AM
123712014-02-16 Ondřej Bílka <neleai@seznam.cz>
12372
12373 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
12374 duplicate code
12375
c70a4b1d
MF
123762014-02-16 Mike Frysinger <vapier@gentoo.org>
12377
12378 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
12379 * sysdeps/unix/sysv/linux/ia64: Move directory from
12380 ports/sysdeps/unix/sysv/linux/ia64.
12381 * README: Update listing for ia64-*-linux-gnu.
12382
591aeaf7
TD
123832014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
12384 Joseph Myers <joseph@codesourcery.com>
12385
12386 * Makeconfig (test-name): New variable.
12387 (evaluate-test): Likewise.
12388 * Makerules (do-test-clean): Remove .test-result files.
12389 (common-mostlyclean): Likewise.
12390 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
12391 * scripts/evaluate-test.sh: New file.
12392
6e89caf1
JM
123932014-02-14 Joseph Myers <joseph@codesourcery.com>
12394
7f98f180
JM
12395 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
12396 separate $(objpfx)tst-fopenloc-cmp.out and
12397 $(objpfx)tst-fopenloc-mem.out targets.
12398 (tests): Update dependencies.
12399 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
12400 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
12401 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
12402 (tst-rxspencer-no-utf8-ARGS): New variable.
12403 (tst-rxspencer-no-utf8-ENV): Likewise.
12404 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
12405 instead of $(objpfx)tst-rxspencer-mem.
12406 ($(objpfx)tst-rxspencer-mem): Change target to
12407 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
12408 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
12409 * posix/tst-rxspencer-no-utf8.c: New file.
12410
6e89caf1
JM
12411 * elf/Makefile ($(objpfx)order.out): Remove rule.
12412 [$(run-built-tests) = yes] (tests): Depend on
12413 $(objpfx)order-cmp.out.
12414 ($(objpfx)order-cmp.out): New rule.
12415 [$(run-built-tests) = yes] (tests): Depend on
12416 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
12417 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
12418 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
12419 $(objpfx)tst-array5-static-cmp.out.
12420 ($(objpfx)tst-array1.out): Remove rule.
12421 ($(objpfx)tst-array1-cmp.out): New rule.
12422 ($(objpfx)tst-array1-static.out): Remove rule.
12423 ($(objpfx)tst-array1-static-cmp.out): New rule.
12424 ($(objpfx)tst-array2.out): Remove rule.
12425 ($(objpfx)tst-array2-cmp.out): New rule.
12426 ($(objpfx)tst-array3.out): Remove rule.
12427 ($(objpfx)tst-array3-cmp.out): New rule.
12428 ($(objpfx)tst-array4.out): Remove rule.
12429 ($(objpfx)tst-array4-cmp.out): New rule.
12430 ($(objpfx)tst-array5.out): Remove rule.
12431 ($(objpfx)tst-array5-cmp.out): New rule.
12432 ($(objpfx)tst-array5-static.out): Remove rule.
12433 ($(objpfx)tst-array5-static-cmp.out): New rule.
12434 [$(run-built-tests) = yes] (tests): Depend on
12435 $(objpfx)order2-cmp.out.
12436 ($(objpfx)order2.out): Remove rule.
12437 ($(objpfx)order2-cmp.out): New rule.
12438 ($(objpfx)tst-initorder.out): Remove rule.
12439 [$(run-built-tests) = yes] (tests): Depend on
12440 $(objpfx)tst-initorder-cmp.out.
12441 ($(objpfx)tst-initorder-cmp.out): New rule.
12442 ($(objpfx)tst-initorder2.out): Remove rule.
12443 [$(run-built-tests) = yes] (tests): Depend on
12444 $(objpfx)tst-initorder2-cmp.out.
12445 ($(objpfx)tst-initorder2-cmp.out): New rule.
12446 [$(run-built-tests) = yes] (tests): Depend on
12447 $(objpfx)tst-unused-dep-cmp.out.
12448 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
12449 ($(objpfx)tst-unused-dep-cmp.out): New rule.
12450 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
12451 on $(objpfx)tst-setvbuf1-cmp.out.
12452 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
12453 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
12454 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
12455 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
12456 ($(objpfx)tst-svc.out): Remove rule.
12457 ($(objpfx)tst-svc-cmp.out): New rule.
12458
ed9a38e2
JM
124592014-02-13 Joseph Myers <joseph@codesourcery.com>
12460
12461 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
12462 * ctype/ctype.h [__USE_MISC]: Likewise.
12463 * dirent/dirent.h [__USE_MISC]: Likewise.
12464 * grp/grp.h [__USE_MISC]: Likewise.
12465 * io/fcntl.h [__USE_MISC]: Likewise.
12466 * io/sys/stat.h [__USE_MISC]: Likewise.
12467 * libio/stdio.h [__USE_MISC]: Likewise.
12468 * posix/unistd.h [__USE_MISC]: Likewise.
12469 * pwd/pwd.h [__USE_MISC]: Likewise.
12470 * stdlib.h [__USE_MISC]: Likewise.
12471 * string/bits/string2.h [__USE_MISC]: Likewise.
12472 * string/string.h [__USE_MISC]: Likewise.
12473 * time/time.h [__USE_MISC]: Likewise.
12474
d6680619
AS
124752014-02-13 Andreas Schwab <schwab@suse.de>
12476
12477 [BZ #16574]
12478 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
12479 second answer buffer if it was separately allocated.
12480
ace614b8
JM
124812014-02-12 Joseph Myers <joseph@codesourcery.com>
12482
743151ae
JM
12483 * sysdeps/mips/math-tests.h: Include <features.h>.
12484 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
12485 (ROUNDING_TESTS_long_double): Do not define.
12486 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
12487 (EXCEPTION_TESTS_long_double): Likewise.
12488 * sysdeps/mips/mips64/libm-test-ulps: Update.
12489
498afc54
JM
12490 * include/features.h (__USE_BSD): Remove macro definitions.
12491 (__USE_SVID): Likewise.
12492 (_BSD_SOURCE): Likewise.
12493 (_SVID_SOURCE): Likewise.
12494 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
12495 from definition of _DEFAULT_SOURCE.
12496 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
12497 [_DEFAULT_SOURCE].
12498 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
12499 * bits/mman.h [__USE_BSD]: Likewise.
12500 * bits/termios.h [__USE_BSD]: Likewise.
12501 * bits/waitstatus.h [__USE_BSD]: Likewise.
12502 * ctype/ctype.h [__USE_SVID]: Likewise.
12503 * dirent/dirent.h [__USE_BSD]: Likewise.
12504 * grp/grp.h [__USE_SVID]: Likewise.
12505 [__USE_BSD]: Likewise.
12506 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
12507 * io/fcntl.h [__USE_BSD]: Likewise.
12508 * io/ftw.h [__USE_BSD]: Likewise.
12509 * io/sys/stat.h [__USE_BSD]: Likewise.
12510 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
12511 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
12512 * libio/stdio.h [__USE_SVID]: Likewise.
12513 [__USE_BSD]: Likewise.
12514 * math/math.h [__USE_SVID]: Likewise.
12515 [__USE_BSD]: Likewise.
12516 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
12517 * misc/bits/syslog.h [__USE_BSD]: Likewise.
12518 * misc/search.h [__USE_SVID]: Likewise.
12519 * misc/sys/mman.h [__USE_BSD]: Likewise.
12520 * misc/sys/syslog.h [__USE_BSD]: Likewise.
12521 * misc/sys/uio.h [__USE_BSD]: Likewise.
12522 * posix/bits/unistd.h [__USE_BSD]: Likewise.
12523 * posix/glob.h [__USE_BSD]: Likewise.
12524 * posix/regex.h [__USE_BSD]: Likewise.
12525 * posix/sys/types.h [__USE_BSD]: Likewise.
12526 [__USE_SVID]: Likewise.
12527 * posix/sys/utsname.h [__USE_SVID]: Likewise.
12528 * posix/sys/wait.h [__USE_BSD]: Likewise.
12529 [__USE_SVID]: Likewise.
12530 * posix/unistd.h [__USE_BSD]: Likewise.
12531 [__USE_SVID]: Likewise.
12532 * pwd/pwd.h [__USE_SVID]: Likewise.
12533 * resolv/netdb.h [__USE_BSD]: Likewise.
12534 * setjmp/setjmp.h [__USE_BSD]: Likewise.
12535 * signal/signal.h [__USE_BSD]: Likewise.
12536 [__USE_SVID]: Likewise.
12537 * socket/sys/socket.h [__USE_BSD]: Likewise.
12538 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
12539 * stdlib/stdlib.h [__USE_BSD]: Likewise.
12540 [__USE_SVID]: Likewise.
12541 * string/bits/string2.h [__USE_BSD]: Likewise.
12542 [__USE_SVID]: Likewise.
12543 * string/bits/string3.h [__USE_BSD]: Likewise.
12544 * string/endian.h [__USE_BSD]: Likewise.
12545 * string/string.h [__USE_SVID]: Likewise.
12546 [__USE_BSD]: Likewise.
12547 * string/strings.h [__USE_BSD]: Likewise.
12548 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
12549 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
12550 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
12551 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
12552 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
12553 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
12554 Likewise.
12555 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
12556 Likewise.
12557 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
12558 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
12559 Likewise.
12560 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
12561 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
12562 Likewise.
12563 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
12564 Likewise.
12565 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
12566 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
12567 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
12568 Likewise.
12569 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
12570 Likewise.
12571 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
12572 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
12573 * termios/termios.h [__USE_BSD]: Likewise.
12574 * time/sys/time.h [__USE_BSD]: Likewise.
12575 * time/time.h [__USE_BSD]: Likewise.
12576 [__USE_SVID]: Likewise.
12577
dd7b064c
JM
12578 * Makefile (subdir_targets): Remove subdir_lint.out.
12579
a2c4c199
JM
12580 * stdio-common/Makefile (do-tst-unbputc): Remove target.
12581 (do-tst-printf): Likewise.
12582 (tests): Depend directly on $(objpfx)tst-unbputc.out and
12583 $(objpfx)tst-printf.out.
12584
8756f740
JM
12585 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
12586
1b6dd3f1
JM
12587 * Makerules (check-abi-%): Change target to
12588 $(objpfx)check-abi-%.out.
12589 (check-abi target): Update dependencies.
12590 (check-abi-pattern variable): Redirect output of diff to $@.
12591 (check-abi variable): Likewise.
12592 * elf/Makefile (check-abi): Update dependencies.
12593
ace614b8
JM
12594 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
12595 unused.
12596 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
12597 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
12598 subnormal range.
12599 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
12600 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
12601 value has largest subnormal exponent.
12602 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
12603 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
12604 * sysdeps/aarch64/soft-fp/sfp-machine.h
12605 (_FP_TININESS_AFTER_ROUNDING): New macro.
12606 * sysdeps/alpha/soft-fp/sfp-machine.h
12607 (_FP_TININESS_AFTER_ROUNDING): Likewise.
12608 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
12609 Likewise.
12610 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
12611 (_FP_TININESS_AFTER_ROUNDING): Likewise.
12612 * sysdeps/mips/soft-fp/sfp-machine.h
12613 (_FP_TININESS_AFTER_ROUNDING): Likewise.
12614 * sysdeps/powerpc/soft-fp/sfp-machine.h
12615 (_FP_TININESS_AFTER_ROUNDING): Likewise.
12616 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
12617 Likewise.
12618 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
12619 (_FP_TININESS_AFTER_ROUNDING): Likewise.
12620 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
12621 (_FP_TININESS_AFTER_ROUNDING): Likewise.
12622 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
12623 Likewise.
12624
fbfdf9cb
DAS
126252014-02-12 Dylan Alex Simon <dylan@dylex.net>
12626
12627 [BZ #16545]
12628 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
12629 model 1.
12630
68b7efaa
RH
126312014-02-12 Richard Henderson <rth@redhat.com>
12632
c70a4b1d 12633 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
68b7efaa
RH
12634 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
12635 * sysdeps/unix/sysv/linux/alpha: Move directory from
12636 ports/sysdeps/unix/sysv/linux/alpha.
12637 * README: Update listing for alpha-*-linux-gnu.
12638
cb4a2928
JM
126392014-02-11 Joseph Myers <joseph@codesourcery.com>
12640
c941736c
JM
12641 * include/features.h: Update comment documenting feature test
12642 macros.
12643 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
12644 _DEFAULT_SOURCE.
12645 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
12646 (_SVID_SOURCE): Likewise.
12647 (_DEFAULT_SOURCE): Update description of default features.
12648 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
12649 with _GNU_SOURCE.
12650 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
12651 (S_ISVTX): Likewise.
12652 * manual/math.texi (Mathematical Constants): Likewise.
12653 * manual/signal.texi (Interrupted Primitives): Likewise.
12654 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
12655 * math/test-matherr.c (_SVID_SOURCE): Do not define.
12656 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
12657 Don't refer to _SVID_SOURCE in warning text.
12658
e8d8d7ec
JM
12659 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12660
cb4a2928
JM
12661 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
12662 already defined.
12663 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
12664 * sysdeps/mips/dl-lookup.c: Remove.
12665 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
12666
7e6424e3
AK
126672014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
12668
12669 [BZ #16447]
12670 * math/auto-libm-test-in: Add testcase for expl.
12671 * math/auto-libm-test-out: Regenerate.
12672 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
12673 calculation of unsafe.
12674 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
12675
75eff3fe
MS
126762014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
12677
12678 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
12679 * sysdeps/unix/sysv/linux/aarch64: Move directory from
12680 ports/sysdeps/unix/sysv/linux/aarch64.
12681 * README: Update listing for aarch64*-*-linux-gnu.
12682
d35f1e80
WN
126832014-02-11 Will Newton <will.newton@linaro.org>
12684
12685 * manual/probes.texi (Mathematical Function Probes): Use
12686 "triggered" instead of "hit".
12687
7b3436d4
WN
12688 * manual/probes.texi (Internal Probes): Add documentation
12689 of setjmp, longjmp and longjmp_target probes.
12690
b4f12ca3
WN
12691 * include/stap-probe.h: Add comment about probe argument
12692 format.
12693
c13a72b7
WN
12694 * malloc/mtrace.c (attribute_hidden): Remove unused macro
12695 definition. (tr_where, tr_freehook, tr_mallochook,
12696 tr_reallochook, tr_memalignhook): Use ANSI protoype.
12697
195b8165
DM
126982014-02-11 David S. Miller <davem@davemloft.net>
12699
12700 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
12701 processing int_tests.
12702
2ad7600b
JM
127032014-02-10 Joseph Myers <joseph@codesourcery.com>
12704
12705 * sysdeps/mips: Move directory from ports/sysdeps/mips.
12706 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
12707 * sysdeps/unix/sysv/linux/mips: Move directory from
12708 ports/sysdeps/unix/sysv/linux/mips.
12709 * README: Update listing for mips-*-linux-gnu and
12710 mips64-*-linux-gnu.
12711
73588a72
AS
127122014-02-10 Andreas Schwab <schwab@linux-m68k.org>
12713
12714 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
12715 * sysdeps/unix/sysv/linux/m68k: Move directory from
12716 ports/sysdeps/unix/sysv/linux/m68k.
12717 * README: Update listing for m68k-*-linux-gnu.
12718
4372980f
CM
127192014-02-10 Chris Metcalf <cmetcalf@tilera.com>
12720
12721 * sysdeps/tile: Move directory from ports/sysdeps/tile.
12722 * sysdeps/unix/sysv/linux/generic: Move directory from
12723 ports/sysdeps/unix/sysv/linux/generic.
12724 * sysdeps/unix/sysv/linux/tile: Move directory from
12725 ports/sysdeps/unix/sysv/linux/tile.
12726 * README: Update listing for tile*-*-linux-gnu.
12727
a1ffb40e
OB
127282014-02-10 Ondřej Bílka <neleai@seznam.cz>
12729
57f41c40
AS
12730 * assert/assert.c (__assert_fail_base): Use glibc_likely instead
12731 __builtin_expect.
a1ffb40e
OB
12732 * benchtests/bench-memmem.c (simple_memmem): Likewise.
12733 * catgets/open_catalog.c (__open_catalog): Likewise.
12734 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
12735 * debug/confstr_chk.c: Likewise.
12736 * debug/fread_chk.c (__fread_chk): Likewise.
12737 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
12738 * debug/getgroups_chk.c: Likewise.
12739 * debug/mbsnrtowcs_chk.c: Likewise.
12740 * debug/mbsrtowcs_chk.c: Likewise.
12741 * debug/mbstowcs_chk.c: Likewise.
12742 * debug/memcpy_chk.c: Likewise.
12743 * debug/memmove_chk.c: Likewise.
12744 * debug/mempcpy_chk.c: Likewise.
12745 * debug/memset_chk.c: Likewise.
12746 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
12747 * debug/strcat_chk.c (__strcat_chk): Likewise.
12748 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
12749 * debug/strncat_chk.c (__strncat_chk): Likewise.
12750 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
12751 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
12752 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
12753 * debug/wcpncpy_chk.c: Likewise.
12754 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
12755 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
12756 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
12757 * debug/wcsncpy_chk.c: Likewise.
12758 * debug/wcsnrtombs_chk.c: Likewise.
12759 * debug/wcsrtombs_chk.c: Likewise.
12760 * debug/wcstombs_chk.c: Likewise.
12761 * debug/wmemcpy_chk.c: Likewise.
12762 * debug/wmemmove_chk.c: Likewise.
12763 * debug/wmempcpy_chk.c: Likewise.
12764 * debug/wmemset_chk.c: Likewise.
12765 * dirent/scandirat.c (SCANDIRAT): Likewise.
12766 * dlfcn/dladdr1.c (dladdr1): Likewise.
12767 * dlfcn/dladdr.c (dladdr): Likewise.
12768 * dlfcn/dlclose.c (dlclose_doit): Likewise.
12769 * dlfcn/dlerror.c (__dlerror): Likewise.
12770 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
12771 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
12772 * dlfcn/dlopen.c (dlopen_doit): Likewise.
12773 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
12774 * dlfcn/dlsym.c (dlsym_doit): Likewise.
12775 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
12776 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
12777 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
12778 Likewise.
12779 * elf/dl-conflict.c: Likewise.
12780 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
12781 * elf/dl-dst.h: Likewise.
12782 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
12783 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
12784 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
12785 * elf/dl-init.c (call_init, _dl_init): Likewise.
12786 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
57f41c40
AS
12787 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
12788 (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
12789 Likewise.
a1ffb40e
OB
12790 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
12791 Likewise.
12792 * elf/dl-minimal.c (__libc_memalign): Likewise.
12793 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
12794 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
12795 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
12796 * elf/dl-sym.c (do_sym): Likewise.
57f41c40
AS
12797 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
12798 (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
a1ffb40e
OB
12799 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
12800 * elf/dl-writev.h (_dl_writev): Likewise.
12801 * elf/ldconfig.c (search_dir): Likewise.
57f41c40
AS
12802 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
12803 (dl_main): Likewise.
a1ffb40e
OB
12804 * elf/setup-vdso.h (setup_vdso): Likewise.
12805 * grp/compat-initgroups.c (compat_call): Likewise.
12806 * grp/fgetgrent.c (fgetgrent): Likewise.
12807 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
12808 * grp/putgrent.c (putgrent): Likewise.
12809 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
12810 Likewise.
12811 * hurd/hurdinit.c: Likewise.
12812 * iconvdata/8bit-gap.c (struct): Likewise.
12813 * iconvdata/ansi_x3.110.c : Likewise.
12814 * iconvdata/big5.c : Likewise.
12815 * iconvdata/big5hkscs.c : Likewise.
12816 * iconvdata/cp1255.c: Likewise.
12817 * iconvdata/cp1258.c : Likewise.
12818 * iconvdata/cp932.c : Likewise.
12819 * iconvdata/euc-cn.c: Likewise.
12820 * iconvdata/euc-jisx0213.c : Likewise.
12821 * iconvdata/euc-jp.c: Likewise.
12822 * iconvdata/euc-jp-ms.c : Likewise.
12823 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
12824 * iconvdata/gb18030.c : Likewise.
12825 * iconvdata/gbbig5.c (const): Likewise.
12826 * iconvdata/gbgbk.c: Likewise.
12827 * iconvdata/gbk.c : Likewise.
12828 * iconvdata/ibm1364.c : Likewise.
12829 * iconvdata/ibm930.c : Likewise.
12830 * iconvdata/ibm932.c: Likewise.
12831 * iconvdata/ibm933.c : Likewise.
12832 * iconvdata/ibm935.c : Likewise.
12833 * iconvdata/ibm937.c : Likewise.
12834 * iconvdata/ibm939.c : Likewise.
12835 * iconvdata/ibm943.c: Likewise.
12836 * iconvdata/iso_11548-1.c: Likewise.
12837 * iconvdata/iso-2022-cn.c : Likewise.
12838 * iconvdata/iso-2022-cn-ext.c : Likewise.
12839 * iconvdata/iso-2022-jp-3.c: Likewise.
12840 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
12841 * iconvdata/iso-2022-kr.c : Likewise.
12842 * iconvdata/iso646.c (gconv_end): Likewise.
12843 * iconvdata/iso_6937-2.c : Likewise.
12844 * iconvdata/iso_6937.c : Likewise.
12845 * iconvdata/iso8859-1.c: Likewise.
12846 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
12847 * iconvdata/shift_jisx0213.c : Likewise.
12848 * iconvdata/sjis.c : Likewise.
12849 * iconvdata/t.61.c : Likewise.
12850 * iconvdata/tcvn5712-1.c : Likewise.
12851 * iconvdata/tscii.c: Likewise.
12852 * iconvdata/uhc.c : Likewise.
12853 * iconvdata/unicode.c (gconv_end): Likewise.
12854 * iconvdata/utf-16.c (gconv_end): Likewise.
12855 * iconvdata/utf-32.c (gconv_end): Likewise.
12856 * iconvdata/utf-7.c (base64): Likewise.
12857 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
12858 * iconv/gconv_close.c (__gconv_close): Likewise.
12859 * iconv/gconv_open.c (__gconv_open): Likewise.
57f41c40
AS
12860 * iconv/gconv_simple.c (internal_ucs4_loop_single)
12861 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
12862 (ucs4_internal_loop_single, internal_ucs4le_loop_single)
12863 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
12864 (ucs4le_internal_loop_single): Likewise.
a1ffb40e
OB
12865 * iconv/iconv.c (iconv): Likewise.
12866 * iconv/iconv_close.c: Likewise.
12867 * iconv/loop.c (SINGLE): Likewise.
12868 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
12869 * include/atomic.h: Likewise.
12870 * inet/inet6_option.c (option_alloc): Likewise.
12871 * intl/bindtextdom.c (set_binding_values): Likewise.
12872 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
12873 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
12874 * intl/localealias.c (read_alias_file): Likewise.
12875 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
57f41c40
AS
12876 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
12877 (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
a1ffb40e
OB
12878 * libio/fmemopen.c (fmemopen): Likewise.
12879 * libio/iofgets.c (_IO_fgets): Likewise.
12880 * libio/iofgets_u.c (fgets_unlocked): Likewise.
12881 * libio/iofgetws.c (fgetws): Likewise.
12882 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
12883 * libio/iogetdelim.c (_IO_getdelim): Likewise.
57f41c40
AS
12884 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
12885 (adjust_wide_data, _IO_wfile_seekoff): Likewise.
a1ffb40e
OB
12886 * locale/findlocale.c (_nl_find_locale): Likewise.
12887 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
12888 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
12889 Likewise.
12890 * locale/setlocale.c (setlocale): Likewise.
12891 * login/programs/pt_chown.c (main): Likewise.
12892 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
12893 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
57f41c40
AS
12894 * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
12895 (mmap, mmap64, mremap, munmap): Likewise.
a1ffb40e
OB
12896 * math/e_exp2l.c: Likewise.
12897 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
12898 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
12899 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
12900 * math/s_catan.c (__catan): Likewise.
12901 * math/s_catanf.c (__catanf): Likewise.
12902 * math/s_catanh.c (__catanh): Likewise.
12903 * math/s_catanhf.c (__catanhf): Likewise.
12904 * math/s_catanhl.c (__catanhl): Likewise.
12905 * math/s_catanl.c (__catanl): Likewise.
12906 * math/s_ccosh.c (__ccosh): Likewise.
12907 * math/s_ccoshf.c (__ccoshf): Likewise.
12908 * math/s_ccoshl.c (__ccoshl): Likewise.
12909 * math/s_cexp.c (__cexp): Likewise.
12910 * math/s_cexpf.c (__cexpf): Likewise.
12911 * math/s_cexpl.c (__cexpl): Likewise.
12912 * math/s_clog10.c (__clog10): Likewise.
12913 * math/s_clog10f.c (__clog10f): Likewise.
12914 * math/s_clog10l.c (__clog10l): Likewise.
12915 * math/s_clog.c (__clog): Likewise.
12916 * math/s_clogf.c (__clogf): Likewise.
12917 * math/s_clogl.c (__clogl): Likewise.
12918 * math/s_csin.c (__csin): Likewise.
12919 * math/s_csinf.c (__csinf): Likewise.
12920 * math/s_csinh.c (__csinh): Likewise.
12921 * math/s_csinhf.c (__csinhf): Likewise.
12922 * math/s_csinhl.c (__csinhl): Likewise.
12923 * math/s_csinl.c (__csinl): Likewise.
12924 * math/s_csqrt.c (__csqrt): Likewise.
12925 * math/s_csqrtf.c (__csqrtf): Likewise.
12926 * math/s_csqrtl.c (__csqrtl): Likewise.
12927 * math/s_ctan.c (__ctan): Likewise.
12928 * math/s_ctanf.c (__ctanf): Likewise.
12929 * math/s_ctanh.c (__ctanh): Likewise.
12930 * math/s_ctanhf.c (__ctanhf): Likewise.
12931 * math/s_ctanhl.c (__ctanhl): Likewise.
12932 * math/s_ctanl.c (__ctanl): Likewise.
12933 * math/w_pow.c: Likewise.
12934 * math/w_powf.c: Likewise.
12935 * math/w_powl.c: Likewise.
12936 * math/w_scalb.c (sysv_scalb): Likewise.
12937 * math/w_scalbf.c (sysv_scalbf): Likewise.
12938 * math/w_scalbl.c (sysv_scalbl): Likewise.
12939 * misc/error.c (error_tail): Likewise.
12940 * misc/pselect.c (__pselect): Likewise.
12941 * nis/nis_callback.c (__nis_create_callback): Likewise.
12942 * nis/nis_call.c (__nisfind_server): Likewise.
12943 * nis/nis_creategroup.c (nis_creategroup): Likewise.
12944 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
12945 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
12946 * nis/nis_getservlist.c (nis_getservlist): Likewise.
12947 * nis/nis_lookup.c (nis_lookup): Likewise.
12948 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
57f41c40
AS
12949 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
12950 (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
a1ffb40e 12951 * nis/nis_xdr.c (xdr_endpoint): Likewise.
57f41c40
AS
12952 * nis/nss_compat/compat-grp.c (getgrent_next_file)
12953 (internal_getgrnam_r, internal_getgrgid_r): Likewise.
12954 * nis/nss_compat/compat-initgroups.c (add_group)
12955 (internal_getgrent_r): Likewise.
12956 * nis/nss_compat/compat-pwd.c (getpwent_next_file)
12957 (internal_getpwnam_r, internal_getpwuid_r): Likewise.
12958 * nis/nss_compat/compat-spwd.c (getspent_next_file)
12959 (internal_getspnam_r): Likewise.
12960 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
12961 (_nss_nis_getaliasbyname_r): Likewise.
12962 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
12963 (_nss_nis_getntohost_r): Likewise.
12964 * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
12965 (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
12966 (_nss_nis_getgrgid_r): Likewise.
12967 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
12968 (internal_nis_gethostent_r, internal_gethostbyname2_r)
12969 (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
12970 (_nss_nis_gethostbyname4_r): Likewise.
12971 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
12972 (initgroups_netid): Likewise.
a1ffb40e 12973 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
57f41c40
AS
12974 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
12975 (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
12976 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
12977 (_nss_nis_getprotobynumber_r): Likewise.
12978 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
12979 (_nss_nis_getsecretkey): Likewise.
12980 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
12981 (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
12982 (_nss_nis_getpwuid_r): Likewise.
12983 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
12984 (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
12985 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
12986 (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
12987 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
12988 (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
a1ffb40e
OB
12989 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
12990 Likewise.
57f41c40
AS
12991 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
12992 (_nss_nisplus_getntohost_r): Likewise.
12993 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
12994 (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
12995 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
12996 (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
a1ffb40e 12997 Likewise.
57f41c40
AS
12998 * nis/nss_nisplus/nisplus-initgroups.c
12999 (_nss_nisplus_initgroups_dyn): Likewise.
13000 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
13001 (_nss_nisplus_getnetbyaddr_r): Likewise.
13002 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
13003 (_nss_nisplus_getprotobynumber_r): Likewise.
13004 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
13005 (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
a1ffb40e
OB
13006 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
13007 Likewise.
57f41c40
AS
13008 * nis/nss_nisplus/nisplus-service.c
13009 (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
13010 (_nss_nisplus_getservbyport_r): Likewise.
13011 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
13012 (_nss_nisplus_getspnam_r): Likewise.
13013 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
13014 Likewise.
a1ffb40e
OB
13015 * nscd/aicache.c (addhstaiX): Likewise.
13016 * nscd/cache.c (cache_search, prune_cache): Likewise.
57f41c40
AS
13017 * nscd/connections.c (register_traced_file, send_ro_fd)
13018 (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
13019 (main_loop_epoll): Likewise.
a1ffb40e
OB
13020 * nscd/grpcache.c (addgrbyX): Likewise.
13021 * nscd/hstcache.c (addhstbyX): Likewise.
13022 * nscd/initgrcache.c (addinitgroupsX): Likewise.
13023 * nscd/mem.c (gc, mempool_alloc): Likewise.
57f41c40
AS
13024 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
13025 (addinnetgrX): Likewise.
13026 * nscd/nscd-client.h (__nscd_acquire_maplock)
13027 (__nscd_drop_map_ref): Likewise.
a1ffb40e
OB
13028 * nscd/nscd_getai.c (__nscd_getai): Likewise.
13029 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
13030 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
13031 Likewise.
13032 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
13033 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
57f41c40
AS
13034 * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
13035 (__nscd_get_map_ref): Likewise.
a1ffb40e 13036 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
57f41c40
AS
13037 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
13038 Likewise.
a1ffb40e
OB
13039 * nscd/pwdcache.c (addpwbyX): Likewise.
13040 * nscd/selinux.c (preserve_capabilities): Likewise.
13041 * nscd/servicescache.c (addservbyX): Likewise.
13042 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
13043 * posix/fnmatch.c (fnmatch): Likewise.
13044 * posix/getopt.c (_getopt_internal_r): Likewise.
13045 * posix/glob.c (glob, glob_in_dir): Likewise.
13046 * posix/wordexp.c (exec_comm_child): Likewise.
57f41c40
AS
13047 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
13048 (getanswer_r, gaih_getanswer_slice): Likewise.
a1ffb40e
OB
13049 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
13050 * resolv/res_init.c: Likewise.
13051 * resolv/res_mkquery.c (res_nmkquery): Likewise.
13052 * resolv/res_query.c (__libc_res_nquery): Likewise.
13053 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
13054 Likewise.
13055 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
13056 * stdio-common/perror.c (perror): Likewise.
13057 * stdio-common/printf_fp.c (___printf_fp): Likewise.
13058 * stdio-common/tmpnam.c (tmpnam): Likewise.
13059 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
13060 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
57f41c40
AS
13061 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
13062 Likewise.
a1ffb40e
OB
13063 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
13064 * stdlib/putenv.c (putenv): Likewise.
13065 * stdlib/setenv.c (__add_to_environ): Likewise.
13066 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
13067 * stdlib/strtol_l.c (INTERNAL): Likewise.
13068 * string/memmem.c (memmem): Likewise.
13069 * string/strerror.c (strerror): Likewise.
13070 * string/strnlen.c (__strnlen): Likewise.
13071 * string/test-memmem.c (simple_memmem): Likewise.
13072 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
13073 * sunrpc/pm_getport.c (__get_socket): Likewise.
13074 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
13075 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
57f41c40
AS
13076 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
13077 (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
a1ffb40e
OB
13078 Likewise.
13079 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
13080 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
13081 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
13082 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
13083 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
57f41c40
AS
13084 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
13085 Likewise.
13086 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
13087 Likewise.
a1ffb40e
OB
13088 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
13089 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
13090 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
13091 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
13092 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
13093 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
13094 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
13095 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
13096 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
13097 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
13098 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
13099 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
13100 Likewise.
13101 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
13102 Likewise.
13103 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
13104 Likewise.
13105 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
13106 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
13107 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
13108 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
13109 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
13110 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
13111 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
13112 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
13113 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
13114 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
13115 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
13116 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
13117 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
13118 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
13119 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
57f41c40
AS
13120 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
13121 Likewise.
a1ffb40e
OB
13122 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
13123 Likewise.
13124 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
13125 Likewise.
13126 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
13127 Likewise.
13128 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
13129 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
13130 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
13131 Likewise.
13132 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
13133 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
13134 * sysdeps/posix/opendir.c (__opendirat): Likewise.
13135 * sysdeps/posix/sleep.c: Likewise.
13136 * sysdeps/posix/tempname.c: Likewise.
13137 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
13138 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
13139 Likewise.
57f41c40
AS
13140 * sysdeps/powerpc/powerpc32/dl-machine.h
13141 (elf_machine_runtime_setup, elf_machine_rela): Likewise.
a1ffb40e
OB
13142 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
13143 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
13144 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
13145 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
13146 Likewise.
13147 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
13148 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
13149 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
13150 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
13151 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
a1ffb40e
OB
13152 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
13153 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
13154 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
13155 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
13156 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
13157 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
13158 (elf_machine_lazy_rel): Likewise.
a1ffb40e 13159 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
13160 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
13161 (elf_machine_lazy_rel): Likewise.
a1ffb40e
OB
13162 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
13163 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
13164 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
13165 * sysdeps/unix/grantpt.c (grantpt): Likewise.
13166 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
13167 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
13168 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
13169 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
13170 Likewise.
13171 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
13172 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
13173 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
13174 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
13175 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
13176 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
13177 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
13178 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
13179 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
13180 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
13181 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
13182 Likewise.
13183 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
13184 (__posix_fallocate64_l64): Likewise.
13185 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
13186 (posix_fallocate): Likewise.
57f41c40
AS
13187 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
13188 Likewise.
a1ffb40e 13189 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
57f41c40
AS
13190 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
13191 (getifaddrs_internal): Likewise.
a1ffb40e
OB
13192 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
13193 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
13194 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
13195 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
13196 * sysdeps/unix/sysv/linux/posix_fallocate64.c
13197 (__posix_fallocate64_l64): Likewise.
13198 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
13199 Likewise.
13200 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
57f41c40
AS
13201 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
13202 (__get_clockfreq): Likewise.
a1ffb40e
OB
13203 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
13204 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
13205 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
13206 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
13207 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
13208 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
13209 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
13210 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
13211 Likewise.
13212 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
13213 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
13214 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
13215 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
13216 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
13217 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
13218 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
13219 Likewise.
13220 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
13221 (posix_fallocate): Likewise.
13222 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
13223 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
13224 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
13225 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
13226 (elf_machine_rela, elf_machine_rela_relative)
13227 (elf_machine_lazy_rel): Likewise.
a1ffb40e
OB
13228 * time/asctime.c (asctime_internal): Likewise.
13229 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
13230 * time/tzset.c (__tzset_parse_tz): Likewise.
13231 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
13232 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
13233 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
13234 * wcsmbs/wcsmbsload.h: Likewise.
13235
f3d338c9
OB
13236 [BZ #15894]
13237 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
13238
57f41c40
AS
13239 * malloc/arena.c (grow_heap, get_free_list, reused_arena)
13240 (arena_get2): Remove THREAD_STATS conditionals.
13241 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
13242 (__malloc_stats, int): Likewise.
bdfe308a 13243
d674667c
MF
132442014-02-08 Mike Frysinger <vapier@gentoo.org>
13245
13246 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
13247 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
13248
6349768c
MF
13249 * manual/setjmp.texi: Fix typos/grammar errors.
13250
0b7c7473
MF
13251 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
13252 Only return early when n is <= 0. Delete unused return statement.
13253
ac8cc9e3
MF
13254 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
13255 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
13256 * debug/tst-longjmp_chk3.c: New file.
13257
c5bb8e23
MF
13258 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
13259 (test_main): Replace code with set_fortify_handler call.
13260 * debug/test-strcpy_chk.c: Likewise.
13261 * debug/tst-chk1.c: Likewise.
13262 * debug/tst-longjmp_chk.c: Likewise.
13263 * test-skeleton.c: Include fcntl.h & paths.h
13264 (set_fortify_handler): Define.
13265
10444e42
MF
13266 * debug/tst-longjmp_chk.c: Add header comment and include
13267 ../test-skeleton.c.
13268 (do_test): Mark static.
13269 (TEST_FUNCTION): Define.
13270
1e805e8d
MF
13271 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
13272 (IP_PMTUDISC_INTERFACE): Likewise.
13273 (IP_MULTICAST_IF): Likewise.
13274 (IP_MULTICAST_TTL): Likewise.
13275 (IP_MULTICAST_LOOP): Likewise.
13276 (IP_ADD_MEMBERSHIP): Likewise.
13277 (IP_DROP_MEMBERSHIP): Likewise.
13278 (IP_UNBLOCK_SOURCE): Likewise.
13279 (IP_BLOCK_SOURCE): Likewise.
13280 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
13281 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
13282 (IP_MSFILTER): Likewise.
13283 (MCAST_JOIN_GROUP): Likewise.
13284 (MCAST_BLOCK_SOURCE): Likewise.
13285 (MCAST_UNBLOCK_SOURCE): Likewise.
13286 (MCAST_LEAVE_GROUP): Likewise.
13287 (MCAST_JOIN_SOURCE_GROUP): Likewise.
13288 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
13289 (MCAST_MSFILTER): Likewise.
13290 (IP_MULTICAST_ALL): Likewise.
13291 (IP_UNICAST_IF): Likewise.
13292
73f79bb7
MF
13293 * timezone/Makefile: Delete $(have-ksh) check.
13294 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
13295 * timezone/tzselect.ksh: Add +x mode bits.
13296
8da79b60
MF
13297 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
13298 (ANON_INODE_FS_MAGIC): Likewise.
13299 (BDEVFS_MAGIC): Likewise.
13300 (BINFMTFS_MAGIC): Likewise.
13301 (BTRFS_TEST_MAGIC): Likewise.
13302 (CRAMFS_MAGIC_WEND): Likewise.
13303 (DEBUGFS_MAGIC): Likewise.
13304 (ECRYPTFS_SUPER_MAGIC): Likewise.
13305 (EXT3_SUPER_MAGIC): Likewise.
13306 (EXT4_SUPER_MAGIC): Likewise.
13307 (FUTEXFS_SUPER_MAGIC): Likewise.
13308 (HOSTFS_SUPER_MAGIC): Likewise.
13309 (HUGETLBFS_MAGIC): Likewise.
13310 (MINIX3_SUPER_MAGIC): Likewise.
13311 (MTD_INODE_FS_MAGIC): Likewise.
13312 (NILFS_SUPER_MAGIC): Likewise.
13313 (OPENPROM_SUPER_MAGIC): Likewise.
13314 (PIPEFS_MAGIC): Likewise.
13315 (PSTOREFS_MAGIC): Likewise.
13316 (QNX6_SUPER_MAGIC): Likewise.
13317 (RAMFS_MAGIC): Likewise.
13318 (REISERFS_SUPER_MAGIC_STRING): Likewise.
13319 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
13320 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
13321 (SECURITYFS_MAGIC): Likewise.
13322 (SELINUX_MAGIC): Likewise.
13323 (SMACK_MAGIC): Likewise.
13324 (SOCKFS_MAGIC): Likewise.
13325 (SQUASHFS_MAGIC): Likewise.
13326 (STACK_END_MAGIC): Likewise.
13327 (TMPFS_MAGIC): Likewise.
13328 (USBDEVICE_SUPER_MAGIC): Likewise.
13329 (V9FS_MAGIC): Likewise.
13330 (XENFS_SUPER_MAGIC): Likewise.
13331 (CRAMFS_MAGIC): Fix typo in comment.
13332 (EXT2_SUPER_MAGIC): Update comment.
13333 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
13334
464263cc
JM
133352014-02-08 Joseph Myers <joseph@codesourcery.com>
13336
c6bfe5c4
JM
13337 * sysdeps/arm: Move directory from ports/sysdeps/arm.
13338 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
13339 * sysdeps/unix/sysv/linux/arm: Move directory from
13340 ports/sysdeps/unix/sysv/linux/arm.
13341 * README: Update listing for arm-*-linux-gnueabi.
13342
464263cc
JM
13343 * README: Remove mention of am33.
13344
32749f6c
RM
133452014-02-07 Roland McGrath <roland@hack.frob.com>
13346
13347 * bits/sigset.h (__sigemptyset): Use a statement expression rather
13348 than the comma operator, to avoid "rhs of comma has no effect"
13349 compiler warnings.
13350 (__sigfillset, __sigandset, __sigorset): Likewise.
13351 * include/signal.h (__sigemptyset): Likewise.
13352 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
13353
d5b396c1
AM
133542014-02-07 Allan McRae <allan@archlinux.org>
13355
13356 * version.h (RELEASE): Set to "development".
13357 (VERSION): Set to "2.19.90"
13358 * NEWS: Add 2.20 section.
13359
3bfff2ed
CD
133602014-02-06 Carlos O'Donell <carlos@redhat.com>
13361
13362 [BZ #16529]
13363 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
13364
ee7cc385
SP
133652014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
13366
13367 * manual/contrib.texi: Update entry for Carlos O'Donell,
13368 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
13369
f877c4f2
CD
133702014-02-05 Carlos O'Donell <carlos@rehdat.com>
13371
27e839f6
CD
13372 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
13373
f877c4f2
CD
13374 * sysdeps/unix/sysv/linux/kernel-features.h
13375 [__LINUX_KERNEL_VERSION >= 0x020621]
13376 (__ASSUME_PROC_PID_TASK_COMM): Define.
13377
68159946
SP
133782014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
13379
ba17cdbd
SP
13380 [BZ #16398]
13381 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
13382 conversion when destination buffer does not have enough space.
13383 * libio/tst-ftell-partial-wide.c: New test case.
13384 * libio/Makefile (tests): Add tst-ftell-partial-wide.
13385
68159946
SP
13386 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
13387 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
13388 Leonard and Allan McRae.
13389
2b528732
DM
133902014-02-04 David S. Miller <davem@davemloft.net>
13391
13392 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
13393 32-bit.
13394
0ff82463
AZ
133952014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13396
57f41c40
AS
13397 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
13398 New file
c01603f7
AZ
13399 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
13400 New file
57f41c40
AS
13401 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
13402 New file.
13403 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
13404 New file.
c01603f7
AZ
13405 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
13406 New file.
57f41c40
AS
13407 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
13408 New file.
13409 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
13410 New file.
c01603f7
AZ
13411 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
13412 New file.
13413 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
13414 New file.
13415 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
13416 New file.
13417 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
13418 New file.
13419 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
13420 New file.
13421 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
13422 New file.
13423
134242014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13425
0ff82463
AZ
13426 * nptl/shlib-versions: Change powerpc*le start to 2.17.
13427 * shlib-versions: Likewise.
13428
1695c773
AZ
134292014-02-04 Roland McGrath <roland@hack.frob.com>
13430 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13431
13432 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
13433 (abilist-pattern): New variable, set to %-le.abilist.
13434
13435 * Makerules (abilist-pattern): New variable.
13436 (vpath): Use $(abilist-pattern) in place of %.abilist.
13437 (check-abi-% pattern rule): Likewise.
13438 (check-abi, update-abi): Likewise.
13439
6c0ce4b4
EW
134402014-02-04 Eric Wong <normalperson@yhbt.net>
13441
13442 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13443
481e3524
CD
134442014-02-03 Carlos O'Donell <carlos@redhat.com>
13445
13446 * manual/startup.texi: Add next, previous, and top entries for
13447 the `Program Arguments' and `Environment Variables' nodes.
13448
375592d3
AO
134492014-02-03 Alexandre Oliva <aoliva@redhat.com>
13450
13451 * manual/macros.texi: Add comments before MTASC-safety macros.
13452
f54838ba
AO
13453 * manual/users.texi: Document MTASC-safety properties.
13454
57f41c40
AS
13455 * manual/threads.texi (pthread_key_create, pthread_key_delete)
13456 (pthread_getspecific, pthread_setspecific): Format with
909e12ad
AO
13457 @deftypefun, and add @safety note.
13458 * manual/signal.texi: Move comments that analyze the above
13459 functions to their home place.
13460
fd3daba4
AM
134612014-02-03 Allan McRae <allan@archlinux.org>
13462
13463 * po/sl.po: Update Slovenian translation from translation project.
13464
597636d7
AO
134652014-02-02 Alexandre Oliva <aoliva@redhat.com>
13466
13467 * manual/time.texi (timegm): Add missing blank after @c.
13468 Reported by Joseph Myers <joseph@codesourcery.com>.
13469
ee196e3c
AO
134702014-02-01 Alexandre Oliva <aoliva@redhat.com>
13471
13472 * manual/check-safety.sh: New.
13473 * manual/Makefile ($(objpfx)stamp-summary): Run it.
13474
f8d529d5
AO
13475 * manual/terminal.texi: Document MTASC-safety properties.
13476
de55fdf4
AO
13477 * manual/filesys.texi: Document MTASC-safety properties.
13478
c3299c08
AO
13479 * manual/errno.texi: Document MTASC-safety properties.
13480
06e90b14
AO
13481 * manual/intro.texi: Document safety identifiers and
13482 conditionals.
13483
1acd4371
AO
13484 * manual/string.texi (wcstok): Fix prototype.
13485 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
13486
23e5b8cb
AO
13487 * manual/time.texi: Document MTASC-safety properties.
13488
11087373
AO
13489 * manual/string.texi: Document MTASC-safety properties.
13490
5da2c93d
AO
13491 * manual/threads.texi: Document MTASC-safety properties.
13492
171e9210
AO
13493 * manual/stdio.texi: Document MTASC-safety properties.
13494
d9e02532
AO
13495 * manual/syslog.texi: Document MTASC-safety properties.
13496
6af8bab7
AO
13497 * manual/sysinfo.texi: Document MTASC-safety properties.
13498
663b02d7
AO
13499 * manual/startup.texi: Document MTASC-safety properties.
13500
973f180b
AO
13501 * manual/socket.texi: Document MTASC-safety properties.
13502
8f3c25c8
AO
13503 * manual/signal.texi: Document MTASC-safety properties.
13504
542210fb
AO
135052014-01-31 Alexandre Oliva <aoliva@redhat.com>
13506
13507 * manual/setjmp.texi: Document MTASC-safety properties.
13508
433c45a2
AO
13509 * manual/search.texi: Document MTASC-safety properties.
13510
c8ce789c
AO
13511 * manual/resource.texi: Document MTASC-safety properties.
13512
19f5d29c
AO
13513 * manual/process.texi: Document MTASC-safety properties.
13514
e2dfb7f4
AO
13515 * manual/platform.texi: Document MTASC-safety properties.
13516
8c1413f5
AO
13517 * manual/pipe.texi: Document MTASC-safety properties.
13518
03483ada
AO
13519 * manual/pattern.texi: Document MTASC-safety properties.
13520
29e7e2df
AO
13521 * manual/message.texi: Document MTASC-safety properties.
13522
9f529d7c
AO
13523 [BZ #12751]
13524 * manual/memory.texi: Document MTASC-safety properties.
13525
27aaa791
AO
13526 * manual/math.texi: Document MTASC-safety properties.
13527
f2d58726
AO
13528 * manual/locale.texi: Document MTASC-safety properties.
13529
2cc3615c
AO
13530 * manual/llio.texi: Document MTASC-safety properties.
13531
d9f0ec97
AO
13532 * manual/libdl.texi: New.
13533
e7c4409a
AO
13534 * manual/lang.texi: Document MTASC-safety properties.
13535
27bdc63c
AO
13536 * manual/job.texi: Document MTASC-safety properties.
13537
a7b90ea9
AO
13538 * manual/getopt.texi: Document MTASC-safety properties.
13539
c49130e3
AO
13540 * manual/ctype.texi: Document MTASC-safety properties.
13541
0d23a5c1
MR
135422014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
13543
13544 [BZ #16046]
13545 * csu/libc-tls.c (static_map): Remove variable.
13546 (__libc_setup_tls): Use main executable's link map for TLS data.
13547 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
13548 casing for LM_ID_BASE and GL(dl_nns).
13549 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
13550 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
13551 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
13552 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
13553 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
13554 member.
13555 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
13556 l_phnum members.
13557
0037bb60
AO
135582014-01-30 Alexandre Oliva <aoliva@redhat.com>
13559
13560 * manual/debug.texi: Document MTASC-safety properties.
13561
409e00bd
L
135622014-01-29 H.J. Lu <hongjiu.lu@intel.com>
13563
13564 [BZ #16510]
13565 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
13566 of __x86_64__ when disabling x87 inline functions.
13567
86e60666
AO
135682014-01-29 Alexandre Oliva <aoliva@redhat.com>
13569
13570 * manual/charset.texi: Document MTASC-safety properties.
13571
76167637
AO
13572 * manual/crypt.texi: Document MTASC-safety properties.
13573
e567f2a0
AO
13574 * manual/conf.texi: Document MTASC-safety properties.
13575
b719dafd
AO
13576 * manual/arith.texi: Document MTASC-safety properties.
13577
4a16c662
AO
13578 * manual/argp.texi: Document MTASC-safety properties.
13579
0a57b83e
AO
13580 * manual/macros.texi: Introduce macros to document multi
13581 thread, asynchronous signal and asynchronous cancellation
13582 safety properties.
13583 * manual/intro.texi: Introduce the properties themselves.
13584
feab2397
KK
135852014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
13586
13587 * sysdeps/sh/sh4/Makefile: New file.
13588
1c0d11bc
AS
135892014-01-27 Andreas Schwab <schwab@linux-m68k.org>
13590
13591 * math/gen-libm-test.pl ($srcdir): New variable.
13592 ($auto_input): Use it.
13593
af37a8a3
SP
135942014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
13595
d7b00f98
SP
13596 [BZ #16506]
13597 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
13598 access beyond array bounds when parsing netgroups file.
13599
af37a8a3
SP
13600 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
13601 the old buffer before realloc.
13602
0c00f062
AM
136032014-01-27 Allan McRae <allan@archlinux.org>
13604
13605 * po/fr.po: Update French translation from translation project.
13606
7d69a1b0
KK
136072014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
13608
13609 * sysdeps/sh/libm-test-ulps: Regenerate.
13610
6e697ff7
DM
136112014-01-24 David S. Miller <davem@davemloft.net>
13612
13613 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
13614
9cadb35c
KK
136152014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
13616
13617 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
13618 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
13619
5d41dadf
SP
136202013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
13621
13622 [BZ #16474]
13623 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
13624 string pointers after reallocation.
13625
0bad441c
KK
136262014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
13627
13628 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
13629 __SH4A__ instead of __SH_FPU_ANY__.
13630
7007c661
KK
136312014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
13632
13633 * sysdeps/sh/fpu_control.h: New file.
13634 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
13635 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
13636 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
13637 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
13638 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
13639 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
13640 * sysdeps/sh/sys/ucontext.h: Remove.
13641 * sysdeps/sh/sys: Remove directory.
13642
0f0c35e4
AK
136432014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13644
13645 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
13646 s390/sys/ucontext.h.
13647 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
13648 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
13649
4959e284
L
136502014-01-20 H.J. Lu <hongjiu.lu@intel.com>
13651
13652 [BZ #15605]
13653 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
13654
d98720e0
AZ
136552014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13656
13657 [BZ#16431]
13658 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
13659 Adjust the vDSO correctly for internal calls.
13660 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
13661
91cbd0bc
AM
136622014-01-20 Allan McRae <allan@archlinux.org>
13663
13664 * po/ca.po: Update Catalan translation from translation project.
13665
7a02cfad
MF
136662014-01-16 Mike Frysinger <vapier@gentoo.org>
13667
13668 * sysdeps/s390/sotruss-lib.c: New file.
13669
736c304a
AZ
136702014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13671
13672 [BZ#16430]
6e077ee5 13673 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
736c304a
AZ
13674 (__GI___gettimeofday): Alias for a different internal symbol to avoid
13675 local calls issues by not having a PLT stub required for IFUNC calls.
13676 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
13677
94d0cea0
JM
136782014-01-16 Joseph Myers <joseph@codesourcery.com>
13679
13680 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
13681 * math/test-fpucw-static.c: Likewise.
13682
980cb518
SP
136832013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
13684
13685 [BZ #16453]
13686 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
13687
2393fc01
AZ
136882014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13689
13690 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
13691 implementation for powerpc.
13692
d359bcc2
OB
136932014-01-15 Ondřej Bílka <neleai@seznam.cz>
13694
13695 [BZ #14782]
13696 * sysdeps/posix/system.c (__libc_system): Do not enable
13697 asynchronous cancellation.
13698
7beb48cb
AK
136992014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13700
13701 [BZ #16427]
13702 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
13703 handling only for numbers special also in the IEEE case.
13704
c20d5bf5
AK
137052014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13706
13707 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
13708
e83bd4ee
AM
137092014-01-11 Allan McRae <allan@archlinux.org>
13710
76d0ea69
AM
13711 * po/bg.po: Update Bulgarian translation from translation project.
13712
e83bd4ee
AM
13713 * po/de.po: Update German translation from translation project.
13714
bc2ba20a
RM
137152014-01-10 Roland McGrath <roland@hack.frob.com>
13716
13717 * sysdeps/generic/gcc-compat.h: New file.
13718
649ecea2
SP
137192014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
13720
13721 * benchtests/asin-inputs: Correct slow inputs.
13722 * benchtests/acos-inputs: Likewise.
13723
1b19c006
AM
137242014-01-10 Allan McRae <allan@archlinux.org>
13725
a46dab08
AM
13726 * po:sv.po: Update Swedish translation from translation project.
13727
421df74a
AM
13728 * po/vi.po: Update Vietnamese translation from translation project.
13729
d61c51a7
AM
13730 * po/eo.po: Update Esperanto translation from translation project.
13731
0339a319
AM
13732 * po/cs.po: Update Czech translation from translation project.
13733
94ad3e99
AM
13734 * po/nl.po: Update Dutch translation from translation project.
13735
e349ca71
AM
13736 * po/pl.po: Update Polish translation from translation project.
13737
ddf930c1
AM
13738 * po/ru.po: Update Russian translation from translation project.
13739
1b19c006
AM
13740 * po/uk.po: Update Ukrainian translation from translation project.
13741
9f236c49
BM
137422014-01-08 Brooks Moses <bmoses@google.com>
13743
13744 * elf/dl-load.c: Fix comment typo.
13745
cd6701cf
CD
137462014-01-08 Carlos O'Donell <carlos@redhat.com>
13747
13748 * po/header.pot: Rename to...
13749 * po/pot.header: ... this.
13750 * po/Makefile: Use pot.header.
13751
66671c84
YK
137522014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
13753 Maxim Kuvyrkov <maxim@kugelworks.com>
13754
13755 [BZ #16394]
cd6701cf
CD
13756 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
13757 SRC and DEST against LEN.
66671c84 13758
38f34581
AZ
137592014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13760
13761 [BZ #16414]
13762 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
13763 implementation.
13764 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
13765
137662014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3ff6304e
AZ
13767
13768 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13769
4c327f2a
JM
137702014-01-08 Joseph Myers <joseph@codesourcery.com>
13771
13772 [BZ #16408]
13773 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
13774 for large positive arguments.
13775
b821f414
JM
137762014-01-07 Joseph Myers <joseph@codesourcery.com>
13777
1f0f2067
JM
13778 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
13779
a5a326f6
JM
13780 * math/auto-libm-test-in: Mark various tests with
13781 xfail-rounding:ldbl-128ibm.
13782 * math/auto-libm-test-out: Regenerated.
13783
b821f414
JM
13784 [BZ #16407]
13785 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
13786 Increase overflow threshold.
13787
94c8a4bc
OB
137882014-01-07 Ondřej Bílka <neleai@seznam.cz>
13789
13790 [BZ #14286]
13791 * stdio-common/vfprintf.c: Check for integer overflow.
13792
87ded0c3
AK
137932014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13794
13795 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
13796 the first argument and return value of __tls_get_addr_internal.
13797
c5eebdd0
AK
137982014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13799
13800 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
13801 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
13802
05d138ef
AK
138032014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13804
13805 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
13806 * sysdeps/s390/rtld-global-offsets.sym: New file.
13807 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
13808 GLIBC_2.19 symbol.
13809 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
13810 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
13811 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
13812 ... this.
13813 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
13814 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
13815 ... this.
13816 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
13817 Regenerate.
13818 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
13819 Regenerate.
13820 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
13821 halfs of GPRs for high_gprs contexts.
13822 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
13823 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
13824 field.
13825 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
13826 uc_flags field.
13827 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
13828 64 bit versions:
13829 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
13830 for high GPRs (uc_high_gprs) and for future extensions
13831 (__reserved).
13832 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
13833 for future extensions (__reserved).
13834 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
13835 64 bit versions:
13836 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
13837 SC_HIGHGPRS offset definition.
13838 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
13839 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
13840
93a45ff1
AK
13841 * Versions.def: Add GLIBC_2.19 for libpthread.
13842 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
13843 siglongjmp for libpthread with GLIBC_2.19 symver.
13844 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
13845 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
13846 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
13847 * sysdeps/s390/__longjmp.c: New file.
13848 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
13849 * sysdeps/s390/longjmp.c: New file.
13850 * sysdeps/s390/setjmp.S: New file.
13851 * sysdeps/s390/sigjmp.S: New file.
13852 * sysdeps/s390/v1-longjmp.c: New file.
13853 * sysdeps/s390/v1-setjmp.h: New file.
13854 * sysdeps/s390/v1-sigjmp.c: New file.
13855 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
13856 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
13857 GLIBC_2.19 version.
13858 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
13859 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
13860 versioned symbols for ____longjmp_chk.
13861 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
13862 Likewise.
13863 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
13864 Regenerate.
13865 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
13866 Regenerate.
13867 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
13868 Regenerate.
13869 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
13870 Regenerate.
13871 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
13872 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
13873 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
13874 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
13875 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
13876 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
13877 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
13878 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
13879 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
13880 * sysdeps/s390/rtld-__longjmp.c: New file.
13881 * sysdeps/s390/rtld-setjmp.S: New file.
13882
eb3fc44b
JM
138832014-01-06 Joseph Myers <joseph@codesourcery.com>
13884
13885 [BZ #16400]
13886 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
13887 Return -__logl (x) for small positive arguments without evaluating
13888 a polynomial.
13889
9341dde4
MF
138902014-01-06 Mike Frysinger <vapier@gentoo.org>
13891
13892 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
13893 Rename to ...
13894 (__ptrace_peeksiginfo_args): ... this.
13895 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
13896 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
13897 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
13898
4cff0293
AM
138992014-01-06 Allan McRae <allan@archlinux.org>
13900
13901 * inet/netinet/in.h: Fix typo in comment.
13902
75595dcf
AJ
139032014-01-05 Andreas Jaeger <aj@suse.de>
13904
13905 * sysdeps/i386/fpu/libm-test-ulps: Update.
13906
79c1e109
AM
139072014-01-05 Allan McRae <allan@archlinux.org>
13908
dd804818
AM
13909 * po/libc.pot: Regenerated.
13910
79c1e109
AM
13911 * malloc/memusagestat.c: Fix gettext call formatting.
13912
0c813d1f
SK
139132014-01-04 Sami Kerola <kerolasa@iki.fi>
13914
13915 * nscd/nscd.c: Improve usage() output.
13916
20f4a8d9
MF
139172014-01-04 Mike Frysinger <vapier@gentoo.org>
13918
13919 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
13920 * sysdeps/unix/sysv/linux/configure: Regenerated.
13921 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
13922 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
13923
22562bb2
JM
139242014-01-03 Joseph Myers <joseph@codesourcery.com>
13925
13926 [BZ #16390]
13927 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
13928 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
13929
d7ad2d9b
AZ
139302014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13931
13932 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
13933 extra tokens at end of #undef directive.
13934 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
13935 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
13936 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
13937
7dd009d8
JM
139382014-01-03 Joseph Myers <joseph@codesourcery.com>
13939
24db925a
JM
13940 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
13941
7dd009d8
JM
13942 * math/auto-libm-test-in: Mark various tests with
13943 xfail-rounding:ldbl-128ibm.
13944 * math/auto-libm-test-out: Regenerated.
13945
396e3ecf
JM
139462014-01-02 Joseph Myers <joseph@codesourcery.com>
13947
819e5d50
JM
13948 [BZ #16386]
13949 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
13950 numbers with subnormal high part when calculating exponent.
13951
90b6a1e5
JM
13952 [BZ #16385]
13953 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
13954 fabs.
13955
396e3ecf
JM
13956 [BZ #16384]
13957 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
13958 M_LN2l.
13959 (__ieee754_acoshl): Use __log1pl not __log1p.
13960
6c8dbf00
OB
139612013-01-02 Ondřej Bílka <neleai@seznam.cz>
13962
57f41c40
AS
13963 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
13964 (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
13965 (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
13966 (grow_heap, heap_trim, _int_new_arena, get_free_list)
13967 (reused_arena, arena_get2): Convert to GNU style.
13968 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
13969 (mem2mem_check, mem2chunk_check, top_check, realloc_check)
13970 (memalign_check, __malloc_set_state): Likewise.
6c8dbf00 13971 * malloc/mallocbug.c (main): Likewise.
57f41c40
AS
13972 * malloc/malloc.c (__malloc_assert, malloc_init_state)
13973 (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
13974 (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
13975 (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
13976 (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
13977 (__posix_memalign, malloc_info): Likewise.
6c8dbf00 13978 * malloc/malloc.h: Likewise.
57f41c40
AS
13979 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
13980 (mallochook, memalignhook, reallochook, mabort): Likewise.
6c8dbf00 13981 * malloc/mcheck.h: Likewise.
57f41c40
AS
13982 * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
13983 (free, mmap, mmap64, mremap, munmap, dest): Likewise.
6c8dbf00
OB
13984 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
13985 * malloc/morecore.c (__default_morecore): Likewise.
13986 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
57f41c40
AS
13987 * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
13988 (_obstack_allocated_p, obstack_free, _obstack_memory_used)
13989 (print_and_abort): Likewise.
6c8dbf00
OB
13990 * malloc/obstack.h: Likewise.
13991 * malloc/set-freeres.c (__libc_freeres): Likewise.
13992 * malloc/tst-mallocstate.c (main): Likewise.
13993 * malloc/tst-mtrace.c (main): Likewise.
13994 * malloc/tst-realloc.c (do_test): Likewise.
13995
d4124212
SP
139962013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
13997
9a3c6a6f
SP
13998 [BZ #16366]
13999 * nscd/netgroupcache.c (do_notfound): New function.
14000 (addgetnetgrentX): Use it.
14001
d4124212
SP
14002 [BZ # 16365]
14003 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
14004 NSS_STATUS_NOTFOUND.
14005
97b9a009
JM
140062014-01-01 Joseph Myers <joseph@codesourcery.com>
14007
14008 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
14009 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14010
d4697bc9
AM
140112014-01-01 Allan McRae <allan@archlinux.org>
14012
ddb3687f
AM
14013 * scripts/update-copyrights: Update configure input file suffix.
14014
88726d48
AM
14015 * NEWS: Update copyright year.
14016 * catgets/gencat.c: Likewise.
14017 * csu/version.c: Likewise.
14018 * debug/catchsegv.sh: Likewise.
14019 * debug/pcprofiledump.c: Likewise.
14020 * debug/xtrace.sh: Likewise.
14021 * elf/ldconfig.c: Likewise.
14022 * elf/ldd.bash.in: Likewise.
14023 * elf/pldd.c: Likewise.
14024 * elf/sotruss.ksh: Likewise.
14025 * elf/sprof.c: Likewise.
14026 * iconv/iconv_prog.c: Likewise.
14027 * iconv/iconvconfig.c: Likewise.
14028 * locale/programs/locale.c: Likewise.
14029 * locale/programs/localedef.c: Likewise.
14030 * login/programs/pt_chown.c: Likewise.
14031 * malloc/memusage.sh: Likewise.
14032 * malloc/memusagestat.c: Likewise.
14033 * malloc/mtrace.pl: Likewise.
14034 * manual/libc.texinfo: Likewise.
14035 * nscd/nscd.c: Likewise.
14036 * nss/getent.c: Likewise.
14037 * nss/makedb.c: Likewise.
14038 * posix/getconf.c: Likewise.
14039 * scripts/test-installation.pl: Likewise.
14040
d4697bc9
AM
14041 * All files with FSF copyright notices: Update copyright dates
14042 using scripts/update-copyrights.
14043 * intl/plural.c: Regenerated.
14044 * locale/programs/charmap-kw.h: Likewise.
14045 * locale/programs/locfile-kw.h: Likewise.
14046
c8590f9d
MF
140472013-12-31 Mike Frysinger <vapier@gentoo.org>
14048
14049 * sysdeps/unix/sysv/linux/configure: Regenerated.
14050 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
14051 the linux/fanotify.h header.
14052 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
14053 HAVE_LINUX_FANOTIFY_H is defined.
14054
b19221b9
SP
140552013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
14056
dd1d85e5
SP
14057 * benchtests/cos-inputs: New inputs.
14058 * benchtests/sin-inputs: Likewise.
14059
1acbb90f
SP
14060 * benchtests/atan-inputs: New inputs. Fix name of multiple
14061 precision fallback inputs.
14062
4c012ed3
SP
14063 * benchtests/atanh-inputs: New inputs.
14064 * benchtests/tanh-inputs: Likewise.
14065
eff98324
SP
14066 * benchtests/acosh-inputs: New inputs.
14067 * benchtests/asinh-inputs: Likewise.
14068
ce641152
SP
14069 * benchtests/cosh-inputs: New inputs.
14070 * benchtests/sinh-inputs: Likewise.
14071
b19221b9
SP
14072 * benchtests/acos-inputs: Add more inputs.
14073 * benchtests/asin-inputs: Likewise.
14074
030a4976 140752013-12-30 Ville Skytta <ville.skytta@iki.fi>
9dcc8f11 14076
030a4976 14077 [BZ #16375]
9dcc8f11
VS
14078 * manual/arith.texi: Fix spelling.
14079 * manual/charset.texi: Likewise.
14080 * manual/errno.texi: Likewise.
14081 * manual/filesys.texi: Likewise.
14082 * manual/lang.texi: Likewise.
14083 * manual/llio.texi: Likewise.
14084 * manual/locale.texi: Likewise.
14085 * manual/message.texi: Likewise.
14086 * manual/resource.texi: Likewise.
14087 * manual/search.texi: Likewise.
14088 * manual/setjmp.texi: Likewise.
14089 * manual/stdio.texi: Likewise.
14090 * manual/string.texi: Likewise.
14091 * manual/sysinfo.texi: Likewise.
14092 * manual/time.texi: Likewise.
14093
11520a57
CD
140942013-12-27 Carlos O'Donell <carlos@redhat.com>
14095
14096 * po/sl.po: New file.
14097
471103ae
MF
140982013-12-27 Mike Frysinger <vapier@gentoo.org>
14099
14100 * .gitignore: Add core/.gdbinit/.gdb_history.
14101
6c9642ed
AM
141022013-12-27 Allan McRae <allan@archlinux.org>
14103
14104 [BZ #16369]
14105 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
14106 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
14107
3f637079
BM
141082013-12-24 Brooks Moses <bmoses@google.com>
14109
14110 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
14111 all compilers that claim C++98 compliance, not just GCC.
14112 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
14113 Likewise.
14114
abc26e99
MK
141152013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
14116
14117 * NEWS: Restore accidentally deleted bug-fix entries.
14118
362b47fe
MK
141192013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
14120 Ondřej Bílka <neleai@seznam.cz>
14121
14122 [BZ #15073]
14123 * malloc/malloc.c (_int_free): Perform sanity check only if we
11520a57 14124 have_lock.
362b47fe 14125
b9bcbbcb
OB
141262013-12-23 Ondřej Bílka <neleai@seznam.cz>
14127
14128 [BZ #12986]
14129 * manual/stdio.texi (String Input Conversions): Clarify that character
14130 classes are not supported.
14131
fb55fcd2
AZ
141322013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14133
14134 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14135
ef7344f0
JM
141362013-12-22 Joseph Myers <joseph@codesourcery.com>
14137
4f40e4b3
JM
14138 [BZ #16337]
14139 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
14140 Calculate results for small negative arguments directly rather
14141 than using reflection formula with special underflow handling.
14142
ef7344f0
JM
14143 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
14144 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
14145 sysdeps/unix/bsd/bsd4.4/syscalls.list.
14146 (fchflags): Likewise.
14147 (revoke): Likewise.
14148 (setlogin): Likewise.
14149 (sigaltstack): Likewise.
14150 (wait4): Likewise.
14151 (sigblock): Remove.
14152 (sigsetmask): Likewise.
14153 (wait3): Likewise.
14154 (waitpid): Likewise.
14155 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
14156 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
14157 file.
14158 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
14159 * sysdeps/unix/bsd/Makefile: ... here.
14160 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
14161 * sysdeps/unix/bsd/Versions: ... here.
14162 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
14163 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
14164 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
14165 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
14166 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
14167 * sysdeps/unix/bsd/sigblock.c: ... here.
14168 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
14169 * sysdeps/unix/bsd/sigsetmask.c: ... here.
14170 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
14171 * sysdeps/unix/bsd/sigvec.c: ... here.
14172 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
14173 * sysdeps/unix/bsd/tcdrain.c: ... here.
14174 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
14175 * sysdeps/unix/bsd/tcgetattr.c: ... here.
14176 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
14177 * sysdeps/unix/bsd/tcsetattr.c: ... here.
14178 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
14179 * sysdeps/unix/bsd/wait.c: ... here.
14180 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
14181 * sysdeps/unix/bsd/wait3.c: ... here.
14182 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
14183 * sysdeps/unix/bsd/waitpid.c: ... here.
14184
5b0626b9
JM
141852013-12-21 Joseph Myers <joseph@codesourcery.com>
14186
14187 [BZ #16356]
14188 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
14189 round-to-nearest for [!USE_AS_EXPM1L].
14190 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
14191 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
14192 more tests of exp and exp10. Expect some exp10 tests to miss
14193 exceptions or fail in directed rounding modes.
14194 * math/auto-libm-test-out: Regenerated.
14195 * math/libm-test.inc (exp10_tonearest_test_data): New array.
14196 (exp10_test_tonearest): New function.
14197 (exp10_towardzero_test_data): New array.
14198 (exp10_test_towardzero): New function.
14199 (exp10_downward_test_data): New array.
14200 (exp10_test_downward): New function.
14201 (exp10_upward_test_data): New array.
14202 (exp10_test_upward): New function.
14203 (main): Call the new functions.
14204 * sysdeps/i386/fpu/libm-test-ulps: Update.
14205 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14206
7fda5682
JM
142072013-12-20 Joseph Myers <joseph@codesourcery.com>
14208
31e3a405
JM
14209 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
14210 asinh, atan, atan2, atanh, cbrt, cos and cosh.
14211 * math/auto-libm-test-out: Regenerated.
14212 * math/libm-test.inc (acosh_test_data): Add more tests.
14213 (atanh_test_data): Likewise.
14214 (ceil_test_data): Likewise.
14215 (copysign_test_data): Likewise.
14216 * sysdeps/i386/fpu/libm-test-ulps: Update.
14217 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14218
85bff96a
JM
14219 * timezone/checktab.awk: Update from tzcode 2013i.
14220 * timezone/private.h: Likewise.
14221 * timezone/scheck.c: Likewise.
14222 * timezone/tzfile.h: Likewise.
14223 * timezone/tzselect.ksh: Likewise.
14224 * timezone/zdump.c: Likewise.
14225 * timezone/zic.c: Likewise.
14226
b7867a3b
JM
14227 * math/auto-libm-test-in: Add tests of cpow.
14228 * math/auto-libm-test-out: Regenerated.
14229 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
57f41c40 14230 * math/gen-auto-libm-tests.c (func_calc_method): Add value
b7867a3b
JM
14231 mpc_cc_c.
14232 (func_calc_desc): Add mpc_cc_c union field.
14233 (test_functions): Add cpow.
14234 (special_fill_2pi): New function.
14235 (special_real_inputs): Add 2pi.
14236 (calc_generic_results): Handle mpc_cc_c.
14237 * sysdeps/i386/fpu/libm-test-ulps: Update.
14238 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14239
7fda5682
JM
14240 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
14241 csqrt, ctan and ctanh.
14242 * math/auto-libm-test-out: Regenerated.
14243 * math/libm-test.inc (TEST_COND_x86_64): New macro.
14244 (TEST_COND_x86): Likewise.
14245 (ccos_test_data): Use AUTO_TESTS_c_c.
14246 (ccosh_test_data): Likewise.
14247 (cexp_test_data): Likewise.
14248 (clog_test_data): Likewise.
14249 (csqrt_test_data): Likewise.
14250 (ctan_test_data): Likewise.
14251 (ctan_tonearest_test_data): Likewise.
14252 (ctan_towardzero_test_data): Likewise.
14253 (ctan_downward_test_data): Likewise.
14254 (ctan_upward_test_data): Likewise.
14255 (ctanh_test_data): Likewise.
14256 (ctanh_tonearest_test_data): Likewise.
14257 (ctanh_towardzero_test_data): Likewise.
14258 (ctanh_downward_test_data): Likewise.
14259 (ctanh_upward_test_data): Likewise.
14260 * math/gen-auto-libm-tests.c (func_calc_method): Add value
14261 mpc_c_c.
14262 (func_calc_desc): Add mpc_c_c union field.
14263 (FUNC_mpc_c_c): New macro.
14264 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
14265 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
14266 ctanh.
14267 (special_fill_min_subnorm_p120): New function.
14268 (special_real_inputs): Add min_subnorm_p120.
14269 (calc_generic_results): Handle mpc_c_c.
14270 * sysdeps/i386/fpu/libm-test-ulps: Update.
14271 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14272
5ff8d60e
SP
142732013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
14274
57f41c40
AS
14275 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
14276 (do_sin_slow): New functions.
14277 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
14278 (cslow2, csloww1, csloww2): Use the new functions.
392dd2de 14279
84ba214c
SP
14280 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
14281 Use M to change sign of result instead of X. Assume X is
14282 positive.
14283 (csloww1): Likewise.
14284 (__sin): Adjust.
14285 (__cos): Adjust.
14286
975195e4
SP
14287 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
14288 arguments A and DA.
14289 (__sin): Adjust.
14290 (__cos): Likewise.
14291
5ff8d60e
SP
14292 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
14293 (__cos): Likewise.
14294 (sloww1): Don't adjust sign of DX.
14295 (csloww1): Likewise.
14296 (sloww2): Use X directly and don't adjust sign of DX.
14297 (csloww2): Likewise.
14298
eb983568
JM
142992013-12-19 Joseph Myers <joseph@codesourcery.com>
14300
64a17f1a
JM
14301 * math/auto-libm-test-in: Add tests of cabs and carg.
14302 * math/auto-libm-test-out: Regenerated.
14303 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
14304 (carg_test_data): Likewise.
14305 * math/gen-auto-libm-tests.c (func_calc_method): Add value
14306 mpc_c_f.
14307 (func_calc_desc): Add mpc_c_f union field.
14308 (test_functions): Add cabs and carg.
14309 (calc_generic_results): Handle mpc_c_f.
14310
eb983568
JM
14311 * sysdeps/powerpc/powerpc32/libgcc-compat.S
14312 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
14313 as a macro and a compat symbol.
14314 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
14315 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
14316 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
14317 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
14318 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
14319 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
14320 not use .hidden.
14321 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
14322 Likewise.
14323 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
14324 Likewise.
14325 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
14326 Likewise.
14327 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
14328 Likewise.
14329 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
14330 Likewise.
14331 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
14332 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
14333 from GLIBC_2.3.2.
14334
6eeb678a
AZ
143352013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14336
14337 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14338
6f6fc482
JM
143392013-12-19 Joseph Myers <joseph@codesourcery.com>
14340
21fea2e2
JM
14341 * manual/texinfo.tex: Update to version 2013-11-26.10 with
14342 trailing whitespace removed.
14343 * scripts/config.guess: Update to version 2013-11-29.
14344 * scripts/config.sub: Update to version 2013-10-01.
14345
6f6fc482
JM
14346 * math/auto-libm-test-in: Add tests of sincos.
14347 * math/auto-libm-test-out: Regenerated.
14348 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
14349 * math/gen-auto-libm-tests.c (func_calc_method): Add value
14350 mpfr_f_11.
14351 (func_calc_desc): Add mpfr_f_11 union field.
14352 (test_functions): Add sincos.
14353 (calc_generic_results): Handle mpfr_f_11.
14354 * sysdeps/i386/fpu/libm-test-ulps: Update.
14355 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14356
83f5c32d
AS
143572013-12-19 Andreas Schwab <schwab@suse.de>
14358
14359 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
14360 CALL_MCOUNT.
14361 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
14362 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
14363 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
14364
c688b419
JM
143652013-12-19 Joseph Myers <joseph@codesourcery.com>
14366
335ee092
JM
14367 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
14368 * sysdeps/i386/fpu/libm-test-ulps: Update.
14369 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14370
f88acd39
JM
14371 [BZ #16293]
14372 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
14373 round-to-nearest mode when using frndint.
14374 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
14375 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
14376 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
14377 Likewise.
14378 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
14379 sinh test to fail.
14380 * math/auto-libm-test-out: Regenerated.
14381 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
14382 (TEST_COND_x86): Likewise.
14383 (expm1_tonearest_test_data): New array.
14384 (expm1_test_tonearest): New function.
14385 (expm1_towardzero_test_data): New array.
14386 (expm1_test_towardzero): New function.
14387 (expm1_downward_test_data): New array.
14388 (expm1_test_downward): New function.
14389 (expm1_upward_test_data): New array.
14390 (expm1_test_upward): New function.
14391 (main): Run the new test functions.
14392 * sysdeps/i386/fpu/libm-test-ulps: Update.
14393 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14394
c688b419
JM
14395 * include/features.h: Update comment documenting feature test
14396 macros. Mention _DEFAULT_SOURCE in comment.
14397 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
14398 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
14399 _BSD_SOURCE and _SVID_SOURCE.
14400 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
14401 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
14402 !_SVID_SOURCE]: Likewise.
14403 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
14404 (__USE_POSIX_IMPLICITLY): Define.
14405 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
14406 (_POSIX_SOURCE): Undefine and redefine.
14407 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
14408 (_POSIX_C_SOURCE): Likewise.
14409 * manual/creature.texi (_DEFAULT_SOURCE): Document.
14410 (Feature Test Macros): Update documentation of default features.
14411
9f6e964c
RS
144122013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
14413
14414 * benchtests/Makefile: Add bench-strtok.
14415 * benchtests/bench-strtok.c: New file: strtok benchtest.
14416
ee0a148a
AM
144172013-12-19 Allan McRae <allan@archlinux.org>
14418
14419 * manual/install.texi: Suppress menu for plain text output.
14420 * INSTALL: Regenerated.
14421
b9ab448f
BM
144222013-12-18 Brooks Moses <bmoses@google.com>
14423
14424 [BZ #15846]
14425 * misc/getauxval.c: Include errno.h.
14426 (__getauxval): Set errno to ENOENT if the requested type is not
14427 found.
14428 * misc/sys/auxv.h (getauxval): Document that it may set errno;
14429 don't declare with __attribute_const__.
14430 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
14431 * manual/startup.texi: Document that getauxval sets errno.
14432
23776487
JM
144332013-12-18 Joseph Myers <joseph@codesourcery.com>
14434
f889953b
JM
14435 * math/auto-libm-test-in: Add tests of jn and yn.
14436 * math/auto-libm-test-out: Regenerated.
14437 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
14438 (yn_test_data): Likewise.
14439 * math/gen-auto-libm-tests.c (func_calc_method): Add value
14440 mpfr_if_f.
14441 (func_calc_desc): Add mpfr_if_f union field.
14442 (FUNC_mpfr_if_f): New macro.
14443 (test_functions): Add jn and yn.
14444 (calc_generic_results): Assert type of second input for
14445 mpfr_ff_f. Handle mpfr_if_f.
14446 (output_for_one_input_case): Disable all checking for arguments
14447 fitting floating-point types in case of an integer argument.
14448 * sysdeps/i386/fpu/libm-test-ulps: Update.
14449 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14450
23776487
JM
14451 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
14452 Don't expect fegetround reference in libm.so.
14453
cb756c6d
MS
144542013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
14455
14456 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
14457 $(config-cflags-nofma).
14458
2dec468f
JM
144592013-12-18 Joseph Myers <joseph@codesourcery.com>
14460
5953eb3a
JM
14461 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
14462 * math/auto-libm-test-out: Regenerated.
14463
2dec468f
JM
14464 [BZ #16338]
14465 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
14466 to determine exponent and adjust argument to have exponent of -1.
14467 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
14468 log2.
14469 * math/auto-libm-test-out: Regenerated.
14470 * sysdeps/i386/fpu/libm-test-ulps: Update.
14471 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14472
4d84e6ad
OB
144732013-12-18 Ondřej Bílka <neleai@seznam.cz>
14474
14475 * manual/probes.texi: Remove cases when per-thread arenas are
14476 disabled.
14477
1818483b
AS
144782013-12-18 Andreas Schwab <schwab@suse.de>
14479
14480 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
14481 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
14482 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
14483 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
14484 * sysdeps/i386/i686/multiarch/Makefile: Update.
14485 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
14486
25de95bf
JM
144872013-12-17 Joseph Myers <joseph@codesourcery.com>
14488
14489 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
14490 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
14491
674762d9
PE
144922013-12-17 Paul Eggert <eggert@cs.ucla.edu>
14493
ed27ed83 14494 [BZ #15968]
0748546f
PE
14495 Support TZ transition times < 00:00:00.
14496 This is needed for version-3 tz-format files; it supports time
14497 stamps past 2037 for America/Godthab (the only entry in the tz
14498 database for which this change is relevant).
14499 * manual/time.texi (TZ Variable): Document transition times
14500 from -167:59:59 through -00:00:01.
14501 * time/tzset.c (tz_rule): Time of day is now signed.
14502 (__tzset_parse_tz): Parse negative time of day.
14503
4480e934
PE
14504 Document TZ transition times >= 25:00:00.
14505 * manual/time.texi (TZ Variable): Document transition times from
14506 25:00:00 through 167:59:59. These are already supported, and this
14507 support will help with version-3 tz-format files.
14508
69947401
PE
14509 * manual/time.texi (TZ Variable): Modernize North America example
14510 to reflect current (i.e., 2007-and-later) daylight saving rules.
14511
674762d9
PE
14512 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
14513
7011c262
JM
145142013-12-17 Joseph Myers <joseph@codesourcery.com>
14515
2fc6557e
JM
14516 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
14517 * sysdeps/unix/bsd/bits/stat.h: Likewise.
14518 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
14519 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
14520 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
14521 * sysdeps/unix/bsd/bsdstat.h: Likewise.
14522 * sysdeps/unix/bsd/clock.c: Likewise.
14523 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
14524 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
14525 * sysdeps/unix/bsd/init-posix.c: Likewise.
14526 * sysdeps/unix/bsd/poll.c: Likewise.
14527 * sysdeps/unix/bsd/ptsname.c: Likewise.
14528 * sysdeps/unix/bsd/seekdir.c: Likewise.
14529 * sysdeps/unix/bsd/setegid.c: Likewise.
14530 * sysdeps/unix/bsd/seteuid.c: Likewise.
14531 * sysdeps/unix/bsd/setgid.c: Likewise.
14532 * sysdeps/unix/bsd/setrgid.c: Likewise.
14533 * sysdeps/unix/bsd/setruid.c: Likewise.
14534 * sysdeps/unix/bsd/setsid.c: Likewise.
14535 * sysdeps/unix/bsd/setuid.c: Likewise.
14536 * sysdeps/unix/bsd/sigaction.c: Likewise.
14537 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
14538 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
14539 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
14540 * sysdeps/unix/bsd/telldir.c: Likewise.
14541 * sysdeps/unix/bsd/times.c: Likewise.
14542 * sysdeps/unix/bsd/usleep.c: Likewise.
14543
029c7b25
JM
14544 * misc/Makefile (install-lib): Remove libbsd-compat.a.
14545 ($(objpfx)libbsd-compat.a): Remove rule.
14546
7011c262
JM
14547 * include/features.h (__FAVOR_BSD): Do not define.
14548 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
14549 features conflicting with POSIX.
14550 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
14551 (_BSD_SOURCE): Remove description of not being a subset of other
14552 feature test macros.
14553 * manual/job.texi (getpgrp): Do not document BSD version.
14554 (getpgid): Do not document by reference to BSD getpgrp.
14555 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
14556 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
14557 * signal/signal.h [__FAVOR_BSD]: Likewise.
14558 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
14559 instead of making contents conditional on [__FAVOR_BSD].
14560 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
14561
affb6f78
AZ
145622013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14563
14564 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14565
c88769dd
JM
145662013-12-17 Joseph Myers <joseph@codesourcery.com>
14567
6432a540
JM
14568 [BZ #16314]
14569 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
14570 values below 2**-450, not 2**-500.
14571 * math/auto-libm-test-in: Don't allow spurious underflow from
14572 hypot.
14573 * math/auto-libm-test-out: Regenerated.
14574
c88769dd
JM
14575 [BZ #16316]
14576 [BZ #16330]
14577 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
14578 values of ha and hb and sort them after adjusting subnormal
14579 arguments.
14580 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
14581 Likewise.
14582 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
14583 values of ea and eb and sort them after adjusting subnormal
14584 arguments.
14585 * math/auto-libm-test-in: Do not expect some hypot tests of
14586 subnormals to fail. Add more hypot tests.
14587 * math/auto-libm-test-out: Regenerated.
14588
29618f6b
KK
145892013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
14590
14591 [BZ #13304]
14592 * sysdeps/sh/s_fma.c: New file.
14593 * sysdeps/sh/s_fmaf.c: New file.
14594 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
14595 version.
14596 * sysdeps/sh/Implies: Add sh/soft-fp.
14597
eacfdfbf
RM
145982013-12-16 Roland McGrath <roland@hack.frob.com>
14599
14600 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
14601 level of indirection to members `objname', `errstring', `malloced'.
14602 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
14603 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
14604 it as the __longjmp argument (just pass 1 instead).
14605 (_dl_catch_error): Initialize C with argument pointers and address of
14606 volatile local ERRCODE rather than copying values out of C at return.
14607
ff362e5b
JM
146082013-12-16 Joseph Myers <joseph@codesourcery.com>
14609
14610 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
14611 * math/auto-libm-test-out: Regenerated.
14612 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
14613 (hypot_test_data): Likewise.
14614 (pow_test_data): Likewise.
14615 (pow_tonearest_test_data): Likewise.
14616 * math/gen-auto-libm-tests.c (func_calc_method): Add value
14617 mpfr_ff_f.
14618 (func_calc_desc): Add mpfr_ff_f union field.
14619 (FUNC_mpfr_ff_f): New macro.
14620 (test_functions): Add atan2, hypot and pow.
14621 (special_fill_min): New function.
14622 (special_fill_minus_min): Likewise.
14623 (special_fill_min_subnorm): Likewise.
14624 (special_fill_minus_min_subnorm): Likewise.
14625 (special_real_inputs): Add min, -min, min_subnorm and
14626 -min_subnorm.
14627 (calc_generic_results): Handle mpfr_ff_f.
14628 * sysdeps/i386/fpu/libm-test-ulps: Update.
14629 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14630
5764c27f
WN
146312013-12-16 Will Newton <will.newton@linaro.org>
14632
14633 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
14634 (Aligned Memory Blocks): Add documentation for aligned_alloc
14635 and suggest it as an alternative to posix_memalign.
14636 (Hooks for Malloc): Document __memalign_hook is also called
14637 for aligned_alloc. (Summary of Malloc): Add summary for
14638 aligned alloc. Document __memalign_hook is also called
14639 for aligned_alloc.
14640
0a096e44
WN
146412013-12-16 Will Newton <will.newton@linaro.org>
14642
14643 * manual/memory.texi (Malloc Examples): Clarify default
14644 alignment documentation. Suggest posix_memalign rather
14645 than memalign or valloc.
14646 (Aligned Memory Blocks): Remove suggestion to use memalign
14647 or valloc. Remove obsolete comment about BSD.
14648 Document memalign errno values and mark the function obsolete.
14649 Document posix_memalign returned error codes. Mark valloc
14650 as obsolete. (Hooks for Malloc): __memalign_hook is also
14651 called for posix_memalign and valloc.
14652 (Summary of Malloc): Add posix_memalign to function summary.
14653 __memalign_hook is also called for posix_memalign and valloc.
14654
8d561986
SP
146552013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
14656
14657 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
14658 TAYLOR_SIN.
14659 (__sin): Adjust.
14660 (__cos): Likewise.
14661 (sloww): Use mynumber union. Expand ternary operator into
14662 if-else statements.
14663 (cslow): use mynumber union.
14664
73616a74
AM
146652013-12-16 Allan McRae <allan@archlinux.org>
14666
9e8ac24b
AM
14667 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
14668 * configure: Regenerated.
14669
6f8e37eb
AM
14670 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
14671
8894bad3
AM
14672 [BZ #14120]
14673 * configure.ac: Added --enable-maintainer-mode. Check for
14674 autoconf when enabled.
14675 * configure: Regenerated.
14676
73616a74
AM
14677 * nscd/nscd.service: New file.
14678 * nscd/nscd.tmpfiles: New file.
14679
584b18eb
OB
146802013-12-14 Ondřej Bílka <neleai@seznam.cz>
14681
14682 [BZ #12100]
14683 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
14684 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
14685 * sysdeps/x86_64/multiarch/strstr.c: ... here.
14686 (strstr): Add __strstr_sse2_unaligned ifunc.
14687 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
14688 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
14689 (strcasestr): Remove __strcasestr_sse42 ifunc.
14690 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
14691 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
14692 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
14693
8a5c7897
KK
146942013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
14695
14696 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
14697 * sysdeps/sh/bits/fenv.h: ... here.
14698 * sysdeps/sh/sh4/fpu/bits: Remove directory.
14699
fd712ef3
AZ
147002013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14701
14702 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
14703
42fcb46c
AZ
14704 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
14705 hypotf multiarch implementations.
14706 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
14707 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
14708 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
14709 multiarch hypot for PPC64.
14710 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
14711 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
14712 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
14713 multiarch hypotf for PPC64.
14714
83efded4
AZ
14715 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
14716 modff multiarch implementations.
14717 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
14718 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
14719 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
14720 multiarch modf for PPC64.
14721 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
14722 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
14723 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
14724 multiarch modff for PPC64.
14725
43e246d2
AZ
14726 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
14727 and logl multiarch implementations.
14728 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
14729 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
14730 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
14731 multiarch logb for PPC64.
14732 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
14733 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
14734 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
14735 multiarch logb for PPC64.
14736 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
14737 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
14738 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
14739 multiarch logb for PPC64.
14740
8fdad123
AZ
14741 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
14742 isinff multiarch implementation.
14743 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
14744 file.
14745 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
14746 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
14747 multiarch isinf for PPC64.
14748 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
14749 file.
14750 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
14751 multiarch isinff for PPC64.
14752
1481d706
AZ
14753 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
14754 finitef multiarch implementation.
14755 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
14756 file.
14757 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
14758 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
14759 multiarch finite for PPC64.
14760 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
14761 file.
14762 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
14763 multiarch finitef for PPC64.
14764
5ccd5fc8
AZ
14765 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
14766 lrint multiarch implementation.
14767 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
14768 file.
14769 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
14770 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
14771 multiarch llrint for PPC64.
14772 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
14773 multiarch lrint for PPC64.
14774
2568f3fa
AZ
14775 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
14776 copysignf multiarch implementation.
14777 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
14778 file.
14779 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
14780 file.
14781 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
14782 multiarch copysign for PPC64.
14783 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
14784 multiarch copysignf for PPC64.
14785
1cb341fd
AZ
14786 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
14787 multiarch implementation.
14788 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
14789 file.
14790 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
14791 file.
14792 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
14793 file.
14794 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
14795 file.
14796 multiarch llround for PPC64.
14797 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
14798 multiarch trunc for PPC64.
14799 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
14800 multiarch truncf for PPC64.
14801
59a3e194
AZ
14802 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
14803 multiarch implementation.
14804 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
14805 file.
14806 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
14807 file.
14808 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
14809 file.
14810 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
14811 file.
14812 multiarch llround for PPC64.
14813 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
14814 multiarch round for PPC64.
14815 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
14816 multiarch roundf for PPC64.
14817
357fd3b4
AZ
14818 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
14819 multiarch implementation.
14820 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
14821 file.
14822 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
14823 file.
14824 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
14825 file.
14826 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
14827 file.
14828 multiarch llround for PPC64.
14829 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
14830 multiarch floor for PPC64.
14831 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
14832 multiarch floorf for PPC64.
14833
96770f12
AZ
14834 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
14835 multiarch implementation.
14836 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
14837 file.
14838 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
14839 file.
14840 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
14841 file.
14842 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
14843 file.
14844 multiarch llround for PPC64.
14845 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
14846 multiarch ceil for PPC64.
14847 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
14848 multiarch ceilf for PPC64.
14849
c3627f6e
AZ
14850 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
14851 multiarch implementation.
14852 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
14853 file.
14854 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
14855 file.
14856 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
14857 file.
14858 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
14859 multiarch llround for PPC64.
14860 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
14861 multiarch lround for PPC64.
14862
b2284ad7
AZ
14863 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
14864 multiarch implementation.
14865 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
14866 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
14867 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
14868 file.
14869 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
14870 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
14871 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
14872 multiarch isnan for PPC64.
14873 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
14874 multiarch isnanf for PPC64.
14875
69bbc63d
AZ
14876 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
14877 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
14878 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
14879 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
14880 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
14881 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
14882
c24517c9
AZ
14883 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
14884 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
14885 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
14886 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
14887
a52374e8
AZ
14888 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
14889 multiarch implementations.
14890 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14891 (__libc_ifunc_impl_list): Likewise.
14892 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
14893 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
14894 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
14895 multiarch stpcpy for PPC64.
14896
7f5ec113
AZ
14897 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
14898 multiarch implementations.
14899 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14900 (__libc_ifunc_impl_list): Likewise.
14901 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
14902 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
14903 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
14904 multiarch strcpy for PPC64.
14905
e28bcd42
AZ
14906 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
14907 redefine function name.
14908 (_wordcopy_fwd_dest_aligned): Likewise.
14909 (_wordcopy_bwd_aligned): Likewise.
14910 (_wordcopy_bwd_dest_aligned): Likewise.
14911 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
14912 multiarch implementations.
14913 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14914 (__libc_ifunc_impl_list): Likewise.
14915 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
14916 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
14917 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
14918 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
14919 multiarch wcscpy for PPC64.
14920
92cacfce
AZ
14921 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
14922 multiarch implementations.
14923 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14924 (__libc_ifunc_impl_list): Likewise.
14925 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
14926 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
14927 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
14928 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
14929 multiarch wcscpy for PPC64.
14930
7b714620
AZ
14931 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
14932 multiarch implementations.
14933 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14934 (__libc_ifunc_impl_list): Likewise.
14935 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
14936 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
14937 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
14938 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
14939 multiarch wcsrchr for PPC64.
14940
16fd2ae3
AZ
14941 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
14942 multiarch implementations.
14943 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14944 (__libc_ifunc_impl_list): Likewise.
14945 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
14946 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
14947 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
14948 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
14949 multiarch wcschr for PPC64.
14950
9ee2969b
AZ
14951 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
14952 multiarch implementations.
14953 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14954 (__libc_ifunc_impl_list): Likewise.
14955 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
14956 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
14957 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
14958 multiarch strchrnul for PPC64.
14959
372dc060
AZ
14960 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
14961 implementations.
14962 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14963 (__libc_ifunc_impl_list): Likewise.
14964 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
14965 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
14966 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
14967 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
14968 strchr for PPC64.
14969
24c2c3b9
AZ
14970 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
14971 implementations.
14972 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14973 (__libc_ifunc_impl_list): Likewise.
14974 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
14975 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
14976 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
14977 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
14978 strncmp for PPC64.
14979
1c92d9a0
AZ
14980 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
14981 multiarch implementations.
14982 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14983 (__libc_ifunc_impl_list): Likewise.
14984 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
14985 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
14986 strncasecmp for PPC64.
14987 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
14988 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
14989 multiarch strncasecmp_l for PPC64.
14990
17de3ee3
AZ
14991 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
14992 multiarch implementations.
14993 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
14994 (__libc_ifunc_impl_list): Likewise.
14995 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
14996 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
14997 multiarch strcasecmp for PPC64.
14998 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
14999 file.
15000 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
15001 multiarch strcasecmp_l for PPC64.
15002
62982bf9
AZ
15003 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
15004 implementations.
15005 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15006 (__libc_ifunc_impl_list): Likewise.
15007 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
15008 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
15009 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
15010 strnlen for PPC64.
15011
a65f4904
AZ
15012 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
15013 implementations.
15014 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15015 (__libc_ifunc_impl_list): Likewise.
15016 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
15017 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
15018 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
15019 strlen for PPC64.
15020
1fd005ad
AZ
15021 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
15022 implementations.
15023 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15024 (__libc_ifunc_impl_list): Likewise.
15025 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
15026 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
15027 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
15028 rawmemrchr for PPC64.
15029
cd05ba91
AZ
15030 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
15031 implementation.
15032 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15033 (__libc_ifunc_impl_list): Likewise.
15034 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
15035 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
15036 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
15037 memrchr for PPC64.
15038
870f8676
AZ
15039 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
15040 implementation.
15041 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15042 (__libc_ifunc_impl_list): Likewise.
15043 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
15044 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
15045 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
15046 memchr for PPC64.
15047
f00be62b
AZ
15048 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
15049 implementation.
15050 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15051 (__libc_ifunc_impl_list): Likewise.
15052 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
15053 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
15054 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
15055 mempcpy for PPC64.
15056
8a29a3d0
AZ
15057 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
15058 avoid cretion of __bzero symbol.
15059 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
15060 Likewise.
15061 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
15062 Likewise.
15063 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
15064 Likewise.
15065 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
15066 multiarch implementations.
15067 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15068 (__libc_ifunc_impl_list): Likewise.
15069 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
15070 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
15071 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
15072 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
15073 bzero for PPC32.
15074 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
15075 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
15076 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
15077 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
15078 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
15079 memset for PPC64.
15080 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
15081
07253fcf
AZ
15082 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
15083 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
15084 implementations.
15085 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15086 (__libc_ifunc_impl_list): Likewise.
15087 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
15088 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
15089 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
15090 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
15091 memcmp for PPC64.
15092
b5beafbc
AZ
15093 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
15094 multiarch for POWER/PPC64.
15095 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
15096 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
15097 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
15098 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
15099 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
15100 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
15101 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
15102 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
15103 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
15104 memcpy for PPC64.
15105
5e6a4d4b
AZ
15106 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
15107 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
15108 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
15109 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
15110 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
15111 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
15112 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
15113 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
15114 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
15115 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
15116 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
15117 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
15118 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
15119 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
15120 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
15121 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
15122 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
15123 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
15124 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
15125 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
15126 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
15127 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
15128
ddfab6dc
KK
151292013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
15130
15131 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
15132
19b5525e
SP
151332013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
15134
15135 * benchtests/Makefile (bench): Add exp2 and log2.
15136 (LDLIBS-bench-exp2): Add -lm.
15137 (LDLIBS-bench-log2): Likewise.
15138 * benchtests/exp2-inputs: New inputs file.
15139 * benchtests/log2-inputs: New inputs file.
15140 * benchtests/log-inputs: Add new inputs.
15141 * benchtests/tan-inputs: Likewise.
15142
196f7f5d
SP
151432013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
15144
7a74607f
SP
15145 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
15146 definition...
57f41c40
AS
15147 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
15148 (csloww2): ... from here.
7a74607f 15149
196f7f5d
SP
15150 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
15151 instead of structures.
15152 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
15153 (POLYNOMIAL): Likewise.
15154 (TAYLOR_SLOW): Likewise.
15155 (__sin): Likewise.
15156 (__cos): Likewise.
15157 (slow1): Likewise.
15158 (slow2): Likewise.
15159 (sloww): Likewise.
15160 (sloww1); Likewise.
15161 (sloww2): Likewise.
15162 (bsloww1): Likewise.
15163 (bsloww2): Likewise.
15164 (cslow2): Likewise.
15165 (csloww): Likewise.
15166 (csloww1): Likewise.
15167 (csloww2): Likewise.
15168
0dfa665c
OB
151692013-12-10 Ondřej Bílka <neleai@seznam.cz>
15170
15171 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
57f41c40
AS
15172 (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
15173 Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
0dfa665c
OB
15174 * malloc/hooks.c (realloc_check): Likewise.
15175
5782a80f
OB
15176 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
15177 * malloc/arena.c: Remove PER_THREAD conditional.
15178 [!PER_THREAD]: Remove code.
15179 (ptmalloc_unlock_all2): Likewise.
15180 (ptmalloc_init): Likewise.
15181 (_int_new_arena): Likewise.
15182 (arena_get2): Likewise.
15183 * malloc/hooks.c (__malloc_get_state): Likewise.
15184 (__malloc_set_state): Likewise.
15185 * malloc/malloc.c: Likewise.
15186 (struct malloc_state): Likewise.
15187 (struct malloc_par): Likewise.
15188 (__libc_realloc): Likewise.
15189 (__libc_mallopt): Likewise.
15190
aeb95445
AZ
151912013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15192
15193 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
15194
e8349efd
OB
151952013-12-09 Ondřej Bílka <neleai@seznam.cz>
15196
15197 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
15198 macro to a function. Check for zero perturb_byte.
15199 (_int_malloc, _int_free): Remove zero perturb_byte checks.
15200
f3eeb3fc 15201 * malloc/malloc.c: (force_reg): Remove.
57f41c40
AS
15202 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
15203 (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
f3eeb3fc
OB
15204 force_reg by atomic_forced_read.
15205 * malloc/arena.c (ptmalloc_init): Likewise.
15206 * malloc/hooks.c (top_check): Likewise.
15207
be2f9009
AZ
152082013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15209
15210 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15211
e7b914bd
MT
152122013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
15213
15214 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15215
9f0be4f8
JM
152162013-12-08 Joseph Myers <joseph@codesourcery.com>
15217
15218 * math/auto-libm-test-in: Add tests of lgamma.
15219 * math/auto-libm-test-out: Regenerated.
15220 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
15221 (M_LOG_2_SQRT_PIl): Likewise.
15222 (lgamma_test_data): Use AUTO_TESTS_f_f1.
15223 * math/gen-auto-libm-tests.c (func_calc_method): Add value
15224 mpfr_f_f1.
15225 (func_calc_desc): Add mpfr_f_f1 union field.
15226 (ARGS1): New macro.
15227 (ARGS2): Likewise.
15228 (ARGS3): Likewise.
15229 (ARGS4): Likewise.
15230 (RET1): Likewise.
15231 (RET2): Likewise.
15232 (CALC): Likewise.
15233 (FUNC): Likewise.
15234 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
15235 (test_functions): Add lgamma.
15236 (calc_generic_results): Handle mpfr_f_f1.
15237 * sysdeps/i386/fpu/libm-test-ulps: Update.
15238 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15239
24eeafdb
AZ
152402013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15241
15242 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
15243 __mpn_add_n for PowerPC64/POWER7.
15244 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
15245 __mpn_sub_n for PowerPC64/POWER7.
15246
4a2c0fd4
AZ
15247 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
15248 __mpn_addmul_1 for PowerPC64.
15249 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
15250 __mpn_submul_1 for PowerPC64.
15251 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
15252 for PowerPC64.
15253 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
15254 for PowerPC64.
15255
4b5b548c
FS
152562013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
15257
15258 [BZ #15089]
15259 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
15260
0a3ac0aa
AZ
152612013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15262
15263 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
15264
ccdc8438
AZ
15265 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
15266 add multiarch folders.
15267 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
15268 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
15269 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
15270 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
15271 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
15272 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
15273 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
15274 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
15275 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
15276 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
15277 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
15278 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
15279 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
15280 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
15281 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
15282 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
15283 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
15284
2e973d99
AZ
15285 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
15286 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
15287 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
15288 New file.
15289 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
15290 New file.
15291 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
15292 multiarch __ieee754_hypot for PowerPC32.
15293 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
15294 New file.
15295 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
15296 New file.
15297 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
15298 multiarch __ieee754_hypotf for PowerPC32.
15299
2d9470b2
AZ
15300 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
15301 long_double_symbol only if __logbl is defined.
15302 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
15303 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
15304 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
15305 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
15306 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
15307 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
15308 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
15309 path for implementation.
15310 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
15311 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
15312 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
15313 logb, and logbl multiarch implementations for PowerPC32.
15314 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
15315 file.
15316 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
15317 file.
15318 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
15319 multiarch logb for PowerPC32.
15320 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
15321 file.
15322 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
15323 file.
15324 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
15325 multiarch logbf for PowerPC32.
15326 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
15327 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
15328 file.
15329 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
15330 multiarch logbl implementation for PowerPC32.
15331
5212ffce
AZ
15332 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
15333 and modff multiarch implementations.
15334 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
15335 New file.
15336 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
15337 New file.
15338 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
15339 multiarch modf for PowerPC32.
15340 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
15341 New file.
15342 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
15343 New file.
15344 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
15345 multiarch modff for PowerPC32.
15346
79dccf31
AZ
15347 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
15348 and lrintf multiarch implementations.
15349 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
15350 New file.
15351 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
15352 New file.
15353 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
15354 multiarch lrint for PowerPC32.
15355 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
15356 file: multiarch lrintf for PowerPC32.
15357
deb66480
AZ
15358 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
15359 and lroundf multiarch implementations.
15360 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
15361 New file.
15362 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
15363 New file.
15364 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
15365 New file.
15366 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
15367 multiarch lround for PowerPC32.
15368 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
15369 file: multiarch lroundf for PowerPC32.
15370
264b036b
AZ
15371 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
15372 copysign and copysignf multiarch implementations.
15373 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
15374 New file.
15375 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
15376 New file.
15377 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
15378 file: multiarch copysign for PowerPC32.
15379 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
15380 file: multiarch copysignf for PowerPC32.
15381
d47db6c9
AZ
15382 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
15383 and truncf multiarch implementations.
15384 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
15385 New file.
15386 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
15387 file.
15388 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
15389 multiarch trunc for PowerPC32.
15390 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
15391 New file.
15392 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
15393 New file.
15394 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
15395 multiarch truncf for PowerPC32.
15396
ddb60b5a
AZ
15397 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
15398 and roundf multiarch implementations.
15399 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
15400 New file.
15401 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
15402 file.
15403 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
15404 multiarch round for PowerPC32.
15405 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
15406 New file.
15407 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
15408 New file.
15409 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
15410 multiarch roundf for PowerPC32.
15411
bedcf49b
AZ
15412 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
15413 and floorf multiarch implementations.
15414 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
15415 New file.
15416 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
15417 file.
15418 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
15419 multiarch floor for PowerPC32.
15420 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
15421 New file.
15422 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
15423 New file.
15424 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
15425 multiarch floorf for PowerPC32.
15426
35ae5b40
AZ
15427 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
15428 and ceilf multiarch implementations.
15429 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
15430 New file.
15431 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
15432 file.
15433 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
15434 multiarch ceil for PowerPC32.
15435 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
15436 New file.
15437 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
15438 file.
15439 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
15440 multiarch ceilf for PowerPC32.
15441
ae1a4cd9
AZ
15442 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
15443 is defined.
15444 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
15445 FINITEF is defined.
15446 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
15447 and finitef multiarch implementations.
15448 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
15449 New file.
15450 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
15451 file.
15452 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
15453 multiarch finite for PowerPC32.
15454 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
15455 New file.
15456 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
15457 file: multiarch finitef for PowerPC32.
15458
64fffd65
AZ
15459 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
15460 and isinff multiarch implementations.
15461 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
15462 file.
15463 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
15464 file.
15465 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
15466 multiarch isinf for PowerPC32.
15467 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
15468 New file.
15469 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
15470 multiarch isinff for PowerPC32.
15471
8e4e7ba2
AZ
15472 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
15473 alias when __isnan is defined.
15474 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
15475 and isnanf multiarch implementations.
15476 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
15477 file.
15478 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
15479 file.
15480 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
15481 file.
15482 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
15483 file.
15484 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
15485 multiarch isnan for PowerPC32.
15486 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
15487 New file.
15488 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
15489 New file.
15490 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
15491 multiarch isnanf for PowerPC32.
15492
ddba588e
AZ
15493 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
15494 and sqrtf multiarch implementations.
15495 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
15496 file.
15497 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
15498 file.
15499 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
15500 multiarch sqrt for PowerPC32.
15501 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
15502 file.
15503 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
15504 file.
15505 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
15506 multiarch sqrtf for PowerPC32.
15507
0f96a2f0
AZ
15508 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
15509 and llroundf multiarch implementations.
15510 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
15511 New file.
15512 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
15513 New file.
15514 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
15515 New file.
15516 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
15517 file: multiarch llround for PowerPC32.
15518 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
15519 file: multiarch llroundf for PowerPC32.
15520
c9b5d79e
AZ
15521 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
15522 multiarch PowerPC32 fpu implementations.
15523 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
15524 New file.
15525 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
15526 New file.
15527 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
15528 multiarch llrint for PowerPC32.
15529 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
15530 New file.
15531 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
15532 New file.
15533 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
15534 file.
15535
9cbb3aab
AZ
15536 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
15537
ea5a72f8
AZ
15538 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
15539 file.
15540 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
15541 file.
15542 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
15543 file.
15544 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
15545 multiarch wordcopy for PPC32.
15546 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
15547 wordcopy objects.
15548 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
15549 (__libc_ifunc_impl_list): Likewise.
15550 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
15551 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
15552 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
15553 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
15554 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
15555 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
15556
93be09e7
AZ
15557 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
15558 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
15559 file.
15560 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
15561 file.
15562 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
15563 file.
15564 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
15565 multiarch wcscpy for PPC32.
15566 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
15567 multiarch objects.
15568 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
15569 (__libc_ifunc_impl_list): Likewise.
15570 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
15571 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
15572 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
15573 sysdeps/powerpc/power6/wcscpy.c.
15574
bb04e529
AZ
15575 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
15576 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
15577 file.
15578 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
15579 file.
15580 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
15581 file.
15582 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
15583 multiarch wcsrchr for PPC32.
15584 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
15585 multiarch objects.
15586 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
15587 (__libc_ifunc_impl_list): Likewise.
15588 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
15589 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
15590 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
15591 sysdeps/powerpc/power6/wcsrchr.c.
15592
05b5cd1c
AZ
15593 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
15594 file.
15595 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
15596 file.
15597 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
15598 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
15599 multiarch wcschr for PPc32.
15600 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
15601 multiarch objects.
15602 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
15603 (__libc_ifunc_impl_list): Likewise.
15604 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
15605 * sysdeps/powerpc/power6/wcschr.c: ... to here.
15606 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
15607 sysdeps/powerpc/power6/wcschr.c.
15608
ba964147
AZ
15609 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
15610 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
15611 file.
15612 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
15613 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
15614 file: multiarch strchr for PPC32.
15615 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
15616 multiarch objects.
15617 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
15618 (__libc_ifunc_impl_list): Likewise.
15619
31c81aaa
AZ
15620 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
15621 name.
15622 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
15623 file.
15624 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
15625 file.
15626 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
15627 multiarch strchrnul for PPC32.
15628 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
15629 multiarch objects.
15630 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
15631 (__libc_ifunc_impl_list): Likewise.
15632
0d0607d9
AZ
15633 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
15634 file.
15635 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
15636 multiarch strncasecmp for PPC32.
15637 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
15638 file.
15639 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
15640 multiarch strncasecmp_l for PPC32.
15641 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
15642 strncasecmp multiarch objects.
15643 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
15644 (__libc_ifunc_impl_list): Likewise.
15645
4dfd5c86
AZ
15646 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
15647 file.
15648 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
15649 multiarch strncasecmp for PPC32.
15650 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
15651 New file.
15652 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
15653 multiarch strcasecmp_l for PPC32.
15654 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
15655 multiarch objects.
15656 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
15657 (__libc_ifunc_impl_list): Likewise.
15658
a19e01a3
AZ
15659 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
15660 file.
15661 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
15662 file.
15663 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
15664 multiarch strncmp for PPC32.
15665 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
15666 multiarch objects.
15667 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
15668 (__libc_ifunc_impl_list): Likewise.
15669
ae9cf7a2
AZ
15670 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
15671 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
15672 file.
15673 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
15674 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
15675 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
15676 multiarch objects.
15677 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
15678 (__libc_ifunc_impl_list): Likewise.
15679
3148bb7d
AZ
15680 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
15681 file.
15682 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
15683 file.
15684 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
15685 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
15686 multiarch objects.
15687 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
15688 (__libc_ifunc_impl_list): Likewise.
15689
7af8b946
AZ
15690 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
15691 file.
15692 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
15693 file.
15694 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
15695 multiarch rawmemchr for PPC32.
15696 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
15697 multiarch objects.
15698 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
15699 (__libc_ifunc_impl_list): Likewise.
15700
03a6aa6a
AZ
15701 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
15702 file.
15703 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
15704 file.
15705 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
15706 file: memrchr multiarch for PPC32.
15707 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
15708 multiarch objects.
15709 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
15710 (__libc_ifunc_impl_list): Likewise.
15711
1c62e6d9
AZ
15712 * string/memchr.c (__memchr): Using macro to redefine symbol name.
15713 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
15714 file.
15715 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
15716 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
15717 multiarch memchr for PPC32.
15718 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
15719 multiarch objects.
15720 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
15721 (__libc_ifunc_impl_list): Likewise.
15722
87da8bdb
AZ
15723 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
15724 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
15725 file.
15726 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
15727 file.
15728 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
15729 file: multiarch mempcpy for PPC32.
15730 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
15731 multiarch objects.
15732 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
15733 (__libc_ifunc_impl_list): Likewise.
15734
20ed4714
AZ
15735 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
15736 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
15737 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
15738 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
15739 multiarch bzero for PPC32.
15740 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
15741 file.
15742 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
15743 file.
15744 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
15745 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
15746 file: multiarch memset for PPC32.
15747 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
15748 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
15749 memset multiarch objects.
15750 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
15751 (__libc_ifunc_impl_list): Likewise.
15752
ab3e3a46
AZ
15753 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
15754 file.
15755 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
15756 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
15757 memcmp for PPC32.
15758 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
15759 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
15760 multiarch objects.
15761 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
15762 (__libc_ifunc_impl_list): Likewise.
15763
930de6f0
AZ
15764 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
15765 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
15766 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
15767 file.
15768 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
15769 file.
15770 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
15771 file.
15772 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
15773 multiarch memcpy for PPC32.
15774 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
15775 multiarch objects.
15776 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
15777 (__libc_ifunc_impl_list): Likewise.
15778
4c628e00
AZ
15779 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
15780 support multiarch for POWER/PPC32.
15781 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
15782 Likewise.
15783 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
15784 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
15785 Implies file to make multiarch folder appers before the fpu and
15786 default folder for power4 configuration.
15787
f4479220
SP
157882013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
15789
15790 * scripts/bench.pl: Append volatile keyword to type.
15791
8517800f
KK
157922013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
15793
15794 * sysdeps/sh/sotruss-lib.c: New file.
15795 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
15796
180138f1
AZ
157972013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15798
15799 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15800
bbf37bdc
JM
158012013-12-05 Joseph Myers <joseph@codesourcery.com>
15802
e47cc4e0
JM
15803 [BZ #6810]
15804 * math/w_tgamma.c: Include <errno.h>.
15805 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
15806 * math/w_tgammaf.c: Include <errno.h>.
15807 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
15808 * math/w_tgammal.c: Include <errno.h>.
15809 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
15810 * math/auto-libm-test-in: Do not allow missing errno on tgamma
15811 underflow. Add more tgamma tests.
15812 * math/auto-libm-test-out: Regenerated.
15813 * sysdeps/i386/fpu/libm-test-ulps: Update.
15814 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15815
bbf37bdc
JM
15816 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
15817 sin, sinh, tan, tanh, tgamma, y0 and y1.
15818 * math/auto-libm-test-out: Regenerated.
15819 * math/libm-test.inc (TEST_COND_x86_64): New macro.
15820 (TEST_COND_x86): Likewise.
15821 (M_E2l): Remove macro.
15822 (M_E3l): Likewise.
15823 (M_2_SQRT_PIl): Likewise.
15824 (M_SQRT_PIl): Likewise.
15825 (M_1_DIV_El): Likewise.
15826 (log_test_data): Use AUTO_TESTS_f_f.
15827 (log10_test_data): Likewise.
15828 (log1p_test_data): Likewise.
15829 (log2_test_data): Likewise.
15830 (sin_test_data): Likewise.
15831 (sin_tonearest_test_data): Likewise.
15832 (sin_towardzero_test_data): Likewise.
15833 (sin_downward_test_data): Likewise.
15834 (sin_upward_test_data): Likewise.
15835 (sinh_test_data): Likewise.
15836 (sinh_tonearest_test_data): Likewise.
15837 (sinh_towardzero_test_data): Likewise.
15838 (sinh_downward_test_data): Likewise.
15839 (sinh_upward_test_data): Likewise.
15840 (tan_test_data): Likewise.
15841 (tan_tonearest_test_data): Likewise.
15842 (tan_towardzero_test_data): Likewise.
15843 (tan_downward_test_data): Likewise.
15844 (tan_upward_test_data): Likewise.
15845 (tanh_test_data): Likewise.
15846 (tgamma_test_data): Likewise.
15847 (y0_test_data): Likewise.
15848 (y1_test_data): Likewise.
15849 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
15850 (special_real_inputs): Add pi/4.
15851 * sysdeps/i386/fpu/libm-test-ulps: Update.
15852 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15853
eb5ad6b9
AZ
158542013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15855
15856 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
15857 "longjmp_target" static probes.
15858 (__longjmp): Rename to __longjmp_symbol.
15859 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
15860 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
15861 on which longjmp to generate.
15862 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
15863 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
15864 probe.
15865 (__sigsetjmp): Rename to __sigsetjmp_symbol.
15866 (__sigjmp_save): Rename to __sigjmp_save_symbol.
15867 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
15868 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
15869 and __sigjmp_save_symbol based on which sigsetjmp to generated.
15870 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
15871 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
15872 __longjmp_symbol based on which __longjmp to generate.
15873 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
15874 probe.
15875 (setjmp): Rename to setjmp_symbol.
15876 (__sigsetjmp): Rename to __sigsetjmp_symbol.
15877 (_setjmp): Rename to _setjmp_symbol.
15878 (__sigsetjmp): Rename to __sigsetjmp_symbol.
15879 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
15880 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
15881 which setjmp to generate.
15882 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
15883 "longjmp_target" static probes.
15884
d136c6dc
SP
158852013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
15886
9298ecba
SP
15887 * benchtests/README: Add note about output arguments.
15888 * benchtests/bench-sincos.c: Remove file.
15889 * benchtests/sincos-inputs: New file.
15890 * scripts/bench.pl: Identify output arguments and define
15891 static variables for them.
15892
232983e9
SP
15893 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
15894
d136c6dc
SP
15895 [BZ #15941]
15896 * Makefile (INSTALL): Add install-plain.texi as the primary
15897 dependency.
15898 * manual/install-plain.texi: New file.
15899 * manual/install.texi: Include node directive only for
15900 non-plaintext output.
15901
699ff837
JM
159022013-12-04 Joseph Myers <joseph@codesourcery.com>
15903
ab07cea8
JM
15904 * stdlib/longlong.h: Update from GCC.
15905
699ff837
JM
15906 [BZ #6807]
15907 [BZ #15901]
15908 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
15909 * math/w_j0f.c (y0f): Likewise.
15910 * math/w_j0l.c (__y0l): Likewise.
15911 * math/w_j1.c (y1): Likewise.
15912 * math/w_j1f.c (y1f): Likewise.
15913 * math/w_j1l.c (__y1l): Likewise
15914 * math/w_jn.c (yn): Likewise.
15915 * math/w_jnf.c (ynf): Likewise.
15916 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
15917 Bessel function pole errors in _POSIX_ mode. Use NAN as return
15918 value for Bessel function domain errors outside _SVID_ mode.
15919 Adjust sign of return value for yn (negative integer, 0).
15920 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
15921 by zero in return for negative x and set sign appropriately for
15922 negative n.
15923 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
15924 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
15925 * math/libm-test.inc (y0_test_data): Add more tests and adjust
15926 expectations in error cases.
15927 (y1_test_data): Likewise.
15928 (yn_test_data): Likewise.
15929 * sysdeps/i386/fpu/libm-test-ulps: Update.
15930 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15931
5b118558
UW
159322013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
15933
15934 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
15935 "64" to "64-v1". Add "64-v2".
15936 (abi-64-options): Rename to ...
15937 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
15938 (abi-64-condition): Rename to ...
15939 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
15940 (abi-64-ld-soname): Rename to ...
15941 (abi-64-v1-ld-soname): ... this.
15942 (abi-64-v2-options): Define.
15943 (abi-64-v2-condition): Likewise.
15944 (abi-64-v2-ld-soname): Likewise.
15945 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
15946 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
15947 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
15948 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
15949 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
15950
61cd8fe4
UW
159512013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
15952 Alan Modra <amodra@gmail.com>
15953
15954 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
15955 New versions for use with the ELFv2 ABI.
15956 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
15957 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
15958 declaration.
15959 (struct La_ppc64v2_retval): Likewise.
15960 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
15961 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
15962 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
15963 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
15964 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
15965 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
15966 Do not save or restore CR.
15967 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
15968 (_dl_profile_resolve): Do no save or restore CR. Support extended
15969 return values for ELFv2 ABI. Fix location of FPR return registers.
15970 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
15971 updated values for _CALL_ELF == 2.
15972 (La_regs, La_retval, int_retval): Likewise.
15973
8b8a692c
UW
159742013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
15975
15976 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
15977 (FRAME_MIN_SIZE_PARM): Likewise.
15978 (FRAME_BACKCHAIN): Likewise.
15979 (FRAME_CR_SAVE): Likewise.
15980 (FRAME_LR_SAVE): Likewise.
15981 (FRAME_TOC_SAVE): Likewise.
15982 (FRAME_PARM_SAVE): Likewise.
15983 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
15984 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
15985 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
15986 (call_mcount_parm_offset): New macro.
15987 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
15988 (PROF): Use symbolic stack frame offsets.
15989 (TAIL_CALL_SYSCALL_ERROR): Likewise.
15990 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
15991 Redefine in terms of FRAME_MIN_SIZE.
15992 (_dl_runtime_resolve): Use symbolic stack frame offsets.
15993 (_dl_profile_resolve): Likewise. Update comment.
15994 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
15995 symbols stack frame offsets.
15996 (__sigsetjmp): Likewise.
15997 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
15998 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
15999 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
16000 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
16001
16002 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
16003 (FRAME_BACKCHAIN): Remove.
16004 (FRAME_CR_SAVE): Likewise.
16005 (FRAME_LR_SAVE): Likewise.
16006 (FRAME_COMPILER_DW): Likewise.
16007 (FRAME_LINKER_DW): Likewise.
16008 (FRAME_TOC_SAVE): Likewise.
16009 (FRAME_PARM_SAVE): Likewise.
57f41c40
AS
16010 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
16011 (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
16012 (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
8b8a692c
UW
16013 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
16014 (CHECK_SP): Use symbolic stack frame offsets.
16015 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
16016 zone" instead of caller's parameter save area for temp storage.
16017 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
16018 Likewise. Also, use symbolic stack frame offsets.
16019 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
16020 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
16021 our own stack frame instead of the caller's.
16022 (__socket): Use symbolic stack frame offsets.
16023
122b66de
UW
160242013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
16025 Alan Modra <amodra@gmail.com>
16026
16027 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
16028 Define.
57f41c40
AS
16029 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
16030 (PPC64_LOCAL_ENTRY_OFFSET): Define.
122b66de
UW
16031 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
16032 New function.
16033 (elf_machine_fixup_plt): Call it.
16034 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
16035 reloc arguments.
16036 (elf_machine_rela): Update call to elf_machine_plt_conflict.
57f41c40
AS
16037 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
16038 (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
122b66de
UW
16039 r2 before calling target.
16040
696caf1d
UW
160412013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
16042 Alan Modra <amodra@gmail.com>
16043
16044 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
16045 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
16046 versions of macros to support ELFv2 ABI.
16047 (LOCALENTRY): New macro.
16048 (ENTRY, EALIGN): Use it.
16049 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
16050 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
16051 fall through into ENTRY entry point.
16052 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
16053 Only define if _CALL_ELF != 2.
16054
16055 (elf_machine_matches_host): Verify ABI version matches.
16056 (RTLD_START): Use LOCALENTRY.
16057 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
16058 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
16059 (PLT_ENTRY_WORDS): New macro.
16060 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
16061 (elf_machine_runtime_setup): Support ELFv2 ABI.
16062 (elf_machine_fixup_plt): Likewise.
16063 (elf_machine_plt_conflict): Likewise.
16064 (resolve_ifunc): Likewise.
16065 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
16066 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
16067 Likewise.
16068 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
16069 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
16070 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
16071 (makecontext): Support ELFv2 ABI.
16072 * elf/elf.h (EF_PPC64_ABI): Define.
16073
d31beafa
UW
160742013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
16075
57f41c40
AS
16076 * sysdeps/powerpc/powerpc64/sysdep.h
16077 (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
16078 (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
16079 (ENTRY) [ASSEMBLER]: ... but instead here ...
16080 (EALIGN) [ASSEMBLER]: ... and here.
16081 (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
16082 (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
16083 (ENTRY_2) [!ASSEMBLER]: Use it.
d31beafa
UW
16084 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
16085 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
57f41c40
AS
16086 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
16087 (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
d31beafa
UW
16088 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
16089 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
16090 Use PPC64_LOAD_FUNCPTR.
16091
b525166b
UW
16092 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
16093
7ec07d9a
AM
160942013-12-04 Alan Modra <amodra@gmail.com>
16095
16096 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
16097 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
16098 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
16099 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
16100
16101 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
16102 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
16103 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
16104 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
16105 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
16106 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
16107
5162e7dd
UW
161082013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
16109
16110 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
16111 (__makecontext): Fix incorrect CFI when backtracing out of
16112 context created via makecontext.
16113 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
16114 (__setcontext): Fix incorrect CFI during switch to new context.
16115 (__novec_setcontext): Likewise.
16116
19e3372b
OB
161172013-12-04 Ondřej Bílka <neleai@seznam.cz>
16118
16119 [BZ #4772]
16120 * time/strptime_l.c (__strptime_internal): Allow modifiers
16121 in strptime.
16122 * time/tst-strptime.c (day_tests): Add testcase.
16123
ecaf142d
SP
161242013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
16125
16126 * scripts/bench.pl: Skip over blank lines.
16127
fbf964ae
PE
161282013-12-04 Paul Eggert <eggert@cs.ucla.edu>
16129
16130 [BZ #926]
16131 * manual/time.texi (Calendar Time): Clarify what timezone functions
16132 use.
16133
fa60a674
AZ
161342013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16135
16136 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16137
d674f0ef
OB
161382013-12-04 Ondřej Bílka <neleai@seznam.cz>
16139
16140 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
16141 implementation.
16142 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
16143 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
16144 * debug/memset_chk.c (__memset_chk): Likewise.
16145 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
16146 * debug/strncpy_chk.c: Likewise.
16147
17dea188
JM
161482013-12-03 Joseph Myers <joseph@codesourcery.com>
16149
749008ff
JM
16150 [BZ #15268]
16151 [BZ #15425]
16152 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
16153 (__ieee754_exp): For possibly underflowing results, check size of
16154 result and force underflow exception if required.
16155 * math/auto-libm-test-in: Add more tests of exp.
16156 * math/auto-libm-test-out: Regenerated.
16157 * sysdeps/i386/fpu/libm-test-ulps: Update.
16158 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16159
17dea188
JM
16160 [BZ #16283]
16161 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
16162 * math/w_exp2f.c (__exp2f): Likewise.
16163 * math/w_exp2l.c (__exp2l): Likewise.
16164 * math/auto-libm-test-in: Do not allow missing errno on exp2
16165 underflow.
16166 * math/auto-libm-test-out: Regenerated.
16167
b20de2c3
OB
161682013-12-03 Ondřej Bílka <neleai@seznam.cz>
16169
16170 [BZ #16274]
16171 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
16172 handle filename validation.
16173 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
16174 (do_open): Delete.
16175
d8e2dbe3
JM
161762013-12-03 Joseph Myers <joseph@codesourcery.com>
16177
34e16df5
JM
16178 [BZ #6786]
16179 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
16180 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
16181 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
16182 <float.h>.
16183 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
16184 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
16185 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
16186 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
16187 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
16188 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
16189 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
16190 * math/auto-libm-test-in: Don't allow missing errno from erfc.
16191 Add more erfc tests.
16192 * math/auto-libm-test-out: Regenerated.
16193 * sysdeps/i386/fpu/libm-test-ulps: Update.
16194 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16195
d8e2dbe3
JM
16196 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
16197 exp2, expm1, j0 and j1.
16198 * math/auto-libm-test-out: Regenerated.
16199 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
16200 (erfc_test_data): Likewise.
16201 (exp_test_data): Likewise.
16202 (exp_tonearest_test_data): Likewise.
16203 (exp_towardzero_test_data): Likewise.
16204 (exp_downward_test_data): Likewise.
16205 (exp_upward_test_data): Likewise.
16206 (exp10_test_data): Likewise.
16207 (exp2_test_data): Likewise.
16208 (expm1_test_data): Likewise.
16209 (j0_test_data): Likewise.
16210 (j1_test_data): Likewise.
16211 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
16212 (input_flag_type): Add flag_xfail_rounding.
16213 (input_flags): Add xfail-rounding.
16214 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
16215 (output_for_one_input_case): Handle flag_xfail_rounding.
16216 * sysdeps/i386/fpu/libm-test-ulps: Update.
16217 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16218
18d14251
AJ
162192013-12-03 Aurelien Jarno <aurelien@aurel32.net>
16220
3d2e6075 16221 [BZ #16289]
18d14251
AJ
16222 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
16223 division by 0.
16224
520d437b
SP
162252013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
16226
16227 [BZ #16195]
16228 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
16229 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
16230 (STAP_PROBE0): New macro.
16231 (STAP_PROBE1): Likewise.
16232 (STAP_PROBE2): Likewise.
16233 (STAP_PROBE3): Likewise.
16234 (STAP_PROBE4): Likewise.
16235
416e0145
OB
162362013-12-02 Ondřej Bílka <neleai@seznam.cz>
16237
16238 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
16239
9d17796a
SE
162402013-12-02 Steve Ellcey <sellcey@mips.com>
16241
16242 * benchtests/Makefile (bench): Add sqrt.
16243 (LDLIBS-bench-sqrt): New.
16244 * benchtests/sqrt-input: New.
16245
f524d6a8
PS
162462013-12-02 Pavel Simerda <psimerda@redhat.com>
16247
639a0ef8
PS
16248 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
16249 (GAIH_EAI): Likewise.
16250 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
16251 (gaih_inet): Likewise.
16252 (getaddrinfo): Don't use GAIH_EAI.
16253
f524d6a8
PS
16254 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
16255 (struct gaih): Remove definition.
16256
df3aedaf
SP
162572013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
16258
16259 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
16260 Use HERRNOP directly.
16261
1ab19dec
AZ
162622013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16263
b42ad38d 16264 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1ab19dec 16265
176b0c79
JM
162662013-11-30 Joseph Myers <joseph@codesourcery.com>
16267
16268 * math/gen-auto-libm-tests.c (test_functions): Add more
16269 single-argument functions.
16270 (special_fill_pi_2): New function.
16271 (special_fill_minus_pi_2): Likewise.
16272 (special_fill_pi_6): Likewise.
16273 (special_fill_minus_pi_6): Likewise.
16274 (special_fill_pi_3): Likewise.
16275 (special_fill_2pi_3): Likewise.
16276 (special_fill_e): Likewise.
16277 (special_fill_1_e): Likewise.
16278 (special_fill_e_minus_1): Likewise.
16279 (special_real_inputs): Add more special inputs.
16280 (output_for_one_input_case): Do not require ERANGE on underflow to
16281 zero if round-to-nearest result does not underflow to zero, unless
16282 exact results required.
16283 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
16284 atan, atanh, cbrt, cos and cosh.
16285 * math/auto-libm-test-out: Regenerated.
16286 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
16287 (acos_tonearest_test_data): Likewise.
16288 (acos_towardzero_test_data): Likewise.
16289 (acos_downward_test_data): Likewise.
16290 (acos_upward_test_data): Likewise.
16291 (acosh_test_data): Likewise.
16292 (asin_test_data): Likewise.
16293 (asin_tonearest_test_data): Likewise.
16294 (asin_towardzero_test_data): Likewise.
16295 (asin_upward_test_data): Likewise.
16296 (asinh_test_data): Likewise.
16297 (atan_test_data): Likewise.
16298 (atanh_test_data): Likewise.
16299 (cbrt_test_data): Likewise.
16300 (cos_test_data): Likewise.
16301 (cos_tonearest_test_data): Likewise.
16302 (cos_towardzero_test_data): Likewise.
16303 (cos_downward_test_data): Likewise.
16304 (cos_upward_test_data): Likewise.
16305 (cosh_test_data): Likewise.
16306 (cosh_tonearest_test_data): Likewise.
16307 (cosh_towardzero_test_data): Likewise.
16308 (cosh_downward_test_data): Likewise.
16309 (cosh_upward_test_data): Likewise.
16310 * sysdeps/i386/fpu/libm-test-ulps: Update.
16311 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16312
ffb536d0
JM
163132013-11-29 Joseph Myers <joseph@codesourcery.com>
16314
2a77a467
JM
16315 [BZ #6787]
16316 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
16317 * math/w_exp10f.c (__exp10f): Likewise.
16318 * math/w_exp10l.c (__exp10l): Likewise.
16319 * math/libm-test.inc (exp10_test_data): Add more tests and expect
16320 errno settings in existing tests.
16321
ea3bc4e8
JM
16322 [BZ #14032]
16323 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
16324 precision control set to double precision.
16325 * sysdeps/i386/fpu/w_sqrt.c: New file.
16326 * math/auto-libm-test-in: Add more tests.
16327 * math/auto-libm-test-out: Update.
16328
0712c9d8
JM
16329 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
16330 (sqrt_test_tonearest): New function.
16331 (sqrt_towardzero_test_data): New variable.
16332 (sqrt_test_towardzero): New function.
16333 (sqrt_downward_test_data): New variable.
16334 (sqrt_test_downward): New function.
16335 (sqrt_upward_test_data): New variable.
16336 (sqrt_test_upward): New function.
16337 (main): Call the new functions.
16338
ffb536d0
JM
16339 * math/gen-auto-libm-tests.c: New file.
16340 * math/auto-libm-test-in: Likewise.
16341 * math/auto-libm-test-out: New generated file.
16342 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
16343 variables.
16344 (%beautify): Add generated representations of zero.
16345 (top level): Set $auto_input and call parse_auto_input.
16346 (beautify): Remove trailing "f" from hex float constants.
16347 (parse_args): Handle XFAIL_TEST.
16348 (convert_condition): New function.
16349 (or_value): Likewise.
16350 (or_cond_value): Likewise.
16351 (generate_testfile): Handle AUTO_TESTS_* lines.
16352 (parse_auto_input): New function.
16353 * math/libm-test.inc (XFAIL_TEST): New macro.
16354 (ERRNO_UNCHANGED): Update value.
16355 (ERRNO_EDOM): Likewise.
16356 (ERRNO_ERANGE): Likewise.
16357 (IGNORE_RESULT): Likewise.
16358 (TEST_COND_flt_32): New macro.
16359 (TEST_COND_dbl_64): Likewise.
16360 (TEST_COND_ldbl_96_intel): Likewise.
16361 (TEST_COND_ldbl_96_m68k): Likewise.
16362 (TEST_COND_ldbl_128): Likewise.
16363 (TEST_COND_ldbl_128ibm): Likewise.
16364 (TEST_COND_long32): Likewise.
16365 (TEST_COND_long64): Likewise.
16366 (TEST_COND_before_rounding): Likewise.
16367 (TEST_COND_after_rounding): Likewise.
16368 (enable_test): Handle XFAIL_TEST flag.
16369 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
16370 with finite results.
16371 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
16372 auto-libm-test-out.
16373
acd98a8e
AK
163742013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
16375 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16376
16377 [BZ #16214]
16378 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
16379 __tls_get_addr_internal instead of __tls_get_offset in order to
16380 avoid GOT pointer dependency. Make rtld export
16381 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
16382 __tls_get_addr since we are a __tls_get_offset platform.
16383 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
16384 GOT pointer being set up before.
16385 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
16386
3c1c46a6
JM
163872013-11-28 Joseph Myers <joseph@codesourcery.com>
16388
7475aef5
JM
16389 * manual/math.texi (Errors in Math Functions): Document accuracy
16390 goals.
16391
8bca7cd8
JM
16392 [BZ #15004]
16393 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
16394 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
16395 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
16396 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
16397 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
16398 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
16399 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
16400 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
16401 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
16402 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
16403 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
16404 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
16405 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
16406 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
16407 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
16408 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
16409
91a1f3fe
JM
16410 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
16411 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
16412 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
16413 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
16414 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
16415 Likewise.
16416 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
16417 Likewise.
16418 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
16419 Likewise.
16420 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
16421 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
16422 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
16423 atomic-feupdateenv and flt-rounds.
16424 * sysdeps/powerpc/nofpu/Versions (libc): Add
16425 __atomic_feholdexcept, __atomic_feclearexcept,
16426 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
16427 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
16428 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
16429 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
16430 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
16431 here.
16432 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
16433 Update.
16434
c5df7609
JM
16435 * manual/arith.texi (FP Exceptions): Document that exceptions may
16436 not be raised when matherr is used.
16437 (Math Error Reporting): Document overflow in directed rounding
16438 modes. Document that errno may not be set when finite values are
16439 returned on overflow. Document intent to set errno on underflow
16440 only for underflow to zero.
16441
3c1c46a6
JM
16442 [BZ #16271]
16443 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
16444 round-to-nearest then adjust result for other rounding modes.
16445 * include/fenv.h (fegetround): Use libm_hidden_proto.
16446 * math/fegetround.c (fegetround): Use libm_hidden_def.
16447 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
16448 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
16449 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
16450 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
16451 Likewise.
16452 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
16453 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
16454 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
16455 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
16456
5a4c6d53
SP
164572013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
16458
16459 [BZ #16077]
16460 * nss/Versions (libnss_files): Add
16461 _nss_files_gethostbyname3_r.
16462 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
16463 New function.
16464 (HOST_DB_LOOKUP): Remove macro.
16465 (_nss_files_gethostbyname_r): Implement function without the
16466 HOST_DB_LOOKUP macro.
16467 (_nss_files_gethostbyname2_r): Likewise.
16468
897b98ba
OB
164692013-11-28 Ondřej Bílka <neleai@seznam.cz>
16470
16471 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
16472
6f476861
UB
164732013-11-26 Uros Bizjak <ubizjak@gmail.com>
16474
16475 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
16476 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
16477 warning.
16478
bd12ab55
AZ
164792013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16480
16481 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
16482 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
16483 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
16484 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
16485 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
16486 __fe_nomask_env_priv and attribute_hidden.
16487 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
16488 (libc_feupdateenv_test_ppc): Likewise.
16489 (libc_feresetround_ppc): Likewise.
16490 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
16491 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
16492 compat_symbol macro.
16493 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
16494 (__fe_nomask_env): Likewise.
16495 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
16496
52bb6543
OB
164972013-11-26 Ondřej Bílka <neleai@seznam.cz>
16498
16499 * string/Makefile: Remove ifunc tests.
16500 * string/test-string.h: Define TEST_IFUNC.
16501 * string/test-bcopy-ifunc.c: Remove.
16502 * string/test-bzero-ifunc.c: Likewise.
16503 * string/test-memccpy-ifunc.c: Likewise.
16504 * string/test-memchr-ifunc.c: Likewise.
16505 * string/test-memcmp-ifunc.c: Likewise.
16506 * string/test-memcpy-ifunc.c: Likewise.
16507 * string/test-memmem-ifunc.c: Likewise.
16508 * string/test-memmove-ifunc.c: Likewise.
16509 * string/test-mempcpy-ifunc.c: Likewise.
16510 * string/test-memrchr-ifunc.c: Likewise.
16511 * string/test-memset-ifunc.c: Likewise.
16512 * string/test-rawmemchr-ifunc.c: Likewise.
16513 * string/test-stpcpy-ifunc.c: Likewise.
16514 * string/test-stpncpy-ifunc.c: Likewise.
16515 * string/test-strcasecmp-ifunc.c: Likewise.
16516 * string/test-strcasestr-ifunc.c: Likewise.
16517 * string/test-strcat-ifunc.c: Likewise.
16518 * string/test-strchr-ifunc.c: Likewise.
16519 * string/test-strchrnul-ifunc.c: Likewise.
16520 * string/test-strcmp-ifunc.c: Likewise.
16521 * string/test-strcpy-ifunc.c: Likewise.
16522 * string/test-strcspn-ifunc.c: Likewise.
16523 * string/test-strlen-ifunc.c: Likewise.
16524 * string/test-strncasecmp-ifunc.c: Likewise.
16525 * string/test-strncat-ifunc.c: Likewise.
16526 * string/test-strncmp-ifunc.c: Likewise.
16527 * string/test-strncpy-ifunc.c: Likewise.
16528 * string/test-strnlen-ifunc.c: Likewise.
16529 * string/test-strpbrk-ifunc.c: Likewise.
16530 * string/test-strrchr-ifunc.c: Likewise.
16531 * string/test-strspn-ifunc.c: Likewise.
16532 * string/test-strstr-ifunc.c: Likewise.
16533
ab260039 165342013-11-26 Ondřej Bílka <neleai@seznam.cz>
2787db97
OB
16535
16536 * benchtests/Makefile: Remove ifunc tests.
16537 * benchtests/bench-string.h: Define TEST_IFUNC.
16538 * benchtests/bench-bcopy-ifunc.c: Remove.
16539 * benchtests/bench-bzero-ifunc.c: Likewise.
16540 * benchtests/bench-memccpy-ifunc.c: Likewise.
16541 * benchtests/bench-memchr-ifunc.c: Likewise.
16542 * benchtests/bench-memcmp-ifunc.c: Likewise.
16543 * benchtests/bench-memcpy-ifunc.c: Likewise.
16544 * benchtests/bench-memmem-ifunc.c: Likewise.
16545 * benchtests/bench-memmove-ifunc.c: Likewise.
16546 * benchtests/bench-mempcpy-ifunc.c: Likewise.
16547 * benchtests/bench-memrchr-ifunc.c: Likewise.
16548 * benchtests/bench-memset-ifunc.c: Likewise.
16549 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
16550 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
16551 * benchtests/bench-stpcpy-ifunc.c: Likewise.
16552 * benchtests/bench-stpncpy-ifunc.c: Likewise.
16553 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
16554 * benchtests/bench-strcasestr-ifunc.c: Likewise.
16555 * benchtests/bench-strcat-ifunc.c: Likewise.
16556 * benchtests/bench-strchr-ifunc.c: Likewise.
16557 * benchtests/bench-strchrnul-ifunc.c: Likewise.
16558 * benchtests/bench-strcmp-ifunc.c: Likewise.
16559 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
16560 * benchtests/bench-strcpy-ifunc.c: Likewise.
16561 * benchtests/bench-strcspn-ifunc.c: Likewise.
16562 * benchtests/bench-strlen-ifunc.c: Likewise.
16563 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
16564 * benchtests/bench-strncat-ifunc.c: Likewise.
16565 * benchtests/bench-strncmp-ifunc.c: Likewise.
16566 * benchtests/bench-strncpy-ifunc.c: Likewise.
16567 * benchtests/bench-strnlen-ifunc.c: Likewise.
16568 * benchtests/bench-strpbrk-ifunc.c: Likewise.
16569 * benchtests/bench-strrchr-ifunc.c: Likewise.
a9503496 16570 * benchtests/bench-strsep-ifunc.c: Likewise.
2787db97
OB
16571 * benchtests/bench-strspn-ifunc.c: Likewise.
16572 * benchtests/bench-strstr-ifunc.c: Likewise.
16573
165742013-11-26 Ondřej Bílka <neleai@seznam.cz>
16575
ab260039
OB
16576 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
16577
d1d9eaf4 165782013-11-26 Ondřej Bílka <neleai@seznam.cz>
2787db97 16579
d1d9eaf4
OB
16580 * resolv/netdb.h: Use __glibc_reserved instead __unused.
16581 * rt/aio.h: Likewise.
16582 * sysdeps/gnu/bits/utmp.h: Likewise.
16583 * sysdeps/gnu/bits/utmpx.h: Likewise.
16584 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
16585 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
16586 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
16587 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
16588 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
16589 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
16590 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
16591 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
16592 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
16593 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
16594 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
16595 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
16596 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
16597 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
16598 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
16599 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
16600 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
16601 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
16602 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
16603 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
16604 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
16605 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
16606 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
16607 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
16608 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
16609 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
16610 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
16611 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
16612 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
16613 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
16614 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
16615 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
16616 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
16617 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
16618 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
16619 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
16620 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
16621 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
16622 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
16623 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
16624 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
16625 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
16626
a7624ed9
CD
166272013-11-25 Carlos O'Donell <carlos@redhat.com>
16628
16629 [BZ #16245]
16630 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
16631 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
16632
63cfe52b
JM
166332013-11-25 Joseph Myers <joseph@codesourcery.com>
16634
16635 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
16636 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
16637 Likewise.
16638
41e8926a
AZ
166392013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16640
16641 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
16642 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
16643 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
16644 (__fesetround): Remove define.
16645 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
16646 rounding and exceptions handling.
16647 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
16648 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
16649 (__fe_nomask_env): Likewise.
16650 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
16651 __fegetround instead of fegetround.
16652 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
16653 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
16654
6851bd4d
RM
166552013-11-21 Roland McGrath <roland@hack.frob.com>
16656
070906ff
RM
16657 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
16658 it's there.
16659
6851bd4d
RM
16660 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
16661
84ae135d
MI
166622013-11-21 Meador Inge <meadori@codesourcery.com>
16663
16664 [BZ #11157]
16665 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
16666 (encrypt_r): Likewise.
16667 * malloc/obstack.h (obstack_free): Likewise.
16668 * posix/unistd.h (encrypt): Likewise.
16669
daf75146
GM
166702013-11-21 Guy Martin <gmsoft@tuxicoman.be>
16671
16672 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
16673 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
16674 DL_CALL_DT_FINI() that call the functions directly.
16675 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
16676 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
16677 * elf/dl-fini.c: Likewise.
16678
10ad46bc
OB
166792013-11-20 Ondřej Bílka <neleai@seznam.cz>
16680
16681 * malloc/hooks.c (memalign_check): Add alignment rounding.
16682 * malloc/malloc.c (_mid_memalign): New function.
16683 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
16684 Implement by calling _mid_memalign.
16685 * manual/probes.texi (Memory Allocation Probes): Remove
16686 memory_valloc_retry and memory_pvalloc_retry.
16687
f3fd2628
SP
166882013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
16689
4712799f
SP
16690 * locale/programs/locarchive.c (open_archive): Add const
16691 qualifier to ARCHIVEFNAME and copy default fname to
16692 DEFAULT_FNAME.
16693
0417b20f
SP
16694 [BZ #15601]
16695 * libio/tst-widetext.input: Rename Oriya to Odia.
16696 * locale/iso-639.def: Likewise.
16697
f3fd2628
SP
16698 * manual/probes.texi (Mathematical Function Probes): Add
16699 documentation for sin, cos, asin and acos probes.
16700 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
16701 (__sin32): Add slowasin probe.
16702 (__cos32): Add slowacos probe.
16703 (__mpsin): Add slowsin probe.
16704 (__mpcos): Add slowcos probe.
16705
73c1ce4f
JM
167062013-11-19 Joseph Myers <joseph@codesourcery.com>
16707
16708 [BZ #15483]
16709 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
16710 thread-local __sim_exceptions_thread and global
16711 __sim_exceptions_global.
16712 (__sim_disabled_exceptions): Change to thread-local
16713 __sim_disabled_exceptions_thread and global
16714 __sim_disabled_exceptions_global.
16715 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
16716 and global __sim_round_mode_global.
16717 (__simulate_exceptions): Use thread-local floating-point state and
16718 set global state from it as needed.
16719 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
16720 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
16721 __sim_round_mode_thread.
16722 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
16723 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
16724 and global __sim_exceptions_global.
16725 (__sim_disabled_exceptions): Change to thread-local
16726 __sim_disabled_exceptions_thread and global
16727 __sim_disabled_exceptions_global.
16728 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
16729 and global __sim_round_mode_global.
16730 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
16731 (SIM_SET_GLOBAL): Likewise.
16732 * sysdeps/powerpc/soft-fp/sfp-machine.h
16733 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
16734 __sim_round_mode_thread.
16735 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
16736 __sim_disabled_exceptions_thread.
16737 (__sim_exceptions): Change to __sim_exceptions_thread.
16738 (__sim_disabled_exceptions): Change to
16739 __sim_disabled_exceptions_thread.
16740 (__sim_round_mode): Change to __sim_round_mode_thread.
16741 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
16742 thread-local floating-point state and set global state from it as
16743 needed.
16744 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
16745 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
16746 (__sim_disabled_exceptions): Remove extern declaration.
16747 (feenableexcept): Use thread-local floating-point state and set
16748 global state from it as needed.
16749 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
16750 extern declaration.
16751 (__sim_disabled_exceptions): Likewise.
16752 (__sim_round_mode): Likewise.
16753 (__fegetenv): Use thread-local floating-point state.
16754 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
16755 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
16756 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
16757 floating-point state and set global state from it as needed.
16758 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
16759 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
16760 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
16761 Likewise.
16762 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
16763 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
16764 Likewise.
16765 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
16766 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
16767 Use __sim_round_mode_thread.
16768 * math/test-fenv-tls.c: New file.
16769 * math/Makefile (tests): Add test-fenv-tls.
16770 ($(objpfx)test-fenv-tls): Depend on
16771 $(common-objpfx)nptl/libpthread.so.
16772
b5449b12
AS
167732013-11-19 Andreas Schwab <schwab@suse.de>
16774
16775 * locale/programs/locale.c (show_info): Decode wordarray elements.
16776 * locale/categories.def (LC_MONETARY): Add element for
16777 _NL_MONETARY_CRNCYSTR.
16778 * locale/C-monetary.c (conversion_rate): New variable.
16779 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
16780 element.
16781
e186536b
CM
167822013-11-18 Chris Metcalf <cmetcalf@tilera.com>
16783
16784 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
16785 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
16786
5c349950
PP
167872013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
16788
16789 * elf/Makefile (tst-auxv): New test.
16790 * elf/tst-auxv.c: New
16791 * elf/rtld.c (dl_main): Adjust AT_EXECFN
16792
699df45b
JM
167932013-11-18 Joseph Myers <joseph@codesourcery.com>
16794
16795 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
16796 (hidden_proto): Caller changed.
16797 (hidden_tls_proto): New macro.
16798 (libc_hidden_tls_proto): Likewise.
16799 (rtld_hidden_tls_proto): Likewise.
16800 (libm_hidden_tls_proto): Likewise.
16801 (libresolv_hidden_tls_proto): Likewise.
16802 (librt_hidden_tls_proto): Likewise.
16803 (libdl_hidden_tls_proto): Likewise.
16804 (libnss_files_hidden_tls_proto): Likewise.
16805 (libnsl_hidden_tls_proto): Likewise.
16806 (libnss_nisplus_hidden_tls_proto): Likewise.
16807 (libutil_hidden_tls_proto): Likewise.
16808
b7589107
OB
168092013-11-18 Ondřej Bílka <neleai@seznam.cz>
16810
16811 [BZ #10253]
16812 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
16813 (decompose_rpath): Defer expansion to fillin_rpath.
16814 (_dl_init_paths): Pass linkmap to fillin_rpath.
16815
250c23bd
RS
168162013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
16817
16818 * benchtests/Makefile: Add strsep.
16819 * benchtests/bench-strsep.c: New file: strsep benchtest.
16820 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
16821
a7931fcf
AS
168222013-11-18 Andreas Schwab <schwab@suse.de>
16823
16824 * locale/programs/locale.c (show_info) [case byte]: Check for
16825 '\377' instead of '\177'.
16826 * locale/C-monetary.c (not_available): Always use "\377".
16827 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
16828 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
16829 detect unavailable sign_posn locale elements.
16830 * locale/localeconv.c (__localeconv): For grouping and
16831 mon_grouping handle "\177" and "\377" like no grouping.
16832 (INT_ELEM): New macro. Use it to set all numeric members.
16833 * locale/programs/ld-monetary.c (monetary_read)
16834 <tok_mon_grouping>: Normalize single -1 to the empty string.
16835 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
16836 Likewise.
16837
728dab0e
OB
168382013-11-07 Ondřej Bílka <neleai@seznam.cz>
16839
16840 [BZ #16055]
16841 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
16842 when we match (nil).
16843 * stdio-common/tst-sscanf.c (struct test): Add testcase.
16844
66294491
JM
168452013-11-16 Joseph Myers <joseph@codesourcery.com>
16846
ce665817
JM
16847 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
16848 (NO_TEST_INLINE): Update value.
16849 (ERRNO_UNCHANGED): Likewise.
16850 (ERRNO_EDOM): Likewise.
16851 (ERRNO_ERANGE): Likewise.
16852 (IGNORE_RESULT): Likewise.
16853 (check_float_internal): Check signs of NaN results if
16854 TEST_NAN_SIGN used.
16855 (check_complex): Pass TEST_NAN_SIGN flag through to second
16856 check_float_internal call.
16857 (copysign_test_data): Add tests with quiet NaNs as second
16858 argument. Use TEST_NAN_SIGN.
16859 (fabs_test_data): Add test of negative quiet NaN argument. Use
16860 TEST_NAN_SIGN.
16861 (signbit_test_data): Add tests of quiet NaN argument.
16862 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
16863
ee1466a9
JM
16864 * math/gen-libm-test.pl (show_exceptions): Take extra argument
16865 $ignore_result.
16866 (parse_args): Handle function results specified as IGNORE.
16867 * math/libm-test.inc (IGNORE_RESULT): New macro.
16868 (check_float_internal): Do not check numerical result if flag
16869 IGNORE_RESULT set.
16870 (check_complex): Pass through IGNORE_RESULT to second
16871 check_float_internal call.
16872 (check_int): Do not check numerical result if flag IGNORE_RESULT
16873 set.
16874 (check_long): Likewise.
16875 (check_bool): Likewise.
16876 (check_longlong): Likewise.
16877 (lrint_test_data): Add tests of infinite and NaN arguments.
16878 (lrint_tonearest_test_data): Likewise.
16879 (lrint_towardzero_test_data): Likewise.
16880 (lrint_downward_test_data): Likewise.
16881 (lrint_upward_test_data): Likewise.
16882 (llrint_test_data): Likewise.
16883 (llrint_tonearest_test_data): Likewise.
16884 (llrint_towardzero_test_data): Likewise.
16885 (llrint_downward_test_data): Likewise.
16886 (llrint_upward_test_data): Likewise.
16887 (lround_test_data): Likewise.
16888 (llround_test_data): Likewise.
16889
14407b7e
JM
16890 * math/libm-test.inc (NO_TEST_INLINE): New macro.
16891 (ERRNO_UNCHANGED): Update value.
16892 (ERRNO_EDOM): Likewise.
16893 (ERRNO_ERANGE): Likewise.
16894 (NO_TEST_INLINE_FLOAT): New macro.
16895 (NO_TEST_INLINE_DOUBLE): Likewise.
16896 (enable_test): New function.
16897 (RUN_TEST_f_f): Check enable_test before running test.
16898 (RUN_TEST_2_f): Likewise.
16899 (RUN_TEST_fff_f): Likewise.
16900 (RUN_TEST_c_f): Likewise.
16901 (RUN_TEST_f_f1): Likewise.
16902 (RUN_TEST_fF_f1): Likewise.
16903 (RUN_TEST_fI_f1): Likewise.
16904 (RUN_TEST_ffI_f1): Likewise.
16905 (RUN_TEST_c_c): Likewise.
16906 (RUN_TEST_cc_c): Likewise.
16907 (RUN_TEST_f_i): Likewise.
16908 (RUN_TEST_f_i_tg): Likewise.
16909 (RUN_TEST_ff_i_tg): Likewise.
16910 (RUN_TEST_f_b): Likewise.
16911 (RUN_TEST_f_b_tg): Likewise.
16912 (RUN_TEST_f_l): Likewise.
16913 (RUN_TEST_f_L): Likewise.
16914 (RUN_TEST_fFF_11): Likewise.
16915 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
16916 conditionals.
16917 (cosh_test_data): Likewise.
16918 (exp_test_data): Likewise.
16919 (expm1_test_data): Likewise.
16920 (hypot_test_data): Likewise.
16921 (pow_test_data): Likewise.
16922 (sinh_test_data): Likewise.
16923 (tanh_test_data): Likewise.
16924 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
16925 flags argument.
16926
ca07f197
JM
16927 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
16928 tests with quiet NaN input and output.
16929 (acosh_test_data): Likewise.
16930 (asin_test_data): Likewise.
16931 (asinh_test_data): Likewise.
16932 (atan_test_data): Likewise.
16933 (atanh_test_data): Likewise.
16934 (atan2_test_data): Likewise.
16935 (cbrt_test_data): Likewise.
16936 (cos_test_data): Likewise.
16937 (cosh_test_data): Likewise.
16938 (erf_test_data): Likewise.
16939 (erfc_test_data): Likewise.
16940 (exp_test_data): Likewise.
16941 (exp10_test_data): Likewise.
16942 (exp2_test_data): Likewise.
16943 (expm1_test_data): Likewise.
16944 (hypot_test_data): Likewise.
16945 (j0_test_data): Likewise.
16946 (j1_test_data): Likewise.
16947 (jn_test_data): Likewise.
16948 (lgamma_test_data): Likewise.
16949 (log_test_data): Likewise.
16950 (log10_test_data): Likewise.
16951 (log1p_test_data): Likewise.
16952 (log2_test_data): Likewise.
16953 (pow_test_data): Likewise.
16954 (scalb_test_data): Likewise.
16955 (sin_test_data): Likewise.
16956 (sincos_test_data): Likewise.
16957 (sinh_test_data): Likewise.
16958 (tan_test_data): Likewise.
16959 (tanh_test_data): Likewise.
16960 (tgamma_test_data): Likewise.
16961 (y0_test_data): Likewise.
16962 (y1_test_data): Likewise.
16963 (yn_test_data): Likewise.
16964
66294491
JM
16965 [BZ #16167]
16966 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
16967 argument being NaN and avoid computations with second argument in
16968 that case.
16969 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
16970 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
16971 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
16972
1820b143
CL
169732013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
16974
16975 * locale/iso-639.def: Add Chitwani Tharu (the).
16976
714bd261
AS
169772013-11-14 Andreas Schwab <schwab@suse.de>
16978
16979 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
16980 word instead of empty string.
16981
7ab44563
AZ
169822013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16983
16984 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
16985 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
16986 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
16987 (__fe_nomask_env): Likewise.
16988
e8470ea2
SE
169892013-11-13 Steve Ellcey <sellcey@mips.com>
16990
16991 * benchtests/bench-timing.h: Include time.h.
16992
17c1d9f0
L
169932013-11-13 H.J. Lu <hongjiu.lu@intel.com>
16994
16995 [BZ #15997]
16996 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
16997 to 3.4.0 for x32.
16998 * sysdeps/unix/sysv/linux/configure: Regenerated.
16999
9310c284
JM
170002013-11-13 Joseph Myers <joseph@codesourcery.com>
17001
17002 [BZ #16151]
17003 * stdlib/strtod_l.c (round_and_return): Do not consider
17004 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
17005 exponent one less than half the least subnormal exponent.
17006 * stdlib/test-strtod-round-data: Add more tests.
17007 * stdlib/tst-strtod-round.c (tests): Regenerated.
17008
7a2ad8cf
AZ
170092013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17010
17011 [BZ #14143]
17012 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
17013 (__fe_mask_env): Likewise.
17014 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
17015 libm_hidden_proto and add function prototype.
17016 (__fe_mask_env): Add function prototype.
17017 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
17018 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
17019 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
17020 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
17021 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
17022 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
17023
50727aa7
MS
170242013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
17025
b2f386c1 17026 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
50727aa7
MS
17027 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
17028
a615be46
MS
170292013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
17030
17031 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
17032 of htab_find_slot().
17033
7ddace62
DM
170342013-11-11 David S. Miller <davem@davemloft.net>
17035
17036 [BZ #16150]
17037 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
17038 symbol in the non-vis3 case in static builds.
17039 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
17040 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
17041 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
17042 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
17043
9182aa67
JK
170442013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
17045
17046 [BZ #387]
17047 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
17048 it is empty.
17049
450a2e2d
AZ
170502013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17051
b2f386c1
SP
17052 * benchtests/Makefile: Add bench-strtod.
17053 * benchtests/bench-strtod.c: New file: strtod benchtest
450a2e2d 17054
8ec3f656
AS
170552013-11-11 Andreas Schwab <schwab@suse.de>
17056
17057 [BZ #16153]
17058 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
17059 terminating NUL in key length.
17060
76a9b998
AZ
170612013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17062
17063 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
17064 Add artificial ODP entry for vDSO symbol for PPC64.
17065 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
17066 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
17067
e4368156
OB
170682013-11-07 Ondřej Bílka <neleai@seznam.cz>
17069
17070 [BZ #15374]
17071 * nss/getent.c (services_keys): Recognize services starting with digit.
17072
8d6bb57c
DM
170732013-11-06 David S. Miller <davem@davemloft.net>
17074
17075 [BZ #15985]
17076 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
17077 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
17078
e256c421
WN
170792013-11-06 Will Newton <will.newton@linaro.org>
17080
17081 * manual/memory.texi (Malloc Examples): Remove register
17082 keyword from examples.
17083
f6e12daa 170842013-11-04 Chris Leonard <cjl@sugarlabs.org>
1484e657 17085
f6e12daa 17086 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
1484e657 17087
9d880655
AS
170882013-11-04 Joseph Myers <joseph@codesourcery.com>
17089
fd2f9486 17090 [BZ #6981]
9d880655
AS
17091 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
17092 depending on [__GCC_IEC_559 > 0].
17093 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
17094 depending on [__GCC_IEC_559_COMPLEX > 0].
17095
ae129d3c
CL
170962013-11-03 Chris Leonard <cjl@sugarlabs.org>
17097
17098 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
17099 to iso-639.def.
17100
4a15c2a4 171012013-11-03 Ondřej Bílka <neleai@seznam.cz>
17c8c3dc
OB
17102
17103 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
17104
8b35e35d
OB
171052013-11-01 Ondřej Bílka <neleai@seznam.cz>
17106
17107 [BZ #16112]
17108 * malloc/malloc (malloc_info): Do not handle first bin as
17109 special case.
17110
1d70fd6c
CL
171112013-11-01 Chris Leonard <cjl@sugarlabs.org>
17112
17113 * locale/iso-639.def: Add Central Nahuatl (nhn).
17114
8c5c2600
BH
171152013-11-01 Bruno Haible <bruno@clisp.org>
17116
17117 [BZ #7003]
17118 * manual/math.texi (BSD Random): Specify range upper bound as
17119 in POSIX.
17120
da5579c2
CL
171212013-10-31 Chris Leonard <cjl@sugarlabs.org>
17122
17123 * locale/iso-639.def: Add Meadow Mari (mhr).
17124
5d30d853
OB
171252013-10-31 Ondřej Bílka <neleai@seznam.cz>
17126
17127 [BZ #14752], [BZ #15763]
17128 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
17129 Validate name.
17130 * rt/tst_shm.c: Add test for escaping directory.
17131
a4966c61
AS
171322013-10-31 Andreas Schwab <schwab@suse.de>
17133
8a43e768 17134 [BZ #15917]
a4966c61
AS
17135 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
17136 followed by 'x' as part of digit sequence.
17137 * stdio-common/tst-sscanf.c (double_tests2): New tests.
17138
28d708c4
MAP
171392013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
17140
17141 [BZ #16037]
17142 * configure.ac: allow GNU Make 4.0 and greater.
17143 * configure: Regenerated.
17144
a56ee40b
WN
171452013-10-30 Will Newton <will.newton@linaro.org>
17146
17147 [BZ #16038]
17148 * malloc/hooks.c (memalign_check): Limit alignment to the
17149 maximum representable power of two.
17150 * malloc/malloc.c (__libc_memalign): Likewise.
17151 * malloc/tst-memalign.c (do_test): Add test for very
17152 large alignment values.
17153 * malloc/tst-posix_memalign.c (do_test): Likewise.
17154
c6e4925d
OB
171552013-10-30 Ondřej Bílka <neleai@seznam.cz>
17156
17157 [BZ #11087]
17158 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
17159 (munmap_chunk): Likewise.
17160 (mremap_chunk): Likewise.
17161
171622013-10-30 Ondřej Bílka <neleai@seznam.cz>
bbea82f7 17163
8a43e768 17164 [BZ #15799]
bbea82f7
OB
17165 * stdlib/div.c (div): Remove obsolete code.
17166 * stdlib/ldiv.c (ldiv): Likewise.
17167 * stdlib/lldiv.c (lldiv): Likewise.
17168
977f4b31
SP
171692013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
17170
17171 [BZ #16071]
17172 * nss/nss_files/files-XXX.c (get_contents_ret): New
17173 enumerator.
17174 (get_contents): New function.
17175 (internal_getent): Use it. Expand size of LINEBUFLEN.
17176
cb8a6dbd
MF
171772013-10-30 Mike Frysinger <vapier@gentoo.org>
17178
17179 * configure.in: Moved to ...
17180 * configure.ac: ... here. Change reference to configure.in
17181 to configure.ac.
17182 * sysdeps/arm/preconfigure.ac: ... here.
17183 configure.in to configure.ac.
17184 * sysdeps/gnu/configure.in: Moved to ...
17185 * sysdeps/gnu/configure.ac: ... here.
17186 * sysdeps/i386/configure.in: Moved to ...
17187 * sysdeps/i386/configure.ac: ... here.
17188 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
17189 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
17190 * sysdeps/mach/configure.in: Moved to ...
17191 * sysdeps/mach/configure.ac: ... here.
17192 * sysdeps/mach/hurd/configure.in: Moved to ...
17193 * sysdeps/mach/hurd/configure.ac: ... here.
17194 * sysdeps/powerpc/configure.in: Moved to ...
17195 * sysdeps/powerpc/configure.ac: ... here.
17196 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
17197 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
17198 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
17199 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
17200 * sysdeps/s390/s390-32/configure.in: Moved to ...
17201 * sysdeps/s390/s390-32/configure.ac: ... here.
17202 * sysdeps/s390/s390-64/configure.in: Moved to ...
17203 * sysdeps/s390/s390-64/configure.ac: ... here.
17204 * sysdeps/sh/configure.in: Moved to ...
17205 * sysdeps/sh/configure.ac: ... here.
17206 * sysdeps/sparc/configure.in: Moved to ...
17207 * sysdeps/sparc/configure.ac: ... here.
17208 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
17209 * sysdeps/unix/sysv/linux/configure.ac: ... here.
17210 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
17211 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
17212 * sysdeps/x86_64/configure.in: Moved to ...
17213 * sysdeps/x86_64/configure.ac: ... here.
17214 * sysdeps/x86_64/preconfigure.in: Moved to ...
17215 * sysdeps/x86_64/preconfigure.ac: ... here.
17216 * aclocal.m4: Change reference to configure.in to configure.ac.
17217 * config.h.in: Likewise.
17218 * manual/install.texi: Likewise.
17219 * manual/maint.texi: Likewise.
17220 * Makefile: Likewise.
17221 * malloc/Makefile: Likewise.
17222 * nscd/Makefile: Likewise.
17223 * Makeconfig: Change reference to configure.in and
17224 preconfigure.in to configure.ac and preconfigure.ac
17225 respectively.
17226 * INSTALL: Regenerated.
17227 * configure: Likewise.
17228 * sysdeps/gnu/configure: Likewise.
17229 * sysdeps/i386/configure: Likewise.
17230 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
17231 * sysdeps/mach/configure: Likewise.
17232 * sysdeps/mach/hurd/configure: Likewise.
17233 * sysdeps/powerpc/configure: Likewise.
17234 * sysdeps/powerpc/powerpc32/configure: Likewise.
17235 * sysdeps/powerpc/powerpc64/configure: Likewise.
17236 * sysdeps/s390/s390-32/configure: Likewise.
17237 * sysdeps/s390/s390-64/configure: Likewise.
17238 * sysdeps/sh/configure: Likewise.
17239 * sysdeps/sparc/configure: Likewise.
17240 * sysdeps/unix/sysv/linux/configure: Likewise.
17241 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
17242 * sysdeps/x86_64/configure: Likewise.
17243 * sysdeps/x86_64/preconfigure: Likewise.
17244
36a4953a
AS
172452013-10-29 Andreas Schwab <schwab@suse.de>
17246
17247 * stdio-common/Makefile (tst-swscanf-ENV): Define.
17248
c79a1204
SP
172492013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
17250
dfa1b402
SP
17251 * benchtests/pow-inputs: Add new inputs.
17252
54f73d9c
SP
17253 * benchtests/exp-inputs: Add new inputs.
17254
c79a1204
SP
17255 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
17256 conditional check for return value.
17257 (__cos32): Likewise.
17258
67beb545 172592013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
69f13dbf
AZ
17260
17261 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
17262 to provide a boost for large inputs with word alignment.
17263 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
17264 implementation based on optimized PPC64 strcpy.
17265 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
17266 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
17267 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
17268 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
17269
151659f6
OB
172702013-10-25 Ondřej Bílka <neleai@seznam.cz>
17271
482a077e 17272 [BZ #2801]
151659f6
OB
17273 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
17274
10b0f26b
OB
172752013-10-25 Ondřej Bílka <neleai@seznam.cz>
17276
17277 [BZ #14876]
17278 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
17279 * time/tst-strptime.c (day_tests): Add testcase.
17280
ca42d35e
OB
172812013-10-25 Ondřej Bílka <neleai@seznam.cz>
17282
482a077e 17283 [BZ #14029]
ca42d35e
OB
17284 * manual/pattern.texi: Acknowledge that fnmatch can fail.
17285
52e6d801
FB
172862013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
17287
17288 [BZ #16074]
17289 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
17290 MAP_FAILED on error.
17291
7cbcdb36
SP
172922013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
17293
17294 [BZ #16072]
17295 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
17296 heap for large requests.
17297
894f3f10
AM
172982013-10-25 Aurelien Jarno <aurelien@aurel32.net>
17299
17300 [BZ #9954]
17301 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
17302 result if the result has no associated interface.
17303 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
17304 interface for all 127.X.Y.Z addresses.
17305
b85545a6
CL
173062013-10-24 Chris Leonard <cjl@sugarlabs.org>
17307
17308 * locale/iso-639.def: Add Ligurian (lij)
17309
d1f23d46
OB
173102013-10-21 Ondřej Bílka <neleai@seznam.cz>
17311
17312 [BZ #15825]
17313 * sunrpc/rpc_main.c: Document rpcgen -5.
17314
4db5b08f
MS
173152013-10-19 Michael Stahl <mstahl@redhat.com>
17316
17317 * elf/rtld.c (do_preload): Print the reason why preloading failed.
17318
a471e96a
OB
173192013-10-19 Ondřej Bílka <neleai@seznam.cz>
17320
d1f23d46 17321 [BZ #10278]
a471e96a
OB
17322 * posix/glob.c: Match only directories when trailing slash is present.
17323 * posix/tst-gnuglob.c (my_opendir): Do not open files.
17324 (main): Add testcase.
17325
45c30c61
OB
173262013-10-19 Ondřej Bílka <neleai@seznam.cz>
17327
17328 [BZ #15670]
17329 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
17330
484c12fb
CD
173312013-10-18 Carlos O'Donell <carlos@redhat.com>
17332
3d7dc513
CD
17333 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
17334 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
17335 AUTH_DES and cindex for FIPS 140-2.
17336 (DES Encryption): Add cindex FIPS 46-3.
17337
484c12fb
CD
17338 * locale/locarchive.h (struct locarhandle): Add fname.
17339 * locale/programs/localedef.c (main): Pass ARGV[remaining]
17340 if an optional argument was specified to --list-archive,
17341 otherwise NULL.
17342 * locale/programs/locarchive.c (show_archive_content): Take new
17343 argument fname and pass it via ah.fname to open_archive.
17344 * locale/programs/localedef.h: Update decl.
17345 (open_archive): If AH->fname is non-null, open that file
17346 rather than the default file name, and don't ignore ENOENT.
17347 (create_archive): Set AH.fname to NULL.
17348 (delete_locales_from_archive): Likewise.
17349 (add_locales_to_archive): Likewise.
17350 * locale/programs/locfile.c (write_all_categories): Likewise.
17351
3c8325fb
JM
173522013-10-18 Joseph Myers <joseph@codesourcery.com>
17353 Aldy Hernandez <aldyh@redhat.com>
17354
17355 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
17356 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
17357 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
17358 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
17359 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
17360 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
17361 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
17362 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
17363 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
17364 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
17365 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
17366 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
17367 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
17368 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
17369 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
17370 Likewise.
17371 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
17372 Likewise.
17373 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
17374 Likewise.
17375 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
17376 Likewise.
17377 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
17378 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
17379 Likewise.
17380 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
17381 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
17382 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
17383 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
17384 Likewise.
17385 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
17386 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
17387 * sysdeps/powerpc/preconfigure: Likewise.
17388 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
17389 Likewise.
17390 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
17391 Replace contents of file by #include of <fenv_libc.h>.
17392 * sysdeps/powerpc/soft-fp/sfp-machine.h
17393 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
17394 and <sys/prctl.h>.
17395 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
17396 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
17397 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
17398 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
17399 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
17400 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
17401 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
17402 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
17403 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
17404 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
17405 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
17406 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
17407 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
17408 Allow copysignl PLT reference to be missing.
17409
5abe0682
RS
174102013-10-18 Richard Sandiford <richard@codesourcery.com>
17411 Joseph Myers <joseph@codesourcery.com
17412
17413 [BZ #15948]
17414 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
17415 single character.
17416 (add_to_tablewc): Assert sequence of wide characters is nonempty.
17417
c7738d08
SP
174182013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
17419
17420 * elf/tst-tls-dlinfo.c: Don't include tls.h.
17421 * elf/tst-tls1.c: Likewise.
17422 * elf/tst-tls10.h: Likewise.
17423 * elf/tst-tls14.c: Likewise.
17424 * elf/tst-tls2.c: Likewise.
17425 * elf/tst-tls3.c: Likewise.
17426 * elf/tst-tls4.c: Likewise.
17427 * elf/tst-tls5.c: Likewise.
17428 * elf/tst-tls6.c: Likewise.
17429 * elf/tst-tls7.c: Likewise.
17430 * elf/tst-tls8.c: Likewise.
17431 * elf/tst-tls9.c: Likewise.
17432 * elf/tst-tlsmod1.c: Likewise.
17433 * elf/tst-tlsmod13.c: Likewise.
17434 * elf/tst-tlsmod13a.c: Likewise.
17435 * elf/tst-tlsmod14a.c: Likewise.
17436 * elf/tst-tlsmod16a.c: Likewise.
17437 * elf/tst-tlsmod16b.c: Likewise.
17438 * elf/tst-tlsmod2.c: Likewise.
17439 * elf/tst-tlsmod3.c: Likewise.
17440 * elf/tst-tlsmod4.c: Likewise.
17441 * elf/tst-tlsmod5.c: Likewise.
17442 * elf/tst-tlsmod6.c: Likewise.
17443
0bfcf2c7
OB
174442013-10-18 Ondřej Bílka <neleai@seznam.cz>
17445
17446 [BZ #12486]
17447 * malloc/malloc.c: remove checks for statistics.
17448
264aad1e
OB
174492013-10-17 Ondřej Bílka <neleai@seznam.cz>
17450
17451 [BZ #15277]
17452 * inet/inet_net.c (inet_network): Detect additional invalid strings.
17453 * inet/tst-network.c: Add testcase.
17454
b957ced8
AS
174552013-10-17 Andreas Schwab <schwab@suse.de>
17456
17457 [BZ #15218]
17458 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
17459 to determine canonical name.
17460
c5d5d574
OB
174612013-10-17 Ondřej Bílka <neleai@seznam.cz>
17462
17463 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
17464 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
17465 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
17466 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
17467 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
17468 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
17469 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
17470 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
17471 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
17472 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
17473 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
17474 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
17475 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
17476 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
17477 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
17478 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
17479 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
17480 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
17481 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
17482 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
17483 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
17484 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
17485 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
17486 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
17487 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
17488 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
17489 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
17490 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
17491 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
17492 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
17493 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
17494 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
17495 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
17496 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
17497 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
17498 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
17499 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
17500 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
17501 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
17502 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
17503 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
17504 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
17505 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
17506 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
17507 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
17508 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
17509 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
17510 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
17511 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
17512 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
17513 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
17514 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
17515 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
17516 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
17517 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
17518 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
17519 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
17520 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
17521
e5c2c2d0
JM
175222013-10-17 Joseph Myers <joseph@codesourcery.com>
17523
17524 [BZ #16041]
17525 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
17526 make result into a quiet NaN.
17527
51ca9e29
JM
175282013-10-16 Joseph Myers <joseph@codesourcery.com>
17529
17530 * soft-fp/adddf3.c: Fix horizontal whitespace.
17531 * soft-fp/addsf3.c: Likewise.
17532 * soft-fp/addtf3.c: Likewise.
17533 * soft-fp/divdf3.c: Likewise.
17534 * soft-fp/divsf3.c: Likewise.
17535 * soft-fp/divtf3.c: Likewise.
17536 * soft-fp/double.h: Likewise.
17537 * soft-fp/eqdf2.c: Likewise.
17538 * soft-fp/eqsf2.c: Likewise.
17539 * soft-fp/eqtf2.c: Likewise.
17540 * soft-fp/extenddftf2.c: Likewise.
17541 * soft-fp/extended.h: Likewise.
17542 * soft-fp/extendsfdf2.c: Likewise.
17543 * soft-fp/extendsftf2.c: Likewise.
17544 * soft-fp/extendxftf2.c: Likewise.
17545 * soft-fp/fixdfdi.c: Likewise.
17546 * soft-fp/fixdfsi.c: Likewise.
17547 * soft-fp/fixdfti.c: Likewise.
17548 * soft-fp/fixsfdi.c: Likewise.
17549 * soft-fp/fixsfsi.c: Likewise.
17550 * soft-fp/fixsfti.c: Likewise.
17551 * soft-fp/fixtfdi.c: Likewise.
17552 * soft-fp/fixtfsi.c: Likewise.
17553 * soft-fp/fixtfti.c: Likewise.
17554 * soft-fp/fixunsdfdi.c: Likewise.
17555 * soft-fp/fixunsdfsi.c: Likewise.
17556 * soft-fp/fixunsdfti.c: Likewise.
17557 * soft-fp/fixunssfdi.c: Likewise.
17558 * soft-fp/fixunssfsi.c: Likewise.
17559 * soft-fp/fixunssfti.c: Likewise.
17560 * soft-fp/fixunstfdi.c: Likewise.
17561 * soft-fp/fixunstfsi.c: Likewise.
17562 * soft-fp/fixunstfti.c: Likewise.
17563 * soft-fp/floatdidf.c: Likewise.
17564 * soft-fp/floatdisf.c: Likewise.
17565 * soft-fp/floatditf.c: Likewise.
17566 * soft-fp/floatsidf.c: Likewise.
17567 * soft-fp/floatsisf.c: Likewise.
17568 * soft-fp/floatsitf.c: Likewise.
17569 * soft-fp/floattidf.c: Likewise.
17570 * soft-fp/floattisf.c: Likewise.
17571 * soft-fp/floattitf.c: Likewise.
17572 * soft-fp/floatundidf.c: Likewise.
17573 * soft-fp/floatundisf.c: Likewise.
17574 * soft-fp/floatunditf.c: Likewise.
17575 * soft-fp/floatunsidf.c: Likewise.
17576 * soft-fp/floatunsisf.c: Likewise.
17577 * soft-fp/floatunsitf.c: Likewise.
17578 * soft-fp/floatuntidf.c: Likewise.
17579 * soft-fp/floatuntisf.c: Likewise.
17580 * soft-fp/floatuntitf.c: Likewise.
17581 * soft-fp/fmadf4.c: Likewise.
17582 * soft-fp/fmasf4.c: Likewise.
17583 * soft-fp/fmatf4.c: Likewise.
17584 * soft-fp/gedf2.c: Likewise.
17585 * soft-fp/gesf2.c: Likewise.
17586 * soft-fp/getf2.c: Likewise.
17587 * soft-fp/ledf2.c: Likewise.
17588 * soft-fp/lesf2.c: Likewise.
17589 * soft-fp/letf2.c: Likewise.
17590 * soft-fp/muldf3.c: Likewise.
17591 * soft-fp/mulsf3.c: Likewise.
17592 * soft-fp/multf3.c: Likewise.
17593 * soft-fp/negdf2.c: Likewise.
17594 * soft-fp/negsf2.c: Likewise.
17595 * soft-fp/negtf2.c: Likewise.
17596 * soft-fp/op-1.h: Likewise.
17597 * soft-fp/op-2.h: Likewise.
17598 * soft-fp/op-4.h: Likewise.
17599 * soft-fp/op-8.h: Likewise.
17600 * soft-fp/op-common.h: Likewise.
17601 * soft-fp/quad.h: Likewise.
17602 * soft-fp/single.h: Likewise.
17603 * soft-fp/soft-fp.h: Likewise.
17604 * soft-fp/sqrtdf2.c: Likewise.
17605 * soft-fp/sqrtsf2.c: Likewise.
17606 * soft-fp/sqrttf2.c: Likewise.
17607 * soft-fp/subdf3.c: Likewise.
17608 * soft-fp/subsf3.c: Likewise.
17609 * soft-fp/subtf3.c: Likewise.
17610 * soft-fp/truncdfsf2.c: Likewise.
17611 * soft-fp/trunctfdf2.c: Likewise.
17612 * soft-fp/trunctfsf2.c: Likewise.
17613 * soft-fp/trunctfxf2.c: Likewise.
17614 * soft-fp/unorddf2.c: Likewise.
17615 * soft-fp/unordsf2.c: Likewise.
17616 * soft-fp/unordtf2.c: Likewise.
17617
9ebb0332
JM
176182013-10-15 Joseph Myers <joseph@codesourcery.com>
17619
17620 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
17621 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
17622
4b1a6d8b
OB
176232013-10-15 Ondřej Bílka <neleai@seznam.cz>
17624
17625 * elf/dl-libc.c: Clear initfini list after freeing.
17626
1e145589
JM
176272013-10-14 Joseph Myers <joseph@codesourcery.com>
17628
17629 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
17630 * soft-fp/addsf3.c: Likewise.
17631 * soft-fp/addtf3.c: Likewise.
17632 * soft-fp/divdf3.c: Likewise.
17633 * soft-fp/divsf3.c: Likewise.
17634 * soft-fp/divtf3.c: Likewise.
17635 * soft-fp/double.h: Likewise.
17636 * soft-fp/eqdf2.c: Likewise.
17637 * soft-fp/eqsf2.c: Likewise.
17638 * soft-fp/eqtf2.c: Likewise.
17639 * soft-fp/extenddftf2.c: Likewise.
17640 * soft-fp/extended.h: Likewise.
17641 * soft-fp/extendsfdf2.c: Likewise.
17642 * soft-fp/extendsftf2.c: Likewise.
17643 * soft-fp/extendxftf2.c: Likewise.
17644 * soft-fp/fixdfdi.c: Likewise.
17645 * soft-fp/fixdfsi.c: Likewise.
17646 * soft-fp/fixdfti.c: Likewise.
17647 * soft-fp/fixsfdi.c: Likewise.
17648 * soft-fp/fixsfsi.c: Likewise.
17649 * soft-fp/fixsfti.c: Likewise.
17650 * soft-fp/fixtfdi.c: Likewise.
17651 * soft-fp/fixtfsi.c: Likewise.
17652 * soft-fp/fixtfti.c: Likewise.
17653 * soft-fp/fixunsdfdi.c: Likewise.
17654 * soft-fp/fixunsdfsi.c: Likewise.
17655 * soft-fp/fixunsdfti.c: Likewise.
17656 * soft-fp/fixunssfdi.c: Likewise.
17657 * soft-fp/fixunssfsi.c: Likewise.
17658 * soft-fp/fixunssfti.c: Likewise.
17659 * soft-fp/fixunstfdi.c: Likewise.
17660 * soft-fp/fixunstfsi.c: Likewise.
17661 * soft-fp/fixunstfti.c: Likewise.
17662 * soft-fp/floatdidf.c: Likewise.
17663 * soft-fp/floatdisf.c: Likewise.
17664 * soft-fp/floatditf.c: Likewise.
17665 * soft-fp/floatsidf.c: Likewise.
17666 * soft-fp/floatsisf.c: Likewise.
17667 * soft-fp/floatsitf.c: Likewise.
17668 * soft-fp/floattidf.c: Likewise.
17669 * soft-fp/floattisf.c: Likewise.
17670 * soft-fp/floattitf.c: Likewise.
17671 * soft-fp/floatundidf.c: Likewise.
17672 * soft-fp/floatundisf.c: Likewise.
17673 * soft-fp/floatunsidf.c: Likewise.
17674 * soft-fp/floatunsisf.c: Likewise.
17675 * soft-fp/floatuntidf.c: Likewise.
17676 * soft-fp/floatuntisf.c: Likewise.
17677 * soft-fp/floatuntitf.c: Likewise.
17678 * soft-fp/fmadf4.c: Likewise.
17679 * soft-fp/fmasf4.c: Likewise.
17680 * soft-fp/fmatf4.c: Likewise.
17681 * soft-fp/gedf2.c: Likewise.
17682 * soft-fp/gesf2.c: Likewise.
17683 * soft-fp/getf2.c: Likewise.
17684 * soft-fp/ledf2.c: Likewise.
17685 * soft-fp/lesf2.c: Likewise.
17686 * soft-fp/letf2.c: Likewise.
17687 * soft-fp/muldf3.c: Likewise.
17688 * soft-fp/mulsf3.c: Likewise.
17689 * soft-fp/multf3.c: Likewise.
17690 * soft-fp/negdf2.c: Likewise.
17691 * soft-fp/negsf2.c: Likewise.
17692 * soft-fp/negtf2.c: Likewise.
17693 * soft-fp/op-1.h: Likewise.
17694 * soft-fp/op-2.h: Likewise.
17695 * soft-fp/op-4.h: Likewise.
17696 * soft-fp/op-8.h: Likewise.
17697 * soft-fp/op-common.h: Likewise.
17698 * soft-fp/quad.h: Likewise.
17699 * soft-fp/single.h: Likewise.
17700 * soft-fp/soft-fp.h: Likewise.
17701 * soft-fp/sqrtdf2.c: Likewise.
17702 * soft-fp/sqrtsf2.c: Likewise.
17703 * soft-fp/sqrttf2.c: Likewise.
17704 * soft-fp/subdf3.c: Likewise.
17705 * soft-fp/subsf3.c: Likewise.
17706 * soft-fp/subtf3.c: Likewise.
17707 * soft-fp/truncdfsf2.c: Likewise.
17708 * soft-fp/trunctfdf2.c: Likewise.
17709 * soft-fp/trunctfsf2.c: Likewise.
17710 * soft-fp/trunctfxf2.c: Likewise.
17711 * soft-fp/unorddf2.c: Likewise.
17712 * soft-fp/unordsf2.c: Likewise.
17713 * soft-fp/unordtf2.c: Likewise.
17714
17c48a60
OB
177152013-10-14 Ondřej Bílka <neleai@seznam.cz>
17716
17717 [BZ #15672]
17718 * misc/error.c (error_tail): Fix possible buffer overflow.
17719
cabba934
OB
177202013-10-14 Aurelien Jarno <aurelien@aurel32.net>
17721
17722 [BZ #13028]
17723 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
17724 address.
17725
94bf958a
PM
177262013-10-14 P. J. McDermott <pj@pehjota.net>
17727
17728 [BZ #832]
17729 * elf/ldd.bash.in (try_trace): New function. Delete previous code
17730 testing pipefail option.
17731
71b4dea7
JM
177322013-10-12 Joseph Myers <joseph@codesourcery.com>
17733
17734 * soft-fp/double.h: Indent preprocessor directives inside #if.
17735 * soft-fp/extended.h: Likewise.
17736 * soft-fp/op-2.h: Likewise.
17737 * soft-fp/op-4.h: Likewise.
17738 * soft-fp/op-common.h: Likewise.
17739 * soft-fp/quad.h: Likewise.
17740 * soft-fp/single.h: Likewise.
17741 * soft-fp/soft-fp.h: Likewise.
17742
55602758
YC
177432013-10-12 Yuri Chornoivan <yurchor@ukr.net>
17744
17745 * iconv/iconv_prog.c: Fix typos.
17746 * stdio-common/psiginfo-data.h: Likewise.
17747
9cd83302
RT
177482013-10-12 Reuben Thomas <rrt@sc3d.org>
17749
17750 [BZ #15764]
17751 * locale/setlocale.c: Fix typo.
17752
99fd9f47
JM
177532013-10-12 Joseph Myers <joseph@codesourcery.com>
17754
b7ea74f0
JM
17755 [BZ #16036]
17756 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
17757 signaling NaN arguments.
17758 * soft-fp/unordsf2.c (__unordsf2): Likewise.
17759 * soft-fp/unordtf2.c (__unordtf2): Likewise.
17760
8a509447
JM
17761 [BZ #14910]
17762 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
17763 unordered operands.
17764 * soft-fp/gesf2.c (__gesf2): Likewise.
17765 * soft-fp/getf2.c (__getf2): Likewise.
17766 * soft-fp/ledf2.c (__ledf2): Likewise.
17767 * soft-fp/lesf2.c (__lesf2): Likewise.
17768 * soft-fp/letf2.c (__letf2): Likewise.
17769
98998e9f
JM
17770 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
17771 * soft-fp/eqsf2.c (__eqsf2): Likewise.
17772 * soft-fp/eqtf2.c (__eqtf2): Likewise.
17773 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
17774 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
17775 * soft-fp/fixdfti.c (__fixdfti): Likewise.
17776 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
17777 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
17778 * soft-fp/fixsfti.c (__fixsfti): Likewise.
17779 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
17780 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
17781 * soft-fp/fixtfti.c (__fixtfti): Likewise.
17782 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
17783 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
17784 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
17785 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
17786 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
17787 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
17788 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
17789 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
17790 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
17791 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
17792 * soft-fp/floatdisf.c (__floatdisf): Likewise.
17793 * soft-fp/floatsisf.c (__floatsisf): Likewise.
17794 * soft-fp/floattidf.c (__floattidf): Likewise.
17795 * soft-fp/floattisf.c (__floattisf): Likewise.
17796 * soft-fp/floattitf.c (__floattitf): Likewise.
17797 * soft-fp/floatundidf.c (__floatundidf): Likewise.
17798 * soft-fp/floatundisf.c (__floatundisf): Likewise.
17799 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
17800 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
17801 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
17802 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
17803 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
17804 * soft-fp/gesf2.c (__gesf2): Likewise.
17805 * soft-fp/getf2.c (__getf2): Likewise.
17806 * soft-fp/ledf2.c (__ledf2): Likewise.
17807 * soft-fp/lesf2.c (__lesf2): Likewise.
17808 * soft-fp/letf2.c (__letf2): Likewise.
17809
8edc4a11
JM
17810 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
17811 Undefine and redefine.
17812 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
17813 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
17814 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
17815 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
17816 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
17817 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
17818 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
17819 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
17820 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
17821 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
17822 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
17823 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
17824 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
17825 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
17826 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
17827
8399acaf
JM
17828 [BZ #16032]
17829 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
17830 without decrementing exponent if mantissa >= that for the
17831 denominator, not >.
17832 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
17833 denominator, not >. Decrement exponent in < case instead of
17834 incrementing in >= case.
17835 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
17836 without decrementing exponent if mantissa >= that for the
17837 denominator, not >.
17838
99fd9f47
JM
17839 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
17840 computing saturated result for unsigned overflow.
17841
10e1cf6b
SP
178422013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
17843 Jeff Law <law@redhat.com>
17844
17845 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
17846 (atan2Mp): Add systemtap probe marker.
17847 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
17848 (__ieee754_log): Add systemtap probe marker.
17849 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
17850 (atanMp): Add systemtap probe marker.
17851 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
17852 (tanMp): Add systemtap probe marker.
17853 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
17854 (__slowexp): Add systemtap probe marker.
17855 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
17856 (__slowpow): Add systemtap probe marker.
17857 * manual/probes.texi: Document probes.
17858
3d110c7c
EB
178592013-10-11 Eric Biggers <ebiggers3@gmail.com>
17860
17861 [BZ #15362]
17862 * libio/fileops.c (_IO_new_file_write): Return count of bytes
17863 written.
17864 (_IO_new_file_xsputn): Don't return EOF if nothing has been
17865 written.
17866 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
17867 written to buffer but not flushed.
17868 * libio/iofwrite_u.c: Likewise.
17869 * libio/iopadn.c: Return bytes returned even if EOF was
17870 encountered.
17871 * libio/iowpadn.c: Likewise.
17872 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
17873 if _IO_padn does not write the whole buffer.
17874 [!COMPILE_WPRINTF] (PAD): Likewise.
17875
75b4202a
DM
178762013-10-10 David S. Miller <davem@davemloft.net>
17877
17878 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
17879 directory block.
17880
6c6352e6
JM
178812013-10-10 Joseph Myers <joseph@codesourcery.com>
17882
33b853c3
JM
17883 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
17884 instead of FSF address.
17885 * soft-fp/fixdfti.c: Likewise.
17886 * soft-fp/fixsfti.c: Likewise.
17887 * soft-fp/fixtfti.c: Likewise.
17888 * soft-fp/fixunsdfti.c: Likewise.
17889 * soft-fp/fixunssfti.c: Likewise.
17890 * soft-fp/fixunstfti.c: Likewise.
17891 * soft-fp/floattidf.c: Likewise.
17892 * soft-fp/floattisf.c: Likewise.
17893 * soft-fp/floattitf.c: Likewise.
17894 * soft-fp/floatuntidf.c: Likewise.
17895 * soft-fp/floatuntisf.c: Likewise.
17896 * soft-fp/floatuntitf.c: Likewise.
17897 * soft-fp/trunctfxf2.c: Likewise.
17898
6c6352e6
JM
17899 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
17900 * soft-fp/fixdfti.c: Likewise.
17901 * soft-fp/fixsfti.c: Likewise.
17902 * soft-fp/fixtfti.c: Likewise.
17903 * soft-fp/fixunsdfti.c: Likewise.
17904 * soft-fp/fixunssfti.c: Likewise.
17905 * soft-fp/fixunstfti.c: Likewise.
17906 * soft-fp/floattidf.c: Likewise.
17907 * soft-fp/floattisf.c: Likewise.
17908 * soft-fp/floattitf.c: Likewise.
17909 * soft-fp/floatuntidf.c: Likewise.
17910 * soft-fp/floatuntisf.c: Likewise.
17911 * soft-fp/floatuntitf.c: Likewise.
17912 * soft-fp/trunctfxf2.c: Likewise.
17913
3bf78b71
DM
179142013-10-10 David S. Miller <davem@davemloft.net>
17915
17916 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17917
6f10289e
JM
179182013-10-10 Joseph Myers <joseph@codsourcery.com>
17919
bd878fc0
JM
17920 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
17921 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
17922 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
17923 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
17924 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
17925 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
17926 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
17927
6f10289e
JM
17928 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
17929 for NaNs before doing comparisons on argument.
17930 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
17931 Likewise.
17932
321e2684
WN
179332013-10-10 Will Newton <will.newton@linaro.org>
17934
17935 * malloc/hooks.c (memalign_check): Ensure the value of bytes
17936 passed to _int_memalign does not overflow.
17937
40fefba1
TR
179382013-10-10 Torvald Riegel <triegel@redhat.com>
17939
17940 * scripts/bench.pl: Add include-sources directive.
17941 * benchtests/README: Update documentation.
17942
2ae21ed2
JM
179432013-10-10 Joseph Myers <joseph@codesourcery.com>
17944
dcc2dd3f
JM
17945 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
17946 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
17947 instead of FP_INIT_ROUNDMODE.
17948 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
17949 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
17950
2ae21ed2
JM
17951 [BZ #16034]
17952 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
17953 copy class of input value.
17954 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
17955 not handle exceptions.
17956 * soft-fp/negsf2.c (__negsf2): Likewise.
17957 * soft-fp/negtf2.c (__negtf2): Likewise.
17958 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
17959
cb8f9562
JM
179602013-10-09 Joseph Myers <joseph@codesourcery.com>
17961
17962 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
17963 semicolon. From Linux kernel.
17964
5b60c59d
AB
179652013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
17966
17967 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
17968
b86835ca
YC
179692013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
17970
17971 [BZ #156]
17972 * manual/socket.texi: Added statement about buffer
17973 for gethostbyname2_r.
17974
e7044ea7
OB
179752013-10-08 Ondřej Bílka <neleai@seznam.cz>
17976
17977 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
17978 Use .p2align directive instead, throughout.
17979 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
17980 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
17981 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
17982 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
17983 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
17984 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
17985 * sysdeps/x86_64/strchr.S: Likewise.
17986 * sysdeps/x86_64/strrchr.S: Likewise.
17987
09544cbc
SP
179882013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
17989
88576635
SP
17990 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
17991
e7b2d1dd
SP
17992 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
17993
09544cbc
SP
17994 * sysdeps/generic/math_private.h (__mpsin1): Remove
17995 declaration.
17996 (__mpcos1): Likewise.
17997 (__mpsin): New argument __range_reduce.
17998 (__mpcos): Likewise.
17999 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
18000 (slow): Use __mpsin and __mpcos.
18001 (slow1): Likewise.
18002 (slow2): Likewise.
18003 (sloww): Likewise.
18004 (sloww1): Likewise.
18005 (sloww2): Likewise.
18006 (bsloww): Likewise.
18007 (bsloww1): Likewise.
18008 (bsloww2): Likewise.
18009 (cslow2): Likewise.
18010 (csloww): Likewise.
18011 (csloww1): Likewise.
18012 (csloww2): Likewise.
18013 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
18014 range_reduce. Merge in __mpsin1.
18015 (__mpcos): Likewise.
18016 (__mpsin1): Remove.
18017 (__mpcos1): Likewise.
18018
7602d070
JM
180192013-10-07 Joseph Myers <joseph@codesourcery.com>
18020
18021 * locale/loadlocale.c (_nl_intern_locale_data): Use
18022 LOCFILE_ALIGNED_P.
18023 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
18024 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
18025 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
18026 obstack data is appropriately aligned.
18027 (obstack_int32_grow_fast): Likewise.
18028 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
18029 * locale/programs/locfile.c (add_locale_uint32): Likewise.
18030 (add_locale_uint32_array): Likewise.
18031
a357259b
SP
180322013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
18033
18034 * benchtests/Makefile: Remove ARGLIST and RET variables.
18035 ($(objpfx)bench-%.c): Pass only function name to the script.
18036 * benchtests/README: Update documentation.
18037 * benchtests/acos-inputs: Add new directives.
18038 * benchtests/acosh-inputs: Likewise.
18039 * benchtests/asin-inputs: Likewise.
18040 * benchtests/asinh-inputs: Likewise.
18041 * benchtests/atan-inputs: Likewise.
18042 * benchtests/atanh-inputs: Likewise.
18043 * benchtests/cos-inputs: Likewise.
18044 * benchtests/cosh-inputs: Likewise.
18045 * benchtests/exp-inputs: Likewise.
18046 * benchtests/log-inputs: Likewise.
18047 * benchtests/pow-inputs: Likewise.
18048 * benchtests/rint-inputs: Likewise.
18049 * benchtests/sin-inputs: Likewise.
18050 * benchtests/sinh-inputs: Likewise.
18051 * benchtests/tan-inputs: Likewise.
18052 * benchtests/tanh-inputs: Likewise.
18053 * scripts/bench.pl: Add support for new directives.
18054
9ec1b13d
AM
180552013-10-07 Alan Modra <amodra@gmail.com>
18056
18057 * README: Fix careless merge.
18058
8b7d57cd
AM
180592013-10-05 Alan Modra <amodra@gmail.com>
18060
18061 * NEWS: Mention powerpc64le support and bugs fixed.
18062 * README: Both big-endian and little-endian powerpc64 supported.
18063
7b7bab13
ST
180642013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
18065
57f41c40
AS
18066 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
18067 (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
7b7bab13
ST
18068 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
18069 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
18070
d39baad1
RA
180712013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
18072
18073 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
18074 match prototype.
18075
cd78f7e7
JM
180762013-10-04 Joseph Myers <joseph@codesourcery.com>
18077
29d73d86
JM
18078 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
18079 Move -mhard-float appending from
18080 ports/sysdeps/powerpc/powerpc32/Makefile.
18081 [$(with-fp) = yes] (ASFLAGS): Likewise.
18082 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
18083 * sysdeps/powerpc/nofpu: Move directory from
18084 ports/sysdeps/powerpc/nofpu.
18085 * sysdeps/powerpc/soft-fp: Move directory from
18086 ports/sysdeps/powerpc/soft-fp.
18087 * sysdeps/powerpc/powerpc32/405: Move directory from
18088 ports/sysdeps/powerpc/powerpc32/405.
18089 * sysdeps/powerpc/powerpc32/440: Move directory from
18090 ports/sysdeps/powerpc/powerpc32/440.
18091 * sysdeps/powerpc/powerpc32/464: Move directory from
18092 ports/sysdeps/powerpc/powerpc32/464.
18093 * sysdeps/powerpc/powerpc32/476: Move directory from
18094 ports/sysdeps/powerpc/powerpc32/476.
18095 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
18096 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
18097 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
18098 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
18099 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
18100 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
18101 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
18102 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
18103 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
18104 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
18105 * README: Update for powerpc-*-linux-gnu software floating point
18106 support in libc.
18107
e246b347
JM
18108 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
18109 case to powerpc/powerpc32*.
18110 * sysdeps/unix/sysv/linux/configure: Regenerated.
18111
89c2003e
JM
18112 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
18113 (_FPU_MASK_OM): Define as 0x04.
18114 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
18115 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
18116 0x00c10080.
18117 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
18118 0x0000003c.
18119 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
18120
cd78f7e7
JM
18121 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
18122 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
18123 getcontext_e500.
18124 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
18125 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
18126 setcontext_e500.
18127 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
18128 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
18129 and setcontext_e500.
18130
c755294d
CL
181312013-10-04 Chris Leonard <cjl@sugarlabs,.org>
18132
18133 * locale/iso-3166.def: Update iso-1366.def and related occurrences
18134
e16d221c
SP
181352013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
18136
18137 * manual/threads.texi (Default Thread Attributes): Fix typo.
18138
215c7d43
WN
181392013-10-04 Will Newton <will.newton@linaro.org>
18140
18141 * malloc/Makefile: Add tst-memalign.
18142 * malloc/tst-memalign.c: New file.
18143
27d0461b
WN
18144 * malloc/tst-posix_memalign.c: Add comments.
18145 (do_test): Add comments and call free on all potentially
18146 allocated pointers. Add space after cast.
18147
1bc92709
WN
18148 * malloc/tst-pvalloc.c: Add comments.
18149 (do_test): Add comments and call free on all potentially
18150 allocated pointers. Remove duplicate check for NULL pointer.
18151 Add space after cast.
18152
66a9be9d
WN
18153 * malloc/tst-valloc.c: Add comments.
18154 (do_test): Add comments and call free on all potentially
18155 allocated pointers. Remove duplicate check for NULL pointer.
18156 Add space after cast.
18157
4cb81307
AM
181582013-10-04 Alan Modra <amodra@gmail.com>
18159
18160 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
18161 Use stdint types in rather than __attribute__((mode())).
18162 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
18163
f8e3e9f3
AM
181642013-10-04 Alan Modra <amodra@gmail.com>
18165
18166 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
18167 Correct handling of unaligned relocs for little-endian.
18168 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
18169
8f9ebb08
AM
181702013-10-04 Alan Modra <amodra@gmail.com>
18171
18172 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
18173 * configure: Regenerate.
18174 * nptl/shlib-versions: Powerpc*le starts at 2.18.
18175 * shlib-versions: Likewise.
18176
0edf96c2
AM
181772013-10-04 Alan Modra <amodra@gmail.com>
18178
18179 * string/tester.c (test_memrchr): Increment reported test cycle.
18180
e0f7a380
AM
181812013-10-04 Alan Modra <amodra@gmail.com>
18182
18183 * string/test-memcpy.c (do_one_test): When reporting errors, print
18184 string address and don't overrun end of string.
18185
466b0393
AM
181862013-10-04 Alan Modra <amodra@gmail.com>
18187
18188 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
18189 insrdi. Make better use of reg selection to speed exit slightly.
18190 Schedule entry path a little better. Remove useless "are we done"
18191 checks on entry to main loop. Handle wrapping around zero address.
18192 Correct main loop count. Handle single left-over word from main
18193 loop inline rather than by using loop_small. Remove extra word
18194 case in loop_small caused by wrong loop count. Add little-endian
18195 support.
18196 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
18197 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
18198 cache hint.
18199 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
18200 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
18201 support. Avoid rlwimi.
18202 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
18203
3be87c77
AM
182042013-10-04 Alan Modra <amodra@gmail.com>
18205
18206 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
e3764517 18207 insrdi. Formatting.
3be87c77
AM
18208 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
18209 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
18210 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
18211 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
18212 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
18213 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
18214
759cfef3
AM
182152013-10-04 Alan Modra <amodra@gmail.com>
18216
18217 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
18218 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
18219 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
18220 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
18221 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
18222 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
18223 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
18224 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
18225 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
18226 use of regs. Use power7 mtocrf. Tidy function tails.
18227
fe6e95d7
AM
182282013-10-04 Alan Modra <amodra@gmail.com>
18229
18230 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
18231 Formatting. Consistently use rXXX register defines or rN defines.
18232 Use early exit labels that avoid restoring unused non-volatile regs.
18233 Make cr field use more consistent with rWORDn compares. Rename
18234 regs used as shift registers for unaligned loop, using rN defines
18235 for short lifetime/multiple use regs.
18236 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
18237 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
18238 addi 1,1,64 to pop stack frame. Simplify return value code.
18239 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
18240
664318c3
AM
182412013-10-04 Alan Modra <amodra@gmail.com>
18242
18243 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
18244 support. Correct typos, formatting. Optimize tail. Use insrdi
18245 rather than rlwimi.
18246 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
18247 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
18248 little-endian support. Correct typos.
18249 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
18250 rather than rlwimi.
18251 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
18252 in loop and entry code to keep "and." results.
18253 (strchr): Add little-endian support. Comment. Move cntlzd
18254 earlier in tail.
18255 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
18256
43b84013
AM
182572013-10-04 Alan Modra <amodra@gmail.com>
18258
18259 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
18260 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
18261 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
18262 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
18263
8a7413f9
AM
182642013-10-04 Alan Modra <amodra@gmail.com>
18265
18266 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
18267 (rTMP): Define as r11.
18268 (strcmp): Add little-endian support. Optimise tail.
18269 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
18270 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
18271 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
18272 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
18273 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
18274 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
18275 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
18276
33ee81de
AM
182772013-10-04 Alan Modra <amodra@gmail.com>
18278
18279 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
18280 little-endian support. Remove unnecessary "are we done" tests.
18281 Handle "s" wrapping around zero and extremely large "size".
18282 Correct main loop count. Handle single left-over word from main
18283 loop inline rather than by using small_loop. Correct comments.
18284 Delete "zero" tail, use "end_max" instead.
18285 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
18286
db9b4570
AM
182872013-10-04 Alan Modra <amodra@gmail.com>
18288
18289 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
18290 support. Don't branch over align.
18291 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
18292 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
18293 support. Rearrange tmp reg use to suit. Comment.
18294 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
18295
f7c399cf
AM
182962013-10-04 Alan Modra <amodra@gmail.com>
18297
18298 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
18299
0b2c2ace
AM
183002013-10-04 Alan Modra <amodra@gmail.com>
18301
18302 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
18303 conditional form of branch and link when obtaining pc.
18304 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
18305
02f04a6c
AM
183062013-10-04 Alan Modra <amodra@gmail.com>
18307
18308 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
18309 HIWORD/LOWORD.
18310 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
18311 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
18312
9b874b2f
AM
183132013-10-04 Alan Modra <amodra@gmail.com>
18314
18315 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
18316 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
18317 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
18318 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
18319 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
18320 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
18321 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
18322 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
18323 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
18324 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
18325
be1e5d31
AB
183262013-10-04 Anton Blanchard <anton@au1.ibm.com>
18327 Alistair Popple <alistair@ozlabs.au.ibm.com>
18328 Alan Modra <amodra@gmail.com>
18329
18330 [BZ #15723]
18331 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
18332 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
18333 _dl_hwcap access for little-endian.
18334 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
18335 destroy vmx regs when saving unaligned.
18336 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
18337 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
18338 destroy vmx regs when saving unaligned.
18339
fef13a78
AM
183402013-10-04 Alan Modra <amodra@gmail.com>
18341
18342 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
18343 Don't use a union to pack hi/low value.
18344
76a66d51
AB
183452013-10-04 Anton Blanchard <anton@au1.ibm.com>
18346
18347 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
18348 for little-endian.
18349 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
18350 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
18351 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
18352 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
18353 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
18354
6a31fe7f
AM
183552013-10-04 Alan Modra <amodra@gmail.com>
18356
18357 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
18358 constants to usual value for .cst8 section, and remove redundant
18359 high address load.
18360 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
18361 constant for 0x1p52. Load little-endian words of double from
18362 correct stack offsets.
18363
7b88401f
AM
183642013-10-04 Alan Modra <amodra@gmail.com>
18365
18366 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
18367 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
18368 words of double from correct stack offsets.
18369 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
18370 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
18371 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
18372 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
18373 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
18374 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
18375 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
18376 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
18377 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
18378 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
18379 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
18380 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
18381 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
18382 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
18383 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
18384 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
18385 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
18386
9c008155
AM
183872013-10-04 Alan Modra <amodra@gmail.com>
18388
18389 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
18390 64-bit int/double union.
18391 (_FPU_SETCW): Likewise.
18392 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
18393 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
18394
da13146d
AM
183952013-10-04 Alan Modra <amodra@gmail.com>
18396
18397 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
18398 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
18399
603e8410
AM
184002013-10-04 Alan Modra <amodra@gmail.com>
18401
18402 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
18403 use vector int constants.
18404 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
18405
4a28b3ca
AB
184062013-10-04 Anton Blanchard <anton@au1.ibm.com>
18407
18408 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
18409 array with long long.
18410 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
18411 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
18412 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
18413 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
18414 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
18415 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
18416 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
18417 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
18418 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
18419 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
18420 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
18421 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
18422 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
18423
2ca85d2b
AB
184242013-10-04 Anton Blanchard <anton@au1.ibm.com>
18425
18426 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
18427 (__signbit): Likewise. Correct for little-endian.
18428 (__signbitl): Call __signbit.
18429 (lrint): Correct for little-endian.
18430 (lrintf): Call lrint.
18431
62a728ae
AM
184322013-10-04 Alan Modra <amodra@gmail.com>
18433
18434 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
18435 union 32-bit int array member with 64-bit int array.
18436 (t515, tm256): Double rather than long double.
18437 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
18438
32c301df
AM
184392013-10-04 Alan Modra <amodra@gmail.com>
18440
18441 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
18442 Delete.
18443 (IEEE854_LONG_DOUBLE_BIAS): Delete.
18444 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
18445 version of math_ldbl.h.
18446
650ef4bd
AM
184472013-10-04 Alan Modra <amodra@gmail.com>
18448
18449 [BZ #15734], [BZ #15735]
18450 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
18451 all uses of ieee875 long double macros and unions. Simplify test
18452 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
18453 ldbl_extract_mantissa value for ix,iy exponents. Properly
18454 normalize after ldbl_extract_mantissa, and don't add hidden bit
18455 already handled. Don't treat low word of ieee854 mantissa like
18456 low word of IBM long double and mask off bit when testing for
18457 zero.
18458 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
18459 all uses of ieee875 long double macros and unions. Simplify tests
18460 for 0.0L and inf. Correct double adjustment of k. Delete dead code
18461 adjusting ha,hb. Simplify code setting kld. Delete two600 and
18462 two1022, instead use their values. Recognise that tests for large
18463 "a" and small "b" are mutually exclusive. Rename vars. Comment.
18464 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
18465 Rewrite all uses of ieee875 long double macros and unions. Simplify
18466 test for 0.0L and nan. Correct negation.
18467 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
18468 ieee875 long double macros and unions. Correct output for large
18469 magnitude x. Correct absolute value calculation.
18470 (__erfcl): Likewise.
18471 * math/libm-test.inc: Add tests for errors discovered in IBM long
18472 double versions of fmodl, remainderl, erfl and erfcl.
18473
765714ca
AM
184742013-10-04 Alan Modra <amodra@gmail.com>
18475
18476 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
18477 all uses of ieee854 long double macros and unions. Simplify tests
18478 for long doubles that are fully specified by the high double.
18479 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
18480 Likewise.
18481 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
18482 Remove dead code too.
18483 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
18484 (__ieee754_ynl): Likewise.
18485 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
18486 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
18487 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
18488 Remove dead code too.
18489 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
18490 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
18491 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
18492 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
18493 Simplify.
18494 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
18495 Simplify.
18496 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
18497 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
18498 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
18499 Comment on variable precision.
18500 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
18501 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
18502 Likewise.
18503 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
18504 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
18505 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
18506 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
18507 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
18508
4ebd120c
AM
185092013-10-04 Alan Modra <amodra@gmail.com>
18510
18511 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
18512 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
18513 all uses of ieee854 long double macros and unions.
18514 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
18515 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
18516 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
18517 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
18518 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
18519 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
18520 Likewise.
18521 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
18522 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
18523 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
18524 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
18525 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
18526 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
18527 Simplify sign and nan test too.
18528 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
18529 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
18530 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
18531 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
18532 Likewise.
18533 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
18534 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
18535 Likewise.
18536 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
18537 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
18538 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
18539 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
18540 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
18541 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
18542
1b6adf88
AM
185432013-10-04 Alan Modra <amodra@gmail.com>
18544
18545 * stdio-common/printf_size.c (__printf_size): Don't use
18546 union ieee854_long_double in fpnum union.
18547 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
18548 signbit macro to retrieve sign from long double.
18549 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
18550 retrieve sign from long double.
18551 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
18552 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
18553 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
18554 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
18555 * math/test-misc.c (main): Don't use union ieee854_long_double.
18556
4cf69995
AM
185572013-10-04 Alan Modra <amodra@gmail.com>
18558
18559 [BZ #15680]
18560 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
18561 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
18562 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
18563 calculation. Remove unnecessary test for denormal exponent.
18564 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
18565 Correct handling of denormals. Avoid undefined shift behaviour.
18566 Correct normalisation of low mantissa when low double is denormal.
18567 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
18568 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
18569 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
18570 Correct normalisation of low mantissa. Test for overflow of high
18571 mantissa and normalise.
18572 (ldbl_nearbyint): Use more readable constant for two52.
18573 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
18574 (__mpn_construct_long_double): Fix test for overflow of high
18575 mantissa and correct normalisation. Avoid undefined shift.
18576
9605ca6c
AM
185772013-10-04 Alan Modra <amodra@gmail.com>
18578
18579 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
18580 (union ibm_extended_long_double): Define as an array of ieee754_double.
18581 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
18582 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
18583 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
18584 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
18585 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
18586 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
18587 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
18588 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
18589 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
18590 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
18591 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
18592
975569d0
JM
185932013-10-03 Joseph Myers <joseph@codesourcery.com>
18594
d3d23756
JM
18595 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
18596 page size instead of calling getpagesize.
18597
975569d0
JM
18598 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
18599 (LOCFILE_ALIGN_MASK): Likewise.
18600 (LOCFILE_ALIGN_UP): Likewise.
18601 (LOCFILE_ALIGNED_P): Likewise.
18602 * locale/programs/ld-collate.c (collate_output): Use the new
18603 macros instead of __alignof__ (int32_t).
18604 * locale/weight.h (findidx): Likewise.
18605
b1fe1f2b
OB
186062013-10-03 Ondřej Bílka <neleai@seznam.cz>
18607
18608 [BZ #431]
18609 * manual/string.texi: Fix strncat and wcsncat.
18610
5f855e35
BM
186112013-10-03 Brooks Moses <bmoses@google.com>
18612
18613 [BZ #15915]
18614 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
18615 * Makerules: ...here, and adjust associated comments.
18616
3cef6009
WN
186172013-10-02 Will Newton <will.newton@linaro.org>
18618
18619 * malloc/Makefile: Add tst-pvalloc.
18620 * malloc/tst-pvalloc.c: New file.
18621
7815420b
WN
186222013-10-02 Will Newton <will.newton@linaro.org>
18623
18624 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
18625 improve test coverage.
18626
4868b204
WN
186272013-10-02 Will Newton <will.newton@linaro.org>
18628
18629 * malloc/Makefile: Add tst-posix_memalign.
18630 * malloc/tst-posix_memalign.c: New file.
18631
29c793b3
EB
186322013-10-01 Eric Blake <eblake@redhat.com>
18633
18634 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
18635 Use __THROWNL rather than __THROW on static functions.
18636
fd967522
PM
186372013-09-30 Petr Machata <pmachata@redhat.com>
18638
18639 * elf/elf.h (R_AARCH64_ABS16): New macro.
18640 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
18641 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
18642 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
18643 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
18644 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
18645 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
18646 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
18647 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
18648 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
18649 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
18650 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
18651 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
18652 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
18653 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
18654 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
18655 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
18656 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
18657 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
18658 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
18659 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
18660 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
18661 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
18662 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
18663 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
18664 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
18665 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
18666 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
18667 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
18668 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
18669 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
18670 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
18671 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
18672 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
18673 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
18674 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
18675 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
18676 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
18677 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
18678 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
18679 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
18680 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
18681 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
18682 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
18683 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
18684 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
18685 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
18686 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
18687 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
18688 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
18689 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
18690 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
18691 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
18692 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
18693 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
18694 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
18695 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
18696 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
18697 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
18698 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
18699 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
18700 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
18701 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
18702 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
18703 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
18704 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
18705 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
18706 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
18707 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
18708 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
18709 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
18710 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
18711 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
18712 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
18713 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
18714 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
18715 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
18716 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
18717 (R_AARCH64_TLSDESC_LDR): Likewise.
18718 (R_AARCH64_TLSDESC_ADD): Likewise.
18719 (R_AARCH64_TLSDESC_CALL): Likewise.
18720
b2179107
AS
187212013-09-30 Andreas Schwab <schwab@suse.de>
18722
18723 [BZ #15048]
18724 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
18725 the nss database lookup.
18726 * nscd/initgrcache.c (addinitgroupsX): Likewise.
18727 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
18728
47f28d0a
MF
187292013-09-28 Mike Frysinger <vapier@gentoo.org>
18730
18731 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
18732
187332013-09-28 P. J. McDermott <pj@pehjota.net>
0a834dde
PM
18734
18735 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
18736 ${Bash-specific parameter/pattern/string} parameter expansion.
18737 * sysdeps/unix/make-syscalls.sh: Likewise.
18738
f4518a17
KK
187392013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
18740
18741 * sysdeps/sh/stackguard-macros.h: New file.
18742
dc1a95c7
OB
187432013-09-26 Ondřej Bílka <neleai@seznam.cz>
18744
18745 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
18746 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
18747 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
18748 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
18749 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
18750 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
18751
5ebbff8f
AZ
187522013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18753
18754 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
18755 Fix thread ID register.
18756
4fd2cf9f
JM
187572013-09-25 Joseph Myers <joseph@codesourcery.com>
18758
18759 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
18760 [POSIX || UNIX98]: Require rather than permitting all symbols from
18761 <time.h>.
18762 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
18763 element of struct sched_param.
18764 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
18765 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
18766 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
18767 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
18768 constant.
18769
12c22bc4
OL
187702013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
18771
18772 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
18773 argument calculation.
18774
a03d8ea7
JM
187752013-09-24 Joseph Myers <joseph@codesourcery.com>
18776
18777 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
18778 Expect macro.
18779 [POSIX] (pthread_attr_t): Do not require type.
18780 [POSIX] (pthread_cond_t): Likewise.
18781 [POSIX] (pthread_condattr_t): Likewise.
18782 [POSIX] (pthread_key_t): Likewise.
18783 [POSIX] (pthread_mutex_t): Likewise.
18784 [POSIX] (pthread_mutexattr_t): Likewise.
18785 [POSIX] (pthread_once_t): Likewise.
18786 [POSIX] (pthread_t): Likewise.
18787 [POSIX-based standards] (pthread_atfork): Expect function.
18788
6055173a
JM
187892013-09-24 Joseph Myers <joseph@codesourcery.com>
18790 Richard Sandiford <richard@codesourcery.com>
18791
18792 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
18793 (swap_endianness_p): New extern variable.
18794 (set_big_endian): New inline function.
18795 (maybe_swap_uint32): Likewise.
18796 (maybe_swap_uint32_array): Likewise.
18797 (maybe_swap_uint32_obstack): Likewise.
18798 * locale/programs/locfile.c: Include <stdbool.h>.
18799 (swap_endianness_p): New variable.
18800 (add_locale_uint32): Call maybe_swap_uint32.
18801 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
18802 (write_locale_data): Call maybe_swap_uint32_array.
18803 * locale/programs/ld-collate.c (obstack_int32_grow): Call
18804 maybe_swap_uint32.
18805 (obstack_int32_grow_fast): Likewise.
18806 (output_weightwc): Call maybe_swap_uint32_obstack.
18807 (collate_output): Likewise.
18808 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
18809 (OPT_LITTLE_ENDIAN): Likewise.
18810 (options): Add --little-endian and --big-endian options.
18811 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
18812 * locale/programs/locarchive.c: Include "locfile.h".
18813 (GET): New macro.
18814 (SET): Likewise.
18815 (INC): Likewise.
18816 (create_archive): Use the new macros to access fields of
18817 structures directly mapped from or written to locale archives.
18818 (oldlocrecentcmp): Likewise.
18819 (enlarge_archive): Likewise.
18820 (insert_name): Likewise.
18821 (add_alias): Likewise.
18822 (add_locale): Likewise.
18823 (delete_locales_from_archive): Likewise.
18824 (show_archive_content): Likewise.
18825 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
18826 locale data.
18827
39bf0bb4
RM
188282013-09-24 Roland McGrath <roland@hack.frob.com>
18829
18830 * manual/freemanuals.texi: Updated from (newly) canonical copy at
18831 http://www.gnu.org/doc/freemanuals.texi.
18832 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
18833
f02eed10
WN
188342013-09-24 Will Newton <will.newton@linaro.org>
18835
18836 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
18837 macro.
18838
a3a6c312
JM
188392013-09-23 Joseph Myers <joseph@codesourcery.com>
18840
18841 * locale/hashval.h (compute_hashval): Interpret bytes of key as
18842 unsigned char.
18843
107375ac
MR
188442013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
18845
18846 * manual/threads.texi (POSIX Threads): Fix a typo.
18847
141f3a77
SP
188482013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
18849
303e567a
SP
18850 [BZ #14547]
18851 * string/tst-strcoll-overflow.c: New test case.
18852 * string/Makefile (xtests): Add tst-strcoll-overflow.
18853 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
18854 cache if string sizes may cause integer overflow.
18855
141f3a77
SP
18856 [BZ #14547]
18857 * string/strcoll_l.c (coll_seq): New members rule, idx,
18858 save_idx and back_us.
18859 (get_next_seq_nocache): New function.
18860 (do_compare_nocache): New function.
18861 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
18862 when malloc fails.
18863
c61b4d41
CD
188642013-09-23 Carlos O'Donell <carlos@redhat.com>
18865
0b1f8e35
CD
18866 [BZ #15754]
18867 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
18868 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
18869 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
18870
c61b4d41
CD
18871 [BZ #15754]
18872 * elf/Makefile (tests): Add tst-ptrguard1.
18873 (tests-static): Add tst-ptrguard1-static.
18874 (tst-ptrguard1-ARGS): Define.
18875 (tst-ptrguard1-static-ARGS): Define.
18876 * elf/tst-ptrguard1.c: New file.
18877 * elf/tst-ptrguard1-static.c: New file.
18878 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
18879 * sysdeps/i386/stackguard-macros.h: Likewise.
18880 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
18881 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
18882 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
18883 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
18884 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
18885 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
18886
188872013-09-23 Hector Marco <hecmargi@upv.es>
18888 Ismael Ripoll <iripoll@disca.upv.es>
18889 Carlos O'Donell <carlos@redhat.com>
18890
18891 [BZ #15754]
18892 * sysdeps/generic/stackguard-macros.h: Define
18893 __pointer_chk_guard_local and POINTER_CHK_GUARD.
18894 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
18895 Define __pointer_chk_guard_local.
18896 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
18897 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
18898
f5f4e7b4
VV
188992013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
18900
18901 [BZ #15859]
18902 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
18903
5bb43a43
AS
189042013-09-20 Andreas Schwab <schwab@linux-m68k.org>
18905
18906 * include/string.h (__ffs): Declare as hidden.
18907 * string/ffs.c (__ffs): Define as hidden.
18908 * sysdeps/i386/ffs.c (__ffs): Likewise.
18909 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
18910 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
18911 * sysdeps/s390/ffs.c (__ffs): Likewise.
18912 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
18913
3ea5be54
AO
189142013-09-20 Alexandre Oliva <aoliva@redhat.com>
18915
ffb89e53
AO
18916 * NEWS: Mention malloc probes.
18917
322dea08
AO
18918 * malloc/arena.c (new_heap): New memory_heap_new probe.
18919 (grow_heap): New memory_heap_more probe.
18920 (shrink_heap): New memory_heap_less probe.
18921 (heap_trim): New memory_heap_free probe.
18922 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
18923 (systrim): New memory_sbrk_less probe.
18924 * manual/probes.texi: Document them.
18925
655673f3
AO
18926 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
18927 * manual/probes.texi: Document it.
18928
35fed6f1
AO
18929 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
18930 (__libc_realloc): Add memory_realloc_retry probe.
18931 (__libc_memalign): Add memory_memalign_retry probe.
18932 (__libc_valloc): Add memory_valloc_retry probe.
18933 (__libc_pvalloc): Add memory_pvalloc_retry probe.
18934 (__libc_calloc): Add memory_calloc_retry probe.
18935 * manual/probes.texi: Document them.
18936
6999d38c
AO
18937 * malloc/arena.c (get_free_list): Add probe
18938 memory_arena_reuse_free_list.
18939 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
18940 and memory_arena_reuse.
18941 (arena_get2) [!PER_THREAD]: Likewise.
18942 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
18943 memory_arena_reuse_realloc.
18944 * manual/probes.texi: Document them.
18945
0653427f
AO
18946 * malloc/malloc.c (__libc_free): Add
18947 memory_mallopt_free_dyn_thresholds probe.
18948 (__libc_mallopt): Add multiple memory_mallopt probes.
18949 * manual/probes.texi: Document them.
18950
3ea5be54
AO
18951 * malloc/malloc.c: Include stap-probe.h.
18952 (__libc_mallopt): Add memory_mallopt probe.
18953 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
18954 * manual/probes.texi: New.
18955 * manual/Makefile (chapters): Add probes.
18956 * manual/threads.texi: Set next node.
18957
e35696c3 189582013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
3e181dda 18959
e35696c3
CL
18960 [BZ #15963, #13985]
18961 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
18962 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
18963 Add `Chinese' to `nan' entry name.
18964
4aafb73c
SP
189652013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
18966
18967 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
18968 (POLYNOMIAL): Likewise.
18969 (TAYLOR_SINCOS): Likewise.
18970 (TAYLOR_SLOW): Likewise.
18971 (__sin): Use TAYLOR_SINCOS.
18972 (__cos): Likewise.
18973 (slow): Use TAYLOR_SLOW.
18974 (sloww): Likewise.
18975 (bsloww): Likewise.
18976 (csloww): Likewise.
18977
d84f25c7
LD
189782013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
18979
18980 * stdlib/strtod_l.c: Fix buffer overrun.
18981
5eea0404
SP
189822013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
18983
7849ff93
SP
18984 * benchtests/Makefile (bench): Add sincos.
18985 * benchtests/bench-sincos.c: New file.
18986
cfa3c886
SP
18987 * math/libm-test.inc (cos_test_data): New test inputs.
18988 (sin_test_data): Likewise.
18989
b348e1e3
SP
18990 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
18991 macro.
18992 (__sin): Use it.
18993 (__cos): Likewise.
18994 (slow1): Likewise.
18995 (slow2): Likewise.
18996 (sloww1): Likewise.
18997 (sloww2): Likewise.
18998 (bsloww1): Likewise.
18999 (bsloww2): Likewise.
19000 (cslow2): Likewise.
19001 (csloww1): Likewise.
19002 (csloww2): Likewise.
19003
6cce25f8
SP
19004 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
19005 function.
19006 (__sin): Use it.
19007 (__cos): Likewise.
19008
5eea0404
SP
19009 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
19010 gotos.
19011 (__cos): Likewise.
19012
9c21573c
MR
190132013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
19014
19015 * config.h.in (HAVE_MIPS_NAN2008): New macro.
19016 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
19017 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
19018 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
19019 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
19020 * elf/cache.c (print_entry): Handle the new cache flags.
19021
24d22e65
JM
190222013-09-18 Joseph Myers <joseph@codesourcery.com>
19023 Aldy Hernandez <aldyh@redhat.com>
19024
19025 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
19026 Change condition to [_SOFT_FLOAT].
19027 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
19028 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
19029 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
19030 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
19031 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
19032 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
19033 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
19034 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
19035 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
19036 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
19037 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
19038 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
19039 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
19040 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
19041 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
19042 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
19043 declaration.
19044
d13ef066
JM
190452013-09-18 Joseph Myers <joseph@codesourcery.com>
19046
2e071de0
JM
19047 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
19048 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
19049 (__longjmp): Use LOAD_GP to load saved GPRs.
19050 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
19051 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
19052 (__sigsetjmp): Use SAVE_GP to save GPRs.
19053
d13ef066
JM
19054 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
19055 Do not append -msoft-float.
19056 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
19057
97a0650b
SP
190582013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
19059
19060 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
19061
11ca09e9
JM
190622013-09-17 Joseph Myers <joseph@codesourcery.com>
19063
19064 [BZ #15966]
19065 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
19066 (_FPU_GETCW): Use initial "__" on variable and field names but not
19067 on macro parameter name.
19068 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
19069 parentheses around reference to macro parameter.
19070
08ffcf34
RS
190712013-09-13 Richard Sandiford <richard@codesourcery.com>
19072
19073 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
19074 prototype.
19075 (ctype_startup): Use uint32_t in cast and sizeof for
19076 ctype->charnames.
19077
ae7080d3
JL
190782013-09-11 Jia Liu <proljc@gmail.com>
19079
19080 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
19081 __daddr_t_defined.
19082 [__FreeBSD__]: Likewise.
19083
5905e7b3
OB
190842013-09-11 Ondřej Bílka <neleai@seznam.cz>
19085
19086 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
19087 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
19088 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
19089 (strchr): Remove __strchr_sse42 ifunc selection.
19090 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
19091 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
19092
b987c776
WN
190932013-09-11 Will Newton <will.newton@linaro.org>
19094
19095 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
19096 parameter to RES. Remove hardcoded 1000 value.
19097 * benchtests/bench-skeleton.c (main): Pass RES parameter
19098 to TIMING_INIT and multiply result by 1000.
19099
ddf985af
AZ
191002013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19101
19102 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19103
ffdd3181
AS
191042013-09-11 Andreas Schwab <schwab@suse.de>
19105
19106 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
19107 if not defined.
19108 (O_TMPFILE) [__USE_GNU]: Define.
19109 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
19110 Define.
19111
b73ed247
WN
191122013-09-11 Will Newton <will.newton@linaro.org>
19113
19114 [BZ #15857]
19115 * malloc/malloc.c (__libc_memalign): Check the value of bytes
19116 does not overflow.
19117
55e17aad
WN
191182013-09-11 Will Newton <will.newton@linaro.org>
19119
19120 [BZ #15856]
19121 * malloc/malloc.c (__libc_valloc): Check the value of bytes
19122 does not overflow.
19123
1159a193
WN
191242013-09-11 Will Newton <will.newton@linaro.org>
19125
19126 [BZ #15855]
19127 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
19128 does not overflow.
19129
5905e7b3 191302013-09-10 Ondřej Bílka <neleai@seznam.cz>
c7cabd13
OB
19131
19132 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
19133 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
19134 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
19135 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
19136 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
19137
cdfc721b
AM
191382013-09-10 Allan McRae <allan@archlinux.org>
19139
aa04af00
AM
19140 [BZ #15748]
19141 * manual/arith.texi (Parsing of Floats): Clarify
19142 cross-reference.
19143
cdfc721b
AM
19144 [BZ #15849]
19145 * manual/install.texi (Running make install): Mention
19146 --enable-pt-chown.
19147 * INSTALL: Regenerated.
19148
95e7cf29
MR
191492013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
19150
19151 * csu/init-first.c (_init): Remove the !SHARED condition around
19152 FPU control word initialization.
19153 * elf/dl-support.c (_dl_fpu_control): New variable.
19154 (_dl_aux_init) <AT_FPUCW>: Initialize it.
19155 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
19156 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
19157 * math/test-fpucw-static.c: New file.
19158 * math/test-fpucw-ieee.c: New file.
19159 * math/test-fpucw-ieee-static.c: New file.
19160 * math/Makefile (tests): Add `test-fpucw-ieee' and
19161 `$(tests-static)'.
19162 (tests-static): New variable.
19163 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
19164 dependency to...
19165 [($(build-shared),yes)]
19166 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
19167 ... this.
19168 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
19169 New dependency.
19170
83e43bf0
AM
191712013-09-09 Allan McRae <allan@archlinux.org>
19172
a9f5ce09
AM
19173 [BZ #15939]
19174 * manual/string.texi (Collation Functions): Fix typo in
19175 strcoll example.
19176 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
19177
34829bc2
AM
19178 [BZ #15893]
19179 * stdlib/isomac.c (get_null_defines): Fix memory leak.
19180
3932737d
AM
19181 [BZ #15892]
19182 * libio/memstream.c (open_memstream): Fix memory leak.
19183 * libio/wmemstream.c (open_wmemstream): Likewise.
19184
83e43bf0
AM
19185 [BZ #15895]
19186 * nscd/netgroupcache.c: Fix nesting of ifdefs.
19187
0c66b8e9
WN
191882013-09-09 Will Newton <will.newton@linaro.org>
19189
19190 * malloc/Makefile: Add tst-realloc to tests.
19191 * malloc/tst-realloc.c: New file.
19192
f6b00fd1
AM
191932013-09-09 Allan McRae <allan@archlinux.org>
19194
19195 [BZ #15844]
19196 * COPYING: Update from GNU website to fix FSF address.
19197 * COPYING.LIB: Likewise.
19198
eec55e16
DM
191992013-09-06 David S. Miller <davem@davemloft.net>
19200
19201 * po/zh_TW.po: Update Chinese (traditional) translation from
19202 translation project.
19203
1ecbb381
RS
192042013-09-06 Richard Sandiford <richard@codesourcery.com>
19205 Joseph Myers <joseph@codesourcery.com>
19206
19207 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
19208 "localeinfo.h".
19209 (obstack_chunk_alloc): New macro.
19210 (obstack_chunk_free): Likewise.
19211 (record_offset): New function.
19212 (init_locale_data): Likewise.
19213 (align_locale_data): Likewise.
19214 (add_locale_empty): Likewise.
19215 (add_locale_raw_data): Likewise.
19216 (add_locale_raw_obstack): Likewise.
19217 (add_locale_string): Likewise.
19218 (add_locale_wstring): Likewise.
19219 (add_locale_uint32): Likewise.
19220 (add_locale_uint32_array): Likewise.
19221 (add_locale_char): Likewise.
19222 (start_locale_structure): Likewise.
19223 (end_locale_structure): Likewise.
19224 (start_locale_prelude): Likewise.
19225 (end_locale_prelude): Likewise.
19226 (write_locale_data): Take locale_file structure rather than an
19227 iovec.
19228 * locale/programs/locfile.h: Include "obstack.h".
19229 (struct locale_file): Change to store locale file contents instead
19230 of header.
19231 (init_locale_data): New prototype.
19232 (align_locale_data): Likewise.
19233 (add_locale_empty): Likewise.
19234 (add_locale_raw_data): Likewise.
19235 (add_locale_raw_obstack): Likewise.
19236 (add_locale_string): Likewise.
19237 (add_locale_wstring): Likewise.
19238 (add_locale_uint32): Likewise.
19239 (add_locale_uint32_array): Likewise.
19240 (add_locale_char): Likewise.
19241 (start_locale_structure): Likewise.
19242 (end_locale_structure): Likewise.
19243 (start_locale_prelude): Likewise.
19244 (end_locale_prelude): Likewise.
19245 (write_locale_data): Update prototype.
19246 * locale/programs/3level.h (struct TABLE): Remove result field.
19247 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
19248 Use new locale_file interface.
19249 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
19250 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
19251 * locale/programs/ld-address.c (address_output): Use new
19252 locale_file interface.
19253 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
19254 NO_ADD_LOCALE.
19255 (collate_finish): Don't call collseq_table_finalize.
19256 (collate_output): Use new locale_file interface.
19257 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
19258 in file.
19259 (NO_FINALIZE): Change to NO_ADD_LOCALE.
19260 (TABLE): Move defines earlier in file.
19261 (ELEMENT): Likewise.
19262 (DEFAULT): Likewise.
19263 (wctrans_table_add): Move macro and inline function earlier in
19264 file.
19265 (struct wctype_table): Move type earlier in file.
19266 (add_locale_wctype_table): New static prototype.
19267 (struct locale_ctype_t): Use logical types instead of struct iovec
19268 pointers for members.
19269 (ctype_output): Use new locale_file interface.
19270 (wctype_table_finalize): Change to add_locale_wctype_table. Use
19271 new locale_file interface.
19272 (allocate_arrays): Update for use of new locale_file interface.
19273 * locale/programs/ld-identification.c (identification_output): Use
19274 new locale_file interface.
19275 * locale/programs/ld-measurement.c (measurement_output): Likewise.
19276 * locale/programs/ld-messages.c (messages_output): Likewise.
19277 * locale/programs/ld-monetary.c (monetary_output): Likewise.
19278 * locale/programs/ld-name.c (name_output): Likewise.
19279 * locale/programs/ld-numeric.c (numeric_output): Likewise.
19280 * locale/programs/ld-paper.c (paper_output): Likewise.
19281 * locale/programs/ld-telephone.c (telephone_output): Likewise.
19282 * locale/programs/ld-time.c (time_output): Likewise.
19283
e029e2e5
AZ
192842013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19285
19286 * benchtests/Makefile: Add memrchr benchmark.
19287 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
19288 benchmark as memrchr.
19289 * benchtests/bench-memrchr-ifunc.c: New file.
19290 * benchtests/bench-memrchr.c: New file.
19291
bbf6e8e4
WN
192922013-09-06 Will Newton <will.newton@linaro.org>
19293
19294 * benchtests/Makefile (string-bench): Add memcpy.
19295
6c82a2f8
CD
192962013-09-05 Carlos O'Donell <carlos@redhat.com>
19297 Cong Wang <amwang@redhat.com>
19298
e732c5f0 19299 [BZ #15850]
6c82a2f8
CD
19300 * sysdeps/unix/sysv/linux/bits/in.h
19301 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
19302 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
19303 before __USE_KERNEL_IPV6_DEFS uses.
19304 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
19305 IPPROTO_BEETPH.
19306 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
19307 sockaddr_in6, or ipv6_mreq.
19308
5430fc65
AZ
193092013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19310
19311 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
19312 memory access for final bytes in some large inputs.
19313 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
19314
4660856c
AZ
193152013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19316
19317 * string/test-memrchr.c: New file.
19318 * string/test-memrchr-ifunc.c: New file.
19319 * string/Makefile: Add new memrchr testcase.
19320
bb8ea713
MF
193212013-09-05 Mike Frysinger <vapier@gentoo.org>
19322
19323 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
19324 fanotify_init returns EPERM.
19325
b92a20b5
JM
193262013-09-04 Joseph Myers <joseph@codesourcery.com>
19327
19328 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
19329 errors.
19330 (top level): Treat second token from macro or constant entries for
19331 allowed headers as allowed.
19332 * include/complex.h: Condition internal declarations on
19333 [!_ISOMAC].
19334 * include/fenv.h: Condition include of <stdbool.h> and internal
19335 declarations on [!_ISOMAC].
7447ccd9
CL
19336
193372013-09-04 Chris Leonard <cjl@sugarlabs,.org>
19338
3e181dda 19339 [BZ #15923]
7447ccd9
CL
19340 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
19341
3f2e46a4
JM
193422013-09-04 Joseph Myers <joseph@codesourcery.com>
19343
19344 * configure.in (--enable-versioning): Remove configure option.
19345 (libc_cv_asm_symver_directive): Remove configure test.
19346 (libc_cv_ld_version_script_option): Likewise.
19347 (VERSIONING): Remove variable and AC_SUBST.
19348 (DO_VERSIONING): Remove AC_DEFINE.
19349 * configure: Regenerated.
19350 * config.h.in (DO_VERSIONING): Remove macro.
19351 * Makerules [$(versioning) = yes]: Change conditionals to
19352 [$(build-shared) = yes].
19353 * config.make.in (versioning): Remove variable.
19354 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
19355 [$(build-shared) = yes].
19356 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
19357 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
19358 * elf/Makefile [$(versioning) = yes]: Change conditionals to
19359 [$(build-shared) = yes].
19360 * extra-lib.mk [$(versioning) = yes]: Likewise.
19361 * hurd/Makefile [$(versioning) = yes]: Likewise.
19362 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
19363 [SHARED].
19364 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
19365 [SHARED].
19366 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
19367 [SHARED && !NO_HIDDEN].
19368 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
19369 [SHARED].
19370 [SHARED && DO_VERSIONING]: Likewise..
19371 * libio/Makefile [$(versioning) = yes]: Change conditionals to
19372 [$(build-shared) = yes].
19373 * manual/install.texi (--disable-versioning): Remove
19374 documentation.
19375 * INSTALL: Regenerated.
19376 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
19377 to [SHARED].
19378 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
19379 [$(build-shared) = yes].
19380 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
19381 * sysdeps/i386/i686/multiarch/strstr-c.c
19382 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
19383 [SHARED && !NO_HIDDEN].
19384 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
19385 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
19386 * sysdeps/powerpc/powerpc32/dl-machine.c
19387 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
19388 * sysdeps/powerpc/powerpc32/sysdep.h
19389 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
19390 to [SHARED && PIC && !NO_HIDDEN].
19391 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
19392 conditional to [SHARED].
19393
44558701
WN
193942013-09-04 Will Newton <will.newton@linaro.org>
19395
19396 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
19397 * benchtests/bench-string.h: Include bench-timing.h instead
19398 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
19399 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
19400 call to HP_TIMING_DIFF_INIT.
19401 * benchtests/bench-memccpy.c: Use bench-timing.h macros
19402 instead of hp-timing.h macros.
19403 * benchtests/bench-memchr.c: Likewise.
19404 * benchtests/bench-memcmp.c: Likewise.
19405 * benchtests/bench-memcpy.c: Likewise.
19406 * benchtests/bench-memmem.c: Likewise.
19407 * benchtests/bench-memmove.c: Likewise.
19408 * benchtests/bench-memset.c: Likewise.
19409 * benchtests/bench-rawmemchr.c: Likewise.
19410 * benchtests/bench-strcasecmp.c: Likewise.
19411 * benchtests/bench-strcasestr.c: Likewise.
19412 * benchtests/bench-strcat.c: Likewise.
19413 * benchtests/bench-strchr.c: Likewise.
19414 * benchtests/bench-strcmp.c: Likewise.
19415 * benchtests/bench-strcpy.c: Likewise.
19416 * benchtests/bench-strcpy_chk.c: Likewise.
19417 * benchtests/bench-strlen.c: Likewise.
19418 * benchtests/bench-strncasecmp.c: Likewise.
19419 * benchtests/bench-strncat.c: Likewise.
19420 * benchtests/bench-strncmp.c: Likewise.
19421 * benchtests/bench-strncpy.c: Likewise.
19422 * benchtests/bench-strnlen.c: Likewise.
19423 * benchtests/bench-strpbrk.c: Likewise.
19424 * benchtests/bench-strrchr.c: Likewise.
19425 * benchtests/bench-strspn.c: Likewise.
19426 * benchtests/bench-strstr.c: Likewise.
19427
cae16d66
WN
194282013-09-04 Will Newton <will.newton@linaro.org>
19429
19430 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
19431
ffa3cd7f
JM
194322013-09-03 Joseph Myers <joseph@codesourcery.com>
19433
19434 [BZ #15427]
19435 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
19436 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
19437 * math/libm-test.inc (lgamma_test_data): Add more tests.
19438 * sysdeps/i386/fpu/libm-test-ulps: Update.
19439 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19440
8f02859f
OB
194412013-09-03 Ondřej Bílka <neleai@seznam.cz>
19442
19443 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
19444 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
19445 Add ifunc.
19446 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
19447 Add strcmp-sse2-unaligned
19448 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
19449
18d43716
MF
194502013-09-02 Mike Frysinger <vapier@gentoo.org>
19451
19452 * Versions.def (libc): Add GLIBC_2.19.
19453
ac444012
MF
194542013-09-02 Mike Frysinger <vapier@gentoo.org>
19455
19456 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
19457 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
19458
b7835e32
JM
194592013-09-02 Joseph Myers <joseph@codesourcery.com>
19460
19461 [BZ #14155]
19462 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
19463 intermediate calculations in recurrence.
19464 (__ieee754_ynf): Likewise.
19465 * math/libm-test.inc (jn_test_data): Do not allow spurious
19466 underflow exception. Add more tests.
19467 (yn_test_data): Add more tests.
19468 * sysdeps/i386/fpu/libm-test-ulps: Update.
19469 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19470
8220f4f0
OB
194712013-09-02 Ondřej Bílka <neleai@seznam.cz>
19472
19473 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
19474
f24a6d08
OB
194752013-08-30 Ondřej Bílka <neleai@seznam.cz>
19476
19477 * csu/init-first.c: Fix then/than typos.
19478 * locale/programs/ld-collate.c: Likewise.
19479 * locale/programs/linereader.h: Likewise.
19480 * manual/charset.texi: Likewise.
19481 * manual/filesys.texi: Likewise.
19482 * manual/stdio.texi: Likewise.
19483 * manual/string.texi: Likewise.
19484 * stdlib/fmtmsg.c: Likewise.
19485 * sysdeps/i386/stpncpy.S: Likewise.
19486 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
19487 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
19488 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
19489 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
19490
382466e0
OB
194912013-08-30 Ondřej Bílka <neleai@seznam.cz>
19492
19493 * elf/dl-open.c: Fix typos.
19494 * iconvdata/gbbig5.c: Likewise.
19495 * iconvdata/iso-2022-jp.c: Likewise.
19496 * iconv/gconv_int.h: Likewise.
19497 * iconv/loop.c: Likewise.
19498 * nis/rpcsvc/nis.h: Likewise.
19499 * resolv/ns_name.c: Likewise.
19500 * stdio-common/vfscanf.c: Likewise.
19501 * streams/stropts.h: Likewise.
19502 * sunrpc/rpc_thread.c: Likewise.
19503 * sysdeps/i386/strpbrk.S: Likewise.
19504 * sysdeps/ieee754/k_standard.c: Likewise.
19505 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
19506 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
19507 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
19508 * sysdeps/mach/hurd/profil.c: Likewise.
19509 * sysdeps/s390/dl-procinfo.h: Likewise.
19510 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
19511 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
19512 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
19513 * sysdeps/x86_64/dl-trampoline.S: Likewise.
19514 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
19515
0186c6e9
OB
195162013-08-30 Ondřej Bílka <neleai@seznam.cz>
19517
19518 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
19519 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
19520
d4e16af1
OB
195212013-08-29 Ondřej Bílka <neleai@seznam.cz>
19522
19523 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
19524 aix specific files.
19525 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
19526 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
19527 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
19528 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
19529 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
19530 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
19531 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
19532 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
19533
88335980
TS
195342013-08-29 Thomas Schwinge <thomas@codesourcery.com>
19535 Roland McGrath <roland@hack.frob.com>
19536
19537 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
19538 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
19539
ed479b02
ST
195402013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
19541
19542 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
19543 __executable_start symbol instead of _start.
19544
f1cc4c86
TS
195452013-08-29 Thomas Schwinge <thomas@codesourcery.com>
19546
d821f07c
TS
19547 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
19548 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
19549 Move macros to...
19550 * sysdeps/gnu/ldsodefs.h: ... this new file.
19551
c54290cf
TS
19552 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
19553 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
19554 instead of ELFOSABI_LINUX.
19555
0007fc9b 19556 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
0007fc9b
TS
19557 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
19558 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
19559 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
19560 Likewise.
19561 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
19562 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
19563 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
19564 Likewise.
19565 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
19566 (ibm_extended_long_double): Add ieee_nan member.
19567 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
19568 (do_test): New function.
19569
f1cc4c86
TS
19570 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
19571 TEST_TRUNC.
19572 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
19573 functions, renamed from truncdfsf_test, trunctfsf_test,
19574 trunctfdf_test.
19575 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
19576 functions.
19577 (do_test): Run all these.
19578
6f65e668
OB
195792013-08-29 Ondřej Bílka <neleai@seznam.cz>
19580
19581 * argp/argp-help.c: Fix typos.
19582 * argp/argp-parse.c: Likewise.
19583 * debug/backtracesyms.c: Likewise.
19584 * elf/elf.h: Likewise.
19585 * malloc/malloc.c: Likewise.
19586 * nis/nis_print.c: Likewise.
19587 * resolv/res_comp.c: Likewise.
19588 * stdlib/stdlib.h: Likewise.
19589 * sunrpc/clnt_tcp.c: Likewise.
19590 * sunrpc/clnt_udp.c: Likewise.
19591 * sunrpc/clnt_unix.c: Likewise.
19592 * sysdeps/unix/bsd/ptsname.c: Likewise.
19593 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
19594 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
99541e80
RM
19595 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
19596 Likewise.
19597 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
19598 Likewise.
19599 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
19600 Likewise.
6f65e668
OB
19601 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
19602
3a309239
SP
196032013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
19604
19605 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
19606 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
19607
3b813b29
MF
196082013-08-27 Mike Frysinger <vapier@gentoo.org>
19609
19610 [BZ #15897]
19611 * dlfcn/Makefile (tests): Add bug-dl-leaf.
19612 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
19613 ($(objpfx)bug-dl-leaf): New rule.
19614 ($(objpfx)bug-dl-leaf.so): Likewise.
19615 ($(objpfx)bug-dl-leaf.out): Likewise.
19616 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
19617 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
19618 * dlfcn/bug-dl-leaf.c: New test.
19619 * dlfcn/bug-dl-leaf-lib.c: Likewise.
19620 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
19621 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
19622 (dlclose): Likewise.
19623 (dlmopen): Likewise.
19624
8cc3269f
RM
196252013-08-27 Roland McGrath <roland@hack.frob.com>
19626
7f9d0034
RM
19627 * include/netdb.h [!_ISOMAC]:
19628 Don't include <tls.h>.
19629 (h_errno, __libc_h_errno): Move declaration and macros out of
19630 [_LIBC_REENTRANT].
19631
fb431262
RM
19632 * include/resolv.h [_RESOLV_H_]:
19633 Don't include <tls.h>.
19634 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
19635 * resolv/res_libc.c: Don't include <tls.h>.
19636 (_res): Use __attribute__ ((nocommon)) in place of
19637 __attribute__ ((section (".bss"))).
19638
bd81123a
RM
19639 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
19640 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
19641
c4e42566
RM
19642 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
19643
f890a59b
RM
19644 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
19645 only under [SIOCGIFCONF && SIOCGIFNETMASK].
19646
19647 * resolv/res_mkquery.c: Include <sys/time.h>.
19648
5d1f0a09
RM
19649 * inet/ifreq.c: Moved to ...
19650 * sysdeps/unix/ifreq.c: ... here.
19651 * inet/ifreq.c: New file, true stub version.
19652
6fcf28b3
RM
19653 * socket/sa_len.c: New file.
19654 * socket/Makefile (aux): Add it.
19655 * sysdeps/unix/sysv/linux/Makefile
19656 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
19657 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
19658 and #include <socket/sa_len.c>.
19659 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
19660 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
19661
e041fb8b
RM
19662 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
19663 * bits/socket.h: ... here.
19664
8cc3269f
RM
19665 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
19666 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
19667 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
19668
5d228a43
AS
196692013-08-27 Andreas Schwab <schwab@suse.de>
19670
45b8accc
AS
19671 [BZ #15736]
19672 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
19673 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
19674 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
19675 * string/test-strcasecmp.c (test_main): Run tests in several
19676 locales.
19677 * string/test-strncasecmp.c (test_main): Likewise.
19678
5d228a43
AS
19679 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
19680 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
19681 to __strcasecmp_nonascii and __strncasecmp_nonascii.
19682 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
19683 (__strncasecmp_ssse3) [PIC]: Likewise.
19684
59d112a4
RM
196852013-08-26 Roland McGrath <roland@hack.frob.com>
19686
53234cc3
RM
19687 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
19688
59d112a4
RM
19689 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
19690 instead of explicitly declaring xdecrypt.
19691 * nis/nss_nis/nis-publickey.c: Likewise.
19692
595aba70
SP
196932013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
19694
19695 [BZ #15890]
19696 * nscd/aicache.c: Include res_hconf.h.
19697 (addhstaiX): Initialize res_hconf.
19698
ffabd393
AS
196992013-08-26 Andreas Schwab <schwab@suse.de>
19700
19701 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
19702 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
19703
e0a69f5c
SP
197042013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
19705
19706 * nscd/aicache.c (addhstaiX): Fix indentation.
19707
8c12f01d
MF
197082013-08-25 Mike Frysinger <vapier@gentoo.org>
19709
19710 * configure.ac: Quote $build_pt_chown test.
19711 * configure: Regenerated.
19712
8fe89494
JM
197132013-08-23 Joseph Myers <joseph@codesourcery.com>
19714
19715 [BZ #15532]
19716 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
19717 * math/s_cexpf.c (__cexpf): Likewise.
19718 * math/s_cexpl.c (__cexpl): Likewise.
19719 * math/libm-test.inc (cexp_test_data): Correct expected return
19720 value for NaN + i0. Add another test.
19721
75b181d6
DM
197222013-08-22 David S. Miller <davem@davemloft.net>
19723
19724 * po/ca.po: Update Catalan translation from translation project.
936241e4 19725 * po/uk.po: Add Ukrainian translations from translation project.
75b181d6 19726
acd06bb1
JM
197272013-08-21 Joseph Myers <joseph@codesourcery.com>
19728
19729 [BZ #15797]
19730 * math/s_fdim.c (__fdim): Check for infinite arguments if result
19731 is infinite, not alongside NaN test.
19732 * math/s_fdimf.c (__fdimf): Likewise.
19733 * math/s_fdiml.c (__fdiml): Likewise.
19734 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
19735 errno is unchanged.
19736
c0c3f78a
OB
197372013-08-21 Ondřej Bílka <neleai@seznam.cz>
19738
19739 * argp/argp-help.c: Fix typos.
19740 * crypt/speeds.c: Likewise.
19741 * csu/check_fds.c: Likewise.
19742 * elf/dl-load.c: Likewise.
19743 * elf/dl-open.c: Likewise.
19744 * elf/reldep3.c: Likewise.
19745 * elf/reldep.c: Likewise.
19746 * elf/sprof.c: Likewise.
19747 * iconv/iconv_charmap.c: Likewise.
19748 * iconv/skeleton.c: Likewise.
19749 * iconv/strtab.c: Likewise.
19750 * io/lockf64.c: Likewise.
19751 * libio/libioP.h: Likewise.
19752 * resolv/gai_notify.c: Likewise.
19753 * resolv/ns_name.c: Likewise.
19754 * resolv/ns_samedomain.c: Likewise.
19755 * resolv/res_send.c: Likewise.
19756 * stdlib/random.c: Likewise.
19757 * sunrpc/rpc/xdr.h: Likewise.
19758 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
19759 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
19760 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
19761 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
19762 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
19763 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
19764 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
19765 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
19766 * sysdeps/mach/hurd/check_fds.c: Likewise.
19767 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
19768 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
19769 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
19770 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
19771 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
19772 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
19773 * sysdeps/pthread/aio_notify.c: Likewise.
19774 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
19775 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
19776 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
19777 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
19778 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
19779
46ed1038
LD
197802013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
19781
19782 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
19783 version if bit_Slow_SSE4_2 is set.
19784 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
19785 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
19786
d400dcac
AZ
197872013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19788
19789 [BZ #15867]
19790 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
19791 trampoline stack frame information.
19792 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
19793 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
19794 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
19795 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
19796 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
19797 * sysdeps/unix/sysv/linux/powerpc/init-first.c
19798 (_libc_vdso_platform_setup): Initialize the signal trampolines.
19799 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
19800 sa_flags value.
19801 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
19802 interrupting a syscall and set with option SA_SIGINFO.
19803
42c8fdd8
JM
198042013-08-20 Joseph Myers <joseph@codesourcery.com>
19805
c980f2f4
JM
19806 [BZ #15531]
19807 * math/s_cproj.c (__cproj): Only return an infinity if one part of
19808 argument is infinite.
19809 * math/s_cprojf.c (__cprojf): Likewise.
19810 * math/s_cprojl.c (__cprojl): Likewise.
19811 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
19812 * math/libm-test.inc (cproj_test_data): Add more tests.
19813
0716c4fc
JM
19814 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
19815
42c8fdd8
JM
19816 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
19817 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
19818 size. Use __ffs to determine corresponding shift.
19819
b31469d0
JM
198202013-08-20 Joseph Myers <joseph@codesourcery.com>
19821 Roland McGrath <roland@hack.frob.com>
19822
19823 * Makefile (INSTALL): Remove trailing blank lines from output of
19824 makeinfo.
19825
4e39af6e
AK
198262013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19827
19828 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
19829 Align 32 bit compat elf_greg to 8 bytes.
19830
f315524e
AA
198312013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
19832
19833 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
19834
1326ba1a
SP
198352013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
19836
19837 * string/strcoll_l.c (coll_seq): New structure.
19838 (get_next_seq_cached): New function.
19839 (get_next_seq): New function.
19840 (do_compare): New function.
19841 (STRCOLL): Use GNU style definition. Simplify implementation
19842 by using get_next_seq, get_next_seq_cached and do_compare.
19843
91ce4085
FW
198442013-08-16 Florian Weimer <fweimer@redhat.com>
19845
19846 [BZ #14699]
19847 CVE-2013-4237
19848 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
19849 member.
19850 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
19851 member.
19852 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
19853 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
19854 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
19855 conditional.
19856 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
19857 GETDENTS_64BIT_ALIGNED.
19858 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
19859 * manual/filesys.texi (Reading/Closing Directory): Document
19860 ENAMETOOLONG return value of readdir_r. Recommend readdir more
19861 strongly.
19862 * manual/conf.texi (Limits for Files): Add portability note to
19863 NAME_MAX, PATH_MAX.
19864 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
19865
ca0a6bc4
AS
198662013-08-13 Andreas Schwab <schwab@suse.de>
19867
19868 [BZ #15749]
19869 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
19870 of fabs.
19871 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
19872 LDBL_MAX_EXP >= 16384]: Add tests for it.
19873
6c1fd795
DM
198742013-08-12 David S. Miller <davem@davemloft.net>
19875
19876 * version.h (RELEASE): Set to "development".
19877 (VERSION): Set to "2.18.90".
19878 * NEWS: Add 2.19 section.
19879
31ad488d
DM
198802013-08-03 David S. Miller <davem@davemloft.net>
19881
19882 * po/ko.po: Update Korean translation from translation project.
19883
db24e684
DM
198842013-08-01 David S. Miller <davem@davemloft.net>
19885
19886 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
19887 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
19888 Bilka.
19889
f723285b
DM
198902013-07-30 David S. Miller <davem@davemloft.net>
19891
19892 * po/fr.po: Update French translation from translation project.
19893
3cbc52db
DM
198942013-07-28 David S. Miller <davem@davemloft.net>
19895
30bbc0cc
DM
19896 * po/cs.po: Update Czech translation from translation project.
19897
3cbc52db
DM
19898 * po/sv.po: Update Swedish translation from translation project.
19899
d492e6d0
DM
199002013-07-27 David S. Miller <davem@davemloft.net>
19901
f1a7f492
DM
19902 * po/eo.po: Update Esperanto translation from translation project.
19903
90e62a4a
DM
19904 * po/vi.po: Update Vietnamese translation from translation project.
19905
d492e6d0
DM
19906 * po/de.po: Update German translation from translation project.
19907
d4baa62d
DM
199082013-07-26 David S. Miller <davem@davemloft.net>
19909
641aa7b4
DM
19910 * po/bg.po: Update Bulgarian translation from translation project.
19911
d4baa62d
DM
19912 * po/nl.po: Update Dutch translation from translation project.
19913 * po/pl.po: Update Polish translation from translation project.
19914 * po/ru.po: Update Russian translation from translation project.
19915
61a9dcb9
DM
199162013-07-24 David S. Miller <davem@davemloft.net>
19917
19918 * po/libc.pot: Update.
19919
7b1f8b58
AZ
199202013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19921
19922 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
19923 variable page size.
19924 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
19925 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
19926 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
19927
a8fc7a03
AK
199282013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19929
19930 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
19931
e4608715
CD
199322013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
19933 Andreas Schwab <schwab@suse.de>
19934 Roland McGrath <roland@hack.frob.com>
19935 Joseph Myers <joseph@codesourcery.com>
19936 Carlos O'Donell <carlos@redhat.com>
19937
19938 [BZ #15755]
19939 * config.h.in: Define HAVE_PT_CHOWN.
19940 * config.make.in (build-pt-chown): New variable.
19941 * configure.in (--enable-pt_chown): New configure option.
19942 * configure: Regenerate.
19943 * login/Makefile: Include Makeconfig. Build pt_chown only if
19944 build-pt-chown is enabled.
19945 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
19946 pt_chown to fix pty ownership.
19947 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
19948 CLOSE_ALL_FDS.
19949 * manual/install.texi (Configuring and compiling): Mention
19950 --enable-pt_chown. Add @findex for grantpt.
19951 * INSTALL: Regenerate.
19952
da2d62df
DM
199532013-07-20 David S. Miller <davem@davemloft.net>
19954
19955 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
19956 difference between 32-bit and 64-bit.
19957
d7e06450
CD
199582013-07-15 Carlos O'Donell <carlos@redhat.com>
19959
19960 [BZ #15711]
19961 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
19962 Avoid system header dependency with -ffreestanding.
19963 ($(objpfx)bits/syscall%d): Likewise.
19964
f959cfd7
DM
199652013-07-13 David S. Miller <davem@davemloft.net>
19966
19967 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
19968 underflows from atanl/atan2l due to bug 15319.
19969 (casinh_test_data): Likewise.
19970
c61f8513
DM
199712013-07-07 David S. Miller <davem@davemloft.net>
19972
19973 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
19974
72c90ed0
JA
199752013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
19976
19977 * sysdeps/i386/fpu/libm-test-ulps: Update.
19978 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19979
52dfbe13
SP
199802013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
19981
19982 * configure.in (--enable-lock-elision): Fix message text.
19983 * INSTALL: Regenerate.
19984 * configure: Regenerate.
19985
3f169543
AZ
199862013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19987
19988 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19989
521c6785
AJ
199902013-07-03 Andreas Jaeger <aj@suse.de>
19991
19992 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
19993 define.
19994 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
19995 (ptrace_peeksiginfo_args): Add.
19996 (__ptrace_peeksiginfo_flags): Add.
19997 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
19998 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
19999 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
20000
d2cc15cb
AM
200012013-07-03 Allan McRae <allan@archlinux.org>
20002
20003 * sysdeps/i386/fpu/libm-test-ulps: Update.
20004
3aaeeca7
DM
200052013-07-02 David S. Miller <davem@davemloft.net>
20006
20007 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20008
5314ed1a
MT
200092013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
20010
20011 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20012
67338156
JM
200132013-07-02 Joseph Myers <joseph@codesourcery.com>
20014
20015 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
20016 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20017
1717da59
AK
200182013-07-02 Andi Kleen <ak@linux.intel.com>
20019
20020 * config.h.in (ENABLE_LOCK_ELISION): Add.
20021 * configure.in (--enable-lock-elision): Add option.
20022 * manual/install.texi: Document --enable lock elision.
20023 * configure: Regenerate
20024 * INSTALL: Regenerate.
20025
1c81621c
L
200262013-07-02 H.J. Lu <hongjiu.lu@intel.com>
20027
20028 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
20029 SSE4.2 strcasecmp for libc.a.
20030 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
20031
77f01ab5
JM
200322013-07-02 Joseph Myers <joseph@codesourcery.com>
20033
20034 [BZ #13304]
20035 * soft-fp/op-common.h (_FP_FMA): New macro.
20036 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
20037 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
20038 (_FP_MUL_MEAT_1_imm): ... here.
20039 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
20040 (_FP_MUL_MEAT_1_wide): ... here.
20041 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
20042 (_FP_MUL_MEAT_1_hard): ... here.
20043 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
20044 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
20045 (_FP_MUL_MEAT_2_wide): ... here.
20046 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
20047 (_FP_MUL_MEAT_2_wide_3mul): ... here.
20048 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
20049 (_FP_MUL_MEAT_2_gmp): ... here.
20050 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
20051 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
20052 (_FP_MUL_MEAT_4_wide): ... here.
20053 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
20054 (_FP_MUL_MEAT_4_gmp): ... here.
20055 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
20056 (_FP_WFRACBITS_DW_S): Likewise.
20057 (_FP_WFRACXBITS_DW_S): Likewise.
20058 (_FP_HIGHBIT_DW_S): Likewise.
20059 (FP_FMA_S): Likewise.
20060 (_FP_FRAC_HIGH_DW_S): Likewise.
20061 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
20062 (_FP_WFRACBITS_DW_D): Likewise.
20063 (_FP_WFRACXBITS_DW_D): Likewise.
20064 (_FP_HIGHBIT_DW_D): Likewise.
20065 (FP_FMA_D): Likewise.
20066 (_FP_FRAC_HIGH_DW_D): Likewise.
20067 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
20068 (_FP_WFRACBITS_DW_E): Likewise.
20069 (_FP_WFRACXBITS_DW_E): Likewise.
20070 (_FP_HIGHBIT_DW_E): Likewise.
20071 (FP_FMA_E): Likewise.
20072 (_FP_FRAC_HIGH_DW_E): Likewise.
20073 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
20074 (_FP_WFRACBITS_DW_Q): Likewise.
20075 (_FP_WFRACXBITS_DW_Q): Likewise.
20076 (_FP_HIGHBIT_DW_Q): Likewise.
20077 (FP_FMA_Q): Likewise.
20078 (_FP_FRAC_HIGH_DW_Q): Likewise.
20079 * soft-fp/fmasf4.c: New file.
20080 * soft-fp/fmadf4.c: Likewise.
20081 * soft-fp/fmatf4.c: Likewise.
20082
6308fd9a
LD
200832013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
20084
20085 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
20086 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
20087 Silvermont.
20088 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
20089 macro.
20090 (index_Slow_SSE4_2): Likewise.
20091 (index_Prefer_PMINUB_for_stringop): Likewise.
20092 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
20093 bit_Slow_SSE4_2 is set.
20094 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
20095 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
20096
89cd9569
RA
200972013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
20098
20099 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
20100 rtld_global._dl_hwcap2.
20101 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
20102 POWER8.
20103 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
20104 POWER8 feature descriptions defined in _dl_hwcap2.
20105 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
20106 string handling for POWER8 feature bits.
20107 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
20108 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
20109 _dl_powerpc_cap_flags.
20110 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
20111 * sysdeps/powerpc/rtld-global-offsets.sym
20112 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
20113 _dl_hwcap2 in the rtld_global_ro structure.
20114
1ae8bfe0
RA
201152013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
20116
20117 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
20118 hardware capabilities in support of AT_HWCAP2.
20119 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
20120 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
20121 GLRO(dl_hwcap2).
20122 (_dl_show_auxv): Add support for calling _dl_procinfo to display
20123 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
20124 explicitly the unknown a_type display mechanism is used.
20125 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
20126 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
20127 struct member.
20128 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
20129 to macro prototype for AT_HWCAP2 support.
20130 * sysdeps/i386/dl-procinfo.h: Likewise.
20131 * sysdeps/s390/dl-procinfo.h: Likewise.
20132 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
20133 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
20134 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
20135 return -1 for unknown a_type display fallback.
20136 * sysdeps/sparc/dl-procinfo.h: Likewise.
20137 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
20138 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
20139
8fbec010
JM
201402013-06-28 Joseph Myers <joseph@codesourcery.com>
20141
20142 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
20143 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
20144
0432680e
PY
201452013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
20146
20147 [BZ #12492]
20148 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
20149 mprotect making __stack_prot writable.
20150
ce61a2ad
NF
201512013-06-28 Nathan Froyd <froydnj@codesourcery.com>
20152 Joseph Myers <joseph@codesourcery.com>
20153
20154 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
20155 as being properly aligned.
20156
f91f1c0f
MR
201572013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
20158
3d0f5d0c
MR
20159 * dlfcn/modstatic5.c: New file.
20160 * dlfcn/tststatic5.c: New file.
20161 * dlfcn/Makefile (tests): Add tststatic5.
20162 (tests-static): Likewise.
20163 (modules-names): Add modstatic5.
20164 (tststatic5-ENV): New variable.
20165 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
20166
f91f1c0f
MR
20167 [BZ #15022]
20168 * elf/dl-support.c (_dl_main_map): New variable.
20169 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
20170 (_dl_nns, _dl_load_adds): Set to 1.
20171 (_dl_initial_searchlist): Refer to _dl_main_map.
20172 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
20173 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
20174 call to _dl_get_origin.
20175 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
20176 around call_map.
20177 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
20178 * dlfcn/modstatic3.c: New file.
20179 * dlfcn/tststatic3.c: New file.
20180 * dlfcn/tststatic4.c: New file.
20181 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
20182 (tests-static): Likewise.
20183 (modules-names): Add modstatic3.
20184 (tststatic3-ENV, tststatic4-ENV): New variables.
20185 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
20186 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
20187
cbe7d24b
JM
201882013-06-26 Joseph Myers <joseph@codesourcery.com>
20189
20190 * configure.in (CC): Require GCC version 4.4 or later.
20191 * configure: Regenerated.
20192 * manual/install.texi (Tools for Compilation): Update GCC version
20193 requirement.
20194 * INSTALL: Regenerated.
20195
11b8a0e1
LD
201962013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
20197
20198 [BZ #15674]
bb5bb87c
L
20199 * string/test-memcmp.c (check2): New.
20200 (main): Call check2.
20201
11b8a0e1
LD
20202 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
20203
b0037103
MR
202042013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
20205
20206 [BZ #15022]
20207 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
20208 over to...
20209 (dl_open_worker) [!SHARED]: ... here.
20210
c18c701d
RA
202112013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
20212
20213 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
20214
1d17fa5f
RH
202152013-06-25 Richard Henderson <rth@redhat.com>
20216
20217 * locale/programs/locarchive.c: Include <libc-internal.h>
20218
8fcb833a
JM
202192013-06-25 Joseph Myers <joseph@codesourcery.com>
20220
20221 * manual/texinfo.tex: Update to version 2013-06-21.17, with
20222 trailing whitespace removed.
20223
17db6e8d
MF
202242013-06-24 Mike Frysinger <vapier@gentoo.org>
20225
20226 [BZ #10283]
17db6e8d
MF
20227 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
20228 * locale/programs/locarchive.c: Include libc-mmap.h.
20229 (prepare_address_space): Take two new outputs (the mmap base and len).
20230 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
20231 values.
20232 (create_archive): Declare new mmap base and len values for
20233 prepare_address_space, and store the result in ah.
20234 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
20235 (enlarge_archive): If ah->mmap_base is not NULL, use that and
20236 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
20237 Declare new mmap base and len values for
20238 prepare_address_space, and store the result in new_ah.
20239 (open_archive): Declare new mmap base and len values for
20240 prepare_address_space, and store the result in ah.
20241 (close_archive): If ah->mmap_base is not NULL, use that and
20242 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
20243 * sysdeps/generic/libc-mmap.h: New file.
20244
d605071e
MF
202452013-06-24 Mike Frysinger <vapier@gentoo.org>
20246
20247 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
20248 (ALIGN_UP): Likewise.
20249 (PTR_ALIGN_DOWN): Likewise.
20250 (PTR_ALIGN_UP): Likewise.
20251
2f063a6e
RA
202522013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
20253
20254 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
20255 entry mapped to PPC_PLATFORM_POWER8.
20256 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
20257 POWER8.
20258 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
20259 (_dl_string_platform): Add case for exporting platform position for
20260 POWER8.
20261 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
20262 search path to sysdeps/powerpc/powerpc32/power8 directory.
20263 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
20264 search path to sysdeps/powerpc/powerpc64/power8 directory.
20265 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
20266 power7 directories.
20267 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
20268 power7 directories.
20269
a31ee4b3
SP
202702013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
20271
a74ca98f
SP
20272 * INSTALL: Regenerate.
20273
a31ee4b3
SP
20274 * nscd/connections.c (nscd_init): Fix comment.
20275
695c378f
JM
202762013-06-22 Joseph Myers <joseph@codesourcery.com>
20277
d8412221
JM
20278 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
20279
695c378f
JM
20280 [BZ #15667]
20281 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
20282 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
20283
d1d54715
MR
202842013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
20285
20286 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
20287 DL_DST_REQ_STATIC.
20288 (DL_DST_REQ_STATIC): Remove macro.
20289
8fdda7af
JM
202902013-06-21 Joseph Myers <joseph@codesourcery.com>
20291
20292 [BZ #7006]
20293 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
20294 with a shift of 0 bits.
20295
f3bc5e5a
MR
202962013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
20297
20298 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
20299 $(tststatic-ENV).
20300
be09e8c9
KK
203012013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
20302
20303 [BZ #15655]
20304 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
20305
85c2e611
AZ
203062013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20307
20308 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
20309 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
20310 accepts -fno-tree-loop-distribute-patterns.
20311 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
20312 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
20313 recursive call.
20314 * string/memset.c (memset): Likewise.
20315 * string/test-memmove.c (simple_memmove): Disable loop transformation
20316 to library calls.
20317 * string/test-memset.c (simple_memset): Likewise.
20318 * benchtests/bench-memmove.c (simple_memmove): Likewise.
20319 * benchtests/bench-memset.c (simple_memset): Likewise.
20320 * configure: Regenerated.
20321
c91e0825
JM
203222013-06-20 Joseph Myers <joseph@codesourcery.com>
20323
b8c792af
JM
20324 * math/test-misc.c (main): Ignore fesetround failure when failures
20325 of subsequent rounding tests would be ignored.
20326
c91e0825
JM
20327 [BZ #15654]
20328 * math/fedisblxcpt.c (fedisableexcept): Return 0.
20329 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
20330 * math/fegetenv.c (__fegetenv): Return 0.
20331 * math/fegetexcept.c (fegetexcept): Return 0.
20332 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
20333 FE_TONEAREST.
20334 * math/feholdexcpt.c (feholdexcept): Return 0.
20335 * math/fesetenv.c (__fesetenv): Return 0.
20336 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
20337 argument FE_TONEAREST.
20338 * math/feupdateenv.c (__feupdateenv): Return 0.
20339 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
20340
bfcacbde
RM
203412013-06-18 Roland McGrath <roland@hack.frob.com>
20342
20343 * elf/rtld-Rules (rtld-compile-command.S): New variable.
20344 (rtld-compile-command.s, rtld-compile-command.c): New variables.
20345 ($(objpfx)rtld-%.os rules): Use them.
20346
e55a9b25
AZ
203472013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20348
20349 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
20350 fields.
20351
346d65b3
RM
203522013-06-17 Roland McGrath <roland@hack.frob.com>
20353
12086fb4
RM
20354 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
20355 length of target pattern, then descending length of dependency pattern.
20356 * configure.in (AWK): Require gawk 3.1.2 or newer.
20357 * manual/install.texi (Tools for Compilation): Say that we do.
20358 * configure: Regenerated.
20359
346d65b3
RM
20360 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
20361 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
20362 * scripts/sysd-rules.awk: ... this new script.
20363 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
20364 than a glob-style pattern.
20365
1a846317
JM
203662013-06-17 Joseph Myers <joseph@codesourcery.com>
20367
20368 * math/test-misc.c (main): Do not treat incorrectly rounded
20369 conversions as failure unless ROUNDING_TESTS passes.
20370
8fc75e6f
JM
203712013-06-15 Joseph Myers <joseph@codesourcery.com>
20372
3711a167
JM
20373 [BZ #15631]
20374 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
20375 restore exception state around main square root computation, then
20376 check for inexactness explicitly.
20377
8fc75e6f
JM
20378 * math/libm-test.inc (fma_test_data): Add another test.
20379
61dd6208
SP
203802013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
20381
adf23d2c
SP
20382 * manual/threads.texi (Non-POSIX Extensions): New document
20383 node. Document pthread_getattr_default_np and
20384 pthread_setattr_default_np.
20385
61dd6208
SP
20386 * Versions.def (libpthread): Add GLIBC_2.18.
20387 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
20388 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
20389 Likewise.
20390 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
20391 Likewise.
20392 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
20393 Likewise.
20394 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
20395 Likewise.
20396 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
20397 Likewise.
20398 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
20399 Likewise.
20400 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
20401 Likewise.
20402 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
20403 Likewise.
20404 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
20405 Likewise.
20406
d086fc7b
LD
204072013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
20408
20409 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
20410 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
20411
747ef469
SP
204122013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
20413 H.J. Lu <hjl.tools@gmail.com>
20414
20415 [BZ #15627]
20416 * sysdeps/x86_64/rtld-memset.c: Remove file.
20417 * sysdeps/x86_64/rtld-memset.S: New file.
20418
1b2feed2
JM
204192013-06-14 Joseph Myers <joseph@codesourcery.com>
20420
20421 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
20422 (test_in_one_mode): Take arguments for whether the rounding mode
20423 is supported for each floating-point type.
20424 (do_test): Pass new arguments to test_in_one_mode using
20425 ROUNDING_TESTS.
20426
a58ad3f8
RM
204272013-06-13 Roland McGrath <roland@hack.frob.com>
20428
20429 * posix/tst-waitid.c (do_test): Distinguish different instances of
20430 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
20431 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
20432 before entering the kernel for waitpid.
20433
c204ab28
SP
204342013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
20435
20436 * NEWS: Fix note on clock function precision. Text by Roland
20437 McGrath.
20438
f4a29fba
RM
204392013-06-13 Roland McGrath <roland@hack.frob.com>
20440
20441 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
20442 it into place only when and if the sanity check passes.
20443
1f24b9ad
JM
204442013-06-13 Joseph Myers <joseph@codesourcery.com>
20445
20446 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
20447 output for whether conversion result is exact. Take argument
20448 indicating whether type is IBM long double.
20449 (round_for_all): Change need_exact field to ibm_ld.
20450 * stdlib/tst-strtod-round.c (struct exactness): New type.
20451 (struct test): Change bool ld_ok field to struct exactness exact.
20452 (TEST): Update all definitions for change to field.
20453 (tests): Regenerate array contents.
20454 (test_in_one_mode): Take pointer to new field instead of old ld_ok
20455 field value. Check for IBM long double here.
20456 (do_test): Update calls to test_in_one_mode.
20457
58206c68
SP
204582013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
20459
20460 [BZ #12515]
20461 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
20462 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
20463
2d6f4c5b 204642013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6a97b62a
AZ
20465
20466 [BZ #15605]
20467 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
20468 generated by the compiler on loop optimizations.
20469 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
20470 general definitions.
20471
94f2c076
JM
204722013-06-12 Joseph Myers <joseph@codesourcery.com>
20473
20474 * math/bug-nextafter.c: Include <math-tests.h>.
20475 (main): Only test for exceptions if EXCEPTION_TESTS is true for
20476 the relevant type.
20477 * math/bug-nexttoward.c: Include <math-tests.h>.
20478 (main): Only test for exceptions if EXCEPTION_TESTS is true for
20479 the relevant type.
20480 * math/test-misc.c: Include <math-tests.h>.
20481 (main): Only test for exceptions if EXCEPTION_TESTS is true for
20482 the relevant type.
20483
e0e50a0a
AJ
204842013-06-12 Andreas Jaeger <aj@suse.de>
20485
20486 * po/ia.po: Update Interlingua translation from translation
20487 project.
20488
25061094
SP
204892013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
20490
20491 * include/fenv.h: Include stdbool.h.
20492 (struct rm_ctx): New structure.
20493 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
20494 Define macro.
20495 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
20496 (SET_RESTORE_ROUNDF): Likewise.
20497 (SET_RESTORE_ROUNDL): Likewise.
20498 (SET_RESTORE_ROUND_NOEX): Likewise.
20499 (SET_RESTORE_ROUND_NOEXF): Likewise.
20500 (SET_RESTORE_ROUND_NOEXL): Likewise.
20501 (SET_RESTORE_ROUND_53BIT): Likewise.
20502 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
20503 (libc_feresetround_noexf_ctx): Likewise.
20504 (libc_feresetround_noexl_ctx): Likewise.
20505 (libc_feholdsetround_53bit_ctx): Likewise.
20506 (libc_feresetround_53bit_ctx): Likewise.
20507 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
20508 (libc_feholdexcept_setround_sse_ctx): New function.
20509 (libc_fesetenv_sse_ctx): Likewise.
20510 (libc_feupdateenv_sse_ctx): Likewise.
20511 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
20512 (libc_feholdexcept_setround_387_ctx): Likewise.
20513 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
20514 (libc_feholdsetround_387_prec_ctx): Likewise.
20515 (libc_feholdsetround_387_ctx): Likewise.
20516 (libc_feholdsetround_387_53bit_ctx): Likewise.
20517 (libc_feholdsetround_sse_ctx): Likewise.
20518 (libc_feresetround_sse_ctx): Likewise.
20519 (libc_feresetround_387_ctx): Likewise.
20520 (libc_feupdateenv_387_ctx): Likewise.
20521 (libc_feholdexcept_setroundf_ctx): Define macro.
20522 (libc_fesetenvf_ctx): Likewise.
20523 (libc_feupdateenvf_ctx): Likewise.
20524 (libc_feholdsetroundf_ctx): Likewise.
20525 (libc_feresetroundf_ctx): Likewise.
20526 (libc_feholdexcept_setround_ctx): Likewise.
20527 (libc_fesetenv_ctx): Likewise.
20528 (libc_feupdateenv_ctx): Likewise.
20529 (libc_feholdsetround_ctx): Likewise.
20530 (libc_feresetround_ctx): Likewise.
20531 (libc_feholdexcept_setroundl_ctx): Likewise.
20532 (libc_feupdateenvl_ctx): Likewise.
20533 (libc_feholdsetroundl_ctx): Likewise.
20534 (libc_feresetroundl_ctx): Likewise.
20535 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
20536 (libc_feresetround_53bit_ctx): Likewise.
20537
59b30555
SP
205382013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
20539
20540 * locale/iso-639.def: Convert to UTF-8.
20541
f1d73d30
JM
205422013-06-11 Joseph Myers <joseph@codesourcery.com>
20543
20544 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
20545 (EXCEPTION_TESTS_double): Likewise.
20546 (EXCEPTION_TESTS_long_double): Likewise.
20547 (EXCEPTION_TESTS): Likewise.
20548 * math/libm-test.inc (test_exceptions): Only test exceptions if
20549 EXCEPTION_TESTS (FLOAT).
20550
94aca5e7
SP
205512013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
20552
20553 * benchtests/Makefile (string-bench): Add strcpy_chk and
20554 stpcpy_chk.
20555 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
20556 * benchtests/bench-stpcpy_chk.c: New file.
20557 * benchtests/bench-strcpy_chk-ifunc.c: New file.
20558 * benchtests/bench-strcpy_chk.c: New file.
20559 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
20560 code.
20561 (do_test): Likewise.
20562
fac0c5f2
RA
205632013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
20564
20565 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
20566 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
20567 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
20568 with tabs where appropriate.
20569 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
20570 dl-procinfo.h.
20571 [PPC_PLATFORM_PPC440]: Likewise.
20572 [PPC_PLATFORM_PPC464]: Likewise.
20573 [PPC_PLATFORM_PPC476]: Likewise.
20574 (_dl_string_platform): Add support for detecting ppc405, ppc440,
20575 ppc464, and ppc476 platform strings merging from ports/
20576 dl-procinfo.h.
20577
f22bc486
AS
205782013-06-11 Andreas Schwab <schwab@suse.de>
20579
20580 [BZ #14991]
20581 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
20582 (from_ucs4_idx): Regenerate.
20583 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
20584 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
20585 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
20586 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
20587 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
20588 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
20589 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
20590 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
20591 from FROM_LOOP and TO_LOOP specific macros.
20592 (BODY): Handle combining characters.
20593 * iconvdata/BIG5HKSCS.irreversible: Update.
20594 * iconvdata/BIG5HKSCS.precomposed: New file.
20595 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
20596 characters.
20597 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
20598
c1f75dc3
SP
205992013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
20600
4eacded2
SP
20601 * include/sys/time.h: Fix indentation and add copyright header.
20602
fec799f8
SP
20603 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
20604 (do_test): Likewise.
20605 * string/test-memchr.c (do_one_test): Likewise.
20606 (do_test): Likewise.
20607 * string/test-memcmp.c (do_one_test): Likewise.
20608 (do_test): Likewise.
20609 * string/test-memcpy.c (do_one_test): Likewise.
20610 (do_test): Likewise.
20611 * string/test-memmem.c (do_one_test): Likewise.
20612 (do_test): Likewise.
20613 (do_random_tests): Likewise.
20614 * string/test-memmove.c (do_one_test): Likewise.
20615 (do_test): Likewise.
20616 * string/test-memset.c (do_one_test): Likewise.
20617 (do_test): Likewise.
20618 * string/test-rawmemchr.c (do_one_test): Likewise.
20619 (do_test): Likewise.
20620 * string/test-strcasecmp.c (do_one_test): Likewise.
20621 (do_test): Likewise.
20622 * string/test-strcasestr.c (do_one_test): Likewise.
20623 (do_test): Likewise.
20624 * string/test-strcat.c (do_one_test): Likewise.
20625 (do_test): Likewise.
20626 * string/test-strchr.c (do_one_test): Likewise.
20627 (do_test): Likewise.
20628 * string/test-strcmp.c (do_one_test): Likewise.
20629 (do_test): Likewise.
20630 * string/test-strcpy.c (do_one_test): Likewise.
20631 (do_test): Likewise.
20632 * string/test-string.h: Likewise.
20633 (test_init): Likewise.
20634 * string/test-strlen.c (do_one_test): Likewise.
20635 (do_test): Likewise.
20636 * string/test-strncasecmp.c (do_one_test): Likewise.
20637 (do_test): Likewise.
20638 * string/test-strncat.c (do_one_test): Likewise.
20639 (do_test): Likewise.
20640 * string/test-strncmp.c (do_one_test): Likewise.
20641 (do_test_limit): Likewise.
20642 (do_test): Likewise.
20643 * string/test-strncpy.c (do_one_test): Likewise.
20644 (do_test): Likewise.
20645 * string/test-strnlen.c (do_one_test): Likewise.
20646 (do_test): Likewise.
20647 * string/test-strpbrk.c (do_one_test): Likewise.
20648 (do_test): Likewise.
20649 * string/test-strrchr.c (do_one_test): Likewise.
20650 (do_test): Likewise.
20651 * string/test-strspn.c (do_one_test): Likewise.
20652 (do_test): Likewise.
20653 * string/test-strstr.c (do_one_test): Likewise.
20654 (do_test): Likewise.
20655
97020474
SP
20656 * benchtests/Makefile (string-bench): Add string benchmarks.
20657 * benchtests/bench-bcopy-ifunc.c: New file.
20658 * benchtests/bench-bcopy.c: New file.
20659 * benchtests/bench-bzero-ifunc.c: New file.
20660 * benchtests/bench-bzero.c: New file.
20661 * benchtests/bench-memccpy-ifunc.c: New file.
20662 * benchtests/bench-memccpy.c: New file.
20663 * benchtests/bench-memchr-ifunc.c: New file.
20664 * benchtests/bench-memchr.c: New file.
20665 * benchtests/bench-memcmp-ifunc.c: New file.
20666 * benchtests/bench-memcmp.c: New file.
20667 * benchtests/bench-memmem-ifunc.c: New file.
20668 * benchtests/bench-memmem.c: New file.
20669 * benchtests/bench-memmove-ifunc.c: New file.
20670 * benchtests/bench-memmove.c: New file.
20671 * benchtests/bench-mempcpy-ifunc.c: New file.
20672 * benchtests/bench-mempcpy.c: New file.
20673 * benchtests/bench-memset-ifunc.c: New file.
20674 * benchtests/bench-memset.c: New file.
20675 * benchtests/bench-rawmemchr-ifunc.c: New file.
20676 * benchtests/bench-rawmemchr.c: New file.
20677 * benchtests/bench-stpcpy-ifunc.c: New file.
20678 * benchtests/bench-stpcpy.c: New file.
20679 * benchtests/bench-stpncpy-ifunc.c: New file.
20680 * benchtests/bench-stpncpy.c: New file.
20681 * benchtests/bench-strcasecmp-ifunc.c: New file.
20682 * benchtests/bench-strcasecmp.c: New file.
20683 * benchtests/bench-strcasestr-ifunc.c: New file.
20684 * benchtests/bench-strcasestr.c: New file.
20685 * benchtests/bench-strcat-ifunc.c: New file.
20686 * benchtests/bench-strcat.c: New file.
20687 * benchtests/bench-strchr-ifunc.c: New file.
20688 * benchtests/bench-strchr.c: New file.
20689 * benchtests/bench-strchrnul-ifunc.c: New file.
20690 * benchtests/bench-strchrnul.c: New file.
20691 * benchtests/bench-strcmp-ifunc.c: New file.
20692 * benchtests/bench-strcmp.c: New file.
20693 * benchtests/bench-strcpy-ifunc.c: New file.
20694 * benchtests/bench-strcpy.c: New file.
20695 * benchtests/bench-strcspn-ifunc.c: New file.
20696 * benchtests/bench-strcspn.c: New file.
20697 * benchtests/bench-strlen-ifunc.c: New file.
20698 * benchtests/bench-strlen.c: New file.
20699 * benchtests/bench-strncasecmp-ifunc.c: New file.
20700 * benchtests/bench-strncasecmp.c: New file.
20701 * benchtests/bench-strncat-ifunc.c: New file.
20702 * benchtests/bench-strncat.c: New file.
20703 * benchtests/bench-strncmp-ifunc.c: New file.
20704 * benchtests/bench-strncmp.c: New file.
20705 * benchtests/bench-strncpy-ifunc.c: New file.
20706 * benchtests/bench-strncpy.c: New file.
20707 * benchtests/bench-strnlen-ifunc.c: New file.
20708 * benchtests/bench-strnlen.c: New file.
20709 * benchtests/bench-strpbrk-ifunc.c: New file.
20710 * benchtests/bench-strpbrk.c: New file.
20711 * benchtests/bench-strrchr-ifunc.c: New file.
20712 * benchtests/bench-strrchr.c: New file.
20713 * benchtests/bench-strspn-ifunc.c: New file.
20714 * benchtests/bench-strspn.c: New file.
20715 * benchtests/bench-strstr-ifunc.c: New file.
20716 * benchtests/bench-strstr.c: New file.
20717
c1f75dc3
SP
20718 * benchtests/Makefile: Disable parallel execution of targets.
20719 (string-bench): Add memcpy.
20720 (benchset): New variable to store a list of benchmark sets.
20721 (bench-func): Renamed from bench.
20722 (bench-set): New target.
20723 (bench): Depend on bench-func and bench-set.
20724 * benchtests/README: Add section on benchmark sets.
20725 * benchtests/bench-memcpy-ifunc.c: New file.
20726 * benchtests/bench-memcpy.c: New file.
20727 * benchtests/bench-string.h: New file.
20728
50fd745b
AS
207292013-06-11 Andreas Schwab <schwab@suse.de>
20730
20731 [BZ #15577]
20732 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
20733 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
20734 values in the triple.
20735 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
20736 terminator in the group key.
20737
3ee7e9fe
AJ
207382013-06-11 Andreas Jaeger <aj@suse.de>
20739
20740 * po/zh_TW.po: Update Chinese (traditional) translation from
20741 translation project.
20742
89fb6835
SP
207432013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
20744
20745 * include/time.h (__clock_gettime): Add libc_hidden_proto.
20746 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
20747 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
20748 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
20749 (clock_getcpuclockid): Likewise.
20750 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
20751 Add weak_alias and libc_hidden_def.
20752 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
20753 * rt/clock_gettime.c (clock_gettime): Rename to
20754 __clock_gettime. Add weak_alias and libc_hidden_def.
20755 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
20756 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
20757 __clock_nanosleep. Add weak_alias and libc_hidden_def.
20758 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
20759 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
20760 Likewise.
20761 * rt/clock_settime.c (clock_settime): Rename to
20762 __clock_settime. Add weak_alias and libc_hidden_def.
20763 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
20764
0efa6f8b
JM
207652013-06-10 Joseph Myers <joseph@codesourcery.com>
20766
b8c61b4b
JM
20767 * mach/err_boot.sub: Remove trailing whitespace.
20768 * mach/err_ipc.sub: Likewise.
20769 * mach/err_mach.sub: Likewise.
20770
0efa6f8b
JM
20771 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
20772 (ROUNDING_TESTS_double): Likewise.
20773 (ROUNDING_TESTS_long_double): Likewise.
20774 (ROUNDING_TESTS): Likewise.
20775 * math/libm-test.inc: Include <math-tests.h>.
20776 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
20777 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
20778 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
20779 (IF_ROUND_INIT_FE_UPWARD): Likewise.
20780
50b818bf
SP
207812013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
20782
20783 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
20784 of assigning.
20785
60d2f8f3
JM
207862013-06-08 Joseph Myers <joseph@codesourcery.com>
20787
4902d2c3
JM
20788 * sysdeps/gnu/errlist.awk: Do not generate space at end of
20789 otherwise empty TRANS lines.
20790 * sysdeps/gnu/errlist.c: Regenerated.
20791
60d2f8f3
JM
20792 * catgets/gencat.c (error_print): Use (void) in function
20793 definition.
20794 * crypt/crypt_util.c (__init_des): Likewise.
20795 * crypt/speeds.c (Stop): Likewise.
20796 (main): Likewise.
20797 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
20798 * inet/ruserpass.c (token): Likewise.
20799 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
20800 * intl/localealias.c (extend_alias_table): Likewise.
20801 * intl/plural-exp.c (init_germanic_plural): Likewise.
20802 * libio/fcloseall.c (__fcloseall): Likewise.
20803 * libio/genops.c (_IO_flush_all): Likewise.
20804 (_IO_flush_all_linebuffered): Likewise.
20805 (_IO_cleanup): Likewise.
20806 (_IO_iter_begin): Likewise.
20807 (_IO_iter_end): Likewise.
20808 (_IO_list_lock): Likewise.
20809 (_IO_list_unlock): Likewise.
20810 (_IO_list_resetlock): Likewise.
20811 * libio/getchar.c (getchar): Likewise.
20812 * libio/getchar_u.c (getchar_unlocked): Likewise.
20813 * libio/getwchar.c (getwchar): Likewise.
20814 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
20815 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
20816 * login/getpt.c (__getpt): Likewise.
20817 * login/tst-utmp.c (main): Likewise.
20818 * malloc/hooks.c (__malloc_check_init): Likewise.
20819 * malloc/malloc.c (__malloc_stats): Likewise.
20820 * malloc/mtrace.c (tr_break): Likewise.
20821 (mtrace): Likewise.
20822 (muntrace): Likewise.
20823 * misc/fstab.c (endfsent): Likewise.
20824 * misc/getclktck.c (__getclktck): Likewise.
20825 * misc/getdtsz.c (__getdtablesize): Likewise.
20826 * misc/gethostid.c (gethostid): Likewise.
20827 * misc/getpagesize.c (__getpagesize): Likewise.
20828 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
20829 (__get_nprocs): Likewise.
20830 (__get_phys_pages): Likewise.
20831 (__get_avphys_pages): Likewise.
20832 * misc/getttyent.c (getttyent): Likewise.
20833 (setttyent): Likewise.
20834 (endttyent): Likewise.
20835 * misc/getusershell.c (getusershell): Likewise.
20836 (endusershell): Likewise.
20837 (setusershell): Likewise.
20838 (initshells): Likewise.
20839 * misc/hsearch.c (__hdestroy): Likewise.
20840 * misc/sync.c (sync): Likewise.
20841 * misc/syslog.c (closelog_internal): Likewise.
20842 (closelog): Likewise.
20843 * misc/ttyslot.c (ttyslot): Likewise.
20844 * misc/vhangup.c (vhangup): Likewise.
20845 * posix/fork.c (__fork): Likewise.
20846 * posix/getegid.c (__getegid): Likewise.
20847 * posix/geteuid.c (__geteuid): Likewise.
20848 * posix/getgid.c (__getgid): Likewise.
20849 * posix/getpid.c (__getpid): Likewise.
20850 * posix/getppid.c (__getppid): Likewise.
20851 * posix/getuid.c (__getuid): Likewise.
20852 * posix/pause.c (pause): Likewise.
20853 * posix/setpgrp.c (setpgrp): Likewise.
20854 * posix/setsid.c (__setsid): Likewise.
20855 * posix/test-vfork.c (noop): Likewise.
20856 * resolv/gethnamaddr.c (_endhtent): Likewise.
20857 (_gethtent): Likewise.
20858 (ht_endhostent): Likewise.
20859 (gethostent): Likewise.
20860 (dns_service): Likewise.
20861 * stdlib/drand48.c (drand48): Likewise.
20862 * stdlib/lrand48.c (lrand48): Likewise.
20863 * stdlib/mrand48.c (mrand48): Likewise.
20864 * stdlib/rand.c (rand): Likewise.
20865 * stdlib/random.c (__random): Likewise.
20866 * stdlib/setenv.c (clearenv): Likewise.
20867 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
20868 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
20869 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
20870 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
20871 (__get_nprocs): Likewise.
20872 (__get_phys_pages): Likewise.
20873 (__get_avphys_pages): Likewise.
20874 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
20875 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
20876 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
20877 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
20878 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
20879 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
20880 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
20881 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
20882 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
20883 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
20884 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
20885 * sysdeps/mach/hurd/sync.c (sync): Likewise.
20886 * sysdeps/posix/clock.c (clock): Likewise.
20887 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
20888 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
20889 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
20890 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
20891 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
20892 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
20893 (__get_nprocs_conf): Likewise.
20894 (__get_phys_pages): Likewise.
20895 (__get_avphys_pages): Likewise.
20896 * time/clock.c (clock): Likewise.
20897 * time/tzset.c (__tzname_max): Likewise.
20898
2e09a79a
JM
208992013-06-07 Joseph Myers <joseph@codesourcery.com>
20900
20901 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
20902 (__bswap_32): Do not use "register".
20903 * crypt/crypt.c (_ufc_doit_r): Likewise.
20904 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
20905 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
20906 * gmon/gmon.c (__monstartup): Likewise.
20907 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
20908 * hurd/hurdmalloc.c (more_memory): Likewise.
20909 (malloc): Likewise.
20910 (free): Likewise.
20911 (realloc): Likewise.
20912 (malloc_fork_prepare): Likewise.
20913 (malloc_fork_parent): Likewise.
20914 (malloc_fork_child): Likewise.
20915 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
20916 (_svcauth_des): Likewise.
20917 * inet/inet_lnaof.c (inet_lnaof): Likewise.
20918 * inet/inet_net.c (inet_network): Likewise.
20919 * inet/inet_netof.c (inet_netof): Likewise.
20920 * inet/rcmd.c (__validuser2_sa): Likewise.
20921 * io/fts.c (fts_open): Likewise.
20922 (fts_load): Likewise.
20923 (fts_close): Likewise.
20924 (fts_read): Likewise.
20925 (fts_children): Likewise.
20926 (fts_build): Likewise.
20927 (fts_stat): Likewise.
20928 (fts_sort): Likewise.
20929 (fts_alloc): Likewise.
20930 (fts_lfree): Likewise.
20931 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
20932 (_IO_file_xsgetn): Likewise.
20933 (_IO_file_xsgetn_mmap): Likewise.
20934 * libio/iofopncook.c (_IO_cookie_read): Likewise.
20935 (_IO_cookie_write): Likewise.
20936 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
20937 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
20938 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
20939 * malloc/obstack.c (_obstack_begin): Likewise.
20940 (_obstack_begin_1): Likewise.
20941 (_obstack_newchunk): Likewise.
20942 (_obstack_allocated_p): Likewise.
20943 (obstack_free): Likewise.
20944 (_obstack_memory_used): Likewise.
20945 * misc/getttyent.c (getttynam): Likewise.
20946 (getttyent): Likewise.
20947 (skip): Likewise.
20948 (value): Likewise.
20949 * misc/getusershell.c (initshells): Likewise.
20950 * misc/syslog.c (__vsyslog_chk): Likewise.
20951 * misc/ttyslot.c (ttyslot): Likewise.
20952 * nis/nis_hash.c (__nis_hash): Likewise.
20953 * posix/fnmatch_loop.c (FCT): Likewise.
20954 * posix/getconf.c (print_all): Likewise.
20955 (main): Likewise.
20956 * posix/getopt.c (exchange): Likewise.
20957 * posix/glob.c (globfree): Likewise.
20958 (prefix_array): Likewise.
20959 (__glob_pattern_type): Likewise.
20960 * resolv/arpa/nameser.h (NS_GET16): Likewise.
20961 (NS_GET32): Likewise.
20962 (NS_PUT16): Likewise.
20963 (NS_PUT32): Likewise.
20964 * resolv/gethnamaddr.c (getanswer): Likewise.
20965 (gethostbyname2): Likewise.
20966 (gethostbyaddr): Likewise.
20967 (_gethtent): Likewise.
20968 (_gethtbyname2): Likewise.
20969 (_gethtbyaddr): Likewise.
20970 * resolv/ns_print.c (dst_s_get_int16): Likewise.
20971 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
20972 * resolv/res_init.c (__res_vinit): Likewise.
20973 (net_mask): Likewise.
20974 * resolv/res_mkquery.c (outchar): Likewise.
20975 (PRINT): Likewise.
20976 * stdio-common/printf_fp.c (outchar): Likewise.
20977 (PRINT): Likewise.
20978 * stdio-common/printf_fphex.c (outchar): Likewise.
20979 (PRINT): Likewise.
20980 * stdio-common/printf_size.c (outchar): Likewise.
20981 (PRINT): Likewise.
20982 * stdio-common/test_rdwr.c (main): Likewise.
20983 * stdio-common/tfformat.c (matches): Likewise.
20984 * stdio-common/vfprintf.c (outchar): Likewise.
20985 (printf_unknown): Likewise.
20986 (buffered_vfprintf): Likewise.
20987 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
20988 * stdio-common/xbug.c (AppendToBuffer): Likewise.
20989 (ReadFile): Likewise.
20990 * stdlib/qsort.c (SWAP): Likewise.
20991 (_quicksort): Likewise.
20992 * stdlib/setenv.c (__add_to_environ): Likewise.
20993 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
20994 * stdlib/strtol_l.c (__strtol_l): Likewise.
20995 * stdlib/tst-strtod.c (main): Likewise.
20996 * stdlib/tst-strtol.c (main): Likewise.
20997 * stdlib/tst-strtoll.c (main): Likewise.
20998 * string/bits/string2.h (__strcmp_cc): Likewise.
20999 (__strcmp_cg): Likewise.
21000 (__strcspn_c1): Likewise.
21001 (__strcspn_c2): Likewise.
21002 (__strcspn_c3): Likewise.
21003 (__strspn_c1): Likewise.
21004 (__strspn_c2): Likewise.
21005 (__strspn_c3): Likewise.
21006 (__strsep_1c): Likewise.
21007 (__strsep_2c): Likewise.
21008 (__strsep_3c): Likewise.
21009 * string/memccpy.c (__memccpy): Likewise.
21010 * string/stpcpy.c (__stpcpy): Likewise.
21011 * string/strcmp.c (strcmp): Likewise.
21012 * string/strrchr.c (strrchr): Likewise.
21013 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
21014 Likewise.
21015 * sysdeps/mach/hurd/getcwd.c
21016 (_hurd_canonicalize_directory_name_internal): Likewise.
21017 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
21018 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
21019 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
21020 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
21021 Likewise, in both definitions.
21022 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
21023 definitions.
21024 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
21025 64] (__bswap_64): Likewise.
21026 * time/test_time.c (main): Likewise.
21027 * time/tzfile.c (__tzfile_read): Likewise.
21028 (__tzfile_compute): Likewise.
21029 * time/tzset.c (__tzset_parse_tz): Likewise.
21030 (tzset_internal): Likewise.
21031 (compute_change): Likewise.
21032 * wcsmbs/wcscat.c (__wcscat): Likewise.
21033 * wcsmbs/wcschr.c (wcschr): Likewise.
21034 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
21035 * wcsmbs/wcscspn.c (wcscspn): Likewise.
21036 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
21037 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
21038 * wcsmbs/wcsspn.c (wcsspn): Likewise.
21039 * wcsmbs/wcsstr.c (wcsstr): Likewise.
21040 * wcsmbs/wmemchr.c (wmemchr): Likewise.
21041 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
21042 * wcsmbs/wmemset.c (wmemset): Likewise.
21043
9e54314b
JM
210442013-06-06 Joseph Myers <joseph@codesourcery.com>
21045
21046 * scripts/config.guess: Update to version 2013-05-16.
21047 * scripts/config.sub: Update to version 2013-04-24.
21048 * scripts/install-sh: Update to version 2011-11-20.07.
21049 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
21050 * scripts/move-if-change: Update to version 2012-01-06 07:23.
21051
350635a5
OB
210522013-06-06 Ondřej Bílka <neleai@seznam.cz>
21053
21054 * debug/fgetws_u_chk.c: Fix leading whitespaces.
21055 * elf/sln.c: Likewise.
21056 * hurd/hurd/ioctl.h: Likewise.
21057 * hurd/hurdmalloc.c: Likewise.
21058 * hurd/xattr.c: Likewise.
21059 * include/shlib-compat.h: Likewise.
21060 * inet/ruserpass.c: Likewise.
21061 * libio/iofgets_u.c: Likewise.
21062 * libio/iofgetws_u.c: Likewise.
21063 * locale/programs/ld-identification.c: Likewise.
21064 * locale/programs/ld-time.c: Likewise.
21065 * mach/msg-destroy.c: Likewise.
21066 * nss/nss_files/files-netgrp.c: Likewise.
21067 * resolv/res_data.c: Likewise.
21068 * soft-fp/op-1.h: Likewise.
21069 * soft-fp/op-2.h: Likewise.
21070 * soft-fp/op-4.h: Likewise.
21071 * soft-fp/op-common.h: Likewise.
21072 * stdio-common/printf_fphex.c: Likewise.
21073 * stdlib/strtod_l.c: Likewise.
21074 * sunrpc/rpc/clnt.h: Likewise.
21075 * sysdeps/generic/framestate.c: Likewise.
21076 * sysdeps/i386/bsd-_setjmp.S: Likewise.
21077 * sysdeps/i386/bsd-setjmp.S: Likewise.
21078 * sysdeps/i386/__longjmp.S: Likewise.
21079 * sysdeps/i386/setjmp.S: Likewise.
21080 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
21081 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
21082 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
21083 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
21084 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
21085 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
21086 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
21087 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
21088 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
21089 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
21090 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
21091 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
21092 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
21093 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
21094 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
21095 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
21096 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
21097 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
21098 * sysdeps/ieee754/support.c: Likewise.
21099 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
21100 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
21101 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
21102 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
21103 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
21104 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
21105 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
21106 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
21107 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
21108 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
21109 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
21110 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
21111 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
21112 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
21113 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
21114 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
21115 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
21116 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
21117
44a988af
OB
211182013-06-05 Ondřej Bílka <neleai@seznam.cz>
21119
25506f09 21120 * posix/transbug.c: Remove executable mode.
44a988af 21121
9c84384c
JM
211222013-06-05 Joseph Myers <joseph@codesourcery.com>
21123
21124 * crypt/speeds.c: Remove trailing whitespace.
21125 * dlfcn/default.c: Likewise.
21126 * elf/ifuncdep2.c: Likewise.
21127 * elf/ifuncmain1.c: Likewise.
21128 * elf/ifuncmain1vis.c: Likewise.
21129 * elf/testobj.h: Likewise.
21130 * elf/tst-stackguard1.c: Likewise.
21131 * gmon/sys/gmon.h: Likewise.
21132 * hurd/hurdmsg.c: Likewise.
21133 * hurd/new-fd.c: Likewise.
21134 * hurd/ports-get.c: Likewise.
21135 * iconvdata/ibm1008_420.c: Likewise.
21136 * inet/tst-getni1.c: Likewise.
21137 * inet/tst-getni2.c: Likewise.
21138 * libio/ioungetc.c: Likewise.
21139 * libio/wfiledoalloc.c: Likewise.
21140 * manual/libm-err-tab.pl: Likewise.
21141 * math/w_dremf.c: Likewise.
21142 * misc/ftruncate.c: Likewise.
21143 * posix/bug-glob2.c: Likewise.
21144 * posix/tst-pcre.c: Likewise.
21145 * posix/wait4.c: Likewise.
21146 * resolv/README: Likewise.
21147 * resolv/res_debug.h: Likewise.
21148 * resolv/tst-inet_ntop.c: Likewise.
21149 * setjmp/bug269-setjmp.c: Likewise.
21150 * soft-fp/extended.h: Likewise.
21151 * soft-fp/op-1.h: Likewise.
21152 * soft-fp/op-2.h: Likewise.
21153 * soft-fp/op-4.h: Likewise.
21154 * soft-fp/op-8.h: Likewise.
21155 * soft-fp/testit.c: Likewise.
21156 * stdio-common/bug16.c: Likewise.
21157 * stdlib/random.c: Likewise.
21158 * sunrpc/rpcsvc/rquota.x: Likewise.
21159 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
21160 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
21161 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
21162 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
21163 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
21164 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
21165 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
21166 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
21167 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
21168 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
21169 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
21170 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
21171 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
21172 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
21173 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
21174 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
21175 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
21176 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
21177 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
21178 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
21179 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
21180 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
21181 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
21182 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
21183 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
21184 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
21185 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
21186 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
21187 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
21188 * sysdeps/ieee754/s_lib_version.c: Likewise.
21189 * sysdeps/mach/hurd/check_fds.c: Likewise.
21190 * sysdeps/mach/hurd/getsockname.c: Likewise.
21191 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
21192 * sysdeps/mach/hurd/recvfrom.c: Likewise.
21193 * sysdeps/powerpc/bits/link.h: Likewise.
21194 * sysdeps/powerpc/dl-procinfo.c: Likewise.
21195 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
21196 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
21197 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
21198 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
21199 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
21200 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
21201 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
21202 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
21203 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
21204 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
21205 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
21206 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
21207 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
21208 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
21209 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
21210 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
21211 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
21212 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
21213 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
21214 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
21215 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
21216 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
21217 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
21218 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
21219 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
21220 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
21221 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
21222 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
21223 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
21224 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
21225 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
21226 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
21227 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
21228 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
21229 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
21230 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
21231 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
21232 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
21233 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
21234 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
21235 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
21236 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
21237 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
21238 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
21239 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
21240 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
21241 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
21242 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
21243 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
21244 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
21245 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
21246 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
21247 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
21248 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
21249 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
21250 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
21251 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
21252 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
21253 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
21254 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
21255 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
21256 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
21257 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
21258 * sysdeps/powerpc/sysdep.h: Likewise.
21259 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
21260 * sysdeps/s390/s390-64/sub_n.S: Likewise.
21261 * sysdeps/sh/dl-trampoline.S: Likewise.
21262 * sysdeps/sh/memset.S: Likewise.
21263 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
21264 * sysdeps/sh/strlen.S: Likewise.
21265 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
21266 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
21267 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
21268 * sysdeps/sparc/sparc32/rem.S: Likewise.
21269 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
21270 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
21271 * sysdeps/sparc/sparc32/strchr.S: Likewise.
21272 * sysdeps/sparc/sparc32/udiv.S: Likewise.
21273 * sysdeps/sparc/sparc32/urem.S: Likewise.
21274 * sysdeps/sparc/sparc64/add_n.S: Likewise.
21275 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
21276 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
21277 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
21278 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
21279 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
21280 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
21281 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
21282 * sysdeps/unix/bsd/times.c: Likewise.
21283 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
21284 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
21285 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
21286 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
21287 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
21288 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
21289 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
21290 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
21291 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
21292 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
21293 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
21294 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
21295 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
21296 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
21297 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
21298 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
21299 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
21300 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
21301 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
21302 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
21303 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
21304 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
21305 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
21306 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
21307 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
21308 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
21309 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
21310 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
21311 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
21312 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
21313 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
21314 * sysdeps/x86_64/strcspn.S: Likewise.
21315
869378a5
RA
213162013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
21317
21318 * locale/C-translit.h: Revert #include <stdint.h> because this is a
21319 generated file. Regenerate properly from gen-translit.pl.
21320 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
21321 locale/C-translit.h.
21322
840e2943
AS
213232013-06-05 Andreas Schwab <schwab@suse.de>
21324
21325 [BZ #15100]
21326 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
21327 week as 6 instead of -1.
21328 * time/tst-strptime.c (day_tests): Add test case.
21329
4c60cb0c
SP
213302013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
21331
21332 * sysdeps/generic/math_private.h
21333 (libc_feholdexcept_setround_53bit): Replace with
21334 libc_feholdsetround_53bit.
21335 (libc_feupdateenv_53bit): Replace with
21336 libc_feresetround_53bit.
21337 (SET_RESTORE_ROUND_53BIT): Adjust.
21338
d180203e
SP
213392013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
21340
96df079a
SP
21341 * string/test-strchrnul.c: Add copyright header.
21342
d180203e
SP
21343 * posix/tst-getaddrinfo4.c: Increase test timeout.
21344
8b0ccb2d
CD
213452013-06-03 Carlos O'Donell <carlos@redhat.com>
21346
21347 [BZ #15536]
21348 * math/libm-test.inc (MAX_EXP): Remove
21349 (MIN_EXP): Define.
21350 (ulp): Use MIN_EXP - MANT_DIG.
21351 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
21352
3b3c4d40
CD
213532013-05-31 Carlos O'Donell <carlos@redhat.com>
21354
21355 * po/be.po: Revert last change.
21356 * po/zh_CN.po: Likewise.
21357 * po/header.pot: Likewise.
21358
fab7ce3f
JM
213592013-05-31 Joseph Myers <joseph@codesourcery.com>
21360
21361 * Makefile ($(common-objpfx)linkobj/libc.so): Define
21362 link-libc-deps to empty as target-specific variable.
21363 * Makerules (link-libc-args): New variable.
21364 (libc-for-link): Likewise.
21365 (link-libc-deps): Likewise.
21366 (lib%.so): Depend on $(link-libc-deps). Link with
21367 $(link-libc-args).
21368 (build-module): Link with $(link-libc-args).
21369 (build-module-asneeded): Likewise.
21370 (build-module-helper-objlist): Filter out $(link-libc-deps) from
21371 list of objects.
21372 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
21373 target-specific variable.
21374 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
21375 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
21376 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
21377 libc.
21378 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
21379 libc and ld.so.
21380 ($(objpfx)libpcprofile.so): Likewise.
21381 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
21382 libc_nonshared.a.
21383 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
21384 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
21385 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
21386 $(link-libc-deps).
21387 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
21388 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
21389 * login/Makefile ($(objpfx)libutil.so): Likewise.
21390 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
21391 * math/Makefile ($(objpfx)libm.so): Likewise.
21392 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
21393 $(objpfx)libnsl.so): Define libc-for-link as target-specific
21394 variable instead of depending directly on libc.
21395 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
21396 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
21397 $(link-libc-deps).
21398 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
21399 libc.
21400 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
21401 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
21402 ($(objpfx)libanl.so): Likewise.
21403 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
21404 ld.so.
21405 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
21406 $(link-libc-deps).
21407 * sysdeps/i386/fpu/Makefile: Remove file.
21408 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
21409 ($(objpfx)libm.so): Remove dependency on ld.so.
21410
eca5920c
PF
214112013-05-30 Patsy Franklin <pfrankli@redhat.com>
21412
21413 [BZ # 15553]
21414 * nis/yp_xdr.c (XDRMAXNAME): Define.
21415 (XDRMAXRECORD): Define.
21416 (xdr_domainname): Use XDRMAXNAME.
21417 (xdr_mapname): Likewise.
21418 (xdr_peername): Likewise.
21419 (xdr_keydat): Use XDRMAXRECORD.
21420 (xdr_valdat): Likewise.
21421
214222013-05-30 Jeff Law <law@redhat.com>
96945714
JL
21423
21424 [BZ #14256]
21425 * manual/errno.texi (ESTALE): Update to account for more than
21426 just NFS file systems.
21427 * sysdeps/gnu/errlist.c: Regenerated.
21428
b9375348
SP
214292013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
21430
21431 [BZ #15465]
21432 * elf/Makefile (tests): Add tst-null-argv.
21433 (modules-names): Add tst-null-argv-lib.
21434 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
21435 (tst-null-argv-ENV): Set environment for tst-null-argv.
21436 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
21437 (RTLD_PROGNAME): New macro.
21438 * elf/tst-null-argv.c: New test case.
21439 * elf/tst-null-argv-lib.c: Library for test case.
21440 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
21441 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
21442 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
21443 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
21444 * elf/dl-init.c (call_init): Likewise.
21445 (_dl_init): Likewise.
21446 * elf/dl-load.c (print_search_path): Likewise.
21447 (_dl_map_object): Likewise.
21448 * elf/dl-lookup.c (do_lookup_x): Likewise.
21449 (add_dependency): Likewise.
21450 (_dl_lookup_symbol_x): Likewise.
21451 (_dl_debug_bindings): Likewise.
21452 * elf/dl-open.c (_dl_show_scope): Likewise.
21453 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
21454 * elf/dl-version.c (match_symbol): Likewise.
21455 (_dl_check_map_versions): Likewise.
21456 * elf/rtld.c (dl_main): Likewise.
21457 (print_unresolved): Use RTLD_PROGNAME.
21458 (print_missing_version): Likewise.
21459 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
21460 (elf_machine_rela): Likewise.
21461 * sysdeps/powerpc/powerpc32/dl-machine.c
21462 (__process_machine_rela): Likewise.
21463 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
21464 Likewise.
21465 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
21466 Likewise.
21467 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
21468 Likewise.
21469 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
21470 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
21471 Likewise.
21472 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
21473 Likewise.
21474 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
21475
8a9f20c8
CD
214762013-05-28 Carlos O'Donell <carlos@redhat.com>
21477
21478 * po/be.po: Add descriptive title.
21479 * po/zh_CN.po: Likewise.
21480 * po/header.pot: Likewise.
21481
0e60d68e
MF
214822013-05-28 Mike Frysinger <vapier@gentoo.org>
21483
21484 * locale/programs/locarchive.c (create_archive): Inlucde fname in
21485 error message.
21486 (enlarge_archive): Likewise.
21487
56b672e9
BN
214882013-05-28 Ben North <ben@redfrontdoor.org>
21489
21490 * manual/arith.texi (frexp): It is the magnitude of the return
21491 value which lies in [0.5, 1), not the return value itself.
21492
5e056687
AZ
214932013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21494
21495 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21496
2b66ef5d
TS
214972013-05-26 Thomas Schwinge <thomas@codesourcery.com>
21498
528c2405
TS
21499 * stdio-common/bug26.c (main): Correct fscanf template.
21500
07b4c13d
TS
21501 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
21502 declare _dl_skip_args.
21503
ec9dd97c
TS
21504 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
21505 Don't declare.
21506
2b66ef5d
TS
21507 * manual/platform.texi: Add missing @end deftypefun.
21508
4f8dfe27
JM
215092013-05-24 Joseph Myers <joseph@codesourcery.com>
21510
0323d086
JM
21511 [BZ #15529]
21512 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
21513 bit of mantissa of 2^16382.
21514 * math/libm-test.inc (hypot_test_data): Add more tests.
21515
dd4259b9
JM
21516 * math/libm-test.inc: Add drem and pow10 to list of tested
21517 functions.
21518 (pow10_test): New function.
21519 (drem_test): Likewise.
21520 (drem_test_tonearest): Likewise.
21521 (drem_test_towardzero): Likewise.
21522 (drem_test_downward): Likewise.
21523 (drem_test_upward): Likewise.
21524 (main): Call the new functions.
21525
4f8dfe27
JM
21526 * math/libm-test.inc (finite_test_data): Remove.
21527 (finite_test): Run tests from isfinite_test_data.
21528 (gamma_test_data): Remove.
21529 (gamma_test): Run tests from lgamma_test_data.
21530 * sysdeps/i386/fpu/libm-test-ulps: Update.
21531 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21532
d116b7c4
AZ
215332013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21534
21535 * manual/platform.texi: Add PowerPC PPR function set documentation.
21536 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
21537 implementation.
21538
e96e3767
CD
215392013-05-24 Carlos O'Donell <carlos@redhat.com>
21540
21541 * math/libm-test.inc (MAX_EXP): Define.
21542 (ULPDIFF): Define.
21543 (ulp): New function.
21544 (check_float_internal): Use ULPDIFF.
21545 (cpow_test): Disable failing test.
21546 (check_ulp): Test ulp() implemetnation.
21547 (main): Call check_ulp before starting tests.
21548
b679a606
JM
215492013-05-24 Joseph Myers <joseph@codesourcery.com>
21550
e8bdba36
JM
21551 * math/gen-libm-test.pl (generate_testfile): Do not handle
21552 START_DATA and END_DATA.
21553 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
21554 END_DATA.
21555 (acos_tonearest_test_data): Likewise.
21556 (acos_towardzero_test_data): Likewise.
21557 (acos_downward_test_data): Likewise.
21558 (acos_upward_test_data): Likewise.
21559 (acosh_test_data): Likewise.
21560 (asin_test_data): Likewise.
21561 (asin_tonearest_test_data): Likewise.
21562 (asin_towardzero_test_data): Likewise.
21563 (asin_downward_test_data): Likewise.
21564 (asin_upward_test_data): Likewise.
21565 (asinh_test_data): Likewise.
21566 (atan_test_data): Likewise.
21567 (atanh_test_data): Likewise.
21568 (atan2_test_data): Likewise.
21569 (cabs_test_data): Likewise.
21570 (cacos_test_data): Likewise.
21571 (cacosh_test_data): Likewise.
21572 (carg_test_data): Likewise.
21573 (casin_test_data): Likewise.
21574 (casinh_test_data): Likewise.
21575 (catan_test_data): Likewise.
21576 (catanh_test_data): Likewise.
21577 (cbrt_test_data): Likewise.
21578 (ccos_test_data): Likewise.
21579 (ccosh_test_data): Likewise.
21580 (ceil_test_data): Likewise.
21581 (cexp_test_data): Likewise.
21582 (cimag_test_data): Likewise.
21583 (clog_test_data): Likewise.
21584 (clog10_test_data): Likewise.
21585 (conj_test_data): Likewise.
21586 (copysign_test_data): Likewise.
21587 (cos_test_data): Likewise.
21588 (cos_tonearest_test_data): Likewise.
21589 (cos_towardzero_test_data): Likewise.
21590 (cos_downward_test_data): Likewise.
21591 (cos_upward_test_data): Likewise.
21592 (cosh_test_data): Likewise.
21593 (cosh_tonearest_test_data): Likewise.
21594 (cosh_towardzero_test_data): Likewise.
21595 (cosh_downward_test_data): Likewise.
21596 (cosh_upward_test_data): Likewise.
21597 (cpow_test_data): Likewise.
21598 (cproj_test_data): Likewise.
21599 (creal_test_data): Likewise.
21600 (csin_test_data): Likewise.
21601 (csinh_test_data): Likewise.
21602 (csqrt_test_data): Likewise.
21603 (ctan_test_data): Likewise.
21604 (ctan_tonearest_test_data): Likewise.
21605 (ctan_towardzero_test_data): Likewise.
21606 (ctan_downward_test_data): Likewise.
21607 (ctan_upward_test_data): Likewise.
21608 (ctanh_test_data): Likewise.
21609 (ctanh_tonearest_test_data): Likewise.
21610 (ctanh_towardzero_test_data): Likewise.
21611 (ctanh_downward_test_data): Likewise.
21612 (ctanh_upward_test_data): Likewise.
21613 (erf_test_data): Likewise.
21614 (erfc_test_data): Likewise.
21615 (exp_test_data): Likewise.
21616 (exp_tonearest_test_data): Likewise.
21617 (exp_towardzero_test_data): Likewise.
21618 (exp_downward_test_data): Likewise.
21619 (exp_upward_test_data): Likewise.
21620 (exp10_test_data): Likewise.
21621 (exp2_test_data): Likewise.
21622 (expm1_test_data): Likewise.
21623 (fabs_test_data): Likewise.
21624 (fdim_test_data): Likewise.
21625 (finite_test_data): Likewise.
21626 (floor_test_data): Likewise.
21627 (fma_test_data): Likewise.
21628 (fma_towardzero_test_data): Likewise.
21629 (fma_downward_test_data): Likewise.
21630 (fma_upward_test_data): Likewise.
21631 (fmax_test_data): Likewise.
21632 (fmin_test_data): Likewise.
21633 (fmod_test_data): Likewise.
21634 (fpclassify_test_data): Likewise.
21635 (frexp_test_data): Likewise.
21636 (gamma_test_data): Likewise.
21637 (hypot_test_data): Likewise.
21638 (ilogb_test_data): Likewise.
21639 (isfinite_test_data): Likewise.
21640 (isgreater_test_data): Likewise.
21641 (isgreaterequal_test_data): Likewise.
21642 (isinf_test_data): Likewise.
21643 (isless_test_data): Likewise.
21644 (islessequal_test_data): Likewise.
21645 (islessgreater_test_data): Likewise.
21646 (isnan_test_data): Likewise.
21647 (isnormal_test_data): Likewise.
21648 (issignaling_test_data): Likewise.
21649 (isunordered_test_data): Likewise.
21650 (j0_test_data): Likewise.
21651 (j1_test_data): Likewise.
21652 (jn_test_data): Likewise.
21653 (ldexp_test_data): Likewise.
21654 (lgamma_test_data): Likewise.
21655 (lrint_test_data): Likewise.
21656 (lrint_tonearest_test_data): Likewise.
21657 (lrint_towardzero_test_data): Likewise.
21658 (lrint_downward_test_data): Likewise.
21659 (lrint_upward_test_data): Likewise.
21660 (llrint_test_data): Likewise.
21661 (llrint_tonearest_test_data): Likewise.
21662 (llrint_towardzero_test_data): Likewise.
21663 (llrint_downward_test_data): Likewise.
21664 (llrint_upward_test_data): Likewise.
21665 (log_test_data): Likewise.
21666 (log10_test_data): Likewise.
21667 (log1p_test_data): Likewise.
21668 (log2_test_data): Likewise.
21669 (logb_test_data): Likewise.
21670 (logb_downward_test_data): Likewise.
21671 (lround_test_data): Likewise.
21672 (llround_test_data): Likewise.
21673 (modf_test_data): Likewise.
21674 (nearbyint_test_data): Likewise.
21675 (nextafter_test_data): Likewise.
21676 (nexttoward_test_data): Likewise.
21677 (pow_test_data): Likewise.
21678 (pow_tonearest_test_data): Likewise.
21679 (pow_towardzero_test_data): Likewise.
21680 (pow_downward_test_data): Likewise.
21681 (pow_upward_test_data): Likewise.
21682 (remainder_test_data): Likewise.
21683 (remainder_tonearest_test_data): Likewise.
21684 (remainder_towardzero_test_data): Likewise.
21685 (remainder_downward_test_data): Likewise.
21686 (remainder_upward_test_data): Likewise.
21687 (remquo_test_data): Likewise.
21688 (rint_test_data): Likewise.
21689 (rint_tonearest_test_data): Likewise.
21690 (rint_towardzero_test_data): Likewise.
21691 (rint_downward_test_data): Likewise.
21692 (rint_upward_test_data): Likewise.
21693 (round_test_data): Likewise.
21694 (scalb_test_data): Likewise.
21695 (scalbn_test_data): Likewise.
21696 (scalbln_test_data): Likewise.
21697 (signbit_test_data): Likewise.
21698 (sin_test_data): Likewise.
21699 (sin_tonearest_test_data): Likewise.
21700 (sin_towardzero_test_data): Likewise.
21701 (sin_downward_test_data): Likewise.
21702 (sin_upward_test_data): Likewise.
21703 (sincos_test_data): Likewise.
21704 (sinh_test_data): Likewise.
21705 (sinh_tonearest_test_data): Likewise.
21706 (sinh_towardzero_test_data): Likewise.
21707 (sinh_downward_test_data): Likewise.
21708 (sinh_upward_test_data): Likewise.
21709 (sqrt_test_data): Likewise.
21710 (tan_test_data): Likewise.
21711 (tan_tonearest_test_data): Likewise.
21712 (tan_towardzero_test_data): Likewise.
21713 (tan_downward_test_data): Likewise.
21714 (tan_upward_test_data): Likewise.
21715 (tanh_test_data): Likewise.
21716 (tgamma_test_data): Likewise.
21717 (trunc_test_data): Likewise.
21718 (y0_test_data): Likewise.
21719 (y1_test_data): Likewise.
21720 (yn_test_data): Likewise.
21721 (significand_test_data): Likewise.
21722
b679a606
JM
21723 * math/gen-libm-test.pl (@functions): Remove variable.
21724 (generate_testfile): Don't handle START and END lines.
21725 * math/libm-test.inc (START): New macro.
21726 (END): Likewise.
21727 (END_COMPLEX): Likewise.
21728 (acos_test): Use END macro without arguments.
21729 (acos_test_tonearest): Likewise.
21730 (acos_test_towardzero): Likewise.
21731 (acos_test_downward): Likewise.
21732 (acos_test_upward): Likewise.
21733 (acosh_test): Likewise.
21734 (asin_test): Likewise.
21735 (asin_test_tonearest): Likewise.
21736 (asin_test_towardzero): Likewise.
21737 (asin_test_downward): Likewise.
21738 (asin_test_upward): Likewise.
21739 (asinh_test): Likewise.
21740 (atan_test): Likewise.
21741 (atanh_test): Likewise.
21742 (atan2_test): Likewise.
21743 (cabs_test): Likewise.
21744 (cacos_test): Use END_COMPLEX macro without arguments.
21745 (cacosh_test): Likewise.
21746 (carg_test): Use END macro without arguments.
21747 (casin_test): Use END_COMPLEX macro without arguments.
21748 (casinh_test): Likewise.
21749 (catan_test): Likewise.
21750 (catanh_test): Likewise.
21751 (cbrt_test): Use END macro without arguments.
21752 (ccos_test): Use END_COMPLEX macro without arguments.
21753 (ccosh_test): Likewise.
21754 (ceil_test): Use END macro without arguments.
21755 (cexp_test): Use END_COMPLEX macro without arguments.
21756 (cimag_test): Use END macro without arguments.
21757 (clog_test): Use END_COMPLEX macro without arguments.
21758 (clog10_test): Likewise.
21759 (conj_test): Likewise.
21760 (copysign_test): Use END macro without arguments.
21761 (cos_test): Likewise.
21762 (cos_test_tonearest): Likewise.
21763 (cos_test_towardzero): Likewise.
21764 (cos_test_downward): Likewise.
21765 (cos_test_upward): Likewise.
21766 (cosh_test): Likewise.
21767 (cosh_test_tonearest): Likewise.
21768 (cosh_test_towardzero): Likewise.
21769 (cosh_test_downward): Likewise.
21770 (cosh_test_upward): Likewise.
21771 (cpow_test): Use END_COMPLEX macro without arguments.
21772 (cproj_test): Likewise.
21773 (creal_test): Use END macro without arguments.
21774 (csin_test): Use END_COMPLEX macro without arguments.
21775 (csinh_test): Likewise.
21776 (csqrt_test): Likewise.
21777 (ctan_test): Likewise.
21778 (ctan_test_tonearest): Likewise.
21779 (ctan_test_towardzero): Likewise.
21780 (ctan_test_downward): Likewise.
21781 (ctan_test_upward): Likewise.
21782 (ctanh_test): Likewise.
21783 (ctanh_test_tonearest): Likewise.
21784 (ctanh_test_towardzero): Likewise.
21785 (ctanh_test_downward): Likewise.
21786 (ctanh_test_upward): Likewise.
21787 (erf_test): Use END macro without arguments.
21788 (erfc_test): Likewise.
21789 (exp_test): Likewise.
21790 (exp_test_tonearest): Likewise.
21791 (exp_test_towardzero): Likewise.
21792 (exp_test_downward): Likewise.
21793 (exp_test_upward): Likewise.
21794 (exp10_test): Likewise.
21795 (exp2_test): Likewise.
21796 (expm1_test): Likewise.
21797 (fabs_test): Likewise.
21798 (fdim_test): Likewise.
21799 (finite_test): Likewise.
21800 (floor_test): Likewise.
21801 (fma_test): Likewise.
21802 (fma_test_towardzero): Likewise.
21803 (fma_test_downward): Likewise.
21804 (fma_test_upward): Likewise.
21805 (fmax_test): Likewise.
21806 (fmin_test): Likewise.
21807 (fmod_test): Likewise.
21808 (fpclassify_test): Likewise.
21809 (frexp_test): Likewise.
21810 (gamma_test): Likewise.
21811 (hypot_test): Likewise.
21812 (ilogb_test): Likewise.
21813 (isfinite_test): Likewise.
21814 (isgreater_test): Likewise.
21815 (isgreaterequal_test): Likewise.
21816 (isinf_test): Likewise.
21817 (isless_test): Likewise.
21818 (islessequal_test): Likewise.
21819 (islessgreater_test): Likewise.
21820 (isnan_test): Likewise.
21821 (isnormal_test): Likewise.
21822 (issignaling_test): Likewise.
21823 (isunordered_test): Likewise.
21824 (j0_test): Likewise.
21825 (j1_test): Likewise.
21826 (jn_test): Likewise.
21827 (ldexp_test): Likewise.
21828 (lgamma_test): Likewise.
21829 (lrint_test): Likewise.
21830 (lrint_test_tonearest): Likewise.
21831 (lrint_test_towardzero): Likewise.
21832 (lrint_test_downward): Likewise.
21833 (lrint_test_upward): Likewise.
21834 (llrint_test): Likewise.
21835 (llrint_test_tonearest): Likewise.
21836 (llrint_test_towardzero): Likewise.
21837 (llrint_test_downward): Likewise.
21838 (llrint_test_upward): Likewise.
21839 (log_test): Likewise.
21840 (log10_test): Likewise.
21841 (log1p_test): Likewise.
21842 (log2_test): Likewise.
21843 (logb_test): Likewise.
21844 (logb_test_downward): Likewise.
21845 (lround_test): Likewise.
21846 (llround_test): Likewise.
21847 (modf_test): Likewise.
21848 (nearbyint_test): Likewise.
21849 (nextafter_test): Likewise.
21850 (nexttoward_test): Likewise.
21851 (pow_test): Likewise.
21852 (pow_test_tonearest): Likewise.
21853 (pow_test_towardzero): Likewise.
21854 (pow_test_downward): Likewise.
21855 (pow_test_upward): Likewise.
21856 (remainder_test): Likewise.
21857 (remainder_test_tonearest): Likewise.
21858 (remainder_test_towardzero): Likewise.
21859 (remainder_test_downward): Likewise.
21860 (remainder_test_upward): Likewise.
21861 (remquo_test): Likewise.
21862 (rint_test): Likewise.
21863 (rint_test_tonearest): Likewise.
21864 (rint_test_towardzero): Likewise.
21865 (rint_test_downward): Likewise.
21866 (rint_test_upward): Likewise.
21867 (round_test): Likewise.
21868 (scalb_test): Likewise.
21869 (scalbn_test): Likewise.
21870 (scalbln_test): Likewise.
21871 (signbit_test): Likewise.
21872 (sin_test): Likewise.
21873 (sin_test_tonearest): Likewise.
21874 (sin_test_towardzero): Likewise.
21875 (sin_test_downward): Likewise.
21876 (sin_test_upward): Likewise.
21877 (sincos_test): Likewise.
21878 (sinh_test): Likewise.
21879 (sinh_test_tonearest): Likewise.
21880 (sinh_test_towardzero): Likewise.
21881 (sinh_test_downward): Likewise.
21882 (sinh_test_upward): Likewise.
21883 (sqrt_test): Likewise.
21884 (tan_test): Likewise.
21885 (tan_test_tonearest): Likewise.
21886 (tan_test_towardzero): Likewise.
21887 (tan_test_downward): Likewise.
21888 (tan_test_upward): Likewise.
21889 (tanh_test): Likewise.
21890 (tgamma_test): Likewise.
21891 (trunc_test): Likewise.
21892 (y0_test): Likewise.
21893 (y1_test): Likewise.
21894 (yn_test): Likewise.
21895 (significand_test): Likewise.
21896
bae143d2
OB
218972013-05-24 Ondřej Bílka <neleai@seznam.cz>
21898
21899 [BZ #15381]
21900 * libio/genops.c (_IO_no_init): Initialize wide struct info.
21901
9323d39b
EM
219022013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
21903
d4ea44a0 21904 [BZ #14894]
9323d39b
EM
21905 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
21906 __ppc_mdoio and __ppc_mdoom.
21907 * manual/platform.texi: Document new functions __ppc_yield,
21908 __ppc_mdoio and __ppc_mdoom.
21909
13e23af7
CD
219102013-05-22 Carlos O'Donell <carlos@redhat.com>
21911
21912 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
21913 (main): Mention "tls" pseudo-hwcap is legacy.
21914 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
21915
351fe550
JM
219162013-05-22 Joseph Myers <joseph@codesourcery.com>
21917
21918 * math/gen-libm-test.pl (parse_args): Output only string of
21919 arguments as text for test name, not full call or descriptions of
21920 tests for extra outputs.
21921 (generate_testfile): Do not pass function name to parse_args.
21922 Generate this_func variable from START.
21923 * math/libm-test.inc (struct test_f_f_data): Rename test_name
21924 field to arg_str.
21925 (struct test_ff_f_data): Likewise.
21926 (test_ff_f_data_nexttoward): Likewise.
21927 (struct test_fi_f_data): Likewise.
21928 (struct test_fl_f_data): Likewise.
21929 (struct test_if_f_data): Likewise.
21930 (struct test_fff_f_data): Likewise.
21931 (struct test_c_f_data): Likewise.
21932 (struct test_f_f1_data): Likewise. Remove field extra_name.
21933 (struct test_fF_f1_data): Likewise.
21934 (struct test_ffI_f1_data): Likewise.
21935 (struct test_c_c_data): Rename test_name field to arg_str.
21936 (struct test_cc_c_data): Likewise.
21937 (struct test_f_i_data): Likewise.
21938 (struct test_ff_i_data): Likewise.
21939 (struct test_f_l_data): Likewise.
21940 (struct test_f_L_data): Likewise.
21941 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
21942 and extra2_name.
21943 (COMMON_TEST_SETUP): New macro.
21944 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
21945 (COMMON_TEST_CLEANUP): Likewise.
21946 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
21947 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
21948 macros.
21949 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
21950 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
21951 macros.
21952 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
21953 (RUN_TEST_fff_f): Take argument string. Call new setup and
21954 cleanup macros.
21955 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
21956 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
21957 macros.
21958 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
21959 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
21960 macros.
21961 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
21962 (RUN_TEST_fF_f1): Take argument string. Call new setup and
21963 cleanup macros.
21964 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
21965 (RUN_TEST_fI_f1): Take argument string. Call new setup and
21966 cleanup macros.
21967 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
21968 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
21969 cleanup macros.
21970 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
21971 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
21972 macros.
21973 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
21974 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
21975 macros.
21976 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
21977 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
21978 macros.
21979 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
21980 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
21981 cleanup macros.
21982 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
21983 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
21984 cleanup macros.
21985 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
21986 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
21987 macros.
21988 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
21989 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
21990 cleanup macros.
21991 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
21992 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
21993 macros.
21994 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
21995 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
21996 macros.
21997 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
21998 (RUN_TEST_fFF_11): Take argument string. Call new setup and
21999 cleanup macros.
22000 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
22001
85118d4d
EBM
220022013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
22003
22004 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
22005 to _sifields.sigfault.
22006 (si_addr_lsb): Define new macro.
22007 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
22008 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
22009 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
22010
7a44c18f
CD
220112013-05-03 Carlos O'Donell <carlos at redhat.com>
22012
22013 [BZ #15441]
22014 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
22015 returns -1.
22016 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
22017 null return -1.
22018 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
22019 loading the domain.
22020
b50a7181
JM
220212013-05-22 Joseph Myers <joseph@codesourcery.com>
22022
22023 * math/gen-libm-test.pl (parse_args): Do not include expected
22024 result in test name.
22025 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
22026 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
22027 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
22028 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
22029 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
22030 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22031
051063c8
SP
220322013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
22033
3ce9e010
SP
22034 * benchtests/Makefile: Sort function entries.
22035
051063c8
SP
22036 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
22037 tanh, asinh, acosh, atanh.
22038 * benchtests/acos-inputs: New file.
22039 * benchtests/acosh-inputs: New file.
22040 * benchtests/asin-inputs: New file.
22041 * benchtests/asinh-inputs: New file.
22042 * benchtests/atanh-inputs: New file.
22043 * benchtests/cosh-inputs: New file.
22044 * benchtests/log-inputs: New file.
22045 * benchtests/sinh-inputs: New file.
22046 * benchtests/tanh-inputs: New file.
22047
47c22455
DL
220482013-05-21 Dmitry V. Levin <ldv@altlinux.org>
22049
22050 [BZ #15339]
22051 * posix/tst-getaddrinfo4.c: New test.
22052 * posix/Makefile (tests): Add it.
22053
3d04f5db
SP
220542013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
22055
22056 [BZ #15339]
22057 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
22058 when no services were used.
22059 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
22060 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
22061
d5dd6189
AS
220622013-05-21 Andreas Schwab <schwab@suse.de>
22063
22064 [BZ #15014]
22065 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
22066 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
22067 successful.
22068 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
22069 redundant variable declarations and reallocation of buffer when
22070 parsing as IPv6 address. Always set NSS status when called from
22071 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
22072 buffer too small. Correct computation of needed size.
22073 * nss/Makefile (tests): Add test-digits-dots.
22074 * nss/test-digits-dots.c: New test.
22075
fef94eab
SP
220762013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
22077
22078 * benchtests/Makefile: Remove instructions for adding
22079 benchmark tests.
22080 * benchtests/README: New file to explain how to execute and
22081 enhance the benchmark tests.
22082
e39adf43
AS
220832013-05-21 Andreas Schwab <schwab@suse.de>
22084
22085 [BZ #15493]
22086 * setjmp/Makefile (tests): Add tst-sigsetjmp.
22087 * setjmp/tst-sigsetjmp.c: New test.
22088
b2b671b6
OB
220892013-05-20 Ondřej Bílka <neleai@seznam.cz>
22090
22091 * sysdeps/x86_64/memset.S (memset): New implementation.
22092 (__bzero): Likewise.
22093 (__memset_tail): New function.
22094
2d48b41c
OB
220952013-05-20 Ondřej Bílka <neleai@seznam.cz>
22096
22097 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
22098 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
22099 __memcpy_sse2_unaligned ifunc selection.
22100 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
22101 Add memcpy-sse2-unaligned.S.
22102 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
22103 Add: __memcpy_sse2_unaligned.
22104
f16cc3eb
JM
221052013-05-19 Joseph Myers <joseph@codesourcery.com>
22106
3e694268
JM
22107 [BZ #15490]
22108 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
22109 math_force_eval before restoring floating-point envrionment.
22110 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
22111 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
22112 Likewise.
22113 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
22114 <math_private.h>.
22115 (__nearbyintl): Use math_force_eval before restoring
22116 floating-point environment.
22117 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
22118
db62a907
JM
22119 * math/gen-libm-test.pl (special_functions): Remove.
22120 (parse_args): Don't handle TEST_extra. Handle functions with no
22121 return value.
22122 * math/libm-test.inc (struct test_sincos_data): Replace with
22123 struct test_fFF_11_data.
22124 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
22125 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
22126 (sincos_test_data): Change element type to struct
22127 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
22128 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
22129 RUN_TEST_LOOP_sincos.
22130 * math/README.libm-test: Don't mention special handling of
22131 individual functions.
22132 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
22133 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
22134 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
22135 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
22136 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
22137 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22138
f16cc3eb
JM
22139 * math/gen-libm-test.pl (get_variable): Remove function.
22140 (parse_args): Don't show pointer parameters to call in test
22141 names. Use "extra output N" in test names for extra outputs
22142 rather than naming variables.
22143
3779b5b6
JM
221442013-05-18 Joseph Myers <joseph@codesourcery.com>
22145
2ee094ff
JM
22146 [BZ #15488]
22147 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
22148 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
22149 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
22150 double tests.
22151 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
22152 disable.
22153 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
22154 check_long_double.
22155
3779b5b6
JM
22156 * math/gen-libm-test.pl (@tests): Remove variable.
22157 ($count): Likewise.
22158 (new_test): Remove function.
22159 (show_exceptions): New function.
22160 (special_functions): Use show_exceptions instead of new_test.
22161 (parse_args): Likewise.
22162 (generate_testfile): Pass only function name in generated call to
22163 print_max_error or print_complex_max_error.
22164 (get_ulps): Do not handle complex tests specially.
22165 (output_test): Rename to ...
22166 (get_all_ulps_for_test): ... this. Return a string rather than
22167 printing to a file. Require ulps to be present.
22168 (output_ulps): Generate arrays rather than #defines.
22169 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
22170 (struct ulp_data): New type.
22171 (BUILD_COMPLEX_ULP): Remove macro.
22172 (compare_ulp_data): New function.
22173 (find_ulps): Likewise.
22174 (find_test_ulps): Likewise.
22175 (find_function_ulps): Likewise.
22176 (find_complex_function_ulps): Likewise.
22177 (print_max_error): Determine allowed ulps using
22178 find_function_ulps.
22179 (print_complex_max_error): Determine allowed ulps using
22180 find_complex_function_ulps.
22181 (check_float_internal): Determine max ulps using find_test_ulps.
22182 (check_float): Do not take max_ulp parameter. Update call to
22183 check_float_internal.
22184 (check_complex): Likewise.
22185 (check_int): Do not take max_ulp parameter.
22186 (check_long): Likewise.
22187 (check_bool): Likewise.
22188 (check_longlong): Likewise.
22189 (struct test_f_f_data): Remove max_ulp field.
22190 (struct test_ff_f_data): Likewise.
22191 (struct test_ff_f_data_nexttoward): Likewise.
22192 (struct test_fi_f_data): Likewise.
22193 (struct test_fl_f_data): Likewise.
22194 (struct test_if_f_data): Likewise.
22195 (struct test_fff_f_data): Likewise.
22196 (struct test_c_f_data): Likewise.
22197 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
22198 (struct test_fF_f1_data): Likewise.
22199 (struct test_ffI_f1_data): Likewise.
22200 (struct test_c_c_data): Remove max_ulp field.
22201 (struct test_cc_c_data): Likewise.
22202 (struct test_f_i_data): Likewise.
22203 (struct test_ff_i_data): Likewise.
22204 (struct test_f_l_data): Likewise.
22205 (struct test_f_L_data): Likewise.
22206 (struct test_sincos_data): Likewise.
22207 (RUN_TEST_f_f): Do not handle ulps.
22208 (RUN_TEST_LOOP_f_f): Likewise.
22209 (RUN_TEST_2_f): Likewise.
22210 (RUN_TEST_LOOP_2_f): Likewise.
22211 (RUN_TEST_fff_f): Likewise.
22212 (RUN_TEST_LOOP_fff_f): Likewise.
22213 (RUN_TEST_c_f): Likewise.
22214 (RUN_TEST_LOOP_c_f): Likewise.
22215 (RUN_TEST_f_f1): Likewise.
22216 (RUN_TEST_LOOP_f_f1): Likewise.
22217 (RUN_TEST_fF_f1): Likewise.
22218 (RUN_TEST_LOOP_fF_f1): Likewise.
22219 (RUN_TEST_fI_f1): Likewise.
22220 (RUN_TEST_LOOP_fI_f1): Likewise.
22221 (RUN_TEST_ffI_f1): Likewise.
22222 (RUN_TEST_LOOP_ffI_f1): Likewise.
22223 (RUN_TEST_c_c): Likewise.
22224 (RUN_TEST_LOOP_c_c): Likewise.
22225 (RUN_TEST_cc_c): Likewise.
22226 (RUN_TEST_LOOP_cc_c): Likewise.
22227 (RUN_TEST_f_i): Likewise.
22228 (RUN_TEST_LOOP_f_i): Likewise.
22229 (RUN_TEST_f_i_tg): Likewise.
22230 (RUN_TEST_LOOP_f_i_tg): Likewise.
22231 (RUN_TEST_ff_i_tg): Likewise.
22232 (RUN_TEST_LOOP_ff_i_tg): Likewise.
22233 (RUN_TEST_f_b): Likewise.
22234 (RUN_TEST_LOOP_f_b): Likewise.
22235 (RUN_TEST_f_b_tg): Likewise.
22236 (RUN_TEST_LOOP_f_b_tg): Likewise.
22237 (RUN_TEST_f_l): Likewise.
22238 (RUN_TEST_LOOP_f_l): Likewise.
22239 (RUN_TEST_f_L): Likewise.
22240 (RUN_TEST_LOOP_f_L): Likewise.
22241 (RUN_TEST_sincos): Likewise.
22242 (RUN_TEST_LOOP_sincos): Likewise.
22243
8269107f
JM
222442013-05-17 Joseph Myers <joseph@codesourcery.com>
22245
bb38759d
JM
22246 [BZ #15480]
22247 [BZ #15485]
22248 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
22249 main case of finite arguments, set rounding mode to FE_TONEAREST
22250 and discard exceptions.
22251 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
22252 exceptions.
22253 (remainder_tonearest_test_data): New variable.
22254 (remainder_test_tonearest): New function.
22255 (remainder_towardzero_test_data): New variable.
22256 (remainder_test_towardzero): New function.
22257 (remainder_downward_test_data): New variable.
22258 (remainder_test_downward): New function.
22259 (remainder_upward_test_data): New variable.
22260 (remainder_test_upward): New function.
22261 (main): Call the new test functions.
22262
a00bdcf0
JM
22263 * math/libm-test.inc (struct test_f_f1_data): Remove field
22264 extra_init.
22265 (struct test_fF_f1_data): Likewise.
22266 (struct test_ffI_f1_data): Likewise.
22267 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
22268 based on value of EXTRA_EXPECTED.
22269 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
22270 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
22271 EXTRA_VAR based on value of EXTRA_EXPECTED.
22272 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
22273 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
22274 EXTRA_VAR based on value of EXTRA_EXPECTED.
22275 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
22276 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
22277 EXTRA_VAR based on value of EXTRA_EXPECTED.
22278 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
22279 * math/gen-libm-test.pl (parse_args): Don't output initializers
22280 for extra output values.
22281
de407f79
JM
22282 * math/libm-test.inc (check_int): Expect result to be exactly
22283 equal to expected value and do not handle ulps.
22284 (check_long): Likewise.
22285 (check_longlong): Likewise.
22286
8269107f
JM
22287 * math/libm-test.inc (ceil_test_data): Test for "inexact"
22288 exceptions.
22289 (cimag_test_data): Likewise.
22290 (conj_test_data): Likewise.
22291 (copysign_test_data): Likewise.
22292 (cproj_test_data): Likewise.
22293 (creal_test_data): Likewise.
22294 (fabs_test_data): Likewise.
22295 (fdim_test_data): Likewise.
22296 (finite_test_data): Likewise.
22297 (floor_test_data): Likewise.
22298 (fmax_test_data): Likewise.
22299 (fmin_test_data): Likewise.
22300 (fmod_test_data): Likewise.
22301 (fpclassify_test_data): Likewise.
22302 (frexp_test_data): Likewise.
22303 (ilogb_test_data): Likewise.
22304 (isfinite_test_data): Likewise.
22305 (isgreater_test_data): Likewise.
22306 (isgreaterequal_test_data): Likewise.
22307 (isinf_test_data): Likewise.
22308 (isless_test_data): Likewise.
22309 (islessequal_test_data): Likewise.
22310 (islessgreater_test_data): Likewise.
22311 (isnan_test_data): Likewise.
22312 (isnormal_test_data): Likewise.
22313 (issignaling_test_data): Likewise.
22314 (isunordered_test_data): Likewise.
22315 (ldexp_test_data): Likewise.
22316 (lrint_test_data): Likewise.
22317 (lrint_test_data) [TEST_FLOAT]: Disable one test.
22318 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
22319 (lrint_tonearest_test_data): Test for "inexact" exceptions.
22320 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
22321 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
22322 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
22323 test input.
22324 (lrint_towardzero_test_data): Test for "inexact" exceptions.
22325 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
22326 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
22327 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
22328 that test input.
22329 (lrint_downward_test_data): Test for "inexact" exceptions.
22330 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
22331 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
22332 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
22333 test input.
22334 (lrint_upward_test_data): Test for "inexact" exceptions.
22335 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
22336 test input.
22337 (llrint_test_data): Test for "inexact" exceptions.
22338 (llrint_test_data) [TEST_FLOAT]: Disable one test.
22339 (llrint_tonearest_test_data): Test for "inexact" exceptions.
22340 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
22341 (llrint_towardzero_test_data): Test for "inexact" exceptions.
22342 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
22343 (llrint_downward_test_data): Test for "inexact" exceptions.
22344 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
22345 (llrint_upward_test_data): Test for "inexact" exceptions.
22346 (logb_test_data): Likewise.
22347 (logb_downward_test_data): Likewise.
22348 (nextafter_test_data): Likewise.
22349 (nexttoward_test_data): Likewise.
22350 (remainder_test_data): Likewise.
22351 (remquo_test_data): Likewise.
22352 (scalbn_test_data): Likewise.
22353 (scalbln_test_data): Likewise.
22354 (signbit_test_data): Likewise.
22355 (sqrt_test_data): Likewise.
22356 (significand_test_data): Likewise.
22357
48a18de1
SP
223582013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
22359
22360 [BZ #15424]
22361 * benchtests/bench-modf.c (struct args): Mark arg0 as
22362 volatile.
22363 * scripts/bench.pl: Mark members of struct args as volatile.
22364
13d3b41a
AZ
223652013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22366
68191c1d 22367 [BZ # 15497]
13d3b41a
AZ
22368 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
22369 negative infinity on POWER6 or lower.
22370 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
22371
2848b105
MR
223722013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
22373
22374 [BZ #15442]
22375 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
22376 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
22377 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
22378 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
22379 (_FP_SETQNAN): New macro.
22380 (_FP_SETQNAN_SEMIRAW): Likewise.
22381 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
22382 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
22383 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
22384 (FP_EXTEND): Use _FP_FRAC_SNANP.
22385 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
22386 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
22387 into account.
22388 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
22389 New macro.
22390 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
22391 Likewise.
22392
323e5cb7
JM
223932013-05-16 Joseph Myers <joseph@codesourcery.com>
22394
c58b274f
JM
22395 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
22396 with DIVIDE_BY_ZERO_EXCEPTION.
22397 (gamma_test_data): Likewise.
22398 (lgamma_test_data): Likewise.
22399 (log_test_data): Likewise.
22400 (log10_test_data): Likewise.
22401 (log2_test_data): Likewise.
22402 (tgamma_test_data): Likewise.
22403
0ab34904
JM
22404 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
22405 (acos_test_tonearest): Likewise.
22406 (acos_test_towardzero): Likewise.
22407 (acos_test_downward): Likewise.
22408 (acos_test_upward): Likewise.
22409 (acosh_test): Likewise.
22410 (asin_test): Likewise.
22411 (asin_test_tonearest): Likewise.
22412 (asin_test_towardzero): Likewise.
22413 (asin_test_downward): Likewise.
22414 (asin_test_upward): Likewise.
22415 (asinh_test): Likewise.
22416 (atan_test): Likewise.
22417 (atanh_test): Likewise.
22418 (atan2_test): Likewise.
22419 (cabs_test): Likewise.
22420 (cacos_test): Likewise.
22421 (cacosh_test): Likewise.
22422 (casin_test): Likewise.
22423 (casinh_test): Likewise.
22424 (catan_test): Likewise.
22425 (catanh_test): Likewise.
22426 (cbrt_test): Likewise.
22427 (ccos_test): Likewise.
22428 (ccosh_test): Likewise.
22429 (cexp_test): Likewise.
22430 (clog_test): Likewise.
22431 (clog10_test): Likewise.
22432 (cos_test): Likewise.
22433 (cos_test_tonearest): Likewise.
22434 (cos_test_towardzero): Likewise.
22435 (cos_test_downward): Likewise.
22436 (cos_test_upward): Likewise.
22437 (cosh_test): Likewise.
22438 (cosh_test_tonearest): Likewise.
22439 (cosh_test_towardzero): Likewise.
22440 (cosh_test_downward): Likewise.
22441 (cosh_test_upward): Likewise.
22442 (cpow_test): Likewise.
22443 (csin_test): Likewise.
22444 (csinh_test): Likewise.
22445 (csqrt_test): Likewise.
22446 (ctan_test): Likewise.
22447 (ctan_test_tonearest): Likewise.
22448 (ctan_test_towardzero): Likewise.
22449 (ctan_test_downward): Likewise.
22450 (ctan_test_upward): Likewise.
22451 (ctanh_test): Likewise.
22452 (ctanh_test_tonearest): Likewise.
22453 (ctanh_test_towardzero): Likewise.
22454 (ctanh_test_downward): Likewise.
22455 (ctanh_test_upward): Likewise.
22456 (erf_test): Likewise.
22457 (erfc_test): Likewise.
22458 (exp_test): Likewise.
22459 (exp_test_tonearest): Likewise.
22460 (exp_test_towardzero): Likewise.
22461 (exp_test_downward): Likewise.
22462 (exp_test_upward): Likewise.
22463 (exp10_test): Likewise.
22464 (exp2_test): Likewise.
22465 (expm1_test): Likewise.
22466 (fmod_test): Likewise.
22467 (gamma_test): Likewise.
22468 (hypot_test): Likewise.
22469 (j0_test): Likewise.
22470 (j1_test): Likewise.
22471 (jn_test): Likewise.
22472 (lgamma_test): Likewise.
22473 (log_test): Likewise.
22474 (log10_test): Likewise.
22475 (log1p_test): Likewise.
22476 (log2_test): Likewise.
22477 (logb_test_downward): Likewise.
22478 (pow_test): Likewise.
22479 (pow_test_tonearest): Likewise.
22480 (pow_test_towardzero): Likewise.
22481 (pow_test_downward): Likewise.
22482 (pow_test_upward): Likewise.
22483 (remainder_test): Likewise.
22484 (remquo_test): Likewise.
22485 (sin_test): Likewise.
22486 (sin_test_tonearest): Likewise.
22487 (sin_test_towardzero): Likewise.
22488 (sin_test_downward): Likewise.
22489 (sin_test_upward): Likewise.
22490 (sincos_test): Likewise.
22491 (sinh_test): Likewise.
22492 (sinh_test_tonearest): Likewise.
22493 (sinh_test_towardzero): Likewise.
22494 (sinh_test_downward): Likewise.
22495 (sinh_test_upward): Likewise.
22496 (sqrt_test): Likewise.
22497 (tan_test): Likewise.
22498 (tan_test_tonearest): Likewise.
22499 (tan_test_towardzero): Likewise.
22500 (tan_test_downward): Likewise.
22501 (tan_test_upward): Likewise.
22502 (tanh_test): Likewise.
22503 (tgamma_test): Likewise.
22504 (y0_test): Likewise.
22505 (y1_test): Likewise.
22506 (yn_test): Likewise.
22507
323e5cb7
JM
22508 * math/gen-libm-test.pl (adjust_arg): Remove function.
22509 (special_function): Remove argument $in_func. Only handle
22510 generating output for tables of tests, not inside functions.
22511 (parse_args): Likewise.
22512 (generate_testfile): Remove variable $in_func. Update call to
22513 parse_args.
22514 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
22515 (MINUS_ZERO_INIT): Rename macro to minus_zero.
22516 (PLUS_INFTY_INIT): Rename macro to plus_infty.
22517 (MINUS_INFTY_INIT): Rename macro to minus_infty.
22518 (QNAN_VALUE_INIT): Rename macro to qnan_value.
22519 (MAX_VALUE_INIT): Rename macro to max_value.
22520 (MIN_VALUE_INIT): Rename macro to min_value.
22521 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
22522 (plus_zero): Remove variable.
22523 (minus_zero): Likewise.
22524 (plus_infty): Likewise.
22525 (minus_infty): Likewise.
22526 (qnan_value): Likewise.
22527 (max_value): Likewise.
22528 (min_value): Likewise.
22529 (min_subnorm_value): Likewise.
22530
e054f494
RA
225312013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
22532
22533 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
22534 uint64_t or uint32_t usage.
22535 * crypt/sha256-block.c: Likewise.
22536 * crypt/sha256-crypt.c: Likewise.
22537 * crypt/sha256.c: Likewise.
22538 * crypt/sha512-block.c: Likewise.
22539 * crypt/sha512-crypt.c: Likewise.
22540 * crypt/sha512.c: Likewise.
22541 * debug/backtrace-tst.c: Likewise.
22542 * debug/pcprofiledump.c: Likewise.
22543 * elf/cache.c: Likewise.
22544 * elf/dl-cache.c: Likewise.
22545 * elf/dl-misc.c: Likewise.
22546 * elf/dl-profile.c: Likewise.
22547 * elf/dl-support.c: Likewise.
22548 * elf/ldconfig.c: Likewise.
22549 * elf/sprof.c: Likewise.
22550 * iconv/dummy-repertoire.c: Likewise.
22551 * iconv/iconv_charmap.c: Likewise.
22552 * iconv/skeleton.c: Likewise.
22553 * iconvdata/8bit-generic.c: Likewise.
22554 * iconvdata/cp737.h: Likewise.
22555 * iconvdata/cp775.h: Likewise.
22556 * iconvdata/ibm1008.h: Likewise.
22557 * iconvdata/ibm1025.h: Likewise.
22558 * iconvdata/ibm1046.h: Likewise.
22559 * iconvdata/ibm1097.h: Likewise.
22560 * iconvdata/ibm1112.h: Likewise.
22561 * iconvdata/ibm1122.h: Likewise.
22562 * iconvdata/ibm1123.h: Likewise.
22563 * iconvdata/ibm1124.h: Likewise.
22564 * iconvdata/ibm1129.h: Likewise.
22565 * iconvdata/ibm1130.h: Likewise.
22566 * iconvdata/ibm1132.h: Likewise.
22567 * iconvdata/ibm1133.h: Likewise.
22568 * iconvdata/ibm1137.h: Likewise.
22569 * iconvdata/ibm1140.h: Likewise.
22570 * iconvdata/ibm1141.h: Likewise.
22571 * iconvdata/ibm1142.h: Likewise.
22572 * iconvdata/ibm1143.h: Likewise.
22573 * iconvdata/ibm1144.h: Likewise.
22574 * iconvdata/ibm1145.h: Likewise.
22575 * iconvdata/ibm1146.h: Likewise.
22576 * iconvdata/ibm1147.h: Likewise.
22577 * iconvdata/ibm1148.h: Likewise.
22578 * iconvdata/ibm1149.h: Likewise.
22579 * iconvdata/ibm1153.h: Likewise.
22580 * iconvdata/ibm1154.h: Likewise.
22581 * iconvdata/ibm1155.h: Likewise.
22582 * iconvdata/ibm1156.h: Likewise.
22583 * iconvdata/ibm1157.h: Likewise.
22584 * iconvdata/ibm1158.h: Likewise.
22585 * iconvdata/ibm1160.h: Likewise.
22586 * iconvdata/ibm1161.h: Likewise.
22587 * iconvdata/ibm1162.h: Likewise.
22588 * iconvdata/ibm1163.h: Likewise.
22589 * iconvdata/ibm1164.h: Likewise.
22590 * iconvdata/ibm1166.h: Likewise.
22591 * iconvdata/ibm1167.h: Likewise.
22592 * iconvdata/ibm12712.h: Likewise.
22593 * iconvdata/ibm1390.h: Likewise.
22594 * iconvdata/ibm1399.h: Likewise.
22595 * iconvdata/ibm16804.h: Likewise.
22596 * iconvdata/ibm4517.h: Likewise.
22597 * iconvdata/ibm4899.h: Likewise.
22598 * iconvdata/ibm4909.h: Likewise.
22599 * iconvdata/ibm4971.h: Likewise.
22600 * iconvdata/ibm5347.h: Likewise.
22601 * iconvdata/ibm803.h: Likewise.
22602 * iconvdata/ibm856.h: Likewise.
22603 * iconvdata/ibm901.h: Likewise.
22604 * iconvdata/ibm902.h: Likewise.
22605 * iconvdata/ibm9030.h: Likewise.
22606 * iconvdata/ibm9066.h: Likewise.
22607 * iconvdata/ibm921.h: Likewise.
22608 * iconvdata/ibm922.h: Likewise.
22609 * iconvdata/ibm9448.h: Likewise.
22610 * iconvdata/isiri-3342.h: Likewise.
22611 * iconvdata/jis0201.h: Likewise.
22612 * include/link.h: Likewise.
22613 * include/netdb.h: Likewise.
22614 * inet/check_native.c: Likewise.
22615 * inet/check_pf.c: Likewise.
22616 * inet/getipv4sourcefilter.c: Likewise.
22617 * inet/getnameinfo.c: Likewise.
22618 * inet/getsourcefilter.c: Likewise.
22619 * inet/htonl.c: Likewise.
22620 * inet/setipv4sourcefilter.c: Likewise.
22621 * inet/setsourcefilter.c: Likewise.
22622 * inet/test-inet6_opt.c: Likewise.
22623 * inet/tst-network.c: Likewise.
22624 * locale/C-collate.c: Likewise.
22625 * locale/C-ctype.c: Likewise.
22626 * locale/C-time.c: Likewise.
22627 * locale/C-translit.h: Likewise.
22628 * locale/loadarchive.c: Likewise.
22629 * locale/programs/3level.h: Likewise.
22630 * locale/programs/charmap.c: Likewise.
22631 * locale/programs/charmap.h: Likewise.
22632 * locale/programs/ld-address.c: Likewise.
22633 * locale/programs/ld-collate.c: Likewise.
22634 * locale/programs/ld-ctype.c: Likewise.
22635 * locale/programs/ld-identification.c: Likewise.
22636 * locale/programs/ld-measurement.c: Likewise.
22637 * locale/programs/ld-messages.c: Likewise.
22638 * locale/programs/ld-monetary.c: Likewise.
22639 * locale/programs/ld-name.c: Likewise.
22640 * locale/programs/ld-numeric.c: Likewise.
22641 * locale/programs/ld-paper.c: Likewise.
22642 * locale/programs/ld-telephone.c: Likewise.
22643 * locale/programs/ld-time.c: Likewise.
22644 * locale/programs/linereader.c: Likewise.
22645 * locale/programs/locale.c: Likewise.
22646 * locale/programs/locarchive.c: Likewise.
22647 * locale/programs/locfile.h: Likewise.
22648 * locale/programs/repertoire.c: Likewise.
22649 * locale/programs/simple-hash.c: Likewise.
22650 * locale/programs/simple-hash.h: Likewise.
22651 * malloc/memusage.c: Likewise.
22652 * malloc/memusagestat.c: Likewise.
22653 * nis/nis_defaults.c: Likewise.
22654 * nis/nis_hash.c: Likewise.
22655 * nis/nis_print.c: Likewise.
22656 * nis/nis_xdr.c: Likewise.
22657 * nscd/connections.c: Likewise.
22658 * nscd/hstcache.c: Likewise.
22659 * nscd/nscd_gethst_r.c: Likewise.
22660 * nscd/nscd_getserv_r.c: Likewise.
22661 * nscd/nscd_helper.c: Likewise.
22662 * nscd/servicescache.c: Likewise.
22663 * nss/makedb.c: Likewise.
22664 * nss/nss_db/db-XXX.c: Likewise.
22665 * nss/nss_db/db-initgroups.c: Likewise.
22666 * nss/nss_db/db-netgrp.c: Likewise.
22667 * nss/nss_files/files-network.c: Likewise.
22668 * nss/nss_files/files-parse.c: Likewise.
22669 * posix/bug-regex5.c: Likewise.
22670 * posix/fnmatch_loop.c: Likewise.
22671 * posix/regcomp.c: Likewise.
22672 * posix/regexec.c: Likewise.
22673 * posix/tst-rfc3484-2.c: Likewise.
22674 * posix/tst-rfc3484-3.c: Likewise.
22675 * posix/tst-rfc3484.c: Likewise.
22676 * resolv/nss_dns/dns-canon.c: Likewise.
22677 * resolv/nss_dns/dns-network.c: Likewise.
22678 * resolv/res_init.c: Likewise.
22679 * resolv/res_mkquery.c: Likewise.
22680 * resolv/tst-aton.c: Likewise.
22681 * stdlib/cxa_atexit.c: Likewise.
22682 * stdlib/cxa_finalize.c: Likewise.
22683 * stdlib/gen-fpioconst.c: Likewise.
22684 * stdlib/strtol_l.c: Likewise.
22685 * string/tst-endian.c: Likewise.
22686 * sunrpc/auth_des.c: Likewise.
22687 * sunrpc/clnt_udp.c: Likewise.
22688 * sunrpc/rtime.c: Likewise.
22689 * sunrpc/svcauth_des.c: Likewise.
22690 * sunrpc/xdr.c: Likewise.
22691 * sunrpc/xdr_intXX_t.c: Likewise.
22692 * sunrpc/xdr_rec.c: Likewise.
22693 * sysdeps/generic/ldconfig.h: Likewise.
22694 * sysdeps/generic/ldsodefs.h: Likewise.
22695 * sysdeps/generic/memusage.h: Likewise.
22696 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
22697 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
22698 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
22699 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
22700 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
22701 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
22702 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
22703 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
22704 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
22705 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
22706 * sysdeps/posix/getaddrinfo.c: Likewise.
22707 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
22708 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
22709 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
22710 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
22711 * sysdeps/powerpc/test-gettimebase.c: Likewise.
22712 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
22713 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
22714 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
22715 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
22716 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
22717 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
22718 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
22719 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
22720 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
22721 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
22722 * sysdeps/x86_64/dl-tls.h: Likewise.
22723 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
22724 * time/alt_digit.c: Likewise.
22725 * time/era.c: Likewise.
22726 * wcsmbs/tst-c16c32-1.c: Likewise.
22727
8c75f674
JM
227282013-05-16 Joseph Myers <joseph@codesourcery.com>
22729
22730 * math/libm-test.inc (struct test_sincos_data): New type.
22731 (RUN_TEST_LOOP_sincos): New macro.
22732 (sincos_test_data): New variable.
22733 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
22734
e6e49e59
RH
227352013-05-16 Richard Henderson <rth@redhat.com>
22736
22737 * math/atest-exp2.c (LIMB64): New macro.
22738 (CONSTSZ): New macro.
22739 (mp_exp1, mp_exp_m1, mp_log2): New variables.
22740 (hexdig): Move ...
22741 (print_mpn_fp): ... to function scope.
22742 (read_mpn_hex): Remove.
22743 (get_log2): Remove.
22744 (exp2_mpn): Use mp_log2.
22745 (main): Use mp_exp1.
22746
15c7c18d
JM
227472013-05-16 Joseph Myers <joseph@codesourcery.com>
22748
105a07df
JM
22749 * math/libm-test.inc: Remove comment about not testing "inexact"
22750 exceptions.
22751 (INEXACT_EXCEPTION): New macro.
22752 (NO_INEXACT_EXCEPTION): Likewise.
22753 (INVALID_EXCEPTION_OK): Update value.
22754 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
22755 (OVERFLOW_EXCEPTION_OK): Likewise.
22756 (UNDERFLOW_EXCEPTION_OK): Likewise.
22757 (IGNORE_ZERO_INF_SIGN): Likewise.
22758 (ERRNO_UNCHANGED): Likewise.
22759 (ERRNO_EDOM): Likewise.
22760 (ERRNO_ERANGE): Likewise.
22761 (test_exceptions): Handle testing "inexact" exceptions.
22762 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
22763 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
22764 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
22765 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
22766 INEXACT_EXCEPTION.
22767 (rint_towardzero_test_data): Likewise.
22768 (rint_downward_test_data): Likewise.
22769 (rint_upward_test_data): Likewise.
22770
e9eee333
JM
22771 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
22772 with OVERFLOW_EXCEPTION.
22773 (exp10_test_data): Likewise.
22774 (exp2_test_data): Likewise.
22775 (expm1_test_data): Likewise.
22776 (lgamma_test_data): Likewise.
22777 (pow_test_data): Likewise.
22778 (tgamma_test_data): Likewise.
22779 (yn_test_data): Remove duplicate test of overflow.
22780
1c38ff73
JM
22781 * math/libm-test.inc (struct test_cc_c_data): New type.
22782 (RUN_TEST_LOOP_cc_c): New macro.
22783 (cpow_test_data): New variable.
22784 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
22785
15c7c18d
JM
22786 * math/libm-test.inc (struct test_f_L_data): New type.
22787 (RUN_TEST_LOOP_f_L): New macro.
22788 (llrint_test_data): New variable.
22789 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
22790 (llrint_tonearest_test_data): New variable.
22791 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
22792 (llrint_towardzero_test_data): New variable.
22793 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
22794 (llrint_downward_test_data): New variable.
22795 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
22796 (llrint_upward_test_data): New variable.
22797 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
22798 (llround_test_data): New variable.
22799 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
22800
f137ff13
PC
228012013-05-13 Peter Collingbourne <pcc@google.com>
22802
22803 * math/atest-exp2.c (get_log2): Remove const attribute.
22804
3608cb24
JM
228052013-05-15 Joseph Myers <joseph@codesourcery.com>
22806
22807 * math/libm-test.inc (struct test_f_l_data): New type.
22808 (RUN_TEST_LOOP_f_l): New macro.
22809 (lrint_test_data): New variable.
22810 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
22811 (lrint_tonearest_test_data): New variable.
22812 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
22813 (lrint_towardzero_test_data): New variable.
22814 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
22815 (lrint_downward_test_data): New variable.
22816 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
22817 (lrint_upward_test_data): New variable.
22818 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
22819 (lround_test_data): New variable.
22820 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
22821
39b1f617
PC
228222013-05-15 Peter Collingbourne <pcc@google.com>
22823
1deff3dc
PC
22824 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
22825 (EXTRACT_WORDS64) Use where appropriate.
22826 (INSERT_WORDS64) Likewise.
22827
791f3ba0
PC
22828 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
22829 constraints with x constraints.
22830 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
22831
39b1f617
PC
22832 * malloc/obstack.c (_obstack_compat): Add initializer.
22833
12fba011
EM
228342013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
22835
22836 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
22837 si_trapno and add si_addr_lsb to _sifields.sigfault.
22838 (si_trapno): Remove macro.
22839 (si_addr_lsb): Define new macro.
22840 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
22841
d369f531
JM
228422013-05-15 Joseph Myers <joseph@codesourcery.com>
22843
b861c6c4
JM
22844 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
22845 instead of TEST_f_l.
22846 (llrint_test_tonearest): Likewise.
22847 (llrint_test_towardzero): Likewise.
22848 (llrint_test_downward): Likewise.
22849 (llrint_test_upward): Likewise.
22850 (llround_test): Likewise.
22851
7abeee12
JM
22852 * math/libm-test.inc (struct test_f_i_data): Add comment.
22853 (RUN_TEST_LOOP_f_b): New macro.
22854 (RUN_TEST_LOOP_f_b_tg): Likewise.
22855 (finite_test_data): New variable.
22856 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
22857 (isfinite_test_data): New variable.
22858 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
22859 (isinf_test_data): New variable.
22860 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
22861 (isnan_test_data): New variable.
22862 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
22863 (isnormal_test_data): New variable.
22864 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
22865 (issignaling_test_data): New variable.
22866 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
22867 (signbit_test_data): New variable.
22868 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
22869
cbe8c4d3
JM
22870 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
22871 with INVALID_EXCEPTION.
22872 (acosh_test_data): Likewise.
22873 (asin_test_data): Likewise.
22874 (atanh_test_data): Likewise.
22875 (fmod_test_data): Likewise.
22876 (log_test_data): Likewise.
22877 (log10_test_data): Likewise.
22878 (log2_test_data): Likewise.
22879 (pow_test_data): Likewise.
22880 (sqrt_test_data): Likewise.
22881 (y0_test_data): Likewise.
22882 (y1_test_data): Likewise.
22883 (yn_test_data): Likewise.
22884
5575c0e5
JM
22885 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
22886 function contents.
22887
d369f531
JM
22888 * math/libm-test.inc (struct test_ff_i_data): New type.
22889 (RUN_TEST_LOOP_ff_i_tg): New macro.
22890 (isgreater_test_data): New variable.
22891 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
22892 (isgreaterequal_test_data): New variable.
22893 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
22894 (isless_test_data): New variable.
22895 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
22896 (islessequal_test_data): New variable.
22897 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
22898 (islessgreater_test_data): New variable.
22899 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
22900 (isunordered_test_data): New variable.
22901 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
22902
781fd748
DM
229032013-05-14 David S. Miller <davem@davemloft.net>
22904
22905 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22906
87aa21df
JM
229072013-05-14 Joseph Myers <joseph@codesourcery.com>
22908
5e908270
JM
22909 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
22910
f71172e5
JM
22911 * math/libm-test.inc (struct test_fF_f1_data): Change type of
22912 extra_test to int.
22913 (struct test_f_i_data): Change type of max_ulp to int.
22914
8cfa635a
JM
22915 * math/libm-test.inc (test_ffI_f1_data): New type.
22916 (RUN_TEST_LOOP_ffI_f1): New macro.
22917 (remquo_test_data): New variable.
22918 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
22919
2bcb36b2
JM
22920 * setjmp/tst-setjmp-fp.c: New file.
22921 * setjmp/Makefile (tests): Add tst-setjmp-fp.
22922 (link-libm): New variable.
22923 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
22924
acbd839a
JM
22925 * math/libm-test.inc (struct test_f_i_data): New type.
22926 (RUN_TEST_LOOP_f_i): New macro.
22927 (RUN_TEST_LOOP_f_i_tg): Likewise.
22928 (fpclassify_test_data): New variable.
22929 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
22930 (ilogb_test_data): New variable.
22931 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
22932
e414d745
JM
22933 * math/libm-test.inc (scalbln_test): Correct function name in END
22934 call.
22935
d9c2a0fd
JM
22936 * math/libm-test.inc (struct test_f_f1_data): Add comment.
22937 (RUN_TEST_LOOP_fI_f1): New macro.
22938 (frexp_test_data): New variable.
22939 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
22940
9dc9095d
JM
22941 * math/libm-test.inc (struct test_fF_f1_data): New type.
22942 (RUN_TEST_LOOP_fF_f1): New macro.
22943 (modf_test_data): New variable.
22944 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
22945
87aa21df
JM
22946 * math/libm-test.inc (struct test_f_f1_data): New type.
22947 (RUN_TEST_LOOP_f_f1): New macro.
22948 (gamma_test_data): New variable.
22949 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
22950 (lgamma_test_data): New variable.
22951 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
22952
141af660
CD
229532013-05-13 Carlos O'Donell <carlos@redhat.com>
22954
22955 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
22956 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
22957 (main): Comment "tls" pseudo-hwcap.
22958
6d33265c
JM
229592013-05-13 Joseph Myers <joseph@codesourcery.com>
22960
68fc074c
JM
22961 * math/libm-test.inc (struct test_fl_f_data): New type.
22962 (RUN_TEST_LOOP_fl_f): New variable.
22963 (scalbln_test_data): New variable.
22964 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
22965
243216e1
JM
22966 * math/libm-test.inc (struct test_fi_f_data): New type.
22967 (RUN_TEST_LOOP_fi_f): New macro.
22968 (ldexp_test_data): New variable.
22969 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
22970 (scalbn_test_data): New variable.
22971 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
22972
6a1992e2
JM
22973 * math/libm-test.inc (struct test_c_f_data): New type.
22974 (RUN_TEST_LOOP_c_f): New macro.
22975 (cabs_test_data): New variable.
22976 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
22977 (carg_test_data): New variable.
22978 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
22979 (cimag_test_data): New variable.
22980 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
22981 (creal_test_data): New variable.
22982 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
22983
0e400df5
JM
22984 * math/libm-test.inc (struct test_if_f_data): New type.
22985 (RUN_TEST_LOOP_if_f): New macro.
22986 (jn_test_data): New variable.
22987 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
22988 (yn_test_data): New variable.
22989 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
22990
6d33265c
JM
22991 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
22992
f98ece5f
AZ
229932013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22994
22995 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
22996 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
22997
0f7d347b
SP
229982013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
22999
43fe811b
SP
23000 * benchtests/Makefile (CPPFLAGS-nonlib): Add
23001 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
23002 (bench-deps): Add bench-timing.h.
23003 * benchtests-bench-skeleton.c: Include bench-timing.h.
23004 (main): Use TIMING_* macros instead of clock_gettime.
23005 * benchtests/bench-timing.h: New file.
23006
0f7d347b
SP
23007 [BZ #14582]
23008 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
23009 Renamed from _LIB_VERSION.
23010 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
23011
601a3a5f
JM
230122013-05-12 Joseph Myers <joseph@codesourcery.com>
23013
4f184d30
JM
23014 * math/libm-test.inc (struct test_fff_f_data): New type.
23015 (RUN_TEST_LOOP_fff_f): New macro.
23016 (fma_test_data): New variable.
23017 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
23018 (fma_towardzero_test_data): New variable.
23019 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
23020 (fma_downward_test_data): New variable.
23021 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
23022 (fma_upward_test_data): New variable.
23023 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
23024
08198877
JM
23025 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
23026 (struct test_c_c_data): New type.
23027 (RUN_TEST_LOOP_c_c): New macro.
23028 (cacos_test_data): New variable.
23029 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
23030 (cacosh_test_data): New variable.
23031 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
23032 (casin_test_data): New variable.
23033 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
23034 (casinh_test_data): New variable.
23035 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
23036 (catan_test_data): New variable.
23037 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
23038 (catanh_test_data): New variable.
23039 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
23040 (ccos_test_data): New variable.
23041 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
23042 (ccosh_test_data): New variable.
23043 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
23044 (cexp_test_data): New variable.
23045 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
23046 (clog_test_data): New variable.
23047 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
23048 (clog10_test_data): New variable.
23049 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
23050 (conj_test_data): New variable.
23051 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
23052 (cproj_test_data): New variable.
23053 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
23054 (csin_test_data): New variable.
23055 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
23056 (csinh_test_data): New variable.
23057 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
23058 (csqrt_test_data): New variable.
23059 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
23060 (ctan_test_data): New variable.
23061 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
23062 (ctan_tonearest_test_data): New variable.
23063 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
23064 (ctan_towardzero_test_data): New variable.
23065 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
23066 (ctan_downward_test_data): New variable.
23067 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
23068 (ctan_upward_test_data): New variable.
23069 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
23070 (ctanh_test_data): New variable.
23071 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
23072 (ctanh_tonearest_test_data): New variable.
23073 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
23074 (ctanh_towardzero_test_data): New variable.
23075 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
23076 (ctanh_downward_test_data): New variable.
23077 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
23078 (ctanh_upward_test_data): New variable.
23079 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
23080 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
23081 of BUILD_COMPLEX.
23082
601a3a5f
JM
23083 * math/libm-test.inc (struct test_ff_f_data): New type.
23084 (struct test_ff_f_data_nexttoward): Likewise.
23085 (RUN_TEST_LOOP_2_f): New macro.
23086 (RUN_TEST_LOOP_ff_f): Likewise.
23087 (atan2_test_data): New variable.
23088 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
23089 (copysign_test_data): New variable.
23090 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
23091 (fdim_test_data): New variable.
23092 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
23093 (fmax_test_data): New variable.
23094 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
23095 (fmin_test_data): New variable.
23096 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
23097 (fmod_test_data): New variable.
23098 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
23099 (hypot_test_data): New variable.
23100 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
23101 (nextafter_test_data): New variable.
23102 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
23103 (nexttoward_test_data): New variable.
23104 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
23105 (pow_test_data): New variable.
23106 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
23107 (pow_tonearest_test_data): New variable.
23108 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
23109 (pow_towardzero_test_data): New variable.
23110 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
23111 (pow_downward_test_data): New variable.
23112 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
23113 (pow_upward_test_data): New variable.
23114 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
23115 (remainder_test_data): New variable.
23116 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
23117 (scalb_test_data): New variable.
23118 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
23119 * sysdeps/i386/fpu/libm-test-ulps: Update.
23120
74c57478
JM
231212013-05-11 Joseph Myers <joseph@codesourcery.com>
23122
8329e4da
JM
23123 * math/libm-test.inc (fma_test): Use max_value instead of local
23124 variable fltmax.
23125 (nextafter_test): Likewise.
23126
74c57478
JM
23127 * math/libm-test.inc (acos_towardzero_test_data): New variable.
23128 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
23129 (acos_downward_test_data): New variable.
23130 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
23131 (acos_upward_test_data): New variable.
23132 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
23133 (acosh_test_data): New variable.
23134 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
23135 (asin_test_data): New variable.
23136 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
23137 (asin_tonearest_test_data): New variable.
23138 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
23139 (asin_towardzero_test_data): New variable.
23140 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
23141 (asin_downward_test_data): New variable.
23142 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
23143 (asin_upward_test_data): New variable.
23144 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
23145 (asinh_test_data): New variable.
23146 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
23147 (atan_test_data): New variable.
23148 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
23149 (atanh_test_data): New variable.
23150 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
23151 (cbrt_test_data): New variable.
23152 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
23153 (ceil_test_data): New variable.
23154 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
23155 (cos_test_data): New variable.
23156 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
23157 (cos_tonearest_test_data): New variable.
23158 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
23159 (cos_towardzero_test_data): New variable.
23160 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
23161 (cos_downward_test_data): New variable.
23162 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
23163 (cos_upward_test_data): New variable.
23164 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
23165 (cosh_test_data): New variable.
23166 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
23167 (cosh_tonearest_test_data): New variable.
23168 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
23169 (cosh_towardzero_test_data): New variable.
23170 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
23171 (cosh_downward_test_data): New variable.
23172 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
23173 (cosh_upward_test_data): New variable.
23174 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
23175 (erf_test_data): New variable.
23176 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
23177 (erfc_test_data): New variable.
23178 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
23179 (exp_test_data): New variable.
23180 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
23181 (exp_tonearest_test_data): New variable.
23182 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
23183 (exp_towardzero_test_data): New variable.
23184 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
23185 (exp_downward_test_data): New variable.
23186 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
23187 (exp_upward_test_data): New variable.
23188 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
23189 (exp10_test_data): New variable.
23190 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
23191 (exp2_test_data): New variable.
23192 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
23193 (expm1_test_data): New variable.
23194 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
23195 (fabs_test_data): New variable.
23196 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
23197 (floor_test_data): New variable.
23198 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
23199 (j0_test_data): New variable.
23200 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
23201 (j1_test_data): New variable.
23202 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
23203 (log_test_data): New variable.
23204 (log_test): Run tests with RUN_TEST_LOOP_f_f.
23205 (log10_test_data): New variable.
23206 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
23207 (log1p_test_data): New variable.
23208 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
23209 (log2_test_data): New variable.
23210 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
23211 (logb_test_data): New variable.
23212 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
23213 (logb_downward_test_data): New variable.
23214 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
23215 (nearbyint_test_data): New variable.
23216 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
23217 (rint_test_data): New variable.
23218 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
23219 (rint_tonearest_test_data): New variable.
23220 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
23221 (rint_towardzero_test_data): New variable.
23222 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
23223 (rint_downward_test_data): New variable.
23224 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
23225 (rint_upward_test_data): New variable.
23226 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
23227 (round_test_data): New variable.
23228 (round_test): Run tests with RUN_TEST_LOOP_f_f.
23229 (sin_test_data): New variable.
23230 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
23231 (sin_tonearest_test_data): New variable.
23232 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
23233 (sin_towardzero_test_data): New variable.
23234 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
23235 (sin_downward_test_data): New variable.
23236 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
23237 (sin_upward_test_data): New variable.
23238 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
23239 (sinh_test_data): New variable.
23240 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
23241 (sinh_tonearest_test_data): New variable.
23242 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
23243 (sinh_towardzero_test_data): New variable.
23244 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
23245 (sinh_downward_test_data): New variable.
23246 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
23247 (sinh_upward_test_data): New variable.
23248 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
23249 (sqrt_test_data): New variable.
23250 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
23251 (tan_test_data): New variable.
23252 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
23253 (tan_tonearest_test_data): New variable.
23254 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
23255 (tan_towardzero_test_data): New variable.
23256 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
23257 (tan_downward_test_data): New variable.
23258 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
23259 (tan_upward_test_data): New variable.
23260 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
23261 (tanh_test_data): New variable.
23262 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
23263 (tgamma_test_data): New variable.
23264 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
23265 (trunc_test_data): New variable.
23266 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
23267 (y0_test_data): New variable.
23268 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
23269 (y1_test_data): New variable.
23270 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
23271 (significand_test_data): New variable.
23272 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
23273
7187d844
CG
232742013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
23275
23276 [BZ #12387]
23277 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
23278
f63fae73
PT
232792013-05-10 Pino Toscano <toscano.pino@tiscali.it>
23280
23281 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
23282
8a67a4b3
AJ
232832013-05-10 Andreas Jaeger <aj@suse.de>
23284
23285 [BZ #15448]
23286 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
23287 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
23288
51df539d
JM
232892013-05-10 Joseph Myers <joseph@codesourcery.com>
23290
23291 * math/gen-libm-test.pl (adjust_arg): New function.
23292 (special_functions): Handle generating output in both functions
23293 and arrays.
23294 (parse_args): Likewise.
23295 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
23296 $in_func argument to parse_args.
23297 * math/libm-test.inc (struct test_f_f_data): New type.
23298 (IF_ROUND_INIT_): New macro.
23299 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
23300 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
23301 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
23302 (IF_ROUND_INIT_FE_UPWARD): Likewise.
23303 (ROUND_RESTORE_): Likewise.
23304 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
23305 (ROUND_RESTORE_FE_TONEAREST): Likewise.
23306 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
23307 (ROUND_RESTORE_FE_UPWARD): Likewise.
23308 (RUN_TEST_LOOP_f_f): New macro.
23309 (acos_test_data): New variable.
23310 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
23311 (acos_tonearest_test_data): New variable.
23312 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
23313
5c637fe5
SP
233142013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
23315
23316 * benchtests/bench-skeleton.c (startup): Fix coding style.
23317
ab2b9461
JM
233182013-05-10 Joseph Myers <joseph@codesourcery.com>
23319
23320 [BZ #6809]
23321 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
23322 negative infinity argument.
23323 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
23324 negative infinity argument.
23325 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
23326 negative infinity argument.
23327 * math/libm-test.inc (tgamma_test): Expect errno to be set for
23328 domain errors.
23329
4c0fe6fe
FW
233302013-05-10 Florian Weimer <fweimer@redhat.com>
23331
23332 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
23333 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
23334 * iconv/iconv_prog.c (main): Likewise.
23335 * locale/programs/charmap-dir.c (charmap_readdir)
23336 (fopen_uncompressed): Likewise.
23337 * locale/programs/locfile.c (siblings_uncached)
23338 (write_locale_data): Use lstat64 instead of lstat.
23339 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
23340 stat.
23341
a3375d29
AJ
233422013-05-10 Andreas Jaeger <aj@suse.de>
23343
23344 [BZ #15395]
23345 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
23346 localization.
23347 Include <locale.h>.
23348
36129722
CD
233492013-05-09 Carlos O'Donell <carlos@redhat.com>
23350
23351 * elf/dl-close.c (_dl_close_worker): Add comments.
23352
faa7f811
JM
233532013-05-09 Joseph Myers <joseph@codesourcery.com>
23354
ed41ffef
JM
23355 [BZ #15359]
23356 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
23357 high part of pi/2.
23358 (__ieee754_rem_pio2l): Update comments.
23359
d0213cd0
JM
23360 [BZ #15429]
23361 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
23362 high part of pi/2.
23363 (__ieee754_rem_pio2l): Update comments.
23364
0d3e777a
JM
23365 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
23366 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
23367
24f56066
JM
23368 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
23369 M_PI_4l.
23370
faa7f811
JM
23371 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
23372 (M_PI_34_LOG10El): Likewise.
23373 (M_PI2_LOG10El): Likewise.
23374 (M_PI4_LOG10El): Likewise.
23375 (M_PI_LOG10El): Likewise.
23376
e9a5e0fd
AZ
233772013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23378
23379 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23380
d8cd06db
JM
233812013-05-08 Joseph Myers <joseph@codesourcery.com>
23382
a0d9f9d7
JM
23383 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
23384 (MINUS_ZERO_INIT): Likewise.
23385 (PLUS_INFTY_INIT): Likewise.
23386 (MINUS_INFTY_INIT): Likewise.
23387 (QNAN_VALUE_INIT): Likewise.
23388 (MAX_VALUE_INIT): Likewise.
23389 (MIN_VALUE_INIT): Likewise.
23390 (MIN_SUBNORM_VALUE_INIT): Likewise.
23391 (plus_zero): Initialize with PLUS_ZERO_INIT.
23392 (minus_zero): Initialize with MINUS_ZERO_INIT.
23393 (plus_infty): Initialize with PLUS_INFTY_INIT.
23394 (minus_infty): Initialize with MINUS_INFTY_INIT.
23395 (qnan_value): Initialize with QNAN_VALUE_INIT.
23396 (max_value): Initialize with MAX_VALUE_INIT.
23397 (min_value): Initialize with MIN_VALUE_INIT.
23398 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
23399
ae08db3b
JM
23400 * math/libm-test.inc (RUN_TEST_if_f): New macro.
23401 (jn_test): Use TEST_if_f instead of TEST_ff_f.
23402 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
23403 (yn_test): Use TEST_if_f instead of TEST_ff_f.
23404
f44bf14a
JM
23405 * math/libm-test.inc (RUN_TEST_f_f): New macro.
23406 (RUN_TEST_2_f): Likewise.
23407 (RUN_TEST_ff_f): Likewise.
23408 (RUN_TEST_fi_f): Likewise.
23409 (RUN_TEST_fl_f): Likewise.
23410 (RUN_TEST_fff_f): Likewise.
23411 (RUN_TEST_c_f): Likewise.
23412 (RUN_TEST_f_f1): Likewise.
23413 (RUN_TEST_fF_f1): Likewise.
23414 (RUN_TEST_fI_f1): Likewise.
23415 (RUN_TEST_ffI_f1): Likewise.
23416 (RUN_TEST_c_c): Likewise.
23417 (RUN_TEST_cc_c): Likewise.
23418 (RUN_TEST_f_i): Likewise.
23419 (RUN_TEST_f_i_tg): Likewise.
23420 (RUN_TEST_ff_i_tg): Likewise.
23421 (RUN_TEST_f_b): Likewise.
23422 (RUN_TEST_f_b_tg): Likewise.
23423 (RUN_TEST_f_l): Likewise.
23424 (RUN_TEST_f_L): Likewise.
23425 (RUN_TEST_sincos): Likewise.
23426 * math/gen-libm-test.pl (new_test): Take new argument to indicate
23427 whether to show exceptions. Do not include ");\n" in return
23428 value.
23429 (special_functions): Output call to RUN_TEST_sincos instead of
23430 check_float calls. Update calls to new_test.
23431 (parse_args): Output call to single RUN_TEST_* macro instead of
23432 check_* calls and other assignments. Update calls to new_test.
23433
d8cd06db
JM
23434 [BZ #2546]
23435 [BZ #2560]
23436 [BZ #5159]
23437 [BZ #15426]
23438 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
23439 input to result for tgamma overflow.
23440 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
23441 (gamma_coeff): New variable.
23442 (NCOEFF): New macro.
23443 (gamma_positive): New function.
23444 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
23445 underflow here. Use gamma_positive instead of exp (lgamma) for
23446 other arguments.
23447 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
23448 (gamma_coeff): New variable.
23449 (NCOEFF): New macro.
23450 (gammaf_positive): New function.
23451 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
23452 underflow here. Use gamma_positive instead of exp (lgamma) for
23453 other arguments.
23454 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
23455 (gamma_coeff): New variable.
23456 (NCOEFF): New macro.
23457 (gammal_positive): New function.
23458 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
23459 underflow here. Use gamma_positive instead of exp (lgamma) for
23460 other arguments.
23461 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
23462 (gamma_coeff): New variable.
23463 (NCOEFF): New macro.
23464 (gammal_positive): New function.
23465 (__ieee754_gammal_r): Handle positive infinity, overflow and
23466 underflow here. Handle NaN the same as positive infinity. Remove
23467 check x < 0xffffffff for negative integers. Use gamma_positive
23468 instead of exp (lgamma) for other arguments.
23469 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
23470 (gamma_coeff): New variable.
23471 (NCOEFF): New macro.
23472 (gammal_positive): New function.
23473 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
23474 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
23475 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
23476 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
23477 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
23478 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
23479 * sysdeps/generic/math_private.h (__gamma_productf): New
23480 prototype.
23481 (__gamma_product): Likewise.
23482 (__gamma_productl): Likewise.
23483 * math/Makefile (libm-calls): Add gamma_product.
23484 * math/libm-test.inc (tgamma_test): Add more tests.
23485 * sysdeps/i386/fpu/libm-test-ulps: Update.
23486 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23487
bb7cf681
OB
234882013-05-08 Ondřej Bílka <neleai@seznam.cz>
23489
23490 * benchtests/bench-skeleton.c (main): Preheat CPU.
23491
ba853947
AJ
234922013-05-07 Aurelien Jarno <aurelien@aurel32.net>
23493
23494 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
23495
8347c74c
RM
234962013-05-07 Roland McGrath <roland@hack.frob.com>
23497
23498 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
23499 and _dl_skip_args_internal.
23500
e8dd4791
CD
235012013-05-07 Carlos O'Donell <carlos@redhat.com>
23502
23503 * manual/message.texi (Message Translation): Talk about users.
23504 Message to key mapping impacts design.
23505
c7405830
RM
235062013-05-06 Roland McGrath <roland@hack.frob.com>
23507
a9173057
RM
23508 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
23509
976e2f03
RM
23510 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
23511
9723ffc5
RM
23512 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
23513 * sysdeps/wordsize-64/glob64.c: ... here.
23514
962e6658
RM
23515 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
23516 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
23517 New macros.
23518
ee586a6d
RM
23519 * debug/getlogin_r_chk.c: Moved to ...
23520 * login/getlogin_r_chk.c: ... here.
23521 * debug/Makefile (routines): Move getlogin_r_chk to ...
23522 * login/Makefile (routines): ... here.
23523 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
23524 * login/Versions (libc: GLIBC_2.4): ... here.
23525
355f9165
RM
23526 * io/poll.c (__poll): Renamed from poll.
23527 Add libc_hidden_def.
23528 (poll): Define as weak alias.
23529
bd9ffde6
RM
23530 * debug/ptsname_r_chk.c: Moved to ...
23531 * login/ptsname_r_chk.c: ... here.
23532 * debug/Makefile (routines): Move ptsname_r_chk to ...
23533 * login/Makefile (routines): ... here.
23534 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
23535 * login/Versions (libc: GLIBC_2.4): ... here.
23536
8fb16a04
RM
23537 * posix/getlogin.c: Moved to ...
23538 * login/getlogin.c: ... here.
23539 * posix/getlogin_r.c: Moved to ...
23540 * login/getlogin_r.c: ... here.
23541 * posix/getlogin_r.c: Moved to ...
23542 * login/getlogin_r.c: ... here.
23543 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
23544 * login/Makefile (routines): ... here.
23545 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
23546 * login/Versions (libc: GLIBC_2.0): ... here.
23547
b99b892f
RM
23548 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
23549 (setrlimit): Define as weak alias.
23550
c7405830
RM
23551 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
23552 Call __ names for open, ftruncate, and close.
23553 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
23554 (truncate): Define as weak alias.
23555
5bf96de5
JM
235562013-05-06 Joseph Myers <joseph@codesourcery.com>
23557
9ea3513c
JM
23558 * math/gen-libm-test.pl (parse_args): Initialize x before each
23559 test of frexp, modf and remquo.
23560
5bf96de5
JM
23561 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
23562 test signgam value.
23563
16e616a7
AZ
235642013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23565
23566 [BZ #15418]
23567 [BZ #15419]
23568 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
23569 internal tests.
23570 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
23571
d5e82754
RM
235722013-05-06 Roland McGrath <roland@hack.frob.com>
23573
23574 * elf/dl-writev.h: New file.
23575 * elf/dl-misc.c: Include it.
23576 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
23577 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
23578
a7548d41
JM
235792013-05-04 Joseph Myers <joseph@codesourcery.com>
23580
b7dab1e4
JM
23581 * math/libm-test.inc (noXFails): Remove variable.
23582 (noXPasses): Likewise.
23583 (BUILD_COMPLEX_INT): Remove macro.
23584 (print_screen): Remove xfail argument.
23585 (print_screen_max_error): Likewise.
23586 (update_stats): Likewise.
23587 (print_max_error): Likewise. Update calls to other affected
23588 functions.
23589 (print_complex_max_error): Likewise.
23590 (test_single_exception): Update calls to print_screen.
23591 (test_single_errno): Likewise.
23592 (check_float_internal): Remove xfail argument. Update calls to
23593 other affected functions.
23594 (check_float): Likewise.
23595 (check_complex): Likewise.
23596 (check_int): Likewise.
23597 (check_long): Likewise.
23598 (check_bool): Likewise.
23599 (check_longlong): Likewise.
23600 (main): Don't print noXFails and noXPasses.
23601 * math/gen-libm-test.pl (top level): Don't mention expected
23602 failure handling in comment.
23603 (new_test): Don't handle expected failures.
23604 (parse_args): Don't mention expected failure handling in comment.
23605 (generate_testfile): Don't handle expected failures.
23606 (parse_ulps): Likewise.
23607 (print_ulps_file): Likewise.
23608 (get_failure): Remove function.
23609 (output_test): Don't handle expected failures.
23610 * make/README.libm-test: Don't mention expected failure handling.
23611
a7548d41
JM
23612 * math/libm-test.inc (plus_zero): Make const. Add initializer.
23613 (minus_zero): Likewise.
23614 (plus_infty): Likewise.
23615 (minus_infty): Likewise.
23616 (qnan_value): Likewise.
23617 (max_value): Likewise.
23618 (min_value): Likewise.
23619 (min_subnorm_value): Likewise.
23620 (initialize): Do not initialize those variables dynamically.
23621
60bfd54c
RM
236222013-05-03 Roland McGrath <roland@hack.frob.com>
23623
cc0e6ed8
RM
23624 * io/open.c (__open_2): Moved to ...
23625 * io/open_2.c: ... this new file.
23626 * io/open64.c (__open64_2): Moved to ...
23627 * io/open64_2.c: ... this new file.
23628 * io/openat.c (__openat_2): Moved to ...
23629 * io/openat_2.c: ... this new file.
23630 * io/openat64.c (__openat64_2): Moved to ...
23631 * io/openat64_2.c: ... this new file.
23632 * io/Makefile (routines): Add them.
23633 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
23634 * sysdeps/unix/sysv/linux/open_2.c: File removed.
23635 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
23636 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
23637 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
23638 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
23639 (__openat64): Add hidden_ver.
23640 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
23641 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
23642
60bfd54c
RM
23643 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
23644 Separately conditionalize setting of GLRO(dl_sysinfo) so
23645 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
23646 as well, but the actual setting is only under [NEED_DL_SYSINFO].
23647
83e7640f
AZ
236482013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23649
23650 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
23651 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
23652 definition.
23653 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
23654 * sysdeps/unix/sysv/linux/powerpc/init-first.c
23655 (_libc_vdso_platform_setup): Add __vdso_time initialization.
23656 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
23657 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
23658
d5dc2af3
JM
236592013-05-03 Joseph Myers <joseph@codesourcery.com>
23660
c31a5b1e
JM
23661 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
23662 test signgam value.
23663
d5dc2af3
JM
23664 * math/libm-test.inc (hypot_test): Do not use
23665 IGNORE_ZERO_INF_SIGN.
23666
164fd39d
AJ
236672013-05-03 Andreas Jaeger <aj@suse.de>
23668
23669 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
23670 Linux 3.9.
23671 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
23672 (PF_MAX): Adjust for VSOCK change.
23673
8237f48c
AZ
236742013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23675
23676 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23677
9df02941
CD
236782013-05-02 Carlos O'Donell <carlos@redhat.com>
23679
23680 [BZ #15264]
23681 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
23682 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
23683 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
23684
d422395e
DM
236852013-05-02 David S. Miller <davem@davemloft.net>
23686
23687 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23688
a07c5731
OB
236892013-05-01 Ondřej Bílka <neleai@seznam.cz>
23690
23691 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
23692
1324e37f
RM
236932013-05-01 Roland McGrath <roland@hack.frob.com>
23694
23695 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
23696
0695940b
RS
236972013-05-01 Richard Smith <richard@metafoo.co.uk>
23698
bb5f27ad 23699 [BZ #14952]
0695940b
RS
23700 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
23701 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
23702 Use __attribute__ ((__gnu_inline__)).
23703 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
23704 Don't use __attribute__ ((__gnu_inline__)).
23705
10de07f5
JM
237062013-05-01 Joseph Myers <joseph@codesourcery.com>
23707
23708 [BZ #15423]
23709 * math/s_catan.c (__catan): Handle small real or imaginary part of
23710 input specially to avoid spurious underflow.
23711 * math/s_catanf.c (__catanf): Likewise.
23712 * math/s_catanh.c (__catanh): Likewise.
23713 * math/s_catanhf.c (__catanhf): Likewise.
23714 * math/s_catanhl.c (__catanhl): Likewise.
23715 * math/s_catanl.c (__catanl): Likewise.
23716 * math/libm-test.inc (catan_test): Add more tests.
23717 (catanh_test): Likewise.
23718 * sysdeps/i386/fpu/libm-test-ulps: Update.
23719 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23720
cb4d5414
AZ
237212013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23722
23723 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23724
caf84319
JM
237252013-04-30 Joseph Myers <joseph@codesourcery.com>
23726
23727 [BZ #15416]
23728 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
23729 accurately for denominator in atan2.
23730 * math/s_catanf.c (__catanf): Likewise.
23731 * math/s_catanh.c (__catanh): Likewise.
23732 * math/s_catanhf.c (__catanhf): Likewise.
23733 * math/s_catanhl.c (__catanhl): Likewise.
23734 * math/s_catanl.c (__catanl): Likewise.
23735 * math/libm-test.inc (catan_test): Add more tests.
23736 (catanh_test): Likewise.
23737 * sysdeps/i386/fpu/libm-test-ulps: Update.
23738 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23739
d569c6ee
SP
237402013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
23741
6dbe713d
SP
23742 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
23743
f0ee064b
SP
23744 * benchtests/Makefile (bench): Remove slow benchmarks.
23745 * benchtests/atan-inputs: Add slow benchmark inputs.
23746 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
23747 (BENCH_FUNC): Accept variant offset.
23748 (VARIANT): Define.
23749 * benchtests/bench-skeleton.c (main): Run benchmark for each
23750 variant.
23751 * benchtests/cos-inputs: Add slow benchmark inputs.
23752 * benchtests/exp-inputs: Likewise.
23753 * benchtests/pow-inputs: Likewise.
23754 * benchtests/sin-inputs: Likewise.
23755 * benchtests/slowatan-inputs: Remove.
23756 * benchtests/slowatan.c: Remove.
23757 * benchtests/slowcos-inputs: Remove.
23758 * benchtests/slowcos.c: Remove.
23759 * benchtests/slowexp-inputs: Remove.
23760 * benchtests/slowexp.c: Remove.
23761 * benchtests/slowpow-inputs: Remove.
23762 * benchtests/slowpow.c: Remove.
23763 * benchtests/slowsin-inputs: Remove.
23764 * benchtests/slowsin.c: Remove.
23765 * benchtests/slowtan-inputs: Remove.
23766 * benchtests/slowtan.c: Remove.
23767 * benchtests/tan-inputs: Add slow benchmark inputs.
23768 * scripts/bench.pl: Parse comments and directives.
23769
d569c6ee
SP
23770 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
23771 in CPPFLAGS.
23772 ($(objpfx)bench-%.c): Remove *-ITER.
23773 * benchtests/bench-modf.c: Remove definition of ITER.
23774 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
23775 (main): Loop for DURATION seconds instead of fixed number of
23776 iterations.
23777 * scripts/bench.pl: Don't expect iterations in parameters.
23778
a6a242fe
RM
237792013-04-29 Roland McGrath <roland@hack.frob.com>
23780
23781 * io/fchdir.c (__fchdir): Renamed from fchdir.
23782 (fchdir): Define as weak alias.
23783
f2da7793
JM
237842013-04-29 Joseph Myers <joseph@codesourcery.com>
23785
23786 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
23787 (ERRNO_EDOM): Likewise.
23788 (ERRNO_ERANGE): Likewise.
23789 (noErrnoTests): New variable.
23790 (init_max_error): Set errno to 0.
23791 (test_single_errno): New function.
23792 (test_errno): Likewise.
23793 (check_float_internal): Call test_errno. Set errno to 0.
23794 (check_complex): Refer to errno tests in comment.
23795 (check_int): Call test_errno. Set errno to 0.
23796 (check_long): Likewise.
23797 (check_bool): Likewise.
23798 (check_longlong): Likewise.
23799 (cos_test): Use ERRNO_* flags for errno tests instead of
23800 check_int.
23801 (expm1_test): Likewise.
23802 (fmod_test): Likewise.
23803 (ilogb_test): Likewise.
23804 (lgamma_test): Likewise.
23805 (pow_test): Likewise.
23806 (remainder_test): Likewise.
23807 (sin_test): Likewise.
23808 (tan_test): Likewise.
23809 (yn_test): Likewise.
23810 (initialize): Set errno to 0.
23811 (main): Print number of errno tests.
23812 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
23813
b1a36ceb
AJ
238142013-04-29 Andreas Jaeger <aj@suse.de>
23815
c3ed8088
AJ
23816 [BZ #15084]
23817 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
23818 and RES_USEVC.
23819
f1a24198
AJ
23820 [BZ #15085]
23821 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
23822 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
23823 unimplemented.
23824
9ce3b2cb
AJ
23825 [BZ #15380]
23826 * stdlib/random.c (__initstate): Return NULL if
23827 __initstate fails.
23828
f1a24198 23829 [BZ #15086]
b1a36ceb
AJ
23830 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
23831 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
23832 RES_SNGLKUPREOP.
23833
7e7b6f36
AZ
238342013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23835
23836 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23837
4d14f449
JM
238382013-04-29 Joseph Myers <joseph@codesourcery.com>
23839
23840 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
23841 of individual tests.
23842 (casin_test): Likewise.
23843 (casinh_test): Likewise.
23844
5b4217d7
JM
238452013-04-27 Joseph Myers <joseph@codesourcery.com>
23846
23847 [BZ #15409]
23848 * math/s_catan.c (__catan): Handle arguments with large real or
23849 imaginary part separately without squaring.
23850 * math/s_catanf.c (__catanf): Likewise.
23851 * math/s_catanh.c (__catanh): Likewise.
23852 * math/s_catanhf.c (__catanhf): Likewise.
23853 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
23854 and redefine.
23855 (__catanhl): Handle arguments with large real or imaginary part
23856 separately without squaring.
23857 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
23858 and redefine.
23859 (__catanl): Handle arguments with large real or imaginary part
23860 separately without squaring.
23861 * math/libm-test.inc (catan_test): Add more tests.
23862 (catanh_test): Likewise.
23863 * sysdeps/i386/fpu/libm-test-ulps: Update.
23864 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23865
4220c3ef
AJ
238662013-04-27 Andreas Jaeger <aj@suse.de>
23867
23868 [BZ #15007]
23869 * stdlib/stdlib.h: Update guards for qecvt.
23870 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
23871 <stdlib.h>.
23872
4721b2d1
AM
238732013-04-27 Allan McRae <allan@archlinux.org>
23874
23875 * sysdeps/i386/fpu/libm-test-ulps: Update.
23876
f0302940
JM
238772013-04-26 Joseph Myers <joseph@codesourcery.com>
23878
9457fd95
JM
23879 [BZ #15406]
23880 * math/s_catan.c: Include <float.h>.
23881 (__catan): Ensure underflow exception occurs for underflowed
23882 result.
23883 * math/s_catanf.c: Include <float.h>.
23884 (__catanf): Ensure underflow exception occurs for underflowed
23885 result.
23886 * math/s_catanh.c: Include <float.h>.
23887 (__catanh): Ensure underflow exception occurs for underflowed
23888 result.
23889 * math/s_catanhf.c: Include <float.h>.
23890 (__catanhf): Ensure underflow exception occurs for underflowed
23891 result.
23892 * math/s_catanhl.c: Include <float.h>.
23893 (__catanhl): Ensure underflow exception occurs for underflowed
23894 result.
23895 * math/s_catanl.c: Include <float.h>.
23896 (__catanl): Ensure underflow exception occurs for underflowed
23897 result.
23898 * math/libm-test.inc (catan_test): Add more tests.
23899 (catanh_test): Likewise.
23900
f0302940
JM
23901 [BZ #15405]
23902 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
23903 underflowed result.
23904 * math/s_ccoshf.c (__ccoshf): Likewise.
23905 * math/s_ccoshl.c (__ccoshl): Likewise.
23906 * math/s_csin.c (__csin): Likewise.
23907 * math/s_csinf.c (__csinf): Likewise.
23908 * math/s_csinh.c (__csinh): Likewise.
23909 * math/s_csinhf.c (__csinhf): Likewise.
23910 * math/s_csinhl.c (__csinhl): Likewise.
23911 * math/s_csinl.c (__csinl): Likewise.
23912 * math/libm-test.inc (ccos_test): Add more tests.
23913 (ccosh_test): Likewise.
23914 (csin_test): Likewise.
23915 (csinh_test): Likewise.
23916
aa630f59
AZ
239172013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23918
23919 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
23920 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
23921 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
23922 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
23923 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
23924 powerpc/power5+/fpu folders.
23925 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
23926
23927
1b835983
MT
239282013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
23929
23930 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23931
73709b26
JM
239322013-04-25 Joseph Myers <joseph@codesourcery.com>
23933
23934 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
23935 additions to variable.
23936 [$(config-machine) = x86_64] (modules-names): Likewise.
23937 ($(objpfx)tst-audit3): Remove dependency.
23938 ($(objpfx)tst-audit3.out): Likewise.
23939 ($(objpfx)tst-audit4): Likewise.
23940 ($(objpfx)tst-audit4.out): Likewise.
23941 ($(objpfx)tst-audit5): Likewise.
23942 ($(objpfx)tst-audit5.out): Likewise.
23943 ($(objpfx)tst-audit6): Likewise.
23944 ($(objpfx)tst-audit6.out): Likewise.
23945 ($(objpfx)tst-audit7): Likewise.
23946 ($(objpfx)tst-audit7.out): Likewise.
23947 (tst-audit3-ENV): Remove variable.
23948 (tst-audit4-ENV): Likewise.
23949 (tst-audit5-ENV): Likewise.
23950 (tst-audit6-ENV): Likewise.
23951 (tst-audit7-ENV): Likewise.
23952 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
23953 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
23954 addition to variable.
23955 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
23956 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
23957 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
23958 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
23959 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
23960 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
23961 tst-audit3, tst-audit4 and tst-audit5.
23962 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
23963 tst-audit6 and tst-audit7.
23964 [$(subdir) = elf] (modules-names): Add audit modules for those
23965 tests.
23966 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
23967 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
23968 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
23969 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
23970 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
23971 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
23972 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
23973 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
23974 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
23975 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
23976 [$(subdir) = elf] (tst-audit3-ENV): New variable.
23977 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
23978 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
23979 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
23980 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
23981 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
23982 Likewise.
23983 [$(subdir) = elf && $(config-cflags-avx) = yes]
23984 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
23985 [$(subdir) = elf && $(config-cflags-avx) = yes]
23986 (CFLAGS-tst-auditmod4a.c): Likewise.
23987 [$(subdir) = elf && $(config-cflags-avx) = yes]
23988 (CFLAGS-tst-auditmod4b.c): Likewise.
23989 [$(subdir) = elf && $(config-cflags-avx) = yes]
23990 (CFLAGS-tst-auditmod6b.c): Likewise.
23991 [$(subdir) = elf && $(config-cflags-avx) = yes]
23992 (CFLAGS-tst-auditmod6c.c): Likewise.
23993 [$(subdir) = elf && $(config-cflags-avx) = yes]
23994 (CFLAGS-tst-auditmod7b.c): Likewise.
23995 * elf/tst-audit3.c: Move to ...
23996 * sysdeps/x86_64/tst-audit3.c: ... here.
23997 * elf/tst-audit4.c: Move to ...
23998 * sysdeps/x86_64/tst-audit4.c: ... here.
23999 * elf/tst-audit5.c: Move to ...
24000 * sysdeps/x86_64/tst-audit5.c: ... here.
24001 * elf/tst-audit6.c: Move to ...
24002 * sysdeps/x86_64/tst-audit6.c: ... here.
24003 * elf/tst-audit7.c: Move to ...
24004 * sysdeps/x86_64/tst-audit7.c: ... here.
24005 * elf/tst-auditmod3a.c: Move to ...
24006 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
24007 * elf/tst-auditmod3b.c: Move to ...
24008 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
24009 * elf/tst-auditmod4a.c: Move to ...
24010 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
24011 * elf/tst-auditmod4b.c: Move to ...
24012 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
24013 * elf/tst-auditmod5a.c: Move to ...
24014 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
24015 * elf/tst-auditmod5b.c: Move to ...
24016 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
24017 * elf/tst-auditmod6a.c: Move to ...
24018 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
24019 * elf/tst-auditmod6b.c: Move to ...
24020 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
24021 * elf/tst-auditmod6c.c: Move to ...
24022 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
24023 * elf/tst-auditmod7a.c: Move to ...
24024 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
24025 * elf/tst-auditmod7b.c: Move to ...
24026 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
24027
1ef74943
PP
240282013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
24029
24030 [BZ #15366]
24031 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
24032 define unconditionally.
24033 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
24034 define unconditionally.
24035 (INT8_C, INT16_C, etc.): Likewise.
24036
93fd48c5
MR
240372013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
24038
ae9552cf
MR
24039 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
24040 __ehdr_start with hidden visibility.
24041
93fd48c5
MR
24042 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
24043
418601aa
CD
240442013-04-24 Carlos O'Donell <carlos@redhat.com>
24045
24046 * math/libm-test.inc (cos_test): Use accurate hex constants.
24047 (sincost_test): Likewise.
24048
2f38fbfe
JM
240492013-04-24 Joseph Myers <joseph@codesourcery.com>
24050
5e221800
JM
24051 * math/libm-test.inc (catan_test): Add more tests.
24052 (catanh_test): Likewise.
24053
77f143fd
JM
24054 * math/s_catanf.c (__catanf): Use suffixed floating-point
24055 constants.
24056 * math/s_catanhf.c (__catanhf): Likewise.
24057 * math/s_catanhl.c (__catanhl): Likewise.
24058 * math/s_catanl.c (__catanl): Likewise.
24059
2f38fbfe
JM
24060 [BZ #15394]
24061 * math/s_catan.c (__catan): Calculate imaginary part of result
24062 with log1p not log unless computing log of number close to 0.
24063 * math/s_catanf.c (__catanf): Likewise.
24064 * math/s_catanl.c (__catanl): Likewise.
24065 * math/s_catanh.c (__catanh): Calculate real part of result with
24066 log1p not log unless computing log of number close to 0.
24067 * math/s_catanhf.c (__catanhf): Likewise.
24068 * math/s_catanhl.c (__catanhl): Likewise.
24069 * math/libm-test.inc (catan_test): Add more tests.
24070 (catanh_test): Likewise.
24071 * sysdeps/i386/fpu/libm-test-ulps: Update.
24072 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24073
45d69176
SP
240742013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
24075
24076 * benchtests/Makefile: Mention files in which fast and slow
24077 paths of math functions are implemented.
24078
87f51853
RM
240792013-04-23 Roland McGrath <roland@hack.frob.com>
24080
24081 * sysdeps/posix/timespec_get.c: New file.
24082
3c026539
AZ
240832013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24084
24085 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
24086 POWER.
24087 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
24088 for POWER.
24089 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
24090 powerpc/power5/fpu folders.
24091 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
24092 * benchtests/Makefile: Add modf testcase.
24093 * benchtests/bench-modf.c: New file: Benchmark test for mo
24094
ff491d14
SP
240952013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
24096
24097 [BZ #14888]
24098 * time/Makefile (tests): Add tst-strptime-whitespace.
24099 * time/strptime_l.c (get_number): Use ISSPACE.
24100 (__strptime_internal): Likewise.
24101 * time/tst-strptime-whitespace.c: New test case.
24102
7ed3f4e8
AS
241032013-04-23 Andreas Schwab <schwab@linux-m68k.org>
24104
24105 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
24106 member.
24107 (_nss_files_init): Set it here.
24108
5c95f7b6
HC
241092013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
24110
24111 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
24112 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
24113 unsigned.
24114
d34c9158
JBG
241152013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
24116
24117 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
24118
2169712d
SP
241192013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
24120
24121 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
24122 size just once.
24123
29c5de99
DM
241242013-04-21 David S. Miller <davem@davemloft.net>
24125
24126 * po/ru.po: Update Russion translation from translation project.
24127
ccdad15d
AC
241282013-04-17 Adam Conrad <adconrad@0c3.net>
24129
24130 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
24131 and setfsgid.
24132
0f122b8d
CD
241332013-04-17 Carlos O'Donell <carlos@redhat.com>
24134
5c5b07da 24135 * configure.in: Remove i386 configure warning. Remove i386 case.
0f122b8d 24136 * configure: Regenerate.
5c5b07da 24137 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
0f122b8d
CD
24138 Add example to error message.
24139 * sysdeps/i386/configure: Regenerate.
24140
037714dd
SP
241412013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
24142
24143 * benchtests/Makefile (bench): Add cos, tan, slowcos and
24144 slowtan.
24145 * benchtests/cos-inputs: New file.
24146 * benchtests/slowcos-inputs: New file.
24147 * benchtests/slowcos.c: New file.
24148 * benchtests/slowtan-inputs: New file.
24149 * benchtests/slowtan.c: New file.
24150 * benchtests/tan-inputs: New file.
24151
e913141d
RM
241522013-04-16 Roland McGrath <roland@hack.frob.com>
24153
24154 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
24155 considered kosher.
24156
a2964074
SP
241572013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
24158
4856bcd2
SP
24159 * benchtests/Makefile: Include cppflags-iterator.mk to add
24160 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
24161
a2964074
SP
24162 * Makefile.in (bench-clean): New target.
24163 * benchtests/Makefile (bench-clean): Likewise.
24164
9fbf9aca
DH
241652013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
24166
24167 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
24168
207d1e2a
TS
241692013-04-15 Thomas Schwinge <thomas@codesourcery.com>
24170
24171 * stdio-common/tstdiomisc.c: Fix coding-style violation.
24172
306dfba9
AS
241732013-04-15 Andreas Schwab <schwab@suse.de>
24174
24175 * nscd/grpcache.c (cache_addgr): Properly check for short write.
24176 * nscd/initgrcache.c (addinitgroupsX): Likewise.
24177 * nscd/pwdcache.c (cache_addpw): Likewise.
24178 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
24179 more than recsize.
24180
206a6699
SP
241812013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
24182
24183 * benchtests/Makefile (bench): Write all output to
24184 bench-out.tmp together.
24185
0582f6b3
AS
241862013-04-15 Andreas Schwab <schwab@suse.de>
24187
24188 * nscd/nscd.c (main): Don't fork again after closing files.
24189
acb4325f
SP
241902013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
24191
5cb26d0a
SP
24192 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
24193
acb4325f
SP
24194 * benchtests/Rules (bench-deps): Collect dependencies into a
24195 single variable. Add Makefile to dependencies.
24196 ($(objpfx)bench-%.c): Depend on bench-deps.
24197
47792506
RM
241982013-04-12 Roland McGrath <roland@hack.frob.com>
24199 Xavier Roche <roche+kml2@exalead.com>
24200
24201 [BZ #15361]
24202 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
24203 just that it's a file descriptor.
24204 * manual/llio.texi (Synchronizing AIO Operations): Update description
24205 for EBADF error from aio_fsync.
24206
8fc1bee5
SP
242072013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
24208
24209 * Rules (bench): Move target definition...
24210 * benchtests/Makefile: ... here.
24211
aba5e333
CD
242122013-04-11 Carlos O'Donell <carlos@redhat.com>
24213
24214 * math/libm-test.inc (cos_test): Fix PI/2 test.
24215 (sincos_test): Likewise.
24216 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
24217 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
24218
273cdee8
AS
242192013-04-11 Andreas Schwab <schwab@suse.de>
24220
6ecec3b6
AS
24221 [BZ #13988]
24222 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
24223 accept exponent character only when digits were seen.
24224 * stdio-common/Makefile (tests): Add bug26.
24225 * stdio-common/bug26.c: New file.
24226
273cdee8
AS
24227 [BZ #14293]
24228 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
24229 non-freeable.
24230
8da491f5
SP
242312013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
24232
01dc6df9
SP
24233 * Makeconfig (rtld-prefix): Define built linker prefix.
24234 * Rules (run-bench): Use it.
24235 * math/Makefile (run-regen-ulps): Likewise.
24236
8da491f5
SP
24237 * Rules (bench): Remove eval.
24238
abe7f530
SP
242392013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
24240 Roland McGrath <roland@hack.frob.com>
24241 Ondrej Bilka <neleai@seznam.cz>
24242
24243 [BZ #15346]
24244 * time/getdate.c: Include ctype.h and alloca.h.
24245 (__getdate_r): Trim leading and trailing spaces of input.
24246 * time/tst-getdate.c (tests): Add tests with leading and
24247 trailing spaces.
24248
61c23e62
RM
242492013-04-08 Roland McGrath <roland@hack.frob.com>
24250
24251 [BZ #14280]
24252 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
24253 when computing value.
24254
7208a313
CD
242552013-04-06 Carlos O'Donell <carlos@redhat.com>
24256
085b2d41
CD
24257 * math/README.libm-test (How can I generate "libm-test-ulps"?):
24258 Use testrun.sh to run libm tests.
24259
7208a313
CD
24260 [BZ #15309]
24261 * elf/dl-open.c (dl_open_worker): memset all of seen array.
24262
872c0acd
MM
242632013-04-06 Marko Myllynen <myllynen@redhat.com>
24264
24265 [BZ #15264]
24266 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
24267
26510bdd
CD
242682013-04-06 Carlos O'Donell <carlos@redhat.com>
24269
24270 * Makefile.in (regen-ulps): New target.
24271 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
24272 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
24273 [ifneq (no,$(PERL)] (regen-ulps): New target.
24274 [ifeq (no,$(PERL)] (regen-ulps): New target.
24275 * math/libm-test.inc (ulps_file_name): Define.
24276 (output_dir): New variable.
24277 (options): Add "output-dir" option.
24278 (parse_opt): Handle 'o' case.
24279 (main): If output_dir is non-NULL use it as a prefix
24280 otherwise use "".
24281 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
24282
a01f19c8
CD
242832013-04-06 Carlos O'Donell <carlos@redhat.com>
24284
24285 [BZ #10060, #10062]
24286 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
24287 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
24288 fail configure if __sync_val_compare_and_swap is not inlined.
24289 * sysdeps/i386/configure: Regenerate.
24290 * configure.in: Build for i686 when configured for i386.
24291 * configure: Regenerate.
24292 * README: Remove i386 reference.
24293
b7a329a5
CD
242942013-04-06 Carlos O'Donell <carlos@redhat.com>
24295
24296 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
24297 * sysdeps/s390/s390-64/sysdep.h: Likewise.
24298
bf0f50df
TS
242992013-04-05 Thomas Schwinge <thomas@codesourcery.com>
24300
ee091edf
TS
24301 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
24302 (lmsnanval): New variables.
24303 (F): Add conversion tests.
24304 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
24305 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
24306
a8b792d6
TS
24307 * stdio-common/tstdiomisc.c (F): Properly collect individual
24308 tests' results.
24309
a1cbf437
TS
24310 [BZ #14686, #15336]
24311 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
24312 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
24313 Instead, use input NaN values or generate a qNaN by arithmetic
24314 operation. Also fix bugs to comply with the standard.
24315 * math/libm-test.inc (remainder_test): Add more tests.
24316
8b43a0c9
TS
24317 [BZ #15335, #15342]
24318 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
24319 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
24320 input NaN values or generate a qNaN by arithmetic operation.
24321
d91da4ce
TS
24322 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
24323 unreachable code.
24324
bf0f50df
TS
24325 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
24326 definitions.
24327
05e166c8
JM
243282013-04-03 Joseph Myers <joseph@codesourcery.com>
24329
24330 [BZ #14478]
24331 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
24332 underflowed result.
24333 * math/s_cexpf.c (__cexpf): Likewise.
24334 * math/s_cexpl.c (__cexpl): Likewise.
24335 * math/libm-test.inc (cexp_test): Add more tests.
24336
1cef1b19
AS
243372013-04-03 Andreas Schwab <schwab@suse.de>
24338
24339 [BZ #15330]
24340 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
24341 order arrays from heap if bigger than alloca cutoff.
24342
74d87055
TS
243432013-04-03 Thomas Schwinge <thomas@codesourcery.com>
24344
24345 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
24346 (SNAN_TESTS_double): Refer to GCC PR56831.
24347 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
24348 GCC PR56828.
24349
d755bba4
SP
243502013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
24351
90d5d5bb
SP
24352 * Rules (bench): Move bench.out after the run is complete.
24353
73e0cd5d
SP
24354 * Rules (bench): Echo currently running benchmark.
24355
64aabd4b
SP
24356 * benchtests/Makefile (bench): Add atan and slowatan.
24357 * benchtests/atan-inputs: New file.
24358 * benchtests/slowatan-inputs: New file.
24359 * benchtests/slowatan.c: New file.
24360
c871eccd
SP
24361 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
24362 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
24363 its value.
24364
d755bba4
SP
24365 [BZ #15305]
24366 * sysdeps/unix/sysv/linux/kernel-features.h
24367 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
24368 __ASSUME_XFS_RESTRICTED_CHOWN.
24369 * sysdeps/unix/sysv/linux/pathconf.c
24370 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
24371 Save and restore errno.
24372
52ce4860
JM
243732013-04-02 Joseph Myers <joseph@codesourcery.com>
24374
24375 [BZ #15327]
24376 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
24377 arguments using __kernel_casinh.
24378 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
24379 arguments using __kernel_casinhf.
24380 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
24381 arguments using __kernel_casinhl.
24382 * math/libm-test.inc (cacosh_test): Add more tests.
24383 * sysdeps/i386/fpu/libm-test-ulps: Update.
24384 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24385
81f311c2
SP
243862013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
24387
e7906a47
SP
24388 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
24389 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
24390
92e3664b
SP
24391 * bench/Makefile (bench): Add sin and slowsin.
24392 * benchtests/sin-inputs: New file.
24393 * benchtests/slowsin-inputs: New file.
24394 * benchtests/slowsin.c: New file.
24395
81f311c2
SP
24396 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
24397 (bench): Add slowexp and slowpow.
24398 (exp-ITER): Increase iterations.
24399 (pow-ITER): Likewise.
24400 * benchtests/exp-inputs: Change input.
24401 * benchtests/pow-inputs: Likewise.
24402 * benchtests/slowexp-inputs: New file.
24403 * benchtests/slowexp.c: New file.
24404 * benchtests/slowpow-inputs: New file.
24405 * benchtests/slowpow.c: New file.
24406
ab0f1aa9
AZ
244072013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24408
24409 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
24410 instructions.
24411 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
24412 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
24413 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
24414 * benchtests/Makefile: Add rint benchtest.
24415 * benchtests/rint-inputs: Input for rint benchtest.
24416
57267616
TS
244172013-04-02 Thomas Schwinge <thomas@codesourcery.com>
24418
24419 * Versions.def (libm): Add GLIBC_2.18.
24420 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
24421 hidden libm prototypes.
24422 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
24423 * math/Makefile (libm-calls): Add s_issignaling.
24424 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
24425 __issignalingf, __issignalingl. Adjust all libm.abilist files.
24426 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
24427 declaration.
24428 * math/math.h [__USE_GNU] (issignaling): New macro.
24429 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
24430 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
24431 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
24432 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
24433 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
24434 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
24435 * manual/arith.texi (issignaling): New section.
24436 * manual/libm-err-tab.pl (@all_functions): Update comment.
24437 * math/gen-libm-test.pl (parse_args): Apply special handling for
24438 issignaling.
24439 * math/libm-test.inc (print_float, issignaling_test): New
24440 functions.
24441 (check_float_internal): Add issignaling checks.
24442 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
24443 default definition.
24444 * sysdeps/powerpc/math-tests.h: New file.
24445 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
24446 tests.
24447 * math/test-snan.c (TEST_FUNC): Likewise.
24448
6142896d
DM
244492013-03-30 David S. Miller <davem@davemloft.net>
24450
24451 * po/de.po: Update from translation team.
24452
ccc8cadf
JM
244532013-03-30 Joseph Myers <joseph@codesourcery.com>
24454
24455 [BZ #10357]
24456 * math/k_casinh.c (__kernel_casinh): Handle arguments with
24457 imaginary part less than 1.0 and real part less than 0.5
24458 specially.
24459 * math/k_casinhf.c (__kernel_casinhf): Likewise.
24460 * math/k_casinhl.c (__kernel_casinhl): Likewise.
24461 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
24462 (cacos_test): Add more tests.
24463 (casin_test): Likewise.
24464 (casinh_test): Likewise.
24465 * sysdeps/i386/fpu/libm-test-ulps: Update.
24466 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24467
0f6a8d4b
SP
244682013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
24469
0d1029de
SP
24470 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
24471 ONE with its value.
24472
c2d94018
SP
24473 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
24474 (__pow_mp): Replace ONE and MONE with their values.
24475 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
24476 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
24477 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
24478 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
24479 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
24480 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
24481
27ec37f1
SP
24482 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
24483
a64d7e0e
SP
24484 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
24485 (__pow_mp): Replace ZERO and MZERO with their values.
24486 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
24487 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
24488 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
24489 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
24490 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
24491 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
24492 (__sqr): Likewise.
24493
d26dd3eb
SP
24494 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
24495
0f6a8d4b
SP
24496 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
24497
e57b0c61
RM
244982013-03-28 Roland McGrath <roland@hack.frob.com>
24499
24500 * include/stdlib.h [!SHARED] (__call_tls_dtors):
24501 Declare with __attribute__ ((weak)).
24502 * stdlib/exit.c (__libc_atexit) [!SHARED]:
24503 Call __call_tls_dtors only if it's not NULL.
24504
356b3480
RM
245052013-03-28 Roland McGrath <roland@hack.frob.com>
24506
288f7d79
RM
24507 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
24508 didn't do it already, then set _dl_phdr and _dl_phnum based on the
24509 magic __ehdr_start linker symbol if it's defined.
24510 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
24511 them up here if it was already done.
24512
dc0a0263
RM
24513 * elf/dl-support.c (_dl_phdr): Make pointer to const.
24514 (_dl_aux_init): Use const in cast when setting it.
24515 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
24516 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
24517 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
24518
3d3436ae
RM
24519 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
24520 Declare them here.
24521 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
24522 * csu/libc-tls.c: Nor here.
24523 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
24524
356b3480
RM
24525 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
24526 (__libc_message): Never call vsyslog.
24527
b0f1246a
AM
245282013-03-28 Alan Modra <amodra@gmail.com>
24529
24530 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
24531 Define as empty.
24532 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
24533 Likewise.
24534
fbbe2b9a
AZ
245352013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24536
24537 [BZ #15214]
24538 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
24539 underflow.
24540 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24541
1728ab37
SP
245422013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
24543
7a86be6e
SP
24544 [BZ #15304]
24545 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
24546 Don't add gid passed as argument.
24547
1728ab37
SP
24548 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
24549
3a7182a1
JM
245502013-03-27 Joseph Myers <joseph@codesourcery.com>
24551
24552 [BZ #15307]
24553 * math/k_casinh.c (__kernel_casinh): Handle arguments with
24554 imaginary part between 1.0 and 1.5 and real part less than 0.5
24555 specially.
24556 * math/k_casinhf.c (__kernel_casinhf): Likewise.
24557 * math/k_casinhl.c (__kernel_casinhl): Likewise.
24558 * math/libm-test.inc (cacos_test): Add more tests.
24559 (casin_test): Likewise.
24560 (casinh_test): Likewise.
24561 * sysdeps/i386/fpu/libm-test-ulps: Update.
24562 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24563
6f2e90e7
SP
245642013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
24565
5739f705
SP
24566 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
24567 constants.
24568 (norm): Likewise.
24569 (denorm): Likewise.
24570 (__dbl_mp): Likewise.
24571 (add_magnitudes): Likewise.
24572 (sub_magnitudes): Likewise.
24573 (__add): Likewise.
24574 (__sub): Likewise.
24575 (__mul): Likewise.
24576 (__sqr): Likewise.
24577 (__inv): Likewise.
24578 (__dvd): Likewise.
24579
e375e83d
SP
24580 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
24581 commented code.
24582 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
24583 (__dubcos): Likewise.
24584 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
24585 (__ieee754_acos): Likewise.
24586 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
24587 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
24588 (__exp1): Likewise.
24589 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
24590 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
24591 (log1): Likewise.
24592 (my_log2): Likewise.
24593 (checkint): Likewise.
24594 * sysdeps/ieee754/dbl-64/e_remainder.c
24595 (__ieee754_remainder): Likewise.
24596 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
24597 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
24598 (bsloww): Likewise.
24599 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
24600
6f2e90e7
SP
24601 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
24602 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
24603 MANTISSA_STORE_T to store computations on mantissa. Use
24604 macros for rounding and division.
24605 (denorm): Likewise.
24606 (__dbl_mp): Likewise.
24607 (add_magnitudes): Likewise.
24608 (sub_magnitudes): Likewise.
24609 (__mul): Likewise.
24610 (__sqr): Likewise.
24611 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
24612 powers of two in terms of TWOPOW macro.
24613 (mp_no): Make type of mantissa as MANTISSA_T.
24614 [!RADIXI]: Define RADIXI.
24615 [!TWO52]: Define TWO52.
24616 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
24617
fce14d4e
AZ
246182013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24619
24620 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
24621 llroundl symbol when building for PPC32.
24622
9ad027fb
MW
246232013-03-24 Mark H Weaver <mhw@netris.org>
24624
24625 * manual/arith.texi (Normalization Functions): Fix prototypes for
24626 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
24627
e42a38dd
AZ
246282013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24629
24630 [BZ #13889]
24631 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
24632 high value to check if expl overflow.
24633 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
24634 to check for underflow and overflow.
24635 * math/libm-test.inc: Add exp test.
24636
2e0fb521
DL
246372013-03-21 Dmitry V. Levin <ldv@altlinux.org>
24638
24639 [BZ #11120]
24640 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
24641 with NOT_IN_libc.
24642
b5784d95
AZ
246432013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24644
24645 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
24646 symbol.
24647
5aa4a1a1
TS
246482013-03-21 Thomas Schwinge <thomas@codesourcery.com>
24649
bdef0be7
TS
24650 * math/gen-libm-test.pl (parse_args, special_functions): Properly
24651 wrap blocks consisting of several statements.
24652
5aa4a1a1
TS
24653 * sysdeps/generic/math-tests.h: New file.
24654 * sysdeps/i386/fpu/math-tests.h: Likewise.
24655 * math/test-snan.c: Include it.
24656 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
24657
98c48fe5
JM
246582013-03-21 Joseph Myers <joseph@codesourcery.com>
24659
24660 [BZ #15285]
24661 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
24662 (__ieee754_j0l): Do not improve calculations using cos of twice
24663 input for inputs above LDBL_MAX / 2.0L.
24664 (__ieee754_y0l): Likewise.
24665 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
24666 (__ieee754_j1l): Do not improve calculations using cos of twice
24667 input for inputs above LDBL_MAX / 2.0L.
24668 (__ieee754_y1l): Likewise.
24669 * math/libm-test.inc (j0_test): Add another test.
24670 (j1_test): Likewise.
24671 (y0_test): Likewise.
24672 (y1_test): Likewise.
24673 * sysdeps/i386/fpu/libm-test-ulps: Update.
24674
3775a8bc
SP
246752013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
24676
24677 * Rules ($(objpfx)bench-%.c): Include code from a C source
24678 file.
24679
0a1b2ae6
JM
246802013-03-21 Joseph Myers <joseph@codesourcery.com>
24681
24682 [BZ #15287]
24683 * math/k_casinh.c (__kernel_casinh): Handle arguments with
24684 imaginary part 1.0 and real part less than 0.5 specially.
24685 * math/k_casinhf.c (__kernel_casinhf): Likewise.
24686 * math/k_casinhl.c (__kernel_casinhl): Likewise.
24687 * math/libm-test.inc (cacos_test): Add more tests.
24688 (casin_test): Likewise.
24689 (casinh_test): Likewise.
24690 * sysdeps/i386/fpu/libm-test-ulps: Update.
24691 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24692
b33d4ce4
SP
246932013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
24694
24695 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
24696 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
24697
bef0b507
JM
246982013-03-20 Joseph Myers <joseph@codesourcery.com>
24699
24700 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
24701 * config.make.in (config-cflags-sse4): Remove variable.
24702 (config-cflags-avx): Likewise.
24703 (config-cflags-sse2avx): Likewise.
24704 (config-cflags-novzeroupper): Likewise.
24705 (config-asflags-i686): Likewise.
24706 (have-mfma4): Likewise.
24707 (have-as-vis3): Likewise.
24708 (MIG): Likewise.
24709 * configure.in (MIG): Do not AC_SUBST.
24710 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
24711 (libc_cv_cc_sse4): Do not AC_SUBST.
24712 (libc_cv_cc_avx): Likewise.
24713 (libc_cv_cc_sse2avx): Likewise.
24714 (libc_cv_cc_novzeroupper): Likewise.
24715 (libc_cv_cc_fma4): Likewise.
24716 (libc_cv_as_i686): Likewise.
24717 (libc_cv_sparc_as_vis3): Likewise.
24718 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
24719 LIBC_CONFIG_VAR.
24720 (config-asflags-i686): Likewise.
24721 (config-cflags-avx): Likewise.
24722 (config-cflags-sse2avx): Likewise.
24723 (have-mfma4): Likewise.
24724 (config-cflags-novzeroupper): Likewise.
24725 * sysdeps/mach/configure.in (MIG): Likewise.
24726 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
24727 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
24728 LIBC_CONFIG_VAR.
24729 (config-cflags-avx): Likewise.
24730 (config-cflags-sse2avx): Likewise.
24731 (have-mfma4): Likewise.
24732 (config-cflags-novzeroupper): Likewise.
24733 * configure: Regenerated.
24734 * sysdeps/i386/configure: Likewise.
24735 * sysdeps/mach/configure: Likewise.
24736 * sysdeps/sparc/configure: Likewise.
24737 * sysdeps/x86_64/configure: Likewise.
24738
912cc4b3
RM
247392013-03-20 Roland McGrath <roland@hack.frob.com>
24740
24741 [BZ #14812]
24742 * locale/programs/localedef.c (options): Put N_ translation marker
24743 on argument names, not just descriptions.
24744
04eed2b0
MS
247452013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
24746
24747 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
24748
a065ceff
OB
247492013-03-20 Ondřej Bílka <neleai@seznam.cz>
24750
9bb2a810 24751 [BZ #14176]
a065ceff
OB
24752 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
24753
a600e5ce
RM
247542013-03-19 Roland McGrath <roland@hack.frob.com>
24755
24756 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
24757 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
24758 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
24759 [!BEFORE_ABORT] (before_abort): New function.
24760 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
24761 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
24762 (writev_for_fatal): New function.
24763 (WRITEV_FOR_FATAL): New macro; call that.
24764 (backtrace_and_maps): New function.
24765 (BEFORE_ABORT): New macro; call that.
24766 (struct str_list): Type removed.
24767 (__libc_message, __libc_fatal): Functions removed.
24768 Include <sysdeps/posix/libc_fatal.c> instead.
24769
6b18bea6
JM
247702013-03-19 Joseph Myers <joseph@codesourcery.com>
24771
24772 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
24773 constants.
24774 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
24775 double constants.
24776
aaa8cb4b
AS
247772013-03-19 Andreas Schwab <schwab@suse.de>
24778
44673770
AS
24779 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
24780 * sysdeps/gnu/configure: Regenerate.
24781
aaa8cb4b
AS
24782 * configure.in: Substitute libc_cv_rtlddir.
24783 * configure: Regenerate.
24784 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
24785 * Makeconfig (rtlddir, inst_rtlddir): New variables.
24786 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
24787 * elf/Makefile (install-others, CFLAGS-interp.c)
24788 (ldso_install, common-ldd-rewrite): Likewise.
24789 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
24790 $(inst_slibdir)/$(rtld-installed-name).
24791 * scripts/rellns-sh: Add -p option.
24792 * Makerules (make-shlib-link): Use rellns-sh to get relative name
24793 for source.
24794
d3cfc668
SP
247952013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
24796
24797 * manual/nptl.texi: Renamed to ...
24798 * manual/threads.texi: ... this.
24799 * manual/Makefile (chapters): Update.
24800
0e2b9cdd
RM
248012013-03-18 Roland McGrath <roland@hack.frob.com>
24802
24803 [BZ #14812]
24804 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
24805 on argument names, not just descriptions.
0e2b9cdd
RM
24806 * malloc/memusagestat.c (options): Likewise.
24807 * nss/getent.c (options): Likewise.
63270c24
RM
24808
248092013-03-18 Benno Schulenberg <bensberg@justemail.net>
24810
24811 [BZ #14812]
24812 * iconv/iconv_prog.c (options): Put N_ translation marker
24813 on argument names, not just descriptions.
24814 * iconv/iconvconfig.c (options): Likewise.
0e2b9cdd 24815
b2e1393c
OB
248162013-03-18 Ondrej Bilka <neleai@seznam.cz>
24817
24818 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
24819 implementation which is faster on all x86_64 architectures.
24820 Tested on AMD, Intel Nehalem, SNB, IVB.
24821 * sysdeps/x86_64/strnlen.S: Likewise.
24822
24823 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
24824 Remove all multiarch strlen and strnlen versions.
24825 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
24826 Remove strlen and strnlen related parts.
24827
24828 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
24829 Inline strlen part.
24830 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
24831
24832 * sysdeps/x86_64/multiarch/strlen.S: Remove.
24833 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
24834 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
24835 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
24836 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
24837 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
24838
ec4ff04d
CD
248392013-03-17 Carlos O'Donell <carlos@redhat.com>
24840
24841 * manual/memory.texi (Malloc Tunable Parameters):
24842 Sort parameters alphabetically. Add comments for missing entries.
24843
cd18e90a
DM
248442013-03-17 David S. Miller <davem@davemloft.net>
24845
24846 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24847
2a185d32
JM
248482013-03-16 Joseph Myers <joseph@codesourcery.com>
24849
d2f9799e
JM
24850 [BZ #15283]
24851 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
24852 for arguments at most half maximum finite value.
24853 * math/libm-test.inc (j0_test): Add more tests.
24854 (j1_test): Likewise.
24855 (y0_test): Likewise.
24856 (y1_test): Likewise.
24857 * sysdeps/i386/fpu/libm-test-ulps: Update.
24858 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24859
2a185d32
JM
24860 [BZ #14155]
24861 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
24862 1 / x and functions P and Q for arguments above 0x1p256L.
24863 (__ieee754_y0l): Likewise.
24864 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
24865 (__ieee754_y1l): Likewise.
24866 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
24867 (j1_test): Likewise.
24868 (y0_test): Likewise.
24869 (y1_test): Likewise.
24870
6cbec759
TS
248712013-03-16 Thomas Schwinge <thomas@codesourcery.com>
24872
24873 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
24874 variable.
24875
bc16e260
RM
248762013-03-15 Roland McGrath <roland@hack.frob.com>
24877
aefc9b8c
RM
24878 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
24879 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
24880 zero since it's initialized to EXEC_PAGESIZE.
24881
bc16e260
RM
24882 * sysdeps/unix/sysv/linux/ldsodefs.h
24883 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
24884 * sysdeps/generic/ldsodefs.h: ... here.
24885
a57da955
TS
248862013-03-15 Thomas Schwinge <thomas@codesourcery.com>
24887
af00a34d
TS
24888 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
24889
495ded2c
TS
24890 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
24891 math/test-snan.c.
24892 * math/test-snan.c: Renamed from
24893 sysdeps/powerpc/fpu/test-powerpc-snan.c.
24894 * math/Makefile (tests): Add test-snan.
24895 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
24896 test-powerpc-snan.
24897
777b0332
TS
24898 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
24899 SUFFIX. Initialize qNaN_var with __builtin_nan family of
24900 functions.
24901 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
24902 __builtin_nan family of functions.
24903 * math/libm-test.inc (initialize): Initialize qnan_value with
24904 __builtin_nan family of functions.
24905 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
24906 Remove variables.
24907 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
24908 Remove functions.
24909 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
24910 storage class. Initialize qNaN_var and sNaN_var with
24911 __builtin_nan and __builtin_nans families of functions,
24912 respectively.
24913
64d063b8
TS
24914 * math/libm-test.inc (acosh_test): Also test with qNaN input.
24915 (sqrt_test): Remove duplicate test with qNaN input.
24916 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
24917 (round_test, signbit_test, significand_test): Note missing +/-Inf
24918 as well as qNaN tests.
24919
67e971f1
TS
24920 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
24921 qNaN_var. Fix a few strings, too.
24922 * math/libm-test.inc (nan_value): Rename to qnan_value.
24923 * math/gen-libm-test.pl (%beautify): Adjust to that.
24924 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
24925 * math/test-misc.c (main): Likewise.
24926 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
24927 to __qnan_bytes, and __qnan_union, respectively.
24928 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
24929 Likewise.
24930 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
24931 and lqnanval, respectively.
24932 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
24933 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
24934 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
24935 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
24936
64487e12
TS
24937 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
24938 * math/test-misc.c (main) [__x86_64__]: Enable test for long
24939 doubles.
24940
e015e27b
TS
24941 * math/test-misc.c (main): Fix copy'n'pastos.
24942 * misc/tst-efgcvt.c (special): Likewise.
24943
a57da955
TS
24944 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
24945 Remove declarations.
24946
1e380345
SP
249472013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
24948
24949 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
24950 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
24951 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
24952 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
24953
ef26eece
AZ
249542013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24955
24956 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
24957 macro to return vdso values correctly in IFUNC implementations.
24958 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
24959 Optimization by using IFUNC.
24960
8cfdb7e0
SP
249612013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
24962 Richard Henderson <rth@redhat.com>
24963 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
24964
24965 * Makefile.in (bench): New target.
24966 * NEWS: Mention the benchmark framework.
24967 * Rules (bench): Likewise.
24968 (binaries-bench): Generate binaries for functions to
24969 benchmark.
24970 * benchtests/Makefile: New makefile for benchmark tests.
24971 * benchtests/bench-skeleton.c: New skeleton file for benchmark
24972 programs.
24973 * benchtests/exp-inputs: New input file for EXP function.
24974 * benchtests/pow-inputs: New input file for POW function.
24975 * scripts/bench.pl: New script to generate source files for
24976 benchmark programs.
24977
bcda9880
SP
249782013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
24979
d22ca8cd
SP
24980 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
24981 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
24982 computations on mantissa. Use macros for rounding and
24983 division.
24984 (denorm): Likewise.
24985 (__dbl_mp): Likewise.
24986 (add_magnitudes): Likewise.
24987 (sub_magnitudes): Likewise.
24988 (__mul): Likewise.
24989 (__sqr): Likewise.
24990 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
24991 powers of two in terms of TWOPOW macro.
24992 (mp_no): Make type of mantissa as MANTISSA_T.
24993 [!RADIXI]: Define RADIXI.
24994 [!TWO52]: Define TWO52.
24995 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
24996
bcda9880
SP
24997 * manual/nptl.texi (cindex): Modify threads to pthreads.
24998
06d5adfb
JM
249992013-03-15 Joseph Myers <joseph@codesourcery.com>
25000
25001 * sysdeps/x86_64/preconfigure: Regenerated.
25002
41c7328e
JM
250032013-03-14 Joseph Myers <joseph@codesourcery.com>
25004
25005 [BZ #14155]
25006 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
25007 0x1p28 and above.
25008 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
25009 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
25010 0x1p28 and above.
25011 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
25012 * math/libm-test.inc (j0_test): Do not allow one spurious
25013 underflow exception.
25014 (y1_test): Likewise.
25015
e25cfa60
SP
250162013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
25017
0409959c
SP
25018 * manual/Makefile (chapters): Add nptl.
25019 * manual/debug.texi (Debugging Support): Add link to Threads
25020 chapter.
25021 * manual/nptl.texi: New file.
25022
e25cfa60
SP
25023 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
25024
58a1335e
PB
250252013-03-14 Petr Baudis <pasky@ucw.cz>
25026
25027 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
25028 for non-NULL pointer before the memory validity test. Pointed
25029 out by Holger Brunck <holger.brunck@keymile.com>.
25030
9dc7c64f
AS
250312013-03-13 Andreas Schwab <schwab@suse.de>
25032
25033 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
25034 instead of .os.
25035
54206aa6
JM
250362013-03-13 Joseph Myers <joseph@codesourcery.com>
25037
25038 * timezone/zic.c: Update from tzcode 2013b.
25039
e98cdb38
CD
250402013-03-12 Carlos O'Donell <carlos@redhat.com>
25041
25042 * manual/install.texi (Configuring and compiling):
25043 Mention i686 and i586.
25044 * INSTALL: Regenerate.
25045
9967e003
RM
250462013-03-12 Roland McGrath <roland@hack.frob.com>
25047
25048 * sysdeps/init_array/elf-init.c: New file.
25049 * csu/elf-init.c
25050 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
25051 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
25052
25053 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
25054 __gmon_start__ as global, but as static with a .preinit_array pointer.
25055 * sysdeps/init_array/gmon-start.c: New file. Use that.
25056 * sysdeps/init_array/crti.S: New file, empty except for comments.
25057 * sysdeps/init_array/crtn.S: Likewise.
25058
e6b5a293 250592013-03-11 Ondřej Bílka <neleai@seznam.cz>
80f844c9
OB
25060
25061 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
25062 definining bcopy.
80f844c9
OB
25063 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
25064 Remove Prefer_SSE_for_memop.
25065 * sysdeps/x86_64/multiarch/init-arch.h: Remove
25066 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
25067 HAS_PREFER_SSE_FOR_MEMOP.
80f844c9
OB
25068 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
25069 memset-x86-64.
80f844c9 25070 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
e6b5a293 25071 Remove bzero, memset ifunc support.
80f844c9
OB
25072 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
25073 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
25074 * sysdeps/x86_64/multiarch/memset.S: Likewise.
25075 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
25076
fb6b0fcb
AS
250772013-03-11 Andreas Schwab <schwab@suse.de>
25078
25079 [BZ #15234]
25080 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
25081 by SHLIB_COMPAT.
25082 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
25083 (GLIBC_2.16): Remove pthread_atfork.
25084
3e6bd4b1
PP
250852013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
25086
25087 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
25088 (ptestcases.h): Likewise.
25089
222d7f00
RM
250902013-03-08 Roland McGrath <roland@hack.frob.com>
25091
25092 * Makeconfig ($(common-objpfx)config.status): Depend on
25093 sysdeps/*/preconfigure{,.in} too.
25094
1ba4f030
JM
250952013-03-08 Joseph Myers <joseph@codesourcery.com>
25096
a222d91a
JM
25097 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
25098 (__free_hook): Use void * instead of __malloc_ptr_t.
25099 (__malloc_hook): Likewise.
25100 (__realloc_hook): Likewise.
25101 (__memalign_hook): Likewise.
25102 (__after_morecore_hook): Likewise.
25103 * malloc/arena.c (save_malloc_hook): Likewise.
25104 (save_free_hook): Likewise.
25105 * malloc/hooks.c (malloc_hook_ini): Likewise.
25106 (realloc_hook_ini): Likewise.
25107 (memalign_hook_ini): Likewise.
25108 * malloc/malloc.c (malloc_hook_ini): Likewise.
25109 (realloc_hook_ini): Likewise.
25110 (memalign_hook_ini): Likewise.
25111 (__free_hook): Likewise.
25112 (__malloc_hook): Likewise.
25113 (__realloc_hook): Likewise.
25114 (__memalign_hook): Likewise.
25115 (__libc_malloc): Likewise.
25116 (__libc_free): Likewise.
25117 (__libc_realloc): Likewise.
25118 (__libc_memalign): Likewise.
25119 (__libc_valloc): Likewise.
25120 (__libc_pvalloc): Likewise.
25121 (__libc_calloc): Likewise.
25122 (__posix_memalign): Likewise.
25123 * malloc/morecore.c (__sbrk): Likewise.
25124 (__default_morecore): Likewise.
25125
5cc45e10
JM
25126 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
25127
dd54b864
JM
25128 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
25129 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
25130 __malloc_ptrdiff_t.
25131
1ba4f030
JM
25132 * malloc/malloc.h (__malloc_size_t): Remove macro.
25133 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
25134 __malloc_size_t.
25135 (old_memalign_hook): Likewise.
25136 (old_realloc_hook): Likewise.
25137 (struct hdr): Likewise.
25138 (flood): Likewise.
25139 (mallochook): Likewise.
25140 (memalignhook): Likewise.
25141 (reallochook): Likewise.
25142 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
25143 (tr_old_realloc_hook): Likewise.
25144 (tr_old_memalign_hook): Likewise.
25145 (tr_mallochook): Likewise.
25146 (tr_reallochook): Likewise.
25147 (tr_memalignhook): Likewise.
25148
edf66e57
AZ
251492013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25150
25151 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
25152 default_ldbl_pack and using as default implementation.
25153 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
25154 implementation.
25155 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
25156 redundant definition.
25157 (ldbl_insert_mantissa): Likewise.
25158 (ldbl_canonicalize): Likewise.
25159 (ldbl_nearbyint): Likewise.
25160 (ldbl_pack): Rename to ldbl_pack_ppc.
25161 (ldbl_unpack): Rename to ldbl_unpack_ppc.
25162 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
25163 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
25164
6d9145d8
SP
251652013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
25166
25167 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
25168 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
25169 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
25170 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
25171 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
25172 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
25173 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
25174 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
25175
4dd4e157
AJ
251762013-03-07 Andreas Jaeger <aj@suse.de>
25177
25178 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
25179 bits/mman-linux.h.
25180
adbb8027
SP
251812013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
25182
ce544b5b
SP
25183 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
25184 Include mpa.h and declare __MPEXP.
25185 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
25186 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
25187 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
25188 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
25189 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
25190 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
25191 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
25192
4cc149fd
SP
25193 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
25194 (__slowpow): Use long double EXPL and LOGL functions to
25195 compute POW.
25196 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
25197 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
25198 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
25199 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
25200 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
25201 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
25202
e6ebd4a7
SP
25203 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
25204 intermediate variable to calculate exponent.
25205 (__sqr): Likewise.
25206 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
25207 Likewise.
25208 (__sqr): Likewise.
25209
82a9811d
SP
25210 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
25211 [!NO__SQR]: Define __sqr.
25212 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
25213 and NO__SQR. Remove all code except __mul and __sqr. Include
25214 sysdeps/ieee754/dbl-64/mpa.c.
25215 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
25216
adbb8027
SP
25217 [BZ #12723]
25218 * posix/Makefile (tests): Add tst-pathconf.
25219 * posix/tst-pathconf.c: New test case.
25220 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
25221 _PC_PIPE_BUF.
25222 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
25223
39120df9
PF
252242013-03-06 Patsy Franklin <pfrankli@redhat.com>
25225
25226 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
25227
67525cb8
AJ
252282013-03-06 Andreas Jaeger <aj@suse.de>
25229
664a9ce4
AJ
25230 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
25231 definition via __MAP_ANONYMOUS.
25232
8e39047d
AJ
25233 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
25234 it's not part of Linux headers.
25235
67525cb8
AJ
25236 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
25237 (MAP_HUGE_MASK): Define.
25238
25239 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
25240 Define.
25241 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
25242 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
25243 Define.
25244 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
25245 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
25246 Define.
25247 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
25248 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
25249 Define.
25250 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
25251
25252 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
25253 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
25254 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
25255 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
25256 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
25257 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
25258
25259 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
25260 Handle f2fs.
25261
25262 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
25263 Handle f2fs and efivarfs.
25264
25265 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
25266 f2fs.
25267
25268 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
25269 (EFIVARFS_MAGIC): Add.
25270 (F2FS_LINK_MAX): Add.
25271
e1b42695
PP
252722013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
25273
25274 * stdio-common/vfprintf.c: Replace __builtin_expect with
25275 __glibc_unlikely.
25276
2d67d91a
JM
252772013-03-06 Joseph Myers <joseph@codesourcery.com>
25278
25279 [BZ #13550]
25280 * sysdeps/generic/bp-sym.h: Remove file.
25281 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
25282 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
25283 <bp-sym.h> and <bp-asm.h>.
25284 (__longjmp): Don't use BP_SYM.
25285 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
25286 and <bp-asm.h>.
25287 (memcpy): Don't use BP_SYM.
25288 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
25289 <bp-sym.h> and <bp-asm.h>.
25290 (memcpy): Don't use BP_SYM.
25291 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
25292 <bp-asm.h>.
25293 (memcpy): Don't use BP_SYM.
25294 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
25295 <bp-asm.h>.
25296 (memset): Don't use BP_SYM.
25297 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
25298 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
25299 (__bzero): Don't use BP_SYM.
25300 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
25301 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
25302 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
25303 <bp-sym.h> and <bp-asm.h>.
25304 (memcmp): Don't use BP_SYM. Remove comment about bounded
25305 pointers.
25306 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
25307 <bp-sym.h> and <bp-asm.h>.
25308 (memcpy): Don't use BP_SYM.
25309 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
25310 <bp-sym.h> and <bp-asm.h>.
25311 (memset): Don't use BP_SYM.
25312 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
25313 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
25314 (__bzero): Don't use BP_SYM.
25315 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
25316 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
25317 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
25318 <bp-sym.h> and <bp-asm.h>.
25319 (strncmp): Don't use BP_SYM. Remove comment about bounded
25320 pointers.
25321 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
25322 <bp-sym.h> and <bp-asm.h>.
25323 (memcpy): Don't use BP_SYM.
25324 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
25325 <bp-sym.h> and <bp-asm.h>.
25326 (memset): Don't use BP_SYM.
25327 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
25328 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
25329 (__bzero): Don't use BP_SYM.
25330 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
25331 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
25332 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
25333 <bp-sym.h> and <bp-asm.h>.
25334 (__memchr): Don't use BP_SYM.
25335 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
25336 <bp-sym.h> and <bp-asm.h>.
25337 (memcmp): Don't use BP_SYM. Remove comment about bounded
25338 pointers.
25339 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
25340 <bp-sym.h> and <bp-asm.h>.
25341 (memcpy): Don't use BP_SYM.
25342 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
25343 <bp-sym.h> and <bp-asm.h>.
25344 (__mempcpy): Don't use BP_SYM.
25345 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
25346 <bp-sym.h> and <bp-asm.h>.
25347 (__memrchr): Don't use BP_SYM.
25348 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
25349 <bp-sym.h> and <bp-asm.h>.
25350 (memset): Don't use BP_SYM.
25351 (__bzero): Likewise.
25352 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
25353 <bp-sym.h> and <bp-asm.h>.
25354 (__rawmemchr): Don't use BP_SYM.
25355 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
25356 <bp-sym.h> and <bp-asm.h>.
25357 (__STRCMP): Don't use BP_SYM.
25358 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
25359 <bp-sym.h> and <bp-asm.h>.
25360 (strchr): Don't use BP_SYM.
25361 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
25362 <bp-sym.h> and <bp-asm.h>.
25363 (__strchrnul): Don't use BP_SYM.
25364 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
25365 <bp-sym.h> and <bp-asm.h>.
25366 (strlen): Don't use BP_SYM.
25367 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
25368 <bp-sym.h> and <bp-asm.h>.
25369 (strncmp): Don't use BP_SYM. Remove comment about bounded
25370 pointers.
25371 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
25372 <bp-sym.h> and <bp-asm.h>.
25373 (__strnlen): Don't use BP_SYM.
25374 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
25375 <bp-sym.h> and <bp-asm.h>.
25376 (__GI__setjmp): Don't use BP_SYM.
25377 (_setjmp): Likewise.
25378 (__sigsetjmp): Likewise.
25379 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
25380 (L(start_addresses)): Don't use BP_SYM.
25381 (_start): Likewise.
25382 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
25383 <bp-asm.h>.
25384 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
25385 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
25386 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
25387 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
25388 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
25389 <bp-asm.h>.
25390 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
25391 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
25392 about bounded pointers.
25393 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
25394 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
25395 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
25396 <bp-asm.h>.
25397 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
25398 about bounded pointers. Remove GKM FIXME comments.
25399 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
25400 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
25401 <bp-asm.h>.
25402 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
25403 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
25404 Remove GKM FIXME comments.
25405 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
25406 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
25407 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
25408 <bp-asm.h>.
25409 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
25410 about bounded pointers. Remove GKM FIXME comment.
25411 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
25412 and <bp-asm.h>.
25413 (strncmp): Don't use BP_SYM. Remove comment about bounded
25414 pointers.
25415 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
25416 <bp-sym.h> and <bp-asm.h>.
25417 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
25418 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
25419 <bp-sym.h> and <bp-asm.h>.
25420 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
25421 comment.
25422
cdcf361f
PP
254232013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
25424
25425 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
25426 call free(NULL).
25427
3c4a2b15
DM
254282013-03-05 David S. Miller <davem@davemloft.net>
25429
25430 * po/es.po: Update from translation team.
25431
cdcf361f 254322013-03-05 Andreas Jaeger <aj@suse.de>
890b58d3
AJ
25433
25434 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
25435 <bits/mman-linux.h>.
25436 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
25437 is fine.
25438 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
25439 <bits/mman-linux.h> to end of file.
25440 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
25441 is fine.
25442 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
25443 <bits/mman-linux.h> to end of file.
25444 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
25445 is fine.
25446 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
25447 <bits/mman-linux.h> to end of file.
25448
25449 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
25450 (MCL_CURRENT, MCL_FUTURE): Define here.
25451
5f67c04f
AK
254522013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25453
8a4473cc 25454 [BZ #15232]
5f67c04f
AK
25455 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
25456 attribute_hidden.
25457 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
25458
c3e94a95
AK
254592013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25460
25461 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
25462 fourth parameter needed for rt_sigprocmask syscall.
25463 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
25464 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
25465 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
25466 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
25467 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
25468 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
25469
cfb6382a
JM
254702013-03-04 Joseph Myers <joseph@codesourcery.com>
25471
25472 [BZ #13550]
25473 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
25474 comment about bounded pointers.
25475 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
25476 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
25477
539d8e01
AJ
254782013-03-04 Andreas Jaeger <aj@suse.de>
25479
25480 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
25481 common definitions.
25482
25483 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
25484 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
25485 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
25486 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
25487 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
539d8e01
AJ
25488 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
25489
2e167a70 254902013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
e0b780ad
AZ
25491
25492 [BZ #15055]
25493 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
25494 __ieee754_sqrl instead of __sqrl.
25495
68508633
JM
254962013-03-01 Joseph Myers <joseph@codesourcery.com>
25497
25498 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
25499 * sysdeps/powerpc/fpu_control.h: ... here.
25500 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
25501 * sysdeps/powerpc/bits/fenvinline.h: ... here.
25502 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
25503 * sysdeps/powerpc/bits/mathinline.h: ... here.
25504
7775448e
RM
255052013-03-01 Roland McGrath <roland@hack.frob.com>
25506
25507 * elf/dl-hwcaps.c (_dl_important_hwcaps):
25508 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
25509 to just [NEED_DL_SYSINFO_DSO].
25510 * elf/dl-support.c: Likewise.
25511 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
25512 * elf/rtld.c (dl_main): Likewise.
25513 * elf/setup-vdso.h (setup_vdso): Likewise.
25514 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
25515 * sysdeps/unix/sysv/linux/dl-sysdep.c
25516 (_dl_discover_osversion): Likewise.
25517
4e9b5995
CD
255182013-03-01 Carlos O'Donell <carlos@redhat.com>
25519
25520 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
25521 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
25522
e23872c8
SP
255232013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
25524
e5c74c63
SP
25525 * NEWS: Mention libm performance improvements and non-x86 PI
25526 futex support.
25527
e23872c8
SP
25528 * csu/libc-start.c (__pthread_initialize_minimal): Change
25529 function arguments.
25530 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
25531
b5510883
JM
255322013-02-28 Joseph Myers <joseph@codesourcery.com>
25533
25534 [BZ #13550]
25535 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
25536 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
25537 <bp-sym.h> and <bp-asm.h>.
25538 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
25539 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
25540 and <bp-asm.h>.
25541 (memcpy): Don't use BP_SYM.
25542 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
25543 <bp-asm.h>.
25544 (__mpn_add_n): Don't use BP_SYM.
25545 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
25546 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
25547 and <bp-asm.h>.
25548 (__mpn_addmul_1): Don't use BP_SYM.
25549 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
25550 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
25551 <bp-sym.h>.
25552 (_setjmp): Don't use BP_SYM.
25553 (__novmx_setjmp): Likewise.
25554 (__GI__setjmp): Likewise.
25555 (__vmx_setjmp): Likewise.
25556 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
25557 <bp-sym.h>.
25558 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
25559 (__bzero): Don't use BP_SYM.
25560 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
25561 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
25562 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
25563 <bp-sym.h> and <bp-asm.h>.
25564 (memcpy): Don't use BP_SYM.
25565 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
25566 <bp-sym.h> and <bp-asm.h>.
25567 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
25568 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
25569 <bp-sym.h> and <bp-asm.h>.
25570 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
25571 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
25572 <bp-asm.h>.
25573 (__mpn_lshift): Don't use BP_SYM.
25574 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
25575 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
25576 <bp-asm.h>.
25577 (memset): Don't use BP_SYM.
25578 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
25579 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
25580 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
25581 <bp-asm.h>.
25582 (__mpn_mul_1): Don't use BP_SYM.
25583 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
25584 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
25585 <bp-sym.h> and <bp-asm.h>.
25586 (memcmp): Don't use BP_SYM.
25587 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
25588 <bp-sym.h> and <bp-asm.h>.
25589 (memcpy): Don't use BP_SYM.
25590 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
25591 <bp-sym.h> and <bp-asm.h>.
25592 (memset): Don't use BP_SYM.
25593 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
25594 <bp-sym.h> and <bp-asm.h>.
25595 (strncmp): Don't use BP_SYM.
25596 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
25597 <bp-sym.h> and <bp-asm.h>.
25598 (memcpy): Don't use BP_SYM.
25599 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
25600 <bp-sym.h> and <bp-asm.h>.
25601 (memset): Don't use BP_SYM.
25602 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
25603 <bp-sym.h> and <bp-asm.h>.
25604 (__memchr): Don't use BP_SYM.
25605 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
25606 <bp-sym.h> and <bp-asm.h>.
25607 (memcmp): Don't use BP_SYM.
25608 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
25609 <bp-sym.h> and <bp-asm.h>.
25610 (memcpy): Don't use BP_SYM.
25611 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
25612 <bp-sym.h> and <bp-asm.h>.
25613 (__mempcpy): Don't use BP_SYM.
25614 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
25615 <bp-sym.h> and <bp-asm.h>.
25616 (__memrchr): Don't use BP_SYM.
25617 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
25618 <bp-sym.h> and <bp-asm.h>.
25619 (memset): Don't use BP_SYM.
25620 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
25621 <bp-sym.h> and <bp-asm.h>.
25622 (__rawmemchr): Don't use BP_SYM.
25623 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
25624 <bp-sym.h> and <bp-asm.h>.
25625 (__STRCMP): Don't use BP_SYM.
25626 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
25627 <bp-sym.h> and <bp-asm.h>.
25628 (strchr): Don't use BP_SYM.
25629 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
25630 <bp-sym.h> and <bp-asm.h>.
25631 (__strchrnul): Don't use BP_SYM.
25632 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
25633 <bp-sym.h> and <bp-asm.h>.
25634 (strlen): Don't use BP_SYM.
25635 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
25636 <bp-sym.h> and <bp-asm.h>.
25637 (strncmp): Don't use BP_SYM.
25638 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
25639 <bp-sym.h> and <bp-asm.h>.
25640 (__strnlen): Don't use BP_SYM.
25641 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
25642 <bp-asm.h>.
25643 (__mpn_rshift): Don't use BP_SYM.
25644 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
25645 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
25646 <bp-sym.h> and <bp-asm.h>.
25647 (__sigsetjmp): Don't use BP_SYM.
25648 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
25649 (L(start_addresses)): Don't use BP_SYM.
25650 (_start): Likewise.
25651 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
25652 <bp-asm.h>.
25653 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
25654 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
25655 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
25656 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
25657 <bp-asm.h>.
25658 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
25659 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
25660 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
25661 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
25662 <bp-asm.h>.
25663 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
25664 comments.
25665 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
25666 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
25667 <bp-asm.h>.
25668 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
25669 FIXME comments.
25670 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
25671 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
25672 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
25673 <bp-asm.h>.
25674 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
25675 comment.
25676 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
25677 and <bp-asm.h>.
25678 (strncmp): Don't use BP_SYM,
25679 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
25680 <bp-asm.h>.
25681 (__mpn_sub_n): Don't use BP_SYM.
25682 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
25683 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
25684 and <bp-asm.h>.
25685 (__mpn_submul_1): Don't use BP_SYM.
25686 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
25687 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
25688 <bp-sym.h> and <bp-asm.h>.
25689 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
25690 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
25691 <bp-sym.h> and <bp-asm.h>.
25692 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
25693 comment.
25694
8d19fe64
SP
256952013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
25696
25697 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
25698 Use ZK to minimize writes to Z.
25699 (sub_magnitudes): Simplify code a bit.
25700 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
25701 Use ZK to minimize writes to Z.
25702 (sub_magnitudes): Simplify code a bit.
25703
85bd816a
RM
257042013-02-27 Roland McGrath <roland@hack.frob.com>
25705
25706 * csu/gmon-start.c: Add special exception to license text.
25707
b5977bf2
RH
257082013-02-27 Richard Henderson <rth@redhat.com>
25709
25710 * scripts/config.guess: Update from config.git.
25711 * scripts/config.sub: Likewise.
25712
11d6e2f2
SP
257132013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
25714
09c14ed2
SP
25715 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
25716
a688864e
SP
25717 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
25718
6295157a
SP
25719 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
25720
b8de2202
SP
25721 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
25722
11d6e2f2
SP
25723 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
25724
7e80ddb8
RM
257252013-02-26 Roland McGrath <roland@hack.frob.com>
25726
25727 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
25728 [$(build-shared = yes].
7e80ddb8 25729
7da6d9ed
SP
257302013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
25731
45f05884
SP
25732 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
25733 (__mul): Reduce iterations for calculating mantissa.
25734
2236d359
SP
25735 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
25736 MPTWO.
25737 (__mpranred): Likewise.
25738
7da6d9ed
SP
25739 [BZ #15160]
25740 * malloc/memusagestat.c (main): Draw graphs for heap and stack
25741 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
25742
b7688c42
PE
257432013-02-26 Paul Eggert <eggert@cs.ucla.edu>
25744
25745 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
25746 Define __attribute__.
25747
53a5c423
SP
257482013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
25749
25750 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
25751 unused.
25752 * posix/regex_internal.h (__attribute): Remove.
25753 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
25754 (re_string_context_at): Likewise.
25755 (bitset_not): Use __attribute__ and mark function as possibly
25756 unused.
25757 (bitset_merge): Likewise.
25758 (bitset_mask): Likewise.
25759 (re_string_char_size_at): Likewise.
25760 (re_string_wchar_at): Likewise.
25761 (re_string_elem_size_at): Likewise.
25762
60f5a8b5
SP
257632013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
25764
2a983a2e
SP
25765 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
25766 code.
25767 (cc32): Likewise.
25768
e69804d1
SP
25769 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
25770 (__acr): Likewise.
25771 (__cpy): Likewise.
25772 (norm): Likewise.
25773 (denorm): Likewise.
25774 (__dbl_mp): Likewise.
25775 (add_magnitudes): Likewise.
25776 (sub_magnitudes): Likewise.
25777 (__mul): Likewise.
25778 (__inv): Likewise.
25779
2f22a1e8
SP
25780 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
25781 style.
25782
8930ddc7
SP
25783 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
25784 style.
25785
dc60cb11
SP
25786 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
25787 code.
25788
60f5a8b5
SP
25789 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
25790 up changes with default code.
25791 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
25792 Likewise.
25793
b4d1fd33
AM
257942013-02-24 Allan McRae <allan@archlinux.org>
25795
faf6f8bc
AM
25796 * manual/socket.texi (The Internet Namespace): Order menu items
25797 to match that in the file.
25798
b4d1fd33
AM
25799 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
25800 node listing of the info page menu.
25801
2366713d
JM
258022013-02-21 Joseph Myers <joseph@codesourcery.com>
25803
25804 [BZ #13550]
25805 * sysdeps/i386/bp-asm.h: Remove file.
25806 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
25807 (PARMS): Do not use macros from bp-asm.h.
25808 (S1): Likewise.
25809 (S2): Likewise.
25810 (SIZE): Likewise.
25811 (__mpn_add_n): Do not use BP_SYM
25812 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
25813 "bp-asm.h".
25814 (PARMS): Do not use macros from bp-asm.h.
25815 (S1): Likewise.
25816 (SIZE): Likewise.
25817 (__mpn_addmul_1): Do not use BP_SYM
25818 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
25819 "bp-asm.h".
25820 (PARMS): Do not use macros from bp-asm.h.
25821 (SIGMSK): Likewise.
25822 (_setjmp): Likewise. Do not use BP_SYM.
25823 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
25824 "bp-asm.h".
25825 (PARMS): Do not use macros from bp-asm.h.
25826 (SIGMSK): Likewise.
25827 (setjmp): Likewise. Do not use BP_SYM.
25828 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
25829 "bp-asm.h".
25830 (PARMS): Do not use macros from bp-asm.h.
25831 (__frexp): Do not use BP_SYM.
25832 (frexp): Likewise.
25833 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
25834 "bp-asm.h".
25835 (PARMS): Do not use macros from bp-asm.h.
25836 (__frexpf): Do not use BP_SYM.
25837 (frexpf): Likewise.
25838 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
25839 "bp-asm.h".
25840 (PARMS): Do not use macros from bp-asm.h.
25841 (__frexpl): Do not use BP_SYM.
25842 (frexpl): Likewise.
25843 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
25844 "bp-asm.h".
25845 (PARMS): Do not use macros from bp-asm.h.
25846 (__remquo): Do not use BP_SYM.
25847 (remquo): Likewise.
25848 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
25849 "bp-asm.h".
25850 (PARMS): Do not use macros from bp-asm.h.
25851 (__remquof): Do not use BP_SYM.
25852 (remquof): Likewise.
25853 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
25854 "bp-asm.h".
25855 (PARMS): Do not use macros from bp-asm.h.
25856 (__remquol): Do not use BP_SYM.
25857 (remquol): Likewise.
25858 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
25859 "bp-asm.h".
25860 (PARMS): Do not use macros from bp-asm.h.
25861 (DEST): Likewise.
25862 (SRC): Likewise.
25863 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
25864 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
25865 "bp-asm.h".
25866 (PARMS): Do not use macros from bp-asm.h.
25867 (strlen): Do not use BP_SYM.
25868 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
25869 "bp-asm.h".
25870 (PARMS): Do not use macros from bp-asm.h.
25871 (S1): Likewise.
25872 (S2): Likewise.
25873 (SIZE): Likewise.
25874 (__mpn_add_n): Do not use BP_SYM.
25875 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
25876 "bp-asm.h".
25877 (PARMS): Do not use macros from bp-asm.h.
25878 (S1): Likewise.
25879 (SIZE): Likewise.
25880 (__mpn_addmul_1): Do not use BP_SYM.
25881 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
25882 weak_alias.
25883 (bzero): Likewise.
25884 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
25885 "bp-asm.h".
25886 (PARMS): Do not use macros from bp-asm.h.
25887 (S): Likewise.
25888 (SIZE): Likewise.
25889 (__mpn_lshift): Do not use BP_SYM.
25890 * sysdeps/i386/i586/memcpy.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 (SRC): Likewise.
25895 (LEN): Likewise.
25896 (memcpy): Likewise. Do not use BP_SYM.
25897 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
25898 libc_hidden_def and weak_alias.
25899 (mempcpy): Do not use BP_SYM in weak_alias.
25900 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
25901 "bp-asm.h".
25902 (PARMS): Do not use macros from bp-asm.h.
25903 (DEST): Likewise.
25904 (LEN): Likewise.
25905 [!BZERO_P] (CHR): Likewise.
25906 (memset): Likewise. Do not use BP_SYM.
25907 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
25908 "bp-asm.h".
25909 (PARMS): Do not use macros from bp-asm.h.
25910 (S1): Likewise.
25911 (SIZE): Likewise.
25912 (__mpn_mul_1): Do not use BP_SYM.
25913 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
25914 "bp-asm.h".
25915 (PARMS): Do not use macros from bp-asm.h.
25916 (S): Likewise.
25917 (SIZE): Likewise.
25918 (__mpn_rshift): Do not use BP_SYM.
25919 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
25920 "bp-asm.h".
25921 (PARMS): Do not use macros from bp-asm.h.
25922 (STR): Likewise.
25923 (CHR): Likewise.
25924 (strchr): Likewise. Do not use BP_SYM.
25925 (index): Do not use BP_SYM in weak_alias.
25926 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
25927 "bp-asm.h".
25928 (PARMS): Do not use macros from bp-asm.h.
25929 (DEST): Likewise.
25930 (SRC): Likewise.
25931 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
25932 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
25933 "bp-asm.h".
25934 (PARMS): Do not use macros from bp-asm.h.
25935 (strlen): Do not use BP_SYM.
25936 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
25937 "bp-asm.h".
25938 (PARMS): Do not use macros from bp-asm.h.
25939 (S1): Likewise.
25940 (S2): Likewise.
25941 (SIZE): Likewise.
25942 (__mpn_sub_n): Do not use BP_SYM.
25943 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
25944 "bp-asm.h".
25945 (PARMS): Do not use macros from bp-asm.h.
25946 (S1): Likewise.
25947 (SIZE): Likewise.
25948 (__mpn_submul_1): Do not use BP_SYM.
25949 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
25950 "bp-asm.h".
25951 (PARMS): Do not use macros from bp-asm.h.
25952 (S1): Likewise.
25953 (S2): Likewise.
25954 (SIZE): Likewise.
25955 (__mpn_add_n): Do not use BP_SYM.
25956 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
25957 weak_alias.
25958 (bzero): Likewise.
25959 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
25960 "bp-asm.h".
25961 (PARMS): Do not use macros from bp-asm.h.
25962 (BLK2): Likewise.
25963 (LEN): Likewise.
25964 (memcmp): Do not use BP_SYM.
25965 (bcmp): Do not use BP_SYM in weak_alias.
25966 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
25967 "bp-asm.h".
25968 (PARMS): Do not use macros from bp-asm.h.
25969 (DEST): Likewise.
25970 (SRC): Likewise.
25971 (LEN): Likewise.
25972 (memcpy): Likewise. Do not use BP_SYM.
25973 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
25974 "bp-asm.h".
25975 (PARMS): Do not use macros from bp-asm.h.
25976 (DEST): Likewise.
25977 (SRC): Likewise.
25978 (LEN): Likewise.
25979 (memmove): Likewise. Do not use BP_SYM.
25980 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
25981 "bp-asm.h".
25982 (PARMS): Do not use macros from bp-asm.h.
25983 (DEST): Likewise.
25984 (SRC): Likewise.
25985 (LEN): Likewise.
25986 (__mempcpy): Likewise. Do not use BP_SYM.
25987 (mempcpy): Do not use BP_SYM in weak_alias.
25988 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
25989 "bp-asm.h".
25990 (PARMS): Do not use macros from bp-asm.h.
25991 (DEST): Likewise.
25992 (LEN): Likewise.
25993 [!BZERO_P] (CHR): Likewise.
25994 (memset): Likewise. Do not use BP_SYM.
25995 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
25996 "bp-asm.h".
25997 (PARMS): Do not use macros from bp-asm.h.
25998 (STR2): Likewise.
25999 (strcmp): Do not use BP_SYM.
26000 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
26001 "bp-asm.h".
26002 (PARMS): Do not use macros from bp-asm.h.
26003 (STR): Likewise.
26004 (DELIM): Likewise.
26005 [USE_AS_STRTOK_R] (SAVE): Likewise.
26006 (FUNCTION): Likewise. Do not use BP_SYM.
26007 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
26008 aliases.
26009 (strtok_r): Likewise.
26010 (__GI___strtok_r): Likewise.
26011 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
26012 (PARMS): Do not use macros from bp-asm.h.
26013 (S): Likewise.
26014 (SIZE): Likewise.
26015 (__mpn_lshift): Do not use BP_SYM.
26016 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
26017 (PARMS): Do not use macros from bp-asm.h.
26018 (STR): Likewise.
26019 (CHR): Likewise.
26020 (__memchr): Do not use BP_SYM.
26021 (memchr): Do not use BP_SYM in weak_alias.
26022 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
26023 (PARMS): Do not use macros from bp-asm.h.
26024 (BLK2): Likewise.
26025 (LEN): Likewise.
26026 (memcmp): Do not use BP_SYM.
26027 (bcmp): Do not use BP_SYM in weak_alias.
26028 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
26029 (PARMS): Do not use macros from bp-asm.h.
26030 (S1): Likewise.
26031 (SIZE): Likewise.
26032 (__mpn_mul_1): Do not use BP_SYM.
26033 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
26034 "bp-asm.h".
26035 (PARMS): Do not use macros from bp-asm.h.
26036 (STR): Likewise.
26037 (CHR): Likewise.
26038 (__rawmemchr): Do not use BP_SYM.
26039 (rawmemchr): Do not use BP_SYM in weak_alias.
26040 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
26041 (PARMS): Do not use macros from bp-asm.h.
26042 (S): Likewise.
26043 (SIZE): Likewise.
26044 (__mpn_rshift): Do not use BP_SYM.
26045 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
26046 (PARMS): Do not use macros from bp-asm.h.
26047 (SIGMSK): Likewise.
26048 (__sigsetjmp): Likewise. Do not use BP_SYM.
26049 * sysdeps/i386/start.S: Do not include "bp-sym.h".
26050 (_start): Do not use BP_SYM.
26051 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
26052 (PARMS): Do not use macros from bp-asm.h.
26053 (DEST): Likewise.
26054 (SRC): Likewise.
26055 (__stpcpy): Likewise. Do not use BP_SYM.
26056 (stpcpy): Do not use BP_SYM in weak_alias.
26057 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
26058 "bp-asm.h".
26059 (PARMS): Do not use macros from bp-asm.h.
26060 (DEST): Likewise.
26061 (SRC): Likewise.
26062 (LEN): Likewise.
26063 (__stpncpy): Likewise. Do not use BP_SYM.
26064 (stpncpy): Do not use BP_SYM in weak_alias.
26065 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
26066 (PARMS): Do not use macros from bp-asm.h.
26067 (STR): Likewise.
26068 (CHR): Likewise.
26069 (strchr): Likewise. Do not use BP_SYM.
26070 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
26071 "bp-asm.h".
26072 (PARMS): Do not use macros from bp-asm.h.
26073 (STR): Likewise.
26074 (CHR): Likewise.
26075 (__strchrnul): Likewise. Do not use BP_SYM.
26076 (strchrnul): Do not use BP_SYM in weak_alias.
26077 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
26078 "bp-asm.h".
26079 (PARMS): Do not use macros from bp-asm.h.
26080 (STOP): Likewise.
26081 (strcspn): Do not use BP_SYM.
26082 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
26083 "bp-asm.h".
26084 (PARMS): Do not use macros from bp-asm.h.
26085 (STR): Likewise.
26086 (STOP): Likewise.
26087 (strpbrk): Likewise. Do not use BP_SYM.
26088 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
26089 "bp-asm.h".
26090 (PARMS): Do not use macros from bp-asm.h.
26091 (STR): Likewise.
26092 (CHR): Likewise.
26093 (strrchr): Likewise. Do not use BP_SYM.
26094 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
26095 (PARMS): Do not use macros from bp-asm.h.
26096 (SKIP): Likewise.
26097 (strspn): Do not use BP_SYM.
26098 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
26099 (PARMS): Do not use macros from bp-asm.h.
26100 (STR): Likewise.
26101 (DELIM): Likewise.
26102 (SAVE): Likewise.
26103 (FUNCTION): Likewise. Do not use BP_SYM.
26104 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
26105 aliases.
26106 (strtok_r): Likewise.
26107 (__GI___strtok_r): Likewise.
26108 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
26109 (PARMS): Do not use macros from bp-asm.h.
26110 (S1): Likewise.
26111 (S2): Likewise.
26112 (SIZE): Likewise.
26113 (__mpn_sub_n): Do not use BP_SYM.
26114 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
26115 "bp-asm.h".
26116 (PARMS): Do not use macros from bp-asm.h.
26117 (S1): Likewise.
26118 (SIZE): Likewise.
26119 (__mpn_submul_1): Do not use BP_SYM.
26120 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
26121 <bp-sym.h>.
26122 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
26123 and <bp-asm.h>.
26124 (PARMS): Do not use macros from bp-asm.h.
26125 (FLAGS): Likewise.
26126 (PTID): Likewise.
26127 (TLS): Likewise.
26128 (CTID): Likewise.
26129 (__clone): Do not use BP_SYM.
26130 (clone): Do not use BP_SYM in weak_alias.
26131 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
26132 and <bp-asm.h>.
26133 (PARMS): Do not use macros from bp-asm.h.
26134 (LEN): Likewise.
26135 (__mmap64): Do not use BP_SYM.
26136 (mmap64): Do not use BP_SYM in weak_alias.
26137 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
26138 <bp-sym.h> and <bp-asm.h>.
26139 (PARMS): Do not use macros from bp-asm.h.
26140 (__posix_fadvise64_l64): Do not use BP_SYM.
26141 * sysdeps/unix/sysv/linux/i386/semtimedop.S
26142 (PARMS): Do not use macros from bp-asm.h.
26143 (NSOPS): Likewise.
26144 (semtimedop): Do not use BP_SYM.
26145 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
26146 and <bp-asm.h>.
26147
582a3cff
AM
261482013-02-21 Allan McRae <allan@archlinux.org>
26149
26150 * manual/message.texi (Charset conversion in gettext):
26151 Move @end statement to beginning of line.
26152
bab8a695
SP
261532013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
26154
80945231
SP
26155 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
26156 static.
26157 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
26158 Likewise.
26159
bab8a695
SP
26160 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
26161 (denorm): Likewise.
26162 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
26163 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
26164
e21d7aa7
AK
261652013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26166
26167 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
26168 tail-call to the resolved function if pltexit isn't needed.
26169
4c7a4263
SP
261702013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
26171
26172 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
26173 or Y being zero as being unlikely.
26174 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
26175 Likewise.
26176
41f49342
CD
261772013-02-20 Carlos O'Donell <carlos@redhat.com>
26178
26179 * manual/nss.texi (System Databases and Name Service Switch):
26180 Remove frobnicate @pxref.
26181
50022a93
TS
261822013-02-20 Thomas Schwinge <thomas@codesourcery.com>
26183
26184 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
26185 __attribute__ ((unused)) to __attribute__ ((__unused__)).
26186
08cbd996
PM
261872013-02-20 Petr Machata <pmachata@redhat.com>
26188
26189 * elf/elf.h (R_ARM_TARGET1): New macro.
26190 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
26191 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
26192 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
26193 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
26194 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
26195 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
26196 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
26197 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
26198 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
26199 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
26200 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
26201 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
26202 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
26203 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
26204 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
26205 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
26206 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
26207 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
26208 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
26209 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
26210 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
26211 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
26212 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
26213 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
26214 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
26215 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
26216 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
26217 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
26218 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
26219 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
26220 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
26221 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
26222 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
26223 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
26224 (R_ARM_THM_GOT_BREL12): Likewise.
26225 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
26226 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
26227 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
26228 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
26229 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
26230 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
26231 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
26232 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
26233 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
26234
c7b275d6
TS
262352013-02-20 Thomas Schwinge <thomas@codesourcery.com>
26236
26237 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
26238 __attribute_used__ to __attribute__ ((unused)).
26239
20cd7fb3
SP
262402013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
26241
26242 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
26243 powerpc mpa.c.
26244 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
26245 comment formatting.
26246 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
26247
92945b52
JM
262482013-02-19 Joseph Myers <joseph@codesourcery.com>
26249
26250 [BZ #13550]
26251 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
26252 Remove macro.
26253 (ENTER): Remove both macro definitions.
26254 (LEAVE): Likewise.
26255 (CHECK_BOUNDS_LOW): Likewise.
26256 (CHECK_BOUNDS_HIGH): Likewise.
26257 (CHECK_BOUNDS_BOTH): Likewise.
26258 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
26259 (RETURN_BOUNDED_POINTER): Likewise.
26260 (RETURN_NULL_BOUNDED_POINTER): Likewise.
26261 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
26262 (POP_ERRNO_LOCATION_RETURN): Likewise.
26263 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
26264 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
26265 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
26266 macros.
26267 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
26268 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
26269 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
26270 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
26271 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
26272 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
26273 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
26274 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
26275 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
26276 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
26277 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
26278 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
26279 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
26280 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
26281 removed macros.
26282 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
26283 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
26284 macros.
26285 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
26286 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
26287 * sysdeps/i386/i586/memset.S (memset): Likewise.
26288 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
26289 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
26290 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
26291 macros.
26292 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
26293 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
26294 Change uses of L(2) to L(out).
26295 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
26296 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
26297 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
26298 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
26299 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
26300 removed macros.
26301 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
26302 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
26303 macros.
26304 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
26305 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
26306 (RETURN): Do not use macro LEAVE.
26307 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
26308 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
26309 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
26310 * sysdeps/i386/i686/memset.S (memset): Likewise.
26311 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
26312 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
26313 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
26314 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
26315 Likewise.
26316 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
26317 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
26318 L(1_2) and L(1_3) into L(1).
26319 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
26320 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
26321 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
26322 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
26323 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
26324 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
26325 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
26326 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
26327 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
26328 macros.
26329 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
26330 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
26331 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
26332 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
26333 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
26334 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
26335 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
26336 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
26337 * sysdeps/i386/strcspn.S (strcspn): Likewise.
26338 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
26339 * sysdeps/i386/strrchr.S (strrchr): Likewise.
26340 * sysdeps/i386/strspn.S (strspn): Likewise.
26341 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
26342 conditional code.
26343 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
26344 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
26345 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
26346 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
26347 L(1_3) into L(1_1).
26348 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
26349 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
26350 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
26351 macros.
26352 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
26353
2389741a
JJ
263542013-02-19 Jakub Jelinek <jakub@redhat.com>
26355
26356 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
26357 macro.
26358
2016b3cd
SP
263592013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
26360
e4f22324
SP
26361 * math/atest-exp.c (exp_mpn): Remove ROUND.
26362 * math/atest-exp2.c (exp_mpn): Likewise.
26363 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
26364
2016b3cd
SP
26365 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
26366 * stdlib/tst-tls-atexit-lib.c: Likewise.
26367 * stdlib/tst-tls-atexit.c: Likewise.
26368
4be9b544
MF
263692013-02-18 Mike Frysinger <vapier@gentoo.org>
26370
26371 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
26372 and __attribute_alloc_size__.
26373
2f62b9ee
MF
263742013-02-18 Mike Frysinger <vapier@gentoo.org>
26375
26376 * include/programs/xmalloc.h: Change __attribute_alloc_size to
26377 __attribute_alloc_size__.
26378 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
26379 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
26380
6ff444c4
MF
263812013-02-18 Mike Frysinger <vapier@gentoo.org>
26382
26383 * include/programs/xmalloc.h: New file.
26384 * catgets/gencat.c: Include it.
26385 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
26386 * elf/pldd.c: Likewise.
26387 * iconv/iconv_charmap.c: Likewise.
26388 * iconv/iconvconfig.c: Likewise.
26389 * iconv/strtab.c: Likewise.
26390 * locale/programs/locale.c: Likewise.
26391 * locale/programs/localedef.h: Likewise.
26392 * locale/programs/simple-hash.c: Likewise.
26393 * nscd/nscd.h: Likewise.
26394 * nss/makedb.c: Likewise.
26395 * sysdeps/generic/ldconfig.h: Likewise.
26396
be179c8a
SP
263972013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
26398
ba384f6e
SP
26399 * Versions.def: Add GLIBC_2.18.
26400 * include/link.h (struct link_map): New member l_tls_dtor_count.
26401 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
26402 (__call_tls_dtors): Likewise.
26403 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
26404 __cxa_thread_atexit_impl.
26405 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
26406 Likewise.
26407 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
26408 Likewise.
26409 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
26410 Likewise.
26411 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
26412 Likewise.
26413 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
26414 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
26415 Likewise.
26416 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
26417 Likewise.
26418 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
26419 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
26420 Likewise.
26421 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
26422 (tests): Add test case tst-tls-atexit.
26423 (modules-names): Add shared library for tst-tls-atexit.
85891aca 26424 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
ba384f6e
SP
26425 (GLIBC_PRIVATE): Add __call_tls_dtors.
26426 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
26427 for libstdc++.
26428 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
26429 * stdlib/tst-tls-atexit.c: New test case.
26430 * stdlib/tst-tls-atexit-lib.c: New test case.
26431
ffaa74cf 26432 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
ffaa74cf 26433
be179c8a
SP
26434 * elf/Versions (ld): Add _dl_find_dso_for_object.
26435 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
26436 * elf/dl-open.c (_dl_find_dso_for_object): New function.
26437 (dl_open_worker): Use _dl_find_dso_for_object.
26438 * elf/dl-sym.c (do_sym): Likewise.
26439 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
26440
f78b5caa
AK
264412013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26442
26443 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
26444 Syntactic changes only.
26445 (_dl_runtime_profile): Do a tail-call to the resolved function.
26446
29691210
JM
264472013-02-17 Joseph Myers <joseph@codesourcery.com>
26448
26449 [BZ #13550]
26450 * sysdeps/x86_64/bp-asm.h: Remove file.
26451 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
26452 <bp-sym.h> and <bp-asm.h>.
26453 (__clone): Do not use BP_SYM.
26454 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
26455 <bp-sym.h> and <bp-asm.h>.
26456 * sysdeps/unix/x86_64/sysdep.S: Likewise.
26457 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
26458 "bp-asm.h".
26459 (_setjmp): Do not use BP_SYM.
26460 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
26461 "bp-asm.h".
26462 (setjmp): Do not use BP_SYM.
26463 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
26464 libc_hidden_def.
26465 (mempcpy): Do not use BP_SYM in weak_alias.
26466 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
26467 "bp-asm.h".
26468 (strchr): Do not use BP_SYM.
26469 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
26470 "bp-asm.h".
26471 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
26472 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
26473 (_start): Do not use BP_SYM.
26474 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
26475 "bp-asm.h".
26476 (strcat): Do not use BP_SYM.
26477 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
26478 "bp-asm.h".
26479 (STRCMP): Do not use BP_SYM.
26480 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
26481 "bp-asm.h".
26482 (STRCPY): Do not use BP_SYM.
26483 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
26484 "bp-asm.h".
26485 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
26486 "bp-asm.h".
26487 (FUNCTION): Do not use BP_SYM.
26488 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
26489 weak_alias.
26490 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
26491
f238fd19
AJ
264922013-02-17 Andreas Jaeger <aj@suse.de>
26493
26494 * time/Versions: Sort entries.
26495 * string/Versions: Likewise.
26496 * resolv/Versions: Likewise.
26497 * posix/Versions: Likewise.
26498 * iconv/Versions: Likewise.
26499 * elf/Versions: Likewise.
26500 * wcsmbs/Versions: Likewise.
26501
bd07f23c 265022013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4709fe76 26503
22af19f9
SP
26504 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
26505 loop termination condition.
26506
4709fe76
SP
26507 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
26508 variable to calculate EZ.
26509 (__sqr): Likewise.
2d0e0f29
SP
26510
26511 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
26512 the lower precision input.
26513
daaa7713
JM
265142013-02-15 Joseph Myers <joseph@codesourcery.com>
26515
26516 [BZ #13550]
26517 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
26518 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
26519 (run-via-rtld-prefix): Do not handle %-bp tests.
26520 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
26521 (all-object-suffixes): Remove .ob.
26522 (bppfx): Remove variable.
26523 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
26524 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
26525 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
26526 [$(build-bounded) = yes] (libtype.ob): Likewise.
26527 * Makerules (elide-routines.ob): Remove variable.
26528 (do-tests-clean): Do not handle *-bp.out.
26529 (common-mostlyclean): Do not handle *-bp and *-bp.out.
26530 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
26531 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
26532 (tests): Do not include $(tests-bp.out).
26533 (xtests): Do not include $(xtests-bp.out).
26534 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
26535 [$(build-bounded) = yes] ($(addprefix
26536 $(objpfx),$(binaries-bounded))): Remove rule.
26537 ($(objpfx)%-bp.out): Remove rule.
26538 * config.make.in (build-bounded): Remove variable.
26539 * crypt/Makefile [$(build-bounded) = yes]
26540 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
26541 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
26542 append to variable.
26543 [$(build-bounded) = yes] (install-lib): Likewise.
26544 [$(build-bounded) = yes] (generated): Likewise.
26545 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
26546 Remove rule.
26547 * intl/Makefile [$(build-bounded) = yes]
26548 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
26549 * math/Makefile [$(build-bounded) = yes]
26550 ($(tests:%=$(objpfx)%-bp): Likewise.
26551 * misc/Makefile [$(build-bounded) = yes]
26552 ($(objpfx)tst-tsearch-bp): Likewise.
26553 * nptl/Makeconfig (bounded-thread-library): Remove variable.
26554 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
26555 Remove dependency.
26556 * string/Makefile (o-objects.ob): Remove variable.
26557 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
26558 (CFLAGS-.ob): Remove variable.
26559 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
26560 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
26561 both definitions of variable.
26562 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
26563 (ASFLAGS-.ob): Remove variable.
26564
e97ed6dd
JM
265652013-02-14 Joseph Myers <joseph@codesourcery.com>
26566
2bdd4ca6
JM
26567 [BZ #13550]
26568 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
26569 Remove __BOUNDED_POINTERS__ from condition.
26570 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
26571 * string/bits/string2.h [!__NO_STRING_INLINES &&
26572 !__BOUNDED_POINTERS__]: Likewise.
26573 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
26574 Likewise.
26575 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
26576 Remove conditional code.
26577 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
26578 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
26579 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
26580 condition.
26581
e97ed6dd
JM
26582 [BZ #13550]
26583 * csu/libc-start.c: Do not include <bp-sym.h>.
26584 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
26585 * elf/dl-open.c: Do not include <bp-sym.h>.
26586 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
26587 * math/fegetenv.c: Do not include <bp-sym.h>.
26588 (fegetenv): Do not use BP_SYM in versioned symbols.
26589 * nptl/sysdeps/pthread/bits/libc-lockP.h
26590 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
26591 <bp-sym.h>.
26592 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26593 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
26594 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26595 (__pthread_mutex_destroy): Likewise.
26596 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26597 (__pthread_mutex_lock): Likewise.
26598 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26599 (__pthread_mutex_trylock): Likewise.
26600 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26601 (__pthread_mutex_unlock): Likewise.
26602 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26603 (__pthread_mutexattr_init): Likewise.
26604 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26605 (__pthread_mutexattr_destroy): Likewise.
26606 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26607 (__pthread_mutexattr_settype): Likewise.
26608 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26609 (__pthread_rwlock_init): Likewise.
26610 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26611 (__pthread_rwlock_destroy): Likewise.
26612 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26613 (__pthread_rwlock_rdlock): Likewise.
26614 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26615 (__pthread_rwlock_tryrdlock): Likewise.
26616 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26617 (__pthread_rwlock_wrlock): Likewise.
26618 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26619 (__pthread_rwlock_trywrlock): Likewise.
26620 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26621 (__pthread_rwlock_unlock): Likewise.
26622 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26623 (__pthread_key_create): Likewise.
26624 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26625 (__pthread_setspecific): Likewise.
26626 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26627 (__pthread_getspecific): Likewise.
26628 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
26629 Likewise.
26630 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26631 (_pthread_cleanup_push_defer): Likewise.
26632 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26633 (_pthread_cleanup_pop_restore): Likewise.
26634 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26635 (pthread_setcancelstate): Likewise.
26636 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
26637 <bp-sym.h>.
26638 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
26639 (memchr): Do not use BP_SYM in weak_alias.
26640 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
26641 (fegetenv): Do not use BP_SYM in versioned symbols.
26642 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
26643 (fesetenv): Do not use BP_SYM in versioned symbols.
26644 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
26645 (feupdateenv): Do not use BP_SYM in versioned symbols.
26646 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
26647 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
26648 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
26649 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
26650 (open64): Do not use BP_SYM in weak_alias.
26651 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
26652 (fegetenv): Do not use BP_SYM in versioned symbols.
26653 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
26654 (fesetenv): Do not use BP_SYM in versioned symbols.
26655 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
26656 (feupdateenv): Do not use BP_SYM in versioned symbols.
26657 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
26658 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
26659 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
26660 (feraiseexcept): Do not use BP_SYM in versioned symbols.
26661 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
26662 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
26663 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
26664 <bp-sym.h>.
26665 (__libc_start_main): Do not use BP_SYM.
26666
d6752ccd
SP
266672013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
26668
cb57ce60
SP
26669 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
26670 redundant return line.
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 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
26681 (norm): Likewise.
26682 (denorm): Likewise.
26683 (dbl_mp): Likewise.
26684 (sub_magnitudes): Likewise.
26685 (__add): Likewise.
26686 (__sub): Likewise.
26687 (__mul): Likewise.
26688 (__inv): Likewise.
26689 (__dvd): Likewise.
26690
f414520d
SP
26691 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
26692 instead of __mul.
26693 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
26694 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
26695 (cc32): Likewise.
26696
d6752ccd
SP
26697 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
26698 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
26699 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
26700 of __mul for squares.
26701 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
26702 function
26703 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
26704 Likewise.
26705 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
26706 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
26707
70d9946a
JM
267082013-02-13 Joseph Myers <joseph@codesourcery.com>
26709
26710 [BZ #13550]
26711 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
26712 code.
26713 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
26714 prototype or function definition. Rename ubp_* variables and
26715 parameters. Remove argv definitions conditional on
26716 [__BOUNDED_POINTERS__].
26717 * debug/backtrace.c (__backtrace): Do not use __unbounded.
26718 * elf/dl-runtime.c (_dl_fixup): Likewise.
26719 * include/set-hooks.h (RUN_HOOK): Likewise.
26720 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
26721 definition.
26722 * string/strcpy.c (strcpy): Do not use __unbounded.
26723 * sysdeps/generic/frame.h (struct layout): Likewise.
26724 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
26725 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
26726 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
26727 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
26728 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
26729 (__backtrace): Likewise.
26730 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
26731 use __ptrvalue.
26732 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
26733 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
26734 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
26735 Likewise.
26736 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
26737 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
26738 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
26739 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
26740 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
26741 Do not use __unbounded.
26742 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
26743 Rename __unboundedrlimits parameter to rlimits in prototype.
26744 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
26745 Do not use __unbounded.
26746 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
26747 not use __ptrvalue.
26748 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
26749 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
26750 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
26751 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
26752 __ptrvalue or __unbounded.
26753 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
26754 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
26755 use __unbounded.
26756 (__new_msgctl): Do not use __ptrvalue.
26757 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
26758 __unbounded.
26759 (__libc_msgrcv): Do not use __ptrvalue.
26760 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
26761 startup_info): Do not use __unbounded.
26762 (__libc_start_main): Likewise. Rename ubp_* variables and
26763 parameters. Remove argv definitions conditional on
26764 [__BOUNDED_POINTERS__].
26765 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
26766 __ptrvalue.
26767 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
26768 use __unbounded.
26769 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
26770 or __ptrvalue.
26771 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
26772 use __unbounded.
26773 (__new_shmctl): Do not use __ptrvalue.
26774 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
26775 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
26776 Likewise.
26777 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
26778 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
26779 (__libc_sigaction): Likewise.
26780 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
26781 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
26782 Likewise.
26783 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
26784
cc7834d6
OB
267852013-02-13 Ondřej Bílka <neleai@seznam.cz>
26786
ffb1ec7b 26787 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
170704c9
OB
26788
26789 * string/mempcpy.c: Implement by calling memcpy.
26790
bdf02814
SP
267912013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
26792
c2af38aa
SP
26793 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
26794
4e92d59e
SP
26795 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
26796 evaluation.
26797
909279a5
SP
26798 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
26799 values in the mantissa.
26800
bdf02814
SP
26801 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
26802 minimize writes to Z.
26803 (sub_magnitudes): Simplify code a bit.
26804
cd525923
RM
268052013-02-12 Roland McGrath <roland@hack.frob.com>
26806
26807 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
26808 from the message. The linker prefixes all warnings with that already.
26809
7e2f0d2d
AS
268102013-02-12 Andreas Schwab <schwab@suse.de>
26811
a445af0b
AS
26812 [BZ #15078]
26813 * posix/regexec.c (extend_buffers): Add parameter min_len.
26814 (check_matching): Pass minimum needed length.
26815 (clean_state_log_if_needed): Likewise.
26816 (get_subexp): Likewise.
26817 * posix/Makefile (tests): Add bug-regex34.
26818 (bug-regex34-ENV): Define.
26819 * posix/bug-regex34.c: New file.
26820
7e2f0d2d
AS
26821 [BZ #11561]
26822 * posix/regcomp.c (parse_bracket_exp): When looking up collating
26823 elements compare against the byte sequence of it, not its name.
26824 * posix/Makefile (tests): Add bug-regex35.
26825 (bug-regex35-ENV): Define.
26826 * posix/bug-regex35.c: New file.
26827
a175b684
TV
268282013-02-11 Tom de Vries <tom@codesourcery.com>
26829
26830 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
26831 comment.
26832 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
26833 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
26834 (CHECK_EOL): Add undef.
26835
310998fe 268362013-02-11 Ondřej Bílka <neleai@seznam.cz>
41eda41d
OB
26837
26838 * bits/stdlib-bsearch.h: New file.
26839 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
310998fe 26840 * stdlib/stdlib.h: Likewise.
41eda41d 26841
8ded91fb
RM
268422013-02-11 Roland McGrath <roland@hack.frob.com>
26843
26844 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
26845 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
26846 declaration.
26847 * manual/search.texi (Array Search Function): Add missing const in
26848 lfind prototype.
26849 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
26850 declaration to use rlim_t.
26851 (Basic Scheduling Functions): Remove erroneous const from
26852 sched_getparam prototype. Remove erroneous * from
26853 sched_get_priority_max and sched_get_priority_min prototypes.
26854 (Resource Usage): Fix summary @comment on vtimes to refer to
26855 sys/vtimes.h rather than vtimes.h.
26856 Add missing *s in vtimes prototype.
26857 (Limits on Resources): Fix ulimit prototype to return long int.
26858 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
26859 prototypes to use long int rather than double.
26860 (BSD Random): Fix initstate and setstate to use char *, not void *.
26861 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
26862 prototype to make second argument 'struct aiocb64 *const[]'.
26863 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
26864 (Status of AIO Operations): Remove erroneous const in aio_return and
26865 aio_return64 prototypes.
26866 (Synchronizing I/O): Fix sync prototype to return void.
26867 * manual/startup.texi (Suboptions): Remove an erroneous const in
26868 getsubopt prototype.
26869 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
26870 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
26871 use size_t rather than int.
26872 (Scanning All Users): Likewise for getpwent_r.
26873 (Setting Groups): Add missing const to setgroups prototype.
26874 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
26875 * manual/socket.texi (Host Names): Fix gethostbyaddr and
26876 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
26877 'const void *' rather than 'const char *'.
26878 (Host Address Functions): Likewise for inet_ntop.
26879 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
26880 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
26881 ssize_t for return value.
26882 (Sending Data): Likewise for send, sendto, sendmsg.
26883 (Socket Option Functions): Add a missing const in setsockopt prototype.
26884 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
26885 use wchar_t for the argument.
26886 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
26887 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
26888 take no arguments.
26889 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
26890 double/float/long double for second argument.
26891 Fix return types of significand, significandf, significandl.
26892 * manual/filesys.texi (Setting Permissions): Use mode_t for second
26893 argument in fchmod prototype.
26894 (File Owner): Use uid_t and gid_t in fchown prototype.
26895 (File Times): Add const to utimes, futimes, and lutimes prototypes.
26896 (Making Special Files): Use mode_t and dev_t in mknod prototype.
26897 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
26898 use 'const struct dirent **' as argument types to CMP function pointer
26899 argument.
26900 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
26901 (File Times): Fix summary magic @comment for struct utimbuf and utime
26902 to refer to utime.h, not time.h.
26903 * manual/string.texi (Argz Functions): Add missing const in
26904 argz_extract and argz_next prototypes.
26905 (Finding Tokens in a String): Likewise for basename.
26906 (String/Array Comparison): Fix typo in wcscasecmp prototype.
26907 (Copying and Concatenation): Fix typo in wmemmove prototype.
26908 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
26909 (Signal Stack): Remove erroneous const in sigstack prototype.
26910 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
26911 prototype.
26912 (Simple Calendar Time): Likewise for stime.
26913 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
26914 prototype.
26915 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
26916 say sys/sysctl.h instead.
26917 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
26918 and vsyslog prototypes.
26919
fe77fe6d
TV
269202013-02-11 Tom de Vries <tom@codesourcery.com>
26921
26922 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
26923 Remove.
26924
3a09b620
RM
269252013-02-11 Roland McGrath <roland@hack.frob.com>
26926
26927 * misc/sys/mman.h: Fix typo in mremap comment.
26928
550a0b89
RM
269292013-02-08 Roland McGrath <roland@hack.frob.com>
26930
26931 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
26932 the '\0' terminator.
26933
a2da1673
JM
269342013-02-08 Joseph Myers <joseph@codesourcery.com>
26935
26936 [BZ #13550]
26937 * debug/segfault.c: Don't include <bp-checks.h>.
26938 * sysdeps/generic/bp-checks.h: Remove file.
26939 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
26940 (__GETDENTS): Don't use CHECK_N.
26941 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
26942 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
26943 (__getgroups): Don't use CHECK_N.
26944 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
26945 (setgroups): Don't use CHECK_N.
26946 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
26947 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
26948 (__libc_msgrcv): Don't use CHECK_N.
26949 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
26950 (__libc_msgsnd): Don't use CHECK_N.
26951 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
26952 <bp-checks.h>.
26953 (__libc_pread): Don't use CHECK_N.
26954 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
26955 include <bp-checks.h>.
26956 (__libc_pread64): Don't use CHECK_N.
26957 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
26958 include <bp-checks.h>.
26959 (__libc_pwrite): Don't use CHECK_N.
26960 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
26961 include <bp-checks.h>.
26962 (__libc_pwrite64): Don't use CHECK_N.
26963 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
26964 <bp-checks.h>.
26965 (__libc_pread): Don't use CHECK_N.
26966 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
26967 include <bp-checks.h>.
26968 (__libc_pread64): Don't use CHECK_N.
26969 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
26970 include <bp-checks.h>.
26971 (__libc_pwrite): Don't use CHECK_N.
26972 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
26973 include <bp-checks.h>.
26974 (__libc_pwrite64): Don't use CHECK_N.
26975 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
26976 (do_pread): Don't use CHECK_N.
26977 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
26978 (do_pread64): Don't use CHECK_N.
26979 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
26980 (do_pwrite): Don't use CHECK_N.
26981 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
26982 (do_pwrite64): Don't use CHECK_N.
26983 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
26984 (__libc_readv): Don't use CHECK_N.
26985 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
26986 (semop): Don't use CHECK_N.
26987 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
26988 <bp-checks.h>.
26989 (semtimedop): Don't use CHECK_N.
26990 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
26991 (__libc_pread): Don't use CHECK_N.
26992 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
26993 <bp-checks.h>.
26994 (__libc_pread64): Don't use CHECK_N.
26995 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
26996 <bp-checks.h>.
26997 (__libc_pwrite): Don't use CHECK_N.
26998 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
26999 <bp-checks.h>.
27000 (__libc_pwrite64): Don't use CHECK_N.
27001 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
27002 <bp-checks.h>.
27003 (__libc_msgrcv): Don't use CHECK_N.
27004 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
27005 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
27006 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
27007 (__libc_writev): Don't use CHECK_N.
27008
b84660a8
RM
270092013-02-08 Roland McGrath <roland@hack.frob.com>
27010
7f3e75f8
RM
27011 * string/strcpy.c: Removed unused variable.
27012
b84660a8
RM
27013 * Makeconfig (+sysdep-includes): Define with := rather than =.
27014 Use an existing include/ subdir of each sysdeps dir before it.
27015
471514d3
CD
270162013-02-08 Carlos O'Donell <carlos@redhat.com>
27017
27018 * nscd/connection.c (register_traced_file): Comment function.
27019 [HAVE_INOTIFY] (union __inev): Define.
27020 [HAVE_INOTIFY] (inotify_check_files): New function.
27021 [HAVE_INOTIFY] (clear_db_cache): Likewise.
27022 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
27023 clear_db_cache.
27024 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
27025
b2d3c3be
CD
270262013-02-08 Carlos O'Donell <carlos@redhat.com>
27027
27028 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
27029 loaded if not already and that a failure is permanent.
27030
b39949d2
CD
270312013-02-08 Carlos O'Donell <carlos@redhat.com>
27032
ddacd1db 27033 [BZ #15006]
b39949d2
CD
27034 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
27035 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
27036
b2c9eff4
JM
270372013-02-08 Joseph Myers <joseph@codesourcery.com>
27038
f3aae3f3
JM
27039 [BZ #13550]
27040 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
27041 (CHECK_1_NULL_OK): Likewise.
27042 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
27043 (__fxstat): Do not use CHECK_1.
27044 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
27045 <bp-checks.h>.
27046 (___fxstat64): Do not use CHECK_1.
27047 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
27048 <bp-checks.h>.
27049 (__fxstatat): Do not use CHECK_1.
27050 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
27051 <bp-checks.h>.
27052 (__fxstatat64): Do not use CHECK_1.
27053 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
27054 <bp-checks.h>.
27055 (__fxstat): Do not use CHECK_1.
27056 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
27057 <bp-checks.h>.
27058 (__fxstatat): Do not use CHECK_1.
27059 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
27060 <bp-checks.h>.
27061 (__getresgid): Do not use CHECK_1.
27062 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
27063 <bp-checks.h>.
27064 (__getresuid): Do not use CHECK_1.
27065 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
27066 <bp-checks.h>.
27067 (__lxstat): Do not use CHECK_1.
27068 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
27069 <bp-checks.h>.
27070 (__old_msgctl): Do not use CHECK_1.
27071 (__new_msgctl): Likewise.
27072 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
27073 <bp-checks.h>.
27074 (__new_setrlimit): Do not use CHECK_1.
27075 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
27076 <bp-checks.h>.
27077 (__old_shmctl): Do not use CHECK_1.
27078 (__new_shmctl): Likewise.
27079 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
27080 <bp-checks.h>.
27081 (__xstat): Do not use CHECK_1.
27082 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
27083 (__lxstat): Do not use CHECK_1.
27084 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
27085 <bp-checks.h>.
27086 (___lxstat64): Do not use CHECK_1.
27087 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
27088 (__old_msgctl): Do not use CHECK_1.
27089 (__new_msgctl): Likewise.
27090 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
27091 <bp-checks.h>.
27092 (__gettimeofday): Do not use CHECK_1.
27093 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
27094 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
27095 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
27096 <bp-checks.h>.
27097 (__gettimeofday): Do not use CHECK_1.
27098 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
27099 (__old_shmctl): Do not use CHECK_1_NULL_OK.
27100 (__new_shmctl): Do not use CHECK_1.
27101 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
27102 <bp-checks.h>.
27103 (do_sigtimedwait): Do not use CHECK_1.
27104 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
27105 <bp-checks.h>.
27106 (do_sigwaitinfo): Do not use CHECK_1.
27107 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
27108 <bp-checks.h>.
27109 (msgctl): Do not use CHECK_1.
27110 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
27111 <bp-checks.h>.
27112 (shmctl): Do not use CHECK_1.
27113 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
27114 (ustat): Do not use CHECK_1.
27115 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
27116 <bp-checks.h>.
27117 (__fxstat): Do not use CHECK_1.
27118 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
27119 <bp-checks.h>.
27120 (__fxstatat): Do not use CHECK_1.
27121 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
27122 <bp-checks.h>.
27123 (__lxstat): Do not use CHECK_1.
27124 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
27125 <bp-checks.h>.
27126 (__xstat): Do not use CHECK_1.
27127 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
27128 (__xstat): Do not use CHECK_1.
27129 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
27130 (___xstat64): Do not use CHECK_1.
27131
b2c9eff4
JM
27132 [BZ #13550]
27133 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
27134 definitions.
27135 (CHECK_BOUNDS_HIGH): Likewise.
27136 * string/strcpy.c: Do not include <bp-checks.h>.
27137 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
27138
f1d70dad
RM
271392013-02-07 Roland McGrath <roland@hack.frob.com>
27140
27141 * nscd/nscd-client.h (__nscd_drop_map_ref):
27142 Add __attribute__ ((unused)).
27143 * nis/nss-nisplus.h (niserr2nss): Likewise.
27144
27145 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
27146 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
27147
27148 * csu/libc-tls.c (init_static_tls, init_slotinfo):
27149 Remove inline keyword.
27150 * include/rounding-mode.h (round_away): Likewise.
27151 * libio/wfileops.c (adjust_wide_data): Likewise.
27152 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
27153 (__m128i_strloadu_tolower): Likewise.
27154 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
27155 (__m128i_strloadu_tolower): Likewise.
27156 * time/mktime.c (ydhms_diff): Likewise.
27157 * locale/elem-hash.h (elem_hash): Likewise.
27158 * locale/setlocale.c (setdata): Likewise.
27159 * posix/regex_internal.h (re_string_char_size_at): Likewise.
27160 (re_string_wchar_at): Likewise.
27161 (bitset_not, bitset_merge, bitset_mask): Likewise.
27162 [!(__GNUC__ > 3)] (inline): Remove macro.
27163 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
27164 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
27165 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
27166 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
27167 * string/memcmp.c (memcmp_bytes): Likewise.
27168 * locale/programs/locarchive.c (compute_hashval): Likewise.
27169 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
27170 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
27171 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
27172 * nss/getent.c (print_rpc, print_protocols): Likewise.
27173 (print_passwd, print_group, print_aliases): Likewise.
27174 * nis/nss-nisplus.h (niserr2nss): Likewise.
27175 * nscd/connections.c (restart_p): Likewise.
27176 Change return type to bool.
27177
eab55bfb
RM
271782013-02-05 Roland McGrath <roland@hack.frob.com>
27179
7bd642f5
RM
27180 * Makeconfig (all-Depend-files): Add existing
27181 $(sorted-subdirs:=/Depend) files.
27182 (all-subdirs): Remove nss.
27183 * sysdeps/unix/inet/Subdirs: Add it here instead.
27184 * hesiod/Depend: New file.
27185
573c29b2
RM
27186 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
27187 instead of calling alloca.
27188
b2e25af0
RM
27189 * io/lseek.c (__lseek): Rename to __libc_lseek.
27190 Define __lseek as an alias.
27191
eab55bfb
RM
27192 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
27193
9a0d1941
CD
271942013-02-04 Carlos O'Donell <carlos@redhat.com>
27195
27196 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
27197 else clause and remove check for non-standard endianness.
27198
b83bbec4
DM
271992013-02-04 David S. Miller <davem@davemloft.net>
27200
27201 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27202
6277fdab
JM
272032013-02-04 Joseph Myers <joseph@codesourcery.com>
27204
27205 [BZ #13550]
27206 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
27207 (__ubp_memchr): Remove prototype.
27208 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
27209 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
27210 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
27211 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
27212 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
27213 Remove alias.
27214 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
27215 (__ubp_memchr): Likewise.
27216 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
27217 (__ubp_memchr): Likewise.
27218 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
27219 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
27220 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
27221 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
27222 CHECK_STRING.
27223 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
27224 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
27225 (__getcwd): Do not use CHECK_STRING.
27226 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
27227 <bp-checks.h>.
27228 (__real_chown): Do not use CHECK_STRING.
27229 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
27230 <bp-checks.h>.
27231 (fchownat): Do not use CHECK_STRING.
27232 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
27233 CHECK_STRING.
27234 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
27235 <bp-checks.h>.
27236 (__lchown): Do not use CHECK_STRING.
27237 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
27238 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
27239 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
27240 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
27241 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
27242 include <bp-checks.h>.
27243 (truncate64): Do not use CHECK_STRING.
27244 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
27245 <bp-checks.h>.
27246 (__real_chown): Do not use CHECK_STRING.
27247 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
27248 <bp-checks.h>.
27249 (__lchown): Do not use CHECK_STRING.
27250 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
27251 <bp-checks.h>.
27252 (__chown): Do not use CHECK_STRING.
27253 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
27254 <bp-checks.h>.
27255 (truncate64): Do not use CHECK_STRING.
27256 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
27257 Likewise.
27258 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
27259 (__xmknod): Do not use CHECK_STRING.
27260 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
27261 <bp-checks.h>.
27262 (__xmknodat): Do not use CHECK_STRING.
27263 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
27264 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
27265
903ae060
AS
272662013-02-04 Andreas Schwab <schwab@suse.de>
27267
27268 [BZ #14142]
27269 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
27270 * include/netdb.h: Likewise for h_errno.
27271 * elf/tst-stackguard1.c: Include <tls.h>.
27272
542f9466
JK
272732013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
27274
27275 * elf/link.h (struct link_map): Extend the l_addr comment.
27276 * include/link.h (struct link_map): Likewise.
27277
e782a927
JM
272782013-02-01 Joseph Myers <joseph@codesourcery.com>
27279
27280 [BZ #13550]
27281 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
27282 (BOUNDED_1): Remove macro.
27283 * debug/backtrace.c: Don't include <bp-checks.h>.
27284 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
27285 (__backtrace): Likewise.
27286 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
27287 <bp-checks.h>.
27288 (__backtrace): Don't use BOUNDED_1.
27289 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
27290 <bp-checks.h>.
27291 (__backtrace): Don't use BOUNDED_1.
27292 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
27293 (__backtrace): Don't use BOUNDED_1.
27294 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
27295 (shmat): Don't use BOUNDED_N.
27296
8cf28c5e
JM
272972013-01-31 Joseph Myers <joseph@codesourcery.com>
27298
3a7ac8a0
JM
27299 [BZ #13550]
27300 * sysdeps/generic/bp-start.h: Remove file.
27301 * csu/libc-start.c: Don't include <bp-start.h>.
27302 (LIBC_START_MAIN): Set up __environ directly instead of using
27303 INIT_ARGV_and_ENVIRON.
27304 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
27305 <bp-start.h>.
27306
f3499f95
JM
27307 [BZ #13550]
27308 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
27309 definitions.
27310 (CHECK_FCNTL): Likewise.
27311 (CHECK_N_PAGES): Likewise.
27312
32a45bea
JM
27313 [BZ #13550]
27314 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
27315 definitions.
27316 (CHECK_SIGSET_NULL_OK): Likewise.
27317 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
27318 <bp-checks.h>.
27319 (sigpending): Don't use CHECK_SIGSET.
27320 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
27321 <bp-checks.h>.
27322 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
27323 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
27324 <bp-checks.h>.
27325 (do_sigsuspend): Don't use CHECK_SIGSET.
27326 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
27327 use CHECK_SIGSET.
27328 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
27329 (do_sigwait): Don't use CHECK_SIGSET.
27330 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
27331 use CHECK_SIGSET.
27332 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
27333 include <bp-checks.h>.
27334 (sigpending): Don't use CHECK_SIGSET.
27335 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
27336 include <bp-checks.h>.
27337 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
27338 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
27339 <bp-checks.h>.
27340 (sigpending): Don't use CHECK_SIGSET.
27341 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
27342 <bp-checks.h>.
27343 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
27344
2e8a5c8c
JM
27345 [BZ #13550]
27346 * sysdeps/generic/bp-semctl.h: Remove file.
27347 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
27348 <bp-checks.h> and <bp-semctl.h>.
27349 (__old_semctl): Don't use CHECK_SEMCTL.
27350 (__new_semctl): Likewise.
27351 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
27352 and <bp-semctl.h>.
27353 (__old_semctl): Don't use CHECK_SEMCTL.
27354 (__new_semctl): Likewise.
27355 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
27356 <bp-checks.h> and <bp-semctl.h>.
27357 (__old_semctl): Don't use CHECK_SEMCTL.
27358 (__new_semctl): Likewise.
27359 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
27360 <bp-checks.h> and <bp-semctl.h>.
27361 (semctl): Don't use CHECK_SEMCTL.
27362
c2d54929
JM
27363 [BZ #13550]
27364 * Makerules (elide-bp-thunks): Remove variable.
27365 (elide-routines.oS): Don't use $(elide-bp-thunks).
27366 (elide-routines.os): Likewise.
27367 (elide-routines.o): Likewise.
27368 (elide-routines.op): Likewise.
27369 (elide-routines.og): Likewise.
27370 (objects): Don't use $(bp-thunks).
27371 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
27372 include.
27373 (common-generated): Do not add s-proto-bp.d.
27374 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
27375 (int): Likewise.
27376 (typ): Likewise.
27377 Do not generate makefile rules for bounded-pointer thunks.
27378 * sysdeps/generic/bp-thunks.h: Remove file.
27379 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
27380 * sysdeps/unix/s-proto-bp.S: Likewise.
27381
8cf28c5e
JM
27382 [BZ #15062]
27383 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
27384 parts of result separately when argument is not close to line from
27385 -i to i and one part of argument is small.
27386 * math/k_casinhf.c (__kernel_casinhf): Likewise.
27387 * math/k_casinhl.c (__kernel_casinhl): Likewise.
27388 * math/libm-test.inc (cacos_test): Add more tests.
27389 (casin_test): Likewise.
27390 (casinh_test): Likewise.
27391 * sysdeps/i386/fpu/libm-test-ulps: Update.
27392 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27393
c4e33b8d
DM
273942013-01-31 David S. Miller <davem@davemloft.net>
27395
27396 * po/de.po: Update from translation team.
27397
3b60b421
MK
273982013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
27399
27400 * time/tzfile.c: Include stdint.h for SIZE_MAX.
27401
bb931195
TS
274022013-01-25 Thomas Schwinge <thomas@codesourcery.com>
27403
b5a5da23
TS
27404 * configure.in (_AC_PROG_CC_C89): New definition.
27405 * configure: Regenerate.
27406
bb931195
TS
27407 * configure.in (AC_PROG_CPP): New definition.
27408 * configure: Regenerate.
27409
8c53a12c
JM
274102013-01-23 Joseph Myers <joseph@codesourcery.com>
27411
27412 * debug/tst-backtrace.h: New file.
27413 * debug/tst-backtrace2.c: Include tst-backtrace.h.
27414 (ret): Remove variable.
27415 (x): Likewise.
27416 (FAIL): Remove macro.
27417 (NO_INLINE): Likewise.
27418 (fn1): Use match function instead of strstr.
27419 * debug/tst-backtrace3.c: Include tst-backtrace.h.
27420 (ret): Remove variable.
27421 (x): Likewise.
27422 (FAIL): Remove macro.
27423 (NO_INLINE): Likewise.
27424 (fn): Use match function instead of strstr.
27425 * debug/tst-backtrace4.c: Include tst-backtrace.h.
27426 (ret): Remove variable.
27427 (x): Likewise.
27428 (FAIL): Remove macro.
27429 (NO_INLINE): Likewise.
27430 (handle_signal): Use match function instead of strstr.
27431 * debug/tst-backtrace5.c: Include tst-backtrace.h.
27432 (ret): Remove variable.
27433 (x): Likewise.
27434 (FAIL): Remove macro.
27435 (NO_INLINE): Likewise.
27436 (handle_signal): Use match function instead of strstr.
27437
4858fa2a
RM
274382013-01-23 Roland McGrath <roland@hack.frob.com>
27439
27440 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
27441
bae8e7f5
DM
274422013-01-23 David S. Miller <davem@davemloft.net>
27443
27444 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
27445 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
27446 argument of CAS if possible.
27447 * sysdeps/sparc/sparc64/bits/atomic.h
27448 (__arch_compare_and_exchange_val_32_acq): Likewise.
27449 (__arch_compare_and_exchange_val_64_acq): Likewise.
27450
9cbbc4ae
PT
274512013-01-23 Pino Toscano <toscano.pino@tiscali.it>
27452
27453 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
27454 * sysdeps/posix/ulimit.c: ... this.
92a601b8 27455 Include <limits.h>.
67b3f58c 27456 * sysdeps/unix/bsd/ulimit.c: Remove file.
9cbbc4ae 27457
5655a0b5
AC
274582013-01-23 Adam Conrad <adconrad@0c3.net>
27459
27460 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
27461 (LDFLAGS-tst-array5): Likewise.
27462
052aff95
JM
274632013-01-23 Joseph Myers <joseph@codesourcery.com>
27464
27465 [BZ #15036]
27466 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
27467 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
27468 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
27469 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
27470
7c1e01aa
DM
274712013-01-21 David S. Miller <davem@davemloft.net>
27472
27473 * sysdeps/sparc/backtrace.c: New file.
27474 * sysdeps/sparc/sparc32/backtrace.h: New file.
27475 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
27476 * sysdeps/sparc/sparc64/backtrace.h: New file.
27477 * sysdeps/sparc/sparc64/backtrace.c: Delete.
27478 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
27479 -funwind-tables.
27480
ab087e0a
AS
274812013-01-21 Andreas Schwab <schwab@suse.de>
27482
27483 [BZ #15020]
27484 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
27485 closed its stdout.
27486
ed689c2f
AS
274872013-01-20 Andreas Schwab <schwab@linux-m68k.org>
27488
27489 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
27490 "mpa2.h".
27491 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
27492
31d470ac
JM
274932013-01-18 Joseph Myers <joseph@codesourcery.com>
27494 Mark Mitchell <mark@codesourcery.com>
27495 Tom de Vries <tom@codesourcery.com>
27496 Paul Pluzhnikov <ppluzhnikov@google.com>
27497
27498 * debug/tst-backtrace2.c: New file.
27499 * debug/tst-backtrace3.c: Likewise.
27500 * debug/tst-backtrace4.c: Likewise.
27501 * debug/tst-backtrace5.c: Likewise.
27502 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
27503 (CFLAGS-tst-backtrace3.c): Likewise.
27504 (CFLAGS-tst-backtrace4.c): Likewise.
27505 (CFLAGS-tst-backtrace5.c): Likewise.
27506 (LDFLAGS-tst-backtrace2): Likewise.
27507 (LDFLAGS-tst-backtrace3): Likewise.
27508 (LDFLAGS-tst-backtrace4): Likewise.
27509 (LDFLAGS-tst-backtrace5): Likewise.
27510 (tests): Add new tests tst-backtrace2, tst-backtrace3,
27511 tst-backtrace4 and tst-backtrace5.
27512
90567f30 275132013-01-18 Anton Blanchard <anton@samba.org>
471a1672
AB
27514 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
27515
27516 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
27517 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
27518 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
27519 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
27520 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
27521 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
27522 "+r" and remove output regs list as redundant. Add explicit inline
27523 asm to specify register of return val to work around compiler codegen
27524 bug. Remove (int) cast on return value. Add return type parameter to
27525 use in macro so that this macro does not truncate return value for
27526 64-bit values.
27527 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
27528 pass to INTERNAL_VSYSCALL_NCS.
27529 (INLINE_VSYSCALL): Add 'long int' as return type to
27530 INTERNAL_VSYSCALL_NCS macro invocation.
27531 (INTERNAL_VSYSCALL): Add 'long int' as return type to
27532 INTERNAL_VSYSCALL_NCS macro invocation.
27533 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
27534
d3b9ea61
SP
275352013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
27536
0b57daeb
SP
27537 [BZ #14496]
27538 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
27539 Fix application of SIMD FP exception mask.
27540
caa99d06
SP
27541 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
27542 mp_no from a power of two.
27543 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
27544 __mpexp_twomm1. Use __pow_mp.
27545
d3b9ea61
SP
27546 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
27547 multiplication.
27548
1dbaee3c
DM
275492013-01-17 David S. Miller <davem@davemloft.net>
27550
27551 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27552
728d7b43
JM
275532013-01-17 Joseph Myers <joseph@codesourcery.com>
27554
27555 [BZ #15023]
27556 * include/complex.h: Condition contents on [!_COMPLEX_H].
27557 (__kernel_casinhf): New prototype.
27558 (__kernel_casinh): Likewise.
27559 (__kernel_casinhl): Likewise.
27560 * math/Makefile (libm_calls): Add k_casinh.
27561 * math/k_casinh.c: New file.
27562 * math/k_casinhf.c: Likewise.
27563 * math/k_casinhl.c: Likewise.
27564 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
27565 finite nonzero arguments.
27566 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
27567 finite nonzero arguments.
27568 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
27569 finite nonzero arguments.
27570 * math/s_casinh.c: Do not include <float.h>.
27571 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
27572 * math/s_casinhf.c: Do not include <float.h>.
27573 (__casinhf): Move code for finite nonzero arguments to
27574 k_casinhf.c.
27575 * math/s_casinhl.c: Do not include <float.h>.
27576 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
27577 redefine.
27578 (__casinhl): Move code for finite nonzero arguments to
27579 k_casinhl.c.
27580 * math/libm-test.inc (cacos_test): Add more tests.
27581 * sysdeps/i386/fpu/libm-test-ulps: Update.
27582 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27583
2a26ef3a
PT
275842013-01-17 Pino Toscano <toscano.pino@tiscali.it>
27585
27586 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
27587 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
27588 [!HAVE_MREMAP]: Remove [defined linux] case.
27589 * malloc/arena.c: Do not include <malloc-sysdep.h>.
27590
a897655d
SP
275912013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
27592
27593 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
27594
881ebe89 275952013-01-17 H.J. Lu <hongjiu.lu@intel.com>
22676eaf
L
27596
27597 * elf/elf.h (R_386_SIZE32): New relocation.
27598 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
27599 R_386_SIZE32.
27600 (elf_machine_rela): Likewise.
27601 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
27602 R_X86_64_SIZE64 and R_X86_64_SIZE32.
27603
59981e9b
JM
276042013-01-17 Joseph Myers <joseph@codesourcery.com>
27605
27606 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
27607 (FP_FAST_FMA): Do not define.
27608 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
27609 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
27610 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
27611 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
27612 !_SOFT_FLOAT]: Likewise.
27613 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
27614 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
27615 value.
27616 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
27617 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
27618 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
27619 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
27620 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
27621 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
27622 file.
27623
cfa8054f
AS
276242013-01-16 Andreas Schwab <schwab@suse.de>
27625
27626 [BZ #14327]
27627 * include/stdlib.h (__mktemp): Add declaration.
27628 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
27629 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
27630
dd930cc5
SP
276312013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
27632
881ebe89
SP
27633 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
27634 definitions.
27635 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
27636 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
27637 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
27638 definitions here.
27639 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
27640 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
27641 definitions.
27642 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
27643 and ONE.
27644 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
27645 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
27646 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
27647 definitions.
27648 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
27649 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
27650 definitions.
27651 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
f93a8d15 27652
dd930cc5
SP
27653 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
27654
c19a9f89
DM
276552013-01-15 David S. Miller <davem@davemloft.net>
27656
1aa61767
DM
27657 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
27658 trunc{,f} to libm-sysdep_routes.
27659 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
27660 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
27661 file.
27662 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
27663 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
27664 file.
27665 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
27666 file.
27667 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
27668 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
27669 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
27670 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
27671 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
27672 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
27673 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
27674 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
27675
c42d5e98
DM
27676 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
27677 nearbyint{,f} to libm-sysdep_routes.
27678 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
27679 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
27680 New file.
27681 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
27682 file.
27683 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
27684 New file.
27685 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
27686 file.
27687 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
27688 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
27689 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
27690 file.
27691 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
27692 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
27693 file.
27694 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
27695 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
27696 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
27697
c19a9f89
DM
27698 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
27699 libc_feholdexcept and libc_fesetenv.
27700
357679d2
MF
277012013-01-15 Mike Frysinger <vapier@gentoo.org>
27702
27703 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
27704
65a82e3d
DM
277052013-01-14 David S. Miller <davem@davemloft.net>
27706
8b954ab9
DM
27707 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
27708 (SPARC_ASM_VIS2_IFUNC): Likewise.
27709 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
27710 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
27711 use of 'siam' instruction.
27712 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
27713 Likewise.
27714 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
27715 Likewise.
27716 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
27717 Likewise.
27718 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
27719 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
27720 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
27721 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
27722 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
27723 file.
27724 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
27725 file.
27726 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
27727 file.
27728 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
27729 file.
27730 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
27731 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
27732 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
27733 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
27734 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
27735 new VIS2 routines.
27736 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
27737 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
27738 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
27739 Likewise.
27740 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
27741 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
27742 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
27743 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
27744 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
27745 routines to libm-sysdep_routines.
27746 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
27747
65a82e3d
DM
27748 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
27749 fdim/fdimf to libm-sysdep_routines.
27750 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
27751 file.
27752 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
27753 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
27754 file.
27755 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
27756 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
27757 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
27758 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
27759 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
27760 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
27761 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
27762
e34ab705
SP
277632013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
27764
2a91b573
SP
27765 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
27766 to optimize copies.
27767
1066a534
SP
27768 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
27769 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
27770 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
27771
e34ab705
SP
27772 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
27773 local variable MPTWO.
27774 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
27775 Likewise.
27776
aba5e596
MF
277772013-01-13 Mike Frysinger <vapier@gentoo.org>
27778
27779 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
27780 GLOB_NOESCAPE.
27781
e557e9e5
MF
277822013-01-13 Mike Frysinger <vapier@gentoo.org>
27783
27784 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
27785
0428cec9
MF
277862013-01-13 Mike Frysinger <vapier@gentoo.org>
27787
27788 * manual/pattern.texi (glob_t): Document gl_flags.
27789 (glob64_t): Likewise.
27790
8794a964
DM
277912013-01-11 David S. Miller <davem@davemloft.net>
27792
66438c3f
RM
27793 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
27794 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
27795 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
32fcb36d
DM
27796 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
27797 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
27798 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
27799 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
27800 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
27801 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
27802 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
27803 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
27804 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
27805 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
27806
4ae4244d
DM
27807 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
27808 sparc V9 rather than using V8 code.
27809 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
27810 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
27811
8794a964
DM
27812 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
27813 Move to...
27814 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
27815 Here.
27816
6270516e
RM
278172013-01-11 Roland McGrath <roland@hack.frob.com>
27818
27819 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
27820 not in the main loop.
27821 * configure: Regenerated.
27822
6a57d931
JM
278232013-01-11 Joseph Myers <joseph@codesourcery.com>
27824
27825 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
27826 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
27827 to just #else.
27828 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
27829 [!__GLIBC_HAVE_LONG_LONG] case.
27830 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
27831 condition to just #else.
27832 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
27833 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
27834 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
27835 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
27836 unconditional.
27837 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
27838 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
27839 #elif condition to just #else.
27840 * sysdeps/unix/sysv/linux/sys/sysmacros.h
27841 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
27842 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
27843 #elif condition to just #else.
27844
0e8529e9
SE
278452013-01-11 Steve Ellcey <sellcey@mips.com>
27846
27847 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
27848 (EF_MIPS_ARCH_64): Fix value.
27849 (EF_MIPS_ARCH_32R2): New.
27850 (EF_MIPS_ARCH_64R2): New.
27851
740b3dbe
L
278522013-01-11 H.J. Lu <hongjiu.lu@intel.com>
27853
27854 * Makeconfig (+link-pie-before-libc): New.
27855 (+link-pie-after-libc): Likewise.
27856 (+link-pie-tests): Likewise.
27857 (+link-pie): Rewritten.
27858 (link-before-libc): Remove $(config-LDFLAGS).
27859 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
27860 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
27861 (config-LDFLAGS): Renamed to ...
27862 (rtld-LDFLAGS): This.
27863 (rtld-tests-LDFLAGS): New macro.
27864 (link-libc-rpath-link): Likewise.
27865 (link-libc-tests-rpath-link): Likewise.
27866 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
27867 (link-libc): Prepand $(link-libc-rpath-link).
27868 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
27869 (test-program-prefix): New macro.
27870 (test-via-rtld-prefix): Likewise.
27871 (test-program-cmd): Likewise.
27872 (host-test-program-cmd): Likewise.
27873 * Makefile ($(common-objpfx)testrun.sh): Replace
27874 $(run-program-prefix) with $(test-program-prefix).
27875 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
27876 $(rtld-LDFLAGS).
27877 ($(common-objpfx)shlib.lds): Likewise.
27878 (build-module-helper): Likewise.
27879 ($(common-objpfx)format.lds): Likewise.
27880 * Rules (binaries-pie-tests): New.
27881 (binaries-pie-notests): Likewise.
27882 (binaries-pie): Rewritten.
27883 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
27884 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
27885 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
27886 (make-test-out): Replace $(host-built-program-cmd) with
27887 $(host-test-program-cmd).
27888 * config.make.in (build-hardcoded-path-in-tests): New variable.
27889 * configure.in (--enable-hardcoded-path-in-tests): New configure
27890 option.
27891 (hardcoded_path_in_tests): New AC_SUBST.
27892 * configure: Regenerated.
27893 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
27894 $(built-program-cmd) with $(test-program-cmd).
27895 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
27896 (test_program_cmd): This.
27897 * elf/Makefile ($(objpfx)order.out): Run test with
27898 $(test-program-prefix).
27899 ($(objpfx)order2.out): Likewise.
27900 ($(objpfx)tst-initorder.out): Likewise.
27901 ($(objpfx)tst-initorder2.out): Likewise.
27902 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
27903 $(test-program-cmd).
27904 ($(objpfx)tst-array1-static.out): Likewise.
27905 ($(objpfx)tst-array2.out): Likewise.
27906 ($(objpfx)tst-array3.out): Likewise.
27907 ($(objpfx)tst-array4.out): Likewise.
27908 ($(objpfx)tst-array5.out): Likewise.
27909 ($(objpfx)tst-array5-static.out): Likewise.
27910 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
27911 $(test-program-cmd).
27912 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
27913 $(run-program-prefix) with $(test-program-prefix).
27914 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
27915 (test_program_prefix): This.
27916 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
27917 $(run-program-prefix) with $(test-program-prefix).
27918 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
27919 (test_program_prefix): This.
27920 * iconvdata/tst-tables.sh: Likewise.
27921 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
27922 $(run-program-prefix) with $(test-program-prefix).
27923 ($(objpfx)tst-translit.out): Likewise.
27924 ($(objpfx)tst-gettext2.out): Likewise.
27925 ($(objpfx)tst-gettext4.out): Likewise.
27926 ($(objpfx)tst-gettext6.out): Likewise.
27927 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
27928 (test_program_prefix): This.
27929 * intl/tst-gettext2.sh: Likewise.
27930 * intl/tst-gettext4.sh Likewise.
27931 * intl/tst-gettext6.sh: Likewise.
27932 * intl/tst-translit.sh: Likewise.
27933 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
27934 with $(test-program-cmd).
27935 * libio/Makefile ($(objpfx)test-freopen.out): Replace
27936 $(run-program-prefix) with $(test-program-prefix).
27937 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
27938 (test_program_prefix): This.
27939 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
27940 $(run-program-prefix) with $(test-program-prefix).
27941 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
27942 (test_program_prefix): This.
27943 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
27944 * posix/Makefile ($(objpfx)globtest.out): Replace
27945 $(run-via-rtld-prefix) and $(test-wrapper) with
27946 $(test-program-prefix) and $(test-via-rtld-prefix).
27947 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
27948 $(test-program-prefix).
27949 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
27950 $(host-test-program-cmd).
27951 (tst-spawn-ARGS): Likewise.
27952 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
27953 $(test-program-prefix).
27954 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
27955 (test_via_rtld_prefix): This.
27956 (test_wrapper): Renamed to ...
27957 (test_program_prefix): This.
27958 (run_program_prefix): Replaced by test_program_prefix.
27959 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
27960 (test_program_prefix): This.
27961 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
27962 with $(host-test-program-cmd).
27963 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
27964 $(run-program-prefix) with $(test-program-prefix).
27965 ($(objpfx)tst-printf.out): Likewise.
27966 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
27967 $(test-program-cmd).
27968 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
27969 (test_program_prefix): This.
27970 * stdio-common/tst-unbputc.sh: Likewise.
27971 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
27972 $(run-program-prefix) with $(test-program-prefix).
27973 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
27974 (test_program_prefix): This.
27975 * string/Makefile ($(objpfx)tst-svc.out): Replace
27976 $(built-program-cmd) with $(test-program-cmd).
27977
c6fe55cf
AJ
279782013-01-11 Andreas Jaeger <aj@suse.de>
27979
27980 [BZ #15003]
27981 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
27982 value. Sync with Linux 3.7.
27983
9e6919c8
DM
279842013-01-10 David S. Miller <davem@davemloft.net>
27985
27986 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
27987 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
27988 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
27989
1c9f1a02
RM
279902013-01-10 Roland McGrath <roland@hack.frob.com>
27991
27992 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
27993 never set.
27994 * configure: Regenerated.
27995
b9de2dde
DM
279962013-01-10 David S. Miller <davem@davemloft.net>
27997
27998 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
27999 sparc V9 rather than using V8 code.
28000 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
28001 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
28002
e7f68ef4
RM
280032013-01-10 Roland McGrath <roland@hack.frob.com>
28004
28005 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
28006 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
28007 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
28008 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
28009 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
28010 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
28011 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
28012 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
28013 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
28014 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
28015 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
28016 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
28017 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
28018 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
28019 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
28020 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
28021 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
28022 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
28023 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
28024 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
28025 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
28026 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
28027 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
28028 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
28029 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
28030 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
28031 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
28032
5a47cc9c
DM
280332013-01-10 David S. Miller <davem@davemloft.net>
28034
28035 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28036
4cf8f209
L
280372013-01-10 H.J. Lu <hongjiu.lu@intel.com>
28038
28039 * posix/Makefile (tests-static): New variable.
28040 (tests): Add $(tests-static).
28041 (tst-exec-static-ARGS): New variable.
28042 (tst-spawn-static-ARGS): Likewise.
28043 * posix/tst-exec-static.c: New file.
28044 * posix/tst-spawn-static.c: Likewise.
28045 * posix/tst-exec.c: Support run directly.
28046 * posix/tst-spawn.c: Likewise.
28047
fed0faa1
JM
280482013-01-10 Joseph Myers <joseph@codesourcery.com>
28049
828beb13
JM
28050 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
28051 long.
28052 * math/bits/mathcalls.h (llrint): Likewise.
28053 (llround): Likewise.
28054 * stdlib/stdlib.h (struct drand48_data): Likewise.
28055 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
28056 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
28057 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
28058 Likewise.
28059 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
28060 Likewise.
28061 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
28062 (elf_greg_t): Likewise.
28063 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
28064 (__jmp_buf): Likewise.
28065 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
28066 definitions.
28067 (llrint): Likewise, for all definitions.
28068 (llrintl): Likewise.
28069
fed0faa1
JM
28070 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
28071 Remove [__GNUC__] condition.
28072 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
28073 condition to just [__USE_ISOC99].
28074 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
28075
1a20cb20
L
280762013-01-10 H.J. Lu <hongjiu.lu@intel.com>
28077
28078 [BZ #14200]
28079 * sysdeps/unix/sysv/linux/x86/bits/environments.h
28080 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
28081 defined.
28082 (_POSIX_V6_ILP32_OFF32): Likewise.
28083 (_XBS5_ILP32_OFF32): Likewise.
28084 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
28085 (__ILP32_OFFBIG_LDFLAGS): Likewise.
28086
751b85f7
SP
280872013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
28088
7490eb81
SP
28089 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
28090
751b85f7
SP
28091 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
28092 doubles __mpexp_twomm1. Adjust usage.
28093 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
28094 Remove.
28095
988197f0
AS
280962013-01-10 Andreas Schwab <schwab@suse.de>
28097
28098 [BZ #14964]
28099 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
28100 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
28101
e83d7298
DM
281022013-01-09 David S. Miller <davem@davemloft.net>
28103
034ed64b 28104 [BZ #15003]
57f41c40
AS
28105 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
28106 (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
28107 (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
28108 (TCP_FASTOPEN): Define.
e83d7298
DM
28109 (tcp_repair_opt): New structure.
28110 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
28111 enum values.
57f41c40
AS
28112 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
28113 (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
28114 (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
e83d7298
DM
28115 (tcp_cookie_transactions): New structure.
28116
d5e0b9bd
AB
281172013-01-09 Anton Blanchard <anton@samba.org>
28118
28119 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
28120 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
28121 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
28122 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
28123
0c07e3ea
JM
281242013-01-09 Joseph Myers <joseph@codesourcery.com>
28125
28126 * include/features.h (__USE_ANSI): Remove.
28127
232f7002
RM
281282013-01-09 Roland McGrath <roland@hack.frob.com>
28129
ad98e30c
RM
28130 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
28131
232f7002
RM
28132 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
28133
950c99ca
SP
281342013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
28135
b5792741
SP
28136 * sysdeps/s390/fpu/libm-test-ulps: Update.
28137
47cf2278
SP
28138 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28139
950c99ca
SP
28140 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
28141 (__acr): Likewise.
28142 (__cpy): Likewise.
28143 (norm): Likewise.
28144 (denorm): Likewise.
28145 (__mp_dbl): Likewise.
28146 (__dbl_mp): Likewise.
28147 (add_magnitudes): Likewise.
28148 (sub_magnitudes): Likewise.
28149 (__add): Likewise.
28150 (__sub): Likewise.
28151 (__mul): Likewise.
28152 (__inv): Likewise.
28153 (__dvd): Likewise.
28154 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
28155 (__acr): Likewise.
28156 (__cpy): Likewise.
28157 (norm): Likewise.
28158 (denorm): Likewise.
28159 (__mp_dbl): Likewise.
28160 (__dbl_mp): Likewise.
28161 (add_magnitudes): Likewise.
28162 (sub_magnitudes): Likewise.
28163 (__add): Likewise.
28164 (__sub): Likewise.
28165 (__mul): Likewise.
28166 (__inv): Likewise.
28167 (__dvd): Likewise.
28168 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
28169 (__acr): Likewise.
28170 (__cpy): Likewise.
28171 (norm): Likewise.
28172 (denorm): Likewise.
28173 (__mp_dbl): Likewise.
28174 (__dbl_mp): Likewise.
28175 (add_magnitudes): Likewise.
28176 (sub_magnitudes): Likewise.
28177 (__add): Likewise.
28178 (__sub): Likewise.
28179 (__mul): Likewise.
28180 (__inv): Likewise.
28181 (__dvd): Likewise.
28182
eede9df9
JM
281832013-01-08 Joseph Myers <joseph@codesourcery.com>
28184
28185 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
28186 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
28187 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
28188 2 && __USE_EXTERN_INLINES]: Likewise.
28189
c40ea3d9
AJ
281902013-01-08 Andreas Jaeger <aj@suse.de>
28191
28192 [BZ# 14985]
28193 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
28194 Remove.
28195 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
28196 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
28197
2ccdea26
AB
281982013-01-07 Anton Blanchard <anton@samba.org>
28199
28200 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
28201 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
28202 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
28203 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
28204 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
28205 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
28206 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
28207 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
28208 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
28209 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
28210 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
28211 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
28212 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
28213 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
28214 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
28215 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
28216 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
28217 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
28218 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
28219 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
28220 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
28221 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
28222 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
28223 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
28224 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
28225 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
28226 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
28227 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
28228 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
28229 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
28230 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
28231 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
28232 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
28233 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
28234 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
28235 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
28236 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
28237 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
28238 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
28239 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
28240 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
28241 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
28242 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
28243
a9708fed
JM
282442013-01-07 Joseph Myers <joseph@codesourcery.com>
28245
375607b9
JM
28246 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
28247 (__MALLOC_PMT): Likewise.
28248 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
28249 [__GNUC__], only on [_LIBC].
28250 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
28251 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
28252 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
28253 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
28254 forward declaration.
28255 (realloc_hook_ini): Likewise.
28256 (memalign_hook_ini): Likewise.
28257 (__libc_memalign): Do not use __MALLOC_PMT in variable
28258 declaration.
28259 (__libc_valloc): Likewise.
28260 (__libc_pvalloc): Likewise.
28261 (__libc_calloc): Likewise.
28262 (__posix_memalign): Likewise.
28263
a9708fed
JM
28264 [BZ #14996]
28265 * math/s_casinh.c: Include <float.h>.
28266 (__casinh): Do not do computation with squaring and square root
28267 for large arguments.
28268 * math/s_casinhf.c: Include <float.h>.
28269 (__casinhf): Do not do computation with squaring and square root
28270 for large arguments.
28271 * math/s_casinhl.c: Include <float.h>.
28272 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
28273 (__casinhl): Do not do computation with squaring and square root
28274 for large arguments.
28275 * math/libm-test.inc (casin_test): Add more tests.
28276 (casinh_test): Likewise.
28277 * sysdeps/i386/fpu/libm-test-ulps: Update.
28278 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28279
afec409a
L
282802013-01-04 H.J. Lu <hongjiu.lu@intel.com>
28281
28282 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
28283 (__x86_64_raw_data_cache_size): Likewise.
28284 (__x86_64_data_cache_size_half): Likewise.
28285 (__x86_64_raw_data_cache_size_half): Likewise.
28286 (__x86_64_shared_cache_size): Likewise.
28287 (__x86_64_raw_shared_cache_size): Likewise.
28288 (__x86_64_shared_cache_size_half): Likewise.
28289 (__x86_64_raw_shared_cache_size_half): Likewise.
28290 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
28291 to ...
28292 (__x86_data_cache_size): This.
28293 (__x86_64_raw_data_cache_size): Renamed to ...
28294 (__x86_raw_data_cache_size): This.
28295 (__x86_64_data_cache_size_half): Renamed to ...
28296 (__x86_data_cache_size_half): This.
28297 (__x86_64_raw_data_cache_size_half): Renamed to ...
28298 (__x86_raw_data_cache_size_half): This.
28299 (__x86_64_shared_cache_size): Renamed to ...
28300 (__x86_shared_cache_size): This.
28301 (__x86_64_raw_shared_cache_size): Renamed to ...
28302 (__x86_raw_shared_cache_size): This.
28303 (__x86_64_shared_cache_size_half): Renamed to ...
28304 (__x86_shared_cache_size_half): This.
28305 (__x86_64_raw_shared_cache_size_half): Renamed to ...
28306 (__x86_raw_shared_cache_size_half): This.
28307 * sysdeps/x86_64/memcpy.S: Updated.
28308 * sysdeps/x86_64/memset.S: Likewise.
28309 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
28310 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
28311 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
28312
0b3986d0
DM
283132013-01-04 David S. Miller <davem@davemloft.net>
28314
28315 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28316
e47686e9
AS
283172013-01-04 Andreas Schwab <schwab@linux-m68k.org>
28318
d643bac1
AS
28319 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
28320 1 to avoid redefinition warning.
28321 (__USE_GNU): Don't define.
28322 (init_signaling_nan): Protoize.
28323
e47686e9
AS
28324 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28325
b18decba
SP
283262013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
28327
fffb407f
SP
28328 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
28329 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
28330 (__cpymn): Likewise.
28331 (norm): Remove commented code.
28332 (denorm): Likewise.
28333 (__mp_dbl): Likewise.
28334 (__inv): Likewise.
28335 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
28336 (__cpymn): Likewise.
28337 (norm): Remove commented code.
28338 (denorm): Likewise.
28339 (__mp_dbl): Likewise.
28340 (__inv): Likewise.
28341
b18decba
SP
28342 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
28343 mp_no value for 1.0 and 2.0.
28344 (norm): Use RADIXI instead of radixi.d.
28345 (denorm): Likewise.
28346 (__mul): Use 0.0 instead of zero.d.
28347 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
28348 mp_no value for 1.0 and 2.0.
28349 (norm): Use RADIXI instead of radixi.d.
28350 (denorm): Likewise.
28351 (__mul): Use 0.0 instead of zero.d.
28352
cdc1c96f
JM
283532013-01-04 Joseph Myers <joseph@codesourcery.com>
28354
28355 [BZ #14994]
28356 * math/s_casinh.c (__casinh): Reduce finite argument to first
28357 quadrant then set signs of results at the end.
28358 * math/s_casinhf.c (__casinhf): Likewise.
28359 * math/s_casinhl.c (__casinhl): Likewise.
28360 * math/libm-test.inc (casin_test): Add more tests.
28361 (casinh_test): Likewise.
28362 * sysdeps/i386/fpu/libm-test-ulps: Update.
28363 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28364
302913e1
SP
283652013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
28366
6420d207
SP
28367 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
28368
a9e48ab4
SP
28369 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
28370
b7837264
SP
28371 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
28372 declarations.
28373 (denorm): Likewise.
28374 (__mp_dbl): Likewise.
28375 (__inv): Likewise.
28376
f8af25d2
SP
28377 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
28378 and adjust the header comment.
28379
302913e1
SP
28380 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
28381 variable name from declaration.
28382
5d7dd1ca
L
283832013-01-03 H.J. Lu <hongjiu.lu@intel.com>
28384
28385 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
28386 Initialize COMMON_CPUID_INDEX_7 element.
28387 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
28388 (CPUID_RTM): Likewise.
28389 (HAS_RTM): Likewise.
28390 (COMMON_CPUID_INDEX_7): New enum.
28391
2f5f40f4
AS
283922013-01-03 Andreas Schwab <schwab@linux-m68k.org>
28393
28394 [BZ #14981]
28395 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
28396 size is zero, record memory as freed.
28397
4056f4a0
AJ
283982013-01-03 Andreas Jaeger <aj@suse.de>
28399
28400 * po/ia.po: Add new Interlingua translation.
28401
ab15736f 284022012-01-03 Allan McRae <allan@archlinux.org>
fd80f0b7
AM
28403
28404 * locale/programs/localedef.c: Fix description of '--posix' flag.
28405
568035b7
JM
284062013-01-02 Joseph Myers <joseph@codesourcery.com>
28407
e6898b8d
JM
28408 * NEWS: Update dates in second copyright notice.
28409 * README: Update copyright dates in example.
28410 * manual/libc.texinfo: Update copyright dates.
28411 * scripts/test-installation.pl: Update copyright date in --version
28412 output.
28413
0e2f9562
JM
28414 * hurd/ctty-input.c: Fix copyright notice formatting.
28415 * hurd/ctty-output.c: Likewise.
28416 * hurd/dtable.c: Likewise.
28417 * hurd/hurd-raise.c: Likewise.
28418 * hurd/hurdprio.c: Likewise.
28419 * hurd/msgportdemux.c: Likewise.
28420 * misc/sys/file.h: Likewise.
28421 * misc/sys/ioctl.h: Likewise.
28422 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
28423 * sysdeps/mach/hurd/chdir.c: Likewise.
28424 * sysdeps/mach/hurd/fchdir.c: Likewise.
28425 * sysdeps/mach/hurd/rename.c: Likewise.
28426 * sysdeps/mach/hurd/rmdir.c: Likewise.
28427 * sysdeps/mach/hurd/seekdir.c: Likewise.
28428 * sysdeps/mach/hurd/setsid.c: Likewise.
28429 * sysdeps/posix/wait3.c: Likewise.
28430
568035b7
JM
28431 * All files with FSF copyright notices: Update copyright dates
28432 using scripts/update-copyrights.
28433 * intl/plural.c: Regenerated.
28434 * locale/programs/charmap-kw.h: Likewise.
28435 * locale/programs/locfile-kw.h: Likewise.
28436
da08f647
SP
284372013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
28438
0f5477af
SP
28439 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
28440 four values.
28441
44e0d4c2
SP
28442 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
28443 calculation loop and add branch prediction.
28444
4d55b4e5
SP
28445 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
28446 check access beyond bounds of m1np.
28447
da08f647
SP
28448 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
28449 MPTWO.
28450 (__inv): Remove local variable MPTWO to use the global
28451 constant.
28452 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
28453 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
28454 variable MPTWO.
28455 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
28456 MP3HALFS static const.
28457
8e051029
DM
284582013-01-01 David S. Miller <davem@davemloft.net>
28459
28460 * po/ca.po: Update from translation team.
28461
f4cf5f2d
JM
284622013-01-01 Joseph Myers <joseph@codesourcery.com>
28463
28464 * scripts/update-copyrights: New file.
28465 * Makeconfig: Reformat copyright notice.
28466 * ctype/ctype.h: Likewise.
28467 * debug/swprintf_chk.c: Likewise.
28468 * elf/dl-cache.c: Likewise.
28469 * elf/dl-debug.c: Likewise.
28470 * elf/dl-object.c: Likewise.
28471 * grp/initgroups.c: Likewise.
28472 * hurd/Makefile: Likewise.
28473 * hurd/hurd/signal.h: Likewise.
28474 * hurd/hurdfault.c: Likewise.
28475 * hurd/hurdioctl.c: Likewise.
28476 * hurd/hurdlookup.c: Likewise.
28477 * hurd/intr-msg.c: Likewise.
28478 * iconv/gconv_open.c: Likewise.
28479 * libio/swprintf.c: Likewise.
28480 * locale/lc-ctype.c: Likewise.
28481 * locale/nl_langinfo.c: Likewise.
28482 * mach/Machrules: Likewise.
28483 * mach/Makefile: Likewise.
28484 * malloc/obstack.h: Likewise.
28485 * manual/Makefile: Likewise.
28486 * manual/tsort.awk: Likewise.
28487 * misc/bits/stab.def: Likewise.
28488 * nis/nis_print_group_entry.c: Likewise.
28489 * nis/nis_table.c: Likewise.
28490 * nis/nss_compat/compat-pwd.c: Likewise.
28491 * nis/nss_compat/compat-spwd.c: Likewise.
28492 * po/Makefile: Likewise.
28493 * posix/fnmatch.c: Likewise.
28494 * posix/regex.h: Likewise.
28495 * resolv/Makefile: Likewise.
28496 * resolv/nss_dns/dns-network.c: Likewise.
28497 * resolv/res_hconf.c: Likewise.
28498 * scripts/gen-sorted.awk: Likewise.
28499 * soft-fp/soft-fp.h: Likewise.
28500 * stdio-common/printf.h: Likewise.
28501 * stdlib/monetary.h: Likewise.
28502 * stdlib/random.c: Likewise.
28503 * stdlib/random_r.c: Likewise.
28504 * sysdeps/generic/Makefile: Likewise.
28505 * sysdeps/gnu/Makefile: Likewise.
28506 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
28507 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
28508 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
28509 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
28510 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
28511 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
28512 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
28513 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
28514 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
28515 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
28516 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
28517 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
28518 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
28519 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
28520 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
28521 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
28522 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
28523 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
28524 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
28525 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
28526 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
28527 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
28528 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
28529 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
28530 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
28531 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
28532 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
28533 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
28534 * sysdeps/mach/hurd/errnos.awk: Likewise.
28535 * sysdeps/mach/hurd/fork.c: Likewise.
28536 * sysdeps/mach/hurd/getcwd.c: Likewise.
28537 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
28538 * sysdeps/mach/hurd/mmap.c: Likewise.
28539 * sysdeps/mach/hurd/utimes.c: Likewise.
28540 * sysdeps/mach/hurd/xmknod.c: Likewise.
28541 * sysdeps/posix/profil.c: Likewise.
28542 * sysdeps/posix/readdir_r.c: Likewise.
28543 * sysdeps/powerpc/bits/mathdef.h: Likewise.
28544 * sysdeps/powerpc/bits/setjmp.h: Likewise.
28545 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
28546 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
28547 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
28548 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
28549 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
28550 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
28551 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
28552 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
28553 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
28554 * sysdeps/pthread/lio_listio.c: Likewise.
28555 * sysdeps/sparc/dl-procinfo.h: Likewise.
28556 * sysdeps/unix/i386/sysdep.S: Likewise.
28557 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
28558 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
28559 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
28560 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
28561 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
28562 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
28563 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
28564 * sysdeps/unix/sysv/linux/speed.c: Likewise.
28565 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
28566 * sysdeps/wordsize-32/divdi3.c: Likewise.
28567 * time/sys/time.h: Likewise.
28568 * wcsmbs/Makefile: Likewise.
28569
0549fbba
DM
285702013-01-01 David S. Miller <davem@davemloft.net>
28571
a141f1a7
DM
28572 * po/fr.po: Update from translation team.
28573
0549fbba
DM
28574 * catgets/gencat.c: Update copyright year.
28575 * csu/version.c: Likewise.
28576 * debug/catchsegv.sh: Likewise.
28577 * debug/pcprofiledump.c: Likewise.
28578 * debug/xtrace.sh: Likewise.
28579 * elf/ldconfig.c: Likewise.
28580 * elf/ldd.bash.in: Likewise.
28581 * elf/pldd.c: Likewise.
28582 * elf/sotruss.ksh: Likewise.
28583 * elf/sprof.c: Likewise.
28584 * iconv/iconv_prog.c: Likewise.
28585 * iconv/iconvconfig.c: Likewise.
28586 * locale/programs/locale.c: Likewise.
28587 * locale/programs/localedef.c: Likewise.
28588 * login/programs/pt_chown.c: Likewise.
28589 * malloc/memusage.sh: Likewise.
28590 * malloc/memusagestat.c: Likewise.
28591 * malloc/mtrace.pl: Likewise.
28592 * nscd/nscd.c: Likewise.
28593 * nss/getent.c: Likewise.
28594 * nss/makedb.c: Likewise.
28595 * posix/getconf.c: Likewise.
28596
18ea052c
SP
285972012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
28598
28599 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
28600 numbers.
28601
9c89fca6
MF
286022012-12-30 Mike Frysinger <vapier@gentoo.org>
28603
28604 * math/bits/mathcalls.h (modf): Use __nonnull.
28605
085ec079
SP
286062012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
28607
28608 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
28609 (split): Use macro CN instead of the bare value.
28610 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
28611 could be used.
28612 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
28613 instead of the bare value.
28614 (power1): Likewise.
28615
6d9f97e1
SP
286162012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
28617
d63f73be
SP
28618 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
28619 __ATAN_TWOM.
28620 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
28621
6d9f97e1
SP
28622 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
28623 their values.
28624 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
28625 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
28626 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
28627 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
28628
4c4febf5
AJ
286292012-12-28 Andreas Jaeger <aj@suse.de>
28630
af5843ef
AJ
28631 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
28632 values are from Linux 3.7.
28633
4c4febf5
AJ
28634 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
28635 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
28636
99136f82
SP
286372012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
28638
2f216c3c 28639 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
91998e44
SP
28640 TRUE case.
28641
99136f82
SP
28642 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
28643 (norm): Likewise.
28644 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
28645 variables with preprocessor constants.
28646 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
28647 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
28648 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
28649
7fffbdff
BH
286502012-12-27 Bruno Haible <bruno@clisp.org>
28651
28652 [BZ #14317]
28653 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
28654 only if needed.
28655
b76eb5f0
SP
286562012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
28657
31a7fe5c
SP
28658 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
28659 and use variable directly.
28660 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
28661
b76eb5f0
SP
28662 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
28663 MPONE.
28664 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
28665 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
28666 variable MPONE.
28667 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
28668 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
28669 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
28670 include directive. Remove local variable MPONE.
28671 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
28672 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
28673 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
28674
2c8bfe7d
DM
286752012-12-25 David S. Miller <davem@davemloft.net>
28676
28677 * version.h (RELEASE): Set to "development".
28678 (VERSION): Set to "2.17.90".
28679 * NEWS: Add 2.18 section.
28680
147d03b0
DM
286812012-12-21 David S. Miller <davem@davemloft.net>
28682
28683 * po/hr.po: Update from translation team.
28684
a8ebb2b9
AK
286852012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28686
28687 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
28688
95b4f1b6
SE
286892012-12-19 Steve Ellcey <sellcey@mips.com>
28690
b2d94007 28691 * NEWS: Mention new memcpy for MIPS.
95b4f1b6 28692
cedb2a90
MS
286932012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
28694
28695 * manual/contrib.texi (Contributors): Spelling correction.
28696
bbf527d6
DM
286972012-12-15 David S. Miller <davem@davemloft.net>
28698
28699 * po/ru.po: Update from translation team.
28700
bc38c906
DM
287012012-12-13 David S. Miller <davem@davemloft.net>
28702
85429b1a
DM
28703 * NEWS: Mention IFUNC testsuite enhancements.
28704
d283e353
DM
28705 * po/pl.po: Update from translation team.
28706 * po/bg.po: Likewise.
28707
bc38c906
DM
28708 * manual/contrib.texi (Contributors): Update entries for Hongjiu
28709 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
28710
a181b0d7
DM
287112012-12-11 David S. Miller <davem@davemloft.net>
28712
4641d57e
DM
28713 * po/sv.po: Update from translation team.
28714
f7bc6495
DM
28715 * po/vi.po: Update from translation team.
28716
6fc9048f
DM
28717 * po/cs.po: Update from translation team.
28718
a181b0d7
DM
28719 * po/de.po: Update from translation team.
28720 * po/eo.po: Likewise.
28721 * po/nl.po: Likewise.
28722
f70bfe80
SP
287232012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
28724
3c8b4190
SP
28725 [BZ #14246]
28726 * manual/argp.texi (Argp Helper Functions): Move node to follow
28727 Argp Parsing State.
28728
f70bfe80
SP
28729 [BZ #14872]
28730 * manual/conf.texi (Limits on File System Capacity): Mention if
28731 terminating null is included in the max size.
28732
188f0adf
AJ
287332012-12-10 Andreas Jaeger <aj@suse.de>
28734
28735 * po/cs.po: Update from translation team.
28736
56e7d3ad
SP
287372012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
28738
28739 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
28740 void pointer and cast to uintptr_t.
28741 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
28742 path.
28743 * sysdeps/s390/s390-64/memcpy.S: Likewise.
28744 * sysdeps/s390/s390-64/memset.S: Likewise.
28745
76f2d2ea 287462012-12-08 Benno Schulenberg <bensberg@justemail.net>
c430c4af
BS
28747
28748 [BZ #14833]
28749 * menual/message.texi (Message Translation): Fix typos.
28750 (Helper programs for gettext): Likewise.
28751
67cbf9a2
AS
287522012-12-07 Andreas Schwab <schwab@linux-m68k.org>
28753
28754 [BZ #14898]
28755 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
28756 Change to -1.
28757
682d0e9a
DM
287582012-12-07 David S. Miller <davem@davemloft.net>
28759
28760 * po/libc.pot: Update.
28761
573cd484
RH
287622012-12-07 Richard Henderson <rth@redhat.com>
28763
7e9da188 28764 [BZ #10114]
573cd484
RH
28765 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
28766 normal/normal case to before the switch.
28767 (_FP_DIV): Likewise.
28768
e933a943
MF
287692012-12-06 Carlos O'Donell <carlos@systemhalted.org>
28770 Mike Frysinger <vapier@gentoo.org>
28771
28772 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
28773 check for __NR_fadvise64_64.
28774
82123268
CM
287752012-12-06 Chris Metcalf <cmetcalf@tilera.com>
28776
28777 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
28778 0, not just to plain "0" as a statement.
28779 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
28780 with cw.
28781
d9814526
JM
287822012-12-06 Joseph Myers <joseph@codesourcery.com>
28783
28784 * NEWS: Use sourceware.org in Bugzilla URL.
28785
7728c574
SP
287862012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
28787
f16946dd
SP
28788 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
28789 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
28790
5704bbcb
SP
28791 * stdio-common/tst-put-error.c (do_test): Add newline to the
28792 padded test to ensure flush.
28793
17aa0516
JL
287942012-12-05 Jeff Law <law@redhat.com>
28795
28796 * sunrpc/etc.rpc (fedfs_admin): Add entry.
28797
363313b5
JM
287982012-12-05 Joseph Myers <joseph@codesourcery.com>
28799
effbd42a
JM
28800 * README: Don't refer to ports add-on as distributed separately.
28801 Mention AArch64 in list of systems supported in the ports add-on.
28802
87600365
JM
28803 * LICENSES: Add more non-FSF copyright and license notices.
28804
a0d7066a
JM
28805 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
28806 ((unused)).
28807
66ca5a5b
JM
28808 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
28809
363313b5
JM
28810 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
28811 10000 as width of padded output.
28812
b37984ad
JM
288132012-12-04 Joseph Myers <joseph@codesourcery.com>
28814
9003570a
JM
28815 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
28816
b37984ad
JM
28817 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
28818 variable LX with __attribute__ ((unused)).
28819 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
28820 Likewise.
28821 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
28822 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
28823 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
28824 with __attribute__ ((unused)).
28825
c8df52ec
DM
288262012-12-04 David S. Miller <davem@abraco.davemloft.net>
28827
28828 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
28829
b3b099af
JM
288302012-12-04 Joseph Myers <joseph@codesourcery.com>
28831
c33aa6e3
JM
28832 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
28833 (CFLAGS-nldbl-acos.c): New variable.
28834 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
28835 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
28836 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
28837 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
28838 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
28839 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
28840 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
28841 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
28842 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
28843 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
28844 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
28845 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
28846 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
28847 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
28848 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
28849 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
28850 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
28851 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
28852 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
28853 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
28854 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
28855 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
28856 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
28857 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
28858 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
28859 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
28860 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
28861 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
28862 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
28863 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
28864 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
28865 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
28866 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
28867 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
28868 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
28869 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
28870 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
28871 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
28872 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
28873 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
28874 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
28875 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
28876 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
28877 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
28878 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
28879 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
28880 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
28881 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
28882 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
28883 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
28884 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
28885 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
28886 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
28887 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
28888 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
28889 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
28890 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
28891 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
28892 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
28893 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
28894 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
28895 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
28896 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
28897 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
28898 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
28899 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
28900 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
28901 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
28902 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
28903 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
28904 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
28905 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
28906 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
28907 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
28908 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
28909 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
28910 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
28911 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
28912 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
28913 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
28914 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
28915 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
28916 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
28917 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
28918 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
28919 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
28920 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
28921 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
28922 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
28923 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
28924 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
28925 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
28926 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
28927 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
28928 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
28929 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
28930 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
28931
20f0018d
JM
28932 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
28933 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
28934
b3b099af
JM
28935 [BZ #14914]
28936 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
28937 whole low double instead of just low 47 bits when splitting values
28938 into two parts.
28939
029264d1
AM
289402012-12-03 Allan McRae <allan@archlinux.org>
28941
28942 * manual/stdio.texi (Predefined Printf Handlers): Remove
28943 @hsep and @vsep usage.
28944
c9d6789e
MF
289452012-12-03 Mike Frysinger <vapier@gentoo.org>
28946
28947 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
28948 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
28949
4b7634a5
JL
289502012-12-03 Jeff Law <law@redhat.com>
28951
28952 * time/sys/time.h (settimeofday): Do not mark TV argument
28953 as __nonnull.
28954
eb6cbd24
MF
289552012-12-01 Mike Frysinger <vapier@gentoo.org>
28956
28957 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
28958 when currently writing and seek to current position when not.
28959 * libio/Makefile (tests): Remove bug-fclose1.
28960 * libio/bug-fclose1.c: Delete.
28961
f638872a
JM
289622012-12-01 Joseph Myers <joseph@codesourcery.com>
28963
28964 * manual/arith.texi (feenableexcept): Fix typo.
28965 (fedisableexcept): Likewise.
28966
48085d14
RM
289672012-11-30 Roland McGrath <roland@hack.frob.com>
28968
28969 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
28970 second, differently-typed declaration, rather than a cast.
28971
1a538b9f
SP
289722012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
28973
28974 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
28975 * include/rpc/svc.h: ... here.
28976
d07f2ff1 289772012-11-30 Aurelien Jarno <aurel32@debian.org>
cc8bb21c
AJ
28978
28979 [BZ #13013]
28980 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
28981 depending n and resplen2 to catch cases where answer
28982 equals answerp2.
28983
c93ec1f0
CD
289842012-11-29 Carlos O'Donell <carlos@systemhalted.org>
28985
28986 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
28987 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
28988
37db69de
MF
289892012-11-29 Mike Frysinger <vapier@gentoo.org>
28990
28991 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
28992
e10c4e4f
RM
289932012-11-29 Roland McGrath <roland@hack.frob.com>
28994
28995 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
28996
2af1b328
JL
289972012-11-28 Jeff Law <law@redhat.com>
28998
28999 [BZ #13761]
29000 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
29001 dataset_temporary. Track alloca usage into alloca_used.
29002 If dataset is large allocate and release it via malloc/free.
29003
111db5b1
FW
290042012-06-04 Florian Weimer <fweimer@redhat.com>
29005
f06cc227 29006 [BZ #14197]
111db5b1
FW
29007 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
29008
dd694abd
DM
290092012-11-28 David S. Miller <davem@davemloft.net>
29010
29011 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29012
9984dd01
JM
290132012-11-28 Joseph Myers <joseph@codesourcery.com>
29014
29015 [BZ #14803]
29016 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
29017 of pi/2 rounded to nearest to 64 bits.
29018 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
29019 nearest to 64 bits.
29020 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
29021 bits.
29022
14bc93a9
JL
290232012-11-28 Jeff Law <law@redhat.com>
29024 Martin Osvald <mosvald@redhat.com>
29025
29026 [BZ #14889]
29027 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
29028 * sunrpc/svc.c: Include time.h.
29029 (__svc_accept_failed): New function.
29030 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
29031 any reason other than EINTR, call __svc_accept_failed.
29032 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
29033 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
29034
e3c6aa3a
AS
290352012-11-28 Andreas Schwab <schwab@suse.de>
29036
29037 * scripts/abilist.awk: Also handle indirect functions in .opd
29038 section.
29039
1bead169
JM
290402012-11-28 Joseph Myers <joseph@codesourcery.com>
29041
29042 [BZ #13881]
29043 * sysdeps/x86/fpu/powl_helper.c: New file.
29044 * sysdeps/x86/fpu/Makefile: Likewise.
29045 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
29046 (p3): New object.
29047 (__ieee754_powl): Use __powl_helper for finite arguments except
29048 integer exponents below 8.
29049 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
29050 (p3): New object.
29051 (__ieee754_powl): Use __powl_helper for finite arguments except
29052 integer exponents below 8.
29053 * math/libm-test.inc (pow_test): Add more tests and enable some
29054 previously disabled tests.
29055 * sysdeps/i386/fpu/libm-test-ulps: Update.
29056 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29057
0817d63d
SP
290582012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
29059 Carlos O'Donell <carlos_odonell@mentor.com>
29060
29061 * nss/makedb.c (is_prime): Assert that input is odd and greater
29062 than 4. Note that fact in a comment too.
29063 (next_prime): Add 4 to input.
29064
de2fd463
SP
290652012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
29066
29067 [BZ #11741]
29068 * libio/Makefile (tests): Add test case tst-fwrite-error.
29069 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
29070 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
29071 * libio/tst-fwrite-error.c: New test case.
29072
c515fb51
L
290732012-11-26 H.J. Lu <hongjiu.lu@intel.com>
29074
29075 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
29076 before casting to void *.
29077 * include/libc-internal.h (__pointer_type): New macro.
29078 (__integer_if_pointer_type_sub): Likewise.
29079 (__integer_if_pointer_type): Likewise.
29080 (cast_to_integer): Likewise.
29081 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
29082 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
29083 before casting to atomic64_t.
29084 (atomic_exchange_acq): Likewise.
29085 (__arch_exchange_and_add_body): Likewise.
29086 (__arch_add_body): Likewise.
29087 (atomic_add_negative): Likewise.
29088 (atomic_add_zero): Likewise.
29089
4cf77aa9
JM
290902012-11-26 Joseph Myers <joseph@codesourcery.com>
29091
29092 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
29093 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
29094 (add_fdes): Likewise.
29095 (linear_search_fdes): Likewise.
29096 (binary_search_unencoded_fdes): Likewise.
29097
d260b3b4
AS
290982012-11-26 Andreas Schwab <schwab@linux-m68k.org>
29099
29100 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
29101
67060746
AC
291022012-11-24 Adam Conrad <adconrad@0c3.net>
29103
29104 * configure.in: Autodetect C++ header directories.
29105 * configure: Regenerated.
29106
800938a1
MF
291072012-11-23 Mike Frysinger <vapier@gentoo.org>
29108
29109 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
29110
4e6e34e6
AS
291112012-11-23 Andreas Schwab <schwab@linux-m68k.org>
29112
29113 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29114
7c7feb47
JM
291152012-11-22 Joseph Myers <joseph@codesourcery.com>
29116
7184dcdf
JM
29117 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
29118 LDBL_MANT_DIG == 106]: Disable some tests.
29119 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
29120 Likewise.
29121 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
29122 Likewise.
29123
0a42601f
JM
29124 [BZ #14871]
29125 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
29126 input for small inputs. Return +/- pi/2 for large inputs.
29127 * math/libm-test.inc (atan_test): Add more tests.
29128
79c9b9fe
JM
29129 * sysdeps/generic/unwind-dw2-fde-glibc.c
29130 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
29131 __attribute__ ((unused)).
29132
c60d3bf2
JM
29133 [BZ #14645]
29134 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
29135 x * y if x and y are nonzero and z is zero.
29136
ef1e0867
JM
29137 [BZ #14811]
29138 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
29139 nonzero exponents with absolute value below 0x1p-117 to +/-
29140 0x1p-117.
29141
1468ded3
JM
29142 [BZ #14869]
29143 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
29144 up arguments below 2**-450, not just those below 2**-500.
29145 * math/libm-test.inc (hypot_test): Add another test.
29146
8e27e3cc
JM
29147 [BZ #14868]
29148 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
29149 Return a+b for ratio over 2**120, not 2**60.
29150 * math/libm-test.inc (hypot_test): Add another test.
29151
c9c0279b
JM
29152 * math/libm-test.inc (clog_test): Use
29153 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
29154 (clog10_test): Likewise.
29155
7c7feb47
JM
29156 [BZ #6778]
29157 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
29158
fff1530e
AS
291592012-11-22 Andreas Schwab <schwab@suse.de>
29160
29161 * sysdeps/i386/fpu/libm-test-ulps: Update.
29162
94558d30
PT
291632012-11-22 Pino Toscano <toscano.pino@tiscali.it>
29164
29165 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
29166 printf output with newline.
29167
7e1be741
L
291682012-11-21 H.J. Lu <hongjiu.lu@intel.com>
29169
6bfea974
L
29170 [BZ #14865]
29171 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
29172 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
29173 -z nodlopen, -z initfirst and -z execstack support.
29174 * configure: Regenerated.
29175
7e1be741
L
29176 * elf/elf.h (DF_1_NODIRECT): New macro.
29177 (DF_1_IGNMULDEF): Likewise.
29178 (DF_1_NOKSYMS): Likewise.
29179 (DF_1_NOHDR): Likewise.
29180 (DF_1_EDITED): Likewise.
29181 (DF_1_NORELOC): Likewise.
29182 (DF_1_SYMINTPOSE): Likewise.
29183 (DF_1_GLOBAUDIT): Likewise.
29184 (DF_1_SINGLETON): Likewise.
29185 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
29186 DT_1_SUPPORTED_MASK bits.
29187 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
29188
105ce2ce
CD
291892012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
29190
29191 * sysdeps/unix/make-syscalls.sh: Document prefixes.
29192
123be9de
TS
291932012-11-20 Thomas Schwinge <thomas@codesourcery.com>
29194
d072f3f7
TS
29195 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
29196 macro.
29197
123be9de
TS
29198 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
29199 (sendmmsg): Move declarations...
29200 * socket/sys/socket.h: ... here.
29201 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
29202 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
29203 include it from...
29204 * socket/recvmmsg.c: ... this new file.
29205 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
29206 (sendmmsg): Rename to __sendmmsg, create weak alias and make
29207 definition of __sendmmsg hidden.
29208 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
29209 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
29210 Move ENOSYS stub into and include it from...
29211 * socket/sendmmsg.c: ... this new file.
29212 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
29213 (sysdep_routines): Move recvmmsg and sendmmsg...
29214 * socket/Makefile (routines): ... here.
29215 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
29216 (GLIBC_PRIVATE): Add __sendmmsg.
29217 * include/sys/socket.h (__sendmmsg): Add declarations.
29218 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
29219 sendmmsg.
29220
cf9a5d18
JM
292212012-11-20 Joseph Myers <joseph@codesourcery.com>
29222
29223 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
29224 variable I1 with __attribute__ ((unused)).
29225 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
29226
ecd4caf9
JM
292272012-11-19 Joseph Myers <joseph@codesourcery.com>
29228
be14d48f
JM
29229 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
29230 DUMMY variables with __attribute__ ((unused)).
29231
ecd4caf9
JM
29232 * bits/byteswap.h: Include <bits/types.h>.
29233 (__bswap_64): Use __uint64_t instead of unsigned long long int.
29234
986cab95
PT
292352012-11-19 Pino Toscano <toscano.pino@tiscali.it>
29236
29237 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
29238 string_t. Do not manually set errno.
29239 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
29240 length with __strnlen. Make sure to both set errno and return it on
29241 failure.
29242
6d33cc9d
DM
292432012-11-19 David S. Miller <davem@davemloft.net>
29244
29245 With help from Joseph Myers.
29246 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
29247 very large arguments properly.
29248 * math/libm-test.inc (atan_test): New tests.
29249 (atan2_test): New tests.
29250 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29251 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29252
ee663277
JM
292532012-11-19 Joseph Myers <joseph@codesourcery.com>
29254
877f2d8e
JM
29255 [BZ #14856]
29256 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
29257 Define to 3.
29258
116fc08a
JM
29259 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
29260 [POSIX] (EADDRNOTAVAIL): Likewise.
29261 [POSIX] (EAFNOSUPPORT): Likewise.
29262 [POSIX] (EALREADY): Likewise.
29263 [POSIX] (ECONNABORTED): Likewise.
29264 [POSIX] (ECONNREFUSED): Likewise.
29265 [POSIX] (ECONNRESET): Likewise.
29266 [POSIX] (EDESTADDRREQ): Likewise.
29267 [POSIX] (EDQUOT): Likewise.
29268 [POSIX] (EHOSTUNREACH): Likewise.
29269 [POSIX] (EIDRM): Likewise.
29270 [POSIX] (EISCONN): Likewise.
29271 [POSIX] (ELOOP): Likewise.
29272 [POSIX] (EMULTIHOP): Likewise.
29273 [POSIX] (ENETDOWN): Likewise.
29274 [POSIX] (ENETUNREACH): Likewise.
29275 [POSIX] (ENOBUFS): Likewise.
29276 [POSIX] (ENODATA): Likewise.
29277 [POSIX] (ENOLINK): Likewise.
29278 [POSIX] (ENOMSG): Likewise.
29279 [POSIX] (ENOPROTOOPT): Likewise.
29280 [POSIX] (ENOSR): Likewise.
29281 [POSIX] (ENOSTR): Likewise.
29282 [POSIX] (ENOTCONN): Likewise.
29283 [POSIX] (ENOTSOCK): Likewise.
29284 [POSIX] (EOPNOTSUPP): Likewise.
29285 [POSIX] (EOVERFLOW): Likewise.
29286 [POSIX] (EPROTO): Likewise.
29287 [POSIX] (EPROTONOSUPPORT): Likewise.
29288 [POSIX] (EPROTOTYPE): Likewise.
29289 [POSIX] (ESTALE): Likewise.
29290 [POSIX] (ETIME): Likewise.
29291 [POSIX] (ETXTBSY): Likewise.
29292 [POSIX] (EWOULDBLOCK): Likewise.
29293 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
29294 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
29295 [POSIX] (SEEK_CUR): Likewise.
29296 [POSIX] (SEEK_END): Likewise.
29297 [POSIX || UNIX98] (mode_t): Do not require.
29298 [POSIX] (off_t): Likewise.
29299 [POSIX] (pid_t): Likewise.
29300 [POSIX] (sys/stat.h): Do not allow header.
29301 [POSIX] (unistd.h): Likewise.
29302 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
29303 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
29304 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
29305 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
29306 require.
29307 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
29308 sigevent): Specify elements.
29309 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
29310 entry.
29311 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
29312 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
29313
a483863f
JM
29314 * conform/data/cpio.h-data [POSIX]: Disable whole file.
29315 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
29316 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
29317 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
29318 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
29319 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
29320 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
29321 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
29322 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
29323 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
29324 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
29325 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
29326 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
29327 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
29328 Likewise.
29329 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
29330 Likewise.
29331 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
29332 Likewise.
29333 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
29334 Likewise.
29335 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
29336 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
29337 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
29338 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
29339 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
29340 Specify lower bound on value.
29341 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
29342 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
29343 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
29344 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
29345 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
29346 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
29347 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
29348 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
29349 value.
29350 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
29351 as optional.
29352 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
29353 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
29354 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
29355 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
29356 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
29357 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
29358 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
29359 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
29360 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
29361 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
29362 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
29363 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
29364 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
29365 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
29366 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
29367 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
29368 entry.
29369 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
29370 optional.
29371 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
29372 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
29373 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
29374 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
29375 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
29376 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
29377 Likewise.
29378 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
29379 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
29380 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
29381 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
29382 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
29383 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
29384 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
29385 as optional.
29386 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
29387 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
29388 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
29389 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
29390 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
29391 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
29392 specify as optional.
29393 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
29394 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
29395 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
29396 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
29397 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
29398 [XPG3] (NL_LANGMAX): Likewise.
29399 [POSIX || XPG3] (NL_MSGMAX): Likewise.
29400 [POSIX || XPG3] (NL_NMAX): Likewise.
29401 [POSIX || XPG3] (NL_SETMAX): Likewise.
29402 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
29403 [XPG3] (NZERO): Likewise.
29404 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
29405 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
29406 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
29407 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
29408 (REG_ERANGE): Expect.
29409 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
29410 optional-constant.
29411 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
29412 Use (void) in prototype.
29413 [POSIX] (*_t): Allow.
29414 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
29415 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
29416 (WRDE_BADVAL): Expect.
29417
5ba924e3
JM
29418 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
29419 expect.
29420 [XPG3 || XPG4] (O_RSYNC): Likewise.
29421 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
29422 Likewise.
29423 [XPG3 || XPG4] (pthread_sigmask): Likewise.
29424 [XPG3 || XPG4] (sigqueue): Likewise.
29425 [XPG3 || XPG4] (sigtimedwait): Likewise.
29426 [XPG3 || XPG4] (sigwaitinfo): Likewise.
29427 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
29428 [XPG3 || XPG4] (vsnprintf): Likewise.
29429 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
29430 Likewise.
29431 [XPG3 || XPG4] (blksize_t): Likewise.
29432 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
29433 Likewise.
29434 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
29435 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
29436 [XPG3 || XPG4] (struct itimerspec): Likewise.
29437 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
29438 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
29439 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
29440 [XPG3 || XPG4] (clockid_t): Likewise.
29441 [XPG3 || XPG4] (timer_t): Likewise.
29442 [XPG3 || XPG4] (clock_getres): Likewise.
29443 [XPG3 || XPG4] (clock_gettime): Likewise.
29444 [XPG3 || XPG4] (clock_settime): Likewise.
29445 [XPG3 || XPG4] (nanosleep): Likewise.
29446 [XPG3 || XPG4] (timer_create): Likewise.
29447 [XPG3 || XPG4] (timer_delete): Likewise.
29448 [XPG3 || XPG4] (timer_gettime): Likewise.
29449 [XPG3 || XPG4] (timer_getoverrun): Likewise.
29450 [XPG3 || XPG4] (timer_settime): Likewise.
29451 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
29452 [XPG3 || XPG4] (getlogin_r): Likewise.
29453 [XPG3 || XPG4] (pread): Likewise.
29454 [XPG3 || XPG4] (pthread_atfork): Likewise.
29455 [XPG3 || XPG4] (pwrite): Likewise.
29456
ee663277
JM
29457 [BZ #14835]
29458 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
29459 <bits/siginfo.h>.
29460
942caa16
PT
294612012-11-19 Pino Toscano <toscano.pino@tiscali.it>
29462
e19af380
PT
29463 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
29464 finalizing MALLSTREAM.
29465
942caa16
PT
29466 * sysdeps/mach/hurd/syncfs.c: New file.
29467
cfde9b46
SP
294682012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
29469
29470 [BZ #14719]
29471 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
29472 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
29473 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
29474 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
29475 (_nss_dns_gethostbyname4_r): Likewise.
29476 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
29477 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
29478
f6da27e5
PH
294792012-11-19 Peng Haitao <penght@cn.fujitsu.com>
29480
29481 [BZ #13763]
29482 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
29483
6665d4a2
SM
294842012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
29485
1f51ee92
SM
29486 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
29487 * elf/cache.c (print_entry): Print ",AArch64" for
29488 FLAG_AARCH64_LIB64
29489
6665d4a2
SM
29490 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
29491 * elf/cache.c (print_entry): Print ",hard-float" for
29492 FLAG_ARM_LIBHF.
29493
05b227bd
DM
294942012-11-18 David S. Miller <davem@davemloft.net>
29495
29496 With help from Joseph Myers.
29497 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
29498 cutoff to 2**-13.
29499 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
29500 cutoff to 2**-25.
29501 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
29502 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
29503 small.
29504 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
29505 * math/libm-test.inc (y0_test): New tests.
29506 (y1_test): New tests.
29507 * sysdeps/i386/fpu/libm-test-ulps: Update.
29508 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29509 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29510
786b0b67
AS
295112012-11-18 Andreas Schwab <schwab@linux-m68k.org>
29512
29513 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
29514 64-bit targets.
29515 * configure: Regenerated.
29516
8e18b86d
DM
295172012-11-17 David S. Miller <davem@davemloft.net>
29518
29519 [BZ #14811]
29520 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
29521 nonzero exponents with absolute value below 0x1p-128 to +/-
29522 0x1p-128.
29523
531f1ae0
JM
295242012-11-17 Joseph Myers <joseph@codesourcery.com>
29525
12df29e2
JM
29526 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
29527
150dc1a0
JM
29528 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
29529
531f1ae0
JM
29530 * posix/getconf-speclist.c: New file.
29531 * posix/posix-envs.def: Likewise.
29532 * posix/confstr.c (START_ENV_GROUP): New macro.
29533 (END_ENV_GROUP): Likewise.
29534 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
29535 (KNOWN_PRESENT_ENV_STRING): Likewise.
29536 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
29537 (UNKNOWN_ENVIRONMENT): Likewise.
29538 (confstr): Include posix-envs.def instead of handling
29539 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
29540 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
29541 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
29542 (END_ENV_GROUP): Likewise.
29543 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
29544 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
29545 (UNKNOWN_ENVIRONMENT): Likewise.
29546 (__sysconf): Include posix-envs.def instead of handling associated
29547 cases directly here.
29548 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
29549 preprocessing getconf-speclist.c rather than running getconf or
29550 generating empty file.
29551
a93f9cbc
PT
295522012-11-16 Pino Toscano <toscano.pino@tiscali.it>
29553
29554 * scripts/check-local-headers.sh: Ignore 'mach' headers.
29555
d64d9f87
AL
295562012-11-16 Andrej Lajovic <natrij@gmail.com>
29557
29558 [BZ #14672]
29559 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
29560
447885eb
DM
295612012-11-16 David S. Miller <davem@davemloft.net>
29562
29563 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
29564 smaller than LDBL_EPSILON/2.0L, just return xm1.
29565
bcbf9830
L
295662012-11-16 H.J. Lu <hongjiu.lu@intel.com>
29567
29568 * elf/tst-array1.c (init): Set constructor priority to 1000.
29569 (fini): Set destructor priority to 1000.
29570 * elf/tst-array2dep.c: Likewise.
29571
2b766585
SP
295722012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
29573
29574 [BZ #11741]
29575 * libio/fileops.c (_IO_new_file_write): Correctly return error.
29576 (_IO_new_file_xsputn): Also return EOF if none of the input
29577 data was written when overflow failed.
29578 * libio/iopadn.c (_IO_padn): Likewise.
29579 * libio/iowpadn.c (_IO_wpadn): Likewise.
29580 * stdio-common/tst-put-error.c: Add copyright notice.
29581 (do_test): Add case for printing padded string.
29582 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
29583 _IO_padn returned error.
29584 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
29585 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
29586 return EOF.
29587
b1848fde
SP
295882012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
29589
29590 * libio/libioP.h: Add comment note that the references to C++
29591 bits are now obsolete.
29592
2fd89785
MS
295932012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
29594
29595 * math/libm-test.inc (check_complex): Use asprintf.
29596
e3ea5409
JM
295972012-11-14 Joseph Myers <joseph@codesourcery.com>
29598
29599 * debug/pcprofiledump.c (print_version): Update copyright year.
29600 * malloc/memusagestat.c (print_version): Likewise.
29601
2e64d265
L
296022012-11-14 H.J. Lu <hongjiu.lu@intel.com>
29603
29604 [BZ #14831]
29605 * elf/Makefile (tests): Add tst-audit8.
29606 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
29607 ($(objpfx)tst-audit8.out): New target.
29608 (tst-audit8-ENV): New variable.
29609 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
29610 audit if l_reloc_result is NULL.
29611 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
29612 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
29613 * elf/tst-audit8.c: New file.
29614
c485e4d2
MS
296152012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
29616
29617 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
29618 * misc/Makefile (CFLAGS-select.c): Define.
29619 * posix/Makefile (CFLAGS-pause.c): Define.
29620
3a0d900a
DM
296212012-11-13 David S. Miller <davem@davemloft.net>
29622
29623 * crypt/Makefile: Move test targets after toplevel Rules
29624 inclusion. Grab any necessary sysdep routines when linking.
29625 * crypt/md5.c (md5_process_block): Remove define, we will always
29626 name it __md5_process_block.
29627 (md5_finish_ctx): Update md5_process_block call.
29628 (md5_stream): Likewise.
29629 (md5_process_bytes): Likewise.
29630 (md5_process_block): Rename to __md5_process_block and move to ...
29631 * crypt/md5-block.c: ... here.
29632 * crypt/sha256.c (sha256_process_block): Move to ...
29633 * crypt/sha256-block.c: ... here.
29634 * crypt/sha512.c (sha512_process_block): Move to ...
29635 * crypt/sha512-block.c: ... here.
29636 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
29637 path.
29638 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
29639 * sysdeps/sparc/sparc64/multiarch/Makefile
29640 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
29641 crypt subdir.
29642 (localedef-aux): Add md5 crypto assembler when in locale subdir.
29643 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
29644 multiarch changes.
29645 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
29646 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
29647 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
29648 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
29649 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
29650 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
29651 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
29652 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
29653 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
29654 file.
29655 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
29656 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
29657 file.
29658 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
29659
8ca89318
JM
296602012-11-13 Joseph Myers <joseph@codesourcery.com>
29661
e27d476a
JM
29662 * timezone/tzselect.ksh: Update from tzcode git revision
29663 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
29664 * timezone/zdump.c: Likewise.
29665 * timezone/zic.c: Likewise.
29666 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
29667 in TZVERSION setting, not $(PKGVERSION).
29668 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
29669 REPORT_BUGS_TO settings.
29670
8ca89318
JM
29671 [BZ #14838]
29672 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
29673 macro.
29674
47594329
MS
296752012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
29676
29677 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
29678 detection to immediately after _FP_ROUND().
29679 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
29680 bits are 0.
29681
640ac3f1
DM
296822012-11-11 David S. Miller <davem@davemloft.net>
29683
29684 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
29685 inttypes.h
29686 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
29687 __close rather than their public counterparts.
29688
3d2577bb
JM
296892012-11-10 Joseph Myers <joseph@codesourcery.com>
29690
29691 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
29692 file.
29693 [UNIX98] (sem_timedwait): Do not expect.
29694 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
29695 [XPG4 || UNIX98] (sockatmark): Do not expect.
29696 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
29697 (clock_getcpuclockid): Do not expect.
29698 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
29699 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
29700 Do not expect.
29701 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
29702 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
29703 [UNIX98] (vwscanf): Likewise.
29704 [UNIX98] (vswscanf): Likewise.
29705
fb1ae1ee
JM
297062012-11-09 Joseph Myers <joseph@codesourcery.com>
29707
9ec6f8bd
JM
29708 * timezone/version.h: Remove file.
29709 * timezone/README: Do not refer to version.h.
29710 * timezone/Makefile ($(objpfx)zic.o): New dependency on
29711 $(objpfx)version.h.
29712 ($(objpfx)zdump.o): Likewise.
c3f81911 29713 ($(objpfx)version.h): New target.
9ec6f8bd 29714
0aa8f8a1
JM
29715 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
29716 2012i.
29717 * timezone/README: Don't mention modification to tzselect.ksh.
29718 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
29719 work on unmodified tzselect.ksh. Substitute version numbers in
29720 tzselect.ksh.
29721
4e87147f
JM
29722 * Makefile (format-me): Remove.
29723 (INSTALL): Adjust indentation. Use commands directly instead of
29724 using $(format-me).
29725
8b748aed
JM
29726 * aclocal.m4 (ACX_PKGVERSION): New macro.
29727 (ACX_BUGURL): Likewise.
29728 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
29729 (PKGVERSION): New AC_DEFINE_UNQUOTED.
29730 (REPORT_BUGS_TO): Likewise.
29731 * configure: Regenerated.
29732 * config.h.in (PKGVERSION): New macro.
29733 (REPORT_BUGS_TO): Likewise.
29734 * config.make.in (PKGVERSION): New variable.
29735 (PKGVERSION_TEXI): Likewise.
29736 (REPORT_BUGS_TO): Likewise.
29737 (REPORT_BUGS_TEXI): Likewise.
29738 * Makefile (format-me): Use -I$(common-objpfx)manual.
29739 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
29740 ($(common-objpfx)manual/%): New target.
29741 (manual/%): Remove target.
29742 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
29743 (print_version): Use PKGVERSION.
29744 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
29745 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
29746 and REPORT_BUGS_TO.
29747 ($(objpfx)xtrace): Likewise.
29748 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
29749 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
29750 (print_version): Use PKGVERSION.
29751 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
29752 (do_version): Use PKGVERSION.
29753 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
29754 REPORT_BUGS_TO.
29755 (common-ldd-rewrite): Likewise.
29756 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
29757 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
29758 (print_version): Use PKGVERSION.
29759 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
29760 * elf/pldd.c (argp_program_bug_address): Remove variable.
29761 (more_help): New function.
29762 (argp): Use more_help.
29763 (print_version): Use PKGVERSION.
29764 * elf/sln.c (main): Use PKGVERSION.
29765 (usage): Use REPORT_BUGS_TO.
29766 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
29767 (top level): Use PKGVERSION.
29768 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
29769 (print_version): Use PKGVERSION.
29770 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
29771 (print_version): Use PKGVERSION.
29772 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
29773 (print_version): Use PKGVERSION.
29774 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
29775 (print_version): Use PKGVERSION.
29776 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
29777 (print_version): Use PKGVERSION.
29778 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
29779 (print_version): Use PKGVERSION.
29780 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
29781 and BUGURL.
29782 ($(objpfx)memusage): Likewise.
29783 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
29784 (do_version): Use PKGVERSION.
29785 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
29786 (print_version): Use PKGVERSION.
29787 * malloc/mtrace.pl ($PACKAGE): Remove variable.
29788 ($PKGVERSION): New variable.
29789 ($REPORT_BUGS_TO): Likewise.
29790 (usage): Use $REPORT_BUGS_TO.
29791 (top level): Use $PKGVERSION.
29792 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
29793 ($(objpfx)pkgvers.texi): New rule.
29794 ($(objpfx)stamp-pkgvers): Likewise.
29795 * manual/install.texi: Include pkgvers.texi.
29796 (--with-pkgversion): Document new configure option.
29797 (--with-bugurl): Likewise.
29798 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
29799 than necessarily for this particular distribution. Use
29800 REPORT_BUGS_TO for where to report bugs.
29801 * INSTALL: Regenerated.
29802 * manual/libc.texinfo: Include pkgvers.texi.
29803 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
29804 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
29805 (print_version): Use PKGVERSION.
29806 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
29807 (print_version): Use PKGVERSION.
29808 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
29809 (print_version): Use PKGVERSION.
29810 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
29811 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
29812 macro.
29813 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
29814 (print_version): Use PKGVERSION.
29815 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
29816 (print_version): Use PKGVERSION.
29817 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
29818 and PKGVERSION.
29819
92e4b6a9
JM
29820 * timezone/checktab.awk: Update from tzcode 2012i.
29821 * timezone/ialloc.c: Likewise.
29822 * timezone/private.h: Likewise.
29823 * timezone/scheck.c: Likewise.
29824 * timezone/tzfile.h: Likewise.
29825 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
29826 (TZVERSION): Hardcode tzcode version number.
29827 * timezone/zdump.c: Update from tzcode 2012i.
29828 * timezone/zic.c: Likewise.
29829 * timezone/version.h: New file.
29830 * timezone/README: Describe version.h. Update upstream location.
29831
9bde902c
JM
29832 [BZ #14824]
29833 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
29834 (mktemp): Enable declaration.
29835 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
29836 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
29837 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
29838 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
29839 Likewise.
29840 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
29841 Likewise.
29842 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
29843 Likewise.
29844 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
29845 Likewise.
29846 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
29847 Likewise.
29848 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
29849 Likewise.
29850
fb1ae1ee
JM
29851 [BZ #14821]
29852 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
29853 offset in buffer as u_int32_t not u_long. Consistently use memcpy
29854 for copies of such integer values.
29855 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
29856 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
29857
2c1adbcb
AJ
298582012-11-09 Andreas Jaeger <aj@suse.de>
29859
29860 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
29861 definitions and declarations that are provided by
29862 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
29863
d0f8457e
AK
298642012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29865
3a235abb 29866 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
d0f8457e
AK
29867 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
29868 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
29869 definition.
29870
57241e26
MS
298712012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
29872
29873 * elf/elf.h: Update comment before AArch64 relocations.
29874
60e8270d
DM
298752012-11-07 David S. Miller <davem@davemloft.net>
29876
29877 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
29878 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
29879 (__start_context): Declare.
29880 (__makecontext_ret): Delete.
29881 (__makecontext): Hook up __start_context instead of
29882 __makecontext_ret.
29883 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
29884 (sysdep_routines): Add __start_context when in stdlib.
29885
0fbb0fbc
JM
298862012-11-07 Joseph Myers <joseph@codesourcery.com>
29887
29888 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
29889 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
29890 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
29891 hardcoded "nm".
29892 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
29893 (READELF): New variable. Use it instead of hardcoded "readelf".
29894
eb48db7e
L
298952012-11-07 H.J. Lu <hongjiu.lu@intel.com>
29896
29897 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
29898 * sysdeps/x86/Makefile: Here.
29899 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
29900 * sysdeps/x86/tst-xmmymm.sh: This.
29901
05bcf62a
JM
299022012-11-07 Joseph Myers <joseph@codesourcery.com>
29903
c4b6cf53
JM
29904 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
29905 expectations.
29906 [UNIX98] (pthread_barrier_t): Do not expect.
29907 [UNIX98] (pthread_barrierattr_t): Likewise.
29908 [UNIX98] (pthread_spinlock_t): Likewise.
29909 [UNIX98] (pthread_barrier_destroy): Likewise.
29910 [UNIX98] (pthread_barrier_init): Likewise.
29911 [UNIX98] (pthread_barrier_wait): Likewise.
29912 [UNIX98] (pthread_barrierattr_destroy): Likewise.
29913 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
29914 [UNIX98] (pthread_barrierattr_init): Likewise.
29915 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
29916 [UNIX98] (pthread_getcpuclockid): Likewise.
29917 [UNIX98] (pthread_mutex_timedlock): Likewise.
29918 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
29919 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
29920 [UNIX98] (pthread_sigmask): Likewise.
29921 [UNIX98] (pthread_spin_destroy): Likewise.
29922 [UNIX98] (pthread_spin_init): Likewise.
29923 [UNIX98] (pthread_spin_lock): Likewise.
29924 [UNIX98] (pthread_spin_trylock): Likewise.
29925 [UNIX98] (pthread_spin_unlock): Likewise.
29926 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
29927 Do not expect.
29928 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
29929 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
29930 [XPG3 || XPG4] (pthread_cond_t): Likewise.
29931 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
29932 [XPG3 || XPG4] (pthread_key_t): Likewise.
29933 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
29934 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
29935 [XPG3 || XPG4] (pthread_once_t): Likewise.
29936 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
29937 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
29938 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
29939 [XPG3 || XPG4] (pthread_t): Likewise.
29940
cbe6e120
JM
29941 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
29942 not expect.
29943 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
29944
1b126443
JM
29945 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
29946 Change function return type to int.
29947
b961a573
JM
29948 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
29949 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
29950 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
29951 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
29952 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
29953 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
29954 [!POSIX] (posix_madvise): Likewise.
29955 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
29956 && !UNIX98].
29957 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
29958 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
29959 (mode_t): Likewise.
29960 (posix_mem_offset): Likewise.
29961 (posix_typed_mem_get_info): Likewise.
29962 (posix_typed_mem_open): Likewise.
29963
9e188909
JM
29964 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
29965 Change condition to [XOPEN2K8].
29966
05bcf62a
JM
29967 * conform/conformtest.pl: Preprocess allow-header data with -x c
29968 instead of from stdin.
29969 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
29970 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
29971 [C99-based standards] (cerfc): Likewise.
29972 [C99-based standards] (cexp2): Likewise.
29973 [C99-based standards] (cexpm1): Likewise.
29974 [C99-based standards] (clog10): Likewise.
29975 [C99-based standards] (clog1p): Likewise.
29976 [C99-based standards] (clog2): Likewise.
29977 [C99-based standards] (clgamma): Likewise.
29978 [C99-based standards] (ctgamma): Likewise.
29979 [C99-based standards] (cerff): Likewise.
29980 [C99-based standards] (cerfcf): Likewise.
29981 [C99-based standards] (cexp2f): Likewise.
29982 [C99-based standards] (cexpm1f): Likewise.
29983 [C99-based standards] (clog10f): Likewise.
29984 [C99-based standards] (clog1pf): Likewise.
29985 [C99-based standards] (clog2f): Likewise.
29986 [C99-based standards] (clgammaf): Likewise.
29987 [C99-based standards] (ctgammaf): Likewise.
29988 [C99-based standards] (cerfl): Likewise.
29989 [C99-based standards] (cerfcl): Likewise.
29990 [C99-based standards] (cexp2l): Likewise.
29991 [C99-based standards] (cexpm1l): Likewise.
29992 [C99-based standards] (clog10l): Likewise.
29993 [C99-based standards] (clog1pl): Likewise.
29994 [C99-based standards] (clog2l): Likewise.
29995 [C99-based standards] (clgammal): Likewise.
29996 [C99-based standards] (ctgammal): Likewise.
29997 * conform/data/inttypes.h-data [C99-based standards]: Include
29998 stdint.h-data. Remove all expectations for stdint.h contents.
29999 [C99-based standards] (PRI*): Do not allow.
30000 [C99-based standards] (SCN*): Likewise.
30001 [C99-based standards] (*_t): Likewise.
30002 [C99-based-standards] (PRId8): Expect macro.
30003 [C99-based-standards] (PRIi8): Likewise.
30004 [C99-based-standards] (PRIo8): Likewise.
30005 [C99-based-standards] (PRIu8): Likewise.
30006 [C99-based-standards] (PRIx8): Likewise.
30007 [C99-based-standards] (PRIX8): Likewise.
30008 [C99-based-standards] (SCNd8): Likewise.
30009 [C99-based-standards] (SCNi8): Likewise.
30010 [C99-based-standards] (SCNo8): Likewise.
30011 [C99-based-standards] (SCNu8): Likewise.
30012 [C99-based-standards] (SCNx8): Likewise.
30013 [C99-based-standards] (PRIdLEAST8): Likewise.
30014 [C99-based-standards] (PRIiLEAST8): Likewise.
30015 [C99-based-standards] (PRIoLEAST8): Likewise.
30016 [C99-based-standards] (PRIuLEAST8): Likewise.
30017 [C99-based-standards] (PRIxLEAST8): Likewise.
30018 [C99-based-standards] (PRIXLEAST8): Likewise.
30019 [C99-based-standards] (SCNdLEAST8): Likewise.
30020 [C99-based-standards] (SCNiLEAST8): Likewise.
30021 [C99-based-standards] (SCNoLEAST8): Likewise.
30022 [C99-based-standards] (SCNuLEAST8): Likewise.
30023 [C99-based-standards] (SCNxLEAST8): Likewise.
30024 [C99-based-standards] (PRIdFAST8): Likewise.
30025 [C99-based-standards] (PRIiFAST8): Likewise.
30026 [C99-based-standards] (PRIoFAST8): Likewise.
30027 [C99-based-standards] (PRIuFAST8): Likewise.
30028 [C99-based-standards] (PRIxFAST8): Likewise.
30029 [C99-based-standards] (PRIXFAST8): Likewise.
30030 [C99-based-standards] (SCNdFAST8): Likewise.
30031 [C99-based-standards] (SCNiFAST8): Likewise.
30032 [C99-based-standards] (SCNoFAST8): Likewise.
30033 [C99-based-standards] (SCNuFAST8): Likewise.
30034 [C99-based-standards] (SCNxFAST8): Likewise.
30035 [C99-based-standards] (PRId16): Likewise.
30036 [C99-based-standards] (PRIi16): Likewise.
30037 [C99-based-standards] (PRIo16): Likewise.
30038 [C99-based-standards] (PRIu16): Likewise.
30039 [C99-based-standards] (PRIx16): Likewise.
30040 [C99-based-standards] (PRIX16): Likewise.
30041 [C99-based-standards] (SCNd16): Likewise.
30042 [C99-based-standards] (SCNi16): Likewise.
30043 [C99-based-standards] (SCNo16): Likewise.
30044 [C99-based-standards] (SCNu16): Likewise.
30045 [C99-based-standards] (SCNx16): Likewise.
30046 [C99-based-standards] (PRIdLEAST16): Likewise.
30047 [C99-based-standards] (PRIiLEAST16): Likewise.
30048 [C99-based-standards] (PRIoLEAST16): Likewise.
30049 [C99-based-standards] (PRIuLEAST16): Likewise.
30050 [C99-based-standards] (PRIxLEAST16): Likewise.
30051 [C99-based-standards] (PRIXLEAST16): Likewise.
30052 [C99-based-standards] (SCNdLEAST16): Likewise.
30053 [C99-based-standards] (SCNiLEAST16): Likewise.
30054 [C99-based-standards] (SCNoLEAST16): Likewise.
30055 [C99-based-standards] (SCNuLEAST16): Likewise.
30056 [C99-based-standards] (SCNxLEAST16): Likewise.
30057 [C99-based-standards] (PRIdFAST16): Likewise.
30058 [C99-based-standards] (PRIiFAST16): Likewise.
30059 [C99-based-standards] (PRIoFAST16): Likewise.
30060 [C99-based-standards] (PRIuFAST16): Likewise.
30061 [C99-based-standards] (PRIxFAST16): Likewise.
30062 [C99-based-standards] (PRIXFAST16): Likewise.
30063 [C99-based-standards] (SCNdFAST16): Likewise.
30064 [C99-based-standards] (SCNiFAST16): Likewise.
30065 [C99-based-standards] (SCNoFAST16): Likewise.
30066 [C99-based-standards] (SCNuFAST16): Likewise.
30067 [C99-based-standards] (SCNxFAST16): Likewise.
30068 [C99-based-standards] (PRId32): Likewise.
30069 [C99-based-standards] (PRIi32): Likewise.
30070 [C99-based-standards] (PRIo32): Likewise.
30071 [C99-based-standards] (PRIu32): Likewise.
30072 [C99-based-standards] (PRIx32): Likewise.
30073 [C99-based-standards] (PRIX32): Likewise.
30074 [C99-based-standards] (SCNd32): Likewise.
30075 [C99-based-standards] (SCNi32): Likewise.
30076 [C99-based-standards] (SCNo32): Likewise.
30077 [C99-based-standards] (SCNu32): Likewise.
30078 [C99-based-standards] (SCNx32): Likewise.
30079 [C99-based-standards] (PRIdLEAST32): Likewise.
30080 [C99-based-standards] (PRIiLEAST32): Likewise.
30081 [C99-based-standards] (PRIoLEAST32): Likewise.
30082 [C99-based-standards] (PRIuLEAST32): Likewise.
30083 [C99-based-standards] (PRIxLEAST32): Likewise.
30084 [C99-based-standards] (PRIXLEAST32): Likewise.
30085 [C99-based-standards] (SCNdLEAST32): Likewise.
30086 [C99-based-standards] (SCNiLEAST32): Likewise.
30087 [C99-based-standards] (SCNoLEAST32): Likewise.
30088 [C99-based-standards] (SCNuLEAST32): Likewise.
30089 [C99-based-standards] (SCNxLEAST32): Likewise.
30090 [C99-based-standards] (PRIdFAST32): Likewise.
30091 [C99-based-standards] (PRIiFAST32): Likewise.
30092 [C99-based-standards] (PRIoFAST32): Likewise.
30093 [C99-based-standards] (PRIuFAST32): Likewise.
30094 [C99-based-standards] (PRIxFAST32): Likewise.
30095 [C99-based-standards] (PRIXFAST32): Likewise.
30096 [C99-based-standards] (SCNdFAST32): Likewise.
30097 [C99-based-standards] (SCNiFAST32): Likewise.
30098 [C99-based-standards] (SCNoFAST32): Likewise.
30099 [C99-based-standards] (SCNuFAST32): Likewise.
30100 [C99-based-standards] (SCNxFAST32): Likewise.
30101 [C99-based-standards] (PRId64): Likewise.
30102 [C99-based-standards] (PRIi64): Likewise.
30103 [C99-based-standards] (PRIo64): Likewise.
30104 [C99-based-standards] (PRIu64): Likewise.
30105 [C99-based-standards] (PRIx64): Likewise.
30106 [C99-based-standards] (PRIX64): Likewise.
30107 [C99-based-standards] (SCNd64): Likewise.
30108 [C99-based-standards] (SCNi64): Likewise.
30109 [C99-based-standards] (SCNo64): Likewise.
30110 [C99-based-standards] (SCNu64): Likewise.
30111 [C99-based-standards] (SCNx64): Likewise.
30112 [C99-based-standards] (PRIdLEAST64): Likewise.
30113 [C99-based-standards] (PRIiLEAST64): Likewise.
30114 [C99-based-standards] (PRIoLEAST64): Likewise.
30115 [C99-based-standards] (PRIuLEAST64): Likewise.
30116 [C99-based-standards] (PRIxLEAST64): Likewise.
30117 [C99-based-standards] (PRIXLEAST64): Likewise.
30118 [C99-based-standards] (SCNdLEAST64): Likewise.
30119 [C99-based-standards] (SCNiLEAST64): Likewise.
30120 [C99-based-standards] (SCNoLEAST64): Likewise.
30121 [C99-based-standards] (SCNuLEAST64): Likewise.
30122 [C99-based-standards] (SCNxLEAST64): Likewise.
30123 [C99-based-standards] (PRIdFAST64): Likewise.
30124 [C99-based-standards] (PRIiFAST64): Likewise.
30125 [C99-based-standards] (PRIoFAST64): Likewise.
30126 [C99-based-standards] (PRIuFAST64): Likewise.
30127 [C99-based-standards] (PRIxFAST64): Likewise.
30128 [C99-based-standards] (PRIXFAST64): Likewise.
30129 [C99-based-standards] (SCNdFAST64): Likewise.
30130 [C99-based-standards] (SCNiFAST64): Likewise.
30131 [C99-based-standards] (SCNoFAST64): Likewise.
30132 [C99-based-standards] (SCNuFAST64): Likewise.
30133 [C99-based-standards] (SCNxFAST64): Likewise.
30134 [C99-based-standards] (PRIdMAX): Likewise.
30135 [C99-based-standards] (PRIiMAX): Likewise.
30136 [C99-based-standards] (PRIoMAX): Likewise.
30137 [C99-based-standards] (PRIuMAX): Likewise.
30138 [C99-based-standards] (PRIxMAX): Likewise.
30139 [C99-based-standards] (PRIXMAX): Likewise.
30140 [C99-based-standards] (SCNdMAX): Likewise.
30141 [C99-based-standards] (SCNiMAX): Likewise.
30142 [C99-based-standards] (SCNoMAX): Likewise.
30143 [C99-based-standards] (SCNuMAX): Likewise.
30144 [C99-based-standards] (SCNxMAX): Likewise.
30145 [C99-based-standards] (PRIdPTR): Likewise.
30146 [C99-based-standards] (PRIiPTR): Likewise.
30147 [C99-based-standards] (PRIoPTR): Likewise.
30148 [C99-based-standards] (PRIuPTR): Likewise.
30149 [C99-based-standards] (PRIxPTR): Likewise.
30150 [C99-based-standards] (PRIXPTR): Likewise.
30151 [C99-based-standards] (SCNdPTR): Likewise.
30152 [C99-based-standards] (SCNiPTR): Likewise.
30153 [C99-based-standards] (SCNoPTR): Likewise.
30154 [C99-based-standards] (SCNuPTR): Likewise.
30155 [C99-based-standards] (SCNxPTR): Likewise.
30156 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
30157 allow.
30158 * conform/data/stdint.h-data: Update comments to clarify
30159 requirements.
30160 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
30161 type.
30162 [C99-based standards] (INT8_MAX): Likewise.
30163 [C99-based standards] (INT16_MIN): Likewise.
30164 [C99-based standards] (INT16_MAX): Likewise.
30165 [C99-based standards] (INT32_MIN): Likewise.
30166 [C99-based standards] (INT32_MAX): Likewise.
30167 [C99-based standards] (INT64_MIN): Likewise.
30168 [C99-based standards] (INT64_MAX): Likewise.
30169 [C99-based standards] (UINT8_MAX): Likewise.
30170 [C99-based standards] (UINT16_MAX): Likewise.
30171 [C99-based standards] (UINT32_MAX): Likewise.
30172 [C99-based standards] (UINT64_MAX): Likewise.
30173 [C99-based standards] (INT_LEAST8_MIN): Likewise.
30174 [C99-based standards] (INT_LEAST8_MAX): Likewise.
30175 [C99-based standards] (INT_LEAST16_MIN): Likewise.
30176 [C99-based standards] (INT_LEAST16_MAX): Likewise.
30177 [C99-based standards] (INT_LEAST32_MIN): Likewise.
30178 [C99-based standards] (INT_LEAST32_MAX): Likewise.
30179 [C99-based standards] (INT_LEAST64_MIN): Likewise.
30180 [C99-based standards] (INT_LEAST64_MAX): Likewise.
30181 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
30182 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
30183 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
30184 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
30185 [C99-based standards] (INT_FAST8_MIN): Likewise.
30186 [C99-based standards] (INT_FAST8_MAX): Likewise.
30187 [C99-based standards] (INT_FAST16_MIN): Likewise.
30188 [C99-based standards] (INT_FAST16_MAX): Likewise.
30189 [C99-based standards] (INT_FAST32_MIN): Likewise.
30190 [C99-based standards] (INT_FAST32_MAX): Likewise.
30191 [C99-based standards] (INT_FAST64_MIN): Likewise.
30192 [C99-based standards] (INT_FAST64_MAX): Likewise.
30193 [C99-based standards] (UINT_FAST8_MAX): Likewise.
30194 [C99-based standards] (UINT_FAST16_MAX): Likewise.
30195 [C99-based standards] (UINT_FAST32_MAX): Likewise.
30196 [C99-based standards] (UINT_FAST64_MAX): Likewise.
30197 [C99-based standards] (INTPTR_MIN): Likewise.
30198 [C99-based standards] (INTPTR_MAX): Likewise.
30199 [C99-based standards] (UINTPTR_MAX): Likewise.
30200 [C99-based standards] (INTMAX_MIN): Likewise.
30201 [C99-based standards] (INTMAX_MAX): Likewise.
30202 [C99-based standards] (UINTMAX_MAX): Likewise.
30203 [C99-based standards] (PTRDIFF_MIN): Likewise.
30204 [C99-based standards] (PTRDIFF_MAX): Likewise.
30205 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
30206 [C99-based standards] (SIZE_MAX): Likewise.
30207 [C99-based standards] (WCHAR_MAX): Likewise.
30208 [C99-based standards] (WINT_MAX): Likewise.
30209 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
30210 constraint on value.
30211 [C99-based standards] (WCHAR_MIN): Likewise.
30212 [C99-based standards] (WINT_MIN): Likewise.
30213 [C99-based standards] (*_t): Allow.
30214 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
30215 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
30216 Include math.h-data and complex.h-data. Remove all expectations
30217 of math.h and complex.h contents.
30218 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
30219 at end of line.
30220 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
30221 (struct tm): Expect tag.
30222 [C99-based-standards] (wcstof): Expect function.
30223 [C99-based-standards] (wcstold): Likewise.
30224 [C99-based-standards] (wcstoll): Likewise.
30225 [C99-based-standards] (wcstoull): Likewise.
30226 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
30227 macro-int-constant. Specify type.
30228 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
30229 constraint on value.
30230 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
30231 Specify type.
30232 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
30233 Specify value.
30234 [ISO C standards]: Do not allow headers.
30235 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
30236 wcs[abcdefghijklmnopqrstuvwxyz]*.
30237 [ISO C standards] (*_t): Do not allow.
30238 * conform/data/wctype.h-data [C99-based standards] (iswblank):
30239 Expect function.
30240 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
30241 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
30242 Specify type.
30243 [ISO C standards]: Do not allow headers.
30244 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
30245 is[abcdefghijklmnopqrstuvwxyz]*.
30246 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
30247 to[abcdefghijklmnopqrstuvwxyz]*.
30248 [ISO C standards] (*_t): Do not allow.
30249 * conform/data/stdalign.h-data: New file.
30250 * conform/data/stdbool.h-data: Likewise.
30251 * conform/data/stdnoreturn.h-data: Likewise.
30252
7514feb8
RM
302532012-11-07 Roland McGrath <roland@hack.frob.com>
30254
30255 [BZ #14815]
30256 * manual/filesys.texi (Directory Entries): Typo fix.
30257 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
30258
19b2ecfc
MS
302592012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
30260
30261 * elf/elf.h (EM_AARCH64): New macro.
30262 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
30263 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
30264 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
30265 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
30266 (R_AARCH64_TLSDESC): Likewise.
30267 (NT_ARM_TLS): Likewise.
30268 (NT_ARM_HW_BREAK): Likewise.
30269 (NT_ARM_HW_WATCH): Likewise.
30270
60e235ee
JM
302712012-11-07 Joseph Myers <joseph@codesourcery.com>
30272
30273 [BZ #14811]
30274 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
30275 (__ieee754_powl): Saturate nonzero exponents with absolute value
30276 below 0x1p-79 to +/- 0x1p-79.
30277 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
30278 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
30279 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
30280 nonzero exponents with absolute value below 0x1p-32 to +/-
30281 0x1p-32.
30282 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
30283 (__ieee754_powl): Saturate nonzero exponents with absolute value
30284 below 0x1p-79 to +/- 0x1p-79.
30285 * math/libm-test.inc (pow_test): Add more tests.
30286
0ab234b7
AK
302872012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30288
30289 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
30290 _dl_s390_cap_flags with kernel. Increase string length.
30291 (_dl_s390_platforms): Add z196 and zEC12.
30292
45832f74
JM
302932012-11-07 Joseph Myers <joseph@codesourcery.com>
30294
30295 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
30296 Change XOPEN21K to XOPEN2K.
30297
19218757
MK
302982012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
30299
30300 * string/memmove.c: Use memcpy when possible.
30301
c5f45721
AJ
303022012-11-06 Andreas Jaeger <aj@suse.de>
30303
30304 * po/eo.po: Update from translation team.
30305
82477c28
JM
303062012-11-06 Joseph Myers <joseph@codesourcery.com>
30307
30308 [BZ #14793]
30309 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
30310 exponent and small x and y exponents, scale x or y up. Increase
30311 by 2 the exponent used in scaling up.
30312 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
30313 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
30314 * math/libm-test.inc (fma_test): Add more tests.
30315 (fma_test_towardzero): Likewise.
30316 (fma_test_downward): Likewise.
30317 (fma_test_upward): Likewise.
30318
99252c8c
JM
303192012-11-05 Joseph Myers <joseph@codesourcery.com>
30320
acfa885f
JM
30321 [BZ #14805]
30322 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
30323 fenv_t *.
30324
99252c8c
JM
30325 [BZ #14801]
30326 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
30327 namespace for names of struct fields.
30328 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
30329 fenv_t fields.
30330 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
30331 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
30332
d6d98dea
ST
303332012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
30334
30335 [BZ #3665]
30336 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
30337
e10bb107
TS
303382012-11-04 Thomas Schwinge <thomas@codesourcery.com>
30339
30340 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
30341 PTR_DEMANGLE.
30342
30343 [BZ #5246]
30344 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
30345 PTR_DEMANGLE.
30346
a0c2940d
JM
303472012-11-04 Joseph Myers <joseph@codesourcery.com>
30348
30349 [BZ #14797]
30350 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
30351 definitely overflow as x * y not x * y + z.
30352 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
30353 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
30354 * math/libm-test.inc (fma_test): Add more tests.
30355 (fma_test_towardzero): Likewise.
30356 (fma_test_downward): Likewise.
30357 (fma_test_upward): Likewise.
30358
b830319d
TS
303592012-11-04 Thomas Schwinge <thomas@codesourcery.com>
30360
30361 [BZ #157]
30362
30363 * include/stub-tag.h: Remove file.
30364 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
30365 '#include' of it.
30366 * manual/maint.texi (Porting): Don't reference it.
30367 * Makerules ($(objpfx)stubs): Likewise.
30368 * dirent/closedir.c: Don't include <stub-tag.h>.
30369 * dirent/dirfd.c: Likewise.
30370 * dirent/fdopendir.c: Likewise.
30371 * dirent/getdents.c: Likewise.
30372 * dirent/getdents64.c: Likewise.
30373 * dirent/opendir.c: Likewise.
30374 * dirent/readdir.c: Likewise.
30375 * dirent/readdir64.c: Likewise.
30376 * dirent/readdir64_r.c: Likewise.
30377 * dirent/readdir_r.c: Likewise.
30378 * dirent/rewinddir.c: Likewise.
30379 * dirent/seekdir.c: Likewise.
30380 * dirent/telldir.c: Likewise.
30381 * gmon/profil.c: Likewise.
30382 * grp/setgroups.c: Likewise.
30383 * inet/if_index.c: Likewise.
30384 * io/access.c: Likewise.
30385 * io/chdir.c: Likewise.
30386 * io/chmod.c: Likewise.
30387 * io/chown.c: Likewise.
30388 * io/close.c: Likewise.
30389 * io/dup.c: Likewise.
30390 * io/dup2.c: Likewise.
30391 * io/dup3.c: Likewise.
30392 * io/euidaccess.c: Likewise.
30393 * io/faccessat.c: Likewise.
30394 * io/fchdir.c: Likewise.
30395 * io/fchmod.c: Likewise.
30396 * io/fchmodat.c: Likewise.
30397 * io/fchown.c: Likewise.
30398 * io/fchownat.c: Likewise.
30399 * io/fcntl.c: Likewise.
30400 * io/flock.c: Likewise.
30401 * io/fstatfs.c: Likewise.
30402 * io/fstatfs64.c: Likewise.
30403 * io/fstatvfs.c: Likewise.
30404 * io/fstatvfs64.c: Likewise.
30405 * io/futimens.c: Likewise.
30406 * io/fxstat.c: Likewise.
30407 * io/fxstat64.c: Likewise.
30408 * io/fxstatat.c: Likewise.
30409 * io/fxstatat64.c: Likewise.
30410 * io/getcwd.c: Likewise.
30411 * io/isatty.c: Likewise.
30412 * io/lchmod.c: Likewise.
30413 * io/lchown.c: Likewise.
30414 * io/link.c: Likewise.
30415 * io/linkat.c: Likewise.
30416 * io/lseek.c: Likewise.
30417 * io/lseek64.c: Likewise.
30418 * io/lxstat64.c: Likewise.
30419 * io/mkdir.c: Likewise.
30420 * io/mkdirat.c: Likewise.
30421 * io/mkfifo.c: Likewise.
30422 * io/mkfifoat.c: Likewise.
30423 * io/open.c: Likewise.
30424 * io/open64.c: Likewise.
30425 * io/openat.c: Likewise.
30426 * io/openat64.c: Likewise.
30427 * io/pipe.c: Likewise.
30428 * io/pipe2.c: Likewise.
30429 * io/poll.c: Likewise.
30430 * io/posix_fadvise.c: Likewise.
30431 * io/posix_fadvise64.c: Likewise.
30432 * io/posix_fallocate.c: Likewise.
30433 * io/posix_fallocate64.c: Likewise.
30434 * io/read.c: Likewise.
30435 * io/readlink.c: Likewise.
30436 * io/readlinkat.c: Likewise.
30437 * io/rmdir.c: Likewise.
30438 * io/sendfile.c: Likewise.
30439 * io/sendfile64.c: Likewise.
30440 * io/statfs.c: Likewise.
30441 * io/statfs64.c: Likewise.
30442 * io/statvfs.c: Likewise.
30443 * io/statvfs64.c: Likewise.
30444 * io/symlink.c: Likewise.
30445 * io/symlinkat.c: Likewise.
30446 * io/ttyname.c: Likewise.
30447 * io/ttyname_r.c: Likewise.
30448 * io/umask.c: Likewise.
30449 * io/unlink.c: Likewise.
30450 * io/unlinkat.c: Likewise.
30451 * io/utime.c: Likewise.
30452 * io/utimensat.c: Likewise.
30453 * io/write.c: Likewise.
30454 * io/xmknod.c: Likewise.
30455 * io/xmknodat.c: Likewise.
30456 * io/xstat.c: Likewise.
30457 * io/xstat64.c: Likewise.
30458 * login/getpt.c: Likewise.
30459 * login/grantpt.c: Likewise.
30460 * login/unlockpt.c: Likewise.
30461 * math/e_acoshl.c: Likewise.
30462 * math/e_acosl.c: Likewise.
30463 * math/e_asinl.c: Likewise.
30464 * math/e_atan2l.c: Likewise.
30465 * math/e_atanhl.c: Likewise.
30466 * math/e_coshl.c: Likewise.
30467 * math/e_expl.c: Likewise.
30468 * math/e_fmodl.c: Likewise.
30469 * math/e_gammal_r.c: Likewise.
30470 * math/e_hypotl.c: Likewise.
30471 * math/e_j0l.c: Likewise.
30472 * math/e_j1l.c: Likewise.
30473 * math/e_jnl.c: Likewise.
30474 * math/e_lgammal_r.c: Likewise.
30475 * math/e_log10l.c: Likewise.
30476 * math/e_log2l.c: Likewise.
30477 * math/e_logl.c: Likewise.
30478 * math/e_powl.c: Likewise.
30479 * math/e_rem_pio2l.c: Likewise.
30480 * math/e_sinhl.c: Likewise.
30481 * math/e_sqrtl.c: Likewise.
30482 * math/fclrexcpt.c: Likewise.
30483 * math/fedisblxcpt.c: Likewise.
30484 * math/feenablxcpt.c: Likewise.
30485 * math/fegetenv.c: Likewise.
30486 * math/fegetexcept.c: Likewise.
30487 * math/fegetround.c: Likewise.
30488 * math/feholdexcpt.c: Likewise.
30489 * math/fesetenv.c: Likewise.
30490 * math/fesetround.c: Likewise.
30491 * math/feupdateenv.c: Likewise.
30492 * math/fgetexcptflg.c: Likewise.
30493 * math/fraiseexcpt.c: Likewise.
30494 * math/fsetexcptflg.c: Likewise.
30495 * math/ftestexcept.c: Likewise.
30496 * math/k_cosl.c: Likewise.
30497 * math/k_rem_pio2l.c: Likewise.
30498 * math/k_sinl.c: Likewise.
30499 * math/k_tanl.c: Likewise.
30500 * math/s_asinhl.c: Likewise.
30501 * math/s_atanl.c: Likewise.
30502 * math/s_cbrtl.c: Likewise.
30503 * math/s_erfl.c: Likewise.
30504 * math/s_expm1l.c: Likewise.
30505 * math/s_log1pl.c: Likewise.
30506 * math/s_tanhl.c: Likewise.
30507 * misc/acct.c: Likewise.
30508 * misc/brk.c: Likewise.
30509 * misc/chflags.c: Likewise.
30510 * misc/chroot.c: Likewise.
30511 * misc/fchflags.c: Likewise.
30512 * misc/fgetxattr.c: Likewise.
30513 * misc/flistxattr.c: Likewise.
30514 * misc/fremovexattr.c: Likewise.
30515 * misc/fsetxattr.c: Likewise.
30516 * misc/fsync.c: Likewise.
30517 * misc/ftruncate.c: Likewise.
30518 * misc/futimes.c: Likewise.
30519 * misc/futimesat.c: Likewise.
30520 * misc/getdomain.c: Likewise.
30521 * misc/getdtsz.c: Likewise.
30522 * misc/gethostid.c: Likewise.
30523 * misc/gethostname.c: Likewise.
30524 * misc/getloadavg.c: Likewise.
30525 * misc/getpagesize.c: Likewise.
30526 * misc/getsysstats.c: Likewise.
30527 * misc/getxattr.c: Likewise.
30528 * misc/gtty.c: Likewise.
30529 * misc/ioctl.c: Likewise.
30530 * misc/lgetxattr.c: Likewise.
30531 * misc/listxattr.c: Likewise.
30532 * misc/llistxattr.c: Likewise.
30533 * misc/lremovexattr.c: Likewise.
30534 * misc/lsetxattr.c: Likewise.
30535 * misc/lutimes.c: Likewise.
30536 * misc/madvise.c: Likewise.
30537 * misc/mincore.c: Likewise.
30538 * misc/mlock.c: Likewise.
30539 * misc/mlockall.c: Likewise.
30540 * misc/mmap.c: Likewise.
30541 * misc/mprotect.c: Likewise.
30542 * misc/msync.c: Likewise.
30543 * misc/munlock.c: Likewise.
30544 * misc/munlockall.c: Likewise.
30545 * misc/munmap.c: Likewise.
30546 * misc/preadv.c: Likewise.
30547 * misc/preadv64.c: Likewise.
30548 * misc/ptrace.c: Likewise.
30549 * misc/pwritev.c: Likewise.
30550 * misc/pwritev64.c: Likewise.
30551 * misc/readv.c: Likewise.
30552 * misc/reboot.c: Likewise.
30553 * misc/remap_file_pages.c: Likewise.
30554 * misc/removexattr.c: Likewise.
30555 * misc/revoke.c: Likewise.
30556 * misc/select.c: Likewise.
30557 * misc/setdomain.c: Likewise.
30558 * misc/setegid.c: Likewise.
30559 * misc/seteuid.c: Likewise.
30560 * misc/sethostid.c: Likewise.
30561 * misc/sethostname.c: Likewise.
30562 * misc/setregid.c: Likewise.
30563 * misc/setreuid.c: Likewise.
30564 * misc/setxattr.c: Likewise.
30565 * misc/sstk.c: Likewise.
30566 * misc/stty.c: Likewise.
30567 * misc/swapoff.c: Likewise.
30568 * misc/swapon.c: Likewise.
30569 * misc/sync.c: Likewise.
30570 * misc/syncfs.c: Likewise.
30571 * misc/syscall.c: Likewise.
30572 * misc/truncate.c: Likewise.
30573 * misc/ualarm.c: Likewise.
30574 * misc/usleep.c: Likewise.
30575 * misc/ustat.c: Likewise.
30576 * misc/utimes.c: Likewise.
30577 * misc/vhangup.c: Likewise.
30578 * misc/writev.c: Likewise.
30579 * posix/_exit.c: Likewise.
30580 * posix/alarm.c: Likewise.
30581 * posix/execve.c: Likewise.
30582 * posix/fexecve.c: Likewise.
30583 * posix/fork.c: Likewise.
30584 * posix/fpathconf.c: Likewise.
30585 * posix/getaddrinfo.c: Likewise.
30586 * posix/getegid.c: Likewise.
30587 * posix/geteuid.c: Likewise.
30588 * posix/getgid.c: Likewise.
30589 * posix/getgroups.c: Likewise.
30590 * posix/getlogin.c: Likewise.
30591 * posix/getlogin_r.c: Likewise.
30592 * posix/getpgid.c: Likewise.
30593 * posix/getpid.c: Likewise.
30594 * posix/getppid.c: Likewise.
30595 * posix/getresgid.c: Likewise.
30596 * posix/getresuid.c: Likewise.
30597 * posix/getsid.c: Likewise.
30598 * posix/getuid.c: Likewise.
30599 * posix/glob64.c: Likewise.
30600 * posix/nanosleep.c: Likewise.
30601 * posix/pathconf.c: Likewise.
30602 * posix/pause.c: Likewise.
30603 * posix/posix_madvise.c: Likewise.
30604 * posix/pread.c: Likewise.
30605 * posix/pread64.c: Likewise.
30606 * posix/pwrite.c: Likewise.
30607 * posix/pwrite64.c: Likewise.
30608 * posix/sched_getaffinity.c: Likewise.
30609 * posix/sched_getp.c: Likewise.
30610 * posix/sched_gets.c: Likewise.
30611 * posix/sched_primax.c: Likewise.
30612 * posix/sched_primin.c: Likewise.
30613 * posix/sched_rr_gi.c: Likewise.
30614 * posix/sched_setaffinity.c: Likewise.
30615 * posix/sched_setp.c: Likewise.
30616 * posix/sched_sets.c: Likewise.
30617 * posix/sched_yield.c: Likewise.
30618 * posix/setgid.c: Likewise.
30619 * posix/setlogin.c: Likewise.
30620 * posix/setpgid.c: Likewise.
30621 * posix/setresgid.c: Likewise.
30622 * posix/setresuid.c: Likewise.
30623 * posix/setsid.c: Likewise.
30624 * posix/setuid.c: Likewise.
30625 * posix/sleep.c: Likewise.
30626 * posix/spawni.c: Likewise.
30627 * posix/sysconf.c: Likewise.
30628 * posix/times.c: Likewise.
30629 * posix/wait.c: Likewise.
30630 * posix/wait3.c: Likewise.
30631 * posix/wait4.c: Likewise.
30632 * posix/waitpid.c: Likewise.
30633 * resolv/gai_sigqueue.c: Likewise.
30634 * resource/getpriority.c: Likewise.
30635 * resource/getrlimit.c: Likewise.
30636 * resource/getrusage.c: Likewise.
30637 * resource/nice.c: Likewise.
30638 * resource/setpriority.c: Likewise.
30639 * resource/setrlimit.c: Likewise.
30640 * resource/ulimit.c: Likewise.
30641 * rt/aio_cancel.c: Likewise.
30642 * rt/aio_fsync.c: Likewise.
30643 * rt/aio_read.c: Likewise.
30644 * rt/aio_sigqueue.c: Likewise.
30645 * rt/aio_suspend.c: Likewise.
30646 * rt/aio_write.c: Likewise.
30647 * rt/clock_getres.c: Likewise.
30648 * rt/clock_gettime.c: Likewise.
30649 * rt/clock_nanosleep.c: Likewise.
30650 * rt/clock_settime.c: Likewise.
30651 * rt/lio_listio.c: Likewise.
30652 * rt/mq_close.c: Likewise.
30653 * rt/mq_getattr.c: Likewise.
30654 * rt/mq_notify.c: Likewise.
30655 * rt/mq_open.c: Likewise.
30656 * rt/mq_receive.c: Likewise.
30657 * rt/mq_send.c: Likewise.
30658 * rt/mq_setattr.c: Likewise.
30659 * rt/mq_timedreceive.c: Likewise.
30660 * rt/mq_timedsend.c: Likewise.
30661 * rt/mq_unlink.c: Likewise.
30662 * rt/shm_open.c: Likewise.
30663 * rt/shm_unlink.c: Likewise.
30664 * rt/timer_create.c: Likewise.
30665 * rt/timer_delete.c: Likewise.
30666 * rt/timer_getoverr.c: Likewise.
30667 * rt/timer_gettime.c: Likewise.
30668 * rt/timer_settime.c: Likewise.
30669 * setjmp/__longjmp.c: Likewise.
30670 * setjmp/setjmp.c: Likewise.
30671 * signal/kill.c: Likewise.
30672 * signal/killpg.c: Likewise.
30673 * signal/raise.c: Likewise.
30674 * signal/sigaction.c: Likewise.
30675 * signal/sigaltstack.c: Likewise.
30676 * signal/sigblock.c: Likewise.
30677 * signal/sigignore.c: Likewise.
30678 * signal/sigintr.c: Likewise.
30679 * signal/signal.c: Likewise.
30680 * signal/sigpause.c: Likewise.
30681 * signal/sigpending.c: Likewise.
30682 * signal/sigqueue.c: Likewise.
30683 * signal/sigreturn.c: Likewise.
30684 * signal/sigset.c: Likewise.
30685 * signal/sigsetmask.c: Likewise.
30686 * signal/sigstack.c: Likewise.
30687 * signal/sigsuspend.c: Likewise.
30688 * signal/sigtimedwait.c: Likewise.
30689 * signal/sigvec.c: Likewise.
30690 * signal/sigwait.c: Likewise.
30691 * signal/sigwaitinfo.c: Likewise.
30692 * signal/sysv_signal.c: Likewise.
30693 * socket/accept.c: Likewise.
30694 * socket/accept4.c: Likewise.
30695 * socket/bind.c: Likewise.
30696 * socket/connect.c: Likewise.
30697 * socket/getpeername.c: Likewise.
30698 * socket/getsockname.c: Likewise.
30699 * socket/getsockopt.c: Likewise.
30700 * socket/isfdtype.c: Likewise.
30701 * socket/listen.c: Likewise.
30702 * socket/recv.c: Likewise.
30703 * socket/recvfrom.c: Likewise.
30704 * socket/recvmsg.c: Likewise.
30705 * socket/send.c: Likewise.
30706 * socket/sendmsg.c: Likewise.
30707 * socket/sendto.c: Likewise.
30708 * socket/setsockopt.c: Likewise.
30709 * socket/shutdown.c: Likewise.
30710 * socket/sockatmark.c: Likewise.
30711 * socket/socket.c: Likewise.
30712 * socket/socketpair.c: Likewise.
30713 * stdio-common/ctermid.c: Likewise.
30714 * stdio-common/cuserid.c: Likewise.
30715 * stdio-common/remove.c: Likewise.
30716 * stdio-common/rename.c: Likewise.
30717 * stdio-common/renameat.c: Likewise.
30718 * stdio-common/tempname.c: Likewise.
30719 * stdlib/getcontext.c: Likewise.
30720 * stdlib/makecontext.c: Likewise.
30721 * stdlib/setcontext.c: Likewise.
30722 * stdlib/swapcontext.c: Likewise.
30723 * stdlib/system.c: Likewise.
30724 * streams/fattach.c: Likewise.
30725 * streams/fdetach.c: Likewise.
30726 * streams/getmsg.c: Likewise.
30727 * streams/getpmsg.c: Likewise.
30728 * streams/putmsg.c: Likewise.
30729 * streams/putpmsg.c: Likewise.
30730 * sysdeps/unix/bsd/getpt.c: Likewise.
30731 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
30732 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
30733 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
30734 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
30735 Likewise.
30736 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
30737 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
30738 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
30739 * sysvipc/msgctl.c: Likewise.
30740 * sysvipc/msgget.c: Likewise.
30741 * sysvipc/msgrcv.c: Likewise.
30742 * sysvipc/msgsnd.c: Likewise.
30743 * sysvipc/semctl.c: Likewise.
30744 * sysvipc/semget.c: Likewise.
30745 * sysvipc/semop.c: Likewise.
30746 * sysvipc/semtimedop.c: Likewise.
30747 * sysvipc/shmat.c: Likewise.
30748 * sysvipc/shmctl.c: Likewise.
30749 * sysvipc/shmdt.c: Likewise.
30750 * sysvipc/shmget.c: Likewise.
30751 * termios/tcdrain.c: Likewise.
30752 * termios/tcflow.c: Likewise.
30753 * termios/tcflush.c: Likewise.
30754 * termios/tcgetattr.c: Likewise.
30755 * termios/tcgetpgrp.c: Likewise.
30756 * termios/tcsendbrk.c: Likewise.
30757 * termios/tcsetattr.c: Likewise.
30758 * termios/tcsetpgrp.c: Likewise.
30759 * time/adjtime.c: Likewise.
30760 * time/clock.c: Likewise.
30761 * time/getitimer.c: Likewise.
30762 * time/gettimeofday.c: Likewise.
30763 * time/setitimer.c: Likewise.
30764 * time/settimeofday.c: Likewise.
30765 * time/stime.c: Likewise.
30766 * time/time.c: Likewise.
30767
307682012-11-04 Pino Toscano <toscano.pino@tiscali.it>
72e182e3 30769
a20492cf
PT
30770 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
30771 /usr/old/bin.
30772
72e182e3
PT
30773 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
30774 instead of spaces.
30775 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
30776
fbeafede
JM
307772012-11-03 Joseph Myers <joseph@codesourcery.com>
30778
5b5b04d6
JM
30779 [BZ #14796]
30780 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
30781 FE_TONEAREST before applying Dekker multiplication and Knuth
30782 addition. Clear inexact exceptions and check for exact zero
30783 results afterwards.
30784 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
30785 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
30786 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
30787 * math/libm-test.inc (fma_test): Add more tests.
30788 (fma_test_towardzero): Likewise.
30789 (fma_test_downward): Likewise.
30790 (fma_test_upward): Likewise.
30791 * sysdeps/generic/math_private.h (default_libc_fesetround): New
30792 function.
30793 (libc_fesetround): New macro.
30794 (libc_fesetroundf): Likewise.
30795 (libc_fesetroundl): Likewise.
30796 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
30797 function.
30798 (libc_fesetround_387): Likewise.
30799 (libc_fesetroundf): New macro.
30800 (libc_fesetround): Likewise.
30801 (libc_fesetroundl): Likewise.
30802 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
30803 function.
30804 (libc_fesetroundf): New macro.
30805 (libc_fesetround): Likewise.
30806 (libc_fesetroundl): Likewise.
30807 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
30808 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
30809 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
30810 libm_hidden_ver.
30811 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
30812 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
30813 libm_hidden_def.
30814 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
30815 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
30816 libm_hidden_ver.
30817 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
30818 libm_hidden_def.
30819
fbeafede
JM
30820 [BZ #3439]
30821 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
30822 integer constant usable in #if and use that to give value to enum
30823 constant.
30824 (FE_DIVBYZERO): Likewise.
30825 (FE_UNDERFLOW): Likewise.
30826 (FE_OVERFLOW): Likewise.
30827 (FE_INVALID): Likewise.
30828 (FE_INVALID_SNAN): Likewise.
30829 (FE_INVALID_ISI): Likewise.
30830 (FE_INVALID_IDI): Likewise.
30831 (FE_INVALID_ZDZ): Likewise.
30832 (FE_INVALID_IMZ): Likewise.
30833 (FE_INVALID_COMPARE): Likewise.
30834 (FE_INVALID_SOFTWARE): Likewise.
30835 (FE_INVALID_SQRT): Likewise.
30836 (FE_INVALID_INTEGER_CONVERSION): Likewise.
30837 (FE_TONEAREST): Likewise.
30838 (FE_TOWARDZERO): Likewise.
30839 (FE_UPWARD): Likewise.
30840 (FE_DOWNWARD): Likewise.
30841 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
30842 (FE_DIVBYZERO): Likewise.
30843 (FE_OVERFLOW): Likewise.
30844 (FE_UNDERFLOW): Likewise.
30845 (FE_INEXACT): Likewise.
30846 (FE_TONEAREST): Likewise.
30847 (FE_DOWNWARD): Likewise.
30848 (FE_UPWARD): Likewise.
30849 (FE_TOWARDZERO): Likewise.
30850 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
30851 (FE_UNDERFLOW): Likewise.
30852 (FE_OVERFLOW): Likewise.
30853 (FE_DIVBYZERO): Likewise.
30854 (FE_INVALID): Likewise.
30855 (FE_TONEAREST): Likewise.
30856 (FE_TOWARDZERO): Likewise.
30857 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
30858 (FE_OVERFLOW): Likewise.
30859 (FE_UNDERFLOW): Likewise.
30860 (FE_DIVBYZERO): Likewise.
30861 (FE_INEXACT): Likewise.
30862 (FE_TONEAREST): Likewise.
30863 (FE_TOWARDZERO): Likewise.
30864 (FE_UPWARD): Likewise.
30865 (FE_DOWNWARD): Likewise.
30866 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
30867 (FE_DIVBYZERO): Likewise.
30868 (FE_OVERFLOW): Likewise.
30869 (FE_UNDERFLOW): Likewise.
30870 (FE_INEXACT): Likewise.
30871 (FE_TONEAREST): Likewise.
30872 (FE_DOWNWARD): Likewise.
30873 (FE_UPWARD): Likewise.
30874 (FE_TOWARDZERO): Likewise.
30875
105ca950
CM
308762012-11-02 Chris Metcalf <cmetcalf@tilera.com>
30877
30878 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
30879
a542b389
AS
308802012-11-03 Andreas Schwab <schwab@linux-m68k.org>
30881
30882 * scripts/cross-test-ssh.sh (command): Use newlines to separate
30883 commands. Quote $PWD.
30884 (blacklist_exports): Don't use remove_newlines. Replace "declare
30885 -x" by "export".
30886 (remove_newlines): Remove.
30887
f62c8abc
L
308882012-11-02 H.J. Lu <hongjiu.lu@intel.com>
30889
30890 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
30891 * stdlib/stdlib.h (atof): Moved to ...
30892 * include/bits/stdlib-float.h: Here. New file.
30893 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
30894 * stdlib/bits/stdlib-float.h: New file.
30895 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
30896 -mno-sse -mno-mmx.
30897 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
30898 <xmmintrin.h>.
30899
0155d5b2
JM
309002012-11-02 Joseph Myers <joseph@codesourcery.com>
30901
a68d0680
JM
30902 * conform/conformtest.pl (@headers): Add fenv.h.
30903 * conform/data/fenv.h-data: New file.
30904 * include/fenv.h [_ISOMAC]: Disable all contents of file except
30905 include of <math/fenv.h>.
30906
caf7f573
JM
30907 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
30908 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
30909 && !UNIX98]. Enables tests for XOPEN2K8.
30910 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
30911 POSIX2008]: Likewise.
30912
6c073ad6
JM
30913 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
30914 (struct rusage): Do not expect type or its members.
30915
0155d5b2
JM
30916 [BZ #3439]
30917 * math/math.h (FP_NAN): Define macro to integer constant usable in
30918 #if and use that to give value to enum constant.
30919 (FP_INFINITE): Likewise.
30920 (FP_ZERO): Likewise.
30921 (FP_SUBNORMAL): Likewise.
30922 (FP_NORMAL): Likewise.
30923
b5dcacb4
AS
309242012-11-02 Andreas Schwab <schwab@linux-m68k.org>
30925
30926 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
30927 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
30928 arguments.
30929
f7934be8
RM
309302012-11-02 Roland McGrath <roland@hack.frob.com>
30931
30932 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
30933 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
30934 autoconf-time if not.
30935 * configure.in: Remove AC_PREREQ.
30936
d7d08bde
TMQMF
309372012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
30938
30939 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
30940 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
30941 of the internal implementation.
30942
dcdae19a
JM
309432012-11-02 Joseph Myers <joseph@codesourcery.com>
30944
30945 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
30946 except include of <misc/sys/syslog.h>.
30947
d6cffd3e
AS
309482012-11-01 Andreas Schwab <schwab@linux-m68k.org>
30949
30950 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
30951 function returns with a NULL context exit with zero.
30952
b3563932
TMQMF
309532012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
30954
30955 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
30956
b288a93d
L
309572012-11-01 H.J. Lu <hongjiu.lu@intel.com>
30958
30959 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
30960 (run_program_cmd): This.
30961 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
30962 (tst_langinfo): New variable. Use it.
30963
a2421a68
SAS
309642012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
30965
30966 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
30967 floating point opcodes.
30968
6f796e1b
TS
309692012-11-01 Thomas Schwinge <thomas@codesourcery.com>
30970
7402596b
TS
30971 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
30972 variable.
30973
d0d4f868
TS
30974 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
30975
6f796e1b
TS
30976 * sysdeps/mach/hurd/powerpc: Remove directory.
30977 * sysdeps/mach/powerpc: Likewise.
30978
4da224a2
AS
309792012-11-01 Andreas Schwab <schwab@linux-m68k.org>
30980
30981 * scripts/check-local-headers.sh: Ignore c++ headers.
30982
341dd673
TS
309832012-11-01 Thomas Schwinge <thomas@codesourcery.com>
30984
30985 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
30986 __libc_cleanup_region_start argument.
30987
473611b2
JM
309882012-11-01 Joseph Myers <joseph@codesourcery.com>
30989
30990 [BZ #14784]
30991 [BZ #14785]
30992 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
30993 x * y using scaling, not as x * y + z.
30994 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
30995 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
30996 * math/libm-test.inc (fma_test): Add more tests.
30997 (fma_test_towardzero): Likewise.
30998 (fma_test_downward): Likewise.
30999 (fma_test_upward): Likewise.
31000
4078da3d
TS
310012012-11-01 Thomas Schwinge <thomas@codesourcery.com>
31002
31003 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
31004
903252aa
JM
310052012-10-31 Joseph Myers <joseph@codesourcery.com>
31006
31007 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
31008 New variable.
31009
cbc818d0
TS
310102012-10-31 Thomas Schwinge <thomas@codesourcery.com>
31011
31012 * rt/tst-shm.c (worker): Correct checking for mmap failure.
31013
5a03cb1e
AS
310142012-10-31 Andreas Schwab <schwab@linux-m68k.org>
31015
31016 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
31017 Fix sort order.
31018 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
31019 Likewise.
31020
90aff2ff
TMQMF
310212012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
31022
31023 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
31024 Fix the order of the list for glibc 2.17.
31025 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
31026 Likewise.
31027
1818fcb7
AS
310282012-10-31 Andreas Schwab <schwab@linux-m68k.org>
31029
31030 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31031
ef82f4da
JM
310322012-10-31 Joseph Myers <joseph@codesourcery.com>
31033
16a0e2ec
JM
31034 [BZ #14610]
31035 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
31036 for low part of x being zero before using __atanl (y).
31037 * math/libm-test.inc (atan2_test): Add another test.
31038
0eb69512
JM
31039 * manual/install.texi (Configuring and compiling): Document
31040 general use of test-wrapper and test-wrapper-env.
31041 * INSTALL: Regenerated.
31042
ef82f4da
JM
31043 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
31044 (__fma): Do not extract and scale down low bits on after-rounding
31045 systems when result rounded to normal precision would have normal
31046 exponent.
31047 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
31048 (__fmal): Do not extract and scale down low bits on after-rounding
31049 systems when result rounded to normal precision would have normal
31050 exponent.
31051 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
31052 (__fmal): Do not extract and scale down low bits on after-rounding
31053 systems when result rounded to normal precision would have normal
31054 exponent.
31055 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
31056 macro.
31057 (fma_test): Add more tests.
31058 (fma_test_towardzero): Likewise.
31059 (fma_test_downward): Likewise.
31060 (fma_test_upward): Likewise.
31061
954ef0d9
L
310622012-10-30 H.J. Lu <hongjiu.lu@intel.com>
31063
31064 * sysdeps/i386/tininess.h: Renamed to ...
31065 * sysdeps/x86/tininess.h: This.
31066 * sysdeps/x86_64/tininess.h: Removed.
31067
df61ffb2
JM
310682012-10-30 Joseph Myers <joseph@codesourcery.com>
31069
31070 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
31071 input. Use $(build-program-cmd).
31072 ($(objpfx)tst-array1-static.out): Likewise.
31073 ($(objpfx)tst-array2.out): Likewise.
31074 ($(objpfx)tst-array3.out): Likewise.
31075 ($(objpfx)tst-array4.out): Likewise.
31076 ($(objpfx)tst-array5.out): Likewise.
31077 ($(objpfx)tst-array5-static.out): Likewise.
31078
01767843
CM
310792012-10-30 Chris Metcalf <cmetcalf@tilera.com>
31080
47cc1490
CM
31081 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
31082 if defined.
31083
01767843
CM
31084 * nss/nsswitch.h (nss_interface_function): Provide new
31085 macro for use with NSS functions.
31086 * grp/initgroups.c: Use new macro.
31087 * nss/getXXbyYY.c: Likewise.
31088 * nss/getXXbyYY_r.c: Likewise.
31089 * nss/getXXent.c: Likewise.
31090 * nss/getXXent_r.c: Likewise.
31091 * sysdeps/posix/getaddrinfo.c: Likewise.
31092
8321aa97
AJ
310932012-10-30 Andreas Jaeger <aj@suse.de>
31094
31095 * po/ru.po: Update Russion translation from translation project.
31096
2a27fd6d
JM
310972012-10-30 Joseph Myers <joseph@codesourcery.com>
31098
8627a232
JM
31099 [BZ #14152]
31100 [BZ #14783]
31101 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
31102 result and shift together with sticky bit instead of replicating
31103 round-to-nearest rounding.
31104 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
31105 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
31106 * math/libm-test.inc (fma_test): Add more tests. Do not permit
31107 missing underflow exceptions.
31108 (fma_test_towardzero): Add more tests.
31109 (fma_test_downward): Likewise.
31110 (fma_test_upward): Likewise.
31111
2a27fd6d
JM
31112 [BZ #14047]
31113 * sysdeps/generic/tininess.h: New file.
31114 * sysdeps/i386/tininess.h: Likewise.
31115 * sysdeps/sh/tininess.h: Likewise.
31116 * sysdeps/x86_64/tininess.h: Likewise.
31117 * stdlib/tst-strtod-underflow.c: Likewise.
31118 * stdlib/tst-tininess.c: Likewise.
31119 * stdlib/strtod_l.c: Include <tininess.h>.
31120 (round_and_return): Do not set errno for exact underflow cases.
31121 Force an underflow exception when setting errno for underflow.
31122 Determine underflow based on rounding to normal precision if
31123 TININESS_AFTER_ROUNDING.
31124 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
31125 ERANGE for exact underflow cases.
31126 * stdlib/Makefile (tests): Add tst-tininess and
31127 tst-strtod-underflow.
31128 ($(objpfx)tst-tininess): Use $(link-libm).
31129 ($(objpfx)tst-strtod-underflow): Likewise.
31130
e7170363
AJ
311312012-10-30 Andreas Jaeger <aj@suse.de>
31132
e5088dc6
AJ
31133 [BZ#14767]
31134 * elf/Makefile (tests): Remove conditional for have-initfini-array
31135 since this is now always required and the variable does not exist
31136 anymore.
31137 (tests-static): Likewise.
31138 (modules-names): Likewise.
31139
e7170363 31140 * po/eo.po: Add Esperanto translation from translation project.
b0988f10
AJ
31141
31142 * elf/tst-array1.c (fini_array): Make writeable so that it can be
31143 merged with constructor/destructor.
31144 (init_array): Likewise.
31145 * elf/tst-array2dep.c (fini_array): Likewise.
31146 (init_array): Likewise.
31147
60457d8a
MF
311482012-10-29 Mike Frysinger <vapier@gentoo.org>
31149
31150 * manual/message.texi: Delete @cartouche tags.
31151
8bece752
PT
311522012-10-29 Pino Toscano <toscano.pino@tiscali.it>
31153
94ce799f
PT
31154 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
31155 EOPNOTSUPP.
31156 * sysdeps/mach/hurd/fsync.c: Likewise.
31157
8bece752
PT
31158 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
31159 [_POSIX_REALTIME_SIGNALS]: Change condition to
31160 [_POSIX_REALTIME_SIGNALS > 0].
31161
86ebe6b1
AJ
311622012-10-27 Andreas Jaeger <aj@suse.de>
31163
31164 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
31165 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
31166 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
31167 [__WORDSIZE != 64]: Likewise.
31168
54399c08
L
311692012-10-26 H.J. Lu <hongjiu.lu@intel.com>
31170
31171 * iconvdata/tst-table.sh: Remove ${SHELL}.
31172 * iconvdata/tst-tables.sh: Likewise.
31173
e2211bed
DM
311742012-10-25 David S. Miller <davem@davemloft.net>
31175
31176 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
31177 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
31178 of strtoull.
31179
f303f97c
DM
31180 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
31181 ifunc-impl-list.c
31182 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
31183 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
31184 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
31185 file.
31186
1e9d84cd
RM
311872012-10-25 Roland McGrath <roland@hack.frob.com>
31188
31189 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
31190 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
31191 __getdirentries.
31192
df381762
JM
311932012-10-25 Joseph Myers <joseph@codesourcery.com>
31194 Jim Blandy <jimb@codesourcery.com>
31195
31196 * scripts/cross-test-ssh.sh: New file.
31197 * manual/install.texi (Configuring and compiling): Document use of
31198 cross-test-ssh.sh.
31199 * INSTALL: Regenerated.
31200
bff64913
PT
312012012-10-25 Pino Toscano <toscano.pino@tiscali.it>
31202
31203 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
31204 EOPNOTSUPP.
31205
25fe8932
JM
312062012-10-25 Joseph Myers <joseph@codesourcery.com>
31207
31208 * Makeconfig (run-program-prefix): Fix comment.
31209
cc1290d0
JM
312102012-10-24 Joseph Myers <joseph@codesourcery.com>
31211 Jim Blandy <jimb@codesourcery.com>
31212
31213 * Makeconfig (test-wrapper): New variable,
31214 (test-wrapper-env): Likewise.
31215 [$(cross-compiling) = yes && $(test-wrapper) != ""]
31216 (run-built-tests): Define to yes.
31217 (run-program-prefix): Use $(test-wrapper).
31218 (built-program-cmd): Likewise.
31219 * Rules (make-test-out): Use $(test-wrapper-env) and
31220 $(host-built-program-cmd).
31221 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
31222 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
31223 tst-pathopt.sh.
31224 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
31225 $(test-wrapper-env) to tst-rtld-load-self.sh.
31226 ($(objpfx)order2.out): Use $(test-wrapper).
31227 ($(objpfx)tst-initorder.out): Likewise.
31228 ($(objpfx)tst-initorder2.out): Likewise.
31229 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
31230 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
31231 (test_wrapper_env): New variable. Use it to run ld.so.
31232 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
31233 Use it to run ld.so.
31234 (test_wrapper_env): Likewise.
31235 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
31236 $(test-wrapper) to run-iconv-test.sh.
31237 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
31238 (ICONV): Use $test_wrapper.
31239 * posix/Makefile ($(objpfx)globtest.out): Pass
31240 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
31241 globtest.sh, not $(run-program-prefix).
31242 * posix/globtest.sh (run_via_rtld_prefix): New variable.
31243 (test_wrapper): Likewise.
31244 (test_wrapper_env): Likewise. Use it to run globtest with HOME
31245 set together with run_via_rtld_prefix.
31246 (run_program_prefix): Define in terms of test_wrapper and
31247 run_via_rtld_prefix.
31248
6e6249d0
RM
312492012-10-24 Roland McGrath <roland@hack.frob.com>
31250
31251 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
31252 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
31253 Targets removed.
31254
31255 [BZ #14743]
31256 * include/time.h: Remove librt_hidden_proto (clock_gettime).
31257 Declare __clock_getres, __clock_gettime, __clock_settime,
31258 __clock_nanosleep, and __clock_getcpuclockid.
31259 * rt/clock_gettime.c: Define __clock_gettime as an alias.
31260 Remove librt_hidden_def (clock_gettime).
31261 * sysdeps/unix/clock_gettime.c: Likewise.
31262 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
31263 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
31264 * rt/clock_getres.c: Define __clock_getres as an alias.
31265 * sysdeps/posix/clock_getres.c: Likewise.
31266 * rt/clock_settime.c: Define __clock_settime as an alias.
31267 * sysdeps/unix/clock_settime.c: Likewise.
31268 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
31269 * sysdeps/unix/clock_nanosleep.c: Likewise.
31270 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
31271 * rt/clock-compat.c: New file.
31272 * rt/Makefile (librt-routines): Add clock-compat and move
31273 $(clock-routines) to ...
31274 (routines): ... here, new variable.
31275 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
31276 Don't add get_clockfreq here.
31277 * rt/Versions (libc: GLIBC_2.17): New version set.
31278 Add clock_* symbols here.
31279 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
31280 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
31281 (GLIBC_2.17): Add clock_* symbols.
31282 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
31283 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
31284 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
31285 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
31286 Likewise.
31287 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
31288 Likewise.
31289 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
31290 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
31291 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
31292 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
31293 * NEWS: Mention the move.
31294
31295 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
31296 Use __open, __read, __close rather than their public counterparts.
31297 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
31298 (__get_clockfreq_via_cpuinfo): Likewise.
31299 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
31300 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
31301
31302 * config.h.in (HAVE_IFUNC): New #undef.
31303 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
31304 was successful.
31305 * configure: Regenerated.
31306
0cae3f4b
MF
313072012-10-24 Mike Frysinger <vapier@gentoo.org>
31308
31309 * configure.in: Move READELF check to start of file.
31310 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
31311 libc_cv_asm_gnu_indirect_function in the process.
31312 * configure: Regenerated.
31313
8175a253
MF
313142012-10-24 Mike Frysinger <vapier@gentoo.org>
31315
31316 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
31317 send the output to /dev/null.
31318 (libc_cv_cc_with_libunwind): Likewise.
31319 (libc_cv_as_noexecstack): Likewise.
31320 * configure: Regenerate.
31321
0708a7d1
JM
313222012-10-24 Joseph Myers <joseph@codesourcery.com>
31323
10b40d85
JM
31324 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
31325
0708a7d1
JM
31326 * posix/globtest.sh (TMPDIR): Do not set.
31327 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
31328 (testout): Likewise.
31329
9fddec1a
AJ
313302012-10-24 Andreas Jaeger <aj@suse.de>
31331
3a8db22f
AJ
31332 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
31333 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
31334 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
31335 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
31336 posix_fadvise64, posix_fallocate64.
31337
9fddec1a
AJ
31338 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
31339 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
31340 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
31341 Likewise.
31342 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
31343 Likewise.
31344 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
31345
31346 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
31347 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
31348 <bits/fcntl-linux.h>.
31349 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
31350
31351 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
31352 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
31353 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
31354 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
31355 [__WORDSIZE != 64]: Likewise.
31356
ebfd1bbd
JM
313572012-10-23 Joseph Myers <joseph@codesourcery.com>
31358
03ac099f
JM
31359 * Makeconfig (run-built-tests): New variable.
31360 * Rules [$(cross-compiling) = yes]: Change condition to
31361 [$(run-built-tests) = no].
31362 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
31363 to [$(run-built-tests) = yes].
31364 * elf/Makefile [$(cross-compiling) = no]: Likewise
31365 * grp/Makefile [$(cross-compiling) = no]: Likewise.
31366 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
31367 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
31368 * intl/Makefile [$(cross-compiling) = no]: Likewise.
31369 * io/Makefile [$(cross-compiling) = no]: Likewise.
31370 * libio/Makefile [$(cross-compiling) = no]: Likewise.
31371 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
31372 * misc/Makefile [$(cross-compiling) = no]: Likewise.
31373 * posix/Makefile [$(cross-compiling) = no]: Likewise.
31374 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
31375 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
31376 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
31377 * string/Makefile [$(cross-compiling) = no]: Likewise.
31378
ebfd1bbd
JM
31379 * posix/Makefile ($(objpfx)globtest.out): Pass
31380 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
31381 $(rtld-installed-name).
31382 * posix/globtest.sh (elf_objpfx): Remove variable.
31383 (rtld_installed_name): Likewise.
31384 (library_path): Likewise.
31385 (run_program_prefix): New variable. Use for running globtest
31386 binary.
31387
166bca24
JB
313882012-10-23 Jim Blandy <jimb@codesourcery.com>
31389 Joseph Myers <joseph@codesourcery.com>
31390
31391 * Makeconfig (host-built-program-cmd): New variable.
31392 * elf/Makefile (tst-stackguard1-ARGS): Use
31393 $(host-built-program-cmd).
31394 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
31395 (tst-spawn-ARGS): Likewise.
31396 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
31397
88866099
JM
313982012-10-23 Joseph Myers <joseph@codesourcery.com>
31399 Jim Blandy <jimb@codesourcery.com>
31400
31401 * Makeconfig (run-via-rtld-prefix): New variable.
31402 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
31403 (built-program-cmd): Likewise.
31404
b4b4c296
AJ
314052012-10-22 Andreas Jaeger <aj@suse.de>
31406
31407 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
31408 __O_RSYNC if it exists, otherwise to O_SYNC.
31409
6fb54a22
JB
314102012-10-22 Jim Blandy <jimb@codesourcery.com>
31411 Joseph Myers <joseph@codesourcery.com>
31412
31413 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
31414 /dev/null.
31415 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
31416 from /dev/null
31417 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
31418 /dev/null.
31419
481b90b9
AJ
314202012-10-22 Andreas Jaeger <aj@suse.de>
31421
2a0e2669
AJ
31422 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
31423 Define always.
31424 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
31425
76e38f9a
AJ
31426 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
31427 bits/fcntl-linux.h.
31428
7cd37b43
AJ
31429 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
31430 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
31431
481b90b9
AJ
31432 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
31433 to __O_LARGEFILE.
31434 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
31435 to __O_LARGEFILE.
31436
aba75984
JB
314372012-10-21 Jim Blandy <jimb@codesourcery.com>
31438 Joseph Myers <joseph@codesourcery.com>
31439
31440 * config.make.in (NM): New variable.
31441
88d4247f
AJ
314422012-10-21 Andreas Jaeger <aj@suse.de>
31443
31444 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
31445 definitions and declarations that are provided by
31446 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
31447
f2eed205
L
314482012-10-20 H.J. Lu <hongjiu.lu@intel.com>
31449
31450 [BZ #14683]
31451 * elf/Makefile (tests-static): Add tst-leaks1-static.
31452 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
31453 ($(objpfx)tst-leaks1-static): New rule.
31454 ($(objpfx)tst-leaks1-static-mem): Likewise.
31455 (tst-leaks1-static-ENV): New macro.
31456 * elf/dl-open.c (dl_open_worker): Check the main application
31457 only if SHARED is defined.
31458 * elf/tst-leaks1-static.c: New file.
31459
335e6931
AJ
314602012-10-20 Andreas Jaeger <aj@suse.de>
31461
31462 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
31463 generic values for Linux.
31464 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
31465 and declarations that are provided by <bits/fcntl-linux.h> and
31466 include <bits/fcntl-linux.h>.
31467 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
31468 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
31469
ac5c94d3
RM
314702012-10-20 Roland McGrath <roland@hack.frob.com>
31471
31472 * io/fcntl.h: Move include of <bits/types.h> to the top and
31473 include it unconditionally.
31474
de54b33a
L
314752012-10-20 H.J. Lu <hongjiu.lu@intel.com>
31476
228cfb01
L
31477 * wcsmbs/Makefile (tests-ifunc): New variable.
31478 (tests): Add $(tests-ifunc).
31479 * wcsmbs/test-wcschr-ifunc.c: New file.
31480 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
31481 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
31482 * wcsmbs/test-wcslen-ifunc.c: Likewise.
31483 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
31484 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
31485
69f07e5f
L
31486 * string/Makefile (tests-ifunc): New variable.
31487 (tests): Add $(tests-ifunc).
31488 * string/test-memccpy.c (TEST_NAME): New macro.
31489 * string/test-memchr.c (TEST_NAME): Likewise.
31490 * string/test-memcmp.c (TEST_NAME): Likewise.
31491 * string/test-memcpy.c (TEST_NAME): Likewise.
31492 * string/test-memmem.c (TEST_NAME): Likewise.
31493 * string/test-memmove.c (TEST_NAME): Likewise.
31494 * string/test-memset.c (TEST_NAME): Likewise.
31495 * string/test-rawmemchr.c (TEST_NAME): Likewise.
31496 * string/test-stpcpy.c (TEST_NAME): Likewise.
31497 * string/test-stpncpy.c (TEST_NAME): Likewise.
31498 * string/test-strcasecmp.c (TEST_NAME): Likewise.
31499 * string/test-strcasestr.c (TEST_NAME): Likewise.
31500 * string/test-strcat.c (TEST_NAME): Likewise.
31501 * string/test-strchr.c (TEST_NAME): Likewise.
31502 * string/test-strcmp.c(TEST_NAME): Likewise.
31503 * string/test-strcpy.c (TEST_NAME): Likewise.
31504 * string/test-strcspn.c (TEST_NAME): Likewise.
31505 * string/test-strlen.c (TEST_NAME): Likewise.
31506 * string/test-strncasecmp.c (TEST_NAME): Likewise.
31507 * string/test-strncmp.c (TEST_NAME): Likewise.
31508 * string/test-strncpy.c (TEST_NAME): Likewise.
31509 * string/test-strnlen.c (TEST_NAME): Likewise.
31510 * string/test-strpbrk.c (TEST_NAME): Likewise.
31511 * string/test-strrchr.c (TEST_NAME): Likewise.
31512 * string/test-strspn.c (TEST_NAME): Likewise.
31513 * string/test-strstr.c (TEST_NAME): Likewise.
31514 * string/test-bcopy-ifunc.c: New file.
31515 * string/test-bzero-ifunc.c: Likewise.
31516 * string/test-memccpy-ifunc.c: Likewise.
31517 * string/test-memchr-ifunc.c: Likewise.
31518 * string/test-memcmp-ifunc.c: Likewise.
31519 * string/test-memcpy-ifunc.c: Likewise.
31520 * string/test-memmem-ifunc.c: Likewise.
31521 * string/test-memmove-ifunc.c: Likewise.
31522 * string/test-mempcpy-ifunc.c: Likewise.
31523 * string/test-memset-ifunc.c: Likewise.
31524 * string/test-rawmemchr-ifunc.c: Likewise.
31525 * string/test-stpcpy-ifunc.c: Likewise.
31526 * string/test-stpncpy-ifunc.c: Likewise.
31527 * string/test-strcasecmp-ifunc.c: Likewise.
31528 * string/test-strcasestr-ifunc.c: Likewise.
31529 * string/test-strcat-ifunc.c: Likewise.
31530 * string/test-strchr-ifunc.c: Likewise.
31531 * string/test-strchrnul-ifunc.c: Likewise.
31532 * string/test-strcmp-ifunc.c: Likewise.
31533 * string/test-strcpy-ifunc.c: Likewise.
31534 * string/test-strcspn-ifunc.c: Likewise.
31535 * string/test-strlen-ifunc.c: Likewise.
31536 * string/test-strncasecmp-ifunc.c: Likewise.
31537 * string/test-strncat-ifunc.c: Likewise.
31538 * string/test-strncmp-ifunc.c: Likewise.
31539 * string/test-strncpy-ifunc.c: Likewise.
31540 * string/test-strnlen-ifunc.c: Likewise.
31541 * string/test-strpbrk-ifunc.c: Likewise.
31542 * string/test-strrchr-ifunc.c: Likewise.
31543 * string/test-strspn-ifunc.c: Likewise.
31544 * string/test-strstr-ifunc.c: Likewise.
31545
de54b33a
L
31546 * debug/Makefile (tests-ifunc): New variable.
31547 (tests): Add $(tests-ifunc).
31548 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
31549 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
31550 * debug/test-stpcpy_chk-ifunc.c: New file.
31551 * debug/test-strcpy_chk-ifunc.c: Likewise.
31552
88481c16
SP
315532012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
31554
31555 [BZ #13601]
31556 * elf/dl-load.c (open_verify): Retry read if the entire ELF
31557 header is not read in.
31558
135948bd
JM
315592012-10-19 Joseph Myers <joseph@codesourcery.com>
31560
89f1c388
JM
31561 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
31562 script to $(SHELL) as $<. Pass $(common-objpfx) to script
31563 directly. Pass built executable to script as
31564 $(built-program-cmd).
31565 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
31566 $testprogram without using LD_LIBRARY_PATH and $ldso.
31567
e40a0d21
JM
31568 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
31569 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
31570 $(rtld-installed-name).
31571 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
31572 (rtld_installed_name): Likewise.
31573 (library_path): Likewise.
31574 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
31575 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
31576 $(run-program-prefix) to tst-tables.sh.
31577 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
31578 it to run tst-table-from and tst-table-to.
31579 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
31580 Pass it to tst-table.sh.
31581 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
31582 $(run-program-prefix) to tst-gettext.sh.
31583 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
31584 tst-translit.sh.
31585 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
31586 tst-gettext2.sh.
31587 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
31588 to run tst-gettext.
31589 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
31590 to run tst-gettext2.
31591 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
31592 to run tst-translit.
31593 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
31594 $(run-program-prefix) to tst-mtrace.sh.
31595 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
31596 to run tst-mtrace.
31597 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
31598 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
31599 $(rtld-installed-name).
31600 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
31601 (rtld_installed_name): Likewise.
31602 (run_program_prefix): New variable. Use it to run wordexp-test.
31603
728e272a
JM
31604 * Makeconfig (ARCH): Remove all definitions.
31605 (machine): Likewise.
31606 [ARCH]: Remove conditional code.
31607 [!objdir]: Give error.
31608 [!objdir] (objpfx): Remove.
31609 [!objdir] (common-objpfx): Likewise.
31610 [!objdir] (common-objdir): Likewise.
31611 * configure.in (config_makefile): Remove. Hardcode Makefile in
31612 AC_CONFIG_FILES call.
31613 * configure: Regenerated.
31614
d528cdcf
JM
31615 [BZ #13888]
31616 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
31617 or TMPDIR.
31618 (testout): Likewise.
31619
135948bd
JM
31620 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
31621 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
31622 $(rtld-installed-name).
31623 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
31624 (rtld_installed_name): Likwise.
31625 (runit): Remove function.
31626 (run_getconf): New variable, Use it for running getconf binary.
31627
38c78296
L
316282012-10-18 H.J. Lu <hongjiu.lu@intel.com>
31629
31630 [BZ #14716]
31631 * string/test-memmem.c (check_result): New function.
31632 (do_one_test): Use it.
31633 (check1): New function.
31634 (test_main): Use it.
31635
d077f65f
MT
316362012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
31637
31638 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
31639
ced52c71
JM
316402012-10-18 Joseph Myers <joseph@codesourcery.com>
31641
31642 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
31643 (_G_LSEEK64): Likewise.
31644 (_G_MMAP64): Likewise.
31645 (_G_FSTAT64): Likewise.
31646 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
31647 (_G_LSEEK64): Likewise.
31648 (_G_MMAP64): Likewise.
31649 (_G_FSTAT64): Likewise.
31650 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
31651 unconditional. Call __mmap64 directly.
31652 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
31653 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
31654 __lseek64 directly.
31655 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
31656 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
31657 __mmap64 directly.
31658 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
31659 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
31660 __lseek64 directly.
31661 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
31662 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
31663 __lseek64 directly.
31664 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
31665 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
31666 __lseek64 directly.
31667 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
31668 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
31669 __fxstat64 directly.
31670 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
31671 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
31672 unconditional.
31673 (freopen64) [!_G_OPEN64]: Remove conditional code.
31674 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
31675 unconditional.
31676 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
31677 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
31678 unconditional.
31679 (ftello64) [!_G_LSEEK64]: Remove conditional code.
31680 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
31681 unconditional.
31682 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
31683 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
31684 unconditional.
31685 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
31686 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
31687 unconditional.
31688 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
31689 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
31690 unconditional.
31691 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
31692 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
31693 unconditional.
31694 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
31695
b741de23
SP
316962012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
31697
31698 [BZ #12140]
31699 * manual/memory.texi (Malloc Tunable Parameters): Add note
31700 about free list pointers overwriting some perturb bytes.
31701 Wording suggested by Roland McGrath.
31702
f9b9d9c9
JM
317032012-10-17 Joseph Myers <joseph@codesourcery.com>
31704
31705 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
31706 (lgamma_test): Likewise.
31707 (tgamma_test): Likewise.
31708
172a631a
FW
317092012-10-16 Florian Weimer <fweimer@redhat.com>
31710
31711 [BZ #14700]
31712 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
31713 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
31714
e9f37252
MK
317152012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
31716
31717 * NEWS: Mention BZ #14716.
31718 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
31719 when removing AVAILABLE1_USES_J macro.
31720
d394eb74
L
317212012-10-12 H.J. Lu <hongjiu.lu@intel.com>
31722
31723 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
31724 (__bswap_64): __uint64_t for unsigned 64-bit int.
31725
ca38dc17
AS
317262012-10-12 Andreas Schwab <schwab@linux-m68k.org>
31727
31728 * include/string.h (memmem): Declare libc hidden alias.
31729 * string/memmem.c (memmem): Define libc hidden alias.
31730 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
31731 __read, __close instead of open, read, close.
31732
9a387d1f
L
317332012-10-11 H.J. Lu <hongjiu.lu@intel.com>
31734
ac49ecaf
L
31735 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
31736 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
31737 global and hidden.
31738 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
31739 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
31740 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
31741 Likewise.
31742 (__rawmemchr_sse2): Likewise.
31743 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
31744 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
31745 (__strchr_sse2): Likewise.
31746 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
31747 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
31748 (__strcasecmp_sse2): Likewise.
31749 (__strncasecmp_sse2): Likewise.
31750 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
31751 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
31752 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
31753 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
31754 (__strrchr_sse2): Likewise.
31755 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
31756 ifunc-impl-list.c.
31757 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
31758 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
31759 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
31760 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
31761 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
31762 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
31763 * sysdeps/x86_64/multiarch/memset.S: Likewise.
31764 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
31765 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
31766 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
31767 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
31768 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
31769 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
31770 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
31771 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
31772 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
31773 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
31774 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
31775 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
31776 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
31777 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
31778 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
31779 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
31780 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
31781 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
31782 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
31783 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
31784 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
31785 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
31786 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
31787
b090e8ea
L
31788 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
31789 global and hidden.
31790 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
31791 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
31792 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
31793 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
31794 Likewise.
31795 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
31796 Likewise.
31797 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
31798 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
31799 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
31800 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
31801 ifunc-impl-list.c.
31802 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
31803 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
31804 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
31805 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
31806 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
31807 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
31808 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
31809 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
31810 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
31811 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
31812 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
31813 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
31814 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
31815 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
31816 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
31817 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
31818 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
31819 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
31820 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
31821 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
31822 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
31823 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
31824 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
31825 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
31826 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
31827 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
31828 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
31829 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
31830 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
31831 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
31832 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
31833 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
31834 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
31835 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
31836 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
31837 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
31838 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
31839 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
31840 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
31841 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
31842 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
31843
11dd4af6
L
31844 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
31845 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
31846 * include/ifunc-impl-list.h: New file.
31847 * misc/ifunc-impl-list.c: Likewise.
31848 * misc/Makefile (routines): Add ifunc-impl-list.
31849 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
31850 * string/test-string.h: Include <ifunc-impl-list.h>.
57f41c40
AS
31851 (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
31852 TEST_NAME]: New variables.
11dd4af6
L
31853 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
31854 are defined.
31855 (test_init): Call __libc_ifunc_impl_list to initialize
31856 func_list if TEST_IFUNC and TEST_NAME are defined.
31857
9a387d1f
L
31858 * string/Makefile (strop-tests): Add bcopy and bzero.
31859 * string/test-bcopy.c: New file.
31860 * string/test-bzero.c: Likewise.
31861 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
31862 defined.
31863 * string/test-memset.c: Support bzero test if TEST_BZERO is
31864 defined.
31865 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
31866 __libc_memmove.
31867 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
31868 __libc_memset.
31869 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
31870 of memset.
31871
472371b9
JM
318722012-10-10 Joseph Myers <joseph@codesourcery.com>
31873
1e4a9536
JM
31874 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
31875 * configure: Regenerated.
31876
d173d12e
JM
31877 * Makeconfig (+link-static-before-libc): Don't include
31878 $(link-static-libc).
31879
472371b9
JM
31880 * libio/libio.h (_IO_pos_t): Remove.
31881
89a3ad0b
AO
318822012-10-10 Alexandre Oliva <aoliva@redhat.com>
31883
31884 * NEWS: Add note about FIPS mode. Wording suggested by Roland
31885 McGrath.
31886
e7451425
AO
318872012-10-10 Alexandre Oliva <aoliva@redhat.com>
31888
31889 * crypt/crypt-entry.c: Include fips-private.h.
31890 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
31891 * crypt/md5c-test.c (main): Tolerate disabled MD5.
31892 * sysdeps/unix/sysv/linux/fips-private.h: New file.
31893 * sysdeps/generic/fips-private.h: New file, dummy fallback.
31894
4ba74a35
AO
318952012-10-10 Alexandre Oliva <aoliva@redhat.com>
31896
31897 * crypt/crypt-private.h: Include stdbool.h.
31898 (_ufc_setup_salt_r): Return bool.
31899 * crypt/crypt-entry.c: Include errno.h.
31900 (__crypt_r): Return NULL with EINVAL for bad salt.
31901 * crypt/crypt_util.c (bad_for_salt): New.
31902 (_ufc_setup_salt_r): Check that salt is long enough and within
31903 the specified alphabet.
31904 * crypt/badsalttest.c: New file.
31905 * crypt/Makefile (tests): Add it.
31906 ($(objpfx)badsalttest): New.
31907
f96f1242
MK
319082012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
31909
31910 * NEWS: Add entry for BZ #14602.
31911
0e8e0c1c
JM
319122012-10-09 Joseph Myers <joseph@codesourcery.com>
31913
31914 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
31915 type-generic.
31916 * math/libm-test.inc: Update comment listing what functions and
31917 macros are tested.
31918 (isgreater_test): New function.
31919 (isgreaterequal_test): Likewise.
31920 (isless_test): Likewise.
31921 (islessequal_test): Likewise.
31922 (islessgreater_test): Likewise.
31923 (isunordered_test): Likewise.
31924 (main): Call the new functions.
31925
273edc5e
RM
319262012-10-09 Roland McGrath <roland@hack.frob.com>
31927
b8493de0
RM
31928 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
31929 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
31930 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
31931 * sysdeps/i386/configure: Regenerated.
31932 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
31933 * sysdeps/mach/configure: Regenerated.
31934 * sysdeps/mach/hurd/configure: Regenerated.
31935 * sysdeps/powerpc/configure: Regenerated.
31936 * sysdeps/powerpc/powerpc32/configure: Regenerated.
31937 * sysdeps/powerpc/powerpc64/configure: Regenerated.
31938 * sysdeps/s390/s390-32/configure: Regenerated.
31939 * sysdeps/s390/s390-64/configure: Regenerated.
31940 * sysdeps/sh/configure: Regenerated.
31941 * sysdeps/sparc/configure: Regenerated.
31942 * sysdeps/unix/sysv/linux/configure: Regenerated.
31943 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
31944 * sysdeps/x86_64/configure: Regenerated.
31945
273edc5e
RM
31946 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
31947 defined. Don't check if MAP is NULL.
31948
c8450f70
JM
319492012-10-09 Joseph Myers <joseph@codesourcery.com>
31950
31951 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
31952 (_G_stat64): Likewise.
31953 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
31954 (_G_stat64): Likewise.
31955 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
31956 instead of struct _G_stat64.
31957 * libio/fileops.c (mmap_remap_check): Likewise.
31958 (decide_maybe_mmap): Likewise.
31959 (_IO_new_file_seekoff): Likewise.
31960 (_IO_file_stat): Likewise.
31961 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
31962 _G_off64_t.
31963 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
31964 instead of struct _G_stat64.
31965 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
31966
57e605ba
MK
319672012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
31968
31969 [BZ #14602]
31970 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
31971 Replace with ...
31972 (CHECK_EOL): New macro.
31973 (two_way_short_needle): Check beginning of haystack for EOL. Use
31974 CHECK_EOL.
31975 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
31976 Replace with CHECK_EOL.
31977 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
31978 Replace with CHECK_EOL.
31979
ef1bb361
JM
319802012-10-08 Joseph Myers <joseph@codesourcery.com>
31981
31982 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
31983 type-generic.
31984 * math/libm-test.inc: Update comment listing what functions and
31985 macros are tested.
31986 (finite_test): New function.
31987 (isinf_test): Likewise.
31988 (isnan_test): Likewise.
31989 (fpclassify_test): Test subnormal input.
31990 (isfinite_test): Likewise.
31991 (isnormal_test): Likewise.
31992 (main): Call the new functions.
31993
55f11534
JN
319942012-10-08 Jonathan Nieder <jrnieder@gmail.com>
31995
31996 [BZ #14660]
31997 * Makerules (%.dynsym): Force C locale when running
31998 $(OBJDUMP) --dynamic-syms.
31999
1ab29350
AS
320002012-10-08 Andreas Schwab <schwab@linux-m68k.org>
32001
32002 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
32003 <stdint.h>.
32004
f1ecb7ef
DM
320052012-10-06 David S. Miller <davem@davemloft.net>
32006
32007 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
32008 upper 32-bits of the length value in %o2 since we use branch-on-register
32009 tests which consider the entire 64-bit register.
32010
5d41d91a
L
320112012-10-06 H.J. Lu <hongjiu.lu@intel.com>
32012
32013 * string/test-strstr.c (check2): Add a test for page boundary.
32014
3baddb72
DM
320152012-10-05 David S. Miller <davem@davemloft.net>
32016
32017 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
32018 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
32019 file.
32020 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
32021 sysdep_routines.
32022 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
32023 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
32024 and bzero when HWCAP_SPARC_CRYPTO is present.
32025
9cee5585
L
320262012-10-05 H.J. Lu <hongjiu.lu@intel.com>
32027
d7e0dab9
L
32028 [BZ #14602]
32029 * string/test-strstr.c (check2): New function.
32030 (test_main): Call check2.
32031
03759f47
L
32032 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
32033 and bug-strchr1.
32034 * string/bug-strcasestr1.c (do_test): Moved to ...
32035 * string/test-strcasestr.c (check1): Here. New function.
32036 (do_one_test): Break out result checking code into ...
32037 (check_result): This. New function.
32038 (do_one_test): Call check_result.
32039 (test_main): Call check1.
32040 * string/bug-strchr1.c (do_test): Moved to ...
32041 * string/test-strchr.c (check1): Here. New function.
32042 (do_one_test): Break out result checking code into ...
32043 (check_result): This. New function.
32044 (do_one_test): Call check_result.
32045 (test_main): Call check1.
32046 * string/bug-strstr1.c (main): Moved to ...
046f153e 32047 * string/test-strstr.c (check1): Here. New function.
03759f47
L
32048 (do_one_test): Break out result checking code into ...
32049 (check_result): This. New function.
32050 (do_one_test): Call check_result.
32051 (test_main): Call check1.
32052 * string/bug-strcasestr1.c: Removed.
32053 * string/bug-strchr1.c: Likewise.
32054 * string/bug-strstr1.c: Likewise.
32055
53cea63e
L
32056 * elf/Makefile (dl-routines): Add hwcaps.
32057 * elf/dl-support.c (_dl_important_hwcaps): Removed.
32058 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
32059 (_dl_important_hwcaps): Moved to ...
32060 * elf/dl-hwcaps.c: Here. New file.
32061 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
32062
9cee5585 32063 [BZ #14557]
bb859b06
L
32064 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
32065 if IS_IN_rtld isn't defined.
32066
9cee5585
L
32067 * elf/dl-support.c (_dl_sysinfo_map): New.
32068 Include "get-dynamic-info.h" and "setup-vdso.h".
32069 (_dl_non_dynamic_init): Call setup_vdso.
32070 * elf/dynamic-link.h: Don't include <assert.h>.
32071 (elf_get_dynamic_info): Moved to ...
32072 * elf/get-dynamic-info.h: Here. New file.
32073 * elf/dynamic-link.h: Include "get-dynamic-info.h".
32074 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
32075 * elf/setup-vdso.h: Here. New file.
32076 * elf/rtld.c: Include "setup-vdso.h".
32077 (dl_main): Call setup_vdso.
32078
23c31b76
JM
320792012-10-05 Joseph Myers <joseph@codesourcery.com>
32080
28234b07
JM
32081 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
32082 creal in comment listing functions tested. List finite, isinf,
32083 isnan, isless, islessequal, isgreater, isgreaterequal,
32084 islessgreater, isunordered, lgamma_r and pow10 as functions and
32085 macros not tested. Mention which functions not tested are aliases
32086 for other functions. Fix typo. Note that signs of NaNs are not
32087 tested.
32088
23c31b76
JM
32089 * scripts/config.guess: Update from config.git.
32090 * scripts/config.sub: Likewise.
32091
9043e228
RM
320922012-10-04 Roland McGrath <roland@hack.frob.com>
32093
32094 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
32095 * misc/madvise.c (madvise): Renamed to __madvise.
32096 Make madvise a weak alias.
32097 * include/sys/mman.h: Declare __madvise.
32098 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
32099 * sysdeps/unix/syscalls.list
32100 (madvise): Make __madvise the strong name, and madvise a weak alias.
32101 * sysdeps/unix/sysv/linux/syscalls.list
32102 (madvise, mmap): Remove redundant entries.
32103 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
32104 * malloc/malloc.c (mtrim): Likewise.
32105 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
32106
f57f8055
RM
321072012-10-03 Roland McGrath <roland@hack.frob.com>
32108
32109 * sysdeps/mach/hurd/dl-cache.c: File removed.
32110 * config.h.in (USE_LDCONFIG): New #undef.
32111 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
32112 * configure: Regenerated.
32113 * elf/Makefile (dl-routines): Add dl-cache only under
32114 [$(use-ldconfig) = yes].
32115 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
32116 cache on [USE_LDCONFIG].
32117 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
32118 [USE_LDCONFIG].
32119 * elf/rtld.c (dl_main): Likewise.
32120
5bb0c10a
PT
321212012-10-03 Pino Toscano <toscano.pino@tiscali.it>
32122
32123 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
32124 _SC_LEVEL4_CACHE_LINESIZE.
32125
010188c6
RM
321262012-10-03 Roland McGrath <roland@hack.frob.com>
32127
32128 * sysdeps/unix/bsd/confstr.h: File removed.
32129
b6c5ec07
AO
321302012-10-02 Alexandre Oliva <aoliva@redhat.com>
32131
32132 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
32133 sys/sdt-config.h.
32134
408223d4
RM
321352012-10-02 Roland McGrath <roland@hack.frob.com>
32136
32137 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
32138 Make 'mapoff' field ElfW(Off) rather than off_t.
32139
bb9510dc
DL
321402012-10-02 Dmitry V. Levin <ldv@altlinux.org>
32141
fc997c6e
DL
32142 * nscd/Makefile: Remove nscd-cflags and all its users.
32143 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
32144 (CFLAGS-nonlib): Add compiler flags for nscd modules.
32145
bb9510dc
DL
32146 [BZ #10631]
32147 * malloc.c (malloc_printerr): Clarify error message.
32148
05699367
L
321492012-10-02 H.J. Lu <hongjiu.lu@intel.com>
32150
32151 [BZ #14648]
32152 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
32153 Set bit_FMA_Usable if FMA is supported.
32154 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
32155 macro.
32156 (bit_FMA4_Usable): Updated.
32157 (index_FMA_Usable): New macro.
32158 (CPUID_FMA): Likewise
32159 (HAS_FMA): Defined with bit_FMA_Usable.
32160
51367701
RM
321612012-10-01 Roland McGrath <roland@hack.frob.com>
32162
32163 * bits/types.h (__swblk_t): Type removed.
32164 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
32165 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
32166 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
32167 (__SWBLK_T_TYPE): Likewise.
32168 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
32169 (__SWBLK_T_TYPE): Likewise.
32170 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
32171 (__SWBLK_T_TYPE): Likewise.
32172 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
32173 (__SWBLK_T_TYPE): Likewise.
32174
4d57bf63 321752012-10-01 Patsy Franklin <pfrankli@redhat.com>
1e9d84cd 32176 Honza Horak <hhorak@redhat.com>
4d57bf63
JL
32177
32178 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
32179 (xdr_mapname): Use YPMAXMAP as maxsize.
32180 (xdr_peername): Use YPMAXPEER as maxsize.
32181 (xdr_keydat): Use YPAXRECORD as maxsize.
32182 (xdr_valdat): Use YPMAXRECORD as maxsize.
32183
93c65d43
RM
321842012-10-01 Roland McGrath <roland@hack.frob.com>
32185
497a03d6
RM
32186 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
32187
93c65d43
RM
32188 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
32189 * csu/init-first.c: ... here.
32190 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
32191 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
32192 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
32193 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
32194 * sysdeps/i386/init-first.c: File removed.
32195 * sysdeps/sh/init-first.c: File removed.
32196
bec749fd
JM
321972012-10-01 Joseph Myers <joseph@codesourcery.com>
32198
32199 [BZ #14645]
32200 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
32201 if x * y might underflow to zero and z is zero.
32202 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
32203 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
32204 * math/libm-test.inc (min_subnorm_value): New variable.
32205 (fma_test): Add more tests.
32206 (fma_test_towardzero): Likewise.
32207 (fma_test_downward): Likewise
32208 (fma_test_upward): Likewise.
32209 (initialize): Set min_subnorm_value.
32210
8ec5b013
JM
322112012-09-29 Joseph Myers <joseph@codesourcery.com>
32212
32213 [BZ #14638]
32214 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
32215 0 + 0.
32216 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
32217 mode for addition resulting in exact zero.
32218 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
32219 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
32220 exact 0 + 0.
32221 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
32222 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
32223 * math/libm-test.inc (fma_test): Add more tests.
32224 (fma_test_towardzero): New function.
32225 (fma_test_downward): Likewise.
32226 (fma_test_upward): Likewise.
32227 (main): Call the new functions.
32228
b1fa802e
DM
322292012-09-28 David S. Miller <davem@davemloft.net>
32230
32231 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
32232
d3b9fd9e
RM
322332012-09-28 Roland McGrath <roland@hack.frob.com>
32234
ea4d37b3
RM
32235 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
32236 instead of SIGALRM.
32237
ac51c949
RM
32238 * sysdeps/gnu/_G_config.h: Moved to ...
32239 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
32240 * sysdeps/mach/hurd/_G_config.h: Moved to ...
32241 * sysdeps/generic/_G_config.h: ... here.
32242
28c195f7
RM
32243 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
32244
848917f9
RM
32245 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
32246
6bacf05b
RM
32247 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
32248 Conditionalize target on [libnss_test1.so-version].
32249
91363dbb
RM
32250 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
32251
cc87f7d8
RM
32252 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
32253 (elfobjdir): Move out of conditionals.
32254
b1c608fe
RM
32255 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
32256 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
32257 (__nss_lookup_function): Conditionalize label remove_from_tree on
32258 [!DO_STATIC_NSS || SHARED], matching its only use.
d3b9fd9e 32259
1d9a6d96
DM
322602012-09-28 David S. Miller <davem@davemloft.net>
32261
32262 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
32263 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
32264 file.
32265 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
32266 sysdep_routines.
32267 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
32268 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
32269 when HWCAP_SPARC_CRYPTO is present.
32270
72581615
PT
322712012-09-28 Pino Toscano <toscano.pino@tiscali.it>
32272
32273 * io/tst-mknodat.c: Create a FIFO instead of a socket.
32274
715a900c
JL
322752012-09-28 Andreas Schwab <schwab@linux-m68k.org>
32276
32277 [BZ #6530]
32278 * stdio-common/vfprintf.c (process_string_arg): Revert
32279 2000-07-22 change.
32280
322812011-09-28 Jonathan Nieder <jrnieder@gmail.com>
32282
32283 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
32284 for testcase.
32285 * stdio-common/tst-sprintf.c: Include <locale.h>
32286 (main): Test sprintf's handling of incomplete multibyte
32287 characters.
32288
9bac1d86
L
322892012-09-28 H.J. Lu <hongjiu.lu@intel.com>
32290
32291 * elf/dl-runtime.c (VERSYMIDX): Removed.
32292 * elf/dl-version.c (VERSYMIDX): Likewise.
32293 * elf/do-rel.h (VERSYMIDX): Likewise.
32294 (VALIDX): Likewise.
32295 * elf/dynamic-link.h (VERSYMIDX): Likewise.
32296 * elf/rtld.c (VALIDX): Likewise.
32297 (ADDRIDX): Likewise.
9bac1d86
L
32298 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
32299 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
32300 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
9c464f9c
L
32301 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
32302 (VALIDX): Likewise.
32303 (ADDRIDX): Likewise.
9bac1d86 32304
b31606c0
PT
323052012-09-28 Pino Toscano <toscano.pino@tiscali.it>
32306
32307 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
32308
11541177
JL
323092012-09-28 Dmitry V. Levin <ldv@altlinux.org>
32310
32311 [BZ #11438]
32312 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
32313 to global scope.
32314 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
32315 addresses are in the same scope as 192.0.2/24.
32316 * posix/gai.conf: Document new scope table defaults.
32317
adb26fae
SP
323182012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
32319
32320 [BZ #5298]
32321 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
32322 for ftell. Compute offsets from write pointers instead.
32323 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
32324
4573c6b0
SP
323252012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
32326
32327 [BZ #14543]
32328 * libio/Makefile (tests): New test case tst-fseek.
32329 * libio/tst-fseek.c: New test case to verify that fseek/ftell
32330 combination works in wide mode.
32331 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
32332 state when the external buffer state changes.
32333
aa9bbfe6
DM
323342012-09-27 David S. Miller <davem@davemloft.net>
32335
32336 [BZ #14376]
32337 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
32338 pass reloc->r_addend in as the 'high' argument to
32339 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
32340
784421e7
DM
32341 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32342
c39bc8b8
PT
323432012-09-28 Pino Toscano <toscano.pino@tiscali.it>
32344
32345 * rt/tst-aio2.c: Include <pthread.h>.
32346 * rt/tst-aio3.c: Likewise.
32347
1ccc2399
SE
323482012-09-27 Steve Ellcey <sellcey@mips.com>
32349
32350 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
32351
31ed4153
L
323522012-09-27 H.J. Lu <hongjiu.lu@intel.com>
32353
25f5f885
L
32354 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
32355 contents on [SHARED].
31ed4153 32356
b7bfe116
MP
323572012-09-26 Marek Polacek <polacek@redhat.com>
32358
32359 [BZ #14530]
32360 [BZ #13741]
32361 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
32362 for C++ and GCC <4.3 as well as for non GCC compilers.
32363
43c4edba
MT
323642012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
32365
32366 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
32367
6a1bf82f
RM
323682012-09-25 Roland McGrath <roland@hack.frob.com>
32369
32370 * Makefile.in (all, install): Declare with .PHONY.
32371 Reported by Michael Hope <michael.hope@linaro.org>.
32372
8ad11b9a
TMQMF
323732012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
32374
32375 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
32376 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
32377 system header.
32378 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
32379 Likewise.
32380 (sydep_routines): Add the new and the internal functions.
32381 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
32382 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
32383 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
32384 (GLIBC_2.17): Add the new function.
32385 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
32386 (GLIBC_2.17): Likewise.
32387 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
32388 (GLIBC_2.17): Likewise.
32389 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
32390 (GLIBC_2.17): Likewise.
32391 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
32392
7e2fca8d
AM
323932012-09-25 Alan Modra <amodra@gmail.com>
32394
32395 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
32396 Add release barrier before setting once_control to say
32397 initialisation is done. Add hints on lwarx. Use macro in
32398 place of isync.
32399 (clear_once_control): Add release barrier.
32400
b87c4b24
JM
324012012-09-25 Joseph Myers <joseph@codesourcery.com>
32402
d032e0d2
JM
32403 [BZ #13629]
32404 * math/s_clog.c (__clog): Handle more values close to |z| = 1
32405 specially.
32406 * math/s_clog10.c (__clog10): Likewise.
32407 * math/s_clog10f.c (__clog10f): Likewise.
32408 * math/s_clog10l.c (__clog10l): Likewise.
32409 * math/s_clogf.c (__clogf): Likewise.
32410 * math/s_clogl.c (__clogl): Likewise.
32411 * math/Makefile (libm-calls): Add x2y2m1.
32412 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
32413 (__x2y2m1): Likewise.
32414 (__x2y2m1l): Likewise.
32415 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
32416 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
32417 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
32418 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
32419 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
32420 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
32421 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
32422 * sysdeps/i386/fpu/libm-test-ulps: Update.
32423 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32424
b87c4b24
JM
32425 [BZ #14621]
32426 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
32427 int as type of variable DEPTH.
32428 (glob): Use size_t instead of int as type of variables NEWCOUNT
32429 and OLD_PATHC.
32430
6d3bf199
LD
324312012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32432
22bf5c17
LD
32433 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
32434 Add s_sincosf-sse2.
32435 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
32436 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
32437 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
32438 macros for using routine as __sincosf_ia32.
32439 Use macro for function declaration and weak_alias.
32440 * sysdeps/i386/fpu/libm-test-ulps: Update.
32441
32442 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
32443 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
32444
32445 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
6d3bf199
LD
32446 subnormal argument.
32447 * math/s_cexpf.c (__cexpf): Likewise.
32448 * math/s_csinf.c (__csinf): Likewise.
32449 * math/s_csinhf.c (__csinhf): Likewise.
32450 * math/s_ctanf.c (__ctanf): Likewise.
32451 * math/s_ctanhf.c (__ctanhf): Likewise.
32452 * math/s_ccosh.c (__ccoshf): Likewise.
32453 * math/s_cexp.c (__cexpl): Likewise.
32454 * math/s_csin.c (__csin): Likewise.
32455 * math/s_csinh.c (__csinh): Likewise.
32456 * math/s_ctan.c (__ctan): Likewise.
32457 * math/s_ctanh.c (ctanh): Likewise.
32458 * math/s_ccoshl.c (__ccoshl): Likewise.
32459 * math/s_cexpl.c (__cexpl): Likewise.
32460 * math/s_csinl.c (__csinl): Likewise.
32461 * math/s_csinhl.c (__csinhl): Likewise.
32462 * math/s_ctanl.c (__ctanl): Likewise.
32463 * math/s_ctanhl.c (__ctanhl): Likewise.
32464
203e5603
JM
324652012-09-25 Joseph Myers <joseph@codesourcery.com>
32466
32467 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
32468 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
32469 (_IO_off_t): Define to __off_t, not _G_off_t.
32470 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
32471 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
32472 (_IO_wint_t): Define to wint_t, not _G_wint_t.
32473 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
32474 type of __dummy and __dummy2 fields.
32475 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
32476 (_G_ssize_t): Likewise.
32477 (_G_off_t): Likewise.
32478 (_G_pid_t): Likewise.
32479 (_G_uid_t): Likewise.
32480 (_G_wchar_t): Likewise.
32481 (_G_wint_t): Likewise.
32482 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
32483 (_G_ssize_t): Likewise.
32484 (_G_off_t): Likewise.
32485 (_G_pid_t): Likewise.
32486 (_G_uid_t): Likewise.
32487 (_G_wchar_t): Likewise.
32488 (_G_wint_t): Likewise.
32489 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
32490 (_G_ssize_t): Likewise.
32491 (_G_off_t): Likewise.
32492 (_G_pid_t): Likewise.
32493 (_G_uid_t): Likewise.
32494 (_G_wchar_t): Likewise.
32495 (_G_wint_t): Likewise.
32496
9fab36eb
SP
324972012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
32498
32499 * malloc/arena.c: Include malloc-sysdep.h.
32500 (shrink_heap): Use check_may_shrink_heap to decide if madvise
32501 is sufficient to shrink the heap or an unmap is needed.
32502 * sysdeps/generic/malloc-sysdep.h: New file. Define
32503 new function check_may_shrink_heap.
32504 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
32505 new function check_may_shrink_heap.
32506
2b4f00d1
SP
325072012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
32508
32509 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
32510 comments.
32511
9a9028b1
DL
325122012-09-24 Dmitry V. Levin <ldv@altlinux.org>
32513
57c69bef
DL
32514 * catgets/test-gencat.sh: Add "set -e".
32515 * elf/tst-pathopt.sh: Likewise.
32516 * grp/tst_fgetgrent.sh: Likewise.
32517 * iconvdata/run-iconv-test.sh: Likewise.
32518 * intl/tst-gettext.sh: Likewise.
32519 * intl/tst-gettext2.sh: Likewise.
32520 * intl/tst-gettext4.sh: Likewise.
32521 * intl/tst-gettext6.sh: Likewise.
32522 * intl/tst-translit.sh: Likewise.
32523 * io/ftwtest-sh: Likewise.
32524 * libio/test-freopen.sh: Likewise.
32525 * malloc/tst-mtrace.sh: Likewise.
32526 * posix/globtest.sh: Likewise.
32527 * posix/tst-getconf.sh: Likewise.
32528 * posix/wordexp-tst.sh: Likewise.
32529 * stdio-common/tst-printf.sh: Likewise.
32530 * stdio-common/tst-unbputc.sh: Likewise.
32531 * stdlib/tst-fmtmsg.sh: Likewise.
32532 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
32533 * catgets/Makefile: Do not specify -e option when running
32534 testsuite shell scripts.
32535 * elf/Makefile: Likewise.
32536 * grp/Makefile: Likewise.
32537 * iconvdata/Makefile: Likewise.
32538 * intl/Makefile: Likewise.
32539 * io/Makefile: Likewise.
32540 * libio/Makefile: Likewise.
32541 * malloc/Makefile: Likewise.
32542 * posix/Makefile: Likewise.
32543 * stdio-common/Makefile: Likewise.
32544 * stdlib/Makefile: Likewise.
32545 * sysdeps/x86_64/Makefile: Likewise.
32546
9a9028b1
DL
32547 * io/ftwtest-sh: Add copyright header.
32548 * posix/globtest.sh: Likewise.
32549 * posix/tst-getconf.sh: Likewise.
32550 * posix/wordexp-tst.sh: Likewise.
32551 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
32552
ced6f16e
L
325532012-09-24 H.J. Lu <hongjiu.lu@intel.com>
32554
94b32c39
L
32555 [BZ #13679]
32556 * Makeconfig (+link): Defined as $(+link-static) if
32557 $(build-shared) isn't yes.
32558 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
32559 isn't yes.
32560 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
32561
189e935b
L
32562 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
32563
ced6f16e
L
32564 [BZ #14562]
32565 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
32566 new chunk size with MALLOC_ALIGN_MASK.
32567
a9f8e53a
JM
325682012-09-24 Joseph Myers <joseph@codesourcery.com>
32569
32570 [BZ #5044]
32571 * stdio-common/printf_fphex.c: Include <stdbool.h> and
32572 <rounding-mode.h>.
32573 (__printf_fphex): Determine rounding using get_rounding_mode and
32574 round_away.
32575 * stdio-common/tst-printf-round.c (struct hex_test): New
32576 structure.
32577 (hex_tests): New variable.
32578 (test_hex_in_one_mode): New function.
32579 (do_test): Also run tests for hex float output.
32580
43153109
JM
325812012-09-21 Joseph Myers <joseph@codesourcery.com>
32582
32583 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
32584 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
32585 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
32586 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
32587 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
32588 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
32589 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
32590 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
32591
8a26625d
JM
325922012-09-20 Joseph Myers <joseph@codesourcery.com>
32593
32594 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
32595 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
32596 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
32597 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
32598
f3fd569c
DL
325992012-09-19 Dmitry V. Levin <ldv@altlinux.org>
32600
32601 [BZ #14579]
32602 * elf/rtld.c (dl_main): Limit the check for self loading to normal
32603 mode only.
32604 * elf/tst-rtld-load-self.sh: New test.
32605 * elf/Makefile: Run it.
32606
63bbedd4
JM
326072012-09-18 Joseph Myers <joseph@codesourcery.com>
32608
32609 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
32610 (tst-writev-ENV): Remove.
32611 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
32612
626f8b6a
CM
326132012-09-17 Chris Metcalf <cmetcalf@tilera.com>
32614
32615 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
32616
b7aaa4d6
JM
326172012-09-17 Joseph Myers <joseph@codesourcery.com>
32618
32619 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
32620 unconditional.
32621 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
32622 Likewise.
32623 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
32624 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
32625 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
32626 Likewise.
32627
65513990
L
326282012-09-14 H.J. Lu <hongjiu.lu@intel.com>
32629
32630 [BZ #14587]
32631 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
32632 * config.make.in (have-cpp-asm-debuginfo): Removed.
32633 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
32634 * configure: Regenerated.
32635
784761be
JM
326362012-09-14 Joseph Myers <joseph@codesourcery.com>
32637
32638 [BZ #5044]
32639 * stdio-common/printf_fp.c: Include <stdbool.h> and
32640 <rounding-mode.h>.
32641 (___printf_fp): Determine rounding using get_rounding_mode and
32642 round_away.
32643 * stdio-common/tst-printf-round.c: New file.
32644 * stdio-common/Makefile (tests): Add tst-printf-round.
32645 (link-libm): New variable.
32646 ($(objpfx)tst-printf-round): Depend in $(link-libm).
32647
9503345f
L
326482012-09-13 H.J. Lu <hongjiu.lu@intel.com>
32649
32650 [BZ #14576]
32651 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
32652 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
32653 Likewise.
32654 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
32655 Likewise.
32656
ad35fc00
JM
326572012-09-13 Joseph Myers <joseph@codesourcery.com>
32658
32659 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
32660 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
32661 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
32662 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
32663
6c9b0f68
JM
326642012-09-12 Joseph Myers <joseph@codesourcery.com>
32665
32666 [BZ #14518]
32667 * include/rounding-mode.h: New file.
32668 * sysdeps/generic/get-rounding-mode.h: Likewise.
32669 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
32670 * stdlib/strtod_l.c: Include <rounding-mode.h>.
32671 (MAX_VALUE): New macro.
32672 (MIN_VALUE): Likewise.
32673 (overflow_value): New function.
32674 (underflow_value): Likewise.
32675 (round_and_return): Use overflow_value and underflow_value to
32676 determine return values in overflow and underflow cases. Use
32677 round_away to determine rounding depending on rounding mode.
32678 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
32679 determine return values in overflow and underflow cases.
32680 * stdlib/tst-strtod-round.c: Include <fenv.h>.
32681 (struct test_results): New structure.
32682 (struct test): Use struct test_results to store expected results
32683 for all rounding modes.
32684 (TEST): Include expected results for all rounding modes.
32685 (test_in_one_mode): New function.
32686 (do_test): Use test_in_one_mode to compute and check results.
32687 Check results for all rounding modes.
32688 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
32689 $(link-libm).
32690
19fcedd5
AM
326912012-12-09 Allan McRae <allan@archlinux.org>
32692
1e9d84cd 32693 * sysdeps/i386/fpu/libm-test-ulps: Update
19fcedd5 32694
8bbfd2f1
JM
326952012-09-11 Joseph Myers <joseph@codesourcery.com>
32696
32697 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
32698 (_G_int32_t): Likewise.
32699 (_G_uint16_t): Likewise.
32700 (_G_uint32_t): Likewise.
32701 (_G_HAVE_BOOL): Likewise.
32702 (_G_HAVE_ATEXIT): Likewise.
32703 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
32704 (_G_HAVE_IO_FILE_OPEN): Likewise.
32705 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
32706 (_G_int32_t): Likewise.
32707 (_G_uint16_t): Likewise.
32708 (_G_uint32_t): Likewise.
32709 (_G_HAVE_BOOL): Likewise.
32710 (_G_HAVE_ATEXIT): Likewise.
32711 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
32712 (_G_HAVE_IO_FILE_OPEN): Likewise.
32713 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
32714 (_G_int32_t): Likewise.
32715 (_G_uint16_t): Likewise.
32716 (_G_uint32_t): Likewise.
32717 (_G_HAVE_BOOL): Likewise.
32718 (_G_HAVE_ATEXIT): Likewise.
32719 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
32720 (_G_HAVE_IO_FILE_OPEN): Likewise.
32721
b1dc5912
L
327222012-09-11 H.J. Lu <hongjiu.lu@intel.com>
32723
32724 * csu/libc-tls.c: Update copyright years.
32725
0e886ef9
JM
327262012-09-10 Joseph Myers <joseph@codesourcery.com>
32727
28361c5e
JM
32728 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
32729 [!_G_USING_THUNKS]: Remove conditional code.
32730 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
32731 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
32732
0e886ef9
JM
32733 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
32734 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
32735 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
32736 (_G_VTABLE_LABEL_PREFIX): Likewise.
32737 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
32738 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
32739 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
32740 (_G_VTABLE_LABEL_PREFIX): Likewise.
32741 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
32742 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
32743 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
32744 (_G_VTABLE_LABEL_PREFIX): Likewise.
32745 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
32746
bcba7aa2
L
327472012-09-10 H.J. Lu <hongjiu.lu@intel.com>
32748
32749 * libio/Makefile: Include ../Makeconfig before tests.
32750 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
32751 only if $(build-shared) is yes.
32752
06585ee8
L
32753 * iconv/gconv_db.c: Update copyright years.
32754
80ccd52c
LD
327552012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32756
32757 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
32758 unwind info if defined PIC. Fix special cases description.
32759 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
32760
32761 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
32762 DP_HI_MASK entry.
32763 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
32764
691bc9c1
L
327652012-09-07 H.J. Lu <hongjiu.lu@intel.com>
32766
3d9b46b3
L
32767 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
32768
de2139a9
L
32769 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
32770 is NULL.
32771
5ca78dd0
L
32772 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
32773 (LDLIBS-tst-chk4): This.
32774 (LDFLAGS-tst-chk5): Renamed to ...
32775 (LDLIBS-tst-chk5): This.
32776 (LDFLAGS-tst-chk6): Renamed to ...
32777 (LDLIBS-tst-chk6): This.
32778 (LDFLAGS-tst-lfschk4): Renamed to ...
32779 (LDLIBS-tst-lfschk4): This.
32780 (LDFLAGS-tst-lfschk5): Renamed to ...
32781 (LDLIBS-tst-lfschk5): This.
32782 (LDFLAGS-tst-lfschk6): Renamed to ...
32783 (LDLIBS-tst-lfschk6): This.
32784
691bc9c1
L
32785 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
32786 on $(common-objpfx)soversions.mk.
32787
65cafb1c
JM
327882012-09-07 Joseph Myers <joseph@codesourcery.com>
32789
32790 [BZ #10014]
32791 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
32792 example host name.
32793
c78ab094
SP
327942012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
32795
32796 * malloc/arena.c (arena_get_retry): New function that gets
32797 another arena for the caller to try its request on.
32798 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
32799 current arena cannot fulfill the request.
32800 (__libc_memalign): Likewise.
32801 (__libc_memalign): Likewise.
32802 (__libc_pvalloc): Likewise.
32803 (__libc_calloc): Likewise.
32804
01f49f59
JT
328052012-09-05 John Tobey <john.tobey@gmail.com>
32806
32807 [BZ #13542]
32808 * manual/arith.texi (Operations on Complex): Fix description
32809 of carg branch cut.
32810
4c23fed5
JM
328112012-09-06 Joseph Myers <joseph@codesourcery.com>
32812
1d3c8572
JM
32813 [BZ #10014]
32814 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
32815 host name.
32816
4c23fed5
JM
32817 [BZ #10038]
32818 * manual/memory.texi (Memory): Make order of menu items match
32819 order of sections.
32820
04570aaa
L
328212012-09-06 H.J. Lu <hongjiu.lu@intel.com>
32822
32823 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
32824 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
32825 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
32826
b80af2f4
L
328272012-09-06 H.J. Lu <hongjiu.lu@intel.com>
32828
32829 * csu/libc-tls.c (static_dtv): Renamed to ...
32830 (_dl_static_dtv): This. Make it global.
32831 (_dl_initial_dtv): Removed.
32832 (__libc_setup_tls): Updated.
32833 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
32834 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
32835 DL_INITIAL_DTV.
32836
2abe9f15
PM
328372012-09-06 Petr Machata <pmachata@redhat.com>
32838
32839 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
32840 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
32841 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
32842 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
32843
0948c3af
L
328442012-09-06 H.J. Lu <hongjiu.lu@intel.com>
32845
32846 [BZ #14545]
32847 * csu/libc-tls.c (_dl_initial_dtv): New variable.
32848 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
32849 freeing dtv[-1].
32850
a5055ad1
L
328512012-09-06 H.J. Lu <hongjiu.lu@intel.com>
32852
32853 [BZ #14544]
32854 * Makeconfig (link-static-before-libc): Replace $(+prector)
32855 with $(+prectorT).
32856 (link-static-after-libc): Replace $(+postctor) with
32857 $(+postctorT).
32858 (link-bounded): Replace $(+prector)/$(+postctor) with
32859 $(+prectorT)/$(+postctorT).
32860 (+prectorT): New macro.
32861 (+postctorT): Likewise.
32862
ed8c2ecd
JM
328632012-09-06 Joseph Myers <joseph@codesourcery.com>
32864
32865 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
32866 (round_str): Handle values above the maximum for IBM long double
32867 as inexact.
32868 * stdlib/tst-strtod-round.c (tests): Regenerated.
32869
14c996c8
AK
328702012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
32871
32872 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
32873 assembler flag.
32874 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
32875 zarch_nohighgprs around the zarch optimized routines.
32876 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
32877 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
32878 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
32879 for zarch.
32880
430d6ce6
DM
328812012-09-05 David S. Miller <davem@davemloft.net>
32882
32883 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32884
57f41c40
AS
32885 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
32886 (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
ff04dda4
DM
32887 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
32888 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
32889 entries.
32890
24d4e01b
AO
328912012-09-05 Alexandre Oliva <aoliva@redhat.com>
32892
32893 * malloc/arena.c: Fold copyright years.
32894 * malloc/mcheck.c, malloc/memusage.c: Likewise.
32895
61d58174
AO
328962012-09-05 Alexandre Oliva <aoliva@redhat.com>
32897
32898 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
32899
20196a5e
AO
329002012-09-05 Alexandre Oliva <aoliva@redhat.com>
32901
32902 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
32903
5c447383
AO
329042012-09-05 Alexandre Oliva <aoliva@redhat.com>
32905
32906 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
32907 change internal state upon failure.
32908
fad64255
AO
329092012-09-05 Alexandre Oliva <aoliva@redhat.com>
32910
32911 * malloc/mcheck.c (mcheck_check_all): Fix typo.
32912 * malloc/memusage.c (mmap): Likewise.
32913 (mmap64, mremap): Likewise. Adjust name in comment.
32914
1ffb8c90
SP
329152012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
32916
32917 * libio/fileops.c: Fix typos in comments.
32918 * libio/oldfileops.c: Likewise.
32919 * libio/wfileops.c: Likewise.
32920
6ef9cc37
SP
329212012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
32922
32923 [BZ #1349]
32924 * malloc/Makefile (tests): Add tst-malloc-usable test case.
32925 (tst-malloc-usable-ENV): Set environment for test case.
32926 * malloc/hooks.c (malloc_check_get_size): New function to get
32927 requested size.
32928 * malloc/malloc.c (musable): Use malloc_check_get_size.
32929 * malloc/tst-malloc-usable.c: New test case.
32930
4d038ae3
AS
329312012-09-05 Andreas Schwab <schwab@linux-m68k.org>
32932
32933 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
32934
c4e85184
AM
329352012-09-05 Allan McRae <allan@archlinux.org>
32936
b9dafc56 32937 [BZ #13966]
c4e85184
AM
32938 * configure.in (CXX_SYSINCLUDES): Use compiler output to
32939 determine header location.
32940 * configure: Regenerated.
32941
e1343020
AS
329422012-09-05 Andreas Schwab <schwab@linux-m68k.org>
32943
32944 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
32945 float format.
32946 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
a0070b7e
AS
32947 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
32948 format.
e1343020
AS
32949 (test): Regenerate.
32950
0a9f1987
DM
329512012-09-04 David S. Miller <davem@davemloft.net>
32952
32953 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
32954 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
32955 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
32956
29237804
FW
329572012-09-04 Florian Weimer <fweimer@redhat.com>
32958
32959 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
32960 failures.
32961
edb3cb88
FW
32962 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
32963
60160d83
JM
329642012-09-04 Joseph Myers <joseph@codesourcery.com>
32965
32966 [BZ #9914]
32967 * libio/iogetdelim.c: Include <limits.h>.
32968 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
32969 + len + 1 would overflow.
32970
bcd6c8dc
AJ
329712012-09-03 Andreas Jaeger <aj@suse.de>
32972
32973 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
32974 * sysdeps/i386/fpu/libm-test-ulps: Update.
32975
4ffffbd2
LD
329762012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32977
32978 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
32979 Add s_sinf-sse2, s_conf-sse2.
32980
32981 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
32982 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
32983 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
32984 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
32985
32986 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
32987 for using routine as __sinf_ia32.
32988 Use macro for function declaration and weak_alias.
32989 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
32990 for using routine as __cosf_ia32.
32991 Use macro for function declaration and weak_alias.
32992
32993 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
32994 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
32995
32996 * sysdeps/x86_64/fpu/s_sinf.S: New file.
32997 * sysdeps/x86_64/fpu/s_cosf.S: New file.
32998 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
32999
33000 * math/libm-test.inc (cos_test): Add more test cases.
33001 (sin_test): Likewise.
33002 (sincos_test): Likewise.
33003
511fa286
AK
330042012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
33005
33006 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
33007 (IFUNC_RESOLVE): Make pointers to the specialized implementations
33008 hidden.
33009 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
33010
5f30cfec
L
330112012-09-02 H.J. Lu <hongjiu.lu@intel.com>
33012
33013 [BZ #14538]
33014 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
33015 first element of the GOT.
33016 (elf_machine_load_address): Return the difference between
33017 the runtime address of _DYNAMIC and elf_machine_dynamic ().
33018
0786794f
AM
330192012-09-01 Allan McRae <allan@archlinux.org>
33020
5f30cfec
L
33021 [BZ #13412]
33022 * configure.in (AWK): Require gawk version 3.0 or later.
33023 * configure: Regenerated.
0786794f 33024
26889eac
JM
330252012-09-01 Joseph Myers <joseph@codesourcery.com>
33026
33027 * sysdeps/unix/sysv/linux/kernel-features.h
33028 (__ASSUME_POSIX_CPU_TIMERS): Remove.
33029 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
33030 [__NR_clock_getres]: Make code unconditional.
33031 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
33032 (clock_getcpuclockid): Remove code left unreachable by removal of
33033 conditionals.
33034 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
33035 code unconditional.
33036 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
33037 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
33038 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
33039 Make code unconditional.
33040 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
33041 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
33042 * sysdeps/unix/sysv/linux/clock_settime.c
33043 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
33044 conditional code.
33045 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
33046 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
33047
d22e28b0
L
330482012-08-29 H.J. Lu <hongjiu.lu@intel.com>
33049
33050 [BZ #14476]
33051 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
33052 scripts/test-installation.pl.
33053
33054 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
33055 and $ld_so_version if it is set.
33056
050af9c4
SP
330572012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
33058
33059 [BZ #14516]
33060 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
33061 failure if reading from procfs failed.
33062 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
33063
ad845c0b
JM
330642012-08-27 Joseph Myers <joseph@codesourcery.com>
33065
33066 * sysdeps/unix/sysv/linux/kernel-features.h
33067 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
33068 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
33069 Remove conditional code.
33070 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
33071 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
33072 Remove conditional code.
33073 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
33074 * sysdeps/unix/sysv/linux/i386/fxstat.c
33075 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
33076 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
33077 * sysdeps/unix/sysv/linux/i386/fxstatat.c
33078 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
33079 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
33080 * sysdeps/unix/sysv/linux/i386/lxstat.c
33081 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
33082 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
33083 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
33084 Remove conditional code.
33085 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
33086 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
33087 Remove conditional code.
33088 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
33089 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
33090 <kernel-features.h>.
33091 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
33092 Remove.
33093 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
33094 Remove conditional code.
33095 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
33096 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
33097 Remove conditional.
33098
5dbf56af
MF
330992012-08-27 Mike Frysinger <vapier@gentoo.org>
33100
33101 [BZ #5400]
33102 * NEWS: Add fixed bug number.
33103
d6e70f43
JM
331042012-08-27 Joseph Myers <joseph@codesourcery.com>
33105
7efb4737
JM
33106 [BZ #14519]
33107 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
33108 underflowing exponent in case of negative sign.
33109 * stdlib/tst-strtod-round-data: Add more tests.
33110 * stdlib/tst-strtod-round.c (tests): Regenerated.
33111
af92131a
JM
33112 [BZ #3479]
33113 * stdlib/strtod_l.c (NDIG): Remove.
33114 (HEXNDIG): Likewise.
33115 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
33116 smallest representable value.
33117 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
33118 lie within an exact representation of 1/2 ulp of the result.
33119 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
33120 unconditionally.
33121 (TENS_P9_IDX): Define unconditionally.
33122 (TENS_P9_SIZE): Likewise.
33123 (TENS_P10_IDX): Likewise.
33124 (TENS_P10_SIZE): Likewise.
33125 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
33126 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
33127 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
33128 entries for 10^2^13 and 10^2^14.
33129 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
33130 (TENS_P13_IDX): Define.
33131 (TENS_P13_SIZE): Likewise.
33132 (TENS_P14_IDX): Likewise.
33133 (TENS_P14_SIZE): Likewise.
33134 (_fpioconst_pow10): Change array size to
33135 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
33136 unconditional.
33137 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
33138 1024]: Add entries for 10^2^13 and 10^2^14.
33139 [LAST_POW10 > _LAST_POW10]: Remove #error.
33140 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
33141 (_fpioconst_pow10): Change array size to
33142 FPIOCONST_POW10_ARRAY_SIZE.
33143 * stdlib/gen-fpioconst.c: New file.
33144 * stdlib/gen-tst-strtod-round.c: Likewise.
33145 * stdlib/tst-strtod-round-data: Likewise.
33146 * stdlib/tst-strtod-round.c: Likewise.
33147 * stdlib/Makefile (tests): Add tst-strtod-round.
33148
d6e70f43
JM
33149 [BZ #14459]
33150 * stdlib/strtod_l.c: Include <stdint.h>.
33151 (NDEBUG): Do not define.
33152 (round_and_return): Change EXPONENT parameter to type intmax_t.
33153 Rearrange calculations to avoid internal overflow possibilities.
33154 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
33155 Rearrange calculations to avoid internal overflow possibilities.
33156 Assert that number fits inside MPNSIZE limbs.
33157 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
33158 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
33159 calculations and add assertions to avoid internal overflow
33160 possibilities. Add casts to avoid signed/unsigned operations.
33161 * stdlib/tst-strtod-overflow.c: New file.
33162 * stdlib/Makefile (tests): Add tst-strtod-overflow.
33163
1f529f7d
MP
331642012-08-25 Marek Polacek <polacek@redhat.com>
33165
33166 * time/time.h: Fix some typos in comments.
33167
59a629f1
RM
331682012-08-23 Roland McGrath <roland@hack.frob.com>
33169
33170 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
33171 * posix/tst-rfc3484-2.c: Likewise.
33172 * posix/tst-rfc3484-3.c: Likewise.
33173
d3bafbc9
SM
331742012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
33175
33176 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
33177 (EF_ARM_ABI_FLOAT_HARD): Likewise.
33178
4efcc022
JM
331792012-08-23 Joseph Myers <joseph@codesourcery.com>
33180
33181 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
33182 #include of fxstatat64.c.
33183
3cc3ef96
RM
331842012-08-22 Roland McGrath <roland@hack.frob.com>
33185
f04e2132
RM
33186 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
33187 * shadow/getspent_r.c: Likewise.
33188 * shadow/getspnam.c: Likewise.
33189 * shadow/getspnam_r.c: Likewise.
33190 * gshadow/getsgent.c: Likewise.
33191 * gshadow/getsgent_r.c: Likewise.
33192 * gshadow/getsgnam.c: Likewise.
33193 * gshadow/getsgnam_r.c: Likewise.
33194 * inet/getnetbyad.c: Likewise.
33195 * inet/getnetbyad_r.c: Likewise.
33196 * inet/getnetbynm.c: Likewise.
33197 * inet/getnetbynm_r.c: Likewise.
33198 * inet/getnetent.c: Likewise.
33199 * inet/getnetent_r.c: Likewise.
33200 * inet/getproto.c: Likewise.
33201 * inet/getproto_r.c: Likewise.
33202 * inet/getprtent.c: Likewise.
33203 * inet/getprtent_r.c: Likewise.
33204 * inet/getprtname.c: Likewise.
33205 * inet/getprtname_r.c: Likewise.
33206 * inet/getrpcbyname.c: Likewise.
33207 * inet/getrpcbyname_r.c: Likewise.
33208 * inet/getrpcbynumber.c: Likewise.
33209 * inet/getrpcbynumber_r.c: Likewise.
33210 * inet/getrpcent.c: Likewise.
33211 * inet/getrpcent_r.c: Likewise.
33212 * inet/getaliasent.c: Likewise.
33213 * inet/getaliasent_r.c: Likewise.
33214 * inet/getaliasname.c: Likewise.
33215 * inet/getaliasname_r.c: Likewise.
33216 * nscd/getgrgid_r.c: Likewise.
33217 * nscd/getgrnam_r.c: Likewise.
33218 * nscd/gethstbyad_r.c: Likewise.
33219 * nscd/gethstbynm3_r.c: Likewise.
33220 * nscd/getpwnam_r.c: Likewise.
33221 * nscd/getpwuid_r.c: Likewise.
33222 * nscd/getsrvbynm_r.c: Likewise.
33223 * nscd/getsrvbypt_r.c: Likewise.
33224 * nscd/gai.c: Likewise.
33225
c53d909c
RM
33226 * configure.in (build_nscd): New substituted variable, set
33227 by --disable-build-nscd and defaults to $use_nscd.
33228 * configure: Regenerated.
33229 * config.make.in (build-nscd): New substituted variable.
33230 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
33231 Change conditional to require [$(build-nscd) = yes] as well.
33232 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
33233
3cc3ef96
RM
33234 [BZ# 13696]
33235 * configure.in (use_nscd): New substituted variable, set by
33236 --disable-nscd. If enabled, define USE_NSCD.
33237 * configure: Regenerated.
33238 * config.h.in: Add USE_NSCD.
33239 * config.make.in (use-nscd): New substituted variable.
33240 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
33241 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
33242 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
33243 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
33244 (CFLAGS-getgrnam_r.c): Likewise.
33245 (CFLAGS-initgroups.c): Likewise.
33246 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
33247 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
33248 Variables removed.
33249 * inet/getnetgrent_r.c
33250 (nscd_setnetgrent): New function, broken out of ...
33251 (setnetgrent): ... here. Call it.
33252 (innetgr): Conditionalize nscd bits on [USE_NSCD].
33253 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
33254 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
33255 * nscd/Makefile (routines, aux): Move definitions after include of
33256 Makeconfig. Conditionalize on [$(use-nscd) != no].
33257 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
33258 Conditionalize on [USE_NSCD].
33259 (is_nscd, nscd_init_cb): Likewise.
33260 (nss_load_library): Conditionalize init callback on [USE_NSCD].
33261 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
33262 * nss/nss_db/db-init.c: Likewise.
33263 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
33264 [USE_NSCD].
33265 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
33266 (make_request): Use it.
33267 (cache_valid_p): New function.
33268 (__check_pf): Use it.
33269 * NEWS: Add item for --disable-nscd.
33270
07e51550
DL
332712012-08-22 Dmitry V. Levin <ldv@altlinux.org>
33272
33273 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
33274 to support sed >= 4.2.1-20-ga9bf076.
33275 * configure: Regenerated.
33276
35a5b08b
RM
332772012-08-22 Roland McGrath <roland@hack.frob.com>
33278
33279 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
33280 Conditionalize whole body on [IREL].
33281
8479f23a
JL
332822012-08-22 Jeff Law <law@redhat.com>
33283
33284 [BZ #14505]
33285 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
33286 if the family is PF_UNSPEC.
33287
48da0b21
MF
332882012-08-22 Mike Frysinger <vapier@gentoo.org>
33289
33290 * Makerules (lib-version): Rename from V.
33291 (install-lib-nosubdir): Change V to lib-version.
33292
15d0da8c
WS
332932012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
33294
33295 [BZ #14252]
33296 * powerpc32/power6/wcschr.c: New file.
33297 * powerpc32/power6/wcscpy.c: New file.
33298 * powerpc32/power6/wcsrchr.c: New file.
33299 * powerpc64/power6/wcschr.c: New file.
33300 * powerpc64/power6/wcscpy.c: New file.
33301 * powerpc64/power6/wcsrchr.c: New file.
33302
bcca0895
MK
333032012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
33304
33305 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
33306 (two_way_short_needle): Use it.
5a4aaa33
RM
33307 * string/strstr.c (AVAILABLE1_USES_J): Define.
33308 * string/strcasestr.c: Likewise.
99677e57
MK
33309
33310 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
33311 array references.
33312 * string/strcasestr.c (TOLOWER): Make side-effect safe.
33313
400726de
MK
33314 [BZ #11607]
33315 * NEWS: Add an entry.
33316 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
33317 define their defaults.
33318 (two_way_short_needle): Detect end-of-string on-the-fly.
33319 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
33320 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
33321 * string/bug-strcasestr1.c: New test.
33322 * string/Makefile: Run it.
33323
20a71f2c
MK
333242012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
33325
33326 [BZ #11607]
33327 * string/str-two-way.h (two_way_short_needle): Optimize matching of
33328 the first character.
33329
21ad0558
RM
333302012-08-21 Roland McGrath <roland@hack.frob.com>
33331
33332 * csu/elf-init.c (__libc_csu_irel): Function removed.
33333 * csu/libc-start.c (apply_irel): New function.
33334 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
33335
0e1d9911
JM
333362012-08-21 Joseph Myers <joseph@codesourcery.com>
33337
33338 * sysdeps/unix/sysv/linux/kernel-features.h
33339 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
33340 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
33341 <kernel-features.h>.
33342 [__NR_fadvise64_64]: Make code unconditional.
33343 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
33344 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
33345 !__NR_fadvise64_64)]: Likewise.
33346 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
33347 !__NR_fadvise64_64))]: Likewise.
33348 [__NR_fadvise64]: Make code unconditional.
33349 [!__NR_fadvise64]: Remove conditional code.
33350 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
33351 <kernel-features.h>.
33352 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
33353 unconditional.
33354 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
33355 conditional code.
33356 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
33357 not include <kernel-features.h>.
33358 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
33359 unconditional.
33360 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
33361 conditional code.
33362 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
33363 include <kernel-features.h>.
33364 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
33365 unconditional.
33366 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
33367 conditional code.
33368
14a50c9d
WS
333692012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
33370
33371 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
33372 slight instruction rearrangements per scrollpipe analysis.
33373 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
33374
c0f4faf0
RM
333752012-08-20 Roland McGrath <roland@hack.frob.com>
33376
696da859
RM
33377 * manual/syslog.texi (syslog; vsyslog, closelog):
33378 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
33379 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
33380
c0f4faf0
RM
33381 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
33382 DSOCAPS to match condition on defining it.
33383
348363b2
JM
333842012-08-20 Joseph Myers <joseph@codesourcery.com>
33385
a35cbf28
JM
33386 * sysdeps/unix/sysv/linux/kernel-features.h
33387 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
33388 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
33389 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
33390 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
33391 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
33392 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
33393 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
33394 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
33395 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
33396 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
33397
445f7ecd
JM
33398 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
33399 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
33400
348363b2
JM
33401 * sysdeps/unix/sysv/linux/kernel-features.h
33402 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
33403 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
33404 unconditional.
33405 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
33406 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
33407 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
33408 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
33409 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
33410 Make code unconditional.
33411 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
33412 (__mmap64) [!__NR_mmap2]: Likewise.
33413 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
33414 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
33415 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
33416 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
33417 [__NR_mmap2]: Make code unconditional.
33418 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
33419 (__mmap64) [!__NR_mmap2]: Likewise.
33420
bc5bc0e5
AK
334212012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
33422
33423 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
33424
88d506de
AJ
334252012-08-18 Andreas Jaeger <aj@suse.de>
33426
33427 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
33428
493387d2
MF
334292012-08-18 Mike Frysinger <vapier@gentoo.org>
33430
33431 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
33432 * include/unistd.h (__have_sock_cloexec): Likewise.
33433 (__have_pipe2): Likewise.
33434 (__have_dup3): Likewise.
33435
a277af22
MF
334362012-08-18 Mike Frysinger <vapier@gentoo.org>
33437
33438 [BZ #9685]
33439 * include/unistd.h (__have_pipe2): Change define into an extern int.
33440 (__have_dup3): Likewise.
33441 * socket/have_sock_cloexec.c: Include fcntl.h.
33442 (__have_pipe2): New variable.
33443 (__have_dup3): Likewise.
33444
fdab8fd3
MF
334452012-08-17 Mike Frysinger <vapier@gentoo.org>
33446
33447 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
33448
31035e80
MP
334492012-08-17 Marek Polacek <polacek@redhat.com>
33450
33451 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
33452 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
33453
3bd9e993
RM
334542012-08-17 Roland McGrath <roland@hack.frob.com>
33455
c91c505f
RM
33456 * configure.in: Add AC_SUBST for sysheaders.
33457 * configure: Regenerated.
33458 * config.make.in (sysheaders): New substituted variable.
33459
7c6f9d53
RM
33460 * sysdeps/unix/mkfifo.c: Moved ...
33461 * sysdeps/posix/mkfifo.c: ... here.
33462 * sysdeps/unix/mkfifoat.c: Moved ...
33463 * sysdeps/posix/mkfifoat.c: ... here.
33464
33465 * sysdeps/unix/utime.c: Moved ...
33466 * sysdeps/posix/utime.c: ... here.
33467
33468 * sysdeps/unix/time.c: Moved ...
33469 * sysdeps/posix/time.c: ... here.
e3b398f9
RM
33470 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
33471 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7c6f9d53
RM
33472
33473 * sysdeps/unix/nice.c: Moved ...
33474 * sysdeps/posix/nice.c: ... here.
33475
33476 * sysdeps/unix/alarm.c: Moved ...
33477 * sysdeps/posix/alarm.c: ... here.
33478
3bd9e993
RM
33479 * intl/Makefile ($(codeset_mo)): Depend on the input file.
33480
d1f09384
JL
334812012-08-17 Jeff Law <law@redhat.com>
33482
33483 * intl/Makefile (codeset_mo): New variable.
33484 ($(codeset_mo)): New target.
33485 (tst-codeset.out): Depend on that. Remove explicit rule.
33486 (tst-gettext3.out, tst-gettext5.out): Likewise.
33487 (LOCPATH-ENV, tst-codeset-ENV): New variables.
33488 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
33489 * intl/tst-codeset.sh: Remove.
33490 * intl/tst-gettext3.sh: Likewise.
33491 * intl/tst-gettext5.sh: Likewise.
33492
2ae1ae5c
RM
334932012-08-17 Roland McGrath <roland@hack.frob.com>
33494
c31fdb83
RM
33495 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
33496 * sysdeps/unix/syscalls.list: ... here.
33497
a0844057
RM
33498 * sysdeps/posix/getaddrinfo.c
33499 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
33500 (gaiconf_init, gaiconf_reload): Use them.
33501 [!_STATBUF_ST_NSEC]
33502 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
33503 Define using time_t rather than struct timespec.
33504
750c1f2a
RM
33505 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
33506 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
33507 Macros removed.
33508 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
33509 [!NO_THREADS].
33510 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
33511 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
33512 Likewise.
33513
2ae1ae5c
RM
33514 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
33515 __libc_cleanup_push argument.
33516
e66a42f5
RM
33517 * bits/param.h: New file.
33518 * misc/sys/param.h: New file.
33519 * include/sys/param.h: New file.
33520 * misc/Makefile (headers): Add bits/param.h.
33521 * sysdeps/generic/sys/param.h: File removed.
33522 * sysdeps/unix/sysv/linux/bits/param.h: New file.
33523 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
33524 * sysdeps/mach/hurd/bits/param.h: New file.
4078da3d 33525 * sysdeps/mach/hurd/sys/param.h: File removed.
e66a42f5 33526
b7c08a66
RM
33527 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
33528 last change.
33529
b2e1c562
RM
33530 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
33531 [_IO_MTSAFE_IO].
33532 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
33533 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
33534 New macros.
33535
c75ccd4c
RM
33536 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
33537 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
33538 rather than -D_IO_MTSAFE_IO conditionally.
33539 * stdio-common/Makefile (CPPFLAGS): Likewise.
33540 * wcsmbs/Makefile (CPPFLAGS): Likewise.
33541 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
33542 Use $(libio-mtsafe).
33543 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
33544 of -D_IO_MTSAFE_IO.
33545 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
33546 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
33547 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
33548 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
33549 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
33550 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
33551 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
33552 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
33553 (CFLAGS-fread_u_chk.c): Likewise.
33554 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
33555 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
33556 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
33557 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
33558 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
33559 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
33560 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
33561 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
33562 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
33563
33564 * libio/Makefile: Test [$(libc-reentrant) = yes]
33565 instead of [$(filter %REENTRANT, $(defines)) nonempty].
33566
33567 * Makeconfig
33568 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
33569 * sysdeps/pthread/configure: File removed.
33570 * sysdeps/pthread/Makeconfig: New file.
33571 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
33572 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
33573
d9195db8
GB
335742012-08-16 Gary Benson <gbenson@redhat.com>
33575
33576 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
33577 unmapping the first object in a namespace.
33578
86466cd9
RM
335792012-08-16 Roland McGrath <roland@hack.frob.com>
33580
33581 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
33582 (__internal_setnetgrent): ... this. Add internal_function to
33583 definition. Add libc_hidden_def.
33584 (setnetgrent): Update caller.
33585 (internal_endnetgrent): Renamed to ...
33586 (__internal_endnetgrent): ... this. Add internal_function to
33587 definition. Add libc_hidden_def.
33588 (endnetgrent): Update caller.
33589 (internal_getnetgrent_r): Renamed to ...
33590 (__internal_getnetgrent_r): ... this. Add internal_function to
33591 definition. Add libc_hidden_def.
33592 (__getnetgrent_r): Update caller.
33593 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
33594
c3c8283c
JM
335952012-08-16 Joseph Myers <joseph@codesourcery.com>
33596
33597 * stdlib/longlong.h: Update from GCC.
33598
db1ee0a8
RM
335992012-08-16 Roland McGrath <roland@hack.frob.com>
33600
33601 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
33602 on _QL, which is set by umul_ppmm but never used.
33603 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
33604 variables, which are set by GMP macros but never used.
33605 * stdio-common/_itowa.c (_itowa): Likewise.
33606 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
33607 * stdlib/mod_1.c (mpn_mod_1): Likewise.
33608
30f69637
CD
336092012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
33610
33611 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
33612 struct La_sh_regs is not constant.
33613 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
33614 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
33615 and struct La_sparc64_regs are not constant.
33616
93a78ac4
JM
336172012-08-16 Joseph Myers <joseph@codesourcery.com>
33618
33619 * sysdeps/unix/sysv/linux/kernel-features.h
33620 (__ASSUME_POSIX_TIMERS): Remove.
33621 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
33622 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
33623 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
33624 Make code unconditional.
33625 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
33626 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
33627 Make code unconditional.
33628 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
33629 * sysdeps/unix/sysv/linux/clock_nanosleep.c
33630 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
33631 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
33632 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
33633 Make code unconditional.
33634 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
33635 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
33636 (__libc_missing_posix_timers): Remove.
33637
dd924cd7
RM
336382012-08-15 Roland McGrath <roland@hack.frob.com>
33639
4b4f2771
RM
33640 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
33641 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
33642
601c888b
RM
33643 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
33644
176790a7
RM
33645 * elf/dl-sym.c: Include <stdlib.h>.
33646
329bc018
RM
33647 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
33648 constants, which avoids warnings in 32-bit builds.
33649
e04e272d
RM
33650 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
33651 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
33652
952bf94a
RM
33653 * misc/lseek.c: File moved to ...
33654 * io/lseek.c: ... here.
33655
7c99b50a
RM
33656 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
33657
dd924cd7
RM
33658 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
33659 shifting LEN more than 31 bits at once.
33660
b3f479a8
LD
336612012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
33662
33663 [BZ #14195]
8c4ae0d4
RM
33664 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
33665 segmentation fault for a case of two empty input strings.
b3f479a8
LD
33666 * string/test-strncasecmp.c (check1): Renamed to...
33667 (bz12205): ...this.
33668 (bz14195): Add new testcase for two empty input strings and N > 0.
33669 (test_main): Call new testcase, adapt for renamed function.
33670
9c55864e
AJ
336712012-08-15 Andreas Jaeger <aj@suse.de>
33672
33673 [BZ #14090]
33674 * crypt/md5test2.c: New test, based on test supplied by Serge
33675 Belyshev <belyshev@depni.sinp.msu.ru>.
33676 * crypt/Makefile (xtests): Add md5test-giant..
33677 * crypt/Makefile ($(objpfx)md5test-giant): Add.
33678
02dcb6c5
PE
336792012-08-15 Paul Eggert <eggert@cs.ucla.edu>
33680
33681 [BZ #14090]
33682 * crypt/md5.c (md5_process_block): Don't assume the buffer
33683 length is less than 2**32.
33684 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
33685 length is less than 2**64.
33686
a3f95dcc
RM
336872012-08-15 Roland McGrath <roland@hack.frob.com>
33688
be75d758
RM
33689 * string/str-two-way.h: Include <sys/param.h>.
33690 (MAX): Macro removed.
33691
7312ca90
RM
33692 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
33693 Move #define and #undef of memmove to just before and after
33694 including <string.h>.
33695
9a0a5486
RM
33696 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
33697 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
33698 and after including <string.h>. Move declarations of
33699 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
33700 to before #include "string/memmove.c".
33701
67cc348d
RM
33702 * include/dirent.h: Declare __getdirentries.
33703
a3f95dcc
RM
33704 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
33705 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
33706
ca98e171
MF
337072012-08-14 Mike Frysinger <vapier@gentoo.org>
33708
33709 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
33710 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
33711 * sysdeps/i386/configure: Regenerated.
33712 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
33713 STABS_CURRENT_FILE, and STABS_FUN.
33714 (END): Remove call to STABS_FUN_END.
33715 (STABS_CURRENT_FILE1): Delete.
33716 (STABS_CURRENT_FILE): Likewise.
33717 (STABS_FUN): Likewise.
33718 (STABS_FUN_END): Likewise.
33719 (STABS_FUN2): Likewise.
33720 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
33721 * sysdeps/x86_64/configure: Regenerated.
33722
5908bf46
RM
337232012-08-14 Roland McGrath <roland@hack.frob.com>
33724
33725 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 33726 * elf/dl-lookup.c: Likewise.
5908bf46 33727
f2c05b9e
JM
337282012-08-14 Joseph Myers <joseph@codesourcery.com>
33729
33730 * sysdeps/unix/sysv/linux/kernel-features.h
33731 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
33732 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
33733 unconditionally.
33734 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
33735 unconditionally.
33736 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
33737 condition on __ASSUME_CLONE_THREAD_FLAGS.
33738
e11f5155
AJ
337392012-08-14 Andreas Jaeger <aj@suse.de>
33740
33741 * sysdeps/i386/fpu/libm-test-ulps: Update.
33742
51a9ba86
MK
337432012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
33744
2fdd4f78
AJ
33745 * include/atomic.h (atomic_exchange_and_add): Split into ...
33746 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
33747 New atomic macros.
51a9ba86 33748
ba6cba9e
MT
337492012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
33750
33751 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
33752
42443a47
JL
337532012-08-13 Jeff Law <law@redhat.com>
33754
33755 * manual/stdio.texi (snprintf): Clarify handling of the trailing
33756 null byte in the output string.
33757
121dce05
JM
337582012-08-10 Joseph Myers <joseph@codesourcery.com>
33759
33760 * sysdeps/unix/sysv/linux/kernel-features.h
33761 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
33762 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
33763 (__ASSUME_ARG_MAX_STACK_BASED): Define.
33764 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
33765 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
33766 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
33767 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
33768
bf51f568
JL
337692012-08-09 Jeff Law <law@redhat.com>
33770
33771 [BZ #13939]
33772 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
33773 When avoid_arena is set, don't retry in the that arena. Pick the
33774 next one, whatever it might be.
33775 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
33776 (arena_lock): Pass in new parameter to arena_get2.
33777 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
33778 arena_get2.
33779 (__libc_malloc): Unify retrying after main arena failure with
33780 __libc_memalign version.
33781 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
33782
f85fa270
L
337832012-08-09 H.J. Lu <hongjiu.lu@intel.com>
33784
33785 [BZ #14166]
33786 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
33787 to __redirect_strstr.
33788 (__strstr_sse42): Use typeof __redirect_strstr.
33789 (__strstr_ia32): Likewise.
33790 (__libc_strstr): New prototype.
33791 (strstr): Renamed to ...
33792 (__libc_strstr): This.
33793 (strstr): New strong alias of __libc_strstr.
33794 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
33795 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
33796 __redirect_time.
33797 Include <time.h>.
33798 (__libc_time): New prototype.
33799 (time_ifunc): Replace time with __libc_time.
33800 (time): New strong alias and hidden definition of __libc_time.
33801 (__GI_time): Remove strong alias.
33802 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
33803 Include <stddef.h>.
33804 (memmove): Redefined to __redirect_memmove.
33805 (__memmove_sse2): Use typeof __redirect_memmove.
33806 (__memmove_ssse3): Likewise.
33807 (__memmove_ssse3_back): Likewise.
33808 (__libc_memmove): New prototype.
33809 (memmove): Renamed to ...
33810 (__libc_memmove): This.
33811 (memmove): New strong alias of __libc_memmove.
33812
33b4a91e
MS
338132012-08-08 Mark Salter <msalter@redhat.com>
33814
33815 * elf/elf.h
33816 (R_MN10300_TLS_GD): Define.
33817 (R_MN10300_TLS_LD): Likewise.
33818 (R_MN10300_TLS_LDO): Likewise.
33819 (R_MN10300_TLS_GOTIE): Likewise.
33820 (R_MN10300_TLS_IE): Likewise.
33821 (R_MN10300_TLS_LE): Likewise.
33822 (R_MN10300_TLS_DTPMOD): Likewise.
33823 (R_MN10300_TLS_DTPOFF): Likewise.
33824 (R_MN10300_TLS_TPOFF): Likewise.
33825 (R_MN10300_SYM_DIFF): Likewise.
33826 (R_MN10300_ALIGN): Likewise.
33827 (R_MN10300_NUM): Update.
33828
b36137f1
JM
338292012-08-08 Joseph Myers <joseph@codesourcery.com>
33830
33831 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
33832 Remove.
33833
cdd915fd
RM
338342012-08-08 Roland McGrath <roland@hack.frob.com>
33835
a2433aac
RM
33836 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
33837
cdd915fd
RM
33838 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
33839 sysdeps/unix -> sysdeps/posix move.
33840 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
33841
bf9b740a
AM
338422012-08-07 Allan McRae <allan@archlinux.org>
33843
33844 [BZ #14303]
33845 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
33846 (SUNOS_CPP): Likewise.
33847 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
33848 not found.
33849 (open_input): Call CPP using execvp.
33850
93df14ee
JM
338512012-08-07 Joseph Myers <joseph@codesourcery.com>
33852
33853 * sysdeps/unix/sysv/linux/kernel-features.h
33854 (__ASSUME_PROT_GROWSUPDOWN): Remove.
33855 (__ASSUME_NO_CLONE_DETACHED): Likewise.
33856 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
33857 (__ASSUME_WAITID_SYSCALL): Likewise.
33858 * sysdeps/unix/sysv/linux/dl-execstack.c
33859 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
33860 code unconditional.
33861 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
33862 conditional code.
33863 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
33864 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
33865 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
33866 code.
33867 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
33868 unconditional.
33869 [__ASSUME_WAITID_SYSCALL]: Likewise.
33870 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
33871
d34689de
RM
338722012-08-07 Roland McGrath <roland@hack.frob.com>
33873
a281decc
RM
33874 * sysdeps/unix/closedir.c: Renamed to ...
33875 * sysdeps/posix/closedir.c: ... here.
33876 * sysdeps/unix/dirfd.c: Renamed to ...
33877 * sysdeps/posix/dirfd.c: ... here.
33878 * sysdeps/unix/dirstream.h: Renamed to ...
33879 * sysdeps/posix/dirstream.h: ... here.
33880 * sysdeps/unix/fdopendir.c: Renamed to ...
33881 * sysdeps/posix/fdopendir.c: ... here.
33882 * sysdeps/unix/opendir.c: Renamed to ...
33883 * sysdeps/posix/opendir.c: ... here.
33884 * sysdeps/unix/readdir.c: Renamed to ...
33885 * sysdeps/posix/readdir.c: ... here.
33886 * sysdeps/unix/readdir_r.c: Renamed to ...
33887 * sysdeps/posix/readdir_r.c: ... here.
33888 * sysdeps/unix/rewinddir.c: Renamed to ...
33889 * sysdeps/posix/rewinddir.c: ... here.
33890 * sysdeps/unix/seekdir.c: Renamed to ...
33891 * sysdeps/posix/seekdir.c: ... here.
33892 * sysdeps/unix/telldir.c: Renamed to ...
33893 * sysdeps/posix/telldir.c: ... here.
33894 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
33895 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
33896 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
33897 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
33898
22895b47
RM
33899 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
33900 * bits/fcntl.h: ... here.
33901
707a53b6
RM
33902 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
33903 not 0.
33904 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
33905 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
33906 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
33907 (struct flock): Move l_start, l_len to the beginning.
33908 Use __pid_t for l_pid.
33909 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
33910 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
33911 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
33912 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
33913 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
33914 [__USE_LARGEFILE64] (struct flock64): New type.
33915 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
33916
f0bd3e25
RM
33917 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
33918 * bits/dirent.h: ... here.
33919
d34689de
RM
33920 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
33921 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
33922
6dad2c06
JM
339232012-08-07 Joseph Myers <joseph@codesourcery.com>
33924
33925 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
33926 Change from 2.6.0 to 2.6.16.
33927 * sysdeps/unix/sysv/linux/configure: Regenerated.
33928 * sysdeps/unix/sysv/linux/kernel-features.h
33929 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
33930 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
33931 version.
33932 (__ASSUME_UTIMES): Likewise.
33933 (__ASSUME_CLONE_STOPPED): Remove.
33934 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
33935 architectures, not kernel version.
33936 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
33937 (__ASSUME_NO_CLONE_DETACHED): Likewise.
33938 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
33939 (__ASSUME_WAITID_SYSCALL): Likewise.
33940 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
33941 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
33942 * README: State 2.6.16 as minimum Linux kernel version. Do not
33943 refer to older versions.
33944
03af9520
RM
339452012-08-06 Roland McGrath <roland@hack.frob.com>
33946
8e49df1d
RM
33947 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
33948 Define alphasort64 as an alias.
33949 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
33950 Define versionsort64 as an alias.
33951 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
33952 Define scandir64 as an alias.
33953 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
33954 Define scandirat64 as an alias.
33955 * dirent/alphasort64.c (alphasort64):
33956 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
33957 * dirent/versionsort64.c: Likewise.
33958 * dirent/scandir64.c: Likewise.
33959 * dirent/scandirat64.c: Likewise.
33960 * sysdeps/wordsize-64/alphasort.c: File removed.
33961 * sysdeps/wordsize-64/alphasort64.c: File removed.
33962 * sysdeps/wordsize-64/scandir.c: File removed.
33963 * sysdeps/wordsize-64/scandir64.c: File removed.
33964 * sysdeps/wordsize-64/scandirat.c: File removed.
33965 * sysdeps/wordsize-64/scandirat64.c: File removed.
33966 * sysdeps/wordsize-64/versionsort.c: File removed.
33967 * sysdeps/wordsize-64/versionsort64.c: File removed.
33968 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
33969 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
33970 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
33971 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
33972 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
33973 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
33974 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
33975 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
33976
33977 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
33978 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
33979 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
33980 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
33981 [defined __arch64__ || defined __sparcv9]
33982 (__INO_T_MATCHES_INO64_T): New macro.
33983 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
33984 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
33985 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
33986 * sysdeps/unix/sysv/linux/bits/dirent.h
33987 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
33988 (_DIRENT_MATCHES_DIRENT64): New macro.
33989
03af9520
RM
33990 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
33991 Define lockf64 as an alias.
33992 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
33993 Define fseeko64 as an alias.
33994 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
33995 Define ftello64 as an alias.
33996 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
33997 Define _IO_fgetpos64 and fgetpos64 as aliases.
33998 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
33999 Define _IO_fsetpos64 and fsetpos64 as aliases.
34000 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
34001 Conditionalize body on this.
34002 * libio/fseeko64.c: Likewise.
34003 * libio/ftello64.c: Likewise.
34004 * libio/iofgetpos64.c: Likewise.
34005 * libio/iofsetpos64.c: Likewise.
34006 * sysdeps/wordsize-64/lockf.c: File removed.
34007 * sysdeps/wordsize-64/lockf64.c: File removed.
34008 * sysdeps/wordsize-64/fseeko.c: File removed.
34009 * sysdeps/wordsize-64/fseeko64.c: File removed.
34010 * sysdeps/wordsize-64/ftello.c: File removed.
34011 * sysdeps/wordsize-64/ftello64.c: File removed.
34012 * sysdeps/wordsize-64/iofgetpos.c: File removed.
34013 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
34014 * sysdeps/wordsize-64/iofsetpos.c: File removed.
34015 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
34016 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
34017 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
34018 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
34019 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
34020 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
34021 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
34022 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
34023 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
34024 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
34025 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
34026
34027 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
34028 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
34029 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
34030 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
34031 [defined __arch64__ || defined __sparcv9]
34032 (__OFF_T_MATCHES_OFF64_T): New macro.
34033 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
34034 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
34035 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
34036 (__OFF_T_MATCHES_OFF64_T): New macro.
34037
c5757acd
L
340382012-08-06 H.J. Lu <hongjiu.lu@intel.com>
34039
34040 * stdlib/secure-getenv.c (__secure_getenv): Replace
34041 GLIBC_2_16 with GLIBC_2_17.
34042
3a31811e
L
340432012-08-06 H.J. Lu <hongjiu.lu@intel.com>
34044
34045 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
34046 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
34047
faa2bccb
DM
340482012-08-03 David S. Miller <davem@davemloft.net>
34049
34050 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34051
85fe1997
JM
340522012-08-03 Joseph Myers <joseph@codesourcery.com>
34053
34054 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
34055 Remove.
34056 (__ASSUME_CORRECT_SI_PID): Likewise.
34057 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
34058 (__ASSUME_TMPFS_NAME): Likewise.
34059 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
34060 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
34061 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
34062 (HAVE_AUX_SECURE): Make definition unconditional.
34063 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
34064 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
34065
4f75b7a0
RM
340662012-08-03 Roland McGrath <roland@hack.frob.com>
34067
34068 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
34069 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
34070 * sysdeps/mach/hurd/eloop-threshold.h: New file.
34071 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
34072 __eloop_threshold instead of SYMLOOP_MAX.
34073
34074 * sysdeps/generic/eloop-threshold.h: New file.
34075 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
34076 of MAXSYMLINKS.
34077 * elf/chroot_canon.c (chroot_canon): Likewise.
34078
7aab07e4
JM
340792012-08-03 Joseph Myers <joseph@codesourcery.com>
34080
34081 [BZ #13717]
34082 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
34083 Change to 2.6.0 everywhere.
34084 * sysdeps/unix/sysv/linux/configure: Regenerated.
34085 * sysdeps/unix/sysv/linux/kernel-features.h
34086 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
34087 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
34088 kernel versions.
34089 (__ASSUME_POSIX_TIMERS): Define unconditionally.
34090 (__ASSUME_FUTEX_REQUEUE): Remove.
34091 (__ASSUME_STATFS64): Define unconditionally.
34092 (__ASSUME_AT_SECURE): Likewise.
34093 (__ASSUME_CORRECT_SI_PID): Likewise.
34094 (__ASSUME_TGKILL): Define without depending on kernel version for
34095 i386.
34096 (__ASSUME_UTIMES): Likewise.
34097 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
34098 kernel version.
34099 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
34100 (__ASSUME_TMPFS_NAME): Likewise.
34101 * README: Update reference to Linux kernel versions.
34102
b67e9372
MP
341032012-08-02 Marek Polacek <polacek@redhat.com>
34104
1f529f7d 34105 [BZ# 14150]
b67e9372
MP
34106 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
34107 libc_cv_asm_type_prefix with %.
34108 * configure: Regenerated.
d2441631
RM
34109 * include/libc-symbols.h: Remove comment about
34110 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
34111 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
34112 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
34113 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
34114 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
34115 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
34116 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
34117 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
34118 * elf/tst-unique2mod1.c: Likewise.
34119 * elf/tst-unique1mod2.c: Likewise.
34120 * elf/tst-unique1mod1.c: Likewise.
34121 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
34122 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
34123 Replace ASM_TYPE_DIRECTIVE with .type.
34124 * sysdeps/s390/s390-64/sysdep.h: Likewise.
34125 * sysdeps/i386/sysdep.h: Likewise.
34126 * sysdeps/x86_64/sysdep.h: Likewise.
34127 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
34128 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
34129 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 34130 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
34131 * sysdeps/powerpc/powerpc32/sysdep.h:
34132 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
34133 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
34134 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
34135 * sysdeps/i386/fpu/e_powf.S: Likewise.
34136 * sysdeps/i386/fpu/e_expl.S: Likewise.
34137 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
34138 * sysdeps/i386/fpu/e_acosh.S: Likewise.
34139 * sysdeps/i386/fpu/e_pow.S: Likewise.
34140 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
34141 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
34142 * sysdeps/i386/fpu/s_expm1.S: Likewise.
34143 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
34144 * sysdeps/i386/fpu/e_log2.S: Likewise.
34145 * sysdeps/i386/fpu/e_log2l.S: Likewise.
34146 * sysdeps/i386/fpu/e_scalb.S: Likewise.
34147 * sysdeps/i386/fpu/e_powl.S: Likewise.
34148 * sysdeps/i386/fpu/e_log10f.S: Likewise.
34149 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
34150 * sysdeps/i386/fpu/e_logl.S: Likewise.
34151 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
34152 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
34153 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
34154 * sysdeps/i386/fpu/e_log2f.S: Likewise.
34155 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
34156 * sysdeps/i386/fpu/e_log.S: Likewise.
34157 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
34158 * sysdeps/i386/fpu/e_logf.S: Likewise.
34159 * sysdeps/i386/fpu/e_log10l.S: Likewise.
34160 * sysdeps/i386/fpu/e_atanh.S: Likewise.
34161 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
34162 * sysdeps/i386/fpu/e_log10.S: Likewise.
34163 * sysdeps/i386/fpu/s_frexp.S: Likewise.
34164 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
34165 * sysdeps/i386/fpu/s_asinh.S: Likewise.
34166 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
34167 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
34168 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
34169 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
34170 * sysdeps/i386/i686/strtok.S: Likewise.
34171 * sysdeps/i386/i386-mcount.S: Likewise.
34172 * sysdeps/i386/strtok.S: Likewise.
34173 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
34174 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
34175 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
34176 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
34177 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
34178 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
34179 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
34180 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
34181 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
34182 * sysdeps/x86_64/_mcount.S: Likewise.
34183 * sysdeps/x86_64/strtok.S: Likewise.
34184 * sysdeps/sh/_mcount.S: Likewise.
34185
2747bf9a
RM
341862012-08-01 Roland McGrath <roland@hack.frob.com>
34187
34188 * libio/iofopen.c: Include <fcntl.h>.
34189 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
34190 (_IO_fopen64, fopen64): Define as aliases.
34191 * libio/iofopen64.c: Include <fcntl.h>.
34192 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
34193 Conditionalize body on this.
34194 * sysdeps/wordsize-64/iofopen.c: File removed.
34195 * sysdeps/wordsize-64/iofopen64.c: File removed.
34196
3fb791b8
MP
341972012-08-01 Marek Polacek <polacek@redhat.com>
34198
34199 * libc/Makeconfig: Use elf in place of binfmt-subdir.
34200 Use dlfcn directly instead of a variable.
34201 (binfmt-subdir): Do not define.
34202 (dlfcn): Likewise.
34203
a9f1039f
JM
342042012-08-01 Joseph Myers <joseph@codesourcery.com>
34205
23bddc06
JM
34206 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
34207 Remove all definitions.
34208 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
34209 <kernel-features.h>.
34210 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
34211 (miss_F_GETOWN_EX): Remove all definitions.
34212 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
34213 macro definition.
34214 [!__ASSUME_FCNTL64]: Remove conditional code.
34215 [__ASSUME_FCNTL64]: Make code unconditional.
34216 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
34217 <kernel-features.h>.
34218 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
34219 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
34220 (lockf64) [__NR_fcntl64]: Make code unconditional.
34221 (lockf64) [__ASSUME_FCNTL64]: Likewise.
34222
a9f1039f
JM
34223 * sysdeps/unix/sysv/linux/kernel-features.h
34224 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
34225 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
34226 Make code unconditional.
34227 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
34228 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
34229 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
34230 [__NR_vfork]: Make code unconditional.
34231 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
34232 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
34233 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
34234 [__NR_vfork]: Make code unconditional.
34235 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
34236 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
34237
09c0ee5f
RM
342382012-08-01 Roland McGrath <roland@hack.frob.com>
34239
48aec5b9
RM
34240 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
34241 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
34242
cd97c966
RM
34243 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
34244 Define mkstemp64 as an alias.
3f55550c
RM
34245 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
34246 Define mkstemps64 as an alias.
cd97c966
RM
34247 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
34248 Define mkostemp64 as an alias.
b8625cfc
RM
34249 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
34250 Define mkostemps64 as an alias.
cd97c966
RM
34251 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
34252 Conditionalize body on this.
34253 * misc/mkostemp64.c: Likewise.
b8625cfc 34254 * misc/mkostemps64.c: Likewise.
3f55550c 34255 * misc/mkstemps64.c: Likewise.
cd97c966
RM
34256 * sysdeps/wordsize-64/mkstemp64.c: File removed.
34257 * sysdeps/wordsize-64/mkostemp64.c: File removed.
34258 * sysdeps/wordsize-64/mkostemp.c: File removed.
34259 * sysdeps/wordsize-64/mkstemp.c: File removed.
34260 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
34261 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
34262 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
34263 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
34264
09c0ee5f
RM
34265 [BZ #14138]
34266 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
34267 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
34268 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
34269 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
34270
34271 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
34272 compat_symbol macros from <shlib-compat.h> rather than the underlying
34273 default_symbol_version and symbol_version macros, so that DEFAULT
34274 lines in shlib-versions are respected.
34275 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
34276
7e66ee51
FW
342772012-08-01 Florian Weimer <fweimer@redhat.com>
34278
34279 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
34280 Declare with warn_unused_result.
34281 (setgid, setregid, setegid, setresgid): Likewise.
34282 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
34283 Likewise.
34284 * WUR-REPORT: Remove set*id functions.
34285
d2a54255
PT
342862012-07-31 Pino Toscano <toscano.pino@tiscali.it>
34287
34288 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
34289
7ecdb005
RM
342902012-07-31 Roland McGrath <roland@hack.frob.com>
34291
b4180a5e 34292 [BZ #10191]
789bd351
RM
34293 * include/sys/socket.h (__libc_accept, __libc_accept4):
34294 Add attribute_hidden.
34295 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
34296
40ce302d
RM
34297 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
34298 use of PTR_MANGLE.
34299 * inet/getnetgrent_r.c (setup): Likewise.
34300
7ecdb005
RM
34301 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
34302
e2eabb2c
DM
343032012-07-31 David S. Miller <davem@davemloft.net>
34304
34305 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34306
d0419dbf
JM
343072012-07-31 Joseph Myers <joseph@codesourcery.com>
34308
34309 [BZ #13629]
34310 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
34311 value between 1.0 and 2.0 and smaller part has absolute value less
34312 than 1.0.
34313 * math/s_clog10.c (__clog10): Likewise.
34314 * math/s_clog10f.c (__clog10f): Likewise.
34315 * math/s_clog10l.c (__clog10l): Likewise.
34316 * math/s_clogf.c (__clogf): Likewise.
34317 * math/s_clogl.c (__clogl): Likewise.
34318 * math/libm-test.inc (clog_test): Add more tests.
34319 (clog10_test): Likewise.
34320 * sysdeps/i386/fpu/libm-test-ulps: Update.
34321 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34322
2bc13872
FW
343232012-07-31 Florian Weimer <fweimer@redhat.com>
34324
34325 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
34326 Exit with zero in case no suitable GID is found, and write a
34327 message to standard error.
34328
bea9b193
RM
343292012-07-30 Roland McGrath <roland@hack.frob.com>
34330
34331 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
34332 rather than to 1.
34333 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
34334 (MAXPATHLEN): Removed.
34335 (NOGROUP, NODEV): New macros.
34336 (setbit, clrbit, isset, isclr): New macros.
34337 (howmany, roundup, powerof2): New macros.
34338 (DEV_BSIZE): New macro.
34339
34340 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
34341 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
34342
34343 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
34344 definition on [!__NO_LONG_DOUBLE_MATH].
34345
34346 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
34347 PTR_MANGLE and PTR_DEMANGLE.
34348
34349 * socket/accept4.c (accept4): Rename to __libc_accept4.
34350 Define accept4 as a weak alias.
34351
34352 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
34353 on [_DIRENT_HAVE_D_TYPE].
34354 * io/ftw.c (ftw_dir): Likewise.
34355
34356 * io/xmknod.c (__xmknod): Don't check PATH for being null.
34357
34358 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
34359
34360 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
34361 Use the BSD numbers rather than the arbitrary ones we had.
34362 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
34363 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
34364 (SIGXCPU, SIGXFSZ): New macros.
34365 (_NSIG): Now 32.
34366
34367 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
34368 initializer on [_LIBC_REENTRANT].
34369
34370 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
34371 definitions inside [_POSIX_MAPPED_FILES].
34372
34373 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
34374
34375 * dirent/opendir.c: Include <fcntl.h>.
34376
34377 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
34378 (__libc_getspecific): Likewise.
34379 (__libc_key_create): Likewise.
34380
34381 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
34382 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
34383 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
34384 (tmpfile64): Define as alias.
34385 * sysdeps/wordsize-64/tmpfile.c: File removed.
34386 * sysdeps/wordsize-64/tmpfile64.c: File removed.
34387 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
34388 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
34389
34390 * stdio-common/vfscanf.c: Include <stdbool.h>.
34391 * nss/makedb.c: Likewise.
34392 * stdio-common/_i18n_number.h: Likewise.
34393 * argp/argp-help.c: Likewise.
34394 * posix/wordexp.c: Likewise.
34395 * sysdeps/posix/spawni.c: Likewise.
34396 * nss/nss_files/files-initgroups.c: Likewise.
34397 * stdio-common/reg-modifier.c: Include <stdlib.h>.
34398 * nss/nss_files/files-initgroups.c: Likewise.
34399 * nss/nss_db/db-netgrp.c: Likewise.
34400 * nss/nss_db/db-initgroups.c: Likewise.
34401 * io/fchmodat.c: Include <sys/stat.h>.
34402
34403 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
34404 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
34405
34406 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
34407 [HAVE_MMAP].
34408
34409 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
34410 Add multiple inclusion protection.
34411
e5abc686
DM
344122012-07-27 David S. Miller <davem@davemloft.net>
34413
34414 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34415
815e6fa3
GB
344162012-07-27 Gary Benson <gbenson@redhat.com>
34417
34418 [BZ #14298]
34419 * elf/rtld.c: Include <stap-probe.h>.
34420 (dl_main): Added static probes "init_start" and "init_complete".
34421 * elf/dl-load.c: Include <stap-probe.h>.
34422 (lose): Take new parameter "nsid".
34423 Added static probe "map_failed".
34424 (_dl_map_object_from_fd): Pass namespace id to lose.
34425 Added static probe "map_start".
34426 (open_verify): Pass namespace id to lose.
34427 * elf/dl-open.c: Include <stap-probe.h>.
34428 (dl_open_worker) Added static probes "map_complete", "reloc_start"
34429 and "reloc_complete".
34430 * elf/dl-close.c: Include <stap-probe.h>.
34431 (_dl_close_worker): Added static probes "unmap_start" and
34432 "unmap_complete".
34433 * elf/rtld-debugger-interface.txt: New file documenting the above.
34434
9f98c16c
RM
344352012-07-26 Roland McGrath <roland@hack.frob.com>
34436
34437 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
34438 rather than a string variable.
34439 * sunrpc/rpc_main.c (h_output): Likewise.
34440 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
34441
f3c22df3
PT
344422012-07-26 Pino Toscano <toscano.pino@tiscali.it>
34443
34444 * inet/check_native.c: New file.
34445
3129cfc6
JM
344462012-07-26 Joseph Myers <joseph@codesourcery.com>
34447
da865e95
JM
34448 [BZ #13629]
34449 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
34450 if larger part has absolute value 1.0.
34451 * math/s_clog10.c (__clog10): Likewise.
34452 * math/s_clog10f.c (__clog10f): Likewise.
34453 * math/s_clog10l.c (__clog10l): Likewise.
34454 * math/s_clogf.c (__clogf): Likewise.
34455 * math/s_clogl.c (__clogl): Likewise.
34456 * math/libm-test.inc (clog_test): Add more tests.
34457 (clog10_test): Likewise.
34458 * sysdeps/i386/fpu/libm-test-ulps: Update.
34459 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34460
3129cfc6
JM
34461 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
34462 (pltexit): Likewise.
34463 (La_regs): Likewise.
34464 (La_retval): Likewise.
34465 (int_retval): Likewise.
34466 Update #error for removed macros to refer only to definitions in
34467 tst-audit.h.
34468 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
34469 macro.
34470 (pltexit): Likewise.
34471 (La_regs): Likewise.
34472 (La_retval): Likewise.
34473 (int_retval): Likewise.
34474 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
34475 macro.
34476 (pltexit): Likewise.
34477 (La_regs): Likewise.
34478 (La_retval): Likewise.
34479 (int_retval): Likewise.
34480 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
34481 macro.
34482 (pltexit): Likewise.
34483 (La_regs): Likewise.
34484 (La_retval): Likewise.
34485 (int_retval): Likewise.
34486 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
34487 macro.
34488 (pltexit): Likewise.
34489 (La_regs): Likewise.
34490 (La_retval): Likewise.
34491 (int_retval): Likewise.
34492 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
34493 macro.
34494 (pltexit): Likewise.
34495 (La_regs): Likewise.
34496 (La_retval): Likewise.
34497 (int_retval): Likewise.
34498 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
34499 macro.
34500 (pltexit): Likewise.
34501 (La_regs): Likewise.
34502 (La_retval): Likewise.
34503 (int_retval): Likewise.
34504 * sysdeps/generic/tst-audit.h: Update comment to refer only to
34505 macro definitions in tst-audit.h.
34506 * sysdeps/i386/tst-audit.h: New file.
34507 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
34508 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
34509 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
34510 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
34511 * sysdeps/sh/tst-audit.h: Likewise.
34512 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
34513 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
34514 * sysdeps/x86_64/tst-audit.h: Likewise.
34515
bfc07087
AJ
345162012-07-26 Andreas Jaeger <aj@suse.de>
34517
b1b2aaf8
AJ
34518 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
34519 ptrace.
34520
34521 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
34522 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
34523 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
34524 PTRACE_O_MASK.
34525 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
34526 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
34527 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
34528
bfc07087
AJ
34529 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
34530 value.
34531
34532 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
34533 _sigsys.
34534 (si_call_addr, si_syscall, si_arch): Define new macro.
34535 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
34536 _sigsys.
34537 (si_call_addr, si_syscall, si_arch): Define new marcro.
34538 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
34539 _sigsys.
34540 (si_call_addr, si_syscall, si_arch): Define new macro.
34541 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
34542 _sigsys.
34543 (si_call_addr, si_syscall, si_arch): Define new macro.
34544
89b4b02f
JM
345452012-07-25 Joseph Myers <joseph@codesourcery.com>
34546
34547 [BZ #13717]
34548 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
34549 Change to 2.4.21 where previously 2.4.1.
34550 * sysdeps/unix/sysv/linux/configure: Regenerated.
34551 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
34552 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
34553 Linux kernel version.
34554 (__ASSUME_STD_AUXV): Remove.
34555 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
34556 kernel version.
34557 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
34558 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
34559 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
34560 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
34561 (__ASSUME_NETLINK_SUPPORT): Likewise.
34562 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
34563 (__no_netlink_support): Remove conditional definition.
34564 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
34565 Remove.
34566 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
34567 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
34568 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
34569 (if_nameindex_ioctl): Remove.
34570 (if_nameindex_netlink): Do not handle __no_netlink_support.
34571 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
34572 code.
34573 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
34574 Remove conditional code.
34575 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
34576 code.
34577 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
34578 unconditional.
34579 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
34580 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
34581 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
34582 Remove.
34583 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
34584 [!__ASSUME_STD_AUXV]: Remove conditional code.
34585 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
34586 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
34587 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
34588 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
34589 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
34590 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
34591 code.
34592 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
34593 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
34594 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
34595 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
34596 conditional code.
34597 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
34598 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
34599 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
34600 code.
34601 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
34602 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
34603 conditional code.
34604 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
34605 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
34606 code unconditional.
34607 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
34608 conditional code.
34609 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
34610 unconditional.
34611 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
34612 conditional code.
34613 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
34614 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
34615 unconditional.
34616 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
34617 conditional code.
34618 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
34619 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
34620 code unconditional.
34621 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
34622 conditional code.
34623 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
34624 unconditional.
34625 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
34626 conditional code.
34627 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
34628 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
34629 code unconditional.
34630 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
34631 conditional code.
34632 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
34633 unconditional.
34634 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
34635 conditional code.
34636
842a39cd
AS
346372012-07-25 Andreas Schwab <schwab@linux-m68k.org>
34638
34639 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
34640 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
34641 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
34642 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
34643 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
34644 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
34645 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
34646 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
34647 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
34648 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
34649 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
34650 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
34651 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
34652 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
34653 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
34654 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
34655 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
34656 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
34657 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
34658 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
34659 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
34660 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
34661 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
34662
84b3fd84
FW
346632012-07-25 Florian Weimer <fweimer@redhat.com>
34664
34665 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
34666 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
34667 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
34668 Introduce __libc_secure_getenv.
0c7936d5
FW
34669 * stdlib/Versions (2.17): Add secure_getenv
34670 (GLIBC_PRIVATE): Add __libc_secure_getenv.
34671 * stdlib/secure-getenv.c: Rename __secure_getenv to
34672 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
34673 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
34674 * stdlib/tst-secure-getenv.c: New.
34675 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
34676 * manual/startup.texi (Environment Access): Document
34677 secure_getenv.
84b3fd84
FW
34678 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
34679 __libc_secure_getenv.
34680 * inet/ruserpass.c (ruserpass): Likewise.
34681 * malloc/mtrace.c (mtrace): Likewise.
34682 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 34683 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
34684 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
34685 * sysdeps/posix/tempname.c: Likewise. Evaluate
34686 HAVE_SECURE_GETENV.
34687 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 34688 __secure_getenv to __libc_secure_getenv.
84b3fd84 34689 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
34690 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
34691 Likewise.
34692 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
34693 Likewise.
34694 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
34695 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
34696 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
34697 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
34698 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
34699 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
34700 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 34701
56e49b71
JM
347022012-07-25 Joseph Myers <joseph@codesourcery.com>
34703
34704 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
34705 (struct La_i86_retval): Likewise.
34706 (struct La_x86_64_regs): Likewise.
34707 (struct La_x86_64_retval): Likewise.
34708 (struct La_x32_regs): Likewise.
34709 (struct La_x32_retval): Likewise.
34710 (struct La_ppc32_regs): Likewise.
34711 (struct La_ppc32_retval): Likewise.
34712 (struct La_ppc64_regs): Likewise.
34713 (struct La_ppc64_retval): Likewise.
34714 (struct La_sh_regs): Likewise.
34715 (struct La_sh_retval): Likewise.
34716 (struct La_s390_32_regs): Likewise.
34717 (struct La_s390_32_retval): Likewise.
34718 (struct La_s390_64_regs): Likewise.
34719 (struct La_s390_64_retval): Likewise.
34720 (struct La_sparc32_regs): Likewise.
34721 (struct La_sparc32_retval): Likewise.
34722 (struct La_sparc64_regs): Likewise.
34723 (struct La_sparc64_retval): Likewise.
34724 (struct audit_ifaces): Remove architecture-specific pltenter and
34725 pltexit members.
34726 * sysdeps/i386/ldsodefs.h: New file.
34727 * sysdeps/powerpc/ldsodefs.h: Likewise.
34728 * sysdeps/s390/ldsodefs.h: Likewise.
34729 * sysdeps/sh/ldsodefs.h: Likewise.
34730 * sysdeps/sparc/ldsodefs.h: Likewise.
34731 * sysdeps/x86_64/ldsodefs.h: Likewise.
34732
354691b7
MP
347332012-07-25 Marek Polacek <polacek@redhat.com>
34734
34735 [BZ #6808]
34736 * math/libm-test.inc (yn_test): Add another test.
34737 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
34738 to ERANGE when the result is +-Inf.
34739 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
34740 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
34741 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
34742 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
34743
bf9e2071
JM
347442012-07-24 Joseph Myers <joseph@codesourcery.com>
34745
34746 * conform/data/time.h-data (NULL): Use macro-constant. Require
34747 equal to 0.
34748 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
34749 clock_t.
34750 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
34751
57633811
TS
347522012-07-23 Thomas Schwinge <thomas@codesourcery.com>
34753
34754 * configure.in <sysdeps resolving>: Correct printing
34755 Implies_before.
34756 * configure: Regenerate.
34757
c23c33b0
TS
347582012-07-22 Thomas Schwinge <thomas@codesourcery.com>
34759
34760 * math/w_ilogb.c: Include <limits.h>.
34761 * math/w_ilogbl.c: Likewise.
34762
b5982523
JM
347632012-07-20 Joseph Myers <joseph@codesourcery.com>
34764
34765 * manual/lang.texi (__va_copy): Document primarily as ISO C99
34766 va_copy. Document allowing for unavailable va_copy only as
34767 pre-C99 compatibility.
34768 * manual/string.texi (Copying and Concatenation): Use va_copy
34769 instead of __va_copy in concat example.
34770
ac4ea442
PT
347712012-07-20 Pino Toscano <toscano.pino@tiscali.it>
34772
34773 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
34774 (__sendto): Use create_address_port. Initialize APORT and deallocate
34775 it if not null.
34776
f98eafbd
PT
34777 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
34778 with O_NOLINK passed to __file_name_lookup.
34779
898c7aab
PT
34780 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
34781 with O_NOLINK passed to __file_name_lookup.
34782
0ced335a
PT
34783 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
34784 negative N or less than NGIDS.
34785
b3404dbd
PT
34786 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
34787 type to string_t. Set ERANGE as errno and return it if NAME is not big
34788 enough. Use memcpy instead of strncpy.
34789
0f48659e
JM
347902012-07-20 Joseph Myers <joseph@codesourcery.com>
34791
34792 * elf/Makefile (check-data): Remove.
34793 (localplt.data): New vpath directive.
34794 ($(objpfx)check-localplt.out): Use localplt.data from vpath
34795 instead of $(check-data).
34796 * scripts/data/localplt-generic.data: Move to ...
34797 * sysdeps/generic/localplt.data: ... here.
34798 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
34799 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
34800 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
34801 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
34802 ... here.
34803 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
34804 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
34805 ... here.
34806 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
34807 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
34808 ... here.
34809 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
34810 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
34811 ... here.
34812 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
34813 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
34814 ... here.
34815 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
34816 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
34817 ... here.
34818
d37cbdaa
AZ
348192012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34820
34821 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
34822 PPC32 and PPC64 files.
34823 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
34824 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
34825
46f85fc2
AK
348262012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
34827
34828 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
34829 __makecontext_ret to ...
34830 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
34831 ... here and call exit if uc_link is NULL. New file.
34832 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
34833 __makecontext_ret.S.
34834 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
34835 __makecontext_ret to ...
34836 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
34837 ... here and call exit if uc_link is NULL. New file.
34838 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
34839 __makecontext_ret.S.
34840
08f43f9b
AK
348412012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
34842
34843 * elf/elf.h (R_390_IRELATIVE): New definition.
34844 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
34845 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
34846 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
34847 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
34848 (elf_machine_lazy_rel): Likewise.
34849 * sysdeps/s390/dl-irel.h: New file.
34850 * sysdeps/s390/s390-64/memcpy.S: New asm code.
34851 * sysdeps/s390/s390-64/memset.S: New asm code.
34852 * sysdeps/s390/s390-64/memcmp.S: New asm code.
34853 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
34854 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
34855 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
34856 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
34857 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
34858 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
34859 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
34860 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
34861 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
34862 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
34863 * sysdeps/s390/s390-32/memcpy.S: New asm code.
34864 * sysdeps/s390/s390-32/memset.S: New asm code.
34865 * sysdeps/s390/s390-32/memcmp.S: New asm code.
34866
3b05db33
MP
348672012-07-17 Marek Polacek <polacek@redhat.com>
34868
34869 [BZ #14349]
34870 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
34871 * sysdeps/s390/s390-64/configure.in: Likewise.
34872 * sysdeps/sparc/configure.in: Likewise.
34873 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
34874 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
34875 * sysdeps/i386/configure.in: Likewise.
34876 * sysdeps/x86_64/configure.in: Likewise.
34877 * sysdeps/sh/configure.in: Likewise.
34878 * sysdeps/s390/s390-32/configure: Regenerated.
34879 * sysdeps/s390/s390-64/configure: Likewise.
34880 * sysdeps/x86_64/configure: Likewise.
34881 * sysdeps/sh/configure: Likewise.
34882 * sysdeps/powerpc/powerpc64/configure: Likewise.
34883 * sysdeps/powerpc/powerpc32/configure: Likewise.
34884 * sysdeps/sparc/configure: Likwise.
34885 * sysdeps/i386/configure: Likewise.
34886
a66877c6
MP
34887 * elf/dl-open.c: Comment fixes.
34888
cfc82fd8
JM
348892012-07-17 Joseph Myers <joseph@codesourcery.com>
34890
bd29910a
JM
34891 * Makefile [CXX] (check-data): Remove.
34892 [CXX] (c++-types.data): New vpath directive.
34893 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
34894 vpath. Do not allow for C++ type data being missing.
34895 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
34896 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
34897 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
34898 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
34899 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
34900 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
34901 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
34902 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
34903 ... here.
34904 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
34905 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
34906 ... here.
34907 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
34908 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
34909 ... here.
34910 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
34911 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
34912 ... here.
34913 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
34914 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
34915 ... here.
34916 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
34917 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
34918 ... here.
34919 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
34920 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
34921 ... here.
34922 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
34923 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
34924
cfc82fd8
JM
34925 * elf/tls-macros.h (TLS_LE): Move architecture-specific
34926 definitions to architecture-specific files.
34927 (TLS_IE): Likewise.
34928 (TLS_LD): Likewise.
34929 (TLS_GD): Likewise.
34930 * sysdeps/i386/tls-macros.h: New file.
34931 * sysdeps/powerpc/tls-macros.h: Likewise.
34932 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
34933 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
34934 * sysdeps/sh/tls-macros.h: Likewise.
34935 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
34936 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
34937 * sysdeps/x86_64/tls-macros.h: Likewise.
34938
f7db3170
TS
349392012-07-17 Thomas Schwinge <thomas@codesourcery.com>
34940
07cbfc23
TS
34941 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
34942 zero value for regular exit case.
34943
f7db3170
TS
34944 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
34945 (__start_context): Preserve zero value for regular exit case.
34946
dc97c227
TS
349472012-07-17 Thomas Schwinge <thomas@codesourcery.com>
34948 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
34949
34950 * manual/setjmp.texi (setcontext): Clarify normal process
34951 termination when uc_link is the null pointer.
34952 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
34953 exit call.
34954
d0cd7d02
AS
349552012-07-16 Andreas Schwab <schwab@linux-m68k.org>
34956
34957 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
34958 preprocessor. Test for each exception mask separately.
34959
dd318934
AJ
349602012-07-16 Andreas Jaeger <aj@suse.de>
34961
34962 * po/ru.po: Update from translation team.
34963
8048311a
JM
349642012-07-15 Joseph Myers <joseph@codesourcery.com>
34965
34966 * conform/data/string.h-data (NULL): Use macro-constant. Require
34967 equal to 0.
34968 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
34969 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
34970 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
34971 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
34972 [ISO || ISO99 || ISO11] (*_t): Do not allow.
34973
b637d46e
AJ
349742012-07-13 Andreas Jaeger <aj@suse.de>
34975
34976 * po/fr.po: Update from translation team.
34977
541428fe
MP
349782012-07-12 Marek Polacek <polacek@redhat.com>
34979
34980 [BZ #14173]
34981 * math/libm-test.inc (yn_test): Add test for BZ #14173.
34982 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
34983 loop condition.
34984
ec332e94
JM
349852012-07-12 Joseph Myers <joseph@codesourcery.com>
34986
34987 [BZ #13717]
34988 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
34989 Change to 2.4.1 where previously 2.4.0.
34990 * sysdeps/unix/sysv/linux/configure: Regenerated.
34991 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
34992 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
34993 version.
34994 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
34995 (__ASSUME_AT_CLKTCK): Remove.
34996 (__ASSUME_AT_PAGESIZE): Likewise.
34997 (__ASSUME_AT_XID): Likewise.
34998 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
34999 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
35000 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
35001 unconditionally.
35002 (HAVE_AUX_PAGESIZE): Likewise.
35003 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
35004 [__ASSUME_AT_CLKTCK]: Make code unconditional.
35005 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
35006
7b6e99be
JB
350072012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
35008
35009 [BZ #14307]
35010 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
35011 the temporary buffer used to invoke __gethostbyname2_r,
35012 __gethostbyaddr_r and gethostbyname4_r to make room for struct
35013 host_data / struct gaih_addrtuple.
35014 * resolv/nss_dns/dns-host.c (global scope): Move definition of
35015 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
35016 header file nss/nsswitch.h.
35017 * nss/nsswitch.h (global scope): Add definition of implementation
35018 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
35019 resolv/nss_dns/dns-host.c).
35020
608404eb
AJ
350212012-07-11 Andreas Jaeger <aj@suse.de>
35022
35023 * po/fr.po: Update from translation team.
35024
71220aca
AJ
35025 * po/sv.po: Update from translation team
35026 * po/fr.po: Another update from translation team.
35027
28cfe843
AZ
350282012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35029
35030 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
35031 for subnormals or multiply small sinh result by itself.
35032 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
35033 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35034
6b90f981
DM
350352012-07-11 David S. Miller <davem@davemloft.net>
35036
35037 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35038
c6825772
AS
350392012-07-10 Andreas Schwab <schwab@linux-m68k.org>
35040
35041 [BZ #14347]
35042 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
35043 (INTERNAL_MARK): Shift it here.
35044
7b8e0d49
MP
350452012-07-10 Marek Polacek <polacek@redhat.com>
35046
35047 [BZ #14151]
35048 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
35049 libc_cv_asm_global_directive with .globl.
35050 * configure: Regenerated.
35051 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
35052 with .globl.
35053 * sysdeps/i386/configure: Regenerated.
35054 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
35055 with .globl.
35056 * sysdeps/x86_64/configure: Regenerated.
35057 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
35058 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
35059 * elf/tst-unique2mod2.c: Likewise.
35060 * elf/tst-unique2mod1.c: Likewise.
35061 * elf/tst-unique1mod2.c: Likewise.
35062 * elf/tst-unique1mod1.c: Likewise.
35063 * sysdeps/s390/s390-32/sysdep.h: Likewise.
35064 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
35065 * sysdeps/s390/s390-64/sysdep.h: Likewise.
35066 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
35067 * sysdeps/mach/sysdep.h: Likewise.
35068 * sysdeps/i386/sysdep.h: Likewise.
35069 * sysdeps/i386/i386-mcount.S: Likewise.
35070 * sysdeps/x86_64/_mcount.S: Likewise.
35071 * sysdeps/x86_64/sysdep.h: Likewise.
35072 * sysdeps/sh/_mcount.S: Likewise.
35073 * sysdeps/sh/sysdep.h: Likewise.
35074 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
35075 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
35076 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
35077 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
35078 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
35079 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
35080 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
35081 * locale/localeinfo.h: Likewise.
35082 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
35083 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
35084
6c55cda3
RM
350852012-07-09 Roland McGrath <roland@hack.frob.com>
35086
35087 [BZ #14336]
35088 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
35089 system".
35090 * manual/message.texi (The Uniforum approach): Likewise.
35091 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
35092 (glibc iconv Implementation): Likewise.
35093
638a572e
JM
350942012-07-09 Joseph Myers <joseph@codesourcery.com>
35095
35096 [BZ #14337]
35097 * math/s_clog.c (__clog): Avoid scaling a value down where that
35098 could result in underflow.
35099 * math/s_clog10.c (__clog10): Likewise.
35100 * math/s_clog10f.c (__clog10f): Likewise.
35101 * math/s_clog10l.c (__clog10l): Likewise.
35102 * math/s_clogf.c (__clogf): Likewise.
35103 * math/s_clogl.c (__clogl): Likewise.
35104 * math/libm-test.inc (clog_test): Add more tests.
35105 (clog10_test): Likewise.
35106 * sysdeps/i386/fpu/libm-test-ulps: Update.
35107 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35108
261f4859
AS
351092012-07-06 Andreas Schwab <schwab@linux-m68k.org>
35110
0abaf3e4
AS
35111 [BZ #14283]
35112 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
35113 by 7 not 8 to examine high bit of fractional part.
35114
261f4859
AS
35115 [BZ #14042]
35116 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
35117 for call to __mcount_internal.
35118 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
35119 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
35120 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
35121
f17ac40d
JM
351222012-07-06 Joseph Myers <joseph@codesourcery.com>
35123
9ad63c23
JM
35124 [BZ #14154]
35125 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
35126 approximation for values within 0x1p-13f of an odd multiple of
35127 pi/4.
35128 * math/libm-test.inc (tan_test): Do not allow spurious underflow
35129 exception. Add more tests.
35130 * sysdeps/i386/fpu/libm-test-ulps: Update.
35131
f17ac40d
JM
35132 [BZ #6778]
35133 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
35134 inputs and return -1 for them. Do not check for +Inf in case not
35135 reachable for +Inf.
35136 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
35137 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
35138 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
35139 and return -1 for them. Do not check for +Inf in case not
35140 reachable for +Inf.
35141 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
35142 define.
35143 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
35144 and return -1 for them. Do not check for +Inf in case not
35145 reachable for +Inf.
35146 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
35147 spurious underflow.
35148 * sysdeps/i386/fpu/libm-test-ulps: Update.
35149 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35150
fb21f89b
MF
351512012-07-06 Mike Frysinger <vapier@gentoo.org>
35152
35153 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
35154
cdfe2c5e
JM
351552012-07-05 Joseph Myers <joseph@codesourcery.com>
35156
35157 [BZ #14157]
35158 [BZ #14331]
35159 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
35160 could result in spurious underflow. Scale down values above
35161 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
35162 * math/s_csqrtf.c (__csqrtf): Likewise.
35163 * math/s_csqrtl.c (__csqrtl): Likewise.
35164 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
35165 spurious underflow.
35166 * sysdeps/i386/fpu/libm-test-ulps: Update.
35167 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35168
70d35b67
AS
351692012-07-04 Andreas Schwab <schwab@linux-m68k.org>
35170
704bc459
AS
35171 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
35172 xopen-msg.sed.
35173 * catgets/xopen-msg.awk: New file.
35174 * catgets/xopen-msg.sed: Removed.
35175
70d35b67
AS
35176 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
35177 po2text.sed.
35178 * intl/po2test.awk: New file.
35179 * intl/po2test.sed: Removed.
35180
ca61cf32
JM
351812012-07-04 Joseph Myers <joseph@codesourcery.com>
35182
35183 [BZ #14328]
35184 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
35185 or multiply small sinh result by itself.
35186 * math/s_ctanf.c (__ctanf): Likewise.
35187 * math/s_ctanh.c (__ctanh): Likewise.
35188 * math/s_ctanhf.c (__ctanhf): Likewise.
35189 * math/s_ctanhl.c (__ctanhl): Likewise.
35190 * math/s_ctanl.c (__ctanl): Likewise.
35191 * math/libm-test.inc (ctan_test_tonearest): New function.
35192 (ctan_test_towardzero): Likewise.
35193 (ctan_test_downward): Likewise.
35194 (ctan_test_upward): Likewise.
35195 (ctanh_test_tonearest): Likewise.
35196 (ctanh_test_towardzero): Likewise.
35197 (ctanh_test_downward): Likewise.
35198 (ctanh_test_upward): Likewise.
35199 (main): Call these new functions.
35200 * sysdeps/i386/fpu/libm-test-ulps: Update.
35201 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35202
ca48a46a
MF
352032012-07-03 Mike Frysinger <vapier@gentoo.org>
35204
35205 * .gitignore: Delete /ports entry.
35206
9d63d37d
AJ
352072012-07-03 Andreas Jaeger <aj@suse.de>
35208
35209 * po/bg.po: Update from translation team.
35210 * po/cs.po: Likewise.
35211 * po/de.po: Likewise.
35212 * po/hr.po: Likewise.
35213 * po/nl.pl: Likewise.
35214 * po/pl.po: Likewise.
35215 * po/vi.po: Likewise.
35216
370ca3d2
JM
352172012-07-03 Joseph Myers <joseph@codesourcery.com>
35218
95f5a9a8
JM
35219 * Makeconfig [!+link] (+link-before-libc): New variable.
35220 [!+link] (+link-after-libc): Likewise.
35221 [!+link] (+link-tests): Likewise.
35222 [!+link] (+link): Define in terms of $(+link-before-libc) and
35223 $(+link-after-libc).
35224 [!+link-static] (+link-static-before-libc): New variable.
35225 [!+link-static] (+link-static-after-libc): Likewise.
35226 [!+link-static] (+link-static-tests): Likewise.
35227 [!+link-static] (+link-static): Define in terms of
35228 $(+link-static-before-libc) and $(+link-static-after-libc).
35229 [build-shared] (link-libc-before-gnulib): New variable.
35230 [build-shared] (link-libc-tests): Likewise.
35231 [build-shared] (link-libc): Define in terms of
35232 $(link-libc-before-gnulib).
35233 [!build-shared] (link-libc-tests): New variable.
35234 (link-libc-static-tests): New variable.
35235 [!gnulib] (gnulib-arch): New variable.
35236 [!gnulib] (gnulib-tests): Likewise.
35237 [!gnulib] (static-gnulib-arch): Likewise.
35238 [!gnulib] (static-gnulib-tests): Likewise.
35239 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
35240 Define with "=" instead of ":=".
35241 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
35242 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
35243 * Rules (binaries-all-notests): New variable.
35244 (binaries-all-tests): Likewise.
35245 (binaries-static-notests): Likewise.
35246 (binaries-static-tests): Likewise.
35247 (binaries-all): Define using $(binaries-all-notests) and
35248 $(binaries-all-tests).
35249 (binaries-static): Define using $(binaries-static-notests) and
35250 $(binaries-static-tests).
35251 (binaries-shared-tests): New variable.
35252 (binaries-shared-notests): Likewise.
35253 (binaries-shared): Remove variable.
35254 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
35255 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
35256 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
35257 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
35258 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
35259 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
35260 * elf/Makefile (sln-modules): New variable.
35261 (extra-objs): Add $(sln-modules:=.o).
35262 (ldconfig-modules): Add static-stubs.
35263 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
35264 * elf/static-stubs.c: New file.
35265
7a845b2c
JM
35266 [BZ #14283]
35267 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
35268 by 7 not 8 to examine high bit of fractional part. Use volatile
35269 variables when splitting into final array of floats if
35270 __FLT_EVAL_METHOD__ != 0.
35271 * math/libm-test.inc (cos_test): Add another test.
35272 (sin_test): Likewise.
35273 * sysdeps/i386/fpu/libm-test-ulps: Update.
35274
e2283f38
JM
35275 [BZ #14273]
35276 * math/libm-test.inc (cosh_test): Add more tests.
35277
370ca3d2
JM
35278 * version.h (RELEASE): Set to "development".
35279 (VERSION): Set to "2.16.90".
35280
ee9247c3
CD
352812012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
35282
35283 * NEWS: Update copyright. Remove last-updated date.
35284 Mention math library bug fixes and timezone data changes.
35285 * README: Mention GNU/Hurd, x32, and HPPA support status.
35286
4648c381
TS
352872012-06-28 Thomas Schwinge <thomas@codesourcery.com>
35288
35289 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
35290
aac78a43
AJ
352912012-06-27 Andreas Jaeger <aj@suse.de>
35292
35293 * manual/contrib.texi (Contributors): Add Samuel Thibault.
35294
ed3dbfad
AJ
352952012-06-25 Andreas Jaeger <aj@suse.de>
35296
35297 * sysdeps/s390/fpu/libm-test-ulps: Update.
35298
4d0ee855
AS
352992012-06-23 Andreas Schwab <schwab@linux-m68k.org>
35300 Thomas Schwinge <thomas@codesourcery.com>
35301
35302 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
35303 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
35304 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
35305 fanotify_mark.
35306
af1bce34
TS
353072012-06-23 Thomas Schwinge <thomas@codesourcery.com>
35308
a9fa33ba
TS
35309 * sysdeps/mach/start.c: Remove file.
35310 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
35311 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
35312 * sysdeps/sh/init-first.c: Likewise.
35313
58f902b8
TS
35314 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
35315 registers for frame unwinding purposes, add CFI directives.
35316 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
35317 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
35318 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
35319 Likewise.
35320
1518f58b
TS
35321 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
35322 __fortify_fail returning.
35323 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
35324
db9b5059
TS
35325 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
35326 sysdeps/sh/____longjmp_chk.S.
35327 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
35328 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
35329 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
35330 (gen-as-const-headers): Append sigaltstack-offsets.sym.
35331
967705fe
TS
35332 * sysdeps/sh/abort-instr.h: New file.
35333 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
35334 process in case exit returns.
35335
a9def8c4
TS
35336 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
35337 initialize the GOT register before use.
35338
2a649725
TS
35339 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
35340 calculation of ARGC > 4.
35341
af1bce34
TS
35342 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
35343 meaningful names to some local labels.
35344
d230f50a
KK
353452012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
35346 Kaz Kojima <kkojima@rr.iij4u.or.jp>
35347
35348 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
35349 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
35350 (__arch_compare_and_exchange_val_16_acq): Likewise.
35351 (__arch_compare_and_exchange_val_32_acq): Likewise.
35352 (atomic_exchange_and_add): Fix gUSA sequence.
35353 (atomic_add): Likewise.
35354 (atomic_add_negative): Likewise.
35355 (atomic_add_zero): Likewise.
35356 (atomic_bit_test_set): Likewise.
35357
0479b305
AS
353582012-06-22 Andreas Schwab <schwab@redhat.com>
35359
35360 [BZ #13579]
35361 * include/link.h (struct link_map): Add l_free_initfini.
35362 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
35363 l_initfini.
35364 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
35365 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
35366 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
35367 set.
35368
0e3933b9
CD
353692012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
35370
35371 * configure.in: Use AC_LANG_SOURCE.
35372 * configure: Regenerate.
35373
4248b1b1
RM
353742012-06-22 Roland McGrath <roland@hack.frob.com>
35375
35376 * configure.in (libc_cv_localstatedir): New substituted variable.
35377 * configure: Regenerated.
35378 * config.make.in (localstatedir): New variable, substituted from
35379 libc_cv_localstatedir.
35380 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
35381 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
35382 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
35383 * sysdeps/gnu/configure: Regenerated.
35384
006dd861
JL
353852012-06-21 Jeff Law <law@redhat.com>
35386
35387 [BZ #14277]
35388 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
35389 free. Simplify list management for _LIBC case.
35390
79662d42
JM
353912012-06-21 Joseph Myers <joseph@codesourcery.com>
35392
b7abb4bf
JM
35393 [BZ #14273]
35394 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
35395 Clear sign bit of 64-bit integer value before comparing against
35396 overflow value.
35397
79662d42
JM
35398 * sysdeps/mach/configure: Regenerated.
35399
1f150908
L
354002012-06-21 H.J. Lu <hongjiu.lu@intel.com>
35401
35402 [BZ #14278]
35403 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
35404
28363bbf
JL
354052012-06-21 Jeff Law <law@redhat.com>
35406
35407 [BZ #13882]
35408 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
35409 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 35410 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
35411 * elf/dl-open.c (dl_open_worker): Likewise.
35412
09615db4
CD
354132012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
35414
35415 * scripts/list-sources.sh: Scan PORTS for translations.
35416 * po/libc.pot: Regenerated.
35417
2174c6dd
AJ
354182012-06-21 Andreas Jaeger <aj@suse.de>
35419
35420 [BZ #12194]
35421 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
35422 warning.
35423 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
35424 * bits/byteswap-16.h (__bswap_16): Likewise.
35425 * bits/byteswap.h (__bswap_constant_16): Likewise.
35426
3ee947b1
L
354272012-06-18 H.J. Lu <hongjiu.lu@intel.com>
35428
35429 [BZ #14117]
a2f34833
L
35430 * sysdeps/i386/fpu_control.h: Removed.
35431 * sysdeps/x86_64/fpu_control.h: Moved to ...
35432 * sysdeps/x86/fpu_control.h: Here.
35433
3ee947b1
L
35434 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
35435 (_FPU_SETCW): Likewise.
35436
ed1825f8
L
354372012-06-15 H.J. Lu <hongjiu.lu@intel.com>
35438
25f1282a
L
35439 [BZ #14117]
35440 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
35441 * sysdeps/x86/fpu/bits/mathinline.h: This.
35442 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
35443
ed1825f8
L
35444 [BZ #14050]
35445 [BZ #14117]
35446 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
35447 functions if __x86_64__ is defined.
35448
36d54b74
CLT
354492012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
35450
35451 * string/endian.h: Add !__ASSEMBLER__ condition for including
35452 conversion interfaces.
35453
10285c21
JM
354542012-06-15 Joseph Myers <joseph@codesourcery.com>
35455
35456 [BZ #14241]
35457 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
35458 of ABS(x) in calculating zero to negative powers other than odd
35459 integers.
35460 * math/libm-test.inc (pow_test): Add more tests.
35461
06c5abbd
AJ
354622012-06-15 Andreas Jaeger <aj@suse.de>
35463
35464 * manual/contrib.texi (Contributors): Update entry of Liubov
35465 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
35466 Machado Filho.
35467
a3aeac40
CH
354682012-06-15 Cyril Hrubis <metan@ucw.cz>
35469
35470 * string/string.h: Add __wur to GNU version of strerror_r.
35471
49bdf4c1
L
354722012-06-14 H.J. Lu <hongjiu.lu@intel.com>
35473
35474 [BZ #14229]
35475 * string/Makefile (tests): Add tst-strtok_r.
35476 * string/tst-strtok_r.c: New file.
35477 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
35478 RAX_LP/RDX_LP on SAVE_PTR.
35479
834f9b8d
RM
354802012-06-14 Roland McGrath <roland@hack.frob.com>
35481
35482 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
35483
75fa1921
JM
354842012-06-14 Joseph Myers <joseph@codesourcery.com>
35485
35486 * libm_test.inc (csqrt_test): Allow more spurious underflow
35487 exceptions.
35488 (j0_test): Likewise.
35489 (j1_test): Likewise.
35490 (y0_test): Likewise.
35491 (y1_test): Likewise.
35492
771766df
CD
354932012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
35494
35495 * po/Makefile (libc.pot): Use UTF-8 charset.
35496
ceb9e56b
PP
354972012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
35498
35499 [BZ #14210]
35500 Suppress sign-conversion warning from FD_SET.
35501 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
35502 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
35503 not unsigned long int.
35504 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
35505
ddb28975
L
355062012-06-12 H.J. Lu <hongjiu.lu@intel.com>
35507
35508 [BZ #14050]
35509 [BZ #14117]
35510 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
35511 __extern_always_inline instead of __extern_inline.
35512 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
35513 (__signbit): Likewise.
35514 (__signbitl): Support C++ namespace.
35515 (lrintf): New inline function.
35516 (lrint): Likewise.
35517 (llrintf): Likewise.
35518 (llrint): Likewise.
35519 (fmaxf): Likewise.
35520 (fmax): Likewise.
35521 (fminf): Likewise.
35522 (fmin): Likewise.
35523 (rint): Likewise.
35524 (rintf): Likewise.
35525 (ceil): Likewise.
35526 (ceilf): Likewise.
35527 (floor): Likewise.
35528 (floorf): Likewise.
35529 (nearbyint): Likewise.
35530 (nearbyintf): Likewise.
35531
d7b4fb26
TS
355322012-06-12 Thomas Schwinge <thomas@codesourcery.com>
35533
35534 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
35535 non-default versions.
35536
eb55f5c2
RM
355372012-06-11 Roland McGrath <roland@hack.frob.com>
35538
35539 [BZ #14218]
35540 * manual/argp.texi (Argp): Reword argp_parse description slightly.
35541
366af02c
TS
355422012-06-09 Thomas Schwinge <thomas@codesourcery.com>
35543
99ff6e5c
TS
35544 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
35545 (FE_UPWARD, FE_DOWNWARD): Don't define.
35546 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
35547 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
35548
366af02c
TS
35549 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
35550 reading it.
35551 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
35552 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
35553
793ea851
KK
355542012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
35555
35556 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
35557 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
35558 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
35559 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
35560
a728a38f
L
355612012-06-06 H.J. Lu <hongjiu.lu@intel.com>
35562
35563 [BZ #14117]
c08010c7
L
35564 * sysdeps/i386/fpu/bits/fenv.h: Removed.
35565 * sysdeps/i386/fpu/Implies: New file.
35566 * sysdeps/x86_64/fpu/Implies: Likewise.
35567 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
35568 * sysdeps/x86/fpu/bits/fenv.h: This.
35569
a728a38f
L
35570 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
35571 __SSE_MATH__.
35572
6e230d11
SP
355732012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
35574
35575 [BZ #14134]
35576 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
35577 character 0xffff that matches the last element of the
35578 conversion table.
35579
1b671feb
AZ
355802012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35581
35582 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
35583 fmodl commit.
35584
6043738b
AZ
355852012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35586
35587 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
35588 values higher than 25.6283.
35589
34ae0b32
AZ
355902012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35591
35592 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
35593 subnormal exponent extraction and add some __builtin_expect.
35594 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
35595 Fix for subnormal mantissa calculation.
35596
1214ec8f
MF
355972012-06-04 Mike Frysinger <vapier@gentoo.org>
35598
35599 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
35600 cpu2 is -1 and errno is not ENOSYS.
35601
f3d1f93c
L
356022012-06-04 H.J. Lu <hongjiu.lu@intel.com>
35603
35604 [BZ #14117]
0e4a3cd7
L
35605 * sysdeps/i386/i486/bits/string.h: Renamed to ...
35606 * sysdeps/x86/bits/string.h: This.
35607 * sysdeps/x86_64/bits/string.h: Removed.
35608
6704c645
L
35609 * sysdeps/i386/i486/bits/string.h: Define inline functions only
35610 if not compiling for x86-64, but compiling for >= i486.
35611
48495318
L
35612 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
35613 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
35614
14adcbfc
L
35615 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
35616 New macro from Linux kernel 3.4.0.
35617 (FP_XSTATE_MAGIC2): Likewise.
35618 (FP_XSTATE_MAGIC2_SIZE): Likewise.
35619 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
35620 (struct _fpx_sw_bytes): New struct.
35621 (struct _xsave_hdr): Likewise.
35622 (struct _ymmh_state): Likewise.
35623 (struct _xstate): Likewise.
35624
68e408ab
L
35625 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
35626 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
35627 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
35628 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
35629 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
35630 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
35631
f3d1f93c
L
35632 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
35633 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
35634 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
35635 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
35636 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
35637 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
35638
d9dc34cd
TMQMF
356392012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
35640
35641 [BZ #13743]
35642 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
35643 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
35644 (sysdep_headers): Include sys/platform/ppc.h.
35645 * sysdeps/powerpc/test-gettimebase.c: Test for
35646 __ppc_get_timebase() to catch future ISA opcode/insn changes.
35647 * manual/Makefile (appendices): Include platform.texi.
35648 * manual/contrib.texi (Contributors): Update @node pointers.
35649 * manual/maint.texi (Maintenance): Likewise.
35650 (Platform): New node.
35651 * manual/platform.texi: New file. Document the new features.
35652
4af3879c
SP
356532012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
35654 Jakub Jelinek <jakub@redhat.com>
35655
35656 [BZ #14188]
35657 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
35658 where __builtin_expect is unavailable.
35659
2fd6ff13
DM
356602012-06-03 David S. Miller <davem@davemloft.net>
35661
35662 * stdlib/longlong.h: Updated from GCC.
35663
173f7220
AS
356642012-06-02 Andreas Schwab <schwab@linux-m68k.org>
35665
35666 [BZ #14042]
35667 * sysdeps/powerpc/powerpc32/mcount.c: New file.
35668 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
35669 __mcount_internal.
35670 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
35671 (GLIBC_2.16): Likewise.
35672
f34a1c6f
L
356732012-06-01 H.J. Lu <hongjiu.lu@intel.com>
35674
35675 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
35676
88a4576f
JM
356772012-06-01 Joseph Myers <joseph@codesourcery.com>
35678
ea32bcdd
JM
35679 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
35680 (default-abi): New variable.
35681 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
35682 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
35683 variable.
35684 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
35685 Likewise.
35686 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
35687 Likewise.
35688 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
35689 Likewise.
35690
88a4576f
JM
35691 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
35692 definition. Document in comment.
35693
402fe938
DM
356942012-06-01 David S. Miller <davem@davemloft.net>
35695
35696 * stdlib/longlong.h: Updated from GCC.
35697
3553723f
L
356982012-06-01 H.J. Lu <hongjiu.lu@intel.com>
35699
35700 [BZ #14117]
3bd872c4
L
35701 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
35702 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
35703 sys/debugreg.h sys/io.h here.
35704 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
35705 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
35706 sys/io.h.
35707 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
35708 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
35709 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
35710 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
35711 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
35712 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
35713
3553723f
L
35714 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
35715 Define only if __x86_64__ is defined.
35716
4842e4fe
JM
357172012-06-01 Joseph Myers <joseph@codesourcery.com>
35718
c5bfe3d5
JM
35719 [BZ #14048]
35720 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
35721 Use int64_t for variable i.
35722 * math/libm-test.inc (fmod_test): Add more tests.
35723
4842e4fe
JM
35724 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
35725 z computation is not scheduled after fetestexcept.
35726 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
35727 Use math_force_eval instead of asm to ensure calculation scheduled
35728 before exception test.
35729 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
35730 Ensure a1 + u.d computation is not scheduled after fetestexcept.
35731
efb73488
AJ
357322012-06-01 Aurelien Jarno <aurelien@aurel32.net>
35733
35734 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
35735 computation is not scheduled after fetestexcept.
35736
29bcce7c
L
357372012-06-01 H.J. Lu <hongjiu.lu@intel.com>
35738
35739 [BZ #14117]
35740 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
35741 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
35742
73a68f94
AZ
357432012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35744
35745 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
35746 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
35747
67b6df78
L
357482012-05-31 H.J. Lu <hongjiu.lu@intel.com>
35749
edf2933a 35750 [BZ #14117]
ebc64a18
L
35751 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
35752 <bits/wordsize.h>.
35753 (__WCHAR_MIN): Support __WORDSIZE == 64.
35754 (__WCHAR_MAX): Likewise.
35755
edf2933a
L
35756 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
35757 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
35758
57c6cf40
L
35759 [BZ #14183]
35760 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
35761 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
35762
67b6df78 35763 [BZ #14117]
8eb6281e
L
35764 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
35765 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
35766
aac639f4
L
35767 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
35768 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
35769
67b6df78
L
35770 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
35771 Defined to 1 if __x86_64__ isn't defined.
35772 (_STAT_VER_LINUX_OLD): New.
35773 (st_atime): Remove duplicate.
35774 (st_mtime): Likewise.
35775 (st_ctime): Likewise.
35776
1c2cfe81
DM
357772012-05-31 David S. Miller <davem@davemloft.net>
35778
35779 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
35780 entries.
35781
5be8418c
AS
357822012-06-01 Andreas Schwab <schwab@linux-m68k.org>
35783
e7725326
AS
35784 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
35785 gen-libm-test.pl.
35786
5be8418c
AS
35787 [BZ #14132]
35788 * elf/dl-reloc.c: Include <_itoa.h>.
35789 (_dl_reloc_bad_type): Remove use of INTUSE.
35790 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
35791 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
35792 * stdio-common/psiginfo.c (psiginfo): Likewise.
35793 * stdio-common/psignal.c (psignal): Likewise.
35794 * string/strsignal.c (strsignal): Likewise.
35795 * include/signal.h (_sys_siglist): Declare hidden proto.
35796 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
35797 INTVARDEF with libc_hidden_data_def.
35798 * stdio-common/itoa-udigits.c: Likewise.
35799 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
35800 (_itoa_lower_digits_internal): Remove declaration.
35801 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
35802 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
35803 (_sys_sigabbrev_internal): Remove aliases.
35804 (_sys_siglist): Define hidden alias.
35805
507352f1
MT
358062012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
35807
35808 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
35809 bits/sysctl.h.
35810
42bbb1c3
L
358112012-05-31 H.J. Lu <hongjiu.lu@intel.com>
35812
35813 [BZ #14117]
6bd784b6
L
35814 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
35815 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
35816
8bca20f0
L
35817 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
35818 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
35819 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
35820 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
35821 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
35822 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
35823
f9e890a9
L
35824 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
35825 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
35826 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
35827
471101a1
L
35828 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
35829 with __addr.
35830 (insw): Likewise.
35831 (insl): Likewise.
35832 (outsb): Likewise.
35833 (outsw): Likewise.
35834 (outsl): Likewise.
35835
6451c862
L
35836 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
35837 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
35838 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
35839
a254b8c9
L
35840 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
35841 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
35842 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
35843 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
35844 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
35845 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
35846
b8dfdd92
L
35847 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
35848 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
35849
578cd270
L
35850 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
35851 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
35852
de662f5f
L
35853 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
35854 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
35855 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
35856
25653439
L
35857 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
35858 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
35859 to ...
35860 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
35861
6bad24a0
L
35862 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
35863 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
35864 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
35865
42bbb1c3
L
35866 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
35867 for x86-64.
35868 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
35869
2d10d547
JM
358702012-05-31 Joseph Myers <joseph@codesourcery.com>
35871
35872 * math/math.h (M_El): Use two more decimal places.
35873 (M_LOG2El): Likewise.
35874 (M_LOG10El): Likewise.
35875 (M_LN2l): Likewise.
35876 (M_LN10l): Likewise.
35877 (M_PIl): Likewise.
35878 (M_PI_2l): Likewise.
35879 (M_PI_4l): Likewise.
35880 (M_1_PIl): Likewise.
35881 (M_2_PIl): Likewise.
35882 (M_2_SQRTPIl): Likewise.
35883 (M_SQRT2l): Likewise.
35884 (M_SQRT1_2l): Likewise.
35885
f230c29b
DM
358862012-05-31 David S. Miller <davem@davemloft.net>
35887
35888 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
35889 values between float registers.
35890 * sysdeps/sparc/sparc64/memset.S: Likewise.
35891 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
35892
fed806c3
MF
358932012-05-31 Mike Frysinger <vapier@gentoo.org>
35894
35895 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
35896 -D_FORTIFY_SOURCE=1.
35897 (CPPFLAGS-tst-longjmp_chk.c): Define.
35898 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
35899 (CPPFLAGS-tst-longjmp_chk2.c): Define.
35900 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
35901 CFLAGS-tst-wchar-h.c.
35902
30917259
MP
359032012-05-31 Marek Polacek <polacek@redhat.com>
35904
35905 [BZ #14132]
35906 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
35907 __endmntent_internal): Remove declaration.
35908 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
35909 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
35910 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
35911
1c58d5dc
DM
359122012-05-30 David S. Miller <davem@davemloft.net>
35913
35914 * sysdeps/sparc/sparc32/soft-fp/q_util.c
35915 (___Q_simulate_exceptions): Use real FP ops rather than writing
35916 into the %fsr.
35917 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
35918 Likewise.
35919
7dc00e0d
L
359202012-05-30 H.J. Lu <hongjiu.lu@intel.com>
35921
35922 [BZ #14117]
0bd53985
L
35923 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
35924 * sysdeps/x86/bits/xtitypes.h: This.
35925
3a257e66
L
35926 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
35927 * sysdeps/x86/bits/wordsize.h: This.
35928
62f62904
L
35929 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
35930 * sysdeps/x86/bits/huge_vall.h: This.
35931
404fe9d9
L
35932 * sysdeps/i386/bits/select.h: Removed.
35933 * sysdeps/x86_64/bits/select.h: Renamed to ...
35934 * sysdeps/x86/bits/select.h: This.
35935
d48d0446
L
35936 * sysdeps/i386/bits/setjmp.h: Removed.
35937 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
35938 * sysdeps/x86/bits/setjmp.h: This.
35939
7dc00e0d
L
35940 * sysdeps/i386/bits/mathdef.h: Removed.
35941 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
35942 * sysdeps/x86/bits/mathdef.h: This.
35943
03277f8f
AS
359442012-05-30 Andreas Schwab <schwab@linux-m68k.org>
35945
35946 [BZ #14132]
35947 * include/sys/socket.h (__connect_internal)
35948 (__libc_sa_len_internal): Remove declaration.
35949 (__connect, __libc_sa_len): Declare hidden_proto.
35950 (SA_LEN): Remove use of INTUSE.
35951 * socket/connect.c: Add libc_hidden_def.
35952 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
35953 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
35954 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
35955 alias.
35956 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
35957 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
35958 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
35959 of adding _internal alias.
35960
13764867
L
359612012-05-30 H.J. Lu <hongjiu.lu@intel.com>
35962
35963 [BZ #14117]
6bd97696
L
35964 * sysdeps/i386/bits/link.h: Removed.
35965 * sysdeps/i386/bits/linkmap.h: Likewise.
35966 * sysdeps/x86_64/bits/link.h: Renamed to ...
35967 * sysdeps/x86/bits/link.h: This.
35968 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
35969 * sysdeps/x86/bits/linkmap.h: This.
35970
f726f0bb
L
35971 * sysdeps/i386/bits/endian.h: Removed.
35972 * sysdeps/x86_64/bits/endian.h: Renamed to ...
35973 * sysdeps/x86/bits/endian.h: This.
35974
13764867
L
35975 * sysdeps/i386/bits/byteswap.h: Removed.
35976 * sysdeps/i386/bits/byteswap-16.h: Likewise.
35977 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
35978 * sysdeps/x86/bits/byteswap.h: This.
35979 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
35980 * sysdeps/x86/bits/byteswap-16.h: This.
35981 * sysdeps/i386/Implies: Add x86.
35982 * sysdeps/x86_64/Implies: Likewise.
35983
ae251b0b
DM
359842012-05-30 David S. Miller <davem@davemloft.net>
35985
35986 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
35987 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
35988 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
35989 (FP_TRAPPING_EXCEPTIONS): Define.
35990 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
35991 (FP_TRAPPING_EXCEPTIONS): Define.
35992 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
35993 subnormals only when inexact has been signalled or underflow
35994 exceptions are enabled.
35995 (_FP_PACK_CANONICAL): Likewise.
35996
d5c90867
L
359972012-05-30 H.J. Lu <hongjiu.lu@intel.com>
35998
35999 [BZ #14183]
36000 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
36001 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
36002
63f1549e
RH
360032012-05-30 Richard Henderson <rth@twiddle.net>
36004
8d8f2279
RH
36005 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
36006 with #ifndef NOT_IN_libc.
36007
63f1549e
RH
36008 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
36009 marked to avoid plt entry.
36010
0ab0291b
L
360112012-05-30 H.J. Lu <hongjiu.lu@intel.com>
36012
36013 [BZ #14112]
36014 * Makeconfig (default-abi): New macro.
36015 (abi-includes): Likewise.
36016 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
36017 $(abi-$(default-abi)-lib-soname) for soname if defined.
36018 ($(common-objpfx)gnu/lib-names.stmp): Generate from
36019 abi-variants.
36020 * Makefile (installed-stubs): Likewise.
36021 * include/stubs-biarch.h: Removed.
36022 * scripts/lib-names.awk: Only handle one library at a time.
36023 * scripts/soversions.awk: Remove WORDSIZE support.
36024 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
36025 entries.
36026 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
36027 Removed.
36028 (syscall-list-default-condition): Likewise.
36029 (syscall-list-default-condition): Likewise.
36030 (syscall-list-includes): Likewise.
36031 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
36032 syscall-list-* with abi-*. Handle undefined abi-variants.
36033 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
36034 * sysdeps/unix/sysv/linux/i386/Implies: New file.
36035 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
36036 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
36037 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
36038 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
36039 Removed.
36040 (syscall-list-32-options): Likewise.
36041 (syscall-list-32-condition): Likewise.
36042 (syscall-list-64-options): Likewise.
36043 (syscall-list-64-condition): Likewise.
36044 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
36045 macro.
36046 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
36047 Renamed to ...
36048 (abi-*): This.
36049 (abi-64-ld-soname): New macro.
36050 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
36051 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
36052 Renamed to ...
36053 (abi-*): This.
36054 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
36055 * sysdeps/x86_64/x32/shlib-versions: Likewise.
36056
4da0431d
JM
360572012-05-30 Joseph Myers <joseph@codesourcery.com>
36058
3a85279c
JM
36059 * sysdeps/unix/sysv/linux/kernel-features.h
36060 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
36061 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
36062 include <kernel-features.h>.
36063 [!__NR_ftruncate64]: Remove conditional code.
36064 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
36065 [__NR_ftruncate64]: Make code unconditional.
36066 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
36067 * sysdeps/unix/sysv/linux/truncate64.c: Do not
36068 include <kernel-features.h>.
36069 [!__NR_ftruncate64]: Remove conditional code.
36070 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
36071 [__NR_ftruncate64]: Make code unconditional.
36072 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
36073 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
36074 include <kernel-features.h>.
36075 [!__NR_ftruncate64]: Remove conditional code.
36076 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
36077 [__NR_ftruncate64]: Make code unconditional.
36078 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
36079 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
36080 include <kernel-features.h>.
36081 [!__NR_ftruncate64]: Remove conditional code.
36082 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
36083 [__NR_ftruncate64]: Make code unconditional.
36084 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
36085
4da0431d
JM
36086 * configure.in (libc_cv_fpie): Weaken to a compile test using
36087 LIBC_TRY_CC_OPTION.
36088 * configure: Regenerated.
36089
11ef492c
AK
360902012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
36091
36092 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
36093 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
36094 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
36095 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
36096 Refreshed.
36097 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
36098 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
36099 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
36100 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
36101 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
36102 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
36103 Refreshed.
36104
d66ef399
DM
361052012-05-27 David S. Miller <davem@davemloft.net>
36106
36107 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
36108 (___Q_zero): New.
36109 (__Q_simulate_exceptions): Return void. Change to simulate
36110 exceptions by writing into the %fsr.
36111 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
36112 (__Qp_handle_exceptions): Likewise.
36113 (numbers): Delete.
36114 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
36115 __Qp_handle_exceptions.
36116 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
36117 __Qp_handle_exceptions.
36118 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
36119 as unused and give dummy FP_RND_NEAREST initializer.
36120 (FP_INHIBIT_RESULTS): Define.
36121 (___Q_simulate_exceptions): Update declaration.
36122 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
36123 formatting.
36124 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
36125 as unused and give dummy FP_RND_NEAREST initializer.
36126 (__Qp_handle_exceptions): Update declaration.
36127 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
36128 formatting.
36129
04fb54b5
TS
361302012-05-27 Thomas Schwinge <thomas@codesourcery.com>
36131
36132 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
36133 the temporary FPU control word.
36134 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
36135 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
36136 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
36137 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
36138 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
36139 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
36140 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
36141 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
36142 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
36143 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
36144 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
36145
3f99608f
KK
361462012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
36147
36148 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
36149 fields.
36150
65a4de4e
CLT
361512012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
36152
36153 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
36154 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
36155 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
36156 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
36157 Likewise.
36158 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
36159 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
36160 Likewise.
36161
15749d40
UD
361622012-05-27 Ulrich Drepper <drepper@gmail.com>
36163
36164 * po/h.po: Update from translation team.
36165
25dbcb27
AS
361662012-05-26 Andreas Schwab <schwab@linux-m68k.org>
36167
3d3f8e55
AS
36168 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
36169
25dbcb27
AS
36170 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
36171 handling of denormals.
36172 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
36173 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
36174 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
36175 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
36176 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
36177 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
36178 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
36179 Likewise.
36180
7ad47a80 361812012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
36182
36183 [BZ #14152]
36184 * math/libm-test.inc (fma_test): Don't always expect underflow
36185 exception.
36186
9c6ea9fa
SP
361872012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
36188
36189 [BZ #12416]
36190 * elf/tst-execstack.c: Include stackinfo.h.
36191 (do_test): Adjust test case to ensure that pthread_getattr_np
36192 behaviour remains the same after marking stack executable.
36193
a8239222
JM
361942012-05-25 Joseph Myers <joseph@codesourcery.com>
36195
36196 * sysdeps/unix/sysv/linux/kernel-features.h
36197 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
36198 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
36199 kernel-features.h.
36200 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
36201 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
36202 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
36203 kernel-features.h.
36204 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
36205 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
36206
918b5606
L
362072012-05-25 H.J. Lu <hongjiu.lu@intel.com>
36208
36209 * configure.in: Define the default includes to being none.
36210 * configure: Regenerated.
36211
3a097cc7
RM
362122012-05-25 Roland McGrath <roland@hack.frob.com>
36213
8422c9a5
RM
36214 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
36215 * sysdeps/x86_64/setjmp.S: Likewise.
36216 * sysdeps/i386/bsd-setjmp.S: Likewise.
36217 * sysdeps/i386/bsd-_setjmp.S: Likewise.
36218 * sysdeps/i386/setjmp.S: Likewise.
36219 * sysdeps/i386/__longjmp.S: Likewise.
36220 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
36221 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
36222
3a097cc7
RM
36223 * include/stap-probe.h: New file.
36224 * configure.in: Handle --enable-systemtap.
36225 * configure: Regenerated.
36226 * config.h.in (USE_STAP_PROBE): New #undef.
36227 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
36228 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
36229 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
36230
21708942
JM
362312012-05-25 Joseph Myers <joseph@codesourcery.com>
36232
36233 [BZ #13717]
36234 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
36235 to 2.4.0 where earlier.
36236 * sysdeps/unix/sysv/linux/configure: Regenerated.
36237 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
36238 <kernel-features.h>.
36239 [__ASSUME_32BITUIDS]: Make code unconditional.
36240 [!__ASSUME_32BITUIDS]: Remove conditional code.
36241 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
36242 <kernel-features.h>.
36243 [__ASSUME_32BITUIDS]: Make code unconditional.
36244 [!__ASSUME_32BITUIDS]: Remove conditional code.
36245 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
36246 [__ASSUME_32BITUIDS]: Make code unconditional.
36247 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
36248 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
36249 <kernel-features.h>.
36250 [__ASSUME_32BITUIDS]: Make code unconditional.
36251 [!__ASSUME_32BITUIDS]: Remove conditional code.
36252 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
36253 <kernel-features.h>.
36254 [__ASSUME_32BITUIDS]: Make code unconditional.
36255 [!__ASSUME_32BITUIDS]: Remove conditional code.
36256 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
36257 <kernel-features.h>.
36258 [__ASSUME_32BITUIDS]: Make code unconditional.
36259 [!__ASSUME_32BITUIDS]: Remove conditional code.
36260 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
36261 <kernel-features.h>.
36262 [__ASSUME_32BITUIDS]: Make code unconditional.
36263 [!__ASSUME_32BITUIDS]: Remove conditional code.
36264 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
36265 <kernel-features.h>.
36266 [__ASSUME_32BITUIDS]: Make code unconditional.
36267 [!__ASSUME_32BITUIDS]: Remove conditional code.
36268 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
36269 <kernel-features.h>.
36270 [__ASSUME_32BITUIDS]: Make code unconditional.
36271 [!__ASSUME_32BITUIDS]: Remove conditional code.
36272 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
36273 <kernel-features.h>.
36274 [__ASSUME_32BITUIDS]: Make code unconditional.
36275 [!__ASSUME_32BITUIDS]: Remove conditional code.
36276 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
36277 <kernel-features.h>.
36278 [__ASSUME_32BITUIDS]: Make code unconditional.
36279 [!__ASSUME_32BITUIDS]: Remove conditional code.
36280 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
36281 <kernel-features.h>.
36282 [__ASSUME_32BITUIDS]: Make code unconditional.
36283 [!__ASSUME_32BITUIDS]: Remove conditional code.
36284 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
36285 <kernel-features.h>.
36286 [__ASSUME_32BITUIDS]: Make code unconditional.
36287 [!__ASSUME_32BITUIDS]: Remove conditional code.
36288 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
36289 <kernel-features.h>.
36290 [__NR_setresgid] (__setresgid): Do not declare.
36291 [__ASSUME_32BITUIDS]: Make code unconditional.
36292 [!__ASSUME_32BITUIDS]: Remove conditional code.
36293 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
36294 <kernel-features.h>.
36295 [__NR_setresuid] (__setresuid): Do not declare.
36296 [__ASSUME_32BITUIDS]: Make code unconditional.
36297 [!__ASSUME_32BITUIDS]: Remove conditional code.
36298 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
36299 <kernel-features.h>.
36300 [__ASSUME_32BITUIDS]: Make code unconditional.
36301 [!__ASSUME_32BITUIDS]: Remove conditional code.
36302 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
36303 <kernel-features.h>.
36304 [__ASSUME_32BITUIDS]: Make code unconditional.
36305 [!__ASSUME_32BITUIDS]: Remove conditional code.
36306 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
36307 <kernel-features.h>.
36308 [__ASSUME_32BITUIDS]: Make code unconditional.
36309 [!__ASSUME_32BITUIDS]: Remove conditional code.
36310 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
36311 <kernel-features.h>.
36312 [__ASSUME_32BITUIDS]: Make code unconditional.
36313 [!__ASSUME_32BITUIDS]: Remove conditional code.
36314 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
36315 <kernel-features.h>.
36316 [__ASSUME_32BITUIDS]: Make code unconditional.
36317 [!__ASSUME_32BITUIDS]: Remove conditional code.
36318 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
36319 <kernel-features.h>.
36320 [__ASSUME_32BITUIDS]: Make code unconditional.
36321 [!__ASSUME_32BITUIDS]: Remove conditional code.
36322 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
36323 <kernel-features.h>.
36324 [__ASSUME_32BITUIDS]: Make code unconditional.
36325 [!__ASSUME_32BITUIDS]: Remove conditional code.
36326 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
36327 <kernel-features.h>.
36328 [__ASSUME_32BITUIDS]: Make code unconditional.
36329 [!__ASSUME_32BITUIDS]: Remove conditional code.
36330 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
36331 <kernel-features.h>.
36332 [__ASSUME_32BITUIDS]: Make code unconditional.
36333 [!__ASSUME_32BITUIDS]: Remove conditional code.
36334 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
36335 <kernel-features.h>.
36336 [__ASSUME_32BITUIDS]: Make code unconditional.
36337 [!__ASSUME_32BITUIDS]: Remove conditional code.
36338 * sysdeps/unix/sysv/linux/kernel-features.h
36339 (__ASSUME_SETRESUID_SYSCALL): Remove.
36340 (__ASSUME_SETRESGID_SYSCALL): Likewise.
36341 (__ASSUME_32BITUIDS): Likewise.
36342 (__ASSUME_LDT_WORKS): Likewise.
36343 (__ASSUME_O_DIRECTORY): Likewise.
36344 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
36345 architecture but not kernel version.
36346 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
36347 (__ASSUME_MMAP2_SYSCALL): Likewise.
36348 (__ASSUME_STAT64_SYSCALL): Likewise.
36349 (__ASSUME_IPC64): Likewise.
36350 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
36351 <kernel-features.h>.
36352 [__ASSUME_32BITUIDS]: Make code unconditional.
36353 [!__ASSUME_32BITUIDS]: Remove conditional code.
36354 * sysdeps/unix/sysv/linux/opendir.c: Do not include
36355 <kernel-features.h>.
36356 [__ASSUME_O_DIRECTORY]: Make code unconditional.
36357 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
36358 132096]: Remove conditional code.
36359 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
36360 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
36361 <kernel-features.h>.
36362 [__ASSUME_32BITUIDS]: Make code unconditional.
36363 [!__ASSUME_32BITUIDS]: Remove conditional code.
36364 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
36365 <kernel-features.h>.
36366 [__ASSUME_32BITUIDS]: Make code unconditional.
36367 [!__ASSUME_32BITUIDS]: Remove conditional code.
36368 * sysdeps/unix/sysv/linux/setegid.c: Do not include
36369 <kernel-features.h>.
36370 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
36371 unconditional.
36372 (__setresgid): Do not declare.
36373 [__ASSUME_32BITUIDS]: Make code unconditional.
36374 [!__ASSUME_32BITUIDS]: Remove conditional code.
36375 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
36376 <kernel-features.h>.
36377 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
36378 unconditional.
36379 (__setresuid): Do not declare.
36380 [__ASSUME_32BITUIDS]: Make code unconditional.
36381 [!__ASSUME_32BITUIDS]: Remove conditional code.
36382 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
36383 <kernel-features.h>.
36384 [__ASSUME_32BITUIDS]: Make code unconditional.
36385 [!__ASSUME_32BITUIDS]: Remove conditional code.
36386 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
36387 <kernel-features.h>.
36388 [__ASSUME_32BITUIDS]: Make code unconditional.
36389 [!__ASSUME_32BITUIDS]: Remove conditional code.
36390
a386f1cc
RH
363912012-05-25 Richard Henderson <rth@twiddle.net>
36392
36393 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
36394 dl_hwcap to ifunc resolver.
36395 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
36396 elf_ifunc_invoke.
36397 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
36398 dl_hwcap to ifunc resolver.
36399 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
36400
b6550497
JM
364012012-05-24 Joseph Myers <joseph@codesourcery.com>
36402
36403 [BZ #14153]
36404 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
36405 for |x| <= 2**-26, not 2**-57.
36406 * math/libm-test.inc (acos_test): Do not allow spurious underflow
36407 exception.
36408
b0bc23a1
JL
364092012-05-24 Jeff Law <law@redhat.com>
36410
36411 * stdio-common/Makefile (tests): Add bug25.
36412 * stdio-common/bug25.c: New test.
36413
347c92e9
L
364142012-05-24 H.J. Lu <hongjiu.lu@intel.com>
36415
36416 [BZ #13576]
36417 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
36418 multiple of MALLOC_ALIGNMENT in size.
36419 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
36420
6bcc8b3f
JM
364212012-05-24 Joseph Myers <joseph@codesourcery.com>
36422
36423 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
36424 Require >= 256.
36425 (FILENAME_MAX): Use macro-int-constant.
36426 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
36427 (_IOFBF): Use macro-int-constant.
36428 (_IOLBF): Likewise.
36429 (_IONBF): Likewise.
36430 (SEEK_CUR): Likewise.
36431 (SEEK_END): Likewise.
36432 (SEEK_SET): Likewise.
36433 (TMP_MAX): Likewise.
36434 (EOF): Use macro-int-constant. Require < 0.
36435 (NULL): Use macro-constant. Require == 0.
36436 (stdin): Require type to be FILE *.
36437 (stdout): Likewise.
36438 (stderr): Likewise.
36439 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
36440 macro-int-constant.
36441 (EXIT_SUCCESS): Likewise.
36442 (NULL): Use macro-constant. Require == 0.
36443 (RAND_MAX): Use macro-int-constant.
36444 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
36445 [C99-based standards] (strtof): Require function.
36446 [C99-based standards] (strtold): Likewise.
36447 [C99-based standards] (strtoll): Likewise.
36448 [C99-based standards] (strtoull): Likewise.
36449 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
36450 [ISO || ISO99 || ISO11] (limits.h): Likewise.
36451 [ISO || ISO99 || ISO11] (math.h): Likewise.
36452 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
36453 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
36454 [ISO || ISO99 || ISO11] (*_t): Do not allow.
36455
d18ea0c5
AS
364562012-05-24 Andreas Schwab <schwab@linux-m68k.org>
36457
36458 [BZ #14132]
56d25bb8
AS
36459 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
36460 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
36461 * intl/dgettext.c (DCGETTEXT): Likewise.
36462 * intl/gettext.c (DCGETTEXT): Likewise.
36463 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
36464 * posix/regex_internal.h (gettext): Likewise.
36465 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
36466 Remove declaration.
36467 * include/argz.h (__argz_count_internal)
36468 (__argz_stringify_internal): Remove declaration.
36469 (__argz_count, __argz_stringify): Declare hidden proto.
36470 * intl/dcgettext.c: Remove use of INTDEF.
36471 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
36472 * string/argz-stringify.c: Likewise.
36473 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
36474 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
36475 Declare hidden proto.
d18ea0c5
AS
36476 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
36477 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
36478 Declare hidden proto.
36479 * include/stdio.h (__asprintf_internal): Don't declare.
36480 (__asprintf): Don't define as macro. Declare hidden proto.
36481 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
36482 (__fsetlocking): Declare hidden proto.
36483 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
36484 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
36485 hidden proto.
36486 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
36487 (_IO_setlinebuf): Remove use of INTUSE.
36488 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
36489 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
36490 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
36491 Remove declaration.
36492 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
36493 (_IO_do_flush): Remove use of INTUSE.
36494 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
36495 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
36496 (_IO_adjust_column, _IO_least_wmarker)
36497 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
36498 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
36499 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
36500 (_IO_default_doallocate, _IO_wdefault_doallocate)
36501 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
36502 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
36503 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
36504 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
36505 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
36506 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
36507 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
36508 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
36509 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
36510 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
36511 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
36512 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
36513 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
36514 proto.
36515 (_IO_flush_all_internal, _IO_adjust_column_internal)
36516 (_IO_default_uflow_internal, _IO_default_finish_internal)
36517 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
36518 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
36519 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
36520 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
36521 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
36522 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
36523 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
36524 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
36525 (_IO_file_close_internal, _IO_file_close_it_internal)
36526 (_IO_file_underflow_internal, _IO_file_overflow_internal)
36527 (_IO_file_init_internal, _IO_file_attach_internal)
36528 (_IO_file_fopen_internal, _IO_file_read_internal)
36529 (_IO_file_sync_internal, _IO_file_seek_internal)
36530 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
36531 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
36532 (_IO_str_underflow_internal, _IO_str_overflow_internal)
36533 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
36534 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
36535 (_IO_list_all_internal, _IO_link_in_internal)
36536 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
36537 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
36538 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
36539 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
36540 (_IO_do_write_internal, _IO_padn_internal)
36541 (_IO_getline_info_internal, _IO_getline_internal)
36542 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
36543 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
36544 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
36545 (_IO_vfscanf_internal, _IO_vfprintf_internal)
36546 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
36547 (_IO_init_internal, _IO_un_link_internal): Don't declare.
36548 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
36549 with libc_hidden_ver, remove use of INTUSE.
36550 * libio/genops.c: Likewise.
36551 * libio/freopen.c: Likewise.
36552 * libio/freopen64.c: Likewise.
36553 * libio/iofclose.c: Likewise.
36554 * libio/iofdopen.c: Likewise.
36555 * libio/iofflush.c: Likewise.
36556 * libio/iofflush_u.c: Likewise.
36557 * libio/iofgets.c: Likewise.
36558 * libio/iofgets_u.c: Likewise.
36559 * libio/iofopen.c: Likewise.
36560 * libio/iofopncook.c: Likewise.
36561 * libio/iofread.c: Likewise.
36562 * libio/iofread_u.c: Likewise.
36563 * libio/ioftell.c: Likewise.
36564 * libio/iofwrite.c: Likewise.
36565 * libio/iogetline.c: Likewise.
36566 * libio/iogets.c: Likewise.
36567 * libio/iogetwline.c: Likewise.
36568 * libio/iopadn.c: Likewise.
36569 * libio/iopopen.c: Likewise.
36570 * libio/ioseekoff.c: Likewise.
36571 * libio/ioseekpos.c: Likewise.
36572 * libio/iosetbuffer.c: Likewise.
36573 * libio/iosetvbuf.c: Likewise.
36574 * libio/ioungetc.c: Likewise.
36575 * libio/ioungetwc.c: Likewise.
36576 * libio/iovdprintf.c: Likewise.
36577 * libio/iovsprintf.c: Likewise.
36578 * libio/iovsscanf.c: Likewise.
36579 * libio/memstream.c: Likewise.
36580 * libio/obprintf.c: Likewise.
36581 * libio/oldfileops.c: Likewise.
36582 * libio/oldiofclose.c: Likewise.
36583 * libio/oldiofdopen.c: Likewise.
36584 * libio/oldiofopen.c: Likewise.
36585 * libio/oldiopopen.c: Likewise.
36586 * libio/oldstdfiles.c: Likewise.
36587 * libio/putc.c: Likewise.
36588 * libio/setbuf.c: Likewise.
36589 * libio/setlinebuf.c: Likewise.
36590 * libio/stdfiles.c: Likewise.
36591 * libio/strops.c: Likewise.
36592 * libio/vasprintf.c: Likewise.
36593 * libio/vscanf.c: Likewise.
36594 * libio/vsnprintf.c: Likewise.
36595 * libio/vswprintf.c: Likewise.
36596 * libio/wfiledoalloc.c: Likewise.
36597 * libio/wfileops.c: Likewise.
36598 * libio/wgenops.c: Likewise.
36599 * libio/wmemstream.c: Likewise.
36600 * libio/wstrops.c: Likewise.
36601 * libio/__fpurge.c: Likewise.
36602 * libio/__fsetlocking.c: Likewise.
36603 * assert/assert.c: Likewise.
36604 * debug/fgets_chk.c: Likewise.
36605 * debug/fgets_u_chk.c: Likewise.
36606 * debug/fread_chk.c: Likewise.
36607 * debug/fread_u_chk.c: Likewise.
36608 * debug/gets_chk.c: Likewise.
36609 * debug/obprintf_chk.c: Likewise.
36610 * debug/vasprintf_chk.c: Likewise.
36611 * debug/vdprintf_chk.c: Likewise.
36612 * debug/vsnprintf_chk.c: Likewise.
36613 * debug/vsprintf_chk.c: Likewise.
36614 * malloc/mtrace.c: Likewise.
36615 * misc/error.c: Likewise.
36616 * misc/syslog.c: Likewise.
36617 * stdio-common/asprintf.c: Likewise.
36618 * stdio-common/fxprintf.c: Likewise.
36619 * stdio-common/getw.c: Likewise.
36620 * stdio-common/isoc99_fscanf.c: Likewise.
36621 * stdio-common/isoc99_scanf.c: Likewise.
36622 * stdio-common/isoc99_vfscanf.c: Likewise.
36623 * stdio-common/isoc99_vscanf.c: Likewise.
36624 * stdio-common/isoc99_vsscanf.c: Likewise.
36625 * stdio-common/printf-prs.c: Likewise.
36626 * stdio-common/printf_fp.c: Likewise.
36627 * stdio-common/printf_fphex.c: Likewise.
36628 * stdio-common/printf_size.c: Likewise.
36629 * stdio-common/putw.c: Likewise.
36630 * stdio-common/scanf.c: Likewise.
36631 * stdio-common/sprintf.c: Likewise.
36632 * stdio-common/tmpfile.c: Likewise.
36633 * stdio-common/vfprintf.c: Likewise.
36634 * stdio-common/vfscanf.c: Likewise.
36635 * stdlib/strfmon_l.c: Likewise.
36636 * sunrpc/openchild.c: Likewise.
36637 * sunrpc/xdr_stdio.c: Likewise.
36638 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
36639 * sysdeps/mach/hurd/tmpfile.c: Likewise.
36640
d6c33fda
RM
366412012-05-24 Roland McGrath <roland@hack.frob.com>
36642
c1487492
RM
36643 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
36644
36645 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
36646 in the third column, to generate for the shared library an IFUNC
36647 that uses _dl_vdso_vsym.
36648 * Makerules (COMPILE.c, compile-stdin.c): New variables.
36649 * Makeconfig (object-suffixes-noshared): New variable.
36650
36651 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
36652 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
36653 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
36654 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
36655
d6c33fda
RM
36656 [BZ #14132]
36657 * include/sys/time.h (__gettimeofday): Remove macro.
36658 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
36659 * time/gettimeofday.c (__gettimeofday): Remove #undef.
36660 Remove INTDEF.
36661 (__gettimeofday): Add libc_hidden_def.
36662 (gettimeofday): Add libc_hidden_weak.
36663 * sysdeps/mach/gettimeofday.c: Likewise.
36664 * sysdeps/posix/gettimeofday.c: Likewise.
36665 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
36666 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
36667 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
36668 (__gettimeofday_internal): Remove strong_alias.
36669 (__gettimeofday): Add libc_hidden_def.
36670 (gettimeofday): Add libc_hidden_weak.
36671 * sysdeps/unix/syscalls.list (gettimeofday):
36672 Remove __gettimeofday_internal alias.
36673
b5a2bbe6
L
366742012-05-24 Daniel Jacobowitz <drow@false.org>
36675 H.J. Lu <hongjiu.lu@intel.com>
36676
36677 [BZ #12495]
36678 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
36679 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
36680 (largebin_index_32_big): New.
36681 (largebin_index): Use it for 16-byte alignment.
36682 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
36683 correction with front_misalign.
36684
cfba4fda
L
366852012-05-24 H.J. Lu <hongjiu.lu@intel.com>
36686
7f907421
L
36687 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
36688 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
36689 Likewise.
36690 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
36691 Likewise.
36692 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
36693 Likewise.
36694 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
36695 Likewise.
36696 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
36697 Likewise.
36698 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
36699 Likewise.
36700 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
36701 Likewise.
36702 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
36703 Likewise.
36704 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
36705 Likewise.
36706 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
36707 Likewise.
36708 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
36709 Likewise.
36710 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
36711 Likewise.
36712
cfba4fda
L
36713 * scripts/data/c++-types-x32-linux-gnu.data: New file.
36714 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
36715
80bad0cc
JM
367162012-05-24 Joseph Myers <joseph@codesourcery.com>
36717
7a25eb06
JM
36718 [BZ #10846]
36719 [BZ #14036]
36720 * math/libm-test.inc (exp_test): Add test from bug 14036.
36721 (pow_test): Add test from bug 10846.
36722
795405f9
JM
36723 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
36724 and other flags.
36725 (special_function): Do not include flags in test name.
36726 (parse_args): Likewise.
36727 * sysdeps/i386/fpu/libm-test-ulps: Update.
36728 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
36729 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
36730 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
36731 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36732
80bad0cc
JM
36733 * math/gen-libm-test.pl (%beautify): Add entries for underflow
36734 exceptions.
36735 * math/libm-test.inc ("Philosophy"): Update comment about
36736 exception testing.
36737 (UNDERFLOW_EXCEPTION): New macro.
36738 (UNDERFLOW_EXCEPTION_OK): Likewise.
36739 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
36740 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
36741 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
36742 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
36743 (INVALID_EXCEPTION_OK): Update value.
36744 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
36745 (OVERFLOW_EXCEPTION_OK): Likewise.
36746 (IGNORE_ZERO_INF_SIGN): Likewise.
36747 (test_exceptions): Handle underflow exceptions.
36748 (acos_test): Update for underflow exception expectations.
36749 (cexp_test): Likewise.
36750 (clog_test): Likewise.
36751 (clog10_test): Likewise.
36752 (csqrt_test): Likewise.
36753 (ctan_test): Likewise.
36754 (ctanh_test): Likewise.
36755 (exp_test): Likewise.
36756 (exp10_test): Likewise.
36757 (exp2_test): Likewise.
36758 (expm1_test): Likewise.
36759 (fma_test): Likewise.
36760 (j0_test): Likewise.
36761 (jn_test): Likewise.
36762 (nexttoward_test): Likewise.
36763 (pow_test): Likewise.
36764 (scalbn_test): Likewise.
36765 (scalbln_test): Likewise.
36766 (tan_test): Likewise.
36767 (y1_test): Likewise.
36768 * sysdeps/i386/fpu/libm-test-ulps: Update.
36769 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36770
9e0e3d0b
DM
367712012-05-23 David S. Miller <davem@davemloft.net>
36772
36773 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
36774 (__libc_sigaction): Remove unused local variables.
36775
ccd0a08f
L
367762012-05-23 H.J. Lu <hongjiu.lu@intel.com>
36777
36778 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
36779
62bdf9a6
PE
367802012-05-23 Paul Eggert <eggert@cs.ucla.edu>
36781
f8591f80
PE
36782 mktime: avoid signed integer overflow
36783 * time/mktime.c (__mktime_internal): Do not mishandle the case
36784 where diff == INT_MIN.
36785
94c7d826
PE
36786 mktime: simplify computation of average
36787 * time/mktime.c (ranged_convert): Use new time_t_avg function
36788 instead of rolling our own (probably-slower) code.
36789
ce73d683
PE
36790 mktime: do not assume signed right shift propagates sign bit
36791 * time/mktime.c (isdst_differ): New static function.
36792 (__mktime_internal): No need to normalize tm_isdst now.
36793 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
36794 tm_isdst values.
36795
72a22e59
PE
36796 mktime: merge another wrapv change from gnulib
36797 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
36798 from some compilers.
36799
68605433
PE
36800 mktime: remove incorrect attempt at unusual arithmetics
36801 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
36802 The code didn't really work on such machines anyway.
36803 (TYPE_MINIMUM): Assume two's complement.
36804 (twos_complement_arithmetic): Verify that long_int and time_t
36805 are two's complement (or unsigned, in the latter case).
36806
03cf7fe3
PE
36807 mktime: check signed shifts on long_int and time_t, too
36808 * time/mktime.c (SHR): Check that shifts work as desired
36809 on the types long_int and time_t too, as SHR is used on
36810 such types.
36811
f04dfbc2
PE
36812 mktime: do not assume 'long' is wide enough
36813 * time/mktime.c (verify): Move decl up.
36814 (long_int): New type.
36815 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
36816 to remove assumption in the code that 'long' is wide enough to
36817 store year values. This assumption is not true on x32 and on
36818 some non-glibc platforms.
36819
62bdf9a6
PE
36820 mktime: merge wrapv change from gnulib
36821 * time/mktime.c (WRAPV): New macro.
36822 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
36823 (guess_time_tm, __mktime_internal): Do not assume that signed
36824 integer overflow wraps around; modern compilers generate code
36825 where this assumption is no longer valid.
36826
5e292e4f
L
368272012-05-23 H.J. Lu <hongjiu.lu@intel.com>
36828
36829 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
36830 Replace "jmp L(pseudo_end)" with "ret".
36831 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
36832 Likewise.
36833
8caf8c87
AJ
368342012-05-23 Andreas Jaeger <aj@suse.de>
36835
36836 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
36837 * sysdeps/unix/sysv/linux/poll.c: Remove file.
36838
1a09dc56
AJ
368392012-05-23 Andreas Jaeger <aj@suse.de>
36840 Maximilian Attems <max@stro.at>
36841
36842 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
36843 New macros.
36844
1c87aba0
L
368452012-05-23 H.J. Lu <hongjiu.lu@intel.com>
36846
36847 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
36848 code so that pseudo_end is just ret and the stack pointer is
36849 correct also for static library in error case.
36850
40e45bd5
JM
368512012-05-23 Joseph Myers <joseph@codesourcery.com>
36852
c2670533
JM
36853 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
36854 move to syscalls.list.
36855 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
36856 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
36857 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
36858 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
36859
40e45bd5
JM
36860 * manual/install.texi (Running make install): Do not mention Linux
36861 kernel version for which pt_chown is not needed.
36862 (Linux): Do not mention problems with nscd with 2.0 kernels.
36863 * INSTALL: Regenerated.
36864
be08eda5
AJ
368652012-05-23 Andreas Jaeger <aj@suse.de>
36866
36867 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
36868 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
36869 macro.
36870 * sysdeps/unix/sysv/linux/s390/bits/mman.h
36871 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
36872 * sysdeps/unix/sysv/linux/sh/bits/mman.h
36873 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
36874 * sysdeps/unix/sysv/linux/i386/bits/mman.h
36875 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
36876 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
36877 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
36878 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
36879 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
36880 * sysdeps/unix/sysv/linux/bits/in.h
36881 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
36882
a6a056bb
RM
368832012-05-22 Roland McGrath <roland@hack.frob.com>
36884
36885 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
36886 (PREPARE_VERSION): Just use assert instead, it will be elided
36887 under [NDEBUG] anyway.
36888
c9009328
L
368892012-05-22 H.J. Lu <hongjiu.lu@intel.com>
36890
36891 * sysdeps/unix/sysv/linux/Makefile: Include
36892 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 36893 (sysdep_routines): Remove sysctl.
c9009328
L
36894 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
36895 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
36896 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
36897 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
36898 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
36899
73338355
AJ
369002012-05-22 Andreas Jaeger <aj@suse.de>
36901
36902 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
36903 that pseudo_end is just ret and the stack pointer is correct also
36904 for static library in error case.
36905
d44638b0
PP
369062012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
36907
36908 [BZ #14122]
36909 * nss/nsswitch.c (defconfig_entries): New variable.
36910 (__nss_database_lookup): Don't leak defconfig entries.
36911 (nss_parse_service_list): Don't leak on error paths.
36912 (free_database_entries): New function.
36913 (free_defconfig): New function.
36914 (free_mem): Move common code to free_database_entries.
36915
31a39bd8
L
369162012-05-22 H.J. Lu <hongjiu.lu@intel.com>
36917
da0331a8
L
36918 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
36919 Add arch_prctl.
36920 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
36921
31a39bd8
L
36922 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
36923 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
36924 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
36925 New macro.
36926 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
36927 (INTERNAL_SYSCALL_TYPES): Likewise.
36928 (LOAD_ARGS_TYPES_[1-6]): Likewise.
36929 (LOAD_REGS_TYPES_[1-6]): Likewise.
36930 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
36931 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
36932
45470df3
AZ
369332012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36934
36935 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
36936 copysignl for GLIBC_2_0.
36937 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
36938 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
36939 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
36940 logbl for GLIBC_2_0.
36941 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
36942 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
36943
98a61bcb
L
369442012-05-22 H.J. Lu <hongjiu.lu@intel.com>
36945
a4f6e481
L
36946 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
36947 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
36948
f63d5db6
L
36949 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
36950 Use "neg %eax".
36951
98a61bcb
L
36952 * time/mktime.c: Update copyright years.
36953
95770f14
PE
369542012-05-22 Paul Eggert <eggert@cs.ucla.edu>
36955
6226efbd
PE
36956 mktime: merge comment-quoting-style change from gnulib
36957 * time/mktime.c: Quote 'like this' in comments.
36958 The GNU coding standards suggest that we no longer quote `like this',
36959 as "`" and "'" are typically rendered asymmetrically nowadays.
36960 The typical gnulib style is to quote 'like this' when quoting
36961 code, and "like this" when quoting English.
36962
b99e4f78
PE
36963 * time/mktime.c (compile-command): Add "-I.".
36964
643e01e6
PE
36965 mktime: merge mktime-internal.h change from gnulib
36966 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
36967
2554247d
PE
36968 mktime: merge time_r change from gnulib
36969 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
36970
826dd0ab
PE
36971 mktime: merge DEBUG change from gnulib
36972 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
36973 case system <time.h> has a #define.
36974
bd83aabe
PE
36975 mktime: merge <sys/types.h> change from gnulib
36976 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
36977 since <time.t> is now guaranteed to define time_t.
36978
95770f14
PE
36979 mktime: merge HAVE_CONFIG_H change from gnulib
36980 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
36981
5e1a27a9
L
369822012-05-22 H.J. Lu <hongjiu.lu@intel.com>
36983
0e44a77e
L
36984 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
36985 Use "neg %eax".
36986
5e1a27a9
L
36987 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
36988 __rlim_t cast.
36989 (struct rusage): Use anonymous union to pad each field to
36990 __syscall_slong_t.
36991
46259bec
DM
369922012-05-21 David S. Miller <davem@davemloft.net>
36993
36994 * Makefules (o-iterator): Remove .s cases.
36995 (compile-command.s): Delete.
36996 (COMPILE.s): Delete.
36997 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
36998
59f0c22e
JM
369992012-05-21 Joseph Myers <joseph@codesourcery.com>
37000
37001 * configure.in (libc_cv_predef_stack_protector): Only consider
37002 "foobar" and "__stack_chk_fail" lines in libc_undefs.
37003 * configure: Regenerated.
37004
20c07380
L
370052012-05-21 H.J. Lu <hongjiu.lu@intel.com>
37006
bbb3154b
L
37007 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
37008 New macro. Use R*LP on int and pointer.
37009 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
37010 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
37011 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
37012 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
37013
20c07380
L
37014 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
37015 [__WORDSIZE_TIME64_COMPAT32] instead of
37016 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
37017 (struct utmp): Likewise.
37018 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
37019 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
37020 Renamed to ...
37021 (__WORDSIZE_TIME64_COMPAT32): This.
37022 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
37023 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
37024 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
37025 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
37026 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
37027 (__WORDSIZE_TIME64_COMPAT32): New macro.
37028
d8d1017e
AJ
370292012-05-21 Andreas Jaeger <aj@suse.de>
37030
37031 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
37032 only if [SHARED]. Add prototype for __wcschr_ia32.
37033
6c7fb145
RM
370342012-05-21 Roland McGrath <roland@hack.frob.com>
37035
37036 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
37037 of %rbp unmolested in the jmp_buf while mangling the low bits.
37038 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
37039 unmolested high bits of %rbp while demangling the low bits.
37040 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
37041
66274218
AJ
370422012-05-21 Andreas Jaeger <aj@suse.de>
37043
07c58f8f
AJ
37044 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
37045 * sunrpc/svc_simple.c: Use it for registerrpc.
37046 * sunrpc/xcrypt.c: Use it for passwd2des.
37047
66274218
AJ
37048 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
37049
61f65140
L
370502012-05-21 H.J. Lu <hongjiu.lu@intel.com>
37051
37052 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
37053 Don't define if [__SYSCALL_WORDSIZE != 32].
37054 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
37055 New macro.
37056
5fefb436
AJ
370572012-05-21 Bruno Haible <bruno@clisp.org>
37058 Andreas Jaeger <aj@suse.de>
37059
37060 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
37061 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
37062 inptr and inend for must_buffer_ch.
37063 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
37064 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
37065 * stdio-common/Makefile (tests): Remove bug15.
37066 (bug15-ENV): Remove macro.
37067 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
37068 anymore.
37069
d8e272ab
AJ
370702012-05-19 Andreas Jaeger <aj@suse.de>
37071 Roland McGrath <roland@hack.frob.com>
37072
37073 * manual/contrib.texi: Completely rewritten. It contains now an
37074 alphabetical list of contributors and their contributions.
37075
4a56a162
RH
370762012-05-21 Richard Henderson <rth@twiddle.net>
37077
37078 * misc/getauxval.c (__getauxval): Use unsigned long int.
37079 * misc/sys/auxv.h: Include <sys/cdefs.h>.
37080 (getauxval): Use unsigned long int.
37081
d024d23c
L
370822012-05-21 H.J. Lu <hongjiu.lu@intel.com>
37083
37084 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
37085
cbc00a03
RM
370862012-05-21 Roland McGrath <roland@hack.frob.com>
37087
37088 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
37089 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
37090 __alignof__ (long double).
37091
478143fa
AZ
370922012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37093
37094 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37095
c7683a6d
RH
370962012-05-20 Richard Henderson <rth@twiddle.net>
37097
37098 * misc/getauxval.c: New file.
37099 * misc/sys/auxv.h: New file.
37100 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
37101 (routines): Add getauxval.
37102 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
37103 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
37104 * elf/dl-sysdep.c (_dl_auxv): Remove.
37105 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
37106 * elf/dl-support.c (_dl_auxv): New variable.
37107 (_dl_aux_init): Initialize it.
37108 * manual/startup.texi (Auxiliary Vector): New node.
37109 * sysdeps/generic/bits/hwcap.h: New file.
37110 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
37111 * sysdeps/powerpc/sysdep.h: ... here. Include it.
37112 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
37113 * sysdeps/sparc/sysdep.h: ... here. Include it.
37114 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
37115 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
37116 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
37117 Update.
c7683a6d
RH
37118 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
37119 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
37120 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
37121 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
37122 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
37123 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
37124 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
37125 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
37126
a6f1845d
AZ
371272012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37128
37129 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37130
cbcbe830
DM
371312012-05-19 David S. Miller <davem@davemloft.net>
37132
37133 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37134
e0b16cc2
JM
371352012-05-19 Joseph Myers <joseph@codesourcery.com>
37136
37137 [BZ #14123]
37138 * math/s_ccosh.c: Include <float.h>
37139 (__ccosh): Avoid internal overflow calculating sinh and cosh
37140 values before multiplying by sin and cos values.
37141 * math/s_ccoshf.c: Likewise.
37142 * math/s_ccoshl.c: Likewise.
37143 * math/s_csin.c: Likewise.
37144 * math/s_csinf.c: Likewise.
37145 * math/s_csinl.c: Likewise.
37146 * math/s_csinh.c: Likewise.
37147 * math/s_csinhf.c: Likewise.
37148 * math/s_csinhl.c: Likewise.
37149 * math/libm-test.inc (ccos_test): Add more tests.
37150 (ccosh_test): Likewise.
37151 (csin_test): Likewise.
37152 (csinh_test): Likewise.
37153 * sysdeps/i386/fpu/libm-test-ulps: Update.
37154 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37155
6ad13e08
L
371562012-05-19 H.J. Lu <hongjiu.lu@intel.com>
37157
f66f0ce8
L
37158 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
37159 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
37160
6ad13e08
L
37161 * sysdeps/x86_64/x32/_itoa.h: Add comment.
37162
b1d072a7
JM
371632012-05-19 Joseph Myers <joseph@codesourcery.com>
37164
37165 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
37166 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
37167 * sysdeps/powerpc/soft-fp/Versions: Likewise.
37168 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
37169 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
37170 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
37171 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
37172 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
37173 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
37174 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
37175 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
37176 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
37177 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
37178 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
37179 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
37180 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
37181 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
37182 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
37183 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
37184 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
37185 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
37186 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
37187 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
37188 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
37189 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
37190 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
37191 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
37192 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
37193 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
37194 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
37195 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
37196
9eae47cb
AJ
371972012-05-18 Andreas Jaeger <aj@suse.de>
37198
37199 * csu/.gitignore: Delete.
37200
bb07f69f
L
372012012-05-18 H.J. Lu <hongjiu.lu@intel.com>
37202
37203 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
37204 (timex): Use __syscall_slong_t.
37205
e6bdb741
AJ
372062012-05-18 Andreas Jaeger <aj@suse.de>
37207 Carlos O'Donell <carlos_odonell@mentor.com>
37208
37209 * manual/install.texi (Configuring and compiling): Update
37210 description about files modified in the source directory.
d6c33fda 37211 * INSTALL: Regenerated.
e6bdb741 37212
1b74487e
L
372132012-05-18 H.J. Lu <hongjiu.lu@intel.com>
37214
37215 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
37216 value. Use "or" to set return value to -1.
37217 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
37218 negate return value.
37219
a88b64b9
TMQMF
372202012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
37221
57f41c40
AS
37222 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
37223 (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
a88b64b9
TMQMF
37224 failure if the compiler has Graphite support disabled.
37225 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
37226 Likewise.
57f41c40
AS
37227 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
37228 (CFLAGS-memmove.c): Likewise.
a88b64b9
TMQMF
37229 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
37230 Likewise.
37231
3707636e
L
372322012-05-18 H.J. Lu <hongjiu.lu@intel.com>
37233
610b8622
L
37234 * sysdeps/x86_64/x32/_itoa.h: New file.
37235
7cd195df
L
37236 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
37237 getdents system call only if kernel and user dirents have the
37238 same d_ino and d_off.
37239
94b07d20
L
37240 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
37241 LLONG_MAX != LONG_MAX.
37242 (_itoa_word): Use _ITOA_WORD_TYPE on value.
37243 (_fitoa_word): Likewise.
37244
18298070
L
37245 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
37246 years.
37247 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
37248 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
37249 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
37250
553c7ea4
L
37251 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
37252 include <bits/wordsize.h>. Check __x86_64__ instead of
37253 __WORDSIZE.
37254 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
37255 if __x86_64__ is defined. Use anonymous union on fpstate.
37256
3707636e
L
37257 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
37258 anonymous union.
37259
b53ef01a
AS
372602012-05-18 Andreas Schwab <schwab@linux-m68k.org>
37261
37fb1dc0
AS
37262 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
37263 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
37264 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
37265 Refer to _rtld_local_ro instead of _rtld_global_ro.
37266 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
37267 Likewise.
37268 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
37269 Likewise.
37270 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
37271 Likewise.
37272 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
37273 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
37274 of _rtld_global, and rtld_progname instead of _dl_argv[0].
37275
b53ef01a
AS
37276 * sysdeps/powerpc/powerpc32/dl-machine.c
37277 (__elf_machine_runtime_setup) [PROF]: Don't reference
37278 _dl_prof_resolve.
37279
7a185db2
AJ
372802012-05-18 Andreas Jaeger <aj@suse.de>
37281
37282 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
37283 function only available for GCCs before 3.4 since GCC 3.4
37284 introduced a builtin.
37285 (lrint): Likewise.
37286 (llrintf): Likewise.
37287 (llrint): Likewise.
37288 (fmaxf): Likewise.
37289 (fmax): Likewise.
37290 (fminf): Likewise.
37291 (fmin): Likewise.
37292 (rint): Likewise.
37293 (rintf): Likewise.
37294 (nearbyint): Likewise.
37295 (nearbyintf): Likewise.
37296 (ceil): Likewise.
37297 (ceilf): Likewise.
37298 (floor): Likewise.
37299 (floorf): Likewise.
37300
3e5aef87
L
373012012-05-17 H.J. Lu <hongjiu.lu@intel.com>
37302
428bd707
L
37303 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
37304 on both fields and cast pointer to __syscall_ulong_t.
37305
3e5aef87
L
37306 * bits/types.h (__fsword_t): New type.
37307 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
37308 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
37309 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
37310 (__FSWORD_T_TYPE): Likewise.
37311 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
37312 (__FSWORD_T_TYPE): Likewise.
37313 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
37314 (__FSWORD_T_TYPE): Likewise.
37315 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
37316 (__FSWORD_T_TYPE): Likewise.
37317 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
37318 __SWORD_TYPE with __fsword_t.
37319 (statfs64): Likewise.
37320
1ba7c3dc
DM
373212012-05-17 David S. Miller <davem@davemloft.net>
37322
37323 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
37324
59910343
AJ
373252012-05-17 Andreas Jaeger <aj@suse.de>
37326
37327 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
37328 warning.
37329
2e4c1e9e
L
373302012-05-17 H.J. Lu <hongjiu.lu@intel.com>
37331
37332 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
37333
de7f5ce7
AJ
373342012-05-17 Andreas Jaeger <aj@suse.de>
37335
37336 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
37337 when it is used.
37338
286abc3d
CM
373392012-05-17 Chris Metcalf <cmetcalf@tilera.com>
37340
37341 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
37342
477cc68e
L
373432012-05-17 H.J. Lu <hongjiu.lu@intel.com>
37344
37345 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
37346 * sysdeps/x86_64/tst-mallocalign1.c: New file.
37347
1a0994f5
CD
373482012-05-17 Andreas Jaeger <aj@suse.de>
37349 Carlos O'Donell <carlos_odonell@mentor.com>
37350
37351 [BZ #14059]
37352 * sysdeps/x86_64/multiarch/init-arch.h
37353 (bit_YMM_Usable): Rename to...
37354 (bit_AVX_Usable): ... this.
37355 (bit_FMA4_Usable): New macro.
37356 (bit_XMM_state): New macro.
37357 (bit_YMM_state): New macro.
37358 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
37359 [__ASSEMBLER__] (index_AVX_Usable): ... this.
37360 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
37361 (CPUID_OSXSAVE): New macro.
37362 (CPUID_AVX): New macro.
37363 (CPUID_FMA4): New macro.
37364 (index_YMM_Usable): Rename to...
37365 (index_AVX_Usable): ... this.
37366 (HAS_AVX): Use HAS_ARCH_FEATURE.
37367 (HAS_FMA4): Likewise.
37368 (HAS_YMM_USABLE): Remove.
37369 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
37370 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
37371 are present.
37372 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
37373 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
37374 * sysdeps/x86_64/multiarch/Makefile: Likewise.
37375 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
37376 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
37377
0af797de
CM
373782012-05-17 Chris Metcalf <cmetcalf@tilera.com>
37379
37380 * math/libm-test.c: Support platforms without multiple rounding modes.
37381 * math/bug-nextafter.c: Support platforms without FP exceptions.
37382 * math/bug-nexttoward.c: Likewise.
37383 * math/test-fenv.c: Likewise.
37384 * math/test-misc.c: Likewise.
37385 * stdlib/bug-getcontext.c: Likewise.
37386
e39745ff
AJ
373872012-05-17 Andreas Jaeger <aj@suse.de>
37388
37389 * manual/examples/search.c (critter_cmp): Change signature to
37390 avoid warnings.
37391 * manual/string.texi (Collation Functions): Likewise.
37392
48970aba
L
373932012-05-16 H.J. Lu <hongjiu.lu@intel.com>
37394
37395 * bits/types.h: Fold copyright years.
37396 * bits/typesizes.h: Likewise.
37397 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
37398 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
37399 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
37400 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
37401 * time/time.h: Likewise.
37402
bedee953
PP
374032012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
37404
37405 [BZ #208]
37406 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
37407 in instead of returning them. Return void.
37408 (__libc_mallinfo): Accumulate over all arenas.
37409 (__malloc_stats): Adjust for change in int_mallinfo interface.
37410
61653dfb
RM
374112012-05-16 Roland McGrath <roland@hack.frob.com>
37412
30b99d79
RM
37413 [BZ #10375]
37414 * configure.in (NM): Add AC_CHECK_TOOL for it.
37415 (libc_extra_cflags): New substituted variable.
37416 Check for -fstack-protector being used implicitly.
37417 * configure: Regenerated.
37418 * config.make.in (config-extra-cflags): New variable,
37419 gets @libc_extra_cflags@.
37420 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
37421
61653dfb
RM
37422 [BZ #10375]
37423 * configure.in: Check for _FORTIFY_SOURCE being predefined.
37424 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
37425 * configure: Regenerated.
37426 * config.make.in (CPPUNDEFS): New substituted variable.
37427 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
37428 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
37429 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
37430
661768bb
L
374312012-05-16 H.J. Lu <hongjiu.lu@intel.com>
37432
37433 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
37434 (mq_attr): Use __syscall_slong_t.
37435
d4261567
L
374362012-05-16 H.J. Lu <hongjiu.lu@intel.com>
37437
37438 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
37439 Check __x86_64__ instead of __WORDSIZE.
37440 (_STAT_VER_LINUX): Likewise.
37441 (stat): Check __x86_64__ instead of __WORDSIZE. Use
37442 __syscall_ulong_t and __syscall_slong_t.
37443 (stat64): Likewise.
37444
cf3ff365
L
374452012-05-16 H.J. Lu <hongjiu.lu@intel.com>
37446
37447 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
37448
76cf3e4d
L
374492012-05-16 H.J. Lu <hongjiu.lu@intel.com>
37450
37451 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
37452
a637753a
L
374532012-05-16 H.J. Lu <hongjiu.lu@intel.com>
37454
37455 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
37456 __syscall_ulong_t.
37457
d5e05119
L
37458 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
37459 include <bits/wordsize.h>. Check __x86_64__ instead of
37460 __WORDSIZE.
37461 (greg_t): Use "__extension__ long long int" if __x86_64__ is
37462 defined.
37463 (mcontext_t): Replace "unsigned long" with "unsigned long long".
37464
f62ee380
L
37465 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
37466 include <bits/wordsize.h>. Check __x86_64__ instead of
37467 __WORDSIZE.
37468 (user_regs_struct): Use "__extension__ unsigned long long"
37469 instead of "unsigned long" if __x86_64__ is defined.
37470 (user): Likewise. Pad after pointer field if __ILP32__ is
37471 defined.
37472
4e124ced
JM
374732012-05-16 Joseph Myers <joseph@codesourcery.com>
37474
6a3951a0
JM
37475 * configure.in (makeinfo): Require version 4.5 or later. Allow
37476 versions 5 to 9.
37477 * configure: Regenerated.
37478 * manual/install.texi (texinfo): Increase version requirement to
37479 4.5 or later.
37480 * INSTALL: Regenerated.
37481
4e124ced
JM
37482 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
37483
953ca31a
L
374842012-05-16 H.J. Lu <hongjiu.lu@intel.com>
37485
37486 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
37487
617aca05
L
37488 * sysdeps/x86_64/x32/ffs.c: New file.
37489
5762f7ae
L
37490 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
37491 __syscall_ulong_t.
37492 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
37493 defined. Use __syscall_ulong_t.
37494 (shminfo): Use __syscall_ulong_t.
37495 (shm_info): Likewise.
37496
a26b6856
L
37497 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
37498 __syscall_ulong_t.
37499
cb2b9ef7
L
37500 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
37501 <bits/wordsize.h>.
37502 (msgqnum_t): Use __syscall_ulong_t.
37503 (msglen_t): Likewise.
37504 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
37505 __syscall_ulong_t.
37506
34683bb0
L
37507 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
37508 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
37509
84a68786
L
37510 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
37511
48baa5f1
L
37512 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
37513 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
37514
180be88b
L
37515 * sysvipc/sys/msg.h (msgbuf): Replace long int with
37516 __syscall_slong_t.
37517
5e90c8ad
L
37518 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
37519 include <bits/wordsize.h>. Check __x86_64__ instead of
37520 __WORDSIZE.
37521
23dfb58b
L
37522 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
37523 "unsigned long long int" if __x86_64__ is defined.
37524 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
37525
ce5d54b0
L
37526 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
37527 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
37528 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
37529
13dc9eac
L
37530 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
37531 <stdint.h>.
37532 (GET_PC): Cast to uintptr_t first.
37533 (GET_FRAME): Likewise.
37534 (GET_STACK): Likewise.
37535
a7895d15
L
37536 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
37537 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
37538 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
37539 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
37540 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
37541 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
37542 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
37543 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
37544 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
37545 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
37546 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
37547 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
37548 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
37549 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
37550 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
37551 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
37552 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
37553 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
37554 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
37555 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
37556 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
37557 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
37558 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
37559 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
37560 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
37561 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
37562 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
37563 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
37564 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
37565
656416c9
AS
375662012-05-16 Andreas Schwab <schwab@linux-m68k.org>
37567
5bd66283
AS
37568 * Makerules (+depfiles): Also collect depfiles from .oS in
37569 $(extra-objs).
37570 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
37571 .oS, $(libnldbl-routines)).
37572
656416c9
AS
37573 * Makerules (native-compile-mkdep-flags): Define.
37574 * sunrpc/Makefile (extra-objs): Add $(addprefix
37575 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
37576 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
37577 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
37578 calling $(make-target-directory).
37579
a46f2169
L
375802012-05-15 H.J. Lu <hongjiu.lu@intel.com>
37581
37582 * bits/types.h (__snseconds_t): Removed.
37583 * time/time.h (struct timespec): Replace __snseconds_t with
37584 __syscall_slong_t.
37585 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
37586 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
37587 Likewise.
37588 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
37589 (__SNSECONDS_T_TYPE): Likewise.
37590 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
37591 (__SNSECONDS_T_TYPE): Likewise.
37592 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
37593 (__SNSECONDS_T_TYPE): Likewise.
37594
6af6528b
L
375952012-05-15 H.J. Lu <hongjiu.lu@intel.com>
37596
37597 * sysdeps/mach/hurd/bits/typesizes.h
37598 (__SYSCALL_SLONG_TYPE): New macro.
37599 (__SYSCALL_ULONG_TYPE): Likewise.
37600
de986b56
L
376012012-05-15 H.J. Lu <hongjiu.lu@intel.com>
37602
37603 * bits/types.h (__syscall_slong_t): New type.
37604 (__syscall_ulong_t): Likewise.
37605
37606 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
37607 (__SYSCALL_ULONG_TYPE): Likewise.
37608 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
37609 (__SYSCALL_SLONG_TYPE): Likewise.
37610 (__SYSCALL_ULONG_TYPE): Likewise.
37611 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
37612 (__SYSCALL_SLONG_TYPE): Likewise.
37613 (__SYSCALL_ULONG_TYPE): Likewise.
37614 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
37615 (__SYSCALL_SLONG_TYPE): Likewise.
37616 (__SYSCALL_ULONG_TYPE): Likewise.
37617
85736dc7
L
376182012-05-15 H.J. Lu <hongjiu.lu@intel.com>
37619
37620 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
37621 Add sigaltstack-offsets.sym.
37622 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
37623 <sigaltstack-offsets.h>.
37624 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
37625 longjmp_msg pointer.
37626 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
37627 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
37628 signal stack.
37629 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
37630
cc03b296
JM
376312012-05-15 Joseph Myers <joseph@codesourcery.com>
37632
a9538892
JM
37633 * elf/stackguard-macros.h: Remove file.
37634 * sysdeps/generic/stackguard-macros.h: New file.
37635 * sysdeps/i386/stackguard-macros.h: Likewise.
37636 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
37637 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
37638 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
37639 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
37640 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
37641 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
37642 * sysdeps/x86_64/stackguard-macros.h: Likewise.
37643 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
37644 <elf/stackguard-macros.h>.
37645
cc03b296
JM
37646 [BZ #14109]
37647 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
37648 __aligned__ in attribute.
37649 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
37650 (gregset_t): Likewise.
37651
93171016
L
376522012-05-15 H.J. Lu <hongjiu.lu@intel.com>
37653
37654 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
37655 * sysdeps/x86_64/64/Implies-after: Here. New file.
37656 * sysdeps/x86_64/x32/Implies-after: New file.
37657
d86813a0
L
376582012-05-15 H.J. Lu <hongjiu.lu@intel.com>
37659
37660 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
37661 and access return value for _dl_profile_fixup. Use R10_LP to
37662 load frame size.
37663
2953ec75
L
376642012-05-15 H.J. Lu <hongjiu.lu@intel.com>
37665
37666 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
37667
3b550e9e
L
376682012-05-15 H.J. Lu <hongjiu.lu@intel.com>
37669
37670 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
37671 * sysdeps/x86_64/x32/sysdep.h: New file.
37672
eda41706
L
376732012-05-15 H.J. Lu <hongjiu.lu@intel.com>
37674
37675 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
37676 * sysdeps/x86_64/setjmp.S: Likewise.
37677
9ea01d93
AZ
376782012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37679
37680 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
37681 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
37682 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
37683 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
37684 remove unused global constant.
37685
02a91938
CM
376862012-05-15 Chris Metcalf <cmetcalf@tilera.com>
37687
37688 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
37689 include of <not-cancel.h>.
37690
6540185f
RM
376912012-05-15 Roland McGrath <roland@hack.frob.com>
37692
37693 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
37694
509072a0
AJ
376952012-05-15 Jeff Law <law@redhat.com>
37696 Andreas Jaeger <aj@suse.de>
37697
37698 [BZ #13594]
37699 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
37700 out from...
37701 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
37702 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
37703 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
37704 code changing __hst_map_handle.map.
37705
ba75122d
RM
377062012-05-15 Roland McGrath <roland@hack.frob.com>
37707
37708 * configure.in (sysnames): Look for Implies-before and Implies-after
37709 files.
37710 * configure: Regenerated.
37711
890d8bd8
L
377122012-05-15 H.J. Lu <hongjiu.lu@intel.com>
37713
37714 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
37715 8-byte data alignment with LP_SIZE alignment.
37716
f6ee6623
L
377172012-05-15 H.J. Lu <hongjiu.lu@intel.com>
37718
37719 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
37720 into R10_LP.
37721
ea2626f6
L
377222012-05-15 H.J. Lu <hongjiu.lu@intel.com>
37723
37724 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
37725
085f715e
L
377262012-05-15 H.J. Lu <hongjiu.lu@intel.com>
37727
37728 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
37729 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
37730 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
37731 Likewise.
37732 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
37733
be8498fc
L
377342012-05-15 H.J. Lu <hongjiu.lu@intel.com>
37735
37736 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
37737 (stackinfo_sub_sp): Likewise.
37738
70bc83b9
L
377392012-05-15 H.J. Lu <hongjiu.lu@intel.com>
37740
37741 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
37742 RAX_LP.
37743
9bc0b730
L
377442012-05-15 H.J. Lu <hongjiu.lu@intel.com>
37745
37746 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
37747 into R*_LP.
37748
6d2850e7
L
377492012-05-15 H.J. Lu <hongjiu.lu@intel.com>
37750
37751 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
37752 sizes into R*_LP.
37753
3cb84561
L
377542012-05-15 H.J. Lu <hongjiu.lu@intel.com>
37755
37756 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
37757
54e2ed81
L
377582012-05-15 H.J. Lu <hongjiu.lu@intel.com>
37759
37760 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
37761 into R11_LP and load __x86_64_shared_cache_size_half into
37762 R8_LP.
37763
8a17f349
L
377642012-05-15 H.J. Lu <hongjiu.lu@intel.com>
37765
37766 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
37767 R8_LP.
37768
777b1eea
AZ
377692012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37770
37771 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
37772 logb for POWER7.
37773 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
37774 logbf for POWER7.
37775 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
37776 logbl for POWER7.
37777 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
37778 powerpc32/power7/fpu/s_logb.c via #include.
37779 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
37780 powerpc32/power7/fpu/s_logbf.c via #include.
37781 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
37782 powerpc32/power7/fpu/s_logbl.c via #include.
37783
d20d4ac2
JM
377842012-05-15 Joseph Myers <joseph@codesourcery.com>
37785
37786 * README.libm: Remove file.
37787
6cdef1ab
L
377882012-05-14 H.J. Lu <hongjiu.lu@intel.com>
37789
37790 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
37791 count for x32. Use R*_LP and omit operand-size suffix.
37792
0b254d8f
L
377932012-05-14 H.J. Lu <hongjiu.lu@intel.com>
37794
37795 * shlib-versions: Move x86_64-.*-linux.* entries to ...
37796 * sysdeps/x86_64/64/shlib-versions: Here. New file.
37797 * sysdeps/x86_64/x32/shlib-versions: New file.
37798
ceb809dc
RM
377992012-05-14 Roland McGrath <roland@hack.frob.com>
37800
37801 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
37802 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
37803 Use _dl_fatal_printf instead.
37804
37f1abd4
JM
378052012-05-14 Joseph Myers <joseph@codesourcery.com>
37806
37807 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
37808 set if not set by the user. Do not allow for being unset.
37809 * sysdeps/unix/sysv/linux/configure: Regenerated.
37810
11de3a33
L
378112012-05-14 H.J. Lu <hongjiu.lu@intel.com>
37812
37813 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
37814 the `q' suffix from lea and replace .quad with ASM_ADDR.
37815
e02f153a
L
378162012-05-14 H.J. Lu <hongjiu.lu@intel.com>
37817
37818 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
37819 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
37820 instead of $17.
37821 (PTR_DEMANGLE): Likewise.
37822
520ae0fd
L
378232012-05-14 H.J. Lu <hongjiu.lu@intel.com>
37824
37825 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
37826 (LP_OP): Likewise.
37827 (ASM_ADDR): Likewise.
37828 (RAX_LP): Likewise.
37829 (RBP_LP): Likewise.
37830 (RBX_LP): Likewise.
37831 (RCX_LP): Likewise.
37832 (RDI_LP): Likewise.
37833 (RSI_LP): Likewise.
37834 (RSP_LP): Likewise.
37835 (R8_LP): Likewise.
37836 (R9_LP): Likewise.
37837 (R10_LP): Likewise.
37838 (R10_LP): Likewise.
37839 (R11_LP): Likewise.
37840 (R12_LP): Likewise.
37841 (R13_LP): Likewise.
37842 (R14_LP): Likewise.
37843 (R15_LP): Likewise.
37844
b985be81
L
378452012-05-14 H.J. Lu <hongjiu.lu@intel.com>
37846
37847 * sysdeps/x86_64/x32/dl-machine.h: New file.
37848
6a4888ff
AJ
378492012-05-14 Andreas Jaeger <aj@suse.de>
37850
37851 * manual/Makefile (subdir): Remove export of subdir.
37852 (all): Remove target.
37853 (.PHONY): Remove all from list.
37854 (mkinstalldirs): Remove.
37855 (.PHONY): Remove installdirs from list.
37856 ($(inst_infodir)/libc.info): Use make-target-directory.
37857 (installdirs): Remove.
37858 (subdir_%): Remove.
37859 (glibc-targets): Remove.
37860 (lib): Remove.
37861 (stubs): Remove.
37862 ($(objpfx)stubs ../po/manual.pot): Remove.
37863 ($(objpfx)stamp%): Remove.
37864 (make-target-directory): Remove.
37865 (subdir_install): Remove.
37866 (routines): Remove.
37867 (aux): Remove.
37868 (sources): Remove.
37869 (objects): Remove.
37870 (headers): Remove.
37871
37872 [BZ #13750]
37873 * manual/.gitignore: Remove, it's not needed anymore.
37874 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
37875 all files in it.
37876 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
37877 directory.
37878 (texis): Renamed to $(objpfx)texis.
37879 (texis-path): New, contains path to generated files.
37880 (chapters.%): Use texis-path for complete path, add extra argument
37881 libc-texinfo.sh.
37882 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
37883 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
37884 (summary,texi, stamp-summary): Use complete path of
37885 files. Generate files in build dir.
37886 (dir-add.texi): Build in build dir.
37887 (libm-err.texi,stamp-libm-err): Likewise.
37888 (version.texi, stamp-version): Likewise.
37889 (.%c.texi): Likewise.
37890 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
37891 (mostlyclean): Remove target.
37892 (realclean): Remove target.
37893 (generated): Add new variable with contents from mostlyclean and
37894 realclean, remove entries duplicated in common-mostlyclean, add
37895 stamp-libm-err and stamp-version.
37896 (generated-dirs): Add libc directory.
37897 ($(inst_infodir)/libc.info): Install files from build dir.
37898
37899 * manual/install.texi (Configuring and compiling): Adjust since
37900 the info files are not part of the tar ball anymore.
37901
7ac77294
AJ
379022012-05-14 Andreas Jaeger <aj@suse.de>
37903
37904 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
37905 variable.
37906
ffb7875d
JM
379072012-05-14 Joseph Myers <joseph@codesourcery.com>
37908
37909 [BZ #13717]
37910 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
37911 to 2.2.0 where earlier.
37912 * sysdeps/unix/sysv/linux/configure: Regenerated.
37913 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
37914 Remove conditional code.
37915 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
37916 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
37917 Remove conditional code.
37918 [!__NR_lchown]: Likewise.
37919 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
37920 [__NR_lchown]: Likewise.
37921 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
37922 comment referencing __ASSUME_LCHOWN_SYSCALL.
37923 * sysdeps/unix/sysv/linux/i386/sigaction.c
37924 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
37925 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
37926 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
37927 Remove conditional code.
37928 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
37929 (__protocol_available): Remove #if 0 code.
37930 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
37931 conditional code.
37932 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
37933 * sysdeps/unix/sysv/linux/kernel-features.h
37934 (__ASSUME_GETCWD_SYSCALL): Don't define.
37935 (__ASSUME_REALTIME_SIGNALS): Likewise.
37936 (__ASSUME_PREAD_SYSCALL): Likewise.
37937 (__ASSUME_PWRITE_SYSCALL): Likewise.
37938 (__ASSUME_POLL_SYSCALL): Likewise.
37939 (__ASSUME_LCHOWN_SYSCALL): Likewise.
37940 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
37941 non-SPARC.
37942 (__ASSUME_SIOCGIFNAME): Don't define.
37943 (__ASSUME_MSG_NOSIGNAL): Likewise.
37944 (__ASSUME_SENDFILE): Define unconditionally.
37945 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
37946 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
37947 conditional code.
37948 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
37949 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
37950 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
37951 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
37952 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
37953 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
37954 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
37955 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
37956 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
37957 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
37958 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
37959 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
37960 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
37961 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
37962 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
37963 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
37964 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
37965 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
37966 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
37967 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
37968 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
37969 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
37970 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
37971 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
37972 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
37973 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
37974 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
37975 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
37976 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
37977 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
37978 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
37979 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
37980 Remove conditional code.
37981 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
37982 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
37983 Remove conditional code.
37984 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
37985 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
37986 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
37987 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
37988 Remove conditional code.
37989 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
37990 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
37991 Remove conditional code.
37992 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
37993 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
37994 Remove conditional code.
37995 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
37996 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
37997 Remove conditional code.
37998 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
37999 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
38000 Remove conditional code.
38001 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
38002 * sysdeps/unix/sysv/linux/sh/pwrite64.c
38003 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
38004 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
38005 * sysdeps/unix/sysv/linux/sigaction.c
38006 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
38007 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
38008 * sysdeps/unix/sysv/linux/sigpending.c
38009 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
38010 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
38011 * sysdeps/unix/sysv/linux/sigprocmask.c
38012 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
38013 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
38014 * sysdeps/unix/sysv/linux/sigsuspend.c
38015 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
38016 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
38017 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
38018 (__libc_missing_rt_sigs): Remove.
38019 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
38020 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
38021 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
38022 Remove conditional code.
38023 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
38024 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
38025 return 1.
38026 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
38027 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
38028 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
38029 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
38030
1bfb7291
AJ
380312012-05-14 Andreas Jaeger <aj@suse.de>
38032
caae5a81
AJ
38033 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
38034 it's not used in glibc.
38035 (__coshm1): Likewise.
38036 (__acosh1p): Likewise.
38037 (__sgn): Likewise.
38038
1bfb7291
AJ
38039 * manual/string.texi (Copying and Concatenation): Add missing
38040 variable in concat example.
38041 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
38042
c044d724
L
380432012-05-14 H.J. Lu <hongjiu.lu@intel.com>
38044
144c5467 38045 [BZ #14103]
c044d724
L
38046 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
38047 __builtin_clzl with __builtin_clzll.
38048
2523c62b
L
380492012-05-14 H.J. Lu <hongjiu.lu@intel.com>
38050
38051 [BZ #14104]
38052 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
38053 libc_freeres_ptr.
38054
d7bb4c42
LD
380552012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38056
38057 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
38058 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
38059 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
38060 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
38061
9dc4e1fb
MF
380622012-05-14 Mike Frysinger <vapier@gentoo.org>
38063
38064 * NEWS: Update ia64 info.
38065
c7df0112
AS
380662012-05-12 Andreas Schwab <schwab@linux-m68k.org>
38067
38068 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
38069 used as bcopy.
38070
dc70356c
TS
380712012-05-12 Thomas Schwinge <thomas@codesourcery.com>
38072
38073 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
38074 * sysdeps/unix/syscalls.list (dup3): Likewise.
38075 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
38076 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
38077
9fb1a21f
L
380782012-05-11 H.J. Lu <hongjiu.lu@intel.com>
38079
38080 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
38081 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
38082
4822a2a5
L
380832012-05-11 H.J. Lu <hongjiu.lu@intel.com>
38084
38085 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
38086 thread pointer.
38087 (TLS_IE): Use mov/add instead of movq/addq to load thread
38088 pointer.
38089 (TLS_GD_PREFIX): New.
38090 (TLS_GD): Use it.
38091
842b81d6
DM
380922012-05-11 David S. Miller <davem@davemloft.net>
38093
38094 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
38095 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
38096 (_FPU_SETCW): Likewise.
38097
1cf463cd
L
380982012-05-10 H.J. Lu <hongjiu.lu@intel.com>
38099
38100 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
38101 is 32-byte aligned.
38102
60cc4a18
AS
381032012-05-11 Andreas Schwab <schwab@linux-m68k.org>
38104
38105 [BZ #11837]
38106 * iconvdata/gb18030.c: Update tables.
38107 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
38108 characters specially.
38109 (BODY for TO_LOOP): Add encoding of missing ranges.
38110
febb44a4
TS
381112012-05-11 Thomas Schwinge <thomas@codesourcery.com>
38112
38113 [BZ #13673]
38114 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
38115 * sysdeps/mach/hurd/dup3.c: Likewise.
38116 * sysdeps/mach/hurd/readlinkat.c: Likewise.
38117 * sysdeps/powerpc/memmove.c:: Likewise.
38118
0a10fb9e
L
381192012-05-10 H.J. Lu <hongjiu.lu@intel.com>
38120
38121 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
38122 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
38123
df8a552f
L
381242012-05-10 H.J. Lu <hongjiu.lu@intel.com>
38125
38126 * elf/elf.h (R_X86_64_RELATIVE64): New.
38127 (R_X86_64_NUM): Updated.
38128 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
38129 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
38130 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
38131 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
38132 tst-quad1pie tst-quad2pie
38133 (modules-names): Add tst-quadmod1 tst-quadmod2.
38134 ($(objpfx)tst-quad1): New dependency.
38135 ($(objpfx)tst-quad2): Likewise.
38136 ($(objpfx)tst-quad1pie): Likewise.
38137 ($(objpfx)tst-quad2pie): Likewise.
38138 * sysdeps/x86_64/tst-quad1.c: New file.
38139 * sysdeps/x86_64/tst-quad1pie.c: New file.
38140 * sysdeps/x86_64/tst-quad2.c: Likewise.
38141 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
38142 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
38143 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
38144 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
38145 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
38146
f34d6f84
ST
381472012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
38148
f42d41d1
ST
38149 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
38150 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
38151 * streams/stropts.h (t_scalar_t): Define type.
38152
3c3571fc
ST
38153 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
38154 (_PATH_PRESERVE): Set to "/var/lib".
38155 (_PATH_RWHODIR): Set to "/var/spool/rwho".
38156
61f06bd3
ST
38157 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
38158 instead of int.
38159
918d4d71
ST
38160 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
38161 if __dir_mkfile succeeded.
38162
f34d6f84
ST
38163 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
38164 checking for _hurd_dtablesize. Unlock it right after having
38165 finished _hurd_dtable allocation.
38166
10589b4a
TS
381672012-05-10 Thomas Schwinge <thomas@schwinge.name>
38168
674cdbc7
TS
38169 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
38170 * sysdeps/mach/hurd/configure: Regenerated.
38171 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
38172 special-casing to...
38173 * sysdeps/gnu/configure.in: ... this new file.
38174 * sysdeps/unix/sysv/linux/configure: Regenerated.
38175 * sysdeps/gnu/configure: New generated file.
38176
8e41b99f
TS
38177 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
38178 for Linux: use nsec instead of usec, as well as:
38179 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
38180 members of type struct timespec.
38181 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
38182 New macros.
38183 (struct stat64): Likewise.
38184 (_STATBUF_ST_NSEC): New macro.
38185 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
38186
10589b4a
TS
38187 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
38188 __strtoul_internal rather than strtoul.
38189
63643c85
PT
381902012-05-10 Pino Toscano <toscano.pino@tiscali.it>
38191
38192 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
38193 and reject them.
38194
3faebe6a
ST
381952012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
38196
38197 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
38198 which preserves existing values.
38199 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
38200
c6474b07
PT
382012012-05-10 Pino Toscano <toscano.pino@tiscali.it>
38202
38203 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
38204 TIMEOUT values. Return EINVAL for NFDS values either negative or
38205 greater than FD_SETSIZE.
38206
1043890b
ST
382072012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
38208
38209 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
38210 allocated, call __vm_protect to finish enabling the existing space, and
38211 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
38212 allocate the remainder.
38213
37ed8b9b
PT
382142012-05-10 Pino Toscano <toscano.pino@tiscali.it>
38215
38216 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
38217 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
38218
db653660
ST
382192012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
38220
37ed8b9b
PT
38221 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
38222 sysdeps/mach/hurd/readlink.c.
b29d4053 38223
db653660
ST
38224 * posix/tst-sysconf.c (posix_options): Only use
38225 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
38226 _POSIX_SYNCHRONIZED_IO when they are defined
38227 * sysdeps/mach/hurd/bits/posix_opt.h:
38228 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
38229 (_XOPEN_REALTIME): Undefine macro.
38230 (_XOPEN_REALTIME_THREADS): Undefine macro.
38231 (_XOPEN_SHM): Undefine macro.
38232 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
38233 macro to -1.
38234 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
38235 macro to -1.
38236 (_POSIX_ASYNC_IO): Undefine macro.
38237 (_POSIX_PRIORITIZED_IO): Undefine macro.
38238 (_POSIX_SPIN_LOCKS): Define macro to -1.
38239
ee16e894
ST
38240 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
38241 SA_NODEFER, SA_RESETHAND.
38242 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
38243 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
38244 F_DUPFD_CLOEXEC.
38245
6103ae3b
TS
382462012-05-10 Thomas Schwinge <thomas@schwinge.name>
38247
38248 * elf/Makefile (pldd-modules): Define unconditionally.
38249
80b4e5f3
TS
382502012-05-10 Thomas Schwinge <thomas@schwinge.name>
38251
38252 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
38253
edadcbd6
ST
382542012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
38255
38256 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
38257 Return ENOENT when name is empty.
38258 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
38259
80694780
TS
382602012-05-10 Thomas Schwinge <thomas@schwinge.name>
38261
1792c087
TS
38262 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
38263
80694780
TS
38264 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
38265
6b645f0d
ST
382662012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
38267
80694780
TS
38268 Fix mlock in all cases except non-readable pages.
38269 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
38270 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 38271
6b645f0d
ST
38272 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
38273 (__mkdir): When path is `/', just fail with EEXIST.
38274 * sysdeps/mach/hurd/mkdirat.c: Likewise.
38275
e468f8a3
TS
382762012-05-10 Thomas Schwinge <thomas@schwinge.name>
38277
38278 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
38279 <sys/uio.h> (for writev).
38280 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
38281 and <sys/param.h> (for MIN).
38282
a4186cff
PT
382832012-05-10 Pino Toscano <toscano.pino@tiscali.it>
38284
38285 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
38286 REQUESTED_TIME. Properly set the remaining time and return EINTR
38287 if interrupted.
38288
510bbf14
TS
382892012-05-10 Thomas Schwinge <thomas@schwinge.name>
38290
38291 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
38292 Depend on against $(link-rpcuserlibs).
38293
5d5722e8
ST
382942012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
38295
a4186cff
PT
38296 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
38297 (__libc_stack_end): Do not use attribute_relro.
38298 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
38299 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 38300 to libthread-provided value.
a4186cff
PT
38301 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
38302 attribute_relro.
5d5722e8 38303
37233df9
TS
383042012-05-10 Thomas Schwinge <thomas@schwinge.name>
38305
be971a2b
TS
38306 [BZ #3748]
38307 * bits/libc-lock.h (__libc_once_get): New macro.
38308 * sysdeps/mach/bits/libc-lock.h: Likewise.
38309 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
38310 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
38311 instead of using implementation details.
38312
37233df9
TS
38313 * libio/fileops.c: Unconditionally include <kernel-features.h>.
38314 * libio/freopen.c: Likewise.
38315 * libio/freopen64.c: Likewise.
38316 * misc/syslog.c: Likewise.
38317 * nscd/connections.c: Likewise.
38318 * nscd/netgroupcache.c: Likewise.
38319 * sysdeps/posix/getcwd.c: Likewise.
38320
38de94a5
RM
383212012-05-10 Roland McGrath <roland@hack.frob.com>
38322
38323 * math/w_ilogbf.c: Add #include <limits.h>.
38324
67530489
ST
383252012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
38326
a4186cff 38327 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
38328 path instead of returning without unlocking.
38329
67530489
ST
38330 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
38331 immediate-write ioctls.
38332 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
38333
5aa3a74a
TS
383342012-05-10 Thomas Schwinge <thomas@schwinge.name>
38335
18bad2ae
TS
38336 * sysdeps/mach/hurd/i386/init-first.c (init): Use
38337 __builtin_frame_address instead of making assumptions about the
38338 location of the return address relative to DATA. Force early load of
38339 the return address.
38340 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
38341 __builtin_frame_address.
38342
5aa3a74a
TS
38343 dup3 for GNU Hurd.
38344 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
38345 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
38346 implement dup3 and do some further code clean-ups.
38347 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
38348 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
38349
ecd0de9a
ST
383502012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
38351
cd9fa985
ST
38352 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
38353
a4186cff
PT
38354 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
38355 HURD_CRITICAL_END around holding _hurd_dtable_lock.
38356 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
38357 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
38358 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
38359 d->port.lock.
802ca5a5 38360
a4186cff
PT
38361 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
38362 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
38363 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 38364
bcf55240
TS
383652012-05-10 Thomas Schwinge <thomas@schwinge.name>
38366
6960eb42
TS
38367 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
38368 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
38369 definitions.
38370
eb43375f
TS
38371 accept4 for GNU Hurd.
38372 * include/sys/socket.h (__libc_accept4): New prototype.
38373 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
38374 to implement __libc_accept4.
38375 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
38376 __libc_accept4.
38377 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
38378
bcf55240
TS
38379 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
38380 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
38381 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
38382 signal-defines.sym.
38383
6178c55b
ST
383842012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
38385
a4186cff 38386 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 38387
6f080c2f
TS
383882012-05-10 Thomas Schwinge <thomas@schwinge.name>
38389
38390 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
38391 assertion on O_CLOEXEC flag.
38392 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
38393 * hurd/intern-fd.c: Likewise.
38394 * hurd/port2fd.c: Likewise.
38395
bcfe3a54
ST
383962012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
38397
38398 [BZ #3906]
38399 * bits/in.h (IPV6_PKTINFO): Define new macro.
38400 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
38401
89c9aa49
AZ
384022012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38403
38404 [BZ #13954]
38405 [BZ #13955]
38406 [BZ #13956]
38407 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
38408 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
38409 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
38410 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
38411 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
38412 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
38413 * math/libm-test.inc (logb_test) : Additional logb tests.
38414
021db4be
AJ
384152012-05-09 Andreas Schwab <schwab@linux-m68k.org>
38416 Andreas Jaeger <aj@suse.de>
38417
38418 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
38419 * configure: Regenerated.
38420 * config.h.in (LINK_OBSOLETE_RPC): New macro.
38421 * config.make.in (link-obsolete-rpc): New substituted variable.
38422 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
38423 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
38424 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
38425 (shared-only-routines): Don't set it under [link-obsolete-rpc],
38426 so that libc.a contains the symbols.
38427 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
38428 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
38429 * sunrpc/auth_none.c: Likewise.
38430 * sunrpc/auth_unix.c: Likewise.
38431 * sunrpc/authdes_prot.c: Likewise.
38432 * sunrpc/authuxprot.c: Likewise.
38433 * sunrpc/clnt_gen.c: Likewise.
38434 * sunrpc/clnt_perr.c: Likewise.
38435 * sunrpc/clnt_raw.c: Likewise.
38436 * sunrpc/clnt_simp.c: Likewise.
38437 * sunrpc/clnt_tcp.c: Likewise.
38438 * sunrpc/clnt_udp.c: Likewise.
38439 * sunrpc/clnt_unix.c: Likewise.
38440 * sunrpc/des_crypt.c: Likewise.
38441 * sunrpc/des_soft.c: Likewise.
38442 * sunrpc/get_myaddr.c: Likewise.
38443 * sunrpc/key_call.c: Likewise.
38444 * sunrpc/key_prot.c: Likewise.
38445 * sunrpc/netname.c: Likewise.
38446 * sunrpc/pm_getmaps.c: Likewise.
38447 * sunrpc/pm_getport.c: Likewise.
38448 * sunrpc/pmap_clnt.c: Likewise.
38449 * sunrpc/pmap_prot.c: Likewise.
38450 * sunrpc/pmap_prot2.c: Likewise.
38451 * sunrpc/pmap_rmt.c: Likewise.
38452 * sunrpc/publickey.c: Likewise.
38453 * sunrpc/rpc_cmsg.c: Likewise.
38454 * sunrpc/rpc_common.c: Likewise.
38455 * sunrpc/rpc_dtable.c: Likewise.
38456 * sunrpc/rpc_prot.c: Likewise.
38457 * sunrpc/rpc_thread.c: Likewise.
38458 * sunrpc/rtime.c: Likewise.
38459 * sunrpc/svc.c: Likewise.
38460 * sunrpc/svc_auth.c: Likewise.
38461 * sunrpc/svc_raw.c: Likewise.
38462 * sunrpc/svc_run.c: Likewise.
38463 * sunrpc/svc_tcp.c: Likewise.
38464 * sunrpc/svc_udp.c: Likewise.
38465 * sunrpc/svc_unix.c: Likewise.
38466 * sunrpc/svcauth_des.c: Likewise.
38467 * sunrpc/xcrypt.c: Likewise.
38468 * sunrpc/xdr.c: Likewise.
38469 * sunrpc/xdr_array.c: Likewise.
38470 * sunrpc/xdr_float.c: Likewise.
38471 * sunrpc/xdr_intXX_t.c: Likewise.
38472 * sunrpc/xdr_mem.c: Likewise.
38473 * sunrpc/xdr_rec.c: Likewise.
38474 * sunrpc/xdr_ref.c: Likewise.
38475 * sunrpc/xdr_sizeof.c: Likewise.
38476 * sunrpc/xdr_stdio.c: Likewise.
38477
b5c086a2
RM
384782012-05-10 Roland McGrath <roland@hack.frob.com>
38479
38480 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
38481 change. Update copyright years.
38482
6d74dd09
JM
384832012-05-10 Joseph Myers <joseph@codesourcery.com>
38484
38485 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
38486
28e72501
MK
384872012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
38488 Joseph Myers <joseph@codesourcery.com>
38489 Paul Pluzhnikov <ppluzhnikov@google.com>
38490
38491 [BZ #14012]
38492 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
38493 requiring rpcgen.
38494 [cross-compiling] (extra-libs): Likewise.
38495 [cross-compiling] (extra-libs-others): Likewise.
38496 [cross-compiling] (librpcsvc-routines): Likewise.
38497 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
38498 [cross-compiling] (omit-deps): Likewise.
38499 (sunrpc-CPPFLAGS): New variable.
38500 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
38501 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
38502 (cross-rpcgen-objs): New variable.
38503 (extra-objs): Append $(cross-rpcgen-objs).
38504 ($(cross-rpcgen-objs)): New rule.
38505 ($(objpfx)cross-rpcgen): Likewise.
38506 (rpcgen-cmd): Define to use $(built-program-file). Expand
38507 comment.
38508 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
38509 ($(objpfx)x%.stmp): Likewise.
38510 * sunrpc/proto.h [IS_IN_build] (_): Define.
38511 [IS_IN_build] (_libc_intl_domainname): Likewise.
38512
c8c59454
L
385132012-05-10 H.J. Lu <hongjiu.lu@intel.com>
38514
38515 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
38516 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
38517 and R_X86_64_TPOFF64.
38518
6f27cd16
JM
385192012-05-10 Joseph Myers <joseph@codesourcery.com>
38520
38521 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
38522 sysdeps/unix/sysv/syscalls.list.
38523 (stime): Likewise.
38524 (utime): Likewise.
38525 * sysdeps/unix/sysv/syscalls.list: Remove file.
38526
02467e1c
PE
385272012-05-10 Paul Eggert <eggert@cs.ucla.edu>
38528
38529 [BZ #3440]
38530 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
38531 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
38532 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
38533 (__LC_IDENTIFICATION): Make these macros useful in #if
38534 expressions, as required by C99.
38535
da392631
AS
385362012-05-10 Andreas Schwab <schwab@linux-m68k.org>
38537
38538 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
38539 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
38540 after this.
38541
8115f29b
L
385422012-05-09 H.J. Lu <hongjiu.lu@intel.com>
38543
38544 * stdlib/longlong.h: Updated from GCC.
38545
bdd74070
AJ
385462012-05-09 Andreas Jaeger <aj@suse.de>
38547
edfe0dbe
AJ
38548 * nscd/nscd.c (run_modes): Make named enum, reorder so that
38549 default is first entry.
38550 (run_mode): Set type.
38551 (main): Remove informal message about syslog.
38552 (options): Fix typo.
38553
bcfe3a54
ST
38554 [BZ #14053]
38555 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 38556 to asm.
bcfe3a54
ST
38557 (lrint): Likewise.
38558 (llrintf): Likewise.
38559 (llrint): Likewise.
38560 (rint): Likewise.
38561 (rintf): Likewise.
38562 (nearbyint): Likewise.
38563 (nearbyintf): Likewise.
bdd74070 38564
91d8d69e
AJ
385652012-05-09 Andreas Jaeger <aj@suse.de>
38566 Pedro Alves <palves@redhat.com>
38567
38568 * nscd/nscd.c (run_mode): Use enum.
38569 (main): Cleanup coding style issue.
38570
bb90b80b
AJ
385712012-05-09 Alexandre Oliva <aoliva@redhat.com>
38572 Andreas Jaeger <aj@suse.de>
38573
bcfe3a54
ST
38574 * nscd/nscd.c (go_background): Replaced with...
38575 (run_mode): ... this.
bb90b80b 38576 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
38577 (options): Add -F --foreground.
38578 (main): Implement it.
38579 (parse_opt): Parse it.
bb90b80b 38580
1a4b75a1
AJ
385812012-05-09 Andreas Jaeger <aj@suse.de>
38582
38583 [BZ #14083]
38584 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
38585 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
38586 -Wconversion warning.
38587 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
38588 Likewise.
38589
b1cc2472
JM
385902012-05-09 Joseph Myers <joseph@codesourcery.com>
38591
38592 * conform/data/locale.h-data (NULL): Use macro-constant. Require
38593 == 0.
38594 (LC_ALL): Use macro-int-constant.
38595 (LC_COLLATE): Likewise.
38596 (LC_CTYPE): Likewise.
38597 (LC_MESSAGES): Likewise.
38598 (LC_MONETARY): Likewise.
38599 (LC_NUMERIC): Likewise.
38600 (LC_TIME): Likewise.
38601 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
38602 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
38603 [ISO || ISO99 || ISO11] (*_t): Do not allow.
38604 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
38605 Specify type.
38606 [C99-based standards] (float_t): Expect type.
38607 [C99-based standards] (double_t): Expect type.
38608 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
38609 type.
38610 [C99-based standards] (HUGE_VALL): Likewise.
38611 [C99-based standards] (INFINITY): Likewise.
38612 [C99-based standards] (NAN): Likewise.
38613 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
38614 [C99-based standards] (FP_NAN): Likewise.
38615 [C99-based standards] (FP_NORMAL): Likewise.
38616 [C99-based standards] (FP_SUBNORMAL): Likewise.
38617 [C99-based standards] (FP_ZERO): Likewise.
38618 [C99-based standards] (FP_FAST_FMA): Use
38619 optional-macro-int-constant. Specify type. Require == 1.
38620 [C99-based standards] (FP_FAST_FMAF): Likewise.
38621 [C99-based standards] (FP_FAST_FMAL): Likewise.
38622 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
38623 [C99-based standards] (FP_ILOGBNAN): Likewise.
38624 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
38625 Specify type.
38626 [C99-based standards] (MATH_ERREXCEPT): Likewise.
38627 [C99-based standards] (math_errhandling): Specify type.
38628 [ISO99 || ISO11] (signgam): Do not allow.
38629 [non-C99-based standards] (copysignf): Do not allow.
38630 [non-C99-based standards] (exp2f): Likewise.
38631 [non-C99-based standards] (log2f): Likewise.
38632 [non-C99-based standards] (modff): Allow.
38633 [non-C99-based standards] (erff): Do not allow.
38634 [non-C99-based standards] (erfcf): Likewise.
38635 [non-C99-based standards] (gammaf): Likewise.
38636 [non-C99-based standards] (hypotf): Likewise.
38637 [non-C99-based standards] (j0f): Likewise.
38638 [non-C99-based standards] (j1f): Likewise.
38639 [non-C99-based standards] (jnf): Likewise.
38640 [non-C99-based standards] (lgammaf): Likewise.
38641 [non-C99-based standards] (tgammaf): Likewise.
38642 [non-C99-based standards] (y0f): Likewise.
38643 [non-C99-based standards] (y1f): Likewise.
38644 [non-C99-based standards] (ynf): Likewise.
38645 [non-C99-based standards] (isnanf): Likewise.
38646 [non-C99-based standards] (acoshf): Likewise.
38647 [non-C99-based standards] (asinhf): Likewise.
38648 [non-C99-based standards] (atanhf): Likewise.
38649 [non-C99-based standards] (cbrtf): Likewise.
38650 [non-C99-based standards] (expm1f): Likewise.
38651 [non-C99-based standards] (ilogbf): Likewise.
38652 [non-C99-based standards] (log1pf): Likewise.
38653 [non-C99-based standards] (logbf): Likewise.
38654 [non-C99-based standards] (nextafterf): Likewise.
38655 [non-C99-based standards] (remainderf): Likewise.
38656 [non-C99-based standards] (rintf): Likewise.
38657 [non-C99-based standards] (scalbf): Likewise.
38658 [non-C99-based standards] (copysignl): Likewise.
38659 [non-C99-based standards] (exp2l): Likewise.
38660 [non-C99-based standards] (log2l): Likewise.
38661 [non-C99-based standards] (modfl): Allow.
38662 [non-C99-based standards] (erfl): Do not allow.
38663 [non-C99-based standards] (erfcl): Likewise.
38664 [non-C99-based standards] (gammal): Likewise.
38665 [non-C99-based standards] (hypotl): Likewise.
38666 [non-C99-based standards] (j0l): Likewise.
38667 [non-C99-based standards] (j1l): Likewise.
38668 [non-C99-based standards] (jnl): Likewise.
38669 [non-C99-based standards] (lgammal): Likewise.
38670 [non-C99-based standards] (tgammal): Likewise.
38671 [non-C99-based standards] (y0l): Likewise.
38672 [non-C99-based standards] (y1l): Likewise.
38673 [non-C99-based standards] (ynl): Likewise.
38674 [non-C99-based standards] (isnanl): Likewise.
38675 [non-C99-based standards] (acoshl): Likewise.
38676 [non-C99-based standards] (asinhl): Likewise.
38677 [non-C99-based standards] (atanhl): Likewise.
38678 [non-C99-based standards] (cbrtl): Likewise.
38679 [non-C99-based standards] (expm1l): Likewise.
38680 [non-C99-based standards] (ilogbl): Likewise.
38681 [non-C99-based standards] (log1pl): Likewise.
38682 [non-C99-based standards] (logbl): Likewise.
38683 [non-C99-based standards] (nextafterl): Likewise.
38684 [non-C99-based standards] (remainderl): Likewise.
38685 [non-C99-based standards] (rintl): Likewise.
38686 [non-C99-based standards] (scalbl): Likewise.
38687 [ISO || ISO99 || ISO11] (*_t): Do not allow.
38688 [non-C99-based standards] (FP_*): Do not allow.
38689 [C99-based standards] (FP_*): Change to
38690 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
38691 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
38692 allow.
38693 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
38694 (SIG_ERR): Likewise.
38695 [X/Open-based standards] (SIG_HOLD): Likewise.
38696 (SIG_IGN): Likewise.
38697 (SIGABRT): Use macro-int-constant. Specify type. Require
38698 positive value.
38699 (SIGFPE): Likewise.
38700 (SIGILL): Likewise.
38701 (SIGINT): Likewise.
38702 (SIGSEGV): Likewise.
38703 (SIGTER): Likewise.
38704 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
38705 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
38706 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
38707 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
38708 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
38709 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
38710 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
38711 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
38712 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
38713 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
38714 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
38715 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
38716 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
38717 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
38718 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
38719 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
38720 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
38721 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
38722 [X/Open-based standards] (SIGTRAP): Likewise.
38723 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
38724 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
38725 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
38726 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
38727 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
38728 allow.
38729
b9f1922d
IW
387302012-05-08 Ian Wienand <ianw@vmware.com>
38731
38732 [BZ #14080]
38733 * time/tzset.c (__tzset_parse_tz): Update default rules for
38734 daylight time changes in the Energy Policy Act of 2005.
38735
1db86e88
AJ
387362012-05-09 Andreas Jaeger <aj@suse.de>
38737
38738 [BZ #13983]
38739 * elf/ldconfig.c (parse_conf): Change string to make clear that
38740 ldconfig only issued a warning if ld.so.conf does not exist.
38741
dee4a4e3
DM
387422012-05-08 David S. Miller <davem@davemloft.net>
38743
ee0db190
DM
38744 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
38745 movxtod instead of popping the value on the stack.
38746
dee4a4e3
DM
38747 * sysdeps/sparc/fpu/libm-test-ulps: Update.
38748
6a43ec98
CD
387492012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
38750
38751 * config.h.in: Add HAVE_ARM_PCS_VFP.
38752
05c2c961
RMG
387532012-05-08 Roland Mc Grath <roland@hack.frob.com>
38754
bcfe3a54
ST
38755 [BZ #13979]
38756 * include/features.h: Warn if user requests __FORTIFY_SOURCE
38757 checking but the checks are disabled for any reason.
05c2c961 38758
4b30f61a
L
387592012-05-08 H.J. Lu <hongjiu.lu@intel.com>
38760
38761 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
38762 and ELF64_R_TYPE with ELFW(R_TYPE).
38763
eee2bc67
JM
387642012-05-08 Joseph Myers <joseph@codesourcery.com>
38765
7ea5391a
JM
38766 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
38767 (ulimit): Likewise.
38768
eee2bc67
JM
38769 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
38770 (settimeofday): Likewise.
38771
abb66a67
MF
387722012-05-08 Mike Frysinger <vapier@gentoo.org>
38773
38774 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
38775 a struct th_u2 inside the union, and move tu_block/tu_code into
38776 a new th_u3 union of tu_block/tu_code inside of that. Move
38777 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
38778 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
38779 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
38780 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
38781 (th_stuff): Change to th_u1.tu_stuff.
38782 (th_data): Define.
38783 (th_msg): Change to th_u1.th_u2.tu_data.
38784
7f18b530
DM
387852012-05-07 David S. Miller <davem@davemloft.net>
38786
05760585
DM
38787 * sysdeps/sparc/fpu/libm-test-ulps: Update.
38788
7f18b530
DM
38789 [BZ #14074]
38790 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
38791 (SETUP_PIC_REG): Use it.
38792 (SETUP_PIC_REG_LEAF): Use it.
38793
495fd99f
JM
387942012-05-07 Joseph Myers <joseph@codesourcery.com>
38795
38796 [BZ #13885]
38797 [BZ #13923]
38798 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
38799 USE_AS_EXPM1L.
38800 (EXPL_FINITE): Likewise.
38801 (FLDLOG): Likewise.
38802 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
38803 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
38804 e_expl.S.
38805 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
38806 USE_AS_EXPM1L.
38807 (EXPL_FINITE): Likewise.
38808 (FLDLOG): Likewise.
38809 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
38810 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
38811 e_expl.S.
38812 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
38813 test of -max_value argument for long double.
38814 * sysdeps/i386/fpu/libm-test-ulps: Update.
38815 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38816
6693d694
DM
388172012-05-06 David S. Miller <davem@davemloft.net>
38818
38819 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
38820 quad soft-float symbols whose references which are compiler
38821 generated.
38822 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
38823
6c23e11c
JM
388242012-05-06 Joseph Myers <joseph@codesourcery.com>
38825
d8b82cad
JM
38826 [BZ #13884]
38827 [BZ #13914]
38828 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
38829 USE_AS_EXP10L.
38830 (EXPL_FINITE): Likewise.
38831 (FLDLOG): Likewise.
38832 (c0): Likewise.
38833 (c1): Likewise.
38834 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
38835 Adjust comments for base varying.
38836 (__expl_finite): Change alias to EXPL_FINITE.
38837 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
38838 e_expl.S.
38839 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
38840 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
38841 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
38842 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
38843 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
38844 USE_AS_EXP10L.
38845 (EXPL_FINITE): Likewise.
38846 (FLDLOG): Likewise.
38847 (c0): Likewise.
38848 (c1): Likewise.
38849 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
38850 Adjust comments for base varying.
38851 (__expl_finite): Change alias to EXPL_FINITE.
38852 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
38853 tests for bugs.
38854 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
38855
6c23e11c
JM
38856 [BZ #14064]
38857 * math/libm-test.inc (check_float_internal): Correct ulp
38858 calculation for subnormal expected results.
38859
29ba805c
AJ
388602012-05-06 Andreas Jaeger <aj@suse.de>
38861
38862 * Makeconfig (+math-flags): New, set to -frounding-math.
38863 (+cflags): Add +math-flags so that all of glibc gets compiled with
38864 it.
38865
38866 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
38867
7b17aeda
JM
388682012-05-05 Joseph Myers <joseph@codesourcery.com>
38869
5779f134
JM
38870 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
38871 Disable one test.
38872
41498f4d
JM
38873 [BZ #13787]
38874 [BZ #13922]
38875 [BZ #14036]
38876 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
38877 (__ieee754_expl): Allow for and saturate large arguments.
38878 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
38879 (u_threshold): Likewise.
38880 (__exp): Call __ieee754_exp before checking for overflow and
38881 underflow.
38882 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
38883 (u_threshold): Likewise.
38884 (__expf): Call __ieee754_expf before checking for overflow and
38885 underflow.
38886 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
38887 (u_threshold): Likewise.
38888 (__expl): Call __ieee754_expl before checking for overflow and
38889 underflow.
38890 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
38891 (__ieee754_expl): Allow for and saturate large arguments.
38892 * math/libm-test.inc (exp_test): Add another test. Do not allow
38893 missing overflow exception on overflow.
38894 (expm1_test): Do not allow missing overflow exception on overflow.
38895
6698b8bf
JM
38896 * sysdeps/i386/fpu/e_expl.c: Move to ...
38897 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
38898 rather than using inline asm.
38899 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
38900 * sysdeps/x86_64/fpu/e_expl.S: Copy from
38901 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
38902
7b17aeda
JM
38903 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
38904 (nice): Likewise.
38905 (poll): Likewise.
38906 (signal): Likewise.
38907 (time): Likewise.
38908 (times): Likewise.
38909
f7c85819
JM
389102012-05-04 Joseph Myers <joseph@codesourcery.com>
38911
38912 * sysdeps/unix/syscalls.list (adjtime): Add entry from
38913 sysdeps/unix/common/syscalls.list.
38914 (fchmod): Likewise.
38915 (fchown): Likewise.
38916 (ftruncate): Likewise.
38917 (getrusage): Likewise.
38918 (gettimeofday): Likewise.
38919 (setpgid): Likewise.
38920 (setregid): Likewise.
38921 (setreuid): Likewise.
38922 (sigaction): Likewise.
38923 (truncate): Likewise.
38924 (vhangup): Likewise.
38925 * sysdeps/unix/common/syscalls.list: Remove file.
38926 * sysdeps/unix/bsd/Implies: Don't include unix/common.
38927 * sysdeps/unix/sysv/linux/Implies: Likewise.
38928
336270d0
L
389292012-05-04 H.J. Lu <hongjiu.lu@intel.com>
38930
38931 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
38932 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
38933 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
38934 Moved to ...
38935 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
38936 Here.
38937 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
38938 to ...
38939 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
38940 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
38941 to ...
38942 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
38943 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
38944 to ...
38945 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
38946 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
38947 to ...
38948 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
38949 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
38950 to ...
38951 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
38952 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
38953 to ...
38954 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
38955 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
38956 to ...
38957 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
38958 Here.
38959 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
38960 to ...
38961 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
38962 Here.
38963 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
38964 to ...
38965 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
38966 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
38967 Moved to ...
38968 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
38969 Here.
38970 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
38971 to ...
38972 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
38973
d128e450
JM
389742012-05-04 Joseph Myers <joseph@codesourcery.com>
38975
fa8ee516
JM
38976 * sysdeps/unix/common/bits/dirent.h: Remove file.
38977 * sysdeps/unix/common/bits/fcntl.h: Likewise.
38978
d128e450
JM
38979 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
38980 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
38981 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
38982 * sysdeps/unix/bsd/isatty.c: Likewise.
38983 * sysdeps/unix/bsd/tcdrain.c: Likewise.
38984 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
38985 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
38986
ff8faaf0 389872012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 38988
62881be4 38989 [BZ #13563]
31dc8730
AZ
38990 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
38991 long double comparison inaccuracies.
38992 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
38993 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38994
6fef930c
AS
389952012-05-04 Andreas Schwab <schwab@linux-m68k.org>
38996
38997 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
38998 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
38999
8f203e6c
JM
390002012-05-04 Joseph Myers <joseph@codesourcery.com>
39001
39002 [BZ #14049]
39003 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
39004 nonzero digits before rounding a hex value.
39005 * stdlib/tst-strtod.c (tests): Add another test.
39006
5197d9c2
AK
390072012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
39008
39009 * sysdeps/s390/fpu/libm-test-ulps: Update.
39010
f0c1dedf
AJ
390112012-05-03 Andreas Jaeger <aj@suse.de>
39012
39013 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
39014 does not get optimized out.
39015 (malloc_opt_barrier): New.
39016
a65ef2ae 390172012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 39018 Roland McGrath <roland@hack.frob.com>
a65ef2ae 39019
2b942cb7 39020 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 39021 intermediate file deletion.
2b942cb7 39022 (generated): Add .symlist files.
a65ef2ae 39023
54b71e02
JM
390242012-05-03 Joseph Myers <joseph@codesourcery.com>
39025
39026 [BZ #13775]
39027 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
39028 Redirect under this condition.
39029 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
39030 [__USE_GNU] (__dprintf_chk): Not under this condition.
39031 [__USE_GNU] (__vdprintf_chk): Likewise.
39032 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
39033 under this condition.
39034 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
39035 [__USE_XOPEN2K8] (dprintf): Define under this condition.
39036 [__USE_XOPEN2K8] (vdprintf): Likewise.
39037 [__USE_GNU] (__dprintf_chk): Not under this condition.
39038 [__USE_GNU] (__vdprintf_chk): Likewise.
39039 [__USE_GNU] (dprintf): Likewise.
39040 [__USE_GNU] (vdprintf): Likewise.
39041
d3dfcc41
RM
390422012-05-03 Roland McGrath <roland@hack.frob.com>
39043
39044 * elf/Makefile (common-generated): Set this instead of generated for
39045 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
39046 $(all-built-dso)-derived lists.
39047
7ac30cc5
AJ
390482012-05-03 Andreas Jaeger <aj@suse.de>
39049
0c51e550
AJ
39050 * sysdeps/i386/fpu/libm-test-ulps: Update.
39051
7ac30cc5
AJ
39052 * FAQ: Removed.
39053 * FAQ.in: Likewise.
39054 * scripts/gen-FAQ.pl: Likewise.
39055 * manual/install.texi (Installation): Point to online location of
39056 FAQ.
39057 * Makefile (files-for-dist): Remove FAQ.
39058 (FAQ): Remove.
39059
d4c2917f
AM
390602012-05-02 Allan McRae <allan@archlinux.org>
39061
39062 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
39063 (LDFLAGS-reldepmod5.so): Likewise.
39064 (LDFLAGS-reldep6mod1.so): Likewise.
39065 (LDFLAGS-reldep6mod4.so): Likewise.
39066 (LDFLAGS-reldep8mod3.so): Likewise.
39067 (LDFLAGS-unload4mod1.so): Likewise.
39068 (LDFLAGS-unload4mod2.so): Likewise.
39069 (LDFLAGS-tst-initorder): Likewise.
39070 (LDFLAGS-tst-initordera2.so): Likewise.
39071 (LDFLAGS-tst-initordera3.so): Likewise.
39072 (LDFLAGS-tst-initordera4.so): Likewise.
39073 (LDFLAGS-tst-initorderb2.so): Likewise.
39074 (LDFLAGS-noload): Likewise.
39075 (LDFLAGS-next): Likewise.
39076 (LDFLAGS-order2mod1.so): Likewise.
39077 (LDFLAGS-order2mod2.so): Likewise.
39078 (LDFLAGS-tst-initorder2): Likewise.
39079 (LDFLAGS-tst-initorder2a.so): Likewise.
39080 (LDFLAGS-tst-initorder2b.so): Likewise.
39081 (LDFLAGS-tst-initorder2c.so): Likewise.
39082 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
39083
d77f993f
DM
390842012-05-02 David S. Miller <davem@davemloft.net>
39085
39086 * sysdeps/sparc/fpu/libm-test-ulps: Update.
39087
171a70b4
PP
390882012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
39089
39090 [BZ #14055]
39091 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
39092
0be196ad
AJ
390932012-05-02 Andreas Jaeger <aj@suse.de>
39094
39095 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
39096 since we manipulate rounding mode.
39097 (CPPFLAGS-test-idouble.c): Likewise.
39098 (CPPFLAGS-test-ifloat.c): Likewise.
39099 (CFLAGS-test-ldouble.c): Likewise.
39100 (CFLAGS-test-double.c): Likewise.
39101 (CFLAGS-test-float.c): Likewise.
39102 (CFLAGS-test-misc.c): Likewise.
39103 (CFLAGS-test-test-fenv.c): Likewise.
39104
4f9d04aa
AZ
391052012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39106
2b942cb7
RM
39107 [BZ #2550]
39108 [BZ #2570]
39109 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
39110 comparisons to determine direction to adjust input.
4f9d04aa 39111
82a79e7d
RM
391122012-05-01 Roland McGrath <roland@hack.frob.com>
39113
f5a01ca9
RM
39114 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
39115 output to the target.
39116
90fe4186
RM
39117 * scripts/localplt.awk: New file.
39118 * elf/Makefile ($(objpfx)check-localplt): Target removed.
39119 (check-localplt-CFLAGS): Variable removed.
39120 ($(all-built-dso:=.jmprel)): New static pattern rule.
39121 (generated): Add those targets.
39122 (localplt-built-dso): New variable.
39123 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
39124
39125 * elf/check-localplt.c: File removed.
39126
82397ed6
RM
39127 * scripts/check-execstack.awk: New file.
39128 * elf/Makefile ($(objpfx)check-execstack): Target removed.
39129 (check-execstack-CFLAGS): Variable removed.
39130 ($(objpfx)check-execstack.h): Target removed.
39131 ($(objpfx)execstack-default): New target.
39132 (generated): Add that instead of check-execstack.h.
39133 ($(all-built-dso:=.phdr)): New static pattern rule.
39134 (generated): Add those targets.
39135 * elf/check-execstack.c: File removed.
39136
82a79e7d
RM
39137 * scripts/check-textrel.awk: New file.
39138 * elf/Makefile ($(objpfx)check-textrel): Target removed.
39139 (check-textrel-CFLAGS): Variable removed.
39140 (all-built-dso): Use := to define.o
39141 ($(all-built-dso:=.dyn)): New static pattern rule.
39142 (generated): Add those targets.
39143 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
39144 * config.make.in (READELF): New substituted variable.
39145 * elf/check-textrel.c: File removed.
39146
62fde54f 391472012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 39148
615605c9
JM
39149 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
39150 allow.
39151 * conform/data/ctype.h-data [C99-based standards] (isblank):
39152 Expect function.
39153 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
39154 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
39155 [ISO || ISO99 || ISO11] (*_t): Do not allow.
39156 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
39157 Specify type. Require positive value.
39158 (EILSEQ): Likewise.
39159 (ERANGE): Likewise.
39160 [ISO || POSIX] (EILSEQ): Do not expect.
39161 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
39162 Specify type. Require positive value.
39163 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
39164 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
39165 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
39166 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
39167 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
39168 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
39169 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
39170 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
39171 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
39172 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
39173 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
39174 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
39175 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
39176 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
39177 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
39178 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
39179 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
39180 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
39181 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
39182 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
39183 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
39184 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
39185 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
39186 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
39187 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
39188 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
39189 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
39190 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
39191 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
39192 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
39193 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
39194 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
39195 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
39196 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
39197 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
39198 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
39199 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
39200 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
39201 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
39202 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
39203 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
39204 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
39205 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
39206 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
39207 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
39208 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
39209 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
39210 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
39211 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
39212 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
39213 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
39214 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
39215 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
39216 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
39217 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
39218 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
39219 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
39220 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
39221 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
39222 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
39223 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
39224 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
39225 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
39226 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
39227 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
39228 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
39229 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
39230 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
39231 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
39232 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
39233 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
39234 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
39235 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
39236 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
39237 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
39238 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
39239 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
39240 Require >= 2.
39241 (FLT_ROUNDS): Expect as macro, not constant.
39242 (FLT_MANT_DIG): Use macro-int-constant.
39243 (DBL_MANT_DIG): Likewise.
39244 (LDBL_MANT_DIG): Likewise.
39245 (FLT_DIG): Likewise.
39246 (DBL_DIG): Likewise.
39247 (LDBL_DIG): Likewise.
39248 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
39249 (DBL_MIN_EXP): Likewise.
39250 (LDBL_MIN_EXP): Likewise.
39251 (FLT_MAX_EXP): Use macro-int-constant.
39252 (DBL_MAX_EXP): Likewise.
39253 (LDBL_MAX_EXP): Likewise.
39254 (FLT_MAX_10_EXP): Likewise.
39255 (DBL_MAX_10_EXP): Likewise.
39256 (LDBL_MAX_10_EXP): Likewise.
39257 (FLT_MAX): Use macro-constant.
39258 (DBL_MAX): Likewise.
39259 (LDBL_MAX): Likewise.
39260 (FLT_EPSILON): Use macro-constant. Give upper bound.
39261 (DBL_EPSILON): Likewise.
39262 (LDBL_EPSILON): Likewise.
39263 (FLT_MIN): Likewise.
39264 (DBL_MIN): Likewise.
39265 (LDBL_MIN): Likewise.
39266 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
39267 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
39268 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
39269 [ISO11] (FLT_HAS_SUBNORM): Likewise.
39270 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
39271 [ISO11] (DBL_DECIMAL_DIG): Likewise.
39272 [ISO11] (FLT_DECIMAL_DIG): Likewise.
39273 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
39274 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
39275 [ISO11] (FLT_TRUE_MIN): Likewise.
39276 [ISO11] (LDBL_TRUE_MIN): Likewise.
39277 [ISO || ISO99 || ISO11] (*_t): Do not allow.
39278 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
39279 (SCHAR_MIN): Use macro-int-constant. Specify type.
39280 (SCHAR_MAX): Likewise.
39281 (UCHAR_MAX): Likewise.
39282 (CHAR_MIN): Likewise.
39283 (CHAR_MAX): Likewise.
39284 (MB_LEN_MAX): Use macro-int-constant.
39285 (SHRT_MIN): Use macro-int-constant. Specify type.
39286 (SHRT_MAX): Likewise.
39287 (USHRT_MAX): Likewise.
39288 (INT_MAX): Likewise.
39289 (INT_MIN): Use macro-int-constant. Specify type. Make upper
39290 bound negative.
39291 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
39292 bound with "U".
39293 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
39294 bound with "L".
39295 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
39296 bound negative. Suffix upper bound with "L".
39297 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
39298 bound with "UL".
39299 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
39300 Specify type.
39301 [C99-based standards] (LLONG_MAX): Likewise.
39302 [C99-based standards] (ULLONG_MAX): Likewise.
39303 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
39304 == 0.
39305 [ISO11] (max_align_t): Require type.
39306 [ISO || ISO99 || ISO11] (*_t): Do not allow.
39307
c9140a62
JM
39308 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
39309 from $CFLAGS, without defining away __attribute__ calls.
39310 (checknamespace): Use $CFLAGS_namespace.
39311
9af0bf29
JM
39312 * conform/conformtest.pl (@keywords): Only include C99 keywords
39313 for standards based on C99 or C11.
39314
343222a2
JM
39315 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
39316 Disable tests.
39317 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
39318 UNIX98]: Likewise.
39319
661f8cf0
JM
39320 * conform/conformtest.pl: Handle "macro-int-constant" and test for
39321 usability of symbols in #if.
39322
ee74b9cb
JM
39323 * conform/conformtest.pl: If macro or constant types start
39324 "promoted:", expect the symbol to be of the following type
39325 promoted by the integer promotions.
62fde54f 39326
aafc49b3
JM
39327 * conform/conformtest.pl: Parse all "constant" and "macro" lines
39328 in one place. Also handle "macro-constant".
39329
fefdf574
JM
39330 * conform/conformtest.pl: Only accept expected macro values with
39331 "==". Parse all "macro" lines in one place.
39332 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
39333
f2d922fe
JM
39334 * conform/conformtest.pl: Handle braced types on "constant" lines
39335 instead of handling "typed-constant".
39336 * conform/data/signal.h-data: Use "constant" instead of
39337 "typed-constant".
39338
d22956c9
JM
39339 * conform/conformtest.pl: Handle "optional-" at start of lines in
39340 one place rather than duplicating several cases. Handle each
39341 format of "macro" line with initial "optional-".
39342
028e2e38
JM
39343 * conform/conformtest.pl: Only accept expected constant or
39344 optional-constant values with "==". Parse all "constant" lines in
39345 one place. Parse all "optional-constant" lines in one place.
39346 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
39347 * conform/data/fmtmsg.h-data: Likewise.
39348 * conform/data/netinet/in.h-data: Likewise.
39349 * conform/data/tar.h-data: Likewise.
39350 * conform/data/limits.h-data: Use "==" form on "constant" and
39351 "optional-constant" lines.
39352
1b8f2850
JM
39353 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
39354 Use -std=c99 for XOPEN2K.
39355 (@knownproblems): Remove.
39356 (newtoken): Don't check %isknown.
39357
a05a144b
JM
39358 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
39359 Do not expect macro.
39360 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
39361 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
39362 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
39363 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
39364 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
39365 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
39366 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
39367 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
39368 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
39369 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
39370 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
39371 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
39372 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
39373 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
39374 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
39375 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
39376 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
39377 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
39378 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
39379 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
39380 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
39381 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
39382 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
39383 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
39384 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
39385 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
39386 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
39387 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
39388 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
39389 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
39390 [XPG3] (acosh): Likewise.
39391 [XPG3] (asinh): Likewise.
39392 [XPG3] (atanh): Likewise.
39393 [XPG3] (cbrt): Likewise.
39394 [XPG3] (expm1): Likewise.
39395 [XPG3] (ilogb): Likewise.
39396 [XPG3] (log1p): Likewise.
39397 [XPG3] (logb): Likewise.
39398 [XPG3] (nextafter): Likewise.
39399 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
39400 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
39401 [XPG3] (remainder): Likewise.
39402 [XPG3] (rint): Likewise.
39403 [XPG3 || XPG4 || UNIX98] (round): Likewise.
39404 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
39405 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
39406 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
39407 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
39408 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
39409 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
39410 [UNIX98 || XOPEN2K] (scalb): Expect.
39411 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
39412 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
39413 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
39414 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
39415 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
39416 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
39417 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
39418 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
39419 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
39420 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
39421 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
39422 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
39423 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
39424 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
39425 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
39426 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
39427 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
39428 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
39429 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
39430 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
39431 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
39432 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
39433 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
39434 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
39435 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
39436 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
39437 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
39438 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
39439 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
39440 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
39441 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
39442 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
39443 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
39444 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
39445 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
39446 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
39447 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
39448 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
39449 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
39450 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
39451 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
39452 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
39453 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
39454 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
39455 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
39456 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
39457 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
39458 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
39459 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
39460 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
39461 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
39462 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
39463 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
39464 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
39465 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
39466 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
39467 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
39468 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
39469 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
39470 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
39471 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
39472 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
39473 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
39474 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
39475 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
39476 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
39477 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
39478 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
39479 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
39480 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
39481 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
39482 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
39483 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
39484 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
39485 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
39486 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
39487 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
39488 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
39489 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
39490 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
39491 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
39492 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
39493 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
39494 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
39495 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
39496 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
39497 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
39498 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
39499 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
39500 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
39501 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
39502 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
39503 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
39504 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
39505 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
39506 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
39507 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
39508 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
39509 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
39510 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
39511 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
39512 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
39513 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
39514 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
39515 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
39516 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
39517 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
39518 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
39519 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
39520 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
39521 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
39522 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
39523 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
39524 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
39525 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
39526 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
39527 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
39528 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
39529 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
39530 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
39531 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
39532 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
39533 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
39534 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
39535 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
39536 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
39537 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
39538 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
39539 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
39540 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
39541 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
39542 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
39543 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
39544 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
39545 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
39546 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
39547 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
39548
73c5ebe3
JM
39549 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
39550 _XOPEN_SOURCE_EXTENDED for XPG4.
39551
39c33b6c
JM
39552 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
39553
62fde54f
JM
39554 * Makeconfig (localtime): Remove variable.
39555 (inst_localtime-file): Likewise.
39556
0741d64c
AS
395572012-05-01 Andreas Schwab <schwab@linux-m68k.org>
39558
39559 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
39560 Update.
39561 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
39562 Update.
39563 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
39564 Update.
39565 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
39566 Update.
39567 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
39568 Update.
39569 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
39570 Update.
39571 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
39572 Update.
39573 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
39574 Update.
39575 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
39576 Update.
39577
7cb029ee
JM
395782012-05-01 Joseph Myers <joseph@codesourcery.com>
39579
39580 [BZ #2550]
39581 [BZ #2570]
39582 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
39583 comparisons to determine direction to adjust input.
39584 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
39585 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
39586 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
39587 Likewise.
39588 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
39589 Likewise.
39590 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
39591 Likewise.
39592 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
39593 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
39594 Likewise.
39595 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
39596 Likewise.
39597 * math/libm-test.inc (nexttoward_test): Add more tests.
39598
412bd966
AS
395992012-05-01 Andreas Schwab <schwab@linux-m68k.org>
39600
39601 [BZ #14040]
39602 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
39603 in version GLIBC_2.1, not GLIBC_2.0.
39604 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
39605 Likewise.
39606
9568c0c2
JM
396072012-04-30 Joseph Myers <joseph@codesourcery.com>
39608
adfbc8ac
JM
39609 [BZ #13942]
39610 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
39611 (1 - x) * (1 + x).
39612 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
39613 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
39614 * math/libm-test.inc (acos_test): Add more tests.
39615 (asin_test): Likewise.
39616 * sysdeps/i386/fpu/libm-test-ulps: Update.
39617 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39618
5ba3cc69
JM
39619 [BZ #14034]
39620 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
39621 of square root.
39622 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
39623 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
39624 * math/libm-test.inc (acos_test_tonearest): New function.
39625 (acos_test_towardzero): Likewise.
39626 (acos_test_downward): Likewise.
39627 (acos_test_upward): Likewise.
39628 (asin_test_tonearest): Likewise.
39629 (asin_test_towardzero): Likewise.
39630 (asin_test_downward): Likewise.
39631 (asin_test_upward): Likewise.
39632 (main): Call the new functions.
39633 * sysdeps/i386/fpu/libm-test-ulps: Update.
39634 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
39635
9568c0c2
JM
39636 [BZ #13884]
39637 [BZ #13924]
39638 * math/e_exp10.c: Include <float.h>.
39639 (__ieee754_exp10): Handle underflow here rather than multiplying
39640 large negative argument by M_LN10.
39641 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
39642 of __ieee754_expf.
39643 * math/e_exp10l.c: Include <float.h>.
39644 (__ieee754_exp10l): Handle underflow here rather than multiplying
39645 large negative argument by M_LN10l.
39646 * math/libm-test.inc (exp10_test): Add another test. Do not allow
39647 spurious overflow exception on underflow.
39648
5ac3ea17
MP
396492012-04-29 Marek Polacek <polacek@redhat.com>
39650
39651 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
39652 (__fortify_function): New macro.
39653 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
39654 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
39655 __extern_always_inline.
39656 * libio/bits/stdio2.h: Likewise.
39657 * libio/bits/stdio.h: Likewise.
39658 * string/string.h: Likewise.
39659 * string/bits/string3.h: Likewise.
39660 * include/stdio.h: Likewise.
39661 * stdlib/bits/stdlib.h: Likewise.
39662 * stdlib/stdlib.h: Likewise.
39663 * rt/bits/mqueue2.h: Likewise.
39664 * rt/mqueue.h: Likewise.
39665 * posix/bits/unistd.h: Likewise.
39666 * posix/unistd.h: Likewise.
39667 * io/bits/poll2.h: Likewise.
39668 * io/bits/fcntl2.h: Likewise.
39669 * io/fcntl.h: Likewise.
39670 * io/sys/poll.h: Likewise.
39671 * misc/bits/syslog.h: Likewise.
39672 * misc/bits/syslog-ldbl.h: Likewise.
39673 * misc/sys/syslog.h: Likewise.
39674 * socket/bits/socket2.h: Likewise.
39675 * socket/sys/socket.h: Likewise.
39676 * debug/tst-chk1.c: Likewise.
39677 * wcsmbs/bits/wchar2.h: Likewise.
39678 * wcsmbs/bits/wchar-ldbl.h: Likewise.
39679 * wcsmbs/wchar.h: Likewise.
39680
ecf0ebfb
AJ
396812012-04-29 Andreas Jaeger <aj@suse.de>
39682
39683 * Makerules (tests): Remove enable-check-abi protection.
39684 (check-abi-warn): Remove.
39685 (check-abi-%): Remove check-abi-warn usage.
39686
39687 * configure.in: Remove check-abi configure option.
39688 * configure: Regenerated.
39689 * config.make.in (enable-check-abi): Remove.
39690
6d5c57fa
AS
396912012-04-28 Andreas Schwab <schwab@linux-m68k.org>
39692
24c5d07e 39693 [BZ #14033]
ded5180a
AS
39694 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
39695 double functions to double *_finite functions.
39696
7e0d315d
AS
39697 [BZ #13941]
39698 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
39699 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
39700 LDBL_MIN_EXP.
39701 * stdio-common/Makefile (tests): Add tst-sprintf3.
39702 * stdio-common/tst-sprintf3.c: New file.
39703
6d5c57fa
AS
39704 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
39705 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
39706
0749ff8b
JM
397072012-04-28 Joseph Myers <joseph@codesourcery.com>
39708
39709 * conform/conformtest.pl: Remove duplicate typed-constant
39710 handling.
39711
8dbd5d7b
DM
397122012-04-28 David S. Miller <davem@davemloft.net>
39713
39714 * Makerules (%.abilist): Add vpath on sysdep_dirs.
39715 (check-abi-%): Remove AWK script prerequisite and explicit
39716 abilist directory.
39717 (check-abi): Rewrite to just diff the symlist with the abilist.
39718 (config-tls, config-abi-config): Delete, no longer used.
39719 (update-abi-%): Remove AWK script and explicit abilist directory.
39720 (update-abi): Rewrite to simply compare and conditionally copy the
39721 symlist and the sysdep abilist file. Remove update-abi-config
39722 checks.
39723 * abilist/ld.abilist: Remove.
39724 * abilist/libBrokenLocale.abilist: Remove.
39725 * abilist/libanl.abilist: Remove.
39726 * abilist/libcrypt.abilist: Remove.
39727 * abilist/libdl.abilist: Remove.
39728 * abilist/librt.abilist: Remove.
39729 * abilist/libthread_db.abilist: Remove.
39730 * abilist/libutil.abilist: Remove.
39731 * scripts/extract-abilist.awk: Remove.
39732 * scripts/merge-abilist.awk: Remove.
39733 * sysdeps/generic/libcidn.abilist: New file.
39734 * sysdeps/generic/libnss_compat.abilist: New file.
39735 * sysdeps/generic/libnss_db.abilist: New file.
39736 * sysdeps/generic/libnss_dns.abilist: New file.
39737 * sysdeps/generic/libnss_files.abilist: New file.
39738 * sysdeps/generic/libnss_hesiod.abilist: New file.
39739 * sysdeps/generic/libnss_nis.abilist: New file.
39740 * sysdeps/generic/libnss_nisplus.abilist: New file.
39741 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
39742 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
39743 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
39744 file.
39745 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
39746 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
39747 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
39748 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
39749 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
39750 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
39751 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
39752 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
39753 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
39754 file.
39755 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
39756 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
39757 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
39758 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
39759 file.
39760 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
39761 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
39762 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
39763 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
39764 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
39765 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
39766 file.
39767 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
39768 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
39769 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
39770 file.
39771 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
39772 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
39773 New file.
39774 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
39775 New file.
39776 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
39777 New file.
39778 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
39779 New file.
39780 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
39781 New file.
39782 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
39783 New file.
39784 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
39785 New file.
39786 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
39787 New file.
39788 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
39789 New file.
39790 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
39791 New file.
39792 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
39793 New file.
39794 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
39795 New file.
39796 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
39797 New file.
39798 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
39799 file.
39800 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
39801 New file.
39802 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
39803 New file.
39804 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
39805 file.
39806 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
39807 New file.
39808 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
39809 New file.
39810 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
39811 file.
39812 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
39813 New file.
39814 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
39815 New file.
39816 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
39817 New file.
39818 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
39819 New file.
39820 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
39821 New file.
39822 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
39823 New file.
39824 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
39825 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
39826 file.
39827 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
39828 New file.
39829 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
39830 file.
39831 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
39832 file.
39833 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
39834 file.
39835 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
39836 file.
39837 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
39838 file.
39839 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
39840 New file.
39841 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
39842 file.
39843 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
39844 file.
39845 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
39846 New file.
39847 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
39848 file.
39849 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
39850 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
39851 file.
39852 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
39853 New file.
39854 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
39855 file.
39856 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
39857 file.
39858 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
39859 file.
39860 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
39861 file.
39862 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
39863 file.
39864 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
39865 New file.
39866 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
39867 file.
39868 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
39869 file.
39870 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
39871 New file.
39872 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
39873 file.
39874 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
39875 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
39876 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
39877 file.
39878 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
39879 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
39880 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
39881 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
39882 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
39883 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
39884 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
39885 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
39886 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
39887 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
39888 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
39889 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
39890 file.
39891 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
39892 New file.
39893 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
39894 file.
39895 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
39896 file.
39897 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
39898 file.
39899 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
39900 file.
39901 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
39902 file.
39903 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
39904 New file.
39905 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
39906 New file.
39907 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
39908 file.
39909 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
39910 New file.
39911 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
39912 file.
39913 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
39914 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
39915 file.
39916 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
39917 New file.
39918 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
39919 file.
39920 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
39921 file.
39922 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
39923 file.
39924 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
39925 file.
39926 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
39927 file.
39928 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
39929 New file.
39930 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
39931 New file.
39932 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
39933 file.
39934 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
39935 New file.
39936 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
39937 file.
39938
41d73a1b
JM
399392012-04-28 Joseph Myers <joseph@codesourcery.com>
39940
39941 * conform/conformtest.pl: Fix typo in handling typed-constant from
39942 allow-header.
39943
28aeeda4
JM
399442012-04-27 Joseph Myers <joseph@codesourcery.com>
39945
adae8f5e
JM
39946 * README: Cut down references to pre-2.6 Linux kernels and
39947 Linuxthreads. Update lists of configurations in libc and ports
39948 and sort alphabetically. Say "or newer" with Linux kernel version
39949 requirements.
39950
28aeeda4
JM
39951 * config.h.in [IS_IN_build]: Allow compiling without optimization.
39952
a462cb63
RA
399532012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
39954
39955 [BZ #887]
39956 * math/libm-test.inc (logb_test_downward): New test to expose
39957 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
39958 rounding mode.
39959
6ad3493e
JM
399602012-04-27 Joseph Myers <joseph@codesourcery.com>
39961
39962 [BZ #14027]
39963 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
39964 to be done.
39965 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
39966 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
39967
2ce4f015
JM
399682012-04-26 Joseph Myers <joseph@codesourcery.com>
39969
5aeb141a
JM
39970 * sysdeps/unix/i386/brk.S: Remove file.
39971 * sysdeps/unix/i386/dl-brk.S: Likewise.
39972 * sysdeps/unix/i386/pipe.S: Likewise.
39973 * sysdeps/unix/i386/sigreturn.S: Likewise.
39974 * sysdeps/unix/i386/syscall.S: Likewise.
39975 * sysdeps/unix/i386/vfork.S: Likewise.
39976 * sysdeps/unix/i386/wait.S: Likewise.
39977
7143acae
JM
39978 * sysdeps/unix/common/tcsendbrk.c: Move to ...
39979 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
39980
2ce4f015
JM
39981 * configure.in (arm*-none*): Do not allow without
39982 --enable-hacker-mode.
39983 (netbsd*): Remove case setting base_os.
39984 (386bsd*): Likewise.
39985 (freebsd*): Likewise.
39986 (bsdi*): Likewise.
39987 (osf*): Likewise.
39988 (sunos*): Likewise.
39989 (ultrix*): Likewise.
39990 (newsos*): Likewise.
39991 (dynix*): Likewise.
39992 (*bsd*): Likewise.
39993 (sysv*): Likewise.
39994 (isc*): Likewise.
39995 (esix*): Likewise.
39996 (sco*): Likewise.
39997 (minix*): Likewise.
39998 (irix4*): Likewise.
39999 (irix6*): Likewise.
40000 (solaris[2-9]*): Likewise.
40001 (none): Likewise.
40002 * configure: Regenerated.
40003
0ac229c8
AZ
400042012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40005
40006 [BZ #11521]
40007 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
40008 overflow or cancellation in calculating denominator.
40009 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
40010 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
40011 down expression to avoid unexpected rounding in newer GCCs.
40012 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
40013
33f244f4
DM
400142012-04-26 David S. Miller <davem@davemloft.net>
40015
40016 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
40017 long-double compat symbols.
40018 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
40019 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
40020 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
40021 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
40022 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
40023 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
40024 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
40025 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
40026 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
40027 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
40028 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
40029 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
40030 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
40031
cfa1f3e8
DM
400322012-04-25 David S. Miller <davem@davemloft.net>
40033
40034 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
40035 HWCAP_* values only after the memory barriers have been defined.
40036 (atomic_full_barrier): Define.
40037 (atomic_read_barrier): Define.
40038 (atomic_write_barrier): Define.
40039
6e236b92
SP
400402012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
40041
40042 * shlib-versions: Add libgcc_s version information.
40043 * sysdeps/generic/libgcc_s.h: Remove.
40044 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
40045 libgcc_s.h.
40046 * sysdeps/gnu/unwind-resume.c: Likewise.
40047 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
40048
aab39a09
DM
400492012-04-25 David S. Miller <davem@davemloft.net>
40050
40051 * sysdeps/unix/sparc/brk.S: Delete.
40052 * sysdeps/unix/sparc/dl-brk.S: Delete.
40053 * sysdeps/unix/sparc/pipe.S: Delete.
40054 * sysdeps/unix/sparc/sysdep.S: Delete.
40055 * sysdeps/unix/sparc/sysdep.h: Delete.
40056 * sysdeps/unix/sparc/vfork.S: Delete.
57f41c40
AS
40057 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
40058 (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
40059 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
40060 (ret_ERRVAL, r0, r1, MOVE): Define.
aab39a09
DM
40061 (JUMPTARGET): Remove.
40062 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
40063 sysdeps/unix/sparc/sysdep.h
40064 (ENTRY, END): Remove.
40065 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
40066
a3cc4f48
JM
400672012-04-25 Joseph Myers <joseph@codesourcery.com>
40068
2ed8cda2
JM
40069 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
40070 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
40071 -DIS_IN_build.
40072
35d76d59
JM
40073 * timezone/README: Update upstream location and email address for
40074 tzcode and tzdata.
40075 * timezone/zdump.c: Update from tzcode 2012b.
40076 * timezone/zic.c: Likewise.
40077
a3cc4f48
JM
40078 * configure.in (libc_cv_as_needed): Remove test.
40079 * configure: Regenerated.
40080 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
40081 conditional definition.
40082 [$(have-as-needed) != yes] (no-as-needed): Likewise.
40083 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
40084 * config.make.in (have-as-needed): Remove variable.
40085
ceab42c3
SP
400862012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
40087 Paul Pluzhnikov <ppluzhnikov@google.com>
40088
40089 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
40090 strings correctly.
40091
3ce2865f
CLT
400922012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
40093
40094 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
40095 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
40096 * sysdeps/sh/strlen.S: Likewise.
40097
f37e0d68
JM
400982012-04-24 Joseph Myers <joseph@codesourcery.com>
40099
ae186e9a
JM
40100 * sysdeps/unix/fork.S: Remove file.
40101 * sysdeps/unix/i386/fork.S: Likewise.
40102 * sysdeps/unix/sparc/fork.S: Likewise.
40103
b96914af
JM
40104 * sysdeps/unix/system.c: Remove file.
40105 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
40106
f37e0d68
JM
40107 * sysdeps/unix/getegid.S: Remove file.
40108 * sysdeps/unix/geteuid.S: Likewise.
40109
87ef29ca
RM
401102012-04-24 Roland McGrath <roland@hack.frob.com>
40111
83bcd236
RM
40112 * scripts/check-localplt.awk: New file.
40113 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
40114 of diff.
40115 * scripts/data/localplt-generic.data: Add a comment.
40116
87ef29ca
RM
40117 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
40118 NODE when __dir_mkfile failed.
40119 * sysdeps/mach/hurd/symlinkat.c: Likewise.
40120 Reported by Ludovic Courtès <ludo@gnu.org>.
40121
e5a6e567
AJ
401222012-04-24 Andreas Jaeger <aj@suse.de>
40123
40124 * Makerules (common-clean): Also remove gen-as-const-headers
40125 files.
40126
c1820385
JM
401272012-04-24 Joseph Myers <joseph@codesourcery.com>
40128
40129 * Makerules (native-compile): Do not change working directory for
40130 build. Use $(OUTPUT_OPTION) in command.
40131 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
40132
94e02fc4
AZ
401332012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40134
40135 [BZ #13886]
40136 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
40137 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
40138 * math/libm-test.inc (floor_test): Add more tests.
40139 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
40140
3a533ca3
JM
401412012-04-24 Joseph Myers <joseph@codesourcery.com>
40142
940ab4b3
JM
40143 * sysdeps/unix/getdents.c: Remove file.
40144 * sysdeps/unix/sysv/getdents.c: Likewise.
40145 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
40146
90e037bd
JM
40147 * sysdeps/unix/syscalls.list (madvise): Add syscall from
40148 sysdeps/unix/mman/syscalls.list.
40149 (mmap): Likewise.
40150 (mprotect): Likewise.
40151 (msync): Likewise.
40152 (munmap): Likewise.
40153 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
40154 * sysdeps/unix/mman/syscalls.list: Remove.
40155 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
40156
3a533ca3
JM
40157 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
40158 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
40159 * configure: Regenerated.
40160 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
40161 $(libgcc_s_suffix).
40162 * config.make.in (libgcc_s_suffix): Remove variable.
40163
1ad743de
JM
401642012-04-23 Joseph Myers <joseph@codesourcery.com>
40165
4ad451e2
JM
40166 * sysdeps/unix/sysv/gethostname.c: Move to ...
40167 * sysdeps/posix/gethostname.c: ... here.
40168
5e37ce39
JM
40169 * sysdeps/unix/execve.S: Remove file.
40170
1ad743de
JM
40171 * sysdeps/unix/_exit.S: Remove file.
40172
4e681b5b
AJ
401732012-04-23 Andreas Jaeger <aj@suse.de>
40174
40175 [BZ #13739]
40176 * manual/Makefile: Remove make dist support, there's no
40177 need for a stand-alone documentation tar ball.
40178 (TEXI2DVI): Define always, it's not in Makeconfig.
40179 (dist): Removed.
40180 (tar-it): Removed.
40181 (edition): Removed.
40182 (glibc-doc-$(edition).tar): Removed
40183 (%.Z): Removed.
40184 (%.gz): Removed.
40185 (%.uu): Removed.
40186 (ETAGS): Remove, it's in Makeconfig.
40187 (move-if-change): Remove, it's in Makeconfig.
40188
38686a03 401892012-04-23 Paul Eggert <eggert@cs.ucla.edu>
c0baea34
PE
40190
40191 [BZ #13970]
40192 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
40193 (strtod, strtof, strtold, strtol, strtoul, strtoq)
40194 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
40195 (strtod_l, strtof_l, strtold_l): Remove __wur.
40196 It is not necessarily an error to ignore strtol's return value.
40197 One can reliably look at the stored endptr to decide whether
40198 the number had valid syntax.
40199
7c0616fa
AJ
402002012-04-21 Andreas Jaeger <aj@suse.de>
40201
803cb6b7 40202 [BZ #13739]
7c0616fa
AJ
40203 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
40204
b0fe253f
JM
402052012-04-21 Joseph Myers <joseph@codesourcery.com>
40206
40207 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
40208 * sysdeps/unix/sysv/Versions: Remove file.
40209
8280f22d
MT
402102012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
40211
40212 [BZ #13927]
40213 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
40214
75ce411f 402152012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
40216
40217 [BZ #7064]
40218 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
40219 version from __vm86.
40220
097d59fa
JM
402212012-04-20 Joseph Myers <joseph@codesourcery.com>
40222
a90f3bcb
JM
40223 * sysdeps/unix/common/lxstat.c: Remove file.
40224 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
40225
edc7ea78
JM
40226 * sysdeps/unix/sysv/Makefile: Remove file.
40227
cb78c221
JM
40228 * sysdeps/unix/sysv/direct.h: Remove file.
40229
efa6a45f
JM
40230 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
40231 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
40232 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
40233 * sysdeps/unix/sysv/bits/signum.h: Likewise.
40234 * sysdeps/unix/sysv/bits/stat.h: Likewise.
40235 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
40236 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
40237
9c9f2d0c
JM
40238 * sysdeps/unix/sysv/setrlimit.c: Remove file.
40239
4541c83b
JM
40240 * sysdeps/unix/xmknod.c: Remove file.
40241 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
40242
f5d153a0
JM
40243 * sysdeps/unix/sysv/settimeofday.c: Remove file.
40244
aa746595
JM
40245 * sysdeps/unix/sysv/i386/time.S: Remove file.
40246
cce5905e
JM
40247 * sysdeps/unix/fxstat.c: Remove file.
40248 * sysdeps/unix/xstat.c: Likewise.
40249 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
40250
37fa3841
JM
40251 * sysdeps/unix/sysv/sigaction.c: Remove file.
40252
ff1962a3
JM
40253 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
40254 (sysdep_headers): Remove variable.
40255 [termio.h not in sysdep_headers] (generated): Likewise.
40256 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
40257 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
40258 * sysdeps/unix/sysv/tcdrain.c: Likewise.
40259 * sysdeps/unix/sysv/tcflow.c: Likewise.
40260 * sysdeps/unix/sysv/tcflush.c: Likewise.
40261 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
40262 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
40263 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
40264 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
40265 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
40266
e7740d31
JM
40267 * sysdeps/unix/siglist.c: Remove file.
40268
ee06f18b
JM
40269 * sysdeps/unix/getppid.S: Remove file.
40270
097d59fa
JM
40271 * sysdeps/unix/mkdir.c: Remove file.
40272 * sysdeps/unix/rmdir.c: Likewise.
40273
ff3d51ec
AS
402742012-04-19 Andreas Schwab <schwab@linux-m68k.org>
40275
40276 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
40277 ERR_MAX value.
40278 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
40279 errlist-compat value.
40280
50f81fd7
DM
402812012-04-18 David S. Miller <davem@davemloft.net>
40282
40283 * sysdeps/generic/memcopy.h (reg_char): Delete.
40284 * debug/strcat_chk.c: Use char, not reg_char.
40285 * debug/strcpy_chk.c: Likewise.
40286 * debug/strncat_chk.c: Likewise.
40287 * debug/strncpy_chk.c: Likewise.
40288 * string/memchr.c: Likewise.
40289 * string/memrchr.c: Likewise.
40290 * string/rawmemchr.c: Likewise.
40291 * string/strcat.c: Likewise.
40292 * string/strchr.c: Likewise.
40293 * string/strchrnul.c: Likewise.
40294 * string/strcmp.c: Likewise.
40295 * string/strcpy.c: Likewise.
40296 * string/strncat.c: Likewise.
40297 * string/strncmp.c: Likewise.
40298 * string/strncpy.c: Likewise.
40299
8ff41c46
WS
403002012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
40301
40302 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
40303 __builtin_memcopy is called when src and dest ranges are known to not
40304 overlap.
40305
6b652f46
WS
403062012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
40307
40308 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
40309 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
40310 fwd_align_merge macro call.
40311 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
40312 bwd_align_merge macro call.
40313 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
40314
b282631e
WS
403152012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
40316
40317 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
40318 bwd_align_merge macros.
40319 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
40320 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
40321 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
40322
95aa737c
DM
403232012-04-18 David S. Miller <davem@davemloft.net>
40324
40325 * sysdeps/sparc/sparc64/memcopy.h: Delete.
40326
7a99a614
AJ
403272012-04-18 Andreas Jaeger <aj@suse.de>
40328
40329 [BZ# 6794]
40330 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
40331 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
40332 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
40333
40334 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
40335 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
40336 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
40337
40338 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
40339 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
40340 Adjust for changed ldbl-128 files.
40341
40342 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
40343 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
40344 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
40345
e5270c23
DM
403462012-04-17 David S. Miller <davem@davemloft.net>
40347
40348 * sysdeps/sparc/sparc32/memcopy.h: Delete.
40349
fb5e92c9
AS
403502012-04-17 Andreas Schwab <schwab@linux-m68k.org>
40351
40352 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
40353 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
40354 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
40355 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
40356 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
40357 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
40358
76da7265
AZ
403592012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40360
40361 [BZ #6794]
40362 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
40363 * math/libm-test.inc: Add ilogb errno and exception tests.
40364 * math/w_ilogb.c: New file: ilogb wrapper.
40365 * math/w_ilogbf.c: New file: ilogbf wrapper.
40366 * math/w_ilogbl.c: New file: ilogbl wrapper.
40367 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
40368 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
40369 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
40370 exception being thrown with 0.0 as argument.
40371 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
40372 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
40373 exception being thrown with 0.0 as argument.
40374 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
40375 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
40376 exception being thrown with 0.0 as argument.
40377 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
40378 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
40379 exception being thrown with 0.0 as argument.
40380 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
40381 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 40382 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
40383 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
40384 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
40385 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
40386 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
40387 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
40388 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
40389
0396e69d
PB
403902012-04-17 Petr Baudis <pasky@ucw.cz>
40391
40392 * include/sys/uio.h: Change __vector to __iovec to avoid clash
40393 with altivec.
40394
750b5926
MP
403952012-04-16 Marek Polacek <polacek@redhat.com>
40396
40397 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
40398
751728a1
MP
403992012-04-16 Marek Polacek <polacek@redhat.com>
40400
40401 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
40402 operands of fdivp instruction.
40403
34a27407
L
404042012-04-13 H.J. Lu <hongjiu.lu@intel.com>
40405
40406 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
40407 * elf/tst-auditmod3b.c: Likewise.
40408 * elf/tst-auditmod4b.c: Likewise.
40409 * elf/tst-auditmod5b.c: Likewise.
40410 * elf/tst-auditmod6b.c: Likewise.
40411 * elf/tst-auditmod6c.c: Likewise.
40412 * elf/tst-auditmod7b.c: Likewise.
40413 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
40414 * sysdeps/x86_64/preconfigure.in: Likewise.
40415 * sysdeps/x86_64/preconfigure: Regenerated.
40416
7e73e17d
L
404172012-04-13 H.J. Lu <hongjiu.lu@intel.com>
40418
40419 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
40420 __ILP32__.
40421
c7a6ab72
AB
404222012-04-13 Antoine Balestrat <merkil33@gmail.com>
40423
40424 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
40425 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
40426
a9e8e0e0
CL
404272012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
40428
40429 [BZ #13973]
40430 * locale/iso-639.def: Fix gl language name. Spotted by
40431 Yaron Shahrabani.
40432
ec98af7d
RM
404332012-04-12 Roland McGrath <roland@hack.frob.com>
40434
40435 [BZ #2074]
40436 * libio/libio.h (__io_write_fn): Update comment.
40437
247c3ede
PB
404382012-04-12 Petr Baudis <pasky@ucw.cz>
40439
40440 [BZ #2074]
40441 * stdio.texi (Hook Functions): The user provided writer function
40442 is not allowed to return -1.
40443
55939d6d
DM
404442012-04-11 David S. Miller <davem@davemloft.net>
40445
40446 * sysdeps/sparc/fpu/libm-test-ulps: Update.
40447
90020f5a
MF
404482012-04-11 Mike Frysinger <vapier@gentoo.org>
40449
40450 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
40451 Add a leading slash to rtkaio.
40452
288f9098
JM
404532012-04-11 Jim Meyering <meyering@redhat.com>
40454
90020f5a
MF
40455 [BZ #11959]
40456 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
40457 It is not necessarily an error to ignore fwrite's return
40458 value. One can reliably use ferror to test for errors after
40459 the fact.
288f9098 40460
4be2b570
L
404612012-04-10 H.J. Lu <hongjiu.lu@intel.com>
40462
40463 * bits/types.h (__snseconds_t): New type.
40464 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
40465
40466 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
40467 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
40468 (__SNSECONDS_T_TYPE): Likewise.
40469 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
40470 (__SNSECONDS_T_TYPE): Likewise.
40471 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
40472 (__SNSECONDS_T_TYPE): Likewise.
40473
288f9098 404742012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
40475
40476 [BZ #2636]
40477 * manual/time.texi (Processor Time): Return type of times is
40478 elapsed real time since an arbitrary point in the past.
40479 (CPU Time): Move CLK_TCK from here...
40480 (Processor Time): ...to here. Correct description.
40481 * manual/conf.texi (Constants for Sysconf): Correct description of
40482 _SC_CLK_TCK.
40483
d7dd4413
DM
404842012-04-10 David S. Miller <davem@davemloft.net>
40485
40486 [BZ #13967]
40487 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
40488 where the is a gap between DT_REL(A) and DT_JMPREL.
40489
b46068fc
L
404902012-04-10 H.J. Lu <hongjiu.lu@intel.com>
40491
40492 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
40493 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
40494 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
40495
73d65cc3
SP
404962012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
40497
40498 * elf/dl-support.c (_dl_inhibit_cache): New variable.
40499 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
40500 (dl_main): Handle --inhibit-cache.
40501 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
40502 _dl_inhibit_cache.
40503 * elf/dl-load.c (_dl_map_object): Use it.
40504 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
40505
bcc8d661
JM
405062012-04-09 Joseph Myers <joseph@codesourcery.com>
40507
8f9a2fae
JM
40508 [BZ #13872]
40509 * sysdeps/i386/fpu/e_powl.S (p78): New object.
40510 (__ieee754_powl): Saturate large exponents rather than testing for
40511 overflow of y*log2(x).
40512 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
40513 * math/libm-test.inc (pow_test): Do not permit spurious overflow
40514 exceptions.
40515
bcc8d661
JM
40516 [BZ #11521]
40517 * math/s_ctan.c: Include <float.h>.
40518 (__ctan): Avoid internal overflow or cancellation in calculating
40519 denominator.
40520 * math/s_ctanf.c: Likewise.
40521 * math/s_ctanl.c: Likewise.
40522 * math/s_ctanh.c: Likewise.
40523 * math/s_ctanhf.c: Likewise.
40524 * math/s_ctanhl.c: Likewise.
40525 * math/libm-test.inc (ctan_test): Add more tests.
40526 (ctanh_test): Likewise.
40527 * sysdeps/i386/fpu/libm-test-ulps: Update.
40528 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40529
823fbbb4
AJ
405302012-04-09 Andreas Jaeger <aj@suse.de>
40531
03879793
AJ
40532 [BZ #6894]
40533 * manual/filesys.texi (Directory Entries): Mention that d_namlen
40534 is an optional BSD extension.
40535
823fbbb4
AJ
40536 [BZ #10254]
40537 * manual/stdio.texi (Opening Streams): Document additional fopen
40538 parameters.
40539
8de131cb
RM
405402012-04-09 Roland McGrath <roland@hack.frob.com>
40541
40542 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
40543 %eax without telling the compiler.
40544
c0ed9d7d
CD
405452012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
40546
40547 [BZ # 13963]
40548 * manual/install.texi: Use sourceware.org.
40549
c483f6b4
JM
405502012-04-09 Joseph Myers <joseph@codesourcery.com>
40551
d7dd9453
JM
40552 [BZ #13873]
40553 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
40554 (__ieee754_pow): Generate overflow and underflow using huge*huge
40555 and tiny*tiny rather than just returning constant infinity or zero
40556 for large exponents.
40557 * math/libm-test.inc (pow_test): Require overflow exceptions for
40558 applicable cases of large exponents.
40559
c483f6b4
JM
40560 [BZ #706]
40561 * sysdeps/i386/fpu/e_pow.S (p10): New object.
40562 (__ieee754_pow): Use iterative multiplication algorithm only for
40563 integer exponents with absolute value below 1024. Check for odd
40564 integer exponents when using algorithm for real exponents.
40565 * math/libm-test.inc (pow_test): Add more tests.
40566 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
40567
d2de7579
JM
405682012-04-08 Joseph Myers <joseph@codesourcery.com>
40569
40570 [BZ #13705]
40571 * math/libm-test.inc (exp_test): Do not allow overflow exception
40572 on underflow test.
40573
f77f1232
AJ
405742012-04-08 Aurelien Jarno <aurelien@aurel32.net>
40575
40576 [BZ #13705]
40577 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
40578 instead of __kernel_standard_f.
40579
3884932b
MF
405802012-04-08 Mike Frysinger <vapier@gentoo.org>
40581
40582 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
40583 * sysdeps/x86_64/memset_chk.S: Likewise.
40584
54472e9c
AJ
405852012-04-08 Andreas Jaeger <aj@suse.de>
40586
6ab0fbfc
AJ
40587 [BZ #10153]
40588 * manual/startup.texi (Environment Access): Describe return value
40589 for putenv and setenv.
40590
61efba8c
AJ
40591 [BZ #6895]
40592 * manual/filesys.texi (Directory Entries): Add description for
40593 DT_LNK.
40594
95c3f29a
AJ
40595 [BZ #6890]
40596 * manual/filesys.texi (Directory Entries): Clarify that it's file
40597 system not operating system in the description of DT_UNKNOWN.
40598
54472e9c
AJ
40599 [BZ #6578]
40600 * manual/syslog.texi (closelog): Fix reference, it's openlog.
40601
624254b1
SC
406022012-04-08 Stephen Compall <s11@member.fsf.org>
40603
40604 [BZ #6649]
40605 * manual/llio.texi (Opening and Closing Files): Add cross
40606 reference to explain mode argument.
40607
1e4920e0
MF
406082012-04-07 Mike Frysinger <vapier@gentoo.org>
40609
40610 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
40611 * sysdeps/x86_64/memset_chk.S: Likewise.
40612
5ed848f3
DM
406132012-04-07 David S. Miller <davem@davemloft.net>
40614
40615 * elf/elf.h (R_SPARC_WDISP10): Define.
40616 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
40617 R_SPARC_SIZE32.
40618 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
40619 R_SPARC_SIZE64 and R_SPARC_H34.
40620
96154cd8
CD
406212012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
40622
40623 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
40624 conditions and remove no longer applicable assertion.
40625
9904dc47
L
406262012-04-06 H.J. Lu <hongjiu.lu@intel.com>
40627
40628 * bits/byteswap.h: Include <features.h>.
40629 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
40630 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
40631
f8887d0a
L
406322012-04-06 H.J. Lu <hongjiu.lu@intel.com>
40633
40634 * bits/byteswap.h (__bswap_16): Removed.
40635 Include <bits/byteswap-16.h> to get __bswap_16.
40636 * sysdeps/i386/bits/byteswap.h: Likewise.
40637 * sysdeps/s390/bits/byteswap.h: Likewise.
40638 * sysdeps/x86_64/bits/byteswap.h: Likewise.
40639 * bits/byteswap-16.h: New file.
40640 * sysdeps/i386/bits/byteswap-16.h: Likewise.
40641 * sysdeps/s390/bits/byteswap-16.h: Likewise.
40642 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
40643 * string/Makefile (headers): Add bits/byteswap-16.h.
40644
62470f60
PP
406452012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
40646
40647 [BZ #13895]
40648 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
40649 extra indirection.
40650 * nss/Makefile (tests-static, tests): Add tst-nss-static.
40651 * nss/tst-nss-static.c: New.
40652
4dad7bab
RM
406532012-04-06 Robert Millan <rmh@gnu.org>
40654
40655 [BZ #6486]
40656 * manual/llio.texi (File Position Primitive): lseek
40657 refers to WHENCE when it really means OFFSET.
40658
e9142a17
AJ
406592012-04-06 Andreas Jaeger <aj@suse.de>
40660
2c040eff
AJ
40661 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
40662 strncmp declarations.
40663
e9142a17
AJ
40664 * abilist/libc.abilist: Add __poll and __ppoll.
40665
ff9f1c5f
DM
406662012-04-05 David S. Miller <davem@davemloft.net>
40667
dcd2ae90
DM
40668 * scripts/check-local-headers.sh: Accept a host triplet in the
40669 path matched by the exclude regexp.
40670
993eb054
DM
40671 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
40672 definition.
40673 * sysdeps/powerpc/powerpc32/dl-machine.h
40674 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
40675 * sysdeps/s390/s390-32/dl-machine.h
40676 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
40677 * sysdeps/sparc/sparc32/dl-machine.h
40678 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
40679 * sysdeps/sparc/sparc64/dl-machine.h
40680 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
40681
ff9f1c5f
DM
40682 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
40683 lazy binding.
48e2e132 40684 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
40685 undefined symbol errors.
40686
48e2e132 40687 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
40688 DT_NEEDED entries.
40689
e80d6f94
MM
406902012-04-05 Michael Matz <matz@suse.de>
40691
40692 [BZ #13592]
40693 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
40694
349fa79f
AJ
406952012-04-05 Andreas Jaeger <aj@suse.de>
40696
40697 [BZ #13908]
40698 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
40699 comment.
40700
f402708f
KK
407012012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
40702
40703 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
40704 which ROUND is no valid rounding mode.
40705
2ecccfc9
KK
407062012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
40707
40708 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
40709 read again.
40710 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
40711
8a53f50f
KK
407122012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
40713
40714 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
40715 an exception using FPU order intentionally.
40716
407172012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
40718
40719 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
40720 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
40721 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
40722 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
40723
d653abb7
SJ
407242012-04-05 Simon Josefsson <simon@josefsson.org>
40725
40726 [BZ #12340]
40727 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
40728 EINVAL when BUFLEN is too smal.
40729
c3b1bf7d
TS
407302012-04-05 Thomas Schwinge <thomas@codesourcery.com>
40731
40732 [BZ #13553]
40733 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
40734 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
40735
b1aa60f3
AJ
407362012-04-03 Andreas Jaeger <aj@suse.de>
40737
c3b1bf7d 40738 [BZ #13938]
67f60a26
AJ
40739 * manual/setjmp.texi (System V contexts): Fix sentence.
40740
b1aa60f3
AJ
40741 [BZ #13926]
40742 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
40743 New macro for this case.
40744 [!__GNUC__] (__bswap_64): New inline function for this case.
40745 * sysdeps/x86_64/bits/byteswap.h: Likewise.
40746 * bits/byteswap.h: Likewise.
40747 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
40748 ull, guard with __GLIBC_HAVE_LONG_LONG.
40749
40750 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
40751 __GLIBC_HAVE_LONG_LONG.
40752
40753 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
40754 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
40755
39c59c35
TMQMF
407562012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
40757
40758 [BZ #13691]
40759 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
40760 inptr and inend, rather than using last_ch.
40761
135ffda8
DM
407622012-04-02 David S. Miller <davem@davemloft.net>
40763
40764 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
40765 * stdio-common/printf-parse.h (read_int): Change return type to
40766 'int', return -1 on INT_MAX overflow.
40767 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
40768 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
40769 overflows INT_MAX. Check for overflow of in-format-string precision
40770 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
40771 SIZE_MAX not INT_MAX for integer overflow test.
40772 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
40773 skip the construct in the format string but do not record anything.
40774 * stdio-common/bug22.c: Adjust to test both width/prevision
40775 INT_MAX overflow as well as total length INT_MAX overflow. Check
40776 explicitly for proper errno values.
40777
228c019e
TS
407782012-04-02 Thomas Schwinge <thomas@codesourcery.com>
40779
302cadd3
TS
40780 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
40781 CHAR_MAX.
40782 * string/test-strcmp.c [! WIDE]: Likewise.
40783 * time/tst-mktime2.c: Likewise for INT_MAX.
40784 * string/test-string.h: #include <sys/param.h> for MIN.
40785
228c019e
TS
40786 * csu/init-first.c (__libc_init_first): Call __ctype_init.
40787 * sysdeps/i386/init-first.c (init): Likewise.
40788 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
40789 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
40790 * sysdeps/sh/init-first.c (init): Likewise.
40791
cfa633f5
UD
407922012-04-01 Ulrich Drepper <drepper@gmail.com>
40793
40794 * po/ru.po: Update from translation team.
d1635ef8 40795 * po/vi.po: Likewise.
cfa633f5 40796
6cd0a5ea
SP
407972012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
40798
40799 * resolv/nss_dns/dns-host.c: Merge copyright years.
40800
4b43400f
LD
408012012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
40802
40803 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
40804 Optimize memcpy with prefetch if
40805 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
40806 src, dst pointers have unequal 16 byte alignments.
40807
48c41d04
SP
408082012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
40809
40810 [BZ #13928]
40811 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
40812 from a CNAME entry and return the minimum ttl for the query.
40813 (gaih_getanswer_slice): Likewise.
40814
b8dc394d
JL
408152012-03-30 Jeff Law <law@redhat.com>
40816
40817 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
40818 due to long keys.
40819 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
40820 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
40821
2f5a5ed0
JL
40822 * resolv/nss_dns/dns-host.c: Update copyright year.
40823
1d39e359
UD
408242012-03-30 Ulrich Drepper <drepper@gmail.com>
40825
c030f70c 40826 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 40827 requests to save a system call. Fix check that all bytes are sent.
c030f70c 40828
1d39e359
UD
40829 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
40830 comments for sendmmsg.
40831
408322012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
40833
40834 [BZ #13691]
40835 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
40836 with only 1 character between 0x0041 and 0x01b0.
40837 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
40838 * wcsmbs/tst-mbsnrtowcs.c: New file.
40839
20fde227
DM
408402012-03-29 David S. Miller <davem@davemloft.net>
40841
40842 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
40843 small copies by hand.
40844
984a4237
JL
408452012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
40846
40847 [BZ #13761]
57f41c40
AS
40848 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
40849 (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
40850 group memberships.
984a4237 40851
18c9d62b
DM
408522012-03-28 David S. Miller <davem@davemloft.net>
40853
88d85d4f
DM
40854 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
40855 that branches into memcpy.
40856 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
40857 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
40858 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
40859 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
40860 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
40861 bits.
40862 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
40863 implementation too.
40864 * sysdeps/sparc/mempcpy.S: New file.
40865
e5aa83e1
DM
40866 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
40867 the IFUNC routine in the libc case.
40868 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
40869
88570753
DM
40870 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
40871 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
40872 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
40873 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
40874 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
40875 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
40876 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
40877 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
40878
249d7567
DM
40879 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
40880 loop to 256 bytes instead of 64 bytes and fix test signedness.
40881
18c9d62b
DM
40882 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
40883 * sysdeps/sparc/sparc32/Makefile: rather than here...
40884 * sysdeps/sparc/sparc64/Makefile: and here.
40885
05f3d1f6
UD
408862012-03-28 Ulrich Drepper <drepper@gmail.com>
40887
40888 * malloc/mallocbug.c: Avoid warnings about unused variables.
40889
86ae07a8
JL
408902012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
40891
40892 [BZ #13760]
40893 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
40894 in the right place. Discard and retry query if response is
40895 larger than input buffer size.
40896
41bf21a1
JM
408972012-03-28 Joseph Myers <joseph@codesourcery.com>
40898
d6270972
JM
40899 [BZ #369]
40900 [BZ #2678]
40901 [BZ #3866]
40902 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
40903 x for large integer exponent.
40904 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
40905 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
40906 sign of result as needed afterwards.
40907 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
40908 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
40909 result for underflowing pow the same as for overflow.
40910 (__kernel_standard_l): Handle powl overflow and underflow here
40911 rather than calling __kernel_standard.
40912 * math/libm-test.inc (pow_test): Add more tests.
40913
414fca03 40914 [BZ #3868]
41bf21a1
JM
40915 [BZ #13879]
40916 [BZ #13910]
40917 [BZ #13911]
40918 [BZ #13912]
40919 [BZ #13913]
40920 [BZ #13915]
40921 [BZ #13916]
40922 [BZ #13917]
40923 [BZ #13918]
40924 [BZ #13919]
40925 [BZ #13920]
40926 [BZ #13921]
40927 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
40928 * sysdeps/ieee754/k_standard.c: Include <float.h>.
40929 (__kernel_standard_l): New function.
40930 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
40931 __kernel_standard.
40932 * math/w_acosl.c (__acosl): Likewise.
40933 * math/w_asinl.c (__asinl): Likewise.
40934 * math/w_atan2l.c (__atan2l): Likewise.
40935 * math/w_atanhl.c (__atanhl): Likewise.
40936 * math/w_coshl.c (__coshl): Likewise.
40937 * math/w_exp10l.c (__exp10l): Likewise.
40938 * math/w_exp2l.c (__exp2l): Likewise.
40939 * math/w_fmodl.c (__fmodl): Likewise.
40940 * math/w_hypotl.c (__hypotl): Likewise.
40941 * math/w_j0l.c (__j0l, __y0l): Likewise.
40942 * math/w_j1l.c (__j1l, __y1l): Likewise.
40943 * math/w_jnl.c (__jnl, __ynl): Likewise.
40944 * math/w_lgammal.c (__lgammal): Likewise.
40945 * math/w_log10l.c (__log10l): Likewise.
40946 * math/w_log2l.c (__log2l): Likewise.
40947 * math/w_logl.c (__logl): Likewise.
40948 * math/w_powl.c (__powl): Likewise.
40949 * math/w_remainderl.c (__remainderl): Likewise.
40950 * math/w_scalbl.c (sysv_scalbl): Likewise.
40951 * math/w_sinhl.c (__sinhl): Likewise.
40952 * math/w_sqrtl.c (__sqrtl): Likewise.
40953 * math/w_tgammal.c (__tgammal): Likewise.
40954 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
40955 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
40956 * math/libm-test.inc (acos_test): Add more tests.
40957 (acosh_test): Likewise.
40958 (asin_test): Likewise.
40959 (atanh_test): Likewise.
40960 (exp_test): Likewise.
40961 (exp10_test): Likewise.
40962 (exp2_test): Likewise.
40963 (expm1_test): Likewise.
40964 (lgamma_test): Likewise.
40965 (log_test): Likewise.
40966 (log10_test): Likewise.
40967 (log1p_test): Likewise.
40968 (log2_test): Likewise.
40969 (pow_test): Do not allow some spurious overflow exceptions.
40970 (sqrt_test): Add more tests.
40971 (tgamma_test): Likewise.
40972 (y0_test): Likewise.
40973 (y1_test): Likewise.
40974 (yn_test): Likewise.
40975
dd62fda6
AB
409762012-03-27 Anton Blanchard <anton@samba.org>
40977
40978 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
40979 MAP_HUGETLB.
40980 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
40981 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
40982 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
40983
1e3cdfda
AJ
409842012-03-27 David S. Miller <davem@davemloft.net>
40985
b855ab85
DM
40986 * conform/Makefile: Run run-conformtest.sh using $(BASH).
40987
1e3cdfda
AJ
40988 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
40989 have-as-vis3 check.
40990
409912012-03-27 Andreas Jaeger <aj@suse.de>
40992
40993 * sysdeps/x86_64/elf/configure.in: Moved to ...
40994 * sysdeps/x86_64/configure.in: ... here.
40995 * sysdeps/x86_64/elf/start.S: Moved to ...
40996 * sysdeps/x86_64/start.S: ... here.
40997 * sysdeps/x86_64/elf/configure: Delete.
40998
40999 * sysdeps/x86_64/configure.in: Merge contents from
41000 sysdeps/i386/configure.in (without i686 check).
41001
41002 * sysdeps/i386/elf/Versions: Merge into ...
41003 * sysdeps/i386/Versions: ... this.
41004 * sysdeps/i386/elf/Versions: Delete file.
41005 * sysdeps/i386/elf/start.S: Moved to ...
41006 * sysdeps/i386/start.S: ...here.
41007 * sysdeps/i386/elf/configure.in: Merge into...
41008 * sysdeps/i386/configure.in: ...here.
41009 * sysdeps/i386/elf/configure.in: Delete file.
41010 * sysdeps/i386/elf/configure: Delete file.
41011
41012 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
41013 * debug/backtracesyms.c: ... here.
41014 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
41015 * debug/backtracesymsfd.c: ... here.
41016 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
41017 * sysdeps/generic/ifunc-sel.h: ... here.
41018
41019 * sysdeps/unix/i386/start.c: Delete file.
41020 * sysdeps/unix/sparc/start.c: Delete file.
41021 * sysdeps/unix/start.c: Delete file.
41022
41023 * sysdeps/sh/elf/configure.in: Moved to ...
41024 * sysdeps/sh/configure.in: ... here.
41025 * sysdeps/sh/elf/start.S: Moved to ...
41026 * sysdeps/sh/start.S: ... here.
41027 * sysdeps/sh/elf/configure: Delete file.
41028
41029 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
41030 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
41031 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
41032 * sysdeps/powerpc/powerpc64/entry.h: ... here.
41033 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
41034 * sysdeps/powerpc/powerpc64/start.S: here.
41035 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
41036 * sysdeps/powerpc/powerpc64/Makefile: ... this.
41037 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
41038 * sysdeps/powerpc/powerpc64/configure.in: ... this.
41039 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
41040
41041 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
41042 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
41043 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
41044 * sysdeps/powerpc/powerpc32/start.S: ... here.
41045 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
41046 * sysdeps/powerpc/powerpc32/configure.in: ... this.
41047 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
41048
41049 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
41050 * sysdeps/powerpc/ifunc-sel.h: ... here.
41051 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
41052 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
41053
41054 * sysdeps/sparc/elf/configure.in: Moved to ...
41055 * sysdeps/sparc/configure.in: ... here.
41056 * sysdeps/sparc/elf/configure: Delete file.
41057 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
41058 * sysdeps/sparc/sparc32/start.S: ... here.
41059 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
41060 * sysdeps/sparc/sparc64/start.S: ... here.
41061 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
41062 * sysdeps/sparc/sparc32/Makefile: ... this.
41063 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
41064 * sysdeps/sparc/sparc64/Makefile: ... this.
41065
41066 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
41067 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
41068 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
41069 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
41070 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
41071 * sysdeps/s390/s390-32/setjmp.S: ... here.
41072 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
41073 * sysdeps/s390/s390-32/configure.in: ... here.
41074 * sysdeps/s390/s390-32/elf/configure: Delete file.
41075 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
41076 * sysdeps/s390/s390-32/start.S: ... here.
41077
41078 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
41079 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
41080 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
41081 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
41082 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
41083 * sysdeps/s390/s390-64/setjmp.S: ... here.
41084 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
41085 * sysdeps/s390/s390-64/configure.in: ... here
41086 * sysdeps/s390/s390-64/elf/configure: Delete file.
41087 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
41088 * sysdeps/s390/s390-64/start.S: ... here.
41089 * sysdeps/s390/s390-64/elf/configure: Delete.
41090
41091 * configure.in: Remove support for elf directories in sysdeps.
41092
41093 * configure: Regenerated.
41094 * sysdeps/i386/configure: Regenerated.
41095 * sysdeps/powerpc/powerpc32/configure: Regenerated.
41096 * sysdeps/powerpc/powerpc64/configure: Regenerated.
41097 * sysdeps/s390/s390-32/configure: Regenerated.
41098 * sysdeps/s390/s390-64/configure: Regenerated.
41099 * sysdeps/sh/configure: Regenerated.
41100 * sysdeps/sparc/configure: Regenerated.
41101 * sysdeps/x86_64/configure: Regenerated.
41102
a3f61311
AS
411032012-03-26 Andreas Schwab <schwab@linux-m68k.org>
41104
c876e002
AS
41105 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41106
a3f61311
AS
41107 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
41108 denormal result into account.
41109
ac4c54f0
RM
411102012-03-25 Roland McGrath <roland@hack.frob.com>
41111
41112 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
41113 Reported by Allan McRae <allan@archlinux.org>.
41114
6a9b9c02
JL
411152012-03-23 Jeff Law <law@redhat.com>
41116
41117 * nss/getnssent.c (__nss_getent): Fix typo.
41118
4c42a0c1
DM
411192012-03-23 David S. Miller <davem@davemloft.net>
41120
41121 * sysdeps/sparc/fpu/libm-test-ulps: Update.
41122
1532c7ac
L
411232012-03-23 H.J. Lu <hongjiu.lu@intel.com>
41124
41125 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
41126 to pad to uint64_t for each field.
41127 (dl_tls_index): Replace unsigned long with uint64_t.
41128
3ff42526
PP
411292012-03-23 Daniel Jacobowitz <dmj@google.com>
41130 Paul Pluzhnikov <ppluzhnikov@google.com>
41131
41132 [BZ #6528]
41133 * grp/Makefile (otherlibs): Don't set it.
41134 * inet/Makefile (otherlibs): Likewise.
41135 * login/Makefile (otherlibs): Likewise.
41136 * nscd/Makefile (otherlibs): Likewise.
41137 * posix/Makefile (otherlibs): Likewise.
41138 * pwd/Makefile (otherlibs): Likewise.
41139 * rt/Makefile (otherlibs): Likewise.
41140 * sunrpc/Makefile (otherlibs): Likewise.
41141 * nss/Makefile (otherlibs): Likewise.
41142 Add libnss_files to routines and static-only-routines.
41143 ($(objpfx)getent): Remove rule.
41144 * resolv/Makefile: Add libnss_dns and libresolv to routines and
41145 static-only-routines.
41146
7c69cd14
JM
411472012-03-22 Joseph Myers <joseph@codesourcery.com>
41148
41149 [BZ #13892]
41150 * math/s_cexp.c: Include <float.h>.
41151 (__cexp): Handle exp result overflowing not necessarily
41152 overflowing both real and imaginary parts of result.
41153 * math/s_cexpf.c: Likewise.
41154 * math/s_cexpl.c: Likewise.
41155 * math/libm-test.inc (cexp_test): Add more tests.
41156 * sysdeps/i386/fpu/libm-test-ulps: Update.
41157 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41158
81b035fe
L
411592012-03-22 H.J. Lu <hongjiu.lu@intel.com>
41160
41161 * include/link.h (ELFW): New macro.
41162 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
41163 Replace ELF64_R_TYPE with ELFW(R_TYPE).
41164
1da7940c
L
411652012-03-22 H.J. Lu <hongjiu.lu@intel.com>
41166
41167 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
41168 with uint64_t.
41169
b749dbb9
L
411702012-03-22 H.J. Lu <hongjiu.lu@intel.com>
41171
41172 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
41173 declaration.
41174 (struct La_x32_retval): Likewise.
41175
2ff87f3f
L
411762012-03-22 H.J. Lu <hongjiu.lu@intel.com>
41177
41178 * sysdeps/x86_64/preconfigure.in: New file.
41179 * sysdeps/x86_64/preconfigure: New generated file.
41180
c0df8e69
JM
411812012-03-22 Joseph Myers <joseph@codesourcery.com>
41182
48e44791
JM
41183 [BZ #13824]
41184 * math/e_exp2l.c: Include <float.h>.
41185 (__ieee754_exp2l): Handle overflow and underflow cases
41186 separately. Only pass fractional part of argument to
41187 __ieee754_expl.
41188 * math/libm-test.inc (exp2_test): Add more tests.
41189
c0df8e69
JM
41190 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
41191 negating x to take absolute value.
41192 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
41193 Likewise.
41194 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
41195 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
41196 Likewise.
41197 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
41198 computing low part if x was negated.
41199 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
41200
c8e43ba7
L
412012012-03-21 H.J. Lu <hongjiu.lu@intel.com>
41202
41203 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
41204 la_x32_gnu_pltexit.
41205 (pltexit): Cast int_retval to ptrdiff_t.
41206 * elf/tst-auditmod3b.c: Likewise.
41207 * elf/tst-auditmod4b.c: Likewise.
41208 * elf/tst-auditmod5b.c: Likewise.
41209 * elf/tst-auditmod6b.c: Likewise.
41210 * elf/tst-auditmod6c.c: Likewise.
41211 * elf/tst-auditmod7b.c: Likewise.
41212
41213 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
41214 and x32_gnu_pltexit.
41215
41216 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
41217 __ELF_NATIVE_CLASS.
41218 (La_x32_regs): New macro.
41219 (La_x32_retval): Likewise.
41220 (la_x32_gnu_pltenter): New function prototype.
41221 (la_x32_gnu_pltexit): Likewise.
41222
7998fa78
AS
412232012-03-21 Andreas Schwab <schwab@linux-m68k.org>
41224
dcb33988
AS
41225 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
41226 exponent.
41227
233fc563
AS
41228 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41229
7998fa78
AS
41230 * configure.in (libc_cv_cc_nofma): Check for option to disable
41231 generation of FMA instructions.
41232 * configure: Regenerate.
41233 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
41234 * sysdeps/ieee754/dbl-64/Makefile: New file.
41235 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
41236 Remove brandred-fma4.
41237 (CFLAGS-brandred-fma4.c): Remove.
41238 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
41239 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
41240 define.
41241 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
41242 define.
41243
8e95c99a
L
412442012-03-21 H.J. Lu <hongjiu.lu@intel.com>
41245
41246 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
41247 LLONG_MAX != LONG_MAX.
41248 (_itoa_word): Use _ITOA_WORD_TYPE on value.
41249 (_fitoa_word): Likewise.
41250 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
41251 LLONG_MAX != LONG_MAX.
41252 * stdio-common/_itowa.h: Include <_itoa.h>.
41253 (_itowa_word): Use _ITOA_WORD_TYPE on value.
41254 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
41255 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
41256 only if not defined.
41257 (_ITOA_WORD_TYPE): Likewise.
41258 (_itoa_word): Use _ITOA_WORD_TYPE on value.
41259 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
41260
6f4db457
DM
412612012-03-21 David S. Miller <davem@davemloft.net>
41262
41263 * sysdeps/sparc/fpu/libm-test-ulps: Update.
41264
7785fe5a
L
412652012-03-21 H.J. Lu <hongjiu.lu@intel.com>
41266
41267 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
41268 of x86_64 when setting libc_cv_slibdir, libdir and
41269 libc_cv_localedir.
41270 * sysdeps/unix/sysv/linux/configure: Regenerated.
41271
4535cd55
JM
412722012-03-21 Joseph Myers <joseph@codesourcery.com>
41273
41274 * manual/lang.texi (Old Varargs): Remove section.
41275 (How Variadic): Update menu.
41276 (va_start): Do not mention varargs.h.
41277
17228132
TS
412782012-03-21 Thomas Schwinge <thomas@codesourcery.com>
41279 Joseph Myers <joseph@codesourcery.com>
41280
41281 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
41282 link test.
41283 * configure: Regenerated.
41284
8149f976
TS
412852012-03-21 Thomas Schwinge <thomas@codesourcery.com>
41286
05f3d1f6
UD
41287 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
41288 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
41289 conformtest.pl
8149f976 41290
1a4ac776
JM
412912012-03-21 Joseph Myers <joseph@codesourcery.com>
41292
be22ce65
JM
41293 * NOTES: Remove.
41294 * Makefile (files-for-dist): Remove NOTES.
41295 (NOTES): Remove rule.
41296 * README: Don't refer to NOTES.
41297 * manual/creature.texi: Don't include macros.texi.
41298 * manual/intro.texi (creature.texi): Remove comment referring to
41299 NOTES.
41300
40b601fb
JM
41301 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
41302 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
41303 * configure: Regenerated.
41304 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
41305 LIBC_TRY_CC_OPTION.
41306 (libc_cv_as_i686): Likewise.
41307 (libc_cv_cc_avx): Likewise.
41308 (libc_cv_cc_sse2avx): Likewise.
41309 (libc_cv_cc_fma4): Likewise.
41310 (libc_cv_cc_novzeroupper): Likewise.
41311 * sysdeps/i386/configure: Regenerated.
41312
1a4ac776
JM
41313 [BZ #13883]
41314 * sysdeps/i386/fpu/s_cexp.S: Remove.
41315 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
41316 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
41317 * math/libm-test.inc (cexp_test): Add more tests.
41318 * sysdeps/i386/fpu/libm-test-ulps: Update.
41319 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41320
a458e7fe
AM
413212012-03-21 Allan McRae <allan@archlinux.org>
41322
41323 * timezone/Makefile: Do not install iso3166.tab and zone.tab
41324
0cb7efc5
JM
413252012-03-21 Joseph Myers <joseph@codesourcery.com>
41326
41327 [BZ #13871]
41328 * math/w_exp2.c: Do not include <float.h>.
41329 (o_threshold, u_threshold): Remove.
41330 (__exp2): Calculate result before checking finiteness and calling
41331 __kernel_standard.
41332 * math/w_exp2f.c: Likewise.
41333 * math/w_exp2l.c: Likewise.
41334 * math/libm-test.inc (exp2_test): Require overflow exception for
41335 1e6 input.
2460d3aa
JM
41336
41337 [BZ #3866]
41338 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
41339 range of signed 64-bit integers before using fistpll. Remove
41340 checks for whether integers fit in mantissa bits.
41341 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
41342 the range of signed 32-bit integers before using fistpl. Remove
41343 checks for whether integers fit in mantissa bits.
41344 * sysdeps/i386/fpu/e_powl.S (p64): New object.
41345 (__ieee754_powl): Test for y outside the range of signed 64-bit
41346 integers before using fistpll. Reduce 64-bit values to 63-bit
41347 ones as needed.
41348 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
41349 divide-by-zero is raised for zero to large negative powers.
41350 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
41351 (__ieee754_powl): Test for y outside the range of signed 64-bit
41352 integers before using fistpll. Reduce 64-bit values to 63-bit
41353 ones as needed.
41354 * math/libm-test.inc (pow_test): Add more tests.
41355
eb96ffb0
L
413562012-03-20 H.J. Lu <hongjiu.lu@intel.com>
41357
41358 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
41359 <stdio-common/_itoa.h>.
41360 * debug/segfault.c: Likewise.
41361 * elf/dl-cache.c: Likewise.
41362 * elf/dl-minimal.c: Likewise.
41363 * elf/dl-misc.c: Likewise.
41364 * elf/dl-sysdep.c: Likewise.
41365 * elf/dl-version.c: Likewise.
41366 * elf/rtld.c: Likewise.
41367 * hurd/hurdsock.c: Likewise.
41368 * hurd/lookup-retry.c: Likewise.
41369 * malloc/malloc.c: Likewise.
41370 * malloc/mtrace.c: Likewise.
41371 * nscd/nscd_getgr_r.c: Likewise.
41372 * nscd/nscd_getpw_r.c: Likewise.
41373 * nscd/nscd_getserv_r.c: Likewise.
41374 * posix/getopt_init.c: Likewise.
41375 * posix/wordexp.c: Likewise.
41376 * stdio-common/_itoa.c: Likewise.
41377 * stdio-common/printf_fphex.c: Likewise.
41378 * stdio-common/vfprintf.c: Likewise.
41379 * string/_strerror.c: Likewise.
41380 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
41381 * sysdeps/i386/i686/hp-timing.h: Likewise.
41382 * sysdeps/mach/_strerror.c: Likewise.
41383 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
41384 * sysdeps/mach/hurd/sethostid.c: Likewise.
41385 * sysdeps/mach/hurd/xmknodat.c: Likewise.
41386 * sysdeps/mach/xpg-strerror.c: Likewise.
41387 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
41388 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
41389 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
41390 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
41391 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
41392 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
41393 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
41394 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
41395 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
41396 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
41397 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
41398 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
41399 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
41400 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
41401 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
41402 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
41403 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
41404 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
41405 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
41406 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
41407 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
41408
41409 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
41410
41411 * stdio-common/_itoa.h: Moved to ...
41412 * sysdeps/generic/_itoa.h: Here.
41413
41414 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
41415
41416 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
41417 instead of "_itoa.h" and "_itowa.h".
41418 * stdio-common/vfprintf.: Likewise.
41419
d1af992d
L
414202012-03-20 H.J. Lu <hongjiu.lu@intel.com>
41421
41422 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
41423 <bits/wordsize.h>.
41424 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
41425 (__signbit): Likwise.
41426 (llrintf): Likwise.
41427 (llrint): Likwise.
41428
114883e0
L
414292012-03-20 H.J. Lu <hongjiu.lu@intel.com>
41430
41431 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
41432 __WORDSIZE != 64.
41433
c135cc1b
JM
414342012-03-20 Joseph Myers <joseph@codesourcery.com>
41435
41436 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
41437 OVERFLOW_EXCEPTION_OK.
41438 * math/libm-test.inc ("Philosophy"): Update comment about
41439 exception testing.
41440 (OVERFLOW_EXCEPTION): Define.
41441 (OVERFLOW_EXCEPTION_OK): Likewise.
41442 (INVALID_EXCEPTION_OK): Renumber.
41443 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
41444 (IGNORE_ZERO_INF_SIGN): Likewise.
41445 (test_exceptions): Handle FE_OVERFLOW.
41446 (exp10_test): Expect overflow exceptions.
41447 (exp2_test): Likewise.
41448 (expm1_test): Likewise.
41449 (nextafter_test): Likewise.
41450 (pow_test): Likewise.
41451 (scalbn_test): Likewise.
41452 (scalbln_test): Likewise.
41453
95443d88
L
414542012-03-19 H.J. Lu <hongjiu.lu@intel.com>
41455
41456 * sysdeps/x86_64/bits/atomic.h
41457 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
41458 64bit integer.
41459 (atomic_exchange_acq): Likewise.
41460 (__arch_exchange_and_add_body): Likewise.
41461 (__arch_add_body): Likewise.
41462 (atomic_add_negative): Likewise.
41463 (atomic_add_zero): Likewise.
41464
490df6c4
L
414652012-03-19 H.J. Lu <hongjiu.lu@intel.com>
41466
c2722551 41467 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
41468 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
41469
5e52b189
L
414702012-03-19 H.J. Lu <hongjiu.lu@intel.com>
41471
41472 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
41473 Check __x86_64__ instead of __WORDSIZE.
41474
a9879d4c
L
414752012-03-19 H.J. Lu <hongjiu.lu@intel.com>
41476
41477 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
41478
5df98260
DM
414792012-03-19 David S. Miller <davem@davemloft.net>
41480
e1497744
DM
41481 * sysdeps/sparc/fpu/libm-test-ulps: Update.
41482
5df98260
DM
41483 * sysdeps/sparc/fpu/fenv_private.h: New file.
41484 * sysdeps/sparc/fpu/math_private.h: Use it.
41485 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
41486 Remove.
57f41c40 41487 (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
5df98260
DM
41488 (libc_feholdexcept_setroundl): Remove.
41489 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
41490 Remove.
41491 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
41492 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
41493
b4c35121
L
414942012-03-19 H.J. Lu <hongjiu.lu@intel.com>
41495
41496 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
41497 int64_t instead of long int.
41498 (INSERT_WORDS64): Likwise.
41499
56965fd7
L
415002012-03-19 H.J. Lu <hongjiu.lu@intel.com>
41501
41502 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
41503 _Unwind_GetCFA return to _Unwind_Ptr first.
41504
83d1aec8
JM
415052012-03-19 Joseph Myers <joseph@codesourcery.com>
41506
1897ad44
JM
41507 [BZ #13629]
41508 * math/s_clog.c: Include <float.h>.
41509 (__clog): Scale large or subnormal inputs.
41510 * math/s_clogf.c: Likewise.
41511 * math/s_clogl.c: Likewise.
41512 * math/s_clog10.c: Include <float.h>.
41513 (M_LOG10_2): Define.
41514 (__clog10): Scale large or subnormal inputs.
41515 * math/s_clog10f.c: Likewise.
41516 * math/s_clog10l.c: Likewise.
41517 * math/libm-test.inc (clog_test): Add more tests.
41518 (clog10_test): Likewise.
41519 * sysdeps/i386/fpu/libm-test-ulps: Update.
41520 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41521
7726d6a9
JM
41522 [BZ #11451]
41523 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
41524 x and y.
41525 * math/libm-test.inc (atan2_test): Add another test.
41526
83d1aec8
JM
41527 * Makerules (common-objdir-compile): Remove.
41528 * sysdeps/unix/Makefile (config-generated): Do not add
41529 $(unix-generated) to variable.
41530 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
41531 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
41532 Remove rule.
41533 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
41534 Likewise.
41535 [generic bits/local_lim.h] (before-compile): Do not append to
41536 variable.
41537 [generic bits/local_lim.h] (common-generated): Likewise.
41538 [generic sys/param.h] (before-compile): Do not append to variable.
41539 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
41540 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
41541 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
41542 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
41543 include.
41544 [generic sys/param.h] (sys/param.h-includes): Remove variable.
41545 [generic sys/param.h] (sys/param.h-includes): Remove rule.
41546 [generic sys/param.h] ($(addprefix
41547 $(common-objpfx),$(sys/param.h-includes))): Likewise.
41548 [generic sys/param.h] (common-generated): Do not append to
41549 variable.
41550 [generic sys/param.h] (sysdep_headers): Likewise.
41551 [generic bits/errno.h] (before-compile): Do not append to
41552 variable.
41553 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
41554 rule.
41555 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
41556 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
41557 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
41558 [generic bits/errno.h] (common-generated): Do not append to
41559 variable.
41560 [generic bits/ioctls.h] (before-compile): Do not append to
41561 variable.
41562 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
41563 rule.
41564 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
41565 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
41566 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
41567 rule.
41568 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
41569 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
41570 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
41571 [generic bits/ioctls.h] (common-generated): Do not append to
41572 variable.
41573 [generic sys/syscall.h] (syscall.h): Remove variable.
41574 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
41575 rule.
41576 [generic sys/syscall.h] (before-compile): Do not append to
41577 variable.
41578 [generic sys/syscall.h] (common-generated): Likewise.
41579 * sysdeps/unix/errnos-tmpl.c: Remove file.
41580 * sysdeps/unix/errnos.awk: Likewise.
41581 * sysdeps/unix/ioctls-tmpl.c: Likewise.
41582 * sysdeps/unix/ioctls.awk: Likewise.
41583 * sysdeps/unix/mk-local_lim.c: Likewise.
41584 * sysdeps/unix/snarf-ioctls: Likewise.
41585
4851a949
RH
415862012-03-19 Richard Henderson <rth@twiddle.net>
41587
bd37f2ee
RH
41588 * sysdeps/i386/fpu/fenv_private.h: New file.
41589 * sysdeps/i386/fpu/math_private.h: Use it.
41590 (math_opt_barrier, math_force_eval): Remove.
41591 (libc_feholdexcept_setround_53bit): Remove.
41592 (libc_feupdateenv_53bit): Remove.
41593 * sysdeps/x86_64/fpu/math_private.h: Likewise.
41594 (math_opt_barrier, math_force_eval): Remove.
41595 (libc_feholdexcept): Remove.
41596 (libc_feholdexcept_setround): Remove.
41597 (libc_fetestexcept, libc_fesetenv): Remove.
41598 (libc_feupdateenv_test): Remove.
41599 (libc_feupdateenv, libc_feholdsetround): Remove.
41600 (libc_feresetround): Remove.
41601
d0adc922
RH
41602 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
41603 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
41604
0fe0f1f8
RH
41605 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
41606 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
41607 (libc_feupdateenv_testl): New.
41608 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
41609 (libc_feupdateenv_testf): New.
41610 (libc_feupdateenv): Use libc_feupdateenv_test.
41611 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
41612 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
41613
eb92c487
RH
41614 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
41615 (libc_feholdsetroundf, libc_feholdsetroundl): New.
41616 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
41617 (libc_feresetround_noex): New.
41618 (libc_feresetround_noexf): New.
41619 (libc_feresetround_noexl): New.
41620 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
41621 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
41622 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
41623 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
41624 SET_RESTORE_ROUND.
41625 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
41626 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
41627 (__cos): Likewise.
41628 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
41629 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
41630 SET_RESTORE_ROUND_NOEX.
41631 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
41632 SET_RESTORE_ROUND_NOEXF.
41633 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
41634 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
41635 (libc_feholdsetroundf): New.
41636 (libc_feresetround, libc_feresetroundf): New.
41637
7d2e8012
RH
41638 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
41639 (libc_feholdexcept_setround_53bit): Convert from macro to function.
41640 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
41641
b4dabbb4
RH
41642 * sysdeps/generic/math_private.h: Include <fenv.h>.
41643 (default_libc_feholdexcept): New.
41644 (default_libc_feholdexcept_setround): New.
41645 (default_libc_fesetenv, default_libc_feupdateenv): New.
41646 (libc_feholdexcept): Only define if undefined.
41647 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
41648 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
41649 (libc_feholdexcept_setroundl): Likewise.
41650 (libc_feholdexcept_setround_53bit): Likewise.
41651 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
41652 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
41653 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
41654 (libc_feupdateenv_53bit): Likewise.
41655 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
41656 (libc_feholdexcept): Convert from macro to inline function.
41657 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
41658 (libc_fesetenv, libc_feupdateenv): Likewise.
41659
4851a949
RH
41660 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
41661 not previously defined.
41662 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
41663 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
41664 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
41665 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
41666 * sysdeps/ieee754/flt-32/math_private.h: New file.
41667 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
41668 math_private.h below SET_FLOAT_WORD.
41669 (__isnan, __isinf_ns, __finite): Remove.
41670 (__isnanf, __isinf_nsf, __finitef): Remove.
41671
e79d442e
AS
416722012-03-18 Andreas Schwab <schwab@linux-m68k.org>
41673
41674 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41675
90b80344
DM
416762012-03-17 David S. Miller <davem@davemloft.net>
41677
41678 [BZ #6471]
41679 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
41680 for 2.16.
41681
edc21804
DM
416822012-03-16 David S. Miller <davem@davemloft.net>
41683
77e927af
DM
41684 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
41685 warnings.
41686
374976dd
DM
41687 [BZ #6471]
41688 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
41689 properly.
41690 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
41691 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
41692 sysdep_routines when subdir is sysvipc.
41693 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
41694 __getshmlba helper.
41695
edc21804
DM
41696 * sysdeps/sparc/fpu/libm-test/ulps: Update.
41697
473c3ef3
L
416982012-03-16 H.J. Lu <hongjiu.lu@intel.com>
41699
41700 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
41701 [__LP64__].
41702
eb0f39b6
L
417032012-03-16 H.J. Lu <hongjiu.lu@intel.com>
41704
41705 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
41706 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
41707 (__lround): Renamed to ...
41708 (__llround): This. Replace long int with long long int.
41709 Define lround functions as aliases of llround functions.
41710 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
41711
6b6cd74b
L
417122012-03-16 H.J. Lu <hongjiu.lu@intel.com>
41713
41714 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
41715 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
41716 adresses to uintptr_t. Replace "long int" and "unsigned long
41717 int" with "greg_t" on va_arg.
41718
f1a77b01
L
417192012-03-16 H.J. Lu <hongjiu.lu@intel.com>
41720
41721 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
41722 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
41723
41724 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
41725 Move e_machine check before EI_CLASS check. Handle x32
41726 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
41727 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
41728 SKIP_EM_IA_64 and include
41729 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
41730
41731 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
41732 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
41733 (add_system_dir): New macro.
41734
41735 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
41736 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
41737
11b90b9f
JM
417382012-03-16 Joseph Myers <joseph@codesourcery.com>
41739
c36e1d23
JM
41740 [BZ #2551]
41741 [BZ #2552]
41742 [BZ #2553]
41743 [BZ #2554]
41744 [BZ #2562]
41745 [BZ #2563]
41746 [BZ #2565]
41747 [BZ #2566]
41748 [BZ #2576]
41749 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
41750 (y0): Likewise.
41751 * math/w_j0f.c (j0f): Likewise.
41752 (y0f): Likewise.
41753 * math/w_j0l.c (__j0l): Likewise.
41754 (__y0l): Likewise.
41755 * math/w_j1.c (j1): Likewise.
41756 (y1): Likewise.
41757 * math/w_j1f.c (j1f): Likewise.
41758 (y1f): Likewise.
41759 * math/w_j1l.c (__j1l): Likewise.
41760 (__y1l): Likewise.
41761 * math/w_jn.c (jn): Likewise.
41762 (yn): Likewise.
41763 * math/w_jnf.c (jnf): Likewise.
41764 (ynf): Likewise.
41765 * math/w_jnl.c (__jnl): Likewise.
41766 (__ynl): Likewise.
41767 * math/libm-test.inc (j0_test): Add more tests.
41768 (j1_test): Likewise.
41769 (jn_test): Likewise. Add trailing semicolon to existing test.
41770 (y0_test): Likewise.
41771 (y1_test): Likewise.
41772 * sysdeps/i386/fpu/libm-test-ulps: Update.
41773 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41774
11b90b9f
JM
41775 [BZ #13851]
41776 [BZ #13854]
41777 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
41778 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
41779 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
41780 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
41781 (__tanl): Set errno for infinite argument.
41782 * sysdeps/i386/fpu/mptan.c: Remove.
41783 * sysdeps/i386/fpu/s_tan.S: Likewise.
41784 * sysdeps/i386/fpu/s_tanl.S: Likewise.
41785 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
41786 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
41787 * math/libm-test.inc (tan_test): Add more tests and enable more
41788 tests for double and long double.
41789 * sysdeps/i386/fpu/libm-test-ulps: Update.
41790 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41791
6a1bd2a1
JK
417922012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
41793
41794 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
41795 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
41796
10a803e0
RM
417972012-03-16 Roland McGrath <roland@hack.frob.com>
41798
41799 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
41800 * configure.in: Use it for both main tree and add-ons.
41801 * configure: Regenerated.
41802
f196c7f7
L
418032012-03-16 H.J. Lu <hongjiu.lu@intel.com>
41804
41805 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
41806
8848d99d
JM
418072012-03-16 Joseph Myers <joseph@codesourcery.com>
41808
96cbe7f4
JM
41809 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
41810 in comment.
41811
8848d99d
JM
41812 [BZ #13851]
41813 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
41814 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
41815 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
41816 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
41817 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
41818 infinite argument.
41819 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
41820 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
41821 != 0 for prec == 2.
41822 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
41823 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
41824 * sysdeps/i386/fpu/s_cosl.S: Likewise.
41825 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
41826 * sysdeps/i386/fpu/s_sinl.S: Likewise.
41827 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
41828 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
41829 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
41830 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
41831 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
41832 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
41833 * math/libm-test.inc (cos_test): Add more tests and enable more
41834 tests for long double.
41835 (sin_test): Likewise.
41836 (sincos_test): Likewise.
41837 * sysdeps/i386/fpu/libm-test-ulps: Update.
41838 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41839
dd7f4703
DM
418402012-03-16 David S. Miller <davem@davemloft.net>
41841
41842 * sysdeps/sparc/fpu/math_private.h: New file.
41843
006f1daa
DM
418442012-03-15 David S. Miller <davem@davemloft.net>
41845
c0c83bc8
DM
41846 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
41847 file.
e6a62e18 41848 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
41849 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
41850 file.
e6a62e18
DM
41851 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
41852 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
41853 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
41854 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
41855 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
41856 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
41857 sysdep routines.
41858 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
41859
88cb87d9
DM
41860 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
41861 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
41862
006f1daa 41863 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
41864 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
41865 sparc-ifunc.h
006f1daa 41866 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
41867 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
41868 Likewise.
41869 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
41870 Likewise.
006f1daa
DM
41871 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
41872 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
41873 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
41874 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
41875 Likewise.
006f1daa
DM
41876 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
41877 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
41878 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
41879 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
41880 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
41881 Likewise.
41882 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
41883 Likewise.
006f1daa
DM
41884 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
41885 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
41886 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
41887 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
41888 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
41889 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
41890 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
41891 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
41892 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
41893 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
41894 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
41895 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
41896 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
41897 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
41898 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
41899 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
41900 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
41901 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
41902 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
41903 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
41904 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
41905 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
41906 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
41907 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
41908
11e0098e
AS
419092012-03-15 Andreas Schwab <schwab@linux-m68k.org>
41910
41911 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
41912 scaling.
41913 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41914
e85b09d0
AJ
419152012-03-15 Andreas Jaeger <aj@suse.de>
41916
41917 [BZ #13852]
41918 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
41919 ieee754/flt-32 implementation for sin, cos and sincos.
41920 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
41921 * sysdeps/i386/fpu/s_cosf.S: Likewise.
41922 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
41923 * sysdeps/i386/fpu/s_sinf.S: Likewise.
41924 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
41925 ieee754/flt-32 implementation for tan.
41926
41927 * math/libm-test.inc (cos_test): Enable some large input tests for
41928 float as well
41929 (sin_test): Likewise.
41930 (sincos_test): Likewise.
41931 (tan_test): Add tests for large input.
41932
41933 * sysdeps/i386/fpu/libm-test-ulps: Update.
41934
81c64153
AJ
419352012-03-15 Andreas Jaeger <aj@suse.de>
41936
41937 [BZ #13658]
41938 * math/libm-test.inc (cos_test): Add more test cases.
41939 (sin_test): Likewise.
41940 (sincos_test): Likewise.
41941
7bbfa5c6
AJ
419422012-03-15 Andreas Jaeger <aj@suse.de>
41943
41944 [BZ #13837]
41945 * math/libm-test.inc (cos_test): Add a test case for large input
41946 value.
41947 (sin_test): Likewise.
41948 (sincos_test): Likewise.
41949
57f41c40
AS
419502012-03-15 Andreas Jaeger <aj@suse.de>
41951 Joseph Myers <joseph@codesourcery.com>
7bbfa5c6
AJ
41952
41953 [BZ #13658]
0671f479 41954 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
41955 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
41956 * sysdeps/i386/fpu/branred.c: Likewise.
41957 * sysdeps/i386/fpu/dosincos.c: Likewise.
41958 * sysdeps/i386/fpu/mpa.c: Likewise.
41959 * sysdeps/i386/fpu/s_cos.S: Likewise.
41960 * sysdeps/i386/fpu/s_sin.S: Likewise.
41961 * sysdeps/i386/fpu/s_sincos.S: Likewise.
41962 * sysdeps/i386/fpu/sincos32.c: Likewise.
41963
41964 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
41965 Define.
41966 (libc_feupdateenv_53bit): Define.
41967 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
41968 Define.
41969 (libc_feupdateenv_53bit): Define.
41970
41971 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
41972 53 bit (without extend i386 double precision).
41973
41974 * math/libm-test.inc (sincos_test): Add tests for large input.
41975 (sin): Likewise.
41976 (cos): Likewise.
41977
41978 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
41979
9cad04ea
AS
419802012-03-15 Andreas Schwab <schwab@linux-m68k.org>
41981
41982 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41983
f7062b9a
DM
419842012-03-15 David S. Miller <davem@davemloft.net>
41985
41986 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
41987 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
41988 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
41989 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
41990 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
41991 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
41992 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
41993 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
41994 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
41995 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
41996 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
41997 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
41998 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
41999 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
42000 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
42001 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
42002 file.
f7062b9a 42003 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
42004 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
42005 file.
f7062b9a 42006 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
42007 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
42008 file.
f7062b9a 42009 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
42010 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
42011 file.
f7062b9a
DM
42012 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
42013 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
42014 fmin/fmax sysdep routines.
42015 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
42016
7bd951ff
DM
420172012-03-14 David S. Miller <davem@davemloft.net>
42018
559398ab
DM
42019 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
42020 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
42021 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
42022 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
42023 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
42024 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
42025 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
42026 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
42027 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
42028 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
42029 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
42030 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
42031 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
42032 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
42033 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
42034 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
42035 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
42036 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
42037 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
42038 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
42039 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
42040 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
42041 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
42042 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
42043 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
42044 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
42045 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
42046 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
42047 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
42048 routines.
42049 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
42050 file.
559398ab 42051 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
42052 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
42053 file.
559398ab 42054 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
42055 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
42056 file.
559398ab 42057 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
42058 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
42059 file.
559398ab 42060 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
42061 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
42062 file.
559398ab 42063 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
42064 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
42065 file.
42066 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
42067 file.
42068 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
42069 file.
42070 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
42071 file.
42072 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
42073 New file.
42074 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
42075 file.
42076 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
42077 file.
559398ab 42078 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
42079 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
42080 file.
559398ab 42081 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
42082 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
42083 file.
559398ab 42084 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
42085 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
42086 file.
559398ab 42087 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
42088 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
42089 VIS3 routines.
559398ab
DM
42090
42091 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
42092 New file.
42093
5a1c1e32
DM
42094 * sysdeps/sparc/fpu/libm-test-ulps: Update.
42095
eae47a36
DM
42096 * sysdeps/sparc/configure.in: New file.
42097 * sysdeps/sparc/configure: Generate.
42098 * configure.in (libc_cv_sparc_as_vis3): Substitute.
42099 * configure: Regenerate.
42100 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
42101 * config.make.in (have-as-vis3): New.
42102 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
42103 available use -Av9d instead of -Av9a.
42104 * sysdeps/sparc/sparc64/Makefile: Likewise.
42105 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
42106 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
42107 New file.
42108 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
42109 file.
42110 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
42111 New file.
42112 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
42113 file.
eae47a36
DM
42114 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
42115 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
42116 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
42117 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
42118 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
42119
c0c83bc8
DM
42120 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
42121 fzeros/fnegs to load 0x80000000 into a float register instead of
42122 using the stack.
7bd951ff
DM
42123 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
42124
bd951ccb
JM
421252012-03-14 Joseph Myers <joseph@codesourcery.com>
42126
42127 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
42128 bits/syscall.h.
42129 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
42130 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
42131 ($(inst_includedir)/bits/syscall.h): Remove rule.
42132 ($(objpfx)bits/syscall.d): Include instead of
42133 $(objpfx)syscall-list.d.
42134 (generated): Change syscall-list.h and syscall-list.d to
42135 bits/syscall.h and bits/syscall.d.
42136
bb4e6db2
RM
421372012-03-14 Roland McGrath <roland@hack.frob.com>
42138
42139 [BZ #13846]
42140 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
42141
aa4a2ae1
JM
421422012-03-14 Joseph Myers <joseph@codesourcery.com>
42143
e456826d
JM
42144 [BZ #13841]
42145 * math/s_csqrt.c: Include <float.h>.
42146 (__csqrt): Scale large or subnormal inputs.
42147 * math/s_csqrtf.c: Likewise.
42148 * math/s_csqrtl.c: Likewise.
42149 * math/libm-test.inc (csqrt_test): Add more tests.
42150 * sysdeps/i386/fpu/libm-test-ulps: Update.
42151 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42152
aa4a2ae1
JM
42153 [BZ #13840]
42154 * math/libm-test.inc (hypot_test): Add more tests.
42155
7c10fd35
DM
421562012-03-13 David S. Miller <davem@davemloft.net>
42157
42158 [BZ #13840]
42159 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
42160 double-precision for the calculation instead of scaling.
42161
f453b98b
JM
421622012-03-13 Joseph Myers <joseph@codesourcery.com>
42163
42164 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
42165 manipulate bits before adding and subtracting TWO52[sx].
42166 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
42167 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
42168 Likewise.
42169 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
42170
09a3453f
DM
421712012-03-13 David S. Miller <davem@davemloft.net>
42172
8e59da90
DM
42173 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
42174 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
42175 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
42176 rtld-global-offsets.h
42177 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
42178
2a8ab7f2
DM
42179 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
42180 large parameters.
42181
10f62770
DM
42182 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
42183
5f0bdb18
DM
42184 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
42185 'err' in the ifdef scope in which it is actually used.
42186
09a3453f
DM
42187 * nss/nss_db/db-init.c: Include string.h
42188
b4b2eb5e
DM
421892012-03-12 David S. Miller <davem@davemloft.net>
42190
98bb2f1c
DM
42191 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
42192 masking out of the most significant byte of random value used.
42193 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
42194 Fix coding style in previous change.
42195
b4b2eb5e
DM
42196 * sysdeps/unix/sysv/linux/kernel-features.h
42197 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
42198 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
42199 expression.
42200 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
42201 later.
42202
6e226b09
DM
422032012-03-11 David S. Miller <davem@davemloft.net>
42204
a1bcbd40
DM
42205 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
42206 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
42207 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
42208 for 'resultvar' otherwise things get truncated on 64-bit.
42209
cb9d6174
DM
42210 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
42211 Fix masking out of the most significant byte of random value used.
42212
6e226b09
DM
42213 * sysdeps/sparc/fpu/libm-test-ulps: Update.
42214
058c132d
AS
422152012-03-10 Andreas Schwab <schwab@linux-m68k.org>
42216
42217 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42218
2d2cd515
DM
422192012-03-09 David S. Miller <davem@davemloft.net>
42220
42221 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
42222 variables with appropriate CPP guards.
57f41c40
AS
42223 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
42224 from the frame pointer, not the stack pointer. Correct layout
42225 comments. Fix test on resulting framesize and the management of
42226 the outregs buffer for pltexit. Preserve floating point return
42227 values across _dl_call_pltexit call.
2d2cd515
DM
42228 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
42229 framesize and the management of the outregs buffer for pltexit.
42230 Preserve floating point return values across _dl_call_pltexit
42231 call.
57f41c40
AS
42232 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
42233 (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
42234 (la_sparc64_gnu_pltexit): New functions.
2d2cd515
DM
42235 (print_exit): Fix format string for return register value.
42236
9a07f9d0
JM
422372012-03-10 Joseph Myers <joseph@codesourcery.com>
42238
42239 * sunrpc/Makefile (others): Add rpcgen.
42240 ($(objpfx)rpcgen): Remove special build rule and dependency on
42241 libc.
42242 * sunrpc/rpcgen.c: New file.
42243
547b5e30
PE
422442012-03-09 Paul Eggert <eggert@cs.ucla.edu>
42245
c524201a
PE
42246 [BZ #13673]
42247 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
42248 * stdio-common/bug-vfprintf-nargs.c: Likewise.
42249 * sysdeps/i386/crti.S: Likewise.
42250 * sysdeps/i386/crtn.S: Likewise.
42251 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
42252 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
42253 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
42254 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
42255 * sysdeps/sh/crti.S: Likewise.
42256 * sysdeps/sh/crtn.S: Likewise.
42257 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
42258
7b6235f2
PE
42259 [BZ #13673]
42260 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
42261 with URL.
42262 * locale/programs/locfile-kw.gperf: Likewise.
42263 * locale/programs/charmap-kw.h: Regenerated.
42264 * locale/programs/locfile-kw.h: Likewise.
42265
547b5e30
PE
42266 [BZ #13673]
42267 * intl/plural.y: Replace FSF snail mail address with URL.
42268 * intl/plural.c: Regenerated.
42269
5f0a5dae
RH
422702012-03-09 Richard Henderson <rth@twiddle.net>
42271
42272 * include/math_private.h: Remove file.
42273 * math/math_private.h: Move file ...
42274 * sysdeps/generic/math_private.h: ... here.
42275
b8c03620
RH
42276 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
42277 * sysdeps/powerpc/fpu/math_private.h: Likewise.
42278 * sysdeps/x86_64/fpu/math_private.h: Likewise.
42279
4e234f5d 42280 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
42281 and <math_private.h>.
42282 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
42283 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
42284 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
42285 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
42286 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
42287 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
42288 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
42289 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
42290 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
42291 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
42292 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
42293 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
42294 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
42295 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
42296 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
42297 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
42298 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
42299 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
42300 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
42301 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
42302 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
42303 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
42304 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
42305 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
42306 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
42307 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
42308 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
42309 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
42310 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
42311 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
42312 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
42313 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
42314 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
42315 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
42316 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
42317 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
42318 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
42319 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
42320 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
42321 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
42322 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
42323 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
42324 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
42325 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
42326 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
42327 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
42328 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
42329 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
42330 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
42331 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
42332 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
42333 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
42334 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
42335 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
42336 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
42337 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
42338 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
42339 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
42340 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
42341 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
42342 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
42343 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
42344 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
42345 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
42346 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
42347 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
42348 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
42349 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
42350 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
42351 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
42352 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
42353 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
42354 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
42355 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
42356 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
42357 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
42358 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
42359 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
42360 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
42361 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
42362 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
42363 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
42364 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
42365 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
42366 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
42367 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
42368 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
42369 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
42370 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
42371 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
42372 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
42373 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
42374 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
42375 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
42376 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
42377 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
42378 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
42379 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
42380 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
42381 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
42382 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
42383 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
42384 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
42385 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
42386 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
42387 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
42388 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
42389 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
42390 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
42391 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
42392 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
42393 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
42394 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
42395 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
42396 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
42397 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
42398 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
42399 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
42400 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
42401 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
42402 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
42403 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
42404 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
42405 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
42406 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
42407 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
42408 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
42409 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
42410 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
42411 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
42412 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
42413 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
42414 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
42415 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
42416 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
42417 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
42418 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
42419 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
42420 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
42421 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
42422 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
42423 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
42424 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
42425 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
42426 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
42427 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
42428 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
42429 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
42430 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
42431 * sysdeps/ieee754/k_standard.c: Likewise.
42432 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
42433 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
42434 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
42435 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
42436 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
42437 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
42438 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
42439 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
42440 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
42441 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
42442 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
42443 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
42444 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
42445 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
42446 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
42447 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
42448 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
42449 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
42450 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
42451 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
42452 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
42453 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
42454 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
42455 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
42456 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
42457 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
42458 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
42459 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
42460 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
42461 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
42462 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
42463 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
42464 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
42465 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
42466 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
42467 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
42468 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
42469 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
42470 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
42471 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
42472 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
42473 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
42474 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
42475 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
42476 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
42477 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
42478 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
42479 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
42480 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
42481 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
42482 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
42483 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
42484 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
42485 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
42486 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
42487 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
42488 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
42489 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
42490 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
42491 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
42492 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
42493 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
42494 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
42495 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
42496 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
42497 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
42498 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
42499 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
42500 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
42501 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
42502 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
42503 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
42504 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
42505 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
42506 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
42507 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
42508 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
42509 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
42510 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
42511 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
42512 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
42513 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
42514 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
42515 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
42516 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
42517 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
42518 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
42519 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
42520 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
42521 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
42522 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
42523 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
42524 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
42525 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
42526 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
42527 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
42528 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
42529 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
42530 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
42531 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
42532 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
42533 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
42534 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
42535 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
42536 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
42537 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
42538 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
42539 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
42540 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
42541 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
42542 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
42543 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
42544 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
42545 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
42546 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
42547 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
42548 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
42549 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
42550 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
42551 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
42552 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
42553 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
42554 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
42555 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
42556 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
42557 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
42558 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
42559 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
42560 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
42561 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
42562 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
42563 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
42564 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
42565 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
42566 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
42567 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
42568 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
42569 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
42570 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
42571 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
42572 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
42573 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
42574 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
42575 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
42576 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
42577 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
42578 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
42579 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
42580 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
42581 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
42582 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
42583 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
42584 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
42585 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
42586 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
42587 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
42588 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
42589 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
42590 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
42591 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
42592 * sysdeps/ieee754/s_lib_version.c: Likewise.
42593 * sysdeps/ieee754/s_matherr.c: Likewise.
42594 * sysdeps/ieee754/s_signgam.c: Likewise.
42595 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
42596 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
42597 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
42598 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
42599 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
42600 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
42601 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
42602 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
42603 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
42604 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
42605 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
42606 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
42607 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
42608 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
42609 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
42610 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
42611 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
42612 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
42613 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
42614 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
42615 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 42616
1991fa03
JM
426172012-03-09 Joseph Myers <joseph@codesourcery.com>
42618
42619 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
42620 * sunrpc/rpc_main.c: Likewise.
42621 * sunrpc/rpc_svcout.c: Likewise.
42622
60d6f5a6
DM
426232012-03-09 David S. Miller <davem@davemloft.net>
42624
42625 * include/math_private.h: New file.
42626
4962050e
JM
426272012-03-09 Joseph Myers <joseph@codesourcery.com>
42628
02a6f887
JM
42629 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
42630 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
42631 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
42632 from <bits/socket_type.h>.
42633 (enum __socket_type): Don't define here.
42634 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
42635 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
42636 bits/socket_type.h.
42637
c6e013c1
JM
42638 [BZ #13566]
42639 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
42640 checking __USE_GNU.
42641
4962050e
JM
42642 * Makerules ($(inst_includedir)/%.h): New rule.
42643 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
42644 (install-others): Remove variable setting.
42645 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
42646
38842f45
RH
426472012-03-08 Richard Henderson <rth@twiddle.net>
42648
67bb6da6
RH
42649 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
42650 from macro to inline function; merge with the
42651 !__LIBC_INTERNAL_MATH_INLINES version.
42652 (__ieee754_sqrtf): Likewise.
42653
15194b4b
RH
42654 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
42655 to inline function.
42656 (__rintf, __floor, __floorf): Likewise.
42657
64e21ede
RH
42658 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
42659 macro to inline function.
42660 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
42661
38842f45
RH
42662 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
42663 not <math/math_private.h>.
42664
c64bf5fe
DM
426652012-03-08 David S. Miller <davem@davemloft.net>
42666
42667 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
42668 copyright year.
42669 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
42670
82d86f28
TS
426712012-03-08 Thomas Schwinge <thomas@codesourcery.com>
42672
42673 * resolv/gai_misc.c (handle_requests): Fix struct timespec
42674 normalization.
42675 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
42676 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
42677
aea5d727
UD
426782012-03-08 Ulrich Drepper <drepper@gmail.com>
42679
42680 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
42681 be defined individually, they must be defined as a block. Define
42682 S for printing a string instead of hidint the different by using a
42683 macro for adding the 'l'.
42684 * stdio-common/tst-fphex-wide.c: Adjust.
42685
70bca0a3
MP
426862012-03-07 Marek Polacek <polacek@redhat.com>
42687
42688 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
42689
65b81130
MP
426902012-03-08 Marek Polacek <polacek@redhat.com>
42691
42692 [BZ #13806]
42693 * stdio-common/Makefile (tests): Add tst-fphex-wide.
42694 * stdio-common/tst-fphex.c: Define a few macros to make the
42695 test reusable. Use them.
42696 * stdio-common/tst-fphex-wide.c: New file.
42697
07037eeb
JM
426982012-03-08 Joseph Myers <joseph@codesourcery.com>
42699
a7a93d50
JM
42700 [BZ #6911]
42701 * manual/macros.texi (gnusystems): New macro.
42702 (nongnusystems): Likewise.
42703 (gnulinuxhurdsystems): Likewise.
42704 (gnuhurdsystems): Likewise..
42705 (gnulinuxsystems): Likewise.
42706 * manual/charset.texi: Use new macros or @theglibc{} to refer to
42707 variants of the GNU system, not "GNU system".
42708 * manual/conf.texi: Likewise.
42709 * manual/errno.texi: Likewise. Update example of errno macro
42710 expansion.
42711 * manual/filesys.texi: Likewise.
42712 (getumask): Document as specific to GNU/Hurd.
42713 * manual/install.texi: Likewise. Reword some references to
42714 GNU/Linux.
42715 * manual/intro.texi: Likewise.
42716 * manual/io.texi: Likewise.
42717 (File Name Portability): Detail which constraints are inapplicable
42718 to all GNU systems and which are only inapplicable to GNU/Hurd.
42719 * manual/job.texi: Likewise.
42720 * manual/llio.texi: Likewise.
42721 (O_NOCTTY): Document as present on GNU/Linux.
42722 * manual/maint.texi: Likewise.
42723 * manual/memory.texi: Likewise.
42724 * manual/pattern.texi: Likewise.
42725 * manual/pipe.texi: Likewise.
42726 * manual/process.texi: Likewise.
42727 * manual/resource.texi: Likewise.
42728 (RUSAGE_CHILDREN): Remove statement about specifying a particular
42729 child on GNU/Hurd.
42730 * manual/setjmp.texi: Likewise.
42731 * manual/signal.texi: Likewise.
42732 * manual/startup.texi: Likewise.
42733 * manual/stdio.texi: Likewise.
42734 * manual/terminal.texi: Likewise.
42735 (ONLCR): Document as POSIX.
42736 (OXTABS): Document availability on GNU/Linux as XTABS.
42737 (ONOEOT): Document availability separately from other bits.
42738 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
42739 * manual/time.texi: Likewise.
42740 * manual/users.texi: Likewise.
42741 * INSTALL: Regenerated.
42742 * sysdeps/gnu/errlist.c: Regenerated.
42743
07037eeb
JM
42744 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
42745 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
42746 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
42747 puts.
42748 * configure: Regenerated.
42749
d1d3431a
JM
427502012-03-07 Joseph Myers <joseph@codesourcery.com>
42751
af6a1e37
JM
42752 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
42753 default includes instead of AC_HEADER_CHECK.
42754 * sysdeps/i386/configure: Regenerated.
42755
d1d3431a
JM
42756 [BZ #10716]
42757 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
42758 * math/s_cacoshf.c (__cacoshf): Likewise.
42759 * math/s_cacoshl.c (__cacoshl): Likewise.
42760 * math/s_casinh.c (__casinh): Set signs of result from argument.
42761 * math/s_casinhf.c (__casinhf): Likewise.
42762 * math/s_casinhl.c (__casinhl): Likewise.
42763 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
42764 (casinh_test): Add more tests.
42765 * sysdeps/i386/fpu/libm-test-ulps: Update.
42766 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42767
482ff4da
UD
427682012-03-07 Ulrich Drepper <drepper@gmail.com>
42769
872fda05
UD
42770 * po/zh_TW.po: Update from translation team.
42771
a4300c7a
UD
42772 * login/Makefile (distribute): Remove variable.
42773 * catgets/Makefile: Likewise.
42774 * mach/Makefile: Likewise.
42775 * malloc/Makefile: Likewise.
42776 * misc/Makefile: Likewise.
42777 * iconv/Makefile: Likewise.
42778 * nscd/Makefile: Likewise.
42779 * hurd/Makefile: Likewise.
42780 * manual/Makefile: Likewise.
42781 * locale/Makefile: Likewise.
42782 * intl/Makefile: Likewise.
42783 * conform/Makefile: Likewise.
42784 * nss/Makefile: Likewise.
42785 * time/Makefile: Likewise.
42786 * soft-fp/Makefile: Likewise.
42787 * dirent/Makefile: Likewise.
42788 * gmon/Makefile: Likewise.
42789 * po/Makefile: Likewise.
42790 * rt/Makefile: Likewise.
42791 * socket/Makefile: Likewise.
42792 * math/Makefile: Likewise.
42793 * signal/Makefile: Likewise.
42794 * debug/Makefile: Likewise.
42795 * elf/Makefile: Likewise.
42796 * timezone/Makefile: Likewise.
42797 * stdlib/Makefile: Likewise.
42798 * iconvdata/Makefile: Likewise.
42799 * sunrpc/Makefile: Likewise.
42800 * io/Makefile: Likewise.
42801 * argp/Makefile: Likewise.
42802 * inet/Makefile: Likewise.
42803 * hesiod/Makefile: Likewise.
42804 * grp/Makefile: Likewise.
42805 * csu/Makefile: Likewise.
42806 * wctype/Makefile: Likewise.
42807 * crypt/Makefile: Likewise.
42808 * libio/Makefile: Likewise.
42809 * string/Makefile: Likewise.
42810 * nis/Makefile: Likewise.
42811 * resolv/Makefile: Likewise.
42812 * stdio-common/Makefile: Likewise.
42813 * wcsmbs/Makefile: Likewise.
42814 * dlfcn/Makefile: Likewise.
42815 * posix/Makefile: Likewise.
42816
3b7c4e74 42817 [BZ #6959]
482ff4da
UD
42818 * timezone/Makefile: Don't install timezone files, just the programs
42819 and scripts.
42820
f72ed77d
UD
428212012-03-06 Ulrich Drepper <drepper@gmail.com>
42822
a000466f
UD
42823 * nss/databases.def: Add missing gshadow entry.
42824
f72ed77d
UD
42825 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
42826
a53b7a4e
MP
428272012-03-06 Marek Polacek <polacek@redhat.com>
42828
42829 [BZ #13726]
42830 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
42831 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
42832 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
42833 * stdio-common/tst-long-dbl-fphex.c: New file.
42834
e9258400
DM
428352012-03-06 David S. Miller <davem@davemloft.net>
42836
42837 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
42838 (set_obp_int): New function.
42839 (get_obp_int): New function.
42840 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
42841 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
42842 Avoid unused variable warnings on 'val' and use builtin_expect.
42843 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
42844 __builtin_expect.
e9258400
DM
42845 (INLINE_CLONE_SYSCALL): Likewise.
42846
3bd2c723
DM
428472012-03-05 David S. Miller <davem@davemloft.net>
42848
42849 * sysdeps/sparc/fpu/libm-test-ulps: Update.
42850
bbb78d03
AS
428512012-03-05 Andreas Schwab <schwab@linux-m68k.org>
42852
884c5db4
AS
42853 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42854
bbb78d03
AS
42855 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
42856 only for |x| >= 40.
42857 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
42858
1c9f702a 428592012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
42860
42861 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
42862 Replace gettimeofday with __vdso_gettimeofday.
42863
7be16f82
RM
42864 * sysdeps/unix/sysv/linux/x86_64/init-first.c
42865 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
42866 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
42867
42868 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
42869 time with __vdso_time.
42870
ed58a00f
JM
428712012-03-05 Joseph Myers <joseph@codesourcery.com>
42872
42873 * manual/lang.texi (size_t): Note types to which size_t may be
42874 equivalent with the GNU C Library, but do not describe when
42875 differences between them are significant.
42876
30ee4ced
AJ
428772012-03-05 Andreas Jaeger <aj@suse.de>
42878
42879 * sysdeps/i386/fpu/libm-test-ulps: Update.
42880
b7cd39e8
JM
428812012-03-05 Joseph Myers <joseph@codesourcery.com>
42882
42883 [BZ #3976]
42884 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
42885 (__ieee754_pow): Save and restore rounding mode and use
42886 round-to-nearest for main computations.
42887 * math/libm-test.inc (pow_test_tonearest): New function.
42888 (pow_test_towardzero): Likewise.
42889 (pow_test_downward): Likewise.
42890 (pow_test_upward): Likewise.
42891 (main): Call the new functions.
42892 * sysdeps/i386/fpu/libm-test-ulps: Update.
42893 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
42894
42895 [BZ #3976]
42896 * math/libm-test.inc (cosh_test_tonearest): New function.
42897 (cosh_test_towardzero): Likewise.
42898 (cosh_test_downward): Likewise.
42899 (cosh_test_upward): Likewise.
42900 (sinh_test_tonearest): Likewise.
42901 (sinh_test_towardzero): Likewise.
42902 (sinh_test_downward): Likewise.
42903 (sinh_test_upward): Likewise.
42904 (main): Call the new functions.
42905 * sysdeps/i386/fpu/libm-test-ulps: Update.
42906 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42907
6c6a98c9
TV
429082012-03-05 Tom de Vries <tom@codesourcery.com>
42909
42910 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
42911 default stack guard is set in last bytes.
42912 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
42913
21bb2d2e 429142012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 42915
21bb2d2e 42916 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 42917
21bb2d2e
AJ
42918 [BZ #13656]
42919 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
42920 possibly allocate from heap instead of stack.
42921 * stdio-common/bug-vfprintf-nargs.c: New file.
42922 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 42923
c6922934
AS
429242012-03-03 Andreas Schwab <schwab@linux-m68k.org>
42925
42926 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42927
bc957d53
MP
429282012-03-03 Marek Polacek <polacek@redhat.com>
42929
42930 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
42931 * math/math_private.h: Likewise.
42932 * stdlib/tst-strtod.c: Likewise.
42933 * sysdeps/i386/i486/bits/atomic.h: Likewise.
42934 * sysdeps/x86_64/bits/atomic.h: Likewise.
42935
6358490d
DM
429362012-03-02 David S. Miller <davem@davemloft.net>
42937
42938 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
42939 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
42940 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
42941 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
42942 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
42943 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
42944 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
42945 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
42946
01ae168d
RM
429472012-03-02 Roland McGrath <roland@hack.frob.com>
42948
d9a17c07
RM
42949 [BZ #13792]
42950 * manual/examples/README: New file, says the example source files
42951 can be used under GPL>=2.
42952 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
42953 line containing just "*/".
42954 * manual/examples/add.c: Add copyright header (GPL>=2).
42955 * manual/examples/argp-ex1.c: Likewise.
42956 * manual/examples/argp-ex2.c: Likewise.
42957 * manual/examples/argp-ex3.c: Likewise.
42958 * manual/examples/argp-ex4.c: Likewise.
42959 * manual/examples/atexit.c: Likewise.
42960 * manual/examples/db.c: Likewise.
42961 * manual/examples/dir.c: Likewise.
42962 * manual/examples/dir2.c: Likewise.
42963 * manual/examples/execinfo.c: Likewise.
42964 * manual/examples/filecli.c: Likewise.
42965 * manual/examples/filesrv.c: Likewise.
42966 * manual/examples/fmtmsgexpl.c: Likewise.
42967 * manual/examples/genpass.c: Likewise.
42968 * manual/examples/inetcli.c: Likewise.
42969 * manual/examples/inetsrv.c: Likewise.
42970 * manual/examples/isockad.c: Likewise.
42971 * manual/examples/longopt.c: Likewise.
42972 * manual/examples/memopen.c: Likewise.
42973 * manual/examples/memstrm.c: Likewise.
42974 * manual/examples/mkfsock.c: Likewise.
42975 * manual/examples/mkisock.c: Likewise.
42976 * manual/examples/mygetpass.c: Likewise.
42977 * manual/examples/pipe.c: Likewise.
42978 * manual/examples/popen.c: Likewise.
42979 * manual/examples/rprintf.c: Likewise.
42980 * manual/examples/search.c: Likewise.
42981 * manual/examples/select.c: Likewise.
42982 * manual/examples/setjmp.c: Likewise.
42983 * manual/examples/sigh1.c: Likewise.
42984 * manual/examples/sigusr.c: Likewise.
42985 * manual/examples/stpcpy.c: Likewise.
42986 * manual/examples/strdupa.c: Likewise.
42987 * manual/examples/strftim.c: Likewise.
42988 * manual/examples/strncat.c: Likewise.
42989 * manual/examples/subopt.c: Likewise.
42990 * manual/examples/swapcontext.c: Likewise.
42991 * manual/examples/termios.c: Likewise.
42992 * manual/examples/testopt.c: Likewise.
42993 * manual/examples/testpass.c: Likewise.
42994 * manual/examples/timeval_subtract.c: Likewise.
42995
01ae168d
RM
42996 [BZ #13792]
42997 * manual/time.texi (Elapsed Time): Move timeval_subtract example
42998 function to ...
42999 * manual/timeval_subtract.c.texi: ... here, new file.
43000
49efa33d
DM
430012012-03-02 David S. Miller <davem@davemloft.net>
43002
43003 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
43004
28afd92d
JM
430052012-03-02 Joseph Myers <joseph@codesourcery.com>
43006
804360ed
JM
43007 [BZ #3976]
43008 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
43009 (__sin): Save and restore rounding mode and use round-to-nearest
43010 for all computations.
43011 (__cos): Save and restore rounding mode and use round-to-nearest
43012 for all computations.
43013 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
43014 <fenv.h>.
43015 (tan): Save and restore rounding mode and use round-to-nearest for
43016 all computations.
43017 * math/libm-test.inc (cos_test_tonearest): New function.
43018 (cos_test_towardzero): Likewise.
43019 (cos_test_downward): Likewise.
43020 (cos_test_upward): Likewise.
43021 (sin_test_tonearest): Likewise.
43022 (sin_test_towardzero): Likewise.
43023 (sin_test_downward): Likewise.
43024 (sin_test_upward): Likewise.
43025 (tan_test_tonearest): Likewise.
43026 (tan_test_towardzero): Likewise.
43027 (tan_test_downward): Likewise.
43028 (tan_test_upward): Likewise.
43029 (main): Call the new functions.
43030 * sysdeps/i386/fpu/libm-test-ulps: Update.
43031 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43032
a6d06d7b
JM
43033 [BZ #10135]
43034 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
43035 small n, then large n, before computing and testing k+n.
43036 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
43037 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
43038 Likewise.
43039 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
43040 Likewise.
43041 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
43042 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
43043 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
43044 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
43045 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
43046 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
43047 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
43048 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
43049 * math/libm-test.inc (scalbn_test): Add more tests.
43050 (scalbln_test): Likewise.
43051
07e12bb3
JM
43052 * manual/filesys.texi (mode_t): Describe constraints on size and
43053 signedness, not exact equivalence to a particular type.
43054 (ino_t): Likewise.
43055 (ino64_t): Likewise.
43056 (dev_t): Likewise.
43057 (nlink_t): Likewise.
43058 (blkcnt_t): Likewise.
43059 (blkcnt64_t): Likewise.
43060 * manual/llio.texi (off_t): Likewise.
43061
28afd92d
JM
43062 [BZ #3976]
43063 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
43064 (__ieee754_exp): Save and restore rounding mode and use
43065 round-to-nearest for all computations.
43066 * math/libm-test.inc (exp_test_tonearest): New function.
43067 (exp_test_towardzero): Likewise.
43068 (exp_test_downward): Likewise.
43069 (exp_test_upward): Likewise.
43070 (main): Call the new functions.
43071 * sysdeps/i386/fpu/libm-test-ulps: Update.
43072 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43073
b1eeb65d
CD
430742012-03-01 Chris Demetriou <cgd@google.com>
43075
43076 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
43077 have predictable order.
43078
53362a4b
DM
430792012-03-01 David S. Miller <davem@davemloft.net>
43080
3c969083
DM
43081 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
43082
759707de
DM
43083 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
43084 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
43085 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
43086 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
43087
dfdb8ff2
DM
43088 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
43089 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
43090 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
43091 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
43092 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
43093 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
43094 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
43095 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
43096 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
43097
ead89f96
DM
43098 * sysdeps/sparc/fpu/libm-test-ulps: Update.
43099
7f66bd07
DM
43100 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
43101 * sysdeps/sparc/fpu/libm-test-ulps: to here.
43102 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
43103
53362a4b
DM
43104 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
43105 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
43106 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
43107 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
43108 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
43109 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
43110 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
43111 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
43112 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
43113 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
43114 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
43115 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
43116 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
43117 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
43118 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
43119 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
43120 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
43121 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
43122 * sysdeps/sparc/elf/configure: Regenerated.
43123
7b1902cb
JM
431242012-03-01 Joseph Myers <joseph@codesourcery.com>
43125
bec039bc
JM
43126 * configure.in (AS, LD): Require binutils 2.20 or later.
43127 * configure: Regenerated.
43128 * manual/install.texi (Tools for Compilation): Give binutils 2.20
43129 as required minimum version.
43130 * INSTALL: Regenerated.
43131
7b1902cb
JM
43132 [BZ #2541]
43133 [BZ #4108]
43134 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
43135 before squaring exponent.
43136 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
43137 bottom long double and 27 bits of top long double before squaring
43138 exponent.
43139 * math/libm-test.inc (erfc_test): Add more tests.
43140 * sysdeps/i386/fpu/libm-test-ulps: Update.
43141 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
43142 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43143
f775c276
KT
431442012-03-01 Kai Tietz <ktietz@redhat.com>
43145
43146 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
43147 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
43148 containing bit-fields.
43149 * soft-fp/extended.h (_FP_UNION_E): Likewise.
43150 * soft-fp/single.h (_FP_UNION_S): Likewise.
43151 * soft-fp/double.h (_FP_UNION_D): Likewise.
43152
5b8a4d4a
JM
431532012-02-29 Joseph Myers <joseph@codesourcery.com>
43154
0bab47b6
JM
43155 [BZ #13786]
43156 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
43157 not include ../strcmp.S.
43158 [USE_AS_STRNCASECMP_L]: Likewise.
43159 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
43160 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
43161 * sysdeps/i386/i686/multiarch/strncase_l-c.c
43162 (__strncasecmp_l_ia32): Define as alias to
43163 __strncasecmp_l_nonascii.
43164
0fcad3e2
JM
43165 [BZ #5794]
43166 * math/libm-test.inc (expm1_test): Add test for bug 5794.
43167 * sysdeps/i386/fpu/libm-test-ulps: Update.
43168 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43169
5b8a4d4a
JM
43170 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
43171 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43172
8fdceb2e
JL
431732012-02-29 Jeff Law <law@redhat.com>
43174
43175 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
43176 out of bounds read.
43177
1f393a11
MP
431782012-02-29 Marek Polacek <polacek@redhat.com>
43179
43180 [BZ #13706]
43181 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
43182 * elf/Makefile: Add rules to run tst-unused-dep.out.
43183
8847f037
DM
431842012-02-28 David S. Miller <davem@davemloft.net>
43185
43186 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
43187 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
43188 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
43189 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
43190 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
43191 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
43192
169d7f11
JM
431932012-02-29 Joseph Myers <joseph@codesourcery.com>
43194
43195 * math/libm-test.inc (llround_test): Move one test from
43196 lround_test. Use TEST_f_L in moved test.
43197 (lround_test): Move misplaced test to llround_test. Add testcase
43198 from bug 2561.
43199
39adf059
UD
432002012-02-28 Ulrich Drepper <drepper@gmail.com>
43201
43202 * sysdeps/x86_64/fpu/e_expf.S: New file.
43203 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
43204
71b5d1c5
SB
432052012-02-28 Stanislav Brabec <sbrabec@suse.cz>
43206
43207 [BZ #13637]
43208 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
43209 of remain_len that may cause incomplete multi-byte character and
43210 false match.
43211 * posix/bug-regex33.c: New file.
43212 * posix/Makefile (tests): Add bug-regex33.
43213
1f77f049
JM
432142012-02-28 Joseph Myers <joseph@codesourcery.com>
43215
43216 * manual/macros.texi: New file.
43217 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
43218 * manual/libc.texinfo: Include macros.texi.
43219 * manual/creatute.texi: Likewise.
43220 * manual/install.texi: Likewise.
43221 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
43222 @glibcadj{} in references to the GNU C Library.
43223 * manual/charset.texi: Likewise.
43224 * manual/conf.texi: Likewise.
43225 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
43226 when not using those macros.
43227 * manual/creature.texi: Likewise.
43228 * manual/crypt.texi: Likewise.
43229 * manual/errno.texi: Likewise.
43230 * manual/filesys.texi: Likewise.
43231 * manual/header.texi: Likewise.
43232 * manual/install.texi: Likewise.
43233 * manual/intro.texi: Likewise.
43234 * manual/io.texi: Likewise.
43235 * manual/job.texi: Likewise.
43236 * manual/lang.texi: Likewise.
43237 * manual/libc.texiinfo: Likewise.
43238 * manual/llio.texi: Likewise.
43239 * manual/locale.texi: Likewise.
43240 * manual/maint.texi: Likewise.
43241 * manual/math.texi: Likewise.
43242 * manual/memory.texi: Likewise.
43243 * manual/message.texi: Likewise.
43244 * manual/nss.texi: Likewise.
43245 * manual/pattern.texi: Likewise.
43246 * manual/process.texi: Likewise.
43247 * manual/resource.texi: Likewise.
43248 * manual/search.texi: Likewise.
43249 * manual/setjmp.texi: Likewise.
43250 * manual/signal.texi: Likewise.
43251 * manual/socket.texi: Likewise.
43252 * manual/startup.texi: Likewise.
43253 * manual/stdio.texi: Likewise.
43254 * manual/string.texi: Likewise.
43255 * manual/sysinfo.texi: Likewise.
43256 * manual/syslog.texi: Likewise.
43257 * manual/terminal.texi: Likewise.
43258 * manual/time.texi: Likewise.
43259 * manual/users.texi: Likewise.
43260 * INSTALL: Regenerated.
43261 * NOTES: Regenerated.
d40c5d54 43262 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 43263
450bf206
AS
432642012-02-28 Andreas Schwab <schwab@linux-m68k.org>
43265
43266 * include/dirent.h: Include <dirstream.h> before
43267 <dirent/dirent.h>.
43268
741a235b
DM
432692012-02-28 David S. Miller <davem@davemloft.net>
43270
43271 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
43272 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
43273 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
43274 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
43275
d6b5aa58
DM
432762012-02-27 David S. Miller <davem@davemloft.net>
43277
1aff59a3
DM
43278 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
43279 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
43280 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
43281 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
43282
d6b5aa58
DM
43283 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
43284 frame pointer instead of stack pointer relative arg slot.
43285 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
43286 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
43287 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
43288
433f48bf
CD
432892012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
43290
43291 [BZ #3992]
43292 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
43293
d674b76d
DM
432942012-02-27 David S. Miller <davem@davemloft.net>
43295
43296 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
43297 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
43298 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
43299 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
43300 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
43301 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
43302 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
43303 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
43304
0e7727f7
JM
433052012-02-27 Joseph Myers <joseph@codesourcery.com>
43306
43307 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
43308 later. Allow versions 5-9.
43be4ca2 43309 * configure: Regenerated.
0e7727f7
JM
43310 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
43311 required minimum version and 4.6 as recommended version. Do not
43312 mention bugs in GCC 2.7 and 2.8.
43be4ca2 43313 * INSTALL: Regenerated.
0e7727f7 43314
a78bc654
DM
433152012-02-27 David S. Miller <davem@davemloft.net>
43316
428d5830
DM
43317 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
43318 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
43319 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
43320 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
43321 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
43322 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
43323 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
43324 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
43325
a78bc654
DM
43326 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
43327 manipulate bits before adding and subtracting TWO112[sx].
43328 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
43329
4579f81c
RM
433302012-02-27 Roland McGrath <roland@hack.frob.com>
43331
36c8acb4
RM
43332 [BZ #13775]
43333 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
43334 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
43335 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
43336 being in POSIX, because they are in 1003.1-2008.
43337
84ad622b
RM
43338 * rt/tst-aio.c: Include <fcntl.h>.
43339 * rt/tst-aio7.c: Likewise.
43340 * rt/tst-aio64.c: Likewise.
43341
4579f81c
RM
43342 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
43343
abd923db
JM
433442012-02-27 Joseph Myers <joseph@codesourcery.com>
43345
43346 * manual/install.texi (--with-headers): Describe headers as
43347 interface headers, not private headers.
43348 (Specific advice for GNU/Linux systems): Describe use of headers
43349 from "make headers_install", not private headers from older
43350 kernels.
43be4ca2 43351 * INSTALL: Regenerated.
abd923db
JM
43352 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
43353 Change to 2.6.19.
43354 * sysdeps/unix/sysv/linux/configure: Regenerated.
43355
6664049b
JM
43356 * manual/llio.texi (fclean): Remove documentation.
43357
bb8b6697
JM
43358 * manual/Makefile (libc-texi-generated): New variable. Include
43359 version.texi.
43360 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
43361 $(libc-texi-generated), not duplicated list of files.
43362 (version.texi, stamp-version): New rules.
43363 (realclean): Remove $(libc-texi-generated), not individual files
43364 from that list. Do not remove dir-add.texinfo.
43365 * manual/libc.texinfo: Comment out uses of edition numbers and
43366 references to printed manual. Remove last-updated dates.
43367 (EDITION): Comment out.
43368 (ISBN): Likewise.
43369 (VERSION, UPDATED): Remove.
43370 (version.texi): Include.
43371
12e5c3b9
AS
433722012-02-27 Andreas Schwab <schwab@linux-m68k.org>
43373
43374 * sysdeps/posix/spawni.c: Include <signal.h>.
43375 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
43376 * sysdeps/pthread/aio_fsync.c: Likewise.
43377
4efeffc1 433782012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 43379
ba63ba08
UD
43380 * conform/Makefile (tests): Run only when not cross-compiling and
43381 when fast-check is not defined.
43382
d94a4670
UD
43383 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
43384 * conform/data/limits.h-data: Fixes for POSIX2008.
43385 * conform/run-conformtest.sh: Run all tests.
43386 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
43387 headers.
43388 * include/bits/dlfcn.h: Likewise.
43389 * include/langinfo.h: Likewise.
43390 * include/monetary.h: Likewise.
43391 * include/sys/poll.h: Likewise.
43392
43393 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
43394 for __USE_GNU.
43395 * posix/spawn.h: Define __need_sigset_t.
43396 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
43397 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
43398 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
43399 to get sigevent_t only.
43400 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
43401 only for __USE_GNU.
43402 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
43403 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
43404 process_vm_writev only for __USE_GNU.
43405 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
43406
43407 * conform/Makefile: For now ignore errors from run-conformtest.
43408 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
43409 POSIX to avoid namespace pollution. Don't prepend headers.
43410 * conform/data/aio.h-data: Fixes for POSIX testing.
43411 * conform/data/fcntl.h-data: Likewise.
43412 * conform/data/glob.h-data: Likewise.
43413 * conform/data/grp.h-data: Likewise.
43414 * conform/data/pthread.h-data: Likewise.
43415 * conform/data/pwd.h-data: Likewise.
43416 * conform/data/signal.h-data: Likewise.
43417 * conform/data/spawn.h-data: Likewise.
43418 * conform/data/stdio.h-data: Likewise.
43419 * conform/data/stdlib.h-data: Likewise.
43420 * conform/data/stropts.h-data: Likewise.
43421 * conform/data/sys/mman.h-data: Likewise.
43422 * conform/data/sys/stat.h-data: Likewise.
43423 * conform/data/sys/types.h-data: Likewise.
43424 * conform/data/sys/wait.h-data: Likewise.
43425 * conform/data/time.h-data: Likewise.
43426 * conform/data/unistd.h-data: Likewise.
43427 * conform/data/utime.h-data: Likewise.
43428
43429 * io/sys/stat.h: fchmod was always in POSIX.
43430 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
43431 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
43432 * rt/aio.h: Define __need_timespec before including <time.h>.
43433 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
43434 struct. Add forward declaration of pthread_attr_t and use it in
43435 sigevent.
43436 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
43437 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
43438 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
43439 always remove CLK_TCK definition.
43440
c20105c3
AS
434412012-02-26 Andreas Schwab <schwab@linux-m68k.org>
43442
43443 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
43444
7a270350
UD
434452012-02-25 Ulrich Drepper <drepper@gmail.com>
43446
31341567
UD
43447 * conform/run-conformtest.sh: New file.
43448 * conform/Makefile: Run run-conformtest for tests.
43449 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
43450 support.
43451
43452 * conform/data/uchar.h-data: New file.
43453 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
43454 * conform/data/arpa/inet.h-data: Likewise.
43455 * conform/data/assert.h-data: Likewise.
43456 * conform/data/complex.h-data: Likewise.
43457 * conform/data/cpio.h-data: Likewise.
43458 * conform/data/ctype.h-data: Likewise.
43459 * conform/data/dirent.h-data: Likewise.
43460 * conform/data/dlfcn.h-data: Likewise.
43461 * conform/data/errno.h-data: Likewise.
43462 * conform/data/fcntl.h-data: Likewise.
43463 * conform/data/float.h-data: Likewise.
43464 * conform/data/fmtmsg.h-data: Likewise.
43465 * conform/data/fnmatch.h-data: Likewise.
43466 * conform/data/ftw.h-data: Likewise.
43467 * conform/data/glob.h-data: Likewise.
43468 * conform/data/grp.h-data: Likewise.
43469 * conform/data/iconv.h-data: Likewise.
43470 * conform/data/inttypes.h-data: Likewise.
43471 * conform/data/langinfo.h-data: Likewise.
43472 * conform/data/libgen.h-data: Likewise.
43473 * conform/data/limits.h-data: Likewise.
43474 * conform/data/locale.h-data: Likewise.
43475 * conform/data/math.h-data: Likewise.
43476 * conform/data/monetary.h-data: Likewise.
43477 * conform/data/mqueue.h-data: Likewise.
43478 * conform/data/ndbm.h-data: Likewise.
43479 * conform/data/net/if.h-data: Likewise.
43480 * conform/data/netdb.h-data: Likewise.
43481 * conform/data/netinet/in.h-data: Likewise.
43482 * conform/data/nl_types.h-data: Likewise.
43483 * conform/data/poll.h-data: Likewise.
43484 * conform/data/pthread.h-data: Likewise.
43485 * conform/data/pwd.h-data: Likewise.
43486 * conform/data/regex.h-data: Likewise.
43487 * conform/data/sched.h-data: Likewise.
43488 * conform/data/search.h-data: Likewise.
43489 * conform/data/semaphore.h-data: Likewise.
43490 * conform/data/setjmp.h-data: Likewise.
43491 * conform/data/signal.h-data: Likewise.
43492 * conform/data/spawn.h-data: Likewise.
43493 * conform/data/stdarg.h-data: Likewise.
43494 * conform/data/stdio.h-data: Likewise.
43495 * conform/data/stdlib.h-data: Likewise.
43496 * conform/data/string.h-data: Likewise.
43497 * conform/data/strings.h-data: Likewise.
43498 * conform/data/stropts.h-data: Likewise.
43499 * conform/data/sys/ipc.h-data: Likewise.
43500 * conform/data/sys/mman.h-data: Likewise.
43501 * conform/data/sys/msg.h-data: Likewise.
43502 * conform/data/sys/resource.h-data: Likewise.
43503 * conform/data/sys/select.h-data: Likewise.
43504 * conform/data/sys/sem.h-data: Likewise.
43505 * conform/data/sys/shm.h-data: Likewise.
43506 * conform/data/sys/socket.h-data: Likewise.
43507 * conform/data/sys/stat.h-data: Likewise.
43508 * conform/data/sys/statvfs.h-data: Likewise.
43509 * conform/data/sys/time.h-data: Likewise.
43510 * conform/data/sys/timeb.h-data: Likewise.
43511 * conform/data/sys/times.h-data: Likewise.
43512 * conform/data/sys/types.h-data: Likewise.
43513 * conform/data/sys/uio.h-data: Likewise.
43514 * conform/data/sys/un.h-data: Likewise.
43515 * conform/data/sys/utsname.h-data: Likewise.
43516 * conform/data/sys/wait.h-data: Likewise.
43517 * conform/data/syslog.h-data: Likewise.
43518 * conform/data/tar.h-data: Likewise.
43519 * conform/data/termios.h-data: Likewise.
43520 * conform/data/utime.h-data: Likewise.
43521 * conform/data/utmpx.h-data: Likewise.
43522 * conform/data/varargs.h-data: Likewise.
43523 * conform/data/wchar.h-data: Likewise.
43524 * conform/data/wctype.h-data: Likewise.
43525 * conform/data/wordexp.h-data: Likewise.
43526
43527 * include/stropts.h: New file.
43528 * include/uchar.h: New file.
43529 * include/aio.h: Changes to allow conformtest.pl to use the headers.
43530 * include/assert.h: Likewise.
43531 * include/ctype.h: Likewise.
43532 * include/dirent.h: Likewise.
43533 * include/dlfcn.h: Likewise.
43534 * include/fcntl.h: Likewise.
43535 * include/fnmatch.h: Likewise.
43536 * include/glob.h: Likewise.
43537 * include/grp.h: Likewise.
43538 * include/libio.h: Likewise.
43539 * include/locale.h: Likewise.
43540 * include/math.h: Likewise.
43541 * include/net/if.h: Likewise.
43542 * include/netdb.h: Likewise.
43543 * include/netinet/in.h: Likewise.
43544 * include/pthread.h: Likewise.
43545 * include/pwd.h: Likewise.
43546 * include/regex.h: Likewise.
43547 * include/sched.h: Likewise.
43548 * include/search.h: Likewise.
43549 * include/setjmp.h: Likewise.
43550 * include/signal.h: Likewise.
43551 * include/stdio.h: Likewise.
43552 * include/stdlib.h: Likewise.
43553 * include/string.h: Likewise.
43554 * include/sys/cdefs.h: Likewise.
43555 * include/sys/mman.h: Likewise.
43556 * include/sys/msg.h: Likewise.
43557 * include/sys/resource.h: Likewise.
43558 * include/sys/select.h: Likewise.
43559 * include/sys/socket.h: Likewise.
43560 * include/sys/stat.h: Likewise.
43561 * include/sys/statvfs.h: Likewise.
43562 * include/sys/time.h: Likewise.
43563 * include/sys/times.h: Likewise.
43564 * include/sys/uio.h: Likewise.
43565 * include/sys/utsname.h: Likewise.
43566 * include/sys/wait.h: Likewise.
43567 * include/termios.h: Likewise.
43568 * include/time.h: Likewise.
43569 * include/ulimit.h: Likewise.
43570 * include/unistd.h: Likewise.
43571 * include/utime.h: Likewise.
43572 * include/wchar.h: Likewise.
43573 * include/wctype.h: Likewise.
43574 * include/wordexp.h: Likewise.
43575
43576 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
43577
7a270350
UD
43578 * time/time.h: TIME_UTC must be a macro.
43579 Make timespec_get available for ISO C11 only as well.
43580
7724defc
UD
435812012-02-24 Ulrich Drepper <drepper@gmail.com>
43582
43583 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
43584 Reported by Peng Haitao <penght@cn.fujitsu.com>.
43585
6b1d1d46
JM
435862012-02-24 Joseph Myers <joseph@codesourcery.com>
43587
43588 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 43589
0f8bbd69
JM
435902012-02-24 Joseph Myers <joseph@codesourcery.com>
43591
43592 * manual/texinfo.tex: Update to version 2012-01-19.16.
43593
66ab80bc
JM
435942012-02-24 Joseph Myers <joseph@codesourcery.com>
43595
43596 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
43597
74981cc5
RM
435982012-02-24 Roland McGrath <roland@hack.frob.com>
43599
ee968201
RM
43600 [BZ #13738]
43601 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
43602 * manual/fdl-1.3.texi: New file.
43603 * manual/fdl-1.1.texi: File removed.
43604
74981cc5
RM
43605 [BZ #13738]
43606 * manual/libc.texinfo (FDL_VERSION): New @set.
43607 Use it for mention of FDL in cover text.
43608 (Documentation License): Use it in @include file name.
43609
7bb764bc
JM
436102012-02-22 Joseph Myers <joseph@codesourcery.com>
43611 Roland McGrath <roland@hack.frob.com>
43612
43613 [BZ #5461]
57f41c40
AS
43614 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
43615 (not LONG_LONG_MAX and LONG_LONG_MIN.
7bb764bc
JM
43616 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
43617 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
43618 name.
43619 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
43620
6cbeae47
JM
436212012-02-22 Joseph Myers <joseph@codesourcery.com>
43622
43623 [BZ #2547]
43624 [BZ #11365]
43625 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
43626 manipulate bits before adding and subtracting TWO23[sx].
43627 * math/libm-test.inc (nearbyint_test): Add more tests.
43628
fe45ce09
JM
436292012-02-22 Joseph Myers <joseph@codesourcery.com>
43630
43631 [BZ #2548]
43632 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
43633 bits before adding and subtracting TWO23[sx].
43634 * math/libm-test.inc (rint_test): Add more tests.
43635 (rint_test_tonearest): Likewise.
43636 (rint_test_towardzero): Likewise.
43637 (rint_test_downward): Likewise.
43638 (rint_test_upward: Likewise.
43639
ff3b3d82
JM
436402012-02-22 Joseph Myers <joseph@codesourcery.com>
43641
43642 [BZ #10110]
43643 * include/stdc-predef.h: New file. Extracted from features.h.
43644 * include/features.h: Include stdc-predef.h.
43645 * Makefile (headers): Add stdc-predef.h.
43646 * CONFORMANCE (Compiler limitations): Update.
43647
ef0aab35
JM
436482012-02-22 Joseph Myers <joseph@codesourcery.com>
43649
43650 * manual/libc.texinfo (VERSION, UPDATED): Revert.
43651
58639409
DM
436522012-02-21 David S. Miller <davem@davemloft.net>
43653
43654 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
43655 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
43656
c0e70b25
DM
436572012-02-20 David S. Miller <davem@davemloft.net>
43658
43659 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
43660 using a normal save/restore sequence, rather than allocating a
43661 dummy stack frame just to store a frame pointer and restore.
43662 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
43663
fb06851d
JM
436642012-02-21 Joseph Myers <joseph@codesourcery.com>
43665
43666 * manual/install.texi: Fix stray word in line-wrapped comment.
43667
7a8b71c3
DM
436682012-02-20 David S. Miller <davem@davemloft.net>
43669
d510c123
DM
43670 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
43671 both binutils and gcc support GOTDATA.
43672
0722d7c2
DM
43673 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
43674 "rd %pc" in the PIC register setup sequences.
43675
3d2b3019
DM
43676 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
43677 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
43678 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
43679 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
43680 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
43681 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
43682 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
43683 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
43684 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
43685 (SYSCALL_ERROR_HANDLER): Likewise.
43686 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
43687 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
43688 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
43689 (SYSCALL_ERROR_HANDLER): Likewise.
43690
c80098a9
DM
43691 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
43692 (HAVE_GCC_GOTDATA): New.
43693 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
43694 relocation support in both binutils and gcc.
43695 * sysdeps/sparc/elf/configure: Regenerate.
43696
3a2545a0
DM
43697 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
43698 * sysdeps/sparc/sparc32/elf/configure: Delete.
43699 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
43700 * sysdeps/sparc/sparc64/elf/configure: Delete.
43701 * sysdeps/sparc/elf/configure.in: New file.
43702 * sysdeps/sparc/elf/configure: Generate.
43703
7a8b71c3
DM
43704 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
43705 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
43706 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
43707 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
43708 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
43709
f1e86fca
JM
437102012-02-21 Joseph Myers <joseph@codesourcery.com>
43711
43712 * manual/install.texi: Do not mention specific glibc version
43713 numbers.
43714 * manual/libc.texinfo (VERSION, UPDATED): Update.
43715 (@copying): Use @copyright{} and range of years.
43716
0e7dfaef
JM
437172012-02-21 Joseph Myers <joseph@codesourcery.com>
43718
43719 [BZ #13695]
43720 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
43721 [crti.S not in sysdirs] (generated): Do not append.
43722 [crti.S not in sysdirs] (omit-deps): Likewise.
43723 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
43724 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
43725 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
43726 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
43727 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
43728 Likewise.
43729 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
43730 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
43731 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
43732 * csu/defs.awk: Remove file.
43733 * sysdeps/generic/initfini.c: Likewise.
43734 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
43735 variable.
43736 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
43737 Likewise.
43738
599af3ca
JM
437392012-02-20 Joseph Myers <joseph@codesourcery.com>
43740
43741 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
43742 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
43743 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
43744 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
43745 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
43746 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
43747 <bits/epoll.h>.
43748 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
43749 (__EPOLL_PACKED): Define to empty if not defined by
43750 <bits/epoll.h>.
43751 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
43752 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
43753 bits/epoll.h.
43754
0e499750
JM
437552012-02-20 Joseph Myers <joseph@codesourcery.com>
43756
43757 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
43758 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
43759 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
43760 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
43761 <bits/timerfd.h>.
43762 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
43763 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
43764 bits/timerfd.h.
43765
5ad91f6e
JM
437662012-02-20 Joseph Myers <joseph@codesourcery.com>
43767
43768 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
43769 in C locale.
43770 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
43771 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
43772 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
43773 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43774
06b99b02
AJ
437752012-02-20 Aurelien Jarno <aurelien@aurel32.net>
43776
43777 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
43778 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
43779
7638c0fd
AS
437802012-02-19 Andreas Schwab <schwab@linux-m68k.org>
43781
43782 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
43783 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
43784 defined.
43785 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
43786 Likewise.
43787 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
43788 entry for 2.16.
43789
92221550
AJ
437902012-02-19 Aurelien Jarno <aurelien@aurel32.net>
43791
43792 * math/w_acos.c: Use non-signaling floating-point comparisons.
43793 * math/w_acosf.c: Likewise.
43794 * math/w_acosh.c: Likewise.
43795 * math/w_acoshf.c: Likewise.
43796 * math/w_acoshl.c: Likewise.
43797 * math/w_acosl.c: Likewise.
43798 * math/w_asin.c: Likewise.
43799 * math/w_asinf.c: Likewise.
43800 * math/w_asinl.c: Likewise.
43801 * math/w_atanh.c: Likewise.
43802 * math/w_atanhf.c: Likewise.
43803 * math/w_atanhl.c: Likewise.
43804 * math/w_exp2.c: Likewise.
43805 * math/w_exp2f.c: Likewise.
43806 * math/w_exp2l.c: Likewise.
43807 * math/w_j0.c: Likewise.
43808 * math/w_j0f.c: Likewise.
43809 * math/w_j0l.c: Likewise.
43810 * math/w_j1.c: Likewise.
43811 * math/w_j1f.c: Likewise.
43812 * math/w_j1l.c: Likewise.
43813 * math/w_jn.c: Likewise.
43814 * math/w_jnf.c: Likewise.
43815 * math/w_log.c: Likewise.
43816 * math/w_log10.c: Likewise.
43817 * math/w_log10f.c: Likewise.
43818 * math/w_log10l.c: Likewise.
43819 * math/w_log2.c: Likewise.
43820 * math/w_log2f.c: Likewise.
43821 * math/w_log2l.c: Likewise.
43822 * math/w_logf.c: Likewise.
43823 * math/w_logl.c: Likewise.
43824 * math/w_sqrt.c: Likewise.
43825 * math/w_sqrtf.c: Likewise.
43826 * math/w_sqrtl.c: Likewise.
43827 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
43828 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
43829 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
43830 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
43831 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
43832
ebaf36eb
JM
438332012-02-19 Joseph Myers <joseph@codesourcery.com>
43834
43835 [BZ #9739]
43836 * manual/string.texi (strnlen): Use correct parameter name in
43837 equivalent expression.
43838
71c254a6
JM
438392012-02-19 Joseph Myers <joseph@codesourcery.com>
43840
43841 [BZ #11174]
43842 * manual/users.texi (seteuid): Consistently use neweuid for
43843 argument name.
43844
16d2c631
JM
438452012-02-19 Joseph Myers <joseph@codesourcery.com>
43846
43847 [BZ #13704]
43848 * manual/nss.texi (Services in the NSS configuration): Correct
43849 list of services in example configuration file.
43850
cd837b09
NB
438512012-02-19 Nick Bowler <nbowler@draconx.ca>
43852
43853 [BZ #11322]
43854 * manual/arith.texi: Remove statements about negative zero
43855 behaving identically to zero.
43856
02c4bbad
JM
438572012-02-18 Joseph Myers <joseph@codesourcery.com>
43858
43859 [BZ #5993]
43860 * manual/install.texi: Do not document upgrading from libc5.
43861
366842e7
JM
438622012-02-18 Joseph Myers <joseph@codesourcery.com>
43863
43864 [BZ #4596]
43865 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
43866
dd54084d
DM
438672012-02-18 David S. Miller <davem@davemloft.net>
43868
43869 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
43870 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
43871 %o7 across the call.
43872 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
43873 instead.
43874 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
43875 SETUP_PIC_REG_LEAF.
43876 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
43877 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
43878 * sysdeps/sparc/crtn.S: Likewise.
43879
2bcc53a3
UD
438802012-02-17 Ulrich Drepper <drepper@gmail.com>
43881
43882 * aout/Makefile: Remove.
43883
09c093b5
RK
438842012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
43885
43886 [BZ #13058]
43887 * manual/examples/argp-ex1.c (main): Format definition in GNU
43888 style.
43889 * manual/examples/argp-ex2.c (main): Likewise.
43890 * manual/examples/argp-ex3.c (main): Likewise.
43891 * manual/examples/argp-ex4.c (main): Likewise.
43892 * manual/examples/longopt.c (main): Use new-style prototype
43893 definition.
43894 * manual/examples/strncat.c (main): Specify return type and use
43895 (void) for arguments.
43896 * manual/examples/subopt.c (main): Use char **argv argument.
43897
2ee633a2
JM
438982012-02-17 Joseph Myers <joseph@codesourcery.com>
43899
43900 [BZ #5077]
43901 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
43902 rounding modes.
43903
0520adde
FB
439042012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
43905
43906 [BZ #6907]
43907 * manual/string.texi (strchr): Change when strchrnul is
43908 recommended.
43909
3f4081cd
DGM
439102012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
43911
43912 [BZ #174]
43913 * manual/locale.texi (setlocale): Document LOCPATH.
43914
d1b10e78
JM
439152012-02-17 Joseph Myers <joseph@codesourcery.com>
43916
43917 [BZ #10210]
43918 * manual/process.texi (execle): Move @dots{} before last argument.
43919
79c6869c
PB
439202012-02-17 Paul Bolle <pebolle@tiscali.nl>
43921
43922 [BZ #12047]
43923 * manual/charset.texi (Generic Charset Conversion): Fix typo
43924 (LC_TYPE -> LC_CTYPE).
43925
cc6e48bc
NB
439262012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
43927
43928 [BZ #5805]
43929 * manual/arith.texi (scalbn): Use @var{} on parameter names.
43930 (scalbnf): Likewise.
43931 (scalbnl): Likewise.
43932 (scalbln): Likewise.
43933 (scalblnf): Likewise.
43934 (scalblnl): Likewise.
43935 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
43936 (vwarnx): Likewise.
43937 (verr): Likewise.
43938 (verrx): Likewise.
43939 * manual/filesys.texi (telldir): Use braces around return type.
43940 * manual/llio.texi (mmap): Add space after comma.
43941 (mmap64): Likewise.
43942 * manual/math.texi (jn): Use @var{} on parameter names.
43943 (jnf): Likewise.
43944 (jnl): Likewise.
43945 (yn): Likewise.
43946 (ynf): Likewise.
43947 (ynl): Likewise.
43948 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
43949 line.
43950 * manual/resource.texi (ulimit): Use @dots{} instead of literal
43951 "...".
43952 (sched_get_priority_min): Remove semicolon on @deftypefun line.
43953 (sched_get_priority_max): Likewise.
43954 * manual/signal.texi (sigvec): Add space after comma.
43955 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
43956 names.
43957 (if_indextoname): Likewise.
43958 (if_freenameindex): Likewise.
43959 (sendto): Use ',' instead of '.' in prototype.
43960 * manual/startup.texi (syscall): Use @dots{} instead of literal
43961 "...".
43962 * manual/stdio.texi (__fpending): Separate initial words of
43963 paragraph from @deftypefun line.
43964 * manual/syslog.texi (syslog): Use @dots{} instead of literal
43965 "...".
43966 (vsyslog): Use @var{} on parameter names.
43967 * manual/terminal.texi (stty): Use @var{} on parameter names.
43968 * manual/users.texi (getutmp): Use @var{} on parameter names.
43969 (getutmpx): Likewise.
43970
5b23062f
JM
439712012-02-17 Joseph Myers <joseph@codesourcery.com>
43972
43973 [BZ #6884]
43974 * manual/stdio.texi (fopen): Fix typos in description of
43975 ",ccs=STRING".
43976
8dee4833
AJ
439772012-02-17 Aurelien Jarno <aurelien@aurel32.net>
43978
43979 [BZ #4026]
43980 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
43981 get clock_id definition.
43982
9078ce93
TS
439832012-02-17 Thomas Schwinge <thomas@schwinge.name>
43984
43985 [BZ #4822]
43986 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
43987 (madvise): Cast every argument to void on its own.
43988
3835c55f
JM
439892012-02-17 Joseph Myers <joseph@codesourcery.com>
43990
43991 [BZ #9902]
43992 * manual/startup.texi (Exit Status): Fix typo.
43993
35c47e37
JM
439942012-02-17 Joseph Myers <joseph@codesourcery.com>
43995
43996 [BZ #10140]
43997 * manual/examples/argp-ex1.c: Include <stdlib.h>.
43998 * manual/examples/argp-ex2.c: Likewise.
43999 * manual/examples/argp-ex3.c: Likewise.
44000
e3b69ca7
RH
440012012-02-16 Richard Henderson <rth@redhat.com>
44002
44003 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
44004 * sysdeps/s390/s390-32/initfini.c: Remove.
44005 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
44006 * sysdeps/s390/s390-64/initfini.c: Remove.
44007
df83af67
KK
440082012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
44009
44010 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
44011 compiler output for sysdeps/generic/initfini.c.
44012 * sysdeps/sh/elf/initfini.c: Remove file.
44013
f63f3380
DM
440142012-02-16 David S. Miller <davem@davemloft.net>
44015
fb59b3a4
DM
44016 [BZ #11494]
44017 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
44018
f63f3380
DM
44019 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
44020 * sysdeps/sparc/crti.S: New file.
44021 * sysdeps/sparc/crtn.S: New file.
44022 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
44023 * sysdeps/sparc/sparc64/Makefile: Likewise.
44024
df6a4a4a
MF
440252012-02-15 Mike Frysinger <vapier@gentoo.org>
44026
6dd8f3dc 44027 [BZ #3335]
df6a4a4a
MF
44028 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
44029
1cac7236
RM
440302012-02-15 Roland McGrath <roland@hack.frob.com>
44031
d2c736f8
RM
44032 [BZ #4822]
44033 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
44034
1cac7236
RM
44035 * mach/devstream.c (cookie_io_functions_t): Macro removed.
44036 (write, read, close): Likewise.
44037 Patch by Aurelien Jarno <aurelien@aurel32.net>.
44038
8e475601
JM
440392012-02-15 Joseph Myers <joseph@codesourcery.com>
44040
44041 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
44042 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
44043 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
44044 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
44045 <bits/signalfd.h>.
44046 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
44047 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
44048 bits/signalfd.h.
44049
ed656b40
MP
440502012-02-14 Marek Polacek <polacek@redhat.com>
44051
44052 * sysdeps/x86_64/crti.S: New file.
44053 * sysdeps/x86_64/crtn.S: New file.
44054 * sysdeps/x86_64/elf/initfini.c: Remove file.
44055
2a979d3a
JM
440562012-02-13 Joseph Myers <joseph@codesourcery.com>
44057
44058 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
44059 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
44060 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
44061 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
44062 <bits/inotify.h>.
44063 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
44064 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
44065 bits/inotify.h.
44066
2a418ac3
JM
440672012-02-13 Joseph Myers <joseph@codesourcery.com>
44068
44069 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
44070 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
44071 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
44072 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
44073 <bits/eventfd.h>.
44074 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
44075 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
44076 bits/eventfd.h.
44077
fb779be7
TS
440782012-02-10 Thomas Schwinge <thomas@codesourcery.com>
44079
e19e83c5
RM
44080 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
44081 __feraiseexcept instead of feraiseexcept.
7c35ffed 44082
fb779be7
TS
44083 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
44084 nanosleep invocations.
44085 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
44086 strings, and add error checking for a nanosleep invocations.
44087
59ba27a6
PE
440882012-02-09 Paul Eggert <eggert@cs.ucla.edu>
44089
44090 Replace FSF snail mail address with URLs, as per GNU coding standards.
44091 Most of the snail mail addresses were wrong anyway, and omitting
44092 them makes the source code easier to maintain. Almost all of the
44093 changes are to license notices and to locale LC_IDENTIFICATION
44094 addresses, except for this one:
44095 * manual/libc.texinfo: In "Published by", give the FSF's URL,
44096 not its snail mail address.
44097
57b957eb
RH
440982012-02-09 Richard Henderson <rth@twiddle.net>
44099
af850b1c
RH
44100 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
44101 of kernel-features.h.
44102
57b957eb
RH
44103 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
44104
6b73181a
MP
441052012-02-08 Marek Polacek <polacek@redhat.com>
44106
44107 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
44108 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
44109 * sysdeps/gnu/_G_config.h: Likewise.
44110 * sysdeps/generic/_G_config.h: Likewise.
44111
26ecc33a
AS
441122012-02-08 Andreas Schwab <schwab@linux-m68k.org>
44113
6c6dbc63
AS
44114 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
44115 tests.
44116 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44117
e216c012
AS
44118 * sysdeps/powerpc/powerpc32/crti.S: New file.
44119 * sysdeps/powerpc/powerpc32/crtn.S: New file.
44120 * sysdeps/powerpc/powerpc64/crti.S: New file.
44121 * sysdeps/powerpc/powerpc64/crtn.S: New file.
44122
26ecc33a
AS
44123 * Makeconfig (have-initfini): Don't set.
44124 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
44125 * configure.in (nopic_initfini): Don't substitute.
44126 * config.h.in (HAVE_INITFINI): Don't #undef.
44127 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
44128 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
44129
3add8e13
JM
441302012-02-08 Joseph Myers <joseph@codesourcery.com>
44131
44132 Support crti.S and crtn.S provided directly by architectures.
44133 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
44134 [crti.S in sysdirs] (omit-deps): Likewise.
44135 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
44136 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
44137 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
44138 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
44139 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
44140 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
44141 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
44142 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
44143 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
44144 compiler output for sysdeps/generic/initfini.c.
44145 * sysdeps/i386/elf/Makefile: Remove file.
44146 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
44147
a22f12b4
MP
441482012-02-07 Marek Polacek <polacek@redhat.com>
44149
44150 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
44151 * sysdeps/gnu/_G_config.h: Likewise.
44152 * sysdeps/mach/hurd/_G_config.h: Likewise.
44153
148cf100
MP
441542012-02-07 Marek Polacek <polacek@redhat.com>
44155
44156 * math/Makefile (tests): Add tst-CMPLX2.
44157 * math/tst-CMPLX2.c: New file.
44158
cfdc0dd7
AS
441592012-02-07 Andreas Schwab <schwab@linux-m68k.org>
44160
84ba42c4
AS
44161 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
44162
cfdc0dd7
AS
44163 * math/libm-test.inc (jn_test): Add missing L suffix.
44164
622c86f4
MP
441652012-02-06 Marek Polacek <polacek@redhat.com>
44166
44167 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
44168 * sysdeps/i386/fpu/e_powf.S: Likewise.
44169 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
44170 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
44171 * sysdeps/i386/fpu/e_acosh.S: Likewise.
44172 * sysdeps/i386/fpu/e_pow.S: Likewise.
44173 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
44174 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
44175 * sysdeps/i386/fpu/s_expm1.S: Likewise.
44176 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
44177 * sysdeps/i386/fpu/e_log2.S: Likewise.
44178 * sysdeps/i386/fpu/e_log2l.S: Likewise.
44179 * sysdeps/i386/fpu/e_scalb.S: Likewise.
44180 * sysdeps/i386/fpu/e_powl.S: Likewise.
44181 * sysdeps/i386/fpu/s_log1p.S: Likewise.
44182 * sysdeps/i386/fpu/e_log10f.S: Likewise.
44183 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
44184 * sysdeps/i386/fpu/e_logl.S: Likewise.
44185 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
44186 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
44187 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
44188 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
44189 * sysdeps/i386/fpu/e_log2f.S: Likewise.
44190 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
44191 * sysdeps/i386/fpu/e_log.S: Likewise.
44192 * sysdeps/i386/fpu/s_cexp.S: Likewise.
44193 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
44194 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
44195 * sysdeps/i386/fpu/e_logf.S: Likewise.
44196 * sysdeps/i386/fpu/e_log10l.S: Likewise.
44197 * sysdeps/i386/fpu/e_atanh.S: Likewise.
44198 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
44199 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
44200 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
44201 * sysdeps/i386/fpu/e_log10.S: Likewise.
44202 * sysdeps/i386/fpu/s_frexp.S: Likewise.
44203 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
44204 * sysdeps/i386/fpu/s_asinh.S: Likewise.
44205 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
44206 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
44207 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
44208 * sysdeps/i386/asm-syntax.h: Likewise.
44209 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
44210 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
44211 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
44212 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
44213 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
44214 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
44215 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
44216 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
44217 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
44218 * sysdeps/powerpc/sysdep.h: Likewise.
44219 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
44220 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
44221
d4a54ac6
JM
442222012-02-06 Joseph Myers <joseph@codesourcery.com>
44223
44224 [BZ #411]
44225 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
44226
314054ea
JM
442272012-02-06 Joseph Myers <joseph@codesourcery.com>
44228
44229 * sysdeps/i386/sysdep.h: Include <features.h>.
44230 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
44231 version.
44232
d8e0ca50
JM
442332012-02-05 Joseph Myers <joseph@codesourcery.com>
44234
44235 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
44236 Define.
44237 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
44238 LOAD_PIC_REG_STR.
44239
b1da7dd9
JM
442402012-02-03 Joseph Myers <joseph@codesourcery.com>
44241
44242 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
44243 (SETUP_PIC_REG): Use GET_PC_THUNK.
44244 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
44245 macro.
44246
9a1d9254
JM
442472012-02-03 Joseph Myers <joseph@codesourcery.com>
44248
44249 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
44250 for non-PIC compilation.
44251 (SETUP_PIC_REG): Add .p2align directive.
44252 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
44253 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
44254 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
44255 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
44256 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
44257 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
44258 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
44259 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
44260 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
44261 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
44262 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
44263 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
44264 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
44265 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
44266 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
44267 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
44268 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
44269 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
44270 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
44271 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
44272 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
44273 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
44274 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
44275 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
44276 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
44277 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
44278 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
44279 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
44280 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
44281 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
44282 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
44283 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
44284 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
44285 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
44286 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
44287 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
44288 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
44289 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
44290 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
44291 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
44292 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
44293
65dc3b75
JM
442942012-02-03 Joseph Myers <joseph@codesourcery.com>
44295
44296 * math/tst-CMPLX.c: Include <stdio.h>.
44297
d55bf177
JM
442982012-01-31 Joseph Myers <joseph@codesourcery.com>
44299
44300 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
44301 float.
44302 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
44303 * sysdeps/sparc/bits/mathdef.h: Likewise.
44304
69db4f8f
MP
443052012-01-31 Marek Polacek <polacek@redhat.com>
44306
44307 * libio/libio.h: Don't define _PARAMS.
44308 * locale/programs/config.h: Don't define PARAMS.
44309 * stdlib/strtol_l.c: Likewise.
44310 (__strtol_l): Remove PARAMS from the prototype.
44311
41b81892
UD
443122012-01-31 Ulrich Drepper <drepper@gmail.com>
44313
3b49edc0
UD
44314 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
44315 names. Just use the correct names. Remove unnecessary wrapper
44316 functions.
44317 * malloc/arena.c: Likewise.
44318 * malloc/hooks.c: Likewise.
44319
41b81892
UD
44320 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
44321 ARENA_TEST says not to. Simplify test for creation of a new arena.
44322 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
44323
27a25b6e
UD
443242012-01-30 Ulrich Drepper <drepper@gmail.com>
44325
44326 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
44327 into tail calls.
44328 (update_get_addr): New function.
44329 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
44330 GET_ADDR_MODULE parameter.
44331
c8a89e7d
JM
443322012-01-30 Joseph Myers <joseph@codesourcery.com>
44333
44334 * crypt/cert.c: Remove __STDC__ conditionals.
44335 * crypt/crypt-entry.c: Likewise.
44336 * crypt/crypt_util.c: Likewise.
44337 * libio/filedoalloc.c: Likewise.
44338 * libio/fileops.c: Likewise.
44339 * libio/genops.c: Likewise.
44340 * libio/iofclose.c: Likewise.
44341 * libio/iofdopen.c: Likewise.
44342 * libio/iofopen.c: Likewise.
44343 * libio/iofopen64.c: Likewise.
44344 * libio/iogetdelim.c: Likewise.
44345 * libio/iopopen.c: Likewise.
44346 * libio/obprintf.c: Likewise.
44347 * libio/oldfileops.c: Likewise.
44348 * libio/oldiofclose.c: Likewise.
44349 * libio/oldiofdopen.c: Likewise.
44350 * libio/oldiofopen.c: Likewise.
44351 * libio/oldiopopen.c: Likewise.
44352 * libio/wfiledoalloc.c: Likewise.
44353 * libio/wgenops.c: Likewise.
44354 * locale/programs/xmalloc.c: Likewise.
44355 * misc/syslog.c: Likewise.
44356 * stdio-common/xbug.c: Likewise.
44357 * string/memchr.c: Likewise.
44358 * string/memcmp.c: Likewise.
44359 * string/memrchr.c: Likewise.
44360 * string/rawmemchr.c: Likewise.
44361 * sysdeps/posix/getcwd.c: Likewise.
44362 * time/strftime_l.c: Likewise.
44363
3b100462
JM
443642012-01-30 Joseph Myers <joseph@codesourcery.com>
44365
44366 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
44367 * config.make.in (config-cflags-sse2avx): Define.
44368 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
44369 Fix typo.
44370
607998af
CM
443712012-01-29 Chris Metcalf <cmetcalf@tilera.com>
44372
44373 * scripts/config.guess: Update from upstream config git repository.
44374 * scripts/config.sub: Likewise.
44375
3601428f
CM
443762012-01-28 Chris Metcalf <cmetcalf@tilera.com>
44377
3ac8b282
CM
44378 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
44379 (EM_NUM): Update.
44380 (R_TILEPRO_*, R_TILEGX_*): New macros.
44381
e034841e
CM
44382 * scripts/firstversions.awk: Fix bug in version range handling.
44383
540d7568
CM
44384 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
44385
3601428f
CM
44386 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
44387
463de862
CM
44388 * include/sys/epoll.h: New file.
44389 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
44390 libc_hidden_def.
44391
73139a76
UD
443922012-01-28 Ulrich Drepper <drepper@gmail.com>
44393
96bc5b45
UD
44394 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
44395 Avoid unnecessary __WORDSIZE == 64 test.
44396 (fmaxf): Use VEX format if possible.
44397 (fmax): Likewise.
44398 (fminf): Likewise.
44399 (fmin): Likewise.
44400
56f6f6a2
UD
44401 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
44402 * math/math_private.h: Remove libc_fegetround* and
44403 libc_fesetround*.
44404 * sysdeps/i386/configure.in: Check for -msse2avx.
44405 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
44406 also if SSE2AVX is defined.
44407 Remove libc_fegetround* and libc_fesetround*.
44408 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
44409 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
44410 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
44411 of HAS_YMM_USABLE.
44412 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
44413 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
44414 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
44415 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
44416 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
44417
73139a76
UD
44418 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
44419
d73f93a4
AZ
444202012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
44421
44422 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
44423 size is not set.
44424 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
44425
6ee65ed6
UD
444262012-01-27 Ulrich Drepper <drepper@gmail.com>
44427
44428 [BZ #13618]
44429 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
44430 relocation.
44431 * Makeconfig (libm): Define.
44432 * elf/Makefile: Add rules to build and run tst-relsort1.
44433 * elf/tst-relsort1.c: New file.
44434 * elf/tst-relsort1mod1.c: New file.
44435 * elf/tst-relsort1mod2.c: New file.
44436
8db21882
JM
444372012-01-27 Joseph Myers <joseph@codesourcery.com>
44438
44439 * math/s_ldexp.c: Remove __STDC__ conditionals.
44440 * math/s_ldexpf.c: Likewise.
44441 * math/s_ldexpl.c: Likewise.
44442 * math/s_nextafter.c: Likewise.
44443 * math/s_nexttowardf.c: Likewise.
44444 * math/s_significand.c: Likewise.
44445 * math/s_significandf.c: Likewise.
44446 * math/s_significandl.c: Likewise.
44447 * math/w_jnl.c: Likewise.
44448 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
44449 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
44450 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
44451 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
44452 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
44453 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
44454 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
44455 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
44456 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
44457 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
44458 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
44459 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
44460 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
44461 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
44462 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
44463 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
44464 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
44465 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
44466 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
44467 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
44468 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
44469 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
44470 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
44471 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
44472 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
44473 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
44474 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
44475 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
44476 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
44477 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
44478 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
44479 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
44480 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
44481 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
44482 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
44483 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
44484 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
44485 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
44486 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
44487 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
44488 * sysdeps/ieee754/k_standard.c: Likewise.
44489 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
44490 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
44491 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
44492 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
44493 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
44494 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
44495 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
44496 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
44497 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
44498 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
44499 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
44500 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
44501 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
44502 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
44503 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
44504 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
44505 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
44506 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
44507 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
44508 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
44509 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
44510 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
44511 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
44512 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
44513 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
44514 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
44515 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
44516 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
44517 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
44518 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
44519 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
44520 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
44521 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
44522 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
44523 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
44524 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
44525 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
44526 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
44527 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
44528 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
44529 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
44530 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
44531 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
44532 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
44533 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
44534 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
44535 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
44536 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
44537 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
44538 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
44539 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
44540 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
44541 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
44542 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
44543 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
44544 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
44545 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
44546 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
44547 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
44548 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
44549 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
44550 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
44551 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
44552 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
44553 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
44554 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
44555 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
44556 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
44557 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
44558 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
44559 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
44560 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
44561 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
44562 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
44563 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
44564 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
44565 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
44566 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
44567 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
44568 * sysdeps/ieee754/s_matherr.c: Likewise.
44569 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
44570 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
44571 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
44572 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
44573
965a54a4
JM
445742012-01-26 Joseph Myers <joseph@codesourcery.com>
44575
44576 * crypt/md5.h: Remove __STDC__ conditionals.
44577 * libio/libioP.h: Likewise.
44578 * locale/programs/config.h: Likewise.
44579 * sysdeps/generic/sysdep.h: Likewise.
44580 * sysdeps/i386/asm-syntax.h: Likewise.
44581 * sysdeps/s390/asm-syntax.h: Likewise.
44582 * sysdeps/unix/sysdep.h: Likewise.
44583 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
44584 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
44585
7071ad79
JM
445862012-01-26 Joseph Myers <joseph@codesourcery.com>
44587
44588 * libio/libio.h: Remove __STDC__ conditionals.
44589 * malloc/obstack.h: Likewise.
44590 * math/complex.h: Likewise.
44591 * math/math.h: Likewise.
44592 * sysdeps/generic/_G_config.h: Likewise.
44593 * sysdeps/gnu/_G_config.h: Likewise.
44594 * sysdeps/mach/hurd/_G_config.h: Likewise.
44595 * sysdeps/powerpc/bits/mathdef.h: Likewise.
44596 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
44597 * sysdeps/sparc/bits/mathdef.h: Likewise.
44598
afc5ed09
UD
445992012-01-26 Ulrich Drepper <drepper@gmail.com>
44600
44601 [BZ #13583]
44602 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 44603 Clean up HAS_* macros.
afc5ed09 44604 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
44605 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
44606 possible.
44607 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
44608 HAS_AVX.
44609 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
44610 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
44611 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
44612 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
44613 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 44614
bdb6de1d
JM
446152012-01-25 Joseph Myers <joseph@codesourcery.com>
44616
44617 * elf/tst-unique3.cc (gets): Remove declaration.
44618 * elf/tst-unique3lib.cc (gets): Likewise.
44619 * elf/tst-unique3lib2.cc (gets): Likewise.
44620 * elf/tst-unique4.cc (gets): Likewise.
44621
b15549e6
UD
446222012-01-24 Ulrich Drepper <drepper@gmail.com>
44623
44624 * include/stdio.h: Add C++ protection. Add gets declarations and
44625 definitions.
44626 * debug/tst-chk1.c: Don't declare gets here.
44627 * stdio-common/tst-gets.c: Likewise.
44628
a037381f
JM
446292012-01-24 Joseph Myers <joseph@codesourcery.com>
44630
44631 * posix/glob: Remove directory.
44632
f1d4aa75
JM
446332012-01-24 Joseph Myers <joseph@codesourcery.com>
44634
44635 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
44636
81c0c964
PT
446372012-01-22 Pino Toscano <toscano.pino@tiscali.it>
44638
44639 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
44640 of the non-standard EPFNOSUPPORT.
44641
0ea698ae
ST
446422011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
44643
44644 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
44645 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
44646 ANYWHERE set to 1 only on KERN_NO_SPACE error.
44647
d220b117
UD
446482012-01-21 Ulrich Drepper <drepper@gmail.com>
44649
44650 * wcsmbs/uchar.h: Test __STDC_VERSION__.
44651
3e1aa84e
UD
446522012-01-20 Ulrich Drepper <drepper@gmail.com>
44653
44654 * nscd/aicache.c (addhstaiX): Do not cache negative results of
44655 transient errors.
44656 * nscd/grpcache.c (cache_addgr): Likewise.
44657 * nscd/hstcache.c (cache_addhst): Likewise.
44658 * nscd/initgrcache.c (addinitgroupsX): Likewise.
44659 * nscd/pwdcache.c (cache_addpw): Likewise.
44660 * nscd/servicescache.c (cache_addserv): Likewise.
44661
400aa020
UD
446622012-01-16 Ulrich Drepper <drepper@gmail.com>
44663
d77e7869
UD
44664 * malloc/malloc.c: Various cleanups.
44665 * malloc/hooks.c: Likewise.
44666
400aa020
UD
44667 * stdlib/Makefile (tests): Add bug-fmtmsg1.
44668 * stdlib/bug-fmtmsg1.c: New file.
44669
44670 * stdlib/fmtmsg.c (init): Add missing unlock.
44671 Patch by Peng Haitao <penght@cn.fujitsu.com>.
44672
e0a309cf
MP
446732012-01-12 Marek Polacek <polacek@redhat.com>
44674
44675 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
44676 and _GNU_SOURCE.
44677
929d11c7
WS
446782012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
44679
44680 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
44681 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
44682 macro to ensure uniqueness of label name.
44683 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
44684 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
44685
41d0e869
UD
446862012-01-11 Ulrich Drepper <drepper@gmail.com>
44687
0cc5ed3b
UD
44688 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
44689
41d0e869
UD
44690 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
44691 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
44692 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
44693 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
44694
a47a831a
UD
446952012-01-10 Ulrich Drepper <drepper@gmail.com>
44696
daa891c0
UD
44697 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
44698
44699 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
44700 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
44701 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
44702
e58ef0f2
UD
44703 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
44704
a47a831a 44705 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
44706 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
44707 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 44708 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
44709
44710 * math/bits/math-finite.h: Add ldexp support.
44711
a0bfc9c7
MP
447122012-01-10 Marek Polacek <polacek@redhat.com>
44713
44714 * locale/programs/localedef.h (show_archive_content): Add noreturn
44715 attribute.
44716
d6e97a1d
UD
447172012-01-09 Ulrich Drepper <drepper@gmail.com>
44718
44719 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
44720
d5835c26
UD
447212012-01-08 Ulrich Drepper <drepper@gmail.com>
44722
e5f484c6
UD
44723 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
44724
d5835c26
UD
44725 * io/Makefile (headers): Add bits/poll2.h.
44726
d1f741e9
WS
447272011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
44728
44729 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
44730 typo #include statement.
44731
ec09c1c4
UD
447322012-01-08 Ulrich Drepper <drepper@gmail.com>
44733
44734 * include/sys/cdefs.h: Define __attribute_alloc_size.
44735 * catgets/gencat.c: Add alloc_size attribute and apply consistently
44736 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
44737 * elf/pldd.c: Likewise.
44738 * iconv/iconv_charmap.c: Likewise.
44739 * iconv/iconvconfig.c: Likewise.
44740 * iconv/strtab.c: Likewise.
44741 * locale/programs/locale.c: Likewise.
44742 * locale/programs/localedef.h: Likewise.
44743 * locale/programs/simple-hash.c: Likewise.
44744 * nscd/nscd.h: Likewise.
44745 * nss/makedb.c: Likewise.
44746 * sysdeps/generic/ldconfig.h: Likewise.
44747 * locale/programs/localedef.c: Remove xmalloc prototype.
44748 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
44749
20b38e03
PP
447502012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
44751
44752 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
44753 appropriate.
44754
a0da5fe1
UD
447552012-01-08 Ulrich Drepper <drepper@gmail.com>
44756
1d5a644a 44757 * math/Makefile (tests): Add tst-CMPLX.
669704fd 44758 * math/tst-CMPLX.c: New file.
1d5a644a 44759
8784a6db
UD
44760 * math/complex.h (CMPLXL): Fix typo.
44761
d9a216c0
UD
44762 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
44763 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
44764 GLIBC_2.16.
44765 * debug/tst-chk1.c: Add poll and ppoll tests.
44766 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
44767 * include/sys/poll.h: Add hidden proto for ppoll.
44768 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
44769 * sysdeps/mach/hurd/ppoll.c: Likewise.
44770 * io/ppoll.c: Likewise.
44771 * debug/poll_chk.c: New file.
44772 * debug/ppoll_chk.c: New file.
44773 * include/bits/poll2.h: New file.
44774 * io/bits/poll2.h: New file.
44775
ac097f5c
UD
44776 [BZ #1350]
44777 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
44778
2119dcfa
UD
44779 * configure.in: static is always set to yes. Remove.
44780 * config.make.in: Don't set build-static.
44781 * Makeconfig: Remove use of build-static.
44782 * dlfcn/Makefile: Likewise.
44783 * elf/Makefile: Likewise.
44784 * math/Makefile: Likewise.
44785 * misc/Makefile: Likewise.
44786 * nptl/Makefile: Likewise.
44787 * sysdeps/mach/hurd/Makefile: Likewise.
44788
121766a9
UD
44789 * configure.in: PWD_P is not used anymore.
44790 * config.make.in: Remove PWD_P entry.
44791
51a1d39c 44792 * configure.in: Remove last remnants of RANLIB.
8720d066 44793 No need to check for signed size_t anymore.
215f4bdc
UD
44794 Don't set libc_commonpagesize and libc_relro_required here for Alpha
44795 and IA-64.
3857022a 44796 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
44797 * aclocal.m4: Likewise.
44798
d3ed7225
UD
44799 * wcsmbs/mbrtoc16.c: Implement using towc function.
44800 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
44801 * wcsmbs/wcsmbsload.c: Likewise.
44802 * iconv/gconv_simple.c: Likewise.
44803 * iconv/gconv_int.h: Likewise.
44804 * iconv/gconv_builtin.h: Likewise.
44805 * iconv/iconv_prog.c: Remove CHAR16 handling.
44806
44807 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
44808
44809 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
44810
a0da5fe1
UD
44811 * configure.in: Remove --with-elf and --enable-bounded options.
44812 Dont set base_machine for ia64. More non-ELF conditions removed.
44813 Remove testing and setting of leading underscore information.
44814 * config.make.in (build-bounded): Set to no.
44815 * config.h.in: Remove NO_UNDERSCORES entry.
44816 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
44817 them.
44818 * csu/start.c: Remove !NO_UNDERSCORE code.
44819 * locale/localeinfo.h: Likewise.
44820 * sysdeps/generic/machine-gmon.h: Likewise.
44821 * sysdeps/generic/sysdep.h: Likewise.
44822 * sysdeps/i386/sysdep.h: Likewise.
44823 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
44824 * sysdeps/mach/sysdep.h: Likewise.
44825 * sysdeps/s390/s390-32/sysdep.h: Likewise.
44826 * sysdeps/s390/s390-64/sysdep.h: Likewise.
44827 * sysdeps/sh/sysdep.h: Likewise.
44828 * sysdeps/sparc/sparc32/alloca.S: Likewise.
44829 * sysdeps/unix/i386/sysdep.S: Likewise.
44830 * sysdeps/unix/sparc/start.c: Likewise.
44831 * sysdeps/unix/sparc/sysdep.S: Likewise.
44832 * sysdeps/unix/sparc/sysdep.h: Likewise.
44833 * sysdeps/unix/start.c: Likewise.
44834 * sysdeps/unix/x86_64/sysdep.S: Likewise.
44835 * sysdeps/x86_64/sysdep.h: Likewise.
44836
df78418a
UD
448372012-01-07 Ulrich Drepper <drepper@gmail.com>
44838
a784e502
UD
44839 [BZ #13553]
44840 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
44841 for non-gcc.
44842 * argp/argp-fmtstream.h: Use const instead __const.
44843 * argp/argp.h: Likewise.
44844 * assert/assert.h: Likewise.
44845 * bits/fenv.h: Likewise.
44846 * bits/sched.h: Likewise.
44847 * bits/sigset.h: Likewise.
44848 * bits/sigthread.h: Likewise.
44849 * catgets/nl_types.h: Likewise.
44850 * conform/data/pthread.h-data: Likewise.
44851 * crypt/crypt-private.h: Likewise.
44852 * crypt/crypt.h: Likewise.
44853 * crypt/crypt_util.c: Likewise.
44854 * ctype/ctype.h: Likewise.
44855 * debug/execinfo.h: Likewise.
44856 * debug/mbsnrtowcs_chk.c: Likewise.
44857 * debug/mbsrtowcs_chk.c: Likewise.
44858 * debug/wcsnrtombs_chk.c: Likewise.
44859 * debug/wcsrtombs_chk.c: Likewise.
44860 * debug/wcstombs_chk.c: Likewise.
44861 * dirent/dirent.h: Likewise.
44862 * dlfcn/dlfcn.h: Likewise.
44863 * elf/neededtest4.c: Likewise.
44864 * grp/grp.h: Likewise.
44865 * gshadow/gshadow.h: Likewise.
44866 * iconv/gconv.h: Likewise.
44867 * iconv/gconv_int.h: Likewise.
44868 * iconv/gconv_simple.c: Likewise.
44869 * iconv/iconv.h: Likewise.
44870 * iconv/loop.c: Likewise.
44871 * iconv/skeleton.c: Likewise.
44872 * include/aio.h: Likewise.
44873 * include/aliases.h: Likewise.
44874 * include/argz.h: Likewise.
44875 * include/arpa/inet.h: Likewise.
44876 * include/assert.h: Likewise.
44877 * include/dirent.h: Likewise.
44878 * include/dlfcn.h: Likewise.
44879 * include/execinfo.h: Likewise.
44880 * include/fcntl.h: Likewise.
44881 * include/fenv.h: Likewise.
44882 * include/glob.h: Likewise.
44883 * include/grp.h: Likewise.
44884 * include/libintl.h: Likewise.
44885 * include/mntent.h: Likewise.
44886 * include/netdb.h: Likewise.
44887 * include/pwd.h: Likewise.
44888 * include/rpc/netdb.h: Likewise.
44889 * include/sched.h: Likewise.
44890 * include/search.h: Likewise.
44891 * include/shadow.h: Likewise.
44892 * include/signal.h: Likewise.
44893 * include/stdio.h: Likewise.
44894 * include/stdlib.h: Likewise.
44895 * include/string.h: Likewise.
44896 * include/sys/socket.h: Likewise.
44897 * include/sys/stat.h: Likewise.
44898 * include/sys/statfs.h: Likewise.
44899 * include/sys/statvfs.h: Likewise.
44900 * include/sys/syslog.h: Likewise.
44901 * include/sys/time.h: Likewise.
44902 * include/sys/uio.h: Likewise.
44903 * include/time.h: Likewise.
44904 * include/unistd.h: Likewise.
44905 * include/utmp.h: Likewise.
44906 * include/wchar.h: Likewise.
44907 * include/wctype.h: Likewise.
44908 * inet/aliases.h: Likewise.
44909 * inet/arpa/inet.h: Likewise.
44910 * inet/netinet/ether.h: Likewise.
44911 * inet/netinet/in.h: Likewise.
44912 * intl/libintl.h: Likewise.
44913 * io/bits/fcntl2.h: Likewise.
44914 * io/fcntl.h: Likewise.
44915 * io/ftw.h: Likewise.
44916 * io/sys/poll.h: Likewise.
44917 * io/sys/stat.h: Likewise.
44918 * io/sys/statfs.h: Likewise.
44919 * io/sys/statvfs.h: Likewise.
44920 * io/utime.h: Likewise.
44921 * libio/bits/stdio.h: Likewise.
44922 * libio/bits/stdio2.h: Likewise.
44923 * libio/libio.h: Likewise.
44924 * libio/libioP.h: Likewise.
44925 * libio/stdio.h: Likewise.
44926 * locale/lc-ctype.c: Likewise.
44927 * locale/locale.h: Likewise.
44928 * login/utmp.h: Likewise.
44929 * malloc/arena.c: Likewise.
44930 * malloc/malloc.c: Likewise.
44931 * malloc/malloc.h: Likewise.
44932 * malloc/mcheck.c: Likewise.
44933 * malloc/mtrace.c: Likewise.
44934 * math/bits/mathcalls.h: Likewise.
44935 * math/fenv.h: Likewise.
44936 * math/math_private.h: Likewise.
44937 * misc/bits/error.h: Likewise.
44938 * misc/bits/syslog.h: Likewise.
44939 * misc/err.h: Likewise.
44940 * misc/error.h: Likewise.
44941 * misc/fstab.h: Likewise.
44942 * misc/mntent.h: Likewise.
44943 * misc/regexp.h: Likewise.
44944 * misc/search.h: Likewise.
44945 * misc/sgtty.h: Likewise.
44946 * misc/sys/mman.h: Likewise.
44947 * misc/sys/syslog.h: Likewise.
44948 * misc/sys/uio.h: Likewise.
44949 * misc/sys/xattr.h: Likewise.
44950 * misc/ttyent.h: Likewise.
44951 * nis/rpcsvc/ypclnt.h: Likewise.
44952 * nss/nss.h: Likewise.
44953 * posix/bits/unistd.h: Likewise.
44954 * posix/fnmatch.h: Likewise.
44955 * posix/glob.h: Likewise.
44956 * posix/sched.h: Likewise.
44957 * posix/spawn.h: Likewise.
44958 * posix/sys/wait.h: Likewise.
44959 * posix/unistd.h: Likewise.
44960 * posix/wordexp.h: Likewise.
44961 * pwd/pwd.h: Likewise.
44962 * resolv/netdb.h: Likewise.
44963 * resource/sys/resource.h: Likewise.
44964 * rt/aio.h: Likewise.
44965 * rt/bits/mqueue2.h: Likewise.
44966 * rt/mqueue.h: Likewise.
44967 * shadow/shadow.h: Likewise.
44968 * signal/signal.h: Likewise.
44969 * socket/send.c: Likewise.
44970 * socket/sendto.c: Likewise.
44971 * socket/sys/socket.h: Likewise.
44972 * stdio-common/printf.h: Likewise.
44973 * stdlib/bits/stdlib.h: Likewise.
44974 * stdlib/fmtmsg.h: Likewise.
44975 * stdlib/monetary.h: Likewise.
44976 * stdlib/stdlib.h: Likewise.
44977 * stdlib/ucontext.h: Likewise.
44978 * streams/stropts.h: Likewise.
44979 * string/argz.h: Likewise.
44980 * string/bits/string2.h: Likewise.
44981 * string/string.h: Likewise.
44982 * string/strings.h: Likewise.
44983 * sunrpc/rpc/auth.h: Likewise.
44984 * sunrpc/rpc/auth_des.h: Likewise.
44985 * sunrpc/rpc/clnt.h: Likewise.
44986 * sunrpc/rpc/netdb.h: Likewise.
44987 * sunrpc/rpc/pmap_clnt.h: Likewise.
44988 * sunrpc/rpc/xdr.h: Likewise.
44989 * sysdeps/generic/inttypes.h: Likewise.
44990 * sysdeps/generic/net/if.h: Likewise.
44991 * sysdeps/generic/sys/swap.h: Likewise.
44992 * sysdeps/gnu/net/if.h: Likewise.
44993 * sysdeps/gnu/utmpx.h: Likewise.
44994 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
44995 * sysdeps/i386/i486/bits/string.h: Likewise.
44996 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
44997 * sysdeps/s390/bits/string.h: Likewise.
44998 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
44999 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
45000 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
45001 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
45002 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
45003 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
45004 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
45005 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
45006 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
45007 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
45008 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
45009 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
45010 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
45011 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
45012 * sysdeps/unix/sysv/linux/readv.c: Likewise.
45013 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
45014 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
45015 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
45016 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
45017 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
45018 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
45019 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
45020 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
45021 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
45022 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
45023 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
45024 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
45025 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
45026 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
45027 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
45028 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
45029 * sysvipc/sys/ipc.h: Likewise.
45030 * sysvipc/sys/msg.h: Likewise.
45031 * sysvipc/sys/sem.h: Likewise.
45032 * sysvipc/sys/shm.h: Likewise.
45033 * termios/termios.h: Likewise.
45034 * time/sys/time.h: Likewise.
45035 * time/time.h: Likewise.
45036 * wcsmbs/bits/wchar2.h: Likewise.
45037 * wcsmbs/uchar.h: Likewise.
45038 * wcsmbs/wchar.h: Likewise.
45039 * wctype/wctype.h: Likewise.
45040
0269750c
UD
45041 [BZ #13551]
45042 * Makeconfig: Remove all but ELF support including AIX support.
45043 * Makerules: Likewise.
45044 * config.h.in: Likewise.
45045 * config.make.in: Likewise.
45046 * configure: Likewise.
45047 * configure.in: Likewise.
45048 * csu/Makefile: Likewise.
45049 * csu/version.c: Likewise.
45050 * debug/Makefile: Likewise.
45051 * dlfcn/Makefile: Likewise.
45052 * elf/Makefile: Likewise.
45053 * extra-lib.mk: Likewise.
45054 * iconv/Makefile: Likewise.
45055 * include/libc-symbols.h: Likewise.
45056 * include/shlib-compat.h: Likewise.
45057 * resolv/Makefile: Likewise.
45058 * resolv/res_libc.c: Likewise.
45059 * rt/Makefile: Likewise.
45060 * sysdeps/i386/asm-syntax.h: Likewise.
45061 * sysdeps/i386/sysdep.h: Likewise.
45062 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
45063 * sysdeps/mach/sysdep.h: Likewise.
45064 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
45065 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
45066 * sysdeps/s390/asm-syntax.h: Likewise.
45067 * sysdeps/s390/s390-32/sysdep.h: Likewise.
45068 * sysdeps/s390/s390-64/sysdep.h: Likewise.
45069 * sysdeps/sh/sysdep.h: Likewise.
45070 * sysdeps/unix/sparc/sysdep.h: Likewise.
45071 * sysdeps/wordsize-32/divdi3.c: Likewise.
45072 * sysdeps/x86_64/sysdep.h: Likewise.
45073
00bbd29b
UD
45074 * argp/Versions: Remove _argp_unlock_xxx.
45075
45076 [BZ #13559]
45077 * abilist/ld.abilist: Update. Adjust for removal of tls option.
45078 * abilist/libBrokenLocale.abilist: Likewise.
45079 * abilist/libanl.abilist: Likewise.
45080 * abilist/libc.abilist: Likewise.
45081 * abilist/libcrypt.abilist: Likewise.
45082 * abilist/libdl.abilist: Likewise.
45083 * abilist/libm.abilist: Likewise.
45084 * abilist/libnsl.abilist: Likewise.
45085 * abilist/libpthread.abilist: Likewise.
45086 * abilist/libresolv.abilist: Likewise.
45087 * abilist/librt.abilist: Likewise.
45088 * abilist/libthread_db.abilist: Likewise.
45089 * abilist/libutil.abilist: Likewise.
45090 * abilist/libnss_db.abilist: New file.
45091
45092 * scripts/abilist.awk: Add support for indirect functions.
45093
a2693a0e
UD
45094 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
45095
3f05895f
UD
45096 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
45097
ecb6fb48
UD
45098 * shlib-versions: Remove entries for ports architectures.
45099
664f8cb9
UD
45100 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
45101 files in ports.
45102 * elf/stackguard-macros.h: Remove support for IA-64.
45103 * elf/tst-auditmod1.c: Likewise.
45104 * sysdeps/generic/ldsodefs.h: Likewise.
45105
7ae81d88
UD
45106 * sysdeps/unix/sysv/linux/configure.in: Ports should define
45107 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
45108 configure files.
45109
bdeba135
UD
45110 [BZ #13552]
45111 * configure.in: Remove --enable-omitfp support.
45112 * FAQ.in: Adjust.
45113 * config.make.in: Likewise.
45114 * Makeconfig: Likewise.
45115 * manual/install.texi: Likewise.
45116
d75a0a62
UD
45117 In case anyone cares, the IA-64 architecture could move to ports.
45118 * sysdeps/ia64/*: Removed.
45119 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 45120 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 45121
dcc9756b
UD
45122 [BZ #13555]
45123 * configure.in: Remove entries for unsupported architectures.
45124
d3761ebc 45125 [BZ #13533]
9954432e
UD
45126 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
45127 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
45128 routines.
45129 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
45130 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
45131 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
45132 fall back to using wcrtomb.
45133 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
45134 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
45135 renaming.
45136 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
45137 * wcsmbs/tst-c16c32-1.c: New file.
45138
45139 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
45140 local variable.
45141
c3a87236
UD
45142 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
45143
28926a1b
UD
45144 * elf/tst-unique3.cc: Add explicit declaration of gets.
45145 * elf/tst-unique3lib.cc: Likewise.
45146 * elf/tst-unique3lib2.cc: Likewise.
45147 * elf/tst-unique4.cc: Likewise.
45148
df78418a
UD
45149 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
45150
8ecd6b2a
JM
451512012-01-06 Joseph Myers <joseph@codesourcery.com>
45152
45153 [BZ #13566]
45154 * assert/assert.h (static_assert): Don't define for C++.
45155 * libio/stdio.h (gets): Do declare for C++ <= C++11.
45156 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
45157
9f115170
UD
451582012-01-03 Ulrich Drepper <drepper@gmail.com>
45159
5e0d0300
UD
45160 * iconv/loop.c (single loop): Fix assertion in storing of
45161 remaining bytes.
45162
9f115170
UD
45163 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
45164
81fb02b0
UD
451652012-01-01 Ulrich Drepper <drepper@gmail.com>
45166
45167 * posix/getconf.c: Update copyright year.
45168 * nss/getent.c: Likewise.
a316c1f6 45169 * nss/makedb.c: Likewise.
81fb02b0
UD
45170 * iconv/iconvconfig.c: Likewise.
45171 * iconv/iconv_prog.c: Likewise.
45172 * elf/ldconfig.c: Likewise.
a316c1f6
UD
45173 * elf/pldd.c: Likewise.
45174 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
45175 * catgets/gencat.c: Likewise.
45176 * csu/version.c: Likewise.
45177 * elf/ldd.bash.in: Likewise.
45178 * elf/sprof.c (print_version): Likewise.
45179 * locale/programs/locale.c: Likewise.
45180 * locale/programs/localedef.c: Likewise.
a316c1f6 45181 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
45182 * nscd/nscd.c (print_version): Likewise.
45183 * debug/xtrace.sh: Likewise.
45184 * malloc/memusage.sh: Likewise.
45185 * malloc/mtrace.pl: Likewise.
45186 * debug/catchsegv.sh: Likewise.
45187
2ba92745
JJ
451882011-12-30 Jakub Jelinek <jakub@redhat.com>
45189
45190 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
45191 pure attribute.
45192
dadebdae
UD
451932011-12-24 Ulrich Drepper <drepper@gmail.com>
45194
d3761ebc 45195 [BZ #13533]
db6af3eb
UD
45196 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
45197 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
45198 transformations.
45199 * iconv/gconv_int.h: Likewise.
45200 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
45201 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
45202 from libc for GLIBC_2.16.
45203 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
45204 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
45205 * wcsmbs/uchar.h: Really define mbstate_t.
45206 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
45207 * wcsmbs/c16rtomb.c: New file.
45208 * wcsmbs/mbrtoc16.c: New file.
45209 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
45210 for C/POSIX locale.
45211 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
45212 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
45213
dadebdae
UD
45214 * wcsmbs/wchar.h: Add missing __restrict.
45215
67371b56
UD
452162011-12-23 Ulrich Drepper <drepper@gmail.com>
45217
74033a25
UD
45218 [BZ #13532]
45219 * time/Makefile (routines): Add timespec_get.
45220 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
45221 * time/time.h: Define TIME_UTC and declare timespec_get. Define
45222 timespec for ISO C11.
45223 * time/timespec_get.c: New file.
45224 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
45225 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
45226
380d7e87
UD
45227 [BZ #13531]
45228 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
45229 * stdlib/stdlib.h: Declare aligned_alloc.
45230 * Versions.def: Add GLIBC_2.16 for libc.
45231 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
45232
4e9e7a35
UD
45233 [BZ 13527]
45234 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
45235 ISO C11.
45236
380d7e87 45237 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
45238 code.
45239
03a71829
UD
45240 [BZ #13528]
45241 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
45242
839e283e
UD
45243 [BZ #13529]
45244 * assert/assert.h (static_assert): Define.
45245
ce5294e2 45246 * version.h: Update for 2.16 development version.
90fa7312 45247
8d44e150 45248 [BZ #13526]
d7809905
UD
45249 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
45250 _ISOC11_SOURCE.
45251
c0da14cd
UD
45252 * version.h (RELEASE): Bump for 2.15 release.
45253 * include/features.h (__GLIBC_MINOR__): Bump to 15.
45254
530a3249
MP
45255 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
45256 Patch by Marek Polacek <mpolacek@redhat.com>.
45257
67371b56
UD
45258 * bits/byteswap.h: Protect long long constants with __extension__.
45259 * sysdeps/i386/bits/byteswap.h: Likewise.
45260 * sysdeps/ia64/bits/byteswap.h: Likewise.
45261 * sysdeps/s390/bits/byteswap.h: Likewise.
45262 * sysdeps/x86_64/bits/byteswap.h: Likewise.
45263
15db4de1
LD
452642011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
45265
45266 [BZ #13540]
bbe315ea
LD
45267 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
45268 destination buffer.
15db4de1
LD
45269 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
45270
2b2596b1
MP
452712011-12-23 Marek Polacek <polacek@redhat.com>
45272
45273 * elf/dl-addr.c (determine_info): Add inline keyword.
45274 * elf/tst-auditmod4b.c (check_avx): Likewise.
45275 * elf/tst-auditmod6b.c (check_avx): Likewise.
45276 * elf/tst-auditmod6c.c (check_avx): Likewise.
45277 * elf/tst-auditmod7b.c (check_avx): Likewise.
45278
70c6c246
UD
452792011-12-23 Ulrich Drepper <drepper@gmail.com>
45280
45281 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
45282 !__SSE_MATH__.
45283
c044cf14
LD
452842011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
45285
15db4de1 45286 [BZ #13540]
c044cf14
LD
45287 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
45288 processing for last bytes.
45289
6b13d9d9
BH
452902011-08-06 Bruno Haible <bruno@clisp.org>
45291
d455f537
BH
45292 [BZ #13061]
45293 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
45294 U+0385, not to U+1FEE.
45295
6b13d9d9
BH
45296 [BZ #13062]
45297 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
45298 entry for U+00A5 U+0301.
45299
db910efd
UD
453002011-12-22 Ulrich Drepper <drepper@gmail.com>
45301
27deeafc
UD
45302 [BZ #13166]
45303 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
45304 buffer for the output is too small.
45305
aed9d171
UD
45306 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
45307 optimization.
45308
db910efd
UD
45309 [BZ #13185]
45310 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
45311 SSE flags if possible.
45312
2bd779ae
LD
453132011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
45314
e7f9dac3 45315 [BZ #13540]
2bd779ae
LD
45316 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
45317 processing for last bytes.
45318
154bfc16
JM
453192011-12-22 Joseph Myers <joseph@codesourcery.com>
45320
45321 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
45322 (syscall-list-default-options, syscall-list-default-condition)
45323 (syscall-list-includes): Define.
45324 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
45325 list of ABIs and options and #if conditions for each ABI. Do not
45326 handle common syscalls between ABIs specially.
45327 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
45328 Remove.
45329 (syscall-list-variants, syscall-list-32bit-options)
45330 (syscall-list-32bit-condition, syscall-list-64bit-options)
45331 (syscall-list-64bit-condition): Define.
45332 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): 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 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
45337 Remove.
45338 (syscall-list-variants, syscall-list-32bit-options)
45339 (syscall-list-32bit-condition, syscall-list-64bit-options)
45340 (syscall-list-64bit-condition): Define.
45341 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
45342 Remove.
45343 (syscall-list-variants, syscall-list-32bit-options)
45344 (syscall-list-32bit-condition, syscall-list-64bit-options)
45345 (syscall-list-64bit-condition): Define.
45346
21eaf3a5
UD
453472011-12-22 Ulrich Drepper <drepper@gmail.com>
45348
16c6f992
UD
45349 * locale/iso-639.def: Add brx entry.
45350
41043168
UD
45351 [BZ #13328]
45352 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
45353 Proposed by Mariusz_Cukr <marcukr@op.pl>.
45354
21eaf3a5
UD
45355 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
45356 __feraiseexcept_renamed.
45357
e3a851a2
UD
453582011-12-21 Ulrich Drepper <drepper@gmail.com>
45359
4920765e
UD
45360 [BZ #13538]
45361 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
45362 EPOLLET with unsigned values.
45363 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
45364 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
45365
e3a851a2
UD
45366 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
45367 to large cancellation.
45368 * math/s_cacoshf.c: Likewise.
45369 * math/s_cacoshl.c: Likewise.
45370
b27e24b8
RK
453712011-11-18 Richard B. Kreckel <kreckel@ginac.de>
45372
45373 [BZ #13305]
aebefeee 45374 [BZ #12786]
b27e24b8
RK
45375 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
45376 * math/s_cacoshf.c: Likewise.
45377 * math/s_cacoshl.c: Likewise.
45378
ee190f67
UD
453792011-12-21 Ulrich Drepper <drepper@gmail.com>
45380
45381 [BZ #13439]
45382 * iconv/gconv.h: Define __GCONV_SWAP.
45383 * iconvdata/unicode.c: The swap bit must be stored in __flags.
45384 * iconvdata/utf-16.c: Likewise.
45385 * iconvdata/utf-32.c: Likewise.
45386
707f25df
AS
453872011-12-21 Andreas Schwab <schwab@linux-m68k.org>
45388
45389 [BZ #13524]
45390 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
45391 numerator after shifting it by one limb.
45392
d2daaa1e
RÁE
453932011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
45394
45395 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
45396 under [__USE_EXTERN_INLINES].
45397
a4647e72
UD
453982011-12-17 Ulrich Drepper <drepper@gmail.com>
45399
45400 [BZ #13446]
45401 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
45402
f0b264f1
AZ
454032011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
45404
45405 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
45406 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
45407 optimized code.
45408 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
45409 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
45410 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
45411 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
45412 for strncasecmp/strncasecmp_l compilation.
45413 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
45414 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
45415
8ef4f244
MP
454162011-12-08 Marek Polacek <mpolacek@redhat.com>
45417
45418 [BZ #13484]
45419 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
45420 of __asm__.
45421
97ac2654
UD
454222011-12-17 Ulrich Drepper <drepper@gmail.com>
45423
45424 [BZ #13506]
45425 * time/tzfile.c (__tzfile_read): Check values from file header.
45426
91d2a845
WS
454272011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
45428
45429 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
45430 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
45431 * powerpc/powerpc32/dl-start.S: Likewise.
45432 * powerpc/powerpc32/elf/start.S: Likewise.
45433 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
45434 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
45435 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
45436 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
45437 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
45438 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
45439 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
45440 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
45441 * powerpc/powerpc32/fpu/s_round.S: Likewise.
45442 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
45443 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
45444 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
45445 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
45446 * powerpc/powerpc32/memset.S: Likewise.
45447 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
45448 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
45449 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
45450 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
45451 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
45452 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
45453 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
45454 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
45455 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
45456 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
45457 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
45458 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
45459 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
45460
a1267ba1
AZ
454612011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
45462
45463 * math/libm-test.inc: Added more nearbyint tests.
45464 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
45465 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
45466 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
45467 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
45468
ad8ac1bd
RL
454692011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
45470
45471 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
45472 FD_CLOEXEC.
45473
1d3e4b61
UD
454742011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
45475
45476 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
45477 Add wcscpy-ssse3 wcscpy-c.
45478 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
45479 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
45480 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
45481 * sysdeps/x86_64/wcschr.S: New file.
45482 * sysdeps/x86_64/wcsrchr.S: New file.
45483 * string/test-strcmp.c: Remove checking of wcscmp function for
45484 wrong alignments.
45485 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
45486 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
45487 wcsrchr-sse2 wcsrchr-c.
45488 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
45489 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
45490 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
45491 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
45492 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
45493 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
45494 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
45495 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
45496 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
45497 * wcsmbc/wcschr.c (WCSCHR): New macro.
45498
5b330a2d
UD
454992011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
45500
45501 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
45502 * wcsmbs/test-wcsrchr.c: New file.
45503 * string/test-strrchr.c: Add wcsrchr support.
45504 (WIDE): New macro.
45505 * wcsmbs/test-wcscpy.c: New file.
45506 * string/test-strcpy.c: Add wcscpy support.
45507 (WIDE): New macro.
26428b7c 45508
f039c043
UD
455092011-12-10 Ulrich Drepper <drepper@gmail.com>
45510
45511 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
45512 the inner loop.
45513
850fb039
AS
455142011-12-06 Andreas Schwab <schwab@linux-m68k.org>
45515
45516 [BZ #13472]
45517 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
45518
4efbd5cb
UD
455192011-12-04 Ulrich Drepper <drepper@gmail.com>
45520
52ff5dd0 45521 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 45522 Minor optimizations.
52ff5dd0 45523
4efbd5cb
UD
45524 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
45525 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
45526 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
45527
8a426e12
UD
455282011-12-03 Ulrich Drepper <drepper@gmail.com>
45529
aff2453d
UD
45530 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
45531 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
45532 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
45533 for gcc to avoid warnings.
45534 * inet/Makefile (tests): Add tst-checks.
45535 * inet/tst-checks.c: New file.
45536
45537 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
45538 warning.
45539
45540 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
45541 __wmemcmp_sse2.
45542
45543 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
45544 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
45545
8a426e12
UD
45546 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
45547
9bea3473
UD
455482011-12-02 Ulrich Drepper <drepper@gmail.com>
45549
3a965496
UD
45550 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
45551 problem.
45552
9bea3473
UD
45553 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
45554
f101631b
UD
455552011-11-29 Joseph Myers <joseph@codesourcery.com>
45556
45557 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
45558 conditional on GCC version.
45559 (__arch_compare_and_exchange_val_8_acq)
45560 (__arch_compare_and_exchange_val_16_acq)
45561 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
45562 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
45563 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
45564
a98275aa
UD
455652011-12-02 Joseph Myers <joseph@codesourcery.com>
45566
45567 * sysdeps/sh/backtrace.c: New file.
45568
d4cc29a2
AS
455692011-12-02 Andreas Schwab <schwab@redhat.com>
45570
45571 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
45572 parenthesis.
45573
6257af2d
AS
455742011-12-01 Andreas Schwab <schwab@redhat.com>
45575
45576 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
45577 falling back to utime.
45578
b5f44c1a
AS
455792011-11-30 Andreas Schwab <schwab@redhat.com>
45580
45581 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
45582 expectations for float.
45583
f3a6cc0a
AS
455842011-11-29 Andreas Schwab <schwab@redhat.com>
45585
45586 * locale/weight.h (findidx): Add parameter len.
45587 * locale/weightwc.h (findidx): Likewise.
45588 * posix/fnmatch_loop.c (FCT): Adjust caller.
45589 * posix/regcomp.c (build_equiv_class): Likewise.
45590 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
45591 * posix/regexec.c (check_node_accept_bytes): Likewise.
45592 * string/strcoll_l.c (STRCOLL): Likewise.
45593 * string/strxfrm_l.c (STRXFRM): Likewise.
45594
9d65ea3a
UD
455952011-11-17 Ulrich Drepper <drepper@gmail.com>
45596
45597 * Makefile.in: Remove CVSOPT handling.
45598 * configure.in: Remove use of AC_REVISION.
45599 * iconvdata/Makefile (distribute): No need to filter out CVS.
45600 * scripts/list-sources.sh: Remove CVS, subversion and monotone
45601 handling.
45602
5583a086
AS
456032011-11-16 Andreas Schwab <schwab@redhat.com>
45604
45605 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
45606 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
45607 [USE_AS_STRNCASECMP_L]: Likewise.
45608 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
45609 NO_TLS_DIRECT_SEG_REFS.
45610 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
45611 Fix argument offsets for non-PIC.
45612 [USE_AS_STRNCASECMP_L]: Likewise.
45613 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
45614 NO_TLS_DIRECT_SEG_REFS.
45615
d62a8200
UD
456162011-11-15 Ulrich Drepper <drepper@gmail.com>
45617
9d65ea3a 45618 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
45619 O_CLOEXEC.
45620 * locale/loadlocale.c (_nl_load_locale): Likewise.
45621
09f93bd3
AS
456222011-11-15 Andreas Schwab <schwab@redhat.com>
45623
446514f9
AS
45624 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
45625 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
45626 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
45627 (SYSCALL_GETTIME): Set errno on error.
45628
09f93bd3
AS
45629 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
45630 count references to noai6ai_cached.
45631
312be3f9
UD
456322011-11-15 Ulrich Drepper <drepper@gmail.com>
45633
45634 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
45635
45636 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
45637 FD_CLOEXEC for /proc/self/maps.
45638
45639 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
45640 FD_CLOEXEC for /proc/meminfo.
45641
45642 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
45643 gai.conf.
45644
45645 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
45646 FD_CLOEXEC for given file.
45647
45648 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
45649
45650 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
45651 FD_CLOEXEC for /etc/hosts.
45652 (_gethtent): Likewise.
45653
45654 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
45655
45656 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
45657 cancellation and set FD_CLOEXEC for /etc/netgroup.
45658
45659 * nss/nss_files/files-key.c (search): Don't allow cancellation when
45660 reading /etc/publickey.
45661
45662 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
45663 allow cancellation when reading /etc/group.
45664
45665 * nss/nss_files/files-alias.c (internal_setent): Don't allow
45666 cancellation.
45667 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
45668
45669 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
45670 when using data file.
45671
45672 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
45673
45674 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
45675 (write_nis_obj): Use "c" and "e" in fopen.
45676
45677 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
45678
45679 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
45680
45681 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
45682
45683 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
45684
45685 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
45686 locale.alias.
45687
45688 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
45689
45690 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
45691
45692 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
45693
45694 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
45695 file parsing and set FD_CLOEXEC.
45696
82af0fa8
UD
456972011-11-14 Ulrich Drepper <drepper@gmail.com>
45698
45699 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
45700
a5fb313c
AS
457012011-11-14 Andreas Schwab <schwab@redhat.com>
45702
45703 * malloc/arena.c (arena_get2): Don't call reused_arena when
45704 _int_new_arena failed.
45705
6abf3465
UD
457062011-11-14 Ulrich Drepper <drepper@gmail.com>
45707
45708 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
45709 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
45710 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
45711 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
45712 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
45713 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
45714 to compile strcasecmp and strncasecmp.
45715 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
45716 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
45717
45718 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
45719
76e3966e
UD
457202011-11-13 Ulrich Drepper <drepper@gmail.com>
45721
45722 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
45723 locale-defines.sym to gen-as-const-headers.
45724 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
45725 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
45726 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
45727 to compile strcasecmp and strncasecmp.
45728 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
45729 strcasecmp_l and strncasecmp_l.
45730 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
45731 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
45732 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
45733 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
45734 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
45735 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
45736 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
45737 * sysdeps/i386/i686/multiarch/strncase.S: New file.
45738 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
45739 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
45740 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
45741
ab26144e
UD
457422011-11-12 Ulrich Drepper <drepper@gmail.com>
45743
7edb22ef
UD
45744 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
45745 result of SYSDEP_GETTIME_CPU to retval.
45746 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
45747 parameter list to macro. Remove trailing semicolon. Adjust users.
45748
9694fc44
UD
45749 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
45750 variable.
45751
8ad89ef8
UD
45752 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
45753 mantissa words.
45754 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
45755
0c822ef9
UD
45756 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
45757 from unused variable.
45758
874e0564
UD
45759 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
45760 DWARF definitions.
45761 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
45762 for assembling.
45763
3a2edc79
UD
45764 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
45765 over namespaces.
45766
f3c2577f
UD
45767 * sunrpc/rpc_prot.c (rejected): Fix case value.
45768
294ce126
UD
45769 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
45770 unsigned long long int to avoid warnings in shift.
45771
5e2b63c6
UD
45772 * posix/regex_internal.c (re_string_reconstruct): Actually use result
45773 of use of trans.
45774 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
45775 variable tmp.
45776
e7f4b08e
UD
45777 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
45778 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
45779 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
45780
ab26144e
UD
45781 * nis/nis_table.c (nis_list): Use variable of correct type for
45782 result of __follow_path call.
45783
8a6d5255
AZ
457842011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
45785
45786 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
45787 of math functions ceil, trunc, floor, round, and sqrt, when
45788 avaliable on the platform.
45789 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
45790 name clash.
45791 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
45792 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
45793 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
45794
aaddc98c
MP
457952011-10-30 Marek Polacek <mpolacek@redhat.com>
45796
45797 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
45798 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
45799
95b7042b
RM
458002011-11-11 Roland McGrath <roland@hack.frob.com>
45801
45802 * include/unistd.h: Fix __readlink return type.
45803 Reported by Chris Metcalf <cmetcalf@tilera.com>.
45804
57769839
UD
458052011-11-11 Ulrich Drepper <drepper@gmail.com>
45806
45807 * stdlib/ucontext.h: Undo last change for makecontext.
45808
edc5984d
AS
458092011-11-11 Andreas Schwab <schwab@redhat.com>
45810
98591e58
AS
45811 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
45812
edc5984d
AS
45813 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
45814 * setjmp/setjmp.h: Mark functions as non-leaf.
45815 * setjmp/bits/setjmp2.h: Likewise.
45816 * stdlib/ucontext.h: Likewise.
45817
77cdc054
AS
458182011-11-10 Andreas Schwab <schwab@redhat.com>
45819
45820 * malloc/arena.c (_int_new_arena): Don't increment narenas.
45821 (reused_arena): Don't check arena limit.
45822 (arena_get2): Atomically check arena limit.
45823
fe72eebd
UD
458242011-11-08 Ulrich Drepper <drepper@gmail.com>
45825
5f078c32
UD
45826 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
45827 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
45828
fe72eebd
UD
45829 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
45830 instructions.
45831
ae1bc2fa
AS
458322011-11-07 Andreas Schwab <schwab@redhat.com>
45833
7583a88d
AS
45834 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
45835 handler when locking.
45836
ae1bc2fa
AS
45837 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
45838 Fix size of allocated buffer.
45839
10fb0bfa
AS
458402011-11-04 Andreas Schwab <schwab@redhat.com>
45841
998832a4
AS
45842 [BZ #10103]
45843 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
45844 declarations for long double functions.
45845 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
45846
10fb0bfa
AS
45847 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
45848
3d7ba52b
AS
458492011-11-03 Andreas Schwab <schwab@redhat.com>
45850
a9ae54a1
AS
45851 * nscd/nscd.c (main): Don't start AVC thread until credentials are
45852 installed.
45853
3d7ba52b
AS
45854 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
45855 is disabled.
45856
bc8db248
ST
458572011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
45858
45859 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
45860
45b96dd6
AS
458612011-11-01 Andreas Schwab <schwab@linux-m68k.org>
45862
647776f6
AS
45863 * include/alloca.h (stackinfo_alloca_round): Define.
45864 (extend_alloca): Use it.
45865 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
45866 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
45867 here.
45868
d91a8b93
AS
45869 * scripts/check-local-headers.sh: Ignore libaudit.h.
45870
45b96dd6
AS
45871 * nscd/Makefile (extra-objs): Make recursively expanded.
45872
432d41ce
UD
458732011-11-01 Ulrich Drepper <drepper@gmail.com>
45874
34372fc6
UD
45875 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
45876 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
45877
fadb59f8
UD
45878 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
45879 * posix/tst-rfc3484-2.c: Likewise.
45880 * posix/tst-rfc3484-3.c: Likewise.
45881
78239589
UD
45882 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
45883 process_vm_writev.
45884 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
45885 process_vm_writev.
45886 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
45887 process_vm_writev from libc using GLIBC_2.15 version.
45888
432d41ce
UD
45889 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
45890
02f9c6cf
PP
458912011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
45892
45893 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
45894 stack usage.
45895
3a2c0242
UD
458962011-10-31 Ulrich Drepper <drepper@gmail.com>
45897
f4ec4833
UD
45898 [BZ #13367]
45899 * nss/getent.c (initgroups_keys): Show error message in case no group
45900 names are given.
45901
3a2c0242
UD
45902 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
45903 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
45904 __bump_nl_timestamp.
45905 * nscd/connections (nscd_init): When host database is served open
45906 netlink socket and request notification about configuration changes.
45907 (main_loop_poll): Track netlink file descriptor and bump timestamp
45908 in case data becomes available.
45909 (main_loop_epoll): Likewise.
45910 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
45911 (database_pers_head): Add extra_data fileds.
45912 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
45913 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
45914 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
45915 Adjust caller.
45916 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
45917 in6ai data, call __free_in6ai.
45918 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
45919 Add -DHAVE_NETLINK.
45920 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
45921 interface information. Reuse previous data if netlink timestamp
45922 is not changed.
45923 (__bump_nl_timestamp): New function.
45924 (__free_in6ai): New function.
45925
636064eb
UD
459262011-10-30 Ulrich Drepper <drepper@gmail.com>
45927
45928 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
45929 close_not_cancel_no_status here.
45930 (__check_pf): Reorganize code a bit to not call close twice if OOM.
45931
9beb2334
UD
459322011-10-29 Ulrich Drepper <drepper@gmail.com>
45933
6ef76f3b
UD
45934 [BZ #13276]
45935 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
45936 return value.
45937
0ffc4f3e 45938 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
45939 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
45940 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
45941
cb95113e
UD
459422011-07-03 Andreas Jaeger <aj@suse.de>
45943
45944 [BZ #10709]
45945 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
45946 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
45947 * math/libm-test.inc (sin_test): Add test case.
45948
a1b560ff
UD
459492011-10-29 Ulrich Drepper <drepper@gmail.com>
45950
c9aaface
UD
45951 [BZ #13337]
45952 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
45953 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
45954
d272e7f1
UD
45955 * elf/chroot_canon.c (chroot_canon): Cleanups.
45956
1bc33071
UD
45957 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
45958
1760874d
TJ
45959 [BZ #13335]
45960 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
45961 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
45962
51d91b18
UD
45963 * string/test-strchr.c: Make usable for strchrnul testing.
45964 * string/test-strchrnul.c: New file.
45965 * string/Makefile (strop-tests): Add strchrnul.
45966
a1b560ff 45967 * po/it.po: Update from translation team.
b611fb81 45968 * po/es.po: Likewise.
a1b560ff 45969
a5b81e1f
UD
459702011-10-28 Ulrich Drepper <drepper@gmail.com>
45971
fd52bc6d
UD
45972 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
45973 the three constants needed as parameters. Drop the others.
45974 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
45975 __m128i_strloadu_tolower.
52e4b9eb
UD
45976 Create and initialize variable zero and use it in all the places
45977 where _mm_setzero_si128 was used.
fd52bc6d 45978
a5b81e1f
UD
45979 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
45980 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
45981 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
45982 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
45983 anymore.
45984 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
45985 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
45986 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
45987 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
45988 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
45989 __mpranred, __mptan.
45990 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
45991 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
45992 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
45993 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
45994 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
45995 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
45996 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
45997 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
45998 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
45999
b4343346
AS
460002011-10-28 Andreas Schwab <schwab@redhat.com>
46001
0c92d8a8
AS
46002 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
46003 redefine if SHARED.
46004 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
46005
b4343346
AS
46006 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
46007 wide char related routines to wcsmbs subdir.
46008
3871f58f
AS
460092011-10-27 Andreas Schwab <schwab@redhat.com>
46010
46011 [BZ #13344]
46012 * misc/sys/cdefs.h (__THROWNL): Define.
46013 * posix/unistd.h: Use __THREADNL instead of __THREAD
46014 for memory synchronization functions.
46015
94d44d9f
RM
460162011-10-26 Roland McGrath <roland@hack.frob.com>
46017
21b64b15 46018 [BZ #13349]
94d44d9f
RM
46019 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
46020 doesn't exist.
46021 * manual/stdio.texi (Obstack Streams): Node removed.
46022
f6ce9294
AS
460232011-10-26 Andreas Schwab <schwab@redhat.com>
46024
80479147
AS
46025 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
46026 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
46027 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
46028
f6ce9294
AS
46029 * math/math_private.h (math_force_eval): Allow non-addressable
46030 arguments.
46031 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
46032
618280a1
UD
460332011-10-25 Ulrich Drepper <drepper@gmail.com>
46034
e0016b11
UD
46035 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
46036 file is not needed.
46037
46038 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
46039 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
46040 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
46041 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
46042 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
46043 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
46044 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
46045 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
46046 Add AVX variants.
46047 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
46048 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
46049 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
46050 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
46051 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
46052 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
46053 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
46054 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
46055 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
46056 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
46057 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
46058 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
46059 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
46060 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
46061 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
46062 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
46063 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
46064 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
46065 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
46066
46067 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
46068 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
46069
618280a1
UD
46070 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
46071 place. Use VEX encoding when compiling for AVX.
46072
37822576
AS
460732011-10-25 Andreas Schwab <schwab@redhat.com>
46074
1f1e1947
AS
46075 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
46076 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
46077
37822576
AS
46078 * string/test-strchr.c (do_test): Don't generate NUL bytes.
46079
31ea014d
UD
460802011-10-25 Ulrich Drepper <drepper@gmail.com>
46081
d7826aa1 46082 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 46083 useless if() expression.
d7826aa1
UD
46084 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
46085 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
46086 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
46087 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
46088 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
46089 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
46090 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
46091 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
46092 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
46093 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
46094 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
46095 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
46096 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
46097 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
46098 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
46099 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
46100 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
46101 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
46102 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
46103
31ea014d
UD
46104 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
46105
16437fec
AS
461062011-10-25 Andreas Schwab <schwab@redhat.com>
46107
46108 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
46109 condition.
46110 * elf/dl-fini.c (_dl_sort_fini): Likewise.
46111
31d3cc00
UD
461122011-10-25 Ulrich Drepper <drepper@gmail.com>
46113
46114 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
46115 .text section. Avoid duplicate constants.
46116 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
46117 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
46118 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
46119 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
46120 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
46121 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
46122 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
46123 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
46124 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
46125 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
46126 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
46127 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
46128 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
46129 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
46130 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
46131 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
46132 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
46133 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
46134 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
46135 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
46136 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
46137 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
46138 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
46139 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
46140 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
46141 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
46142 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
46143 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
46144 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
46145 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
46146 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
46147 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
46148 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
46149 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
46150 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
46151 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
46152 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
46153 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
46154 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
46155 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
46156 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
46157 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
46158 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
46159 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
46160 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
46161
58985aa9
UD
461622011-10-24 Ulrich Drepper <drepper@gmail.com>
46163
202c9deb
UD
46164 * sysdeps/x86_64/dla.h: Move to ...
46165 * sysdeps/x86_64/fpu/dla.h: ...here.
46166 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
46167 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 46168
af968f62
UD
46169 * config.make.in: Add have-mfma4 entry.
46170 * configure.in: Substitute libc_cv_cc_fma4.
46171 * math/Makefile (dbl-only-routines): Add sincostab.
46172 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
46173 Use __sincostab not sincos.
46174 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
46175 name is a macro.
46176 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
46177 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
46178 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
46179 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
46180 using __copysign.
46181 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
46182 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
46183 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
46184 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
46185 and __inv.
46186 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
46187 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
46188 __copysign.
46189 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
46190 define aliases when function name is a macro.
46191 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
46192 sysdeps/ieee754/dbl-64/sincos.tbl.
46193 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
46194 fma4-enabled routines.
46195 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
46196 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
46197 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
46198 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
46199 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
46200 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
46201 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
46202 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
46203 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
46204 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
46205 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
46206 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
46207 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
46208 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
46209 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
46210 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
46211 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
46212 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
46213 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
46214 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
46215 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
46216 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
46217 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
46218 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
46219 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
46220 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
46221 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
46222 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
46223 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
46224 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
46225
58985aa9
UD
46226 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
46227 rename.
46228 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
46229 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
46230 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
46231 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
46232 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
46233 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
46234 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
46235 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
46236
a201fbcf
AS
462372011-10-24 Andreas Schwab <schwab@redhat.com>
46238
46239 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
46240
fc2ee42a
LD
462412011-10-23 Ulrich Drepper <drepper@gmail.com>
46242
bb3129bd
UD
46243 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
46244
0275fff8
UD
46245 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
46246 prediction.
46247 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
46248
2fa2ae85
UD
46249 * string/strnlen.c: Don't define STRNLEN, reverse logic.
46250 Remove unused variable magic_bits.
46251 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
46252
fc2ee42a
LD
46253 * string/strnlen.c: Define and use STRNLEN macro.
46254 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
46255 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
46256 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
46257 * wcsmbs/wcslen.c: Define and use WCSLEN.
46258 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
46259 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
46260 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
46261 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
46262 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
46263 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
46264 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
46265
ce7dd29f
LD
462662011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
46267
46268 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
46269 strnlen-sse2-no-bsf.
46270 Rename strlen-no-bsf to strlen-sse2-no-bsf.
46271 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
46272 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
46273 Add strnlen support.
46274 (USE_AS_STRNLEN): New macro.
46275 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
46276 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
46277 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
46278 * sysdeps/x86_64/wcslen.S: New file.
46279
979c70a3
MZ
462802011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
46281
46282 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
46283 XMM-moves are used for copying on small sizes.
46284
2d09f82f
LD
462852011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
46286
46287 * wcsmbs/Makefile (strop-tests): Add wcschr.
46288 * wcsmbs/test-wcschr.c: New file.
46289 * string/test-strchr.c: Update.
46290 Add wcschr support.
46291 (WIDE): New macro.
46292
619fccca
LD
462932011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
46294
2d09f82f 46295 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
46296 * wcsmbs/test-wcslen.c: New file.
46297 * string/test-strlen.c: Update.
46298 Add wcslen support.
46299 (WIDE): New macro.
46300
09f699ea
UD
463012011-10-23 Ulrich Drepper <drepper@gmail.com>
46302
46303 * po/it.po: Update from translation team.
46304
95584d3b
LD
463052011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
46306
46307 * sysdeps/x86_64/wcscmp.S: Update.
46308 Fix wrong comparison semantics.
46309 wcscmp shall use signed comparison not unsigned.
46310 Don't use substraction to avoid overflow bug.
46311 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
46312 * wcsmbc/wcscmp.c: Likewise.
46313 * string/test-strcmp.c: Likewise.
46314 Add new tests to check cases with negative values.
46315
c8b3296b
UD
463162011-10-23 Ulrich Drepper <drepper@gmail.com>
46317
46318 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
46319 * sysdeps/x86_64/dla.h: ...here. New file.
46320 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
46321 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
46322 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
46323 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
46324 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
46325 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
46326 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
46327 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
46328 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
46329
246ad57a
AS
463302011-10-23 Andreas Schwab <schwab@linux-m68k.org>
46331
46332 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
46333 __ynl_finite aliases.
46334
a1a87169
UD
463352011-10-22 Ulrich Drepper <drepper@gmail.com>
46336
0d355eb7
UD
46337 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
46338
a1a87169
UD
46339 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
46340 define DLA_FMA.
46341 [DLA_FMA] (EMULV): Use DLA_FMA.
46342 [DLA_FMA] (MUL12): Use EMULV.
46343 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
46344 that are not needed.
46345 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
46346 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
46347 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
46348 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
46349 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
46350 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
46351 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
46352
ee2aafe0
AS
463532011-10-22 Andreas Schwab <schwab@linux-m68k.org>
46354
46355 * math/s_nan.c: Undef __nan.
46356 * math/s_nanf.c: Undef __nanf.
46357 * math/s_nanl.c: Undef __nanl.
46358 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
46359 "math_private.h".
46360
bc62c2fb
UD
463612011-10-22 Ulrich Drepper <drepper@gmail.com>
46362
77425c63
UD
46363 * math/s_catan.c: Add branch predictions.
46364 * math/s_catanf.c: Likewise.
46365 * math/s_catanh.c: Likewise.
46366 * math/s_catanhf.c: Likewise.
46367 * math/s_catanhl.c: Likewise.
46368 * math/s_catanl.c: Likewise.
46369 * math/s_cexp.c: Likewise.
46370 * math/s_cexpf.c: Likewise.
46371 * math/s_cexpl.c: Likewise.
46372 * math/s_clog.c: Likewise.
46373 * math/s_clog10.c: Likewise.
46374 * math/s_clog10f.c: Likewise.
46375 * math/s_clog10l.c: Likewise.
46376 * math/s_clogf.c: Likewise.
46377 * math/s_clogl.c: Likewise.
46378 * math/s_csqrt.c: Likewise.
46379 * math/s_csqrtf.c: Likewise.
46380 * math/s_csqrtl.c: Likewise.
46381 * math/s_ctanf.c: Likewise.
46382 * math/s_ctanh.c: Likewise.
46383 * math/s_ctanhf.c: Likewise.
46384 * math/s_ctanhl.c: Likewise.
46385 * math/s_ctanl.c: Likewise.
46386
bc62c2fb
UD
46387 * math/math_private.h: Define __nan, __nanf, __nanl.
46388 * math/s_cacosh.c: Include <math_private.h>.
46389 * math/s_cacoshl.c: Likewise.
46390 * math/s_casinh.c: Likewise.
46391 * math/s_casinhf.c: Likewise.
46392 * math/s_casinhl.c: Likewise.
46393 * math/s_ccos.c: Rely entire on ccosh.
46394 * math/s_ccosf.c: Rely entire on ccoshf.
46395 * math/s_ccosl.c: Rely entirely on ccoshl.
46396 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
46397 Remove tests for FE_INVALID.
46398 * math/s_ccoshf.c: Likewise.
46399 * math/s_ccoshl.c: Likewise.
46400 * math/s_csin.c: Likewise.
46401 * math/s_csinf.c: Likewise.
46402 * math/s_csinh.c Likewise.
46403 * math/s_csinhf.c: Likewise.
46404 * math/s_csinhl.c: Likewise.
46405 * math/s_csinl.c: Likewise.
46406 * math/s_ctan.c: Likewise.
46407 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
46408 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
46409 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
46410
8ec250a4
UD
464112011-10-21 Ulrich Drepper <drepper@gmail.com>
46412
c196fed8
UD
46413 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
46414 compilation problems.
46415
8ec250a4
UD
46416 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
46417 __builtin_expect.
46418
8d4f46c6
UD
464192011-10-20 Ulrich Drepper <drepper@gmail.com>
46420
ed72b654
UD
46421 * sysdeps/i386/configure.in: Test for -mfma4 option.
46422 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
46423 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
46424 COMMON_CPUID_INDEX_80000001.
46425 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
46426 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
46427 use it if FMA3 is not supported.
46428 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
46429
8d4f46c6
UD
46430 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
46431 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
46432
d45c60c2
AS
464332011-10-20 Andreas Schwab <schwab@redhat.com>
46434
46435 [BZ #12892]
46436 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
46437 it would create a cycle with a link time dependency.
46438
d9a4d2ab
UD
464392011-10-19 Ulrich Drepper <drepper@gmail.com>
46440
855d1560
UD
46441 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
46442 instruction.
46443 * string/Makefile (strop-tests): Add rawmemchr.
46444 * string/test-rawmemchr.c: New file.
46445
d9a4d2ab
UD
46446 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
46447 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
46448 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
46449 when compiling str{,n}casecmp and when AVX is available. Hook up
46450 new optimized code in initializers.
46451
8f3b1ffe
AS
464522011-10-19 Andreas Schwab <schwab@redhat.com>
46453
46454 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
46455 __feraiseexcept instead of feraiseexcept.
46456
d38f1dba
UD
464572011-10-18 Ulrich Drepper <drepper@gmail.com>
46458
d9a8d0ab
UD
46459 * math/math_private.h: Define defaults for libc_fetestexcept and
46460 libc_feupdateenv.
46461 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
46462 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
46463 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
46464 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
46465 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
46466 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
46467 libc_fetestexcept and libc_feupdateenv.
46468
4855e3dd
UD
46469 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
46470 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
46471 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
46472 * sysdeps/x86_64/fpu/math_private.h: Define special version of
46473 libc_feholdexcept_setround.
46474
581d30e3
UD
46475 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
46476 Add s_nearbyint-c and s_nearbyintf-c.
46477 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
46478 nearbyintf inlines.
46479 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
46480 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
46481 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
46482 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
46483
d38f1dba
UD
46484 * math/math_private.h: Define defaults for libc_fegetround,
46485 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
46486 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
46487 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
46488 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
46489 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
46490 standard functions.
46491 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
46492 Remove comments and hacks for old compiler versions.
46493 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
46494 libc_fegetround, libc_fesetround, libc_feholdexcept, and
46495 libc_feholdexceptl.
46496
caa6c9d8
AS
464972011-10-18 Andreas Schwab <schwab@redhat.com>
46498
46499 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
46500 (__feraiseexcept_renamed): Add __NTH.
46501 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
46502 namespace violations.
46503
97c066e6
UD
465042011-10-17 Ulrich Drepper <drepper@gmail.com>
46505
99ce7b04
UD
46506 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
46507
1004d182
UD
46508 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
46509
228a984d
UD
46510 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
46511 recently added interfaces.
46512 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
46513
c8553a6a
UD
46514 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
46515 about macro parameter expansion.
46516
ed22dcf6
UD
46517 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
46518 __NO_MATH_INLINES is defined. Cleanups.
46519
46520 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
46521 and __floorf is target has SSE4.1.
46522 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
46523 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
46524 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
46525 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
46526
b171c137
UD
46527 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
46528 name.
46529 (floorf): Likewise.
46530
97c066e6
UD
46531 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
46532
629f62ef
AS
465332011-10-17 Andreas Schwab <schwab@redhat.com>
46534
49a43d80
AS
46535 * misc/sys/cdefs.h: Fix last change.
46536
629f62ef
AS
46537 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
46538 database lookup.
46539
e453f6cd
UD
465402011-10-16 Ulrich Drepper <drepper@gmail.com>
46541
aa78043a
UD
46542 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
46543
ad0f5cad
UD
46544 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
46545 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
46546 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
46547 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
46548 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
46549 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
46550 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
46551 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
46552 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
46553 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
46554 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
46555 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
46556 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
46557 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
46558 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
46559 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
46560 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
46561 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
46562 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
46563 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
46564 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
46565 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
46566
46567 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
46568 ceil, ceilf, floor, floorf.
46569
46570 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
46571 Perform IRELATIVE relocations last.
46572
e453f6cd
UD
46573 * elf/do-rel.h: Add another parameter nrelative, replacing the
46574 local variable with the same name. Change name of the function
46575 to end in Rel or Rela (uppercase).
46576 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
46577 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
46578 elf_dynamic_do_##reloc function.
46579
fd5bdc09
UD
465802011-10-15 Ulrich Drepper <drepper@gmail.com>
46581
79b195b5
UD
46582 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
46583 is sufficient, at least on modern CPUs.
46584
d4a28569
UD
46585 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
46586
b61099b5
UD
46587 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
46588 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
46589
bcf01e6d
UD
46590 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
46591 __expl_finite.
46592 * math/bits/math-finite.h: Add entries for exp.
46593 * math/e_expl.c: Add __*_finite alias.
46594 * sysdeps/i386/fpu/e_exp.S: Likewise.
46595 * sysdeps/i386/fpu/e_expf.S: Likewise.
46596 * sysdeps/i386/fpu/e_expl.c: Likewise.
46597 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
46598 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
46599 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
46600 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
46601 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
46602 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
46603 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
46604
ba1a0d59
UD
46605 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
46606 is sufficient, at least on modern CPUs.
46607
fd5bdc09
UD
46608 * ctype/ctype-info.c (__ctype_init): Define.
46609 * include/ctype.h (__ctype_init): Declare.
46610 (__ctype_b_loc): The variable is always initialized.
46611 (__ctype_toupper_loc): Likewise.
46612 (__ctype_tolower_loc): Likewise.
46613 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
46614 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
46615
7872cfb0
AS
466162011-10-15 Andreas Schwab <schwab@linux-m68k.org>
46617
b468825a
AS
46618 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
46619
7872cfb0
AS
46620 * configure.in: Also look in $cxxmachine/include for C++ system
46621 headers.
46622
be13f7bf
LD
466232011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
46624
46625 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
46626 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
46627 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
46628 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
46629 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
46630 (USE_AS_WMEMCMP): New macro.
46631 Fixing indents.
46632 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
46633 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
46634 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
46635 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
46636 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
46637 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
46638 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
46639 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
46640 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
46641 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
46642 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
46643 (USE_AS_WMEMCMP): New macro.
46644 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
46645 * sysdeps/string/test-memcmp.c: Update.
46646 Fix simple_wmemcmp.
46647 Add new tests.
46648 * wcsmbs/wmemcmp.c: Update.
46649 (WMEMCMP): New macro.
46650 Fix overflow bug.
46651
556a2007
AJ
466522011-10-12 Andreas Jaeger <aj@suse.de>
46653
46654 [BZ #13268]
46655 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
46656
538faaa7
UD
466572011-10-15 Ulrich Drepper <drepper@gmail.com>
46658
ab6737ff
UD
46659 * libio/iofwide.c (do_length): Avoid warning.
46660
538faaa7
UD
46661 * ctype/ctype.h (__isctype_f): Add missing __THROW.
46662
396a21b1
UD
466632011-10-14 Ulrich Drepper <drepper@gmail.com>
46664
cdf2901f
UD
46665 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
46666
38ad40ce
UD
46667 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
46668 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
46669 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
46670 * sysdeps/i386/i686/fpu/e_log.S: New file.
46671 * sysdeps/i386/i686/fpu/e_logf.S: New file.
46672 * sysdeps/i386/i686/fpu/e_logl.S: New file.
46673
396a21b1
UD
46674 * ctype/ctype.h: Add support for inlined isXXX functions when
46675 compiling C++ code.
46676
6b1f68c9
AS
466772011-10-14 Andreas Schwab <schwab@redhat.com>
46678
349290c0
AS
46679 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
46680
6b1f68c9
AS
46681 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
46682
f2282d42
RM
466832011-10-13 Roland McGrath <roland@hack.frob.com>
46684
46685 [BZ #13291]
46686 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
46687
5298ffa8
AS
466882011-10-13 Andreas Schwab <schwab@redhat.com>
46689
714fad23
AS
46690 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
46691 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
46692 feraiseexcept.
46693
81dcc7fb
AS
46694 * sysdeps/x86_64/memrchr.S: Check for zero size.
46695
5298ffa8
AS
46696 * string/stratcliff.c: Add memrchr tests.
46697
951fbcec
LD
466982011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
46699
46700 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
46701 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
46702 rawmemchr-sse2 rawmemchr-sse2-bsf.
46703 * sysdeps/i386/i686/multiarch/memchr.S: New file.
46704 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
46705 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
46706 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
46707 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
46708 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
46709 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
46710 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
46711 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
46712 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
46713 * string/memrchr.c (MEMRCHR): New macro.
46714
0ac5ae23
UD
467152011-10-12 Ulrich Drepper <drepper@gmail.com>
46716
46717 Add integration with gcc's -ffinite-math-only and optimize wrapper
46718 functions in libm.
46719 * Versions.def: Define GLIBC_2.15 version for libm.
46720 * math/Makefile (headers): Add bits/math-finite.h.
46721 * math/bits/math-finite.h: New file.
46722 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
46723 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
46724 * math/e_acoshl.c: Add __*_finite alias.
46725 * math/e_acosl.c: Likewise.
46726 * math/e_asinl.c: Likewise.
46727 * math/e_atan2l.c: Likewise.
46728 * math/e_atanhl.c: Likewise.
46729 * math/e_coshl.c: Likewise.
46730 * math/e_exp10.c: Likewise.
46731 * math/e_exp10f.c: Likewise.
46732 * math/e_exp10l.c: Likewise.
46733 * math/e_exp2l.c: Likewise.
46734 * math/e_fmodl.c: Likewise.
46735 * math/e_gammal_r.c: Likewise.
46736 * math/e_hypotl.c: Likewise.
46737 * math/e_j0l.c: Likewise.
46738 * math/e_j1l.c: Likewise.
46739 * math/e_jnl.c: Likewise.
46740 * math/e_lgammal_r.c: Likewise.
46741 * math/e_log10l.c: Likewise.
46742 * math/e_log2l.c: Likewise.
46743 * math/e_logl.c: Likewise.
46744 * math/e_powl.c: Likewise.
46745 * math/e_sinhl.c: Likewise.
46746 * math/e_sqrtl.c: Likewise.
46747 * math/e_scalb.c: Completely rewritten and optimized.
46748 * math/e_scalbf.c: Likewise.
46749 * math/e_scalbl.c: Likewise.
46750 * math/w_acos.c: Likewise.
46751 * math/w_acosf.c: Likewise.
46752 * math/w_acosl.c: Likewise.
46753 * math/w_acosh.c: Likewise.
46754 * math/w_acoshf.c: Likewise.
46755 * math/w_acoshl.c: Likewise.
46756 * math/w_asin.c: Likewise.
46757 * math/w_asinf.c: Likewise.
46758 * math/w_asinl.c: Likewise.
46759 * math/w_atan2.c: Likewise.
46760 * math/w_atan2f.c: Likewise.
46761 * math/w_atan2l.c: Likewise.
46762 * math/w_atanh.c: Likewise.
46763 * math/w_atanhf.c: Likewise.
46764 * math/w_atanhl.c: Likewise.
46765 * math/w_exp10.c: Likewise.
46766 * math/w_exp10f.c: Likewise.
46767 * math/w_exp10l.c: Likewise.
46768 * math/w_fmod.c: Likewise.
46769 * math/w_fmodf.c: Likewise.
46770 * math/w_fmodl.c: Likewise.
46771 * math/w_j0.c: Likewise.
46772 * math/w_j0f.c: Likewise.
46773 * math/w_j0l.c: Likewise.
46774 * math/w_j1.c: Likewise.
46775 * math/w_j1f.c: Likewise.
46776 * math/w_j1l.c: Likewise.
46777 * math/w_jn.c: Likewise.
46778 * math/w_jnf.c: Likewise.
46779 * math/w_log.c: Likewise.
46780 * math/w_logf.c: Likewise.
46781 * math/w_logl.c: Likewise.
46782 * math/w_log10.c: Likewise.
46783 * math/w_log10f.c: Likewise.
46784 * math/w_log10l.c: Likewise.
46785 * math/w_log2.c: Likewise.
46786 * math/w_log2f.c: Likewise.
46787 * math/w_log2l.c: Likewise.
46788 * math/w_pow.c: Likewise.
46789 * math/w_powf.c: Likewise.
46790 * math/w_powl.c: Likewise.
46791 * math/w_remainder.c: Likewise.
46792 * math/w_remainderf.c: Likewise.
46793 * math/w_remainderl.c: Likewise.
46794 * math/w_scalb.c: Likewise.
46795 * math/w_scalbf.c: Likewise.
46796 * math/w_scalbl.c: Likewise.
46797 * math/w_sqrt.c: Likewise.
46798 * math/w_sqrtf.c: Likewise.
46799 * math/w_sqrtl.c: Likewise.
46800 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
46801 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
46802 used.
46803 * math/math_private.h: Declare __kernel_standard_f.
46804 * math/w_cosh.c: Remove cruft and optimize a bit.
46805 * math/w_coshf.c: Likewise.
46806 * math/w_coshl.c: Likewise.
46807 * math/w_exp2.c: Likewise.
46808 * math/w_exp2f.c: Likewise.
46809 * math/w_exp2l.c: Likewise.
46810 * math/w_hypot.c: Likewise.
46811 * math/w_hypotf.c: Likewise.
46812 * math/w_hypotl.c: Likewise.
46813 * math/w_lgamma.c: Likewise.
46814 * math/w_lgamma_r.c: Likewise.
46815 * math/w_lgammaf.c: Likewise.
46816 * math/w_lgammaf_r.c: Likewise.
46817 * math/w_lgammal.c: Likewise.
46818 * math/w_lgammal_r.c: Likewise.
46819 * math/w_sinh.c: Likewise.
46820 * math/w_sinhf.c: Likewise.
46821 * math/w_sinhl.c: Likewise.
46822 * math/w_tgamma.c: Likewise.
46823 * math/w_tgammaf.c: Likewise.
46824 * math/w_tgammal.c: Likewise.
46825 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
46826 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
46827 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
46828 Minor optimizations. Pretty printing. Remove cruft.
46829 * sysdeps/i386/fpu/e_acosf.S: Likewise.
46830 * sysdeps/i386/fpu/e_acosh.S: Likewise.
46831 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
46832 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
46833 * sysdeps/i386/fpu/e_acosl.c: Likewise.
46834 * sysdeps/i386/fpu/e_asin.S: Likewise.
46835 * sysdeps/i386/fpu/e_asinf.S: Likewise.
46836 * sysdeps/i386/fpu/e_atan2.S: Likewise.
46837 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
46838 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
46839 * sysdeps/i386/fpu/e_atanh.S: Likewise.
46840 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
46841 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
46842 * sysdeps/i386/fpu/e_exp10.S: Likewise.
46843 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
46844 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
46845 * sysdeps/i386/fpu/e_exp2.S: Likewise.
46846 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
46847 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
46848 * sysdeps/i386/fpu/e_fmod.S: Likewise.
46849 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
46850 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
46851 * sysdeps/i386/fpu/e_hypot.S: Likewise.
46852 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
46853 * sysdeps/i386/fpu/e_log.S: Likewise.
46854 * sysdeps/i386/fpu/e_log10.S: Likewise.
46855 * sysdeps/i386/fpu/e_log10f.S: Likewise.
46856 * sysdeps/i386/fpu/e_log10l.S: Likewise.
46857 * sysdeps/i386/fpu/e_log2.S: Likewise.
46858 * sysdeps/i386/fpu/e_log2f.S: Likewise.
46859 * sysdeps/i386/fpu/e_log2l.S: Likewise.
46860 * sysdeps/i386/fpu/e_logf.S: Likewise.
46861 * sysdeps/i386/fpu/e_logl.S: Likewise.
46862 * sysdeps/i386/fpu/e_pow.S: Likewise.
46863 * sysdeps/i386/fpu/e_powf.S: Likewise.
46864 * sysdeps/i386/fpu/e_powl.S: Likewise.
46865 * sysdeps/i386/fpu/e_remainder.S: Likewise.
46866 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
46867 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
46868 * sysdeps/i386/fpu/e_scalb.S: Likewise.
46869 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
46870 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
46871 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
46872 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
46873 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
46874 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
46875 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
46876 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
46877 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
46878 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
46879 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
46880 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
46881 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
46882 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
46883 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
46884 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
46885 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
46886 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
46887 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
46888 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
46889 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
46890 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
46891 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
46892 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
46893 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
46894 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
46895 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
46896 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
46897 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
46898 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
46899 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
46900 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
46901 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
46902 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
46903 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
46904 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
46905 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
46906 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
46907 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
46908 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
46909 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
46910 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
46911 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
46912 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
46913 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
46914 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
46915 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
46916 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
46917 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
46918 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
46919 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
46920 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
46921 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
46922 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
46923 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
46924 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
46925 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
46926 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
46927 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
46928 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
46929 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
46930 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
46931 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
46932 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
46933 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
46934 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
46935 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
46936 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
46937 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
46938 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
46939 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
46940 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
46941 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
46942 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
46943 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
46944 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
46945 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
46946 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
46947 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
46948 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
46949 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
46950 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
46951 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
46952 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
46953 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
46954 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
46955 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
46956 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
46957 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
46958 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
46959 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
46960 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
46961 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
46962 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
46963 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
46964 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
46965 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
46966 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
46967 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
46968 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
46969 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
46970 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
46971 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
46972 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
46973 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
46974 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
46975 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
46976 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
46977 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
46978 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
46979 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
46980 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
46981 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
46982 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
46983 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
46984 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
46985 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
46986 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
46987 (__isnanf): Likewise.
46988 (__isinf_ns): Likewise.
46989 (__isinf_nsf): Likewise.
46990 (__finite): Likewise.
46991 (__finitef): Likewise.
46992 (__ieee754_sqrt): Define as macro.
46993 (__ieee754_sqrtf): Define as macro.
46994 (__ieee754_sqrtl): Define as macro.
46995 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
46996 inlined copy.
46997 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
46998 __FINITE_MATH_ONLY__ consistent.
46999 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
47000
12cc2fcd
AS
470012011-10-10 Andreas Schwab <schwab@linux-m68k.org>
47002
a843a204
AS
47003 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
47004 of rawmemchr.
47005
12cc2fcd
AS
47006 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
47007
c853acd5
UD
470082011-10-09 Ulrich Drepper <drepper@gmail.com>
47009
47010 * po/ja.po: Update from translation team.
47011
c658d255
RM
470122011-10-08 Roland McGrath <roland@hack.frob.com>
47013
110946e4
RM
47014 * locale/programs/locarchive.c (prepare_address_space): New function.
47015 (create_archive, enlarge_archive, open_archive): Use it.
47016
50604220
RM
47017 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
47018 inside [SHARED], where it is used.
47019
c658d255
RM
47020 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
47021
47022 * nss/getent.c (netgroup_keys): Remove unused variable.
47023 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
47024
6a621eb7
UD
470252011-10-08 Ulrich Drepper <drepper@gmail.com>
47026
7edb55ce
UD
47027 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
47028 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
47029 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
47030 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
47031 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
47032 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
47033 * math/Makefile (libm-calls): Add s_isinf_ns.
47034 * math/divtc3.c: Use __isinf_nsl instead of isinf.
47035 * math/multc3.c: Likewise.
47036 * math/s_casin.c: Likewise.
47037 * math/s_casinf.c: Likewise.
47038 * math/s_casinl.c: Likewise.
47039 * math/s_ccos.c: Likewise.
47040 * math/s_ccosf.c: Likewise.
47041 * math/s_ccosl.c: Likewise.
47042 * math/s_ctan.c: Likewise.
47043 * math/s_ctanf.c: Likewise.
47044 * math/s_ctanh.c: Likewise.
47045 * math/s_ctanhf.c: Likewise.
47046 * math/s_ctanhl.c: Likewise.
47047 * math/s_ctanl.c: Likewise.
47048 * math/w_fmod.c: Likewise.
47049 * math/w_fmodf.c: Likewise.
47050 * math/w_fmodl.c: Likewise.
47051 * math/w_remainder.c: Likewise.
47052 * math/w_remainderf.c: Likewise.
47053 * math/w_remainderl.c: Likewise.
47054 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
47055 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
47056 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
47057 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
47058 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
47059 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
47060 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
47061 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
47062
187da0ae
UD
47063 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
47064 of the number.
47065 * stdio-common/printf_fphex.c: Likewise.
47066 * stdio-common/printf_size.c: Likewise.
47067
9277c064
UD
47068 * math/e_exp10.c: Include math_private.h using <...> not "...".
47069 * math/e_exp10f.c: Likewise.
47070 * math/e_exp10l.c: Likewise.
47071 * math/e_exp2l.c: Likewise.
47072 * math/e_j0l.c: Likewise.
47073 * math/e_j1l.c: Likewise.
47074 * math/e_jnl.c: Likewise.
47075 * math/e_lgammal_r.c: Likewise.
47076 * math/e_rem_pio2l.c: Likewise.
47077 * math/e_scalb.c: Likewise.
47078 * math/e_scalbf.c: Likewise.
47079 * math/e_scalbl.c: Likewise.
47080 * math/k_cosl.c: Likewise.
47081 * math/k_sinl.c: Likewise.
47082 * math/k_tanl.c: Likewise.
47083 * math/s_cacoshf.c: Likewise.
47084 * math/s_catan.c: Likewise.
47085 * math/s_catanf.c: Likewise.
47086 * math/s_catanh.c: Likewise.
47087 * math/s_catanhf.c: Likewise.
47088 * math/s_catanhl.c: Likewise.
47089 * math/s_catanl.c: Likewise.
47090 * math/s_ccosh.c: Likewise.
47091 * math/s_ccoshf.c: Likewise.
47092 * math/s_ccoshl.c: Likewise.
47093 * math/s_cexp.c: Likewise.
47094 * math/s_cexpf.c: Likewise.
47095 * math/s_cexpl.c: Likewise.
47096 * math/s_clog.c: Likewise.
47097 * math/s_clog10.c: Likewise.
47098 * math/s_clog10f.c: Likewise.
47099 * math/s_clog10l.c: Likewise.
47100 * math/s_clogf.c: Likewise.
47101 * math/s_clogl.c: Likewise.
47102 * math/s_csin.c: Likewise.
47103 * math/s_csinf.c: Likewise.
47104 * math/s_csinh.c: Likewise.
47105 * math/s_csinhf.c: Likewise.
47106 * math/s_csinhl.c: Likewise.
47107 * math/s_csinl.c: Likewise.
47108 * math/s_csqrt.c: Likewise.
47109 * math/s_csqrtf.c: Likewise.
47110 * math/s_csqrtl.c: Likewise.
47111 * math/s_ctan.c: Likewise.
47112 * math/s_ctanf.c: Likewise.
47113 * math/s_ctanh.c: Likewise.
47114 * math/s_ctanhf.c: Likewise.
47115 * math/s_ctanhl.c: Likewise.
47116 * math/s_ctanl.c: Likewise.
47117 * math/s_ldexp.c: Likewise.
47118 * math/s_ldexpf.c: Likewise.
47119 * math/s_ldexpl.c: Likewise.
47120 * math/s_significand.c: Likewise.
47121 * math/s_significandf.c: Likewise.
47122 * math/s_significandl.c: Likewise.
47123 * math/w_acos.c: Likewise.
47124 * math/w_acosf.c: Likewise.
47125 * math/w_acosh.c: Likewise.
47126 * math/w_acoshf.c: Likewise.
47127 * math/w_acoshl.c: Likewise.
47128 * math/w_acosl.c: Likewise.
47129 * math/w_asin.c: Likewise.
47130 * math/w_asinf.c: Likewise.
47131 * math/w_asinl.c: Likewise.
47132 * math/w_atan2.c: Likewise.
47133 * math/w_atan2f.c: Likewise.
47134 * math/w_atan2l.c: Likewise.
47135 * math/w_atanh.c: Likewise.
47136 * math/w_atanhf.c: Likewise.
47137 * math/w_atanhl.c: Likewise.
47138 * math/w_cosh.c: Likewise.
47139 * math/w_coshf.c: Likewise.
47140 * math/w_coshl.c: Likewise.
47141 * math/w_dremf.c: Likewise.
47142 * math/w_exp10.c: Likewise.
47143 * math/w_exp10f.c: Likewise.
47144 * math/w_exp10l.c: Likewise.
47145 * math/w_exp2.c: Likewise.
47146 * math/w_exp2f.c: Likewise.
47147 * math/w_fmod.c: Likewise.
47148 * math/w_fmodf.c: Likewise.
47149 * math/w_fmodl.c: Likewise.
47150 * math/w_hypot.c: Likewise.
47151 * math/w_hypotf.c: Likewise.
47152 * math/w_hypotl.c: Likewise.
47153 * math/w_j0.c: Likewise.
47154 * math/w_j0f.c: Likewise.
47155 * math/w_j0l.c: Likewise.
47156 * math/w_j1.c: Likewise.
47157 * math/w_j1f.c: Likewise.
47158 * math/w_j1l.c: Likewise.
47159 * math/w_jn.c: Likewise.
47160 * math/w_jnf.c: Likewise.
47161 * math/w_jnl.c: Likewise.
47162 * math/w_lgamma.c: Likewise.
47163 * math/w_lgamma_r.c: Likewise.
47164 * math/w_lgammaf.c: Likewise.
47165 * math/w_lgammaf_r.c: Likewise.
47166 * math/w_lgammal.c: Likewise.
47167 * math/w_lgammal_r.c: Likewise.
47168 * math/w_log.c: Likewise.
47169 * math/w_log10.c: Likewise.
47170 * math/w_log10f.c: Likewise.
47171 * math/w_log10l.c: Likewise.
47172 * math/w_log2.c: Likewise.
47173 * math/w_log2f.c: Likewise.
47174 * math/w_log2l.c: Likewise.
47175 * math/w_logf.c: Likewise.
47176 * math/w_logl.c: Likewise.
47177 * math/w_pow.c: Likewise.
47178 * math/w_powf.c: Likewise.
47179 * math/w_powl.c: Likewise.
47180 * math/w_remainder.c: Likewise.
47181 * math/w_remainderf.c: Likewise.
47182 * math/w_remainderl.c: Likewise.
47183 * math/w_scalb.c: Likewise.
47184 * math/w_scalbf.c: Likewise.
47185 * math/w_scalbl.c: Likewise.
47186 * math/w_sinh.c: Likewise.
47187 * math/w_sinhf.c: Likewise.
47188 * math/w_sinhl.c: Likewise.
47189 * math/w_sqrt.c: Likewise.
47190 * math/w_sqrtf.c: Likewise.
47191 * math/w_sqrtl.c: Likewise.
47192 * math/w_tgamma.c: Likewise.
47193 * math/w_tgammaf.c: Likewise.
47194 * math/w_tgammal.c: Likewise.
47195
6a621eb7
UD
47196 * po/ja.po: Update from translation team.
47197
bf582445
AJ
471982011-09-29 Andreas Jaeger <aj@suse.de>
47199
f9efbf3a
AJ
47200 [BZ #13179]
47201 * sunrpc/netname.c (netname2host): Fix logic.
47202
bf582445
AJ
47203 [BZ #6779]
47204 [BZ #6783]
47205 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
47206 correctly.
47207 * math/w_remainder.c (__remainder): Likewise.
47208 * math/w_remainderf.c (__remainderf): Likewise.
47209 * math/libm-test.inc (remainder_test): Add test cases.
47210
48693bea
AK
472112011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
47212
47213 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
47214 sdiv_qrnnd.
47215
42622229
LD
472162011-10-07 Ulrich Drepper <drepper@gmail.com>
47217
47218 * string/test-memcmp.c: Avoid unncessary #defines.
47219 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
47220
093ecf92
LD
472212011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
47222
47223 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
47224 Use new sse2 version for core i3 - i7 as it's faster
47225 than sse42 version.
47226 (bit_Prefer_PMINUB_for_stringop): New.
47227 * sysdeps/x86_64/rawmemchr.S: Update.
47228 Replace with faster SSE2 version.
47229 * sysdeps/x86_64/memrchr.S: New file.
47230 * sysdeps/x86_64/memchr.S: Update.
47231 Replace with faster SSE2 version.
47232
fde56e5c
MP
472332011-09-12 Marek Polacek <mpolacek@redhat.com>
47234
47235 * elf/dl-load.c (lose): Add cast to avoid warning.
47236
21fd49a9
UD
472372011-10-07 Ulrich Drepper <drepper@gmail.com>
47238
5a06e643
UD
47239 * po/ca.po: Update from translation team.
47240
684ae515
UD
47241 * inet/getnetgrent_r.c: Hook up nscd.
47242 * nscd/Makefile (routines): Add nscd_netgroup.
47243 (nscd-modules): Add netgroupcache.
47244 (CFLAGS-netgroupcache.c): Define.
47245 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
47246 (cache_search): Add const to second parameter.
47247 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
47248 INNETGR.
47249 (dbs): Add netgrdb entry.
47250 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
47251 (verify_persistent_db): Handle netgrdb.
47252 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
47253 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
47254 GETFDNETGR.
47255 (netgroup_response_header): Define.
47256 (innetgroup_response_header): Define.
47257 (datahead): Add netgroup_response_header and innetgroup_response_header
47258 elements.
47259 * nscd/nscd.conf: Add entries for netgroup cache.
47260 * nscd/nscd.h (dbtype): Add netgrdb.
47261 (_PATH_NSCD_NETGROUP_DB): Define.
47262 (netgroup_iov_disabled): Declare.
47263 (xmalloc, xcalloc, xrealloc): Move declarations here.
47264 (cache_search): Adjust prototype.
47265 Add netgroup-related prototypes.
47266 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
47267 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
47268 (__nscd_innetgr): Declare.
47269 * nscd/selinux.c (perms): Use access_vector_t as element type and
47270 add netgroup-related initializers.
47271 * nscd/netgroupcache.c: New file.
47272 * nscd/nscd_netgroup.c: New file.
47273 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
47274 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
47275 For four parameters use innetgr.
47276 * nss/nss_files/files-init.c: Add definition and callback for netgr.
47277 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
47278 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
47279 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
47280
21fd49a9
UD
47281 * nscd/connections.c (register_traced_file): Don't register file
47282 for disabled databases.
47283
054c0457
UD
472842011-10-06 Ulrich Drepper <drepper@gmail.com>
47285
32b63198
UD
47286 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
47287
054c0457
UD
47288 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
47289 from tree and freeing node.
47290
64031225
JO
472912011-09-25 Jiri Olsa <jolsa@redhat.com>
47292
47293 * nss/nsswitch.c (__nss_database_lookup): Handle
47294 nss_parse_service_list out of memory case.
47295
0490345c
JO
472962011-09-15 Jiri Olsa <jolsa@redhat.com>
47297
47298 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
47299 out of memory case.
47300
3a62d00d
AS
473012011-10-04 Andreas Schwab <schwab@redhat.com>
47302
47303 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
47304 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
47305 pass it down.
47306 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
47307 elf_machine_rela, elf_machine_lazy_rel.
47308 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
47309 (ELF_DYNAMIC_DO_REL): Likewise.
47310 (ELF_DYNAMIC_DO_RELA): Likewise.
47311 (ELF_DYNAMIC_RELOCATE): Likewise.
47312 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
47313 to ELF_DYNAMIC_DO_REL.
47314 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
47315 (dl_main): In trace mode always set __RTLD_NOIFUNC.
47316 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
47317 elf_machine_rela.
47318 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
47319 skip_ifunc, don't call ifunc function if non-zero.
47320 (elf_machine_rela): Likewise.
47321 (elf_machine_lazy_rel): Likewise.
47322 (elf_machine_lazy_rela): Likewise.
47323 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
47324 (elf_machine_lazy_rel): Likewise.
47325 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
47326 Likewise.
47327 (elf_machine_lazy_rel): Likewise.
47328 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
47329 Likewise.
47330 (elf_machine_lazy_rel): Likewise.
47331 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
47332 (elf_machine_lazy_rel): Likewise.
47333 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
47334 (elf_machine_lazy_rel): Likewise.
47335 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
47336 (elf_machine_lazy_rel): Likewise.
47337 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
47338 (elf_machine_lazy_rel): Likewise.
47339 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
47340 (elf_machine_lazy_rel): Likewise.
47341 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
47342 (elf_machine_lazy_rel): Likewise.
47343
68577918
UD
473442011-09-28 Ulrich Drepper <drepper@gmail.com>
47345
47346 * nss/nss_files/files-init.c (_nss_files_init): Use static
47347 initialization for all the *_traced_file variables.
47348
68822d74
AS
473492011-09-28 Andreas Schwab <schwab@redhat.com>
47350
47351 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
47352
2056100b
RM
473532011-09-27 Roland McGrath <roland@hack.frob.com>
47354
47355 [BZ #13226]
47356 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
47357
32c76b63
AS
473582011-09-27 Andreas Schwab <schwab@redhat.com>
47359
47360 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
47361 Reread the line before reparsing it.
47362
bf972c9d
AS
473632011-09-26 Andreas Schwab <schwab@redhat.com>
47364
47365 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
47366
e057a1b5
JM
473672011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
47368 Maxim Kuvyrkov <maxim@codesourcery.com>
47369 Joseph Myers <joseph@codesourcery.com>
47370
47371 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
47372 if needed for __stack_chk_guard.
47373
bc7e1c36
RM
473742011-09-19 Roland McGrath <roland@hack.frob.com>
47375
ecb1482f
RM
47376 * sysdeps/posix/spawni.c (script_execute): Always define it.
47377 It will be optimized away if unused.
47378 (maybe_script_execute): New function.
47379 (__spawni): Call it.
47380
bc7e1c36
RM
47381 * Makerules: Don't include tls.make.
47382 (config-tls): Always set to thread.
47383 * tls.make.c: File removed.
47384
1c3b002b
MF
473852011-09-19 Mike Frysinger <vapier@gentoo.org>
47386
47387 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
47388 * config.make.in (CPPFLAGS-config): New substituted variable.
47389
2840865d
UD
473902011-09-15 Ulrich Drepper <drepper@gmail.com>
47391
88738eb6
UD
47392 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
47393
cbf645a6 47394 [BZ #13192]
2840865d
UD
47395 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
47396 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
47397
b402e91a
RM
473982011-09-15 Roland McGrath <roland@hack.frob.com>
47399
47400 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
47401 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
47402 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
47403 (CALL_FAIL): Likewise.
47404 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
47405 (CALL_FAIL): Macro removed.
47406 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
47407
4c1a1f71
UD
474082011-09-15 Ulrich Drepper <drepper@gmail.com>
47409
47410 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
47411 for __FINITE_MATH_ONLY__ == 1.
47412
edc121be
AS
474132011-09-15 Andreas Schwab <schwab@redhat.com>
47414
47415 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
47416 __ieee754_sqrt instead of sqrt.
47417 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
47418 __ieee754_sqrtf instead of sqrtf.
47419 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
47420 __floorf instead of floorf.
47421 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
47422 __floorf, __truncf instead of floorf, truncf.
47423
cd205654
UD
474242011-09-14 Ulrich Drepper <drepper@gmail.com>
47425
ee4d0315
UD
47426 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
47427
cd205654
UD
47428 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
47429 __extern_always_inline.
47430 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
47431 32-bit.
47432
48b67d71
AS
474332011-09-14 Andreas Schwab <schwab@redhat.com>
47434
47435 * elf/rtld.c (dl_main): Also relocate in dependency order when
47436 doing symbol dependency testing.
47437
1ae12c75
AS
474382011-09-13 Andreas Schwab <schwab@linux-m68k.org>
47439
47440 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
47441 Always define `refsym'.
47442
995a80df
AS
474432011-09-13 Andreas Schwab <schwab@redhat.com>
47444
e529793b
AS
47445 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
47446 (__FD_ELT): Renamed from __FDELT.
47447 * misc/bits/select2.h (__FD_ELT): Likewise.
47448 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
47449 __FD_MASK instead of __FDELT, __FDMASK.
47450 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
47451 Likewise.
47452 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
47453 Likewise.
47454
52d4fef8
AS
47455 * elf/Makefile (gen-ldd): Fix pattern.
47456
995a80df
AS
47457 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
47458 (init_tls): Likewise.
47459
8682f8b0
UD
474602011-09-12 Ulrich Drepper <drepper@gmail.com>
47461
47462 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
47463
de82006d
AS
474642011-09-12 Andreas Schwab <schwab@redhat.com>
47465
a7c8e6a1
AS
47466 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
47467 `struct cmsghdr *' instead of `void *'.
47468 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
47469 Likewise.
47470
0f31fe77
AS
474712011-09-11 Andreas Schwab <schwab@linux-m68k.org>
47472
47473 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
47474 if non-absolute.
47475 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
47476 ldd_rewrite_script.
0f31fe77 47477
32b4c839
UD
474782011-09-11 Ulrich Drepper <drepper@gmail.com>
47479
83cd1420
UD
47480 * configure.in: Remove --with-tls option.
47481 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
47482 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
47483 out in case it is missing.
47484 * sysdeps/ia64/elf/configure.in: Likewise.
47485 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
47486 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
47487 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
47488 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
47489 * sysdeps/sh/elf/configure.in: Likewise.
47490 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
47491 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
47492 * sysdeps/x86_64/elf/configure.in: Likewise.
47493 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
47494 * sysdeps/mach/hurd/tls.h: Likewise.
47495
633f745d
UD
47496 [BZ #13067]
47497 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
47498
f318beb8
UD
47499 [BZ #13090]
47500 * configure.in: Fix use of AC_INIT.
47501
32b4c839
UD
47502 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
47503
3ce1f295
UD
475042011-09-10 Ulrich Drepper <drepper@gmail.com>
47505
bb016596
UD
47506 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
47507 __set_errno.
8e58439c
UD
47508 * malloc/hooks.c: Likewise.
47509
aebae053 47510 [BZ #11929]
02d46fc4
UD
47511 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
47512 variables statically.
47513 (narenas): Initialize.
47514 (list_lock): Initialize.
bb016596
UD
47515 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
47516 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
47517 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
47518 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
47519 Add initializers to main_arena and mp_.
47520 (malloc_state): Remove pagesize member. Change all users to use
47521 GLRO(dl_pagesize).
47522
47523 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
47524 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
47525 is always initialized.
47526
22a89187
UD
47527 * malloc/malloc.c: Removed unused configurations and dead code.
47528 * malloc/arena.c: Likewise.
47529 * malloc/hooks.c: Likewise.
02d46fc4 47530 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 47531
d063d164
UD
47532 * include/tls.h: Removed. USE___THREAD must always be defined.
47533 * bits/libc-tsd.h: Don't handle !USE___THREAD.
47534 * elf/dl-libc.c: Likewise.
47535 * elf/dl-tsd.c: Likewise.
47536 * include/errno.h: Likewise.
47537 * include/netdb.h: Likewise.
47538 * include/resolv.h: Likewise.
47539 * inet/herrno-loc.c: Likewise.
47540 * inet/herrno.c: Likewise.
47541 * malloc/arena.c: Likewise.
47542 * malloc/hooks.c: Likewise.
47543 * malloc/malloc.c: Likewise.
47544 * resolv/res-state.c: Likewise.
47545 * resolv/res_libc.c: Likewise.
47546 * sysdeps/i386/dl-machine.h: Likewise.
47547 * sysdeps/ia64/dl-machine.h: Likewise.
47548 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
47549 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
47550 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
47551 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
47552 * sysdeps/sh/dl-machine.h: Likewise.
47553 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
47554 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
47555 * sysdeps/unix/i386/sysdep.S: Likewise.
47556 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
47557 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
47558 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
47559 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
47560 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
47561 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
47562 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
47563 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
47564 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
47565 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
47566 * sysdeps/unix/x86_64/sysdep.S: Likewise.
47567 * sysdeps/x86_64/dl-machine.h: Likewise.
47568 * tls.make.c: Likewise.
47569
3ce1f295
UD
47570 * configure.in: Remove --with-__thread option. Make tests for
47571 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
47572 tls_model attribute fail if no support is available. Remove
47573 USE_IN_LIBIO.
47574 * Makeconfig: Adjust for dropped configure option. All features are
47575 now mandatory.
47576 * Makerules: Likewise.
47577 * Versions.def: Likewise.
47578 * argp/argp-fmtstream.c: Likewise.
47579 * argp/argp-fmtstream.h: Likewise.
47580 * argp/argp-help.c: Likewise.
47581 * assert/assert.c: Likewise.
47582 * config.h.in: Likewise.
47583 * config.make.in: Likewise.
47584 * configure: Likewise.
47585 * configure.in: Likewise.
47586 * csu/Versions: Likewise.
47587 * csu/init.c: Likewise.
47588 * elf/tst-audit2.c: Likewise.
47589 * elf/tst-tls10.c: Likewise.
47590 * elf/tst-tls10.h: Likewise.
47591 * elf/tst-tls11.c: Likewise.
47592 * elf/tst-tls12.c: Likewise.
47593 * elf/tst-tls14.c: Likewise.
47594 * elf/tst-tlsmod11.c: Likewise.
47595 * elf/tst-tlsmod12.c: Likewise.
47596 * elf/tst-tlsmod13.c: Likewise.
47597 * elf/tst-tlsmod13a.c: Likewise.
47598 * elf/tst-tlsmod14a.c: Likewise.
47599 * elf/tst-tlsmod15b.c: Likewise.
47600 * elf/tst-tlsmod16a.c: Likewise.
47601 * elf/tst-tlsmod16b.c: Likewise.
47602 * elf/tst-tlsmod7.c: Likewise.
47603 * elf/tst-tlsmod8.c: Likewise.
47604 * elf/tst-tlsmod9.c: Likewise.
47605 * gmon/gmon.c: Likewise.
47606 * grp/fgetgrent_r.c: Likewise.
47607 * grp/putgrent.c: Likewise.
47608 * hurd/fopenport.c: Likewise.
47609 * include/libc-symbols.h: Likewise.
47610 * include/tls.h: Likewise.
47611 * intl/gettextP.h: Likewise.
47612 * intl/loadinfo.h: Likewise.
47613 * locale/global-locale.c: Likewise.
47614 * locale/localeinfo.h: Likewise.
47615 * mach/devstream.c: Likewise.
47616 * malloc/arena.c: Likewise.
47617 * malloc/set-freeres.c: Likewise.
47618 * misc/err.c: Likewise.
47619 * misc/getttyent.c: Likewise.
47620 * misc/mntent_r.c: Likewise.
47621 * posix/getopt.c: Likewise.
47622 * posix/wordexp.c: Likewise.
47623 * pwd/fgetpwent_r.c: Likewise.
47624 * resolv/Versions: Likewise.
47625 * resolv/res_hconf.c: Likewise.
47626 * shadow/fgetspent_r.c: Likewise.
47627 * shadow/putspent.c: Likewise.
47628 * stdio-common/printf_fphex.c: Likewise.
47629 * stdio-common/tmpfile.c: Likewise.
47630 * stdlib/abort.c: Likewise.
47631 * stdlib/fmtmsg.c: Likewise.
47632 * sunrpc/auth_unix.c: Likewise.
47633 * sunrpc/clnt_perr.c: Likewise.
47634 * sunrpc/clnt_tcp.c: Likewise.
47635 * sunrpc/clnt_udp.c: Likewise.
47636 * sunrpc/clnt_unix.c: Likewise.
47637 * sunrpc/openchild.c: Likewise.
47638 * sunrpc/svc_simple.c: Likewise.
47639 * sunrpc/svc_tcp.c: Likewise.
47640 * sunrpc/svc_udp.c: Likewise.
47641 * sunrpc/svc_unix.c: Likewise.
47642 * sunrpc/xdr.c: Likewise.
47643 * sunrpc/xdr_array.c: Likewise.
47644 * sunrpc/xdr_rec.c: Likewise.
47645 * sunrpc/xdr_ref.c: Likewise.
47646 * sunrpc/xdr_stdio.c: Likewise.
47647
1248c1c4
PB
476482011-09-09 Ulrich Drepper <drepper@gmail.com>
47649
47650 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
47651
476522011-07-03 Andreas Jaeger <aj@suse.de>
47653
47654 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
47655 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
47656 regenerate with gen-libm-tests.pl.
47657
476582010-05-12 Petr Baudis <pasky@suse.cz>
47659
47660 [BZ #11589]
47661 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
47662 around j0() zero points by switching to j1().
47663 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
47664 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
47665 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
47666 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
47667
f22e1074
UD
476682011-09-09 Ulrich Drepper <drepper@gmail.com>
47669
f19009c1
UD
47670 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
47671 instead of 0.
47672 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
3a235abb 47673 instead of 0.
f19009c1
UD
47674 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
47675 Patch in part by Pavel Roskin <proski@gnu.org>.
47676
3f8cc204
UD
47677 [BZ #13138]
47678 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
47679 realloc.
47680 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
47681 Free memory block if necessary.
47682
f22e1074
UD
47683 [BZ #12847]
47684 * libio/genops.c (INTDEF): For string streams the _lock pointer can
47685 be NULL. Don't lock in this case.
47686
0a2349f9
RM
476872011-09-09 Roland McGrath <roland@hack.frob.com>
47688
47689 * elf/elf.h (ELFOSABI_GNU): New macro.
47690 (ELFOSABI_LINUX): Define to that.
47691
f3cdd467
DZ
476922011-07-29 Denis Zaitceff <zaitceff@gmail.com>
47693
47694 * string/strncat.c (strncat): Undef the symbol in case it has been
47695 defined in bits/string.h.
47696
74718d13
UD
476972011-09-09 Ulrich Drepper <drepper@gmail.com>
47698
633e9e0f
UD
47699 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
47700
0a2349f9 47701 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
47702 link map.
47703
f9924780
AJ
477042011-08-17 Andreas Jaeger <aj@suse.de>
47705
47706 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
47707
7f5517aa
PP
477082011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
47709 Ian Lance Taylor <iant@google.com>
47710
47711 * math/libm-test.inc (lround_test): New testcase.
47712 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
47713
762011fe
UD
477142011-09-08 Ulrich Drepper <drepper@gmail.com>
47715
92963737
UD
47716 * Makefile: Remove support for automatic cvs check-ins.
47717 * Makerules: Likewise.
47718 * config.make.in: Likewise.
47719 * configure.in: Likewise.
47720 * intl/Makefile: Likewise.
47721 * locale/Makefile: Likewise.
47722 * po/Makefile: Likewise.
47723 * posix/Makefile: Likewise.
47724 * sysdeps/gnu/Makefile: Likewise.
47725 * sysdeps/mach/hurd/Makefile: Likewise.
47726 * sysdeps/sparc/sparc32/Makefile: Likewise.
47727
b0727fd8
JS
47728 [BZ #13118]
47729 * posix/Makefile (bug-regex32-ENV): Define.
47730 Patch by John Stanley <jpsinthemix@verizon.net>.
47731
a0f33f99
UD
47732 * misc/Makefile (headers): Add bits/select2.h.
47733 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
47734 * misc/bits/select2.h: New file.
47735 * include/bits/select2.h: New file.
47736 * debug/Makefile (routines): Add fdelt_chk.
47737 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
47738 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
47739 FD_ISSET.
47740 * debug/fdelt_chk.c: New file.
47741
762011fe
UD
47742 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
47743 * wcsmbs/test-wmemcmp.c: Likewise.
47744 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 47745 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
47746
477472011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
47748
47749 * string/Makefile (strop-tests): Add memcmp.
47750 * string/test-wmemcmp.c: New file.
47751 * string/test-memcmp.c: Add wmemcmp support.
47752
7f513ec8
RM
477532011-09-08 Roland McGrath <roland@hack.frob.com>
47754
0442afb4
RM
47755 [BZ #13153]
47756 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
47757 2011-07-19 change.
47758
7f513ec8
RM
47759 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
47760 garbage value in a __mach_port_mod_refs call in the cases of the
47761 task-self and thread-self ports.
47762
a12b2239
ST
477632011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
47764
47765 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
47766
610f9ab4
AS
477672011-09-08 Andreas Schwab <schwab@redhat.com>
47768
7f513ec8 47769 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 47770
48882a1a
LD
477712011-09-07 Ulrich Drepper <drepper@gmail.com>
47772
b49865be
UD
47773 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
47774
fdc86bc9
UD
47775 * elf/dl-libc.c (dlerror_run): Pass back error code from
47776 dl_catch_error.
47777
c966526a
UD
47778 [BZ #13123]
47779 * elf/dl-load.c (lose): Free l_origin if it is valid.
47780
48882a1a
LD
47781 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
47782 names.
47783 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
47784 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
47785 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
47786 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
47787 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
47788 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
47789
77a2a8b4
AZ
477902011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
47791
47792 * sysdeps/powerpc/fpu/e_hypot.c: New file.
47793 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
47794 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
47795 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
47796 * sysdeps/powerpc/fpu/k_cosf.c: New file.
47797 * sysdeps/powerpc/fpu/k_sinf.c: New file.
47798 * sysdeps/powerpc/fpu/s_cosf.c: New file.
47799 * sysdeps/powerpc/fpu/s_sinf.c: New file.
47800 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
47801 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
47802
24f579d8
AM
478032011-08-15 Alan Modra <amodra@gmail.com>
47804
47805 [BZ #13092]
47806 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
47807 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
47808 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
47809 ppc_mcount to static-only-routines.
47810 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
47811 __mcount_internal.
47812 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
47813 __mcount_internal with usual JUMPTARGET. Remove useless nop.
47814
3d4837df
UD
478152011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
47816
47817 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
47818 for finite and infinity parameters.
47819
22700377
WS
478202011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
47821
47822 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
47823 and add nop instructions for throughput optimization.
47824 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
47825
5025581e
WS
478262011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
47827
47828 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
47829 aligned copy for power7 with vector-scalar instructions.
47830 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
47831
08a300c9
L
478322011-07-24 H.J. Lu <hongjiu.lu@intel.com>
47833
47834 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
47835 AVX check.
47836
59178ef9
AS
478372011-09-07 Andreas Schwab <schwab@redhat.com>
47838
47839 [BZ #13144]
47840 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
47841 last change.
47842
e38ba7ab
UD
478432011-09-07 Ulrich Drepper <drepper@gmail.com>
47844
47845 * sysdeps/unix/sysv/linux/x86_64/init-first.c
47846 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
47847 syscall wrapper around clock_gettime in __vdso_clock_gettime.
47848 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
47849 clock_gettime.
47850
d53a73ac
UD
478512011-09-06 Ulrich Drepper <drepper@gmail.com>
47852
fc8bffcc
UD
47853 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
47854 Forgot to demangle the pointer.
47855
ceaa0c5d
UD
47856 * sysdeps/i386/sysdep.h: Define atom_text_section.
47857 * sysdeps/x86_64/sysdep.h: Likewise.
47858 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
47859 section with atom_text_section.
47860 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
47861 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
47862 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
47863 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
47864 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
47865
a77d3c17
UD
47866 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
47867 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
47868 already be defined. Change to take two parameters and don't assign
47869 result to variable. Adjust all users.
47870 Define INTERNAL_GETTIME if not already defined.
47871 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
47872 call.
47873 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
47874 HAVE_CLOCK_GETTIME_VSYSCALL.
47875 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
47876
d53a73ac
UD
47877 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
47878 gettimeofday vsyscall, just use time.
47879
a8f84144
AS
478802011-09-06 Andreas Schwab <schwab@redhat.com>
47881
47882 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
47883 <errno.h>.
47884
ef606249
UD
478852011-09-06 Ulrich Drepper <drepper@gmail.com>
47886
47887 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
47888 syscall on x86-64.
47889 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
47890 syscall.
47891 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
47892 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
47893 syscall if possible.
47894
6585cb60
UD
478952011-09-05 Ulrich Drepper <drepper@gmail.com>
47896
47897 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
47898 e_ident. Don't pass to find_mapsXX.
47899 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
47900
a5f524e4
LD
479012011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
47902
47903 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
47904 strchr-sse2-no-bsf strrchr-sse2-no-bsf
47905 * sysdeps/x86_64/multiarch/strchr.S: Update.
47906 Check bit_slow_BSF bit.
47907 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
47908 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
47909 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
47910
554881ef
UD
479112011-09-05 Ulrich Drepper <drepper@gmail.com>
47912
d96de963
UD
47913 [BZ #13134]
47914 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
47915 before glibc 2.15.
47916 (tryshell): Define.
47917 (__spawni): Change last parameter to be flag. Test
47918 SPAWN_XFLAGS_USE_PATH flag to use path or not.
47919 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
47920 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
47921 * posix/spawni.c: Likewise.
47922 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
47923 * posix/spawnp.c: Likewise. Change normal version to use
47924 SPAWN_XFLAGS_USE_PATH.
47925 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
47926 SPAWN_XFLAGS_TRY_SHELL.
47927
d48e5868
UD
47928 [BZ #13150]
47929 * posix/glob.h: Remove gcc 1.x support.
47930
554881ef
UD
47931 [BZ #13068]
47932 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
47933
693fb948
LD
479342011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
47935
47936 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
47937 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
47938 strrchr-sse2-bsf
47939 * sysdeps/i386/i686/multiarch/strchr.S: New file.
47940 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
47941 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
47942 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
47943 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
47944 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
47945
1b48c537
UD
479462011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
47947
49d42c37
UD
47948 * sysdeps/x86_64/wcscmp.S: New file.
47949
1b48c537
UD
47950 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
47951 wcscmp-c wcscmp-sse2
47952 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
47953 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
47954 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
47955 * wcsmbs/wcscmp.c: Allow renaming.
47956
15c95c5d
DM
479572011-09-05 David S. Miller <davem@davemloft.net>
47958
47959 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
47960 stack slot, rather than the struct return pointer slot.
47961 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
47962 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
47963 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
47964 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
47965
2f0ad8f3
UD
479662011-09-05 Ulrich Drepper <drepper@gmail.com>
47967
d88ae418
UD
47968 * po/ja.po: Update from translation team.
47969
2f0ad8f3
UD
47970 [BZ #13144]
47971 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
47972 kernel in 64-bit binaries.
47973
5f4318d1
DM
479742011-09-01 David S. Miller <davem@davemloft.net>
47975
47976 * elf/elf.h (HWCAP_SPARC_*): Move to..
47977 * sysdeps/sparc/sysdep.h: this new file and add new values.
47978 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
47979 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
47980 _DL_HWCAP_COUNT to 24.
47981 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
47982 entries.
47983 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
47984 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
47985 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
47986 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
47987 instead of magic constants.
47988 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
47989
3ba57516
DM
479902011-08-31 David S. Miller <davem@davemloft.net>
47991
47992 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
47993 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
47994 Reimplement to do errno handling inline.
47995 (SYSCALL_ERROR_HANDLER): New macro.
47996 (__SYSCALL_STRING): Do not do errno handling in asm.
47997 (__CLONE_SYSCALL_STRING): Delete.
47998 (__INTERNAL_SYSCALL_STRING): Delete.
47999 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
48000 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
48001 (PSEUDO): Reimplement to do errno handling inline.
48002 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
48003 (SYSCALL_ERROR_HANDLER): New macro.
48004 (__SYSCALL_STRING): Do not do errno handling in asm.
48005 (__CLONE_SYSCALL_STRING): Delete.
48006 (__INTERNAL_SYSCALL_STRING): Delete.
48007 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
48008 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
48009 i386.
48010 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
48011 (inline_syscall*): Add 'err' argument.
48012 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
48013 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
48014 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
48015 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
48016
48017 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
48018 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
48019
2bc17433
AS
480202011-08-30 Andreas Schwab <schwab@redhat.com>
48021
48022 * elf/rtld.c (dl_main): Relocate objects in dependency order.
48023
fbeb5f4d
JO
480242011-08-29 Jiri Olsa <jolsa@redhat.com>
48025
48026 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
48027 directive.
48028
ad69cc26
DM
480292011-08-24 David S. Miller <davem@davemloft.net>
48030
48031 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
48032
39dd69df
AS
480332011-08-24 Andreas Schwab <schwab@redhat.com>
48034
48035 * elf/Makefile: Add rules to build and run unload8 test.
48036 * elf/unload8.c: New file.
48037 * elf/unload8mod1.c: New file.
48038 * elf/unload8mod1x.c: New file.
48039 * elf/unload8mod2.c: New file.
48040 * elf/unload8mod3.c: New file.
48041
48042 * elf/dl-close.c (_dl_close_worker): Reset private search list if
48043 it wasn't used.
48044
2c0b250a
DM
480452011-08-23 David S. Miller <davem@davemloft.net>
48046
48047 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
48048 subtract stack bias.
48049 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
48050 %sp not %fp in calculations.
48051 (_JMPBUF_UNWINDS_ADJ): Likewise.
48052
22044b48
DM
48053 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
48054 (aio_suspend): Call it to force an exception region around the
48055 AIO_MISC_WAIT() invocation.
48056
2cae4995
AS
480572011-08-23 Andreas Schwab <schwab@redhat.com>
48058
48059 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
48060 backslash.
48061
873a772e
AJ
480622011-07-04 Aurelien Jarno <aurelien@aurel32.net>
48063
48064 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
48065 protection macro.
48066 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
48067 and <dl-machine.h>.
48068 (Elf64_FuncDesc): Remove.
48069
25ad0df1
DM
480702011-08-22 David S. Miller <davem@davemloft.net>
48071
48072 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
48073 sigaltstack check, add missing cfi directives.
48074 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
48075 missing cfi directives, and sigaltstack handling.
48076
e888bcbe
AS
480772011-08-16 Andreas Schwab <schwab@redhat.com>
48078
48079 [BZ #11724]
48080 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
48081 object is seen twice.
48082 * elf/dl-fini.c (_dl_sort_fini): Likewise.
48083
48084 * elf/Makefile (distribute): Add tst-initorder2.c.
48085 (tests): Add tst-initorder2.
48086 (modules-names): Add tst-initorder2a tst-initorder2b
48087 tst-initorder2c tst-initorder2d. Add rules to build them.
48088 ($(objpfx)tst-initorder2.out): New rule.
48089 * elf/tst-initorder2.c: New file.
48090 * elf/tst-initorder2.exp: New file.
48091
87162f46
AS
480922011-08-22 Andreas Schwab <schwab@redhat.com>
48093
70538b7f
AS
48094 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
48095
f55ffe58
AS
48096 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
48097 dependencies back to end of function.
48098
87162f46
AS
48099 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
48100 $(elfobjdir)/ld.so.
48101
91b392a4
UD
481022011-08-21 Ulrich Drepper <drepper@gmail.com>
48103
48104 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
48105 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
48106 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
48107 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
48108 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
48109 of __vdso_gettimeofday.
48110 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
48111 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
48112 attribute_hidden.
48113 (_libc_vdso_platform_setup): Remove initialization of
48114 __vdso_gettimeofday and __vdso_time.
48115
5c43483f
UD
481162011-08-20 Ulrich Drepper <drepper@gmail.com>
48117
775a77e7
UD
48118 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
48119 and fgetc_unlocked.
48120 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
48121 getc_unlocked.
89f447ed 48122
49c74ba9
UD
48123 * elf/dl-open.c (add_to_global): Report additions to the global scope
48124 for LD_DEBUG=scopes.
48125 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 48126 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 48127
5c43483f
UD
48128 [BZ #13114]
48129 * stdio-common/Makefile (tests): Add bug24.
48130 * stdio-common/bug24.c: New file.
48131
a101b025
AJ
481322011-08-19 Andreas Jaeger <aj@suse.de>
48133
48134 [BZ #13114]
48135 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
48136 non-existant file when using close-on-exec mode.
48137
c88f1766
UD
481382011-08-20 Ulrich Drepper <drepper@gmail.com>
48139
0276a718
UD
48140 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
48141 the very first instruction.
48142
c88f1766
UD
48143 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
48144 the CFI state in the end.
48145 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
48146 inclusion of dl-trampoline.h.
48147 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
48148
51ccffa0
AS
481492011-08-19 Andreas Schwab <schwab@redhat.com>
48150
94d7165f
AS
48151 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
48152 expectations for long double.
48153
51ccffa0
AS
48154 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
48155 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
48156
fd708658 481572011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
48158
48159 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
48160 artificual limit depends upon the system page size.
48161
44f0a71e
UD
481622011-08-17 Ulrich Drepper <drepper@gmail.com>
48163
48164 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
48165 * resolv/Makefile: Define CFLAGS-libresolv.
48166
8de79a24
AS
481672011-08-17 Andreas Schwab <schwab@redhat.com>
48168
48169 * nss/makedb.c (compute_tables): Make variables used in nested
48170 function static.
48171
27724598
UD
481722011-08-17 Ulrich Drepper <drepper@gmail.com>
48173
c5305d88
UD
48174 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
48175 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
48176 if buffer was too small.
48177
27724598
UD
48178 * elf/pldd.c (main): Attach to all threads in the process.
48179 Rewrite /proc handling to use *at functions.
48180
076fe015
UD
481812011-08-16 Ulrich Drepper <drepper@gmail.com>
48182
174baab3
UD
48183 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
48184 specifies first scope to show.
48185 (dl_open_worker): Update callers. Move printing scope of new
48186 object to before the relocation.
44f0a71e 48187 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
48188 * sysdeps/generic/ldsodefs.h: Update declaration.
48189
076fe015
UD
48190 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
48191 string for the scope number.
48192
a60df2c3
UD
481932011-08-14 Ulrich Drepper <drepper@gmail.com>
48194
48195 * nscd/servicescache.c (cache_addserv): Make sure written is always
48196 initialized.
48197
5e4287d1
RM
481982011-08-14 Roland McGrath <roland@hack.frob.com>
48199
85ae0589
RM
48200 * sysdeps/i386/i486/bits/atomic.h
48201 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
48202 statement expression, so as to suppress "set but not used" warning.
48203 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
48204
69f63097
RM
48205 * string/strncat.c (STRNCAT): Use prototype definition.
48206
675456ef
RM
48207 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
48208 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
48209 -Iprograms here.
48210 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
48211 (localedef-modules): Add localedef.
48212 (locale-modules): Add locale.
48213
5e4287d1
RM
48214 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
48215 * elf/rtld.c (dl_main): Invert order of assignment in last change,
48216 to avoid a warning.
48217
9c96ff23
DM
482182011-08-14 David S. Miller <davem@davemloft.net>
48219
48220 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
48221 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
48222
f9ddf089
UD
482232011-08-13 Ulrich Drepper <drepper@gmail.com>
48224
44f0a71e 48225 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
48226 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
48227 * elf/rtld.c (dl_main): Set l_name of vDSO.
48228 Call _dl_show_scope when DL_DEBUG_SCOPES.
48229 (process_dl_debug): Recognize scopes flag and also set it for all.
48230 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
48231 Declare _dl_show_scope.
48232
1dc27704
UD
48233 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
48234 (do_dlopen): Pass caller_dlopen to dl_open.
48235 (__libc_dlopen_mode): Initialize caller_dlopen.
48236
f9ddf089
UD
48237 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
48238 of libc. Make tolower call locale-independent. Optimize a bit by
48239 using isdigit instead of isalnum.
48240 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
48241
9ac533d3
UD
482422011-08-12 Ulrich Drepper <drepper@gmail.com>
48243
48244 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
48245 was a dependency or dynamically loaded.
48246
89edf2e9
UD
482472011-08-11 Ulrich Drepper <drepper@gmail.com>
48248
8e999d29
UD
48249 * intl/l10nflist.c: Allow architecture-specific pop function.
48250 * sysdeps/x86_64/l10nflist.c: New file.
48251
89edf2e9
UD
48252 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
48253 classification.
48254
14d96785
AS
482552011-08-10 Andreas Schwab <schwab@redhat.com>
48256
48257 * include/dirent.h: Add libc_hidden_proto for scandirat and
48258 scandirat64. Don't declare __scandirat64.
48259 * dirent/scandirat.c: Add libc_hidden_def.
48260 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
48261 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
48262
6761ac04
DM
482632011-08-10 David S. Miller <davem@davemloft.net>
48264
48265 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
48266 enum.
48267 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
48268 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
48269 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
48270
c55fbd1e
UD
482712011-08-09 Ulrich Drepper <drepper@gmail.com>
48272
48273 * Versions.def [libc]: Add GLIBC_2.15.
48274 * dirent/Makefile (routines): Add scandirat and scandirat64.
48275 * dirent/Versions [libc]: Export scandirat and scandirat64 for
48276 GLIBC_2.15.
48277 * dirent/dirent.h: Declare scandirat and scandirat64.
48278 * dirent/scandirat.c: New file.
48279 * dirent/scandirat64.c: New file.
48280 * sysdeps/wordsize-64/scandirat.c: New file.
48281 * sysdeps/wordsize-64/scandirat64.c: New file.
48282 * dirent/opendir.c: Define opendirat.
48283 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
48284 using scandirat.
48285 * dirent/scandir64.c: Adjust for scandir.c change.
48286 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
48287 __scandirat64, and __scandir_cancel_handler.
48288 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
48289 additional parameter and use openat instead of open (outside of ld.so).
48290 Add new __opendir as wrapper around __opendirat.
48291 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
48292 here without requiring old scandirat implementation.
48293
879165f2
UD
482942011-08-08 Ulrich Drepper <drepper@gmail.com>
48295
48296 * dirent/scandir.c (cancel_handler): Renamed to
48297 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
48298 defined. Adjust users.
48299 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
48300 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
48301
cb7e923b
UD
483022011-08-04 Ulrich Drepper <drepper@gmail.com>
48303
16292edd
UD
48304 * string/test-string.h (IMPL): Use __STRING to expand name and then
48305 stringify it.
48306
cb7e923b
UD
48307 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
48308 of cleanups.
48309
cff82933
LD
483102011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
48311
48312 * string/Makefile: Update.
48313 (strop-tests): Append strncat.
48314 * string/test-wcscmp.c: New file.
48315 New comprehensive test for wcscmp.
48316 * string/test-strcmp.c: Update.
48317 (WIDE): New define.
48318
9be9bfcc
AS
483192011-07-22 Andreas Schwab <schwab@redhat.com>
48320
48321 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
48322 line.
48323
2e96f1c7
AS
483242011-07-26 Andreas Schwab <schwab@redhat.com>
48325
48326 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
48327 encoding to ACE if AI_IDN.
48328
85188888
JJ
483292011-08-01 Jakub Jelinek <jakub@redhat.com>
48330
48331 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
48332 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
48333
5fa16e9b
LD
483342011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
48335
48336 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
48337 Fix overflow bug in strncat.
48338 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
48339
48340 * string/test-strncat.c: Update.
48341 Add new tests for checking overflow bugs.
48342
483432011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
48344
48345 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
48346 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
48347 * sysdeps/i386/i686/multiarch/strcat.S: New file.
48348 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
48349 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
48350 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
48351 * sysdeps/i386/i686/multiarch/strncat.S: New file.
48352 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
48353 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
48354
48355 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
48356 (USE_AS_STRCAT): Define.
48357 Add strcat and strncat support.
48358 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
48359
8c1a459f
AS
483602011-07-25 Andreas Schwab <schwab@redhat.com>
48361
48362 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
48363 __n bigger than INT_MAX+1.
48364 (__strncmp_g): Likewise.
48365
bba33c28
UD
483662011-07-23 Ulrich Drepper <drepper@gmail.com>
48367
798be72d
UD
48368 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
48369 * libio/stido.h: Likewise.
48370
8accd4dc
UD
48371 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
48372 (AF_NFC): Define.
48373 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
48374 (AF_NFC): Define.
48375
cbff0d96
UD
48376 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
48377 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
48378 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
48379 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
48380 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
48381
9191c04a
UD
48382 [BZ #13021]
48383 * scripts/test-installation.pl: Don't expect libnss_test1 to be
48384 installed.
48385
bba33c28
UD
48386 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
48387 typo.
48388 (_dl_x86_64_save_sse): Likewise.
48389
90f139dd
UD
483902011-07-22 Ulrich Drepper <drepper@gmail.com>
48391
1aae088a
UD
48392 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
48393 OSXSAVE.
48394 (_dl_x86_64_save_sse): Likewise.
48395
8e2045f5
UD
48396 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
48397
90f139dd
UD
48398 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
48399
1d002f25
AS
484002011-07-21 Andreas Schwab <schwab@redhat.com>
48401
48402 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
48403 change.
48404 (_dl_x86_64_save_sse): Use correct AVX check.
48405
21137f89
UD
484062011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
48407
48408 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
48409 bug in strncpy/strncat.
48410 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
48411
a65c0b7a
UD
484122011-07-21 Ulrich Drepper <drepper@gmail.com>
48413
48414 * string/tester.c (test_strcat): Add tests for different alignments
48415 of source and destination.
48416 (test_strncat): Likewise.
48417
6986b98a
UD
484182011-07-20 Ulrich Drepper <drepper@gmail.com>
48419
90bb2039
UD
48420 [BZ #12852]
48421 * posix/glob.c (glob): Check passed in values before using them in
48422 expressions to avoid some overflows.
48423 (glob_in_dir): Likewise.
48424
5644ef54
UD
48425 [BZ #13007]
48426 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
48427 check for AVX enablement so that we don't crash with old kernels and
48428 new hardware.
48429 * elf/tst-audit4.c: Add same checks here.
48430 * elf/tst-audit6.c: Likewise.
48431
48432 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 48433
bfc9dc9b
AS
484342011-07-09 Andreas Schwab <schwab@linux-m68k.org>
48435
48436 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
48437
702e64bb
UD
484382011-07-20 Ulrich Drepper <drepper@gmail.com>
48439
48440 * po/cs.po: Update from translation team.
48441 * po/bg.po: Likewise.
48442
295e904f
MP
484432011-07-12 Marek Polacek <mpolacek@redhat.com>
48444
48445 * misc/sys/cdefs.h: Add support for const attribute.
48446 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
48447 to gnu_dev_{major,minor,makedev} functions.
48448
3ff94596
MP
484492011-07-20 Marek Polacek <mpolacek@redhat.com>
48450
48451 * intl/dcigettext.c (get_output_charset): Add missing bracket.
48452
28b59fca
AS
484532011-07-20 Andreas Schwab <schwab@redhat.com>
48454
48455 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
48456 strlen results.
48457
19df733e
AK
484582011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
48459
48460 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
48461 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
48462 register in order to avoid conflicts with the soft frame pointer
48463 being held in r11 when necessary.
48464 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
48465 (INTERNAL_VSYSCALL_NCS): Likewise.
48466
c8835729
MP
484672011-07-14 Marek Polacek <mpolacek@redhat.com>
48468
48469 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
48470 * elf/dl-fini.c (_dl_fini): Adjust caller.
48471 * elf/dl-close.c (_dl_close_worker): Likewise.
48472 * sysdeps/generic/ldsodefs.h: Adjust declaration.
48473
b902330c
MP
484742011-07-15 Marek Polacek <mpolacek@redhat.com>
48475
8991e135
MP
48476 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
48477 "aux_cache->nlibs < 0".
48478
b902330c
MP
48479 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
48480 in the reload-count case.
48481
99710781
LD
484822011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
48483
48484 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
48485 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
48486 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
48487 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
48488 * sysdeps/x86_64/multiarch/strcat.S: New file.
48489 * sysdeps/x86_64/multiarch/strncat.S: New file.
48490 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
48491 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
48492 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
48493 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
48494 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
48495 (USE_AS_STRCAT): Define.
48496 Add strcat and strncat support.
48497 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
48498 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
48499 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
48500 * string/strncat.c: Update.
48501 (USE_AS_STRNCAT): Define.
48502 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
48503 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
48504 and i7.
48505 * sysdeps/x86_64/multiarch/init-arch.h
48506 (bit_Prefer_PMINUB_for_stringop): New.
48507 (index_Prefer_PMINUB_for_stringop): Likewise.
48508 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
48509 bit_Prefer_PMINUB_for_stringop.
48510
7dc6bd90
UD
485112011-07-19 Ulrich Drepper <drepper@gmail.com>
48512
48513 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
48514 buffer64.
48515 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
48516 of casting of buffer.
48517 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
48518 buffer32 and buffer64.
48519 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
48520 writes instead of casting of buffer.
48521 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
48522 buffer32.
48523 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
48524 casting of buffer.
48525
e0e72284
AS
485262011-07-19 Andreas Schwab <schwab@redhat.com>
48527
48528 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
48529
feb1eb0b
UD
485302011-07-19 Ulrich Drepper <drepper@gmail.com>
48531
48532 * nscd/nscd.c (termination_handler): Don't do anything for a database
48533 if it has not yet been initialized.
48534
298711ff
UD
485352011-07-18 Ulrich Drepper <drepper@gmail.com>
48536
48537 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
48538
485392011-07-15 Marek Polacek <mpolacek@redhat.com>
48540
48541 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
48542
f9d68389
UD
485432011-07-18 Ulrich Drepper <drepper@gmail.com>
48544
48545 * po/nl.po: Update from translation team.
48546 * po/sv.po: Likewise.
48547
db290cf5
RM
485482011-07-16 Roland McGrath <roland@hack.frob.com>
48549
48550 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
48551 now disallowed by GCC.
5c550700 48552
fd5e21c7
RM
48553 * configure.in (use-default-link): Default to yes if a test -shared
48554 link meets our qualifications.
48555 * configure: Regenerated.
48556
5c550700
RM
48557 * config.make.in (output-format): New variable.
48558 * configure.in: Check for ld --print-output-format support.
48559 * configure: Regenerated.
48560 * Makerules ($(common-objpfx)format.lds)
48561 [$(output-format) != unknown]: Just use $(output-format),
48562 instead of the linker-script munging.
48563
9fa2c032
RM
485642011-07-14 Roland McGrath <roland@hack.frob.com>
48565
a6928d51
RM
48566 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
48567 of $(common-objpfx)shlib.lds.
48568 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
48569
661607b3
RM
48570 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
48571 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
48572
9fa2c032
RM
48573 * configure.in (-z relro check): Adjust test code to add a large
48574 writable data section after it.
48575 * configure: Regenerated.
48576
defe9061
RM
485772011-07-11 Roland McGrath <roland@hack.frob.com>
48578
48579 * configure.in (-z relro check): Fix test code to make the variable
48580 truly const.
48581 * configure: Regenerated.
48582
319b9ad4
UD
485832011-07-11 Ulrich Drepper <drepper@gmail.com>
48584
48585 * nscd/nscd.h (struct traced_file): Define.
48586 (struct database_dyn): Remove inotify_descr, reset_res, and filename
48587 elements. Add traced_files.
48588 (inotify_fd): Declare.
48589 (register_traced_file): Declare.
48590 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
48591 (inotify_fd): Export.
48592 (resolv_conf_descr): Remove.
48593 (nscd_init): Move inotify descriptor creation to main.
48594 Don't register files for notification here.
48595 (register_traced_file): New function.
48596 (invalidate_cache): Don't use reset_res to determine whether to call
48597 res_init, go through the list of registered files.
48598 (main_loop_poll): The inotify descriptors are now stored in the
48599 structures for the traced files.
48600 (main_loop_epoll): Likewise
48601 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
48602 to __nss_disable_nscd.
48603 * nscd/cache.c (prune_cache): There is no single inotify descriptor
48604 for a database anymore. Check the records for all the registered
48605 files instead.
48606 * nss/Makefile (libnss_files-routines): Add files-init.
48607 (libnss_db-routines): Add db-init.
48608 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
48609 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
48610 * nss/nss_db/db-init.c: New file.
48611 * nss/nss_files/files-init.c: New file.
48612 * nss/nsswitch.c (nss_load_library): New function. Broken out of
48613 __nss_lookup_function.
48614 (__nss_lookup_function): Call nss_load_library.
48615 (nss_load_all_libraries): New function.
48616 (__nss_disable_nscd): Take parameter with callback function for files
48617 to register. Set is_nscd. Load all the DSOs for the NSS modules
48618 used for the cached services.
48619 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
48620 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
48621 options for features to all the files in nscd.
48622
48623 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
48624
23bee3e8
RM
486252011-07-10 Roland McGrath <roland@hack.frob.com>
48626
48627 * csu/elf-init.c (__libc_csu_init): Comment typo.
48628
46a5b7f0
UD
486292011-07-09 Ulrich Drepper <drepper@gmail.com>
48630
48631 * po/pl.po: Update from translation team.
48632 * po/ja.po: Likewise.
48633 * po/ru.po: Likewise.
48634 * po/ko.po: Likewise.
48635 * po/fr.po: Likewise.
48636
d30cf5bb
RM
486372011-07-09 Roland McGrath <roland@hack.frob.com>
48638
113ddea4
RM
48639 * configure.in (.ctors/.dtors header and trailer check):
48640 Use an empirical test on a built program.
48641 * configure: Regenerated.
48642
574920b4
RM
48643 * configure.in (-z relro check): Use an empirical test on a built DSO.
48644 Detect, but do not require, on ia64.
48645 * configure: Regenerated.
48646
d30cf5bb
RM
48647 * configure.in (READELF): Find it with AC_CHECK_TOOL.
48648 Update tests that use readelf to use $READELF instead.
48649 * configure: Regenerated.
48650
8538fdb3
UD
486512011-07-08 Ulrich Drepper <drepper@gmail.com>
48652
48653 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
48654 if the result is not used.
48655
04d08991
AJ
486562011-07-05 Andreas Jaeger <aj@suse.de>
48657
48658 [BZ#9696]
48659 * stdlib/tst-strtod.c: Add testcase.
48660
de283087
AD
486612011-07-07 Ulrich Drepper <drepper@gmail.com>
48662
4e5f31c8 48663 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 48664 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
48665 The latter has a higher limit. Take additional parameter to pass to
48666 the new function.
48667 (__pathconf): Pass file to __statfs_link_max.
48668 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
48669 __statfs_link_max.
48670 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
48671 __statfs_link_max.
48672
de283087
AD
48673 [BZ #12868]
48674 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
48675 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
48676 Handle Lustre.
48677 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
48678 (__statfs_filesize_max): Likewise.
48679 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
48680
c75fa153
AJ
486812011-07-05 Andreas Jaeger <aj@suse.de>
48682
48683 * resolv/res_comp.c (dn_skipname): Remove unused variable.
48684
1a544854
UD
486852011-07-06 Marek Polacek <mpolacek@redhat.com>
48686
48687 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
48688 `status' variable.
48689 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
48690 Likewise.
48691
6f0eec67
UD
486922011-07-04 H.J. Lu <hongjiu.lu@intel.com>
48693
48694 * Makefile (strop-tests): Add strncat.
48695 * string/test-strncat.c: New file.
48696
aae30307
UD
486972011-06-30 Marek Polacek <mpolacek@redhat.com>
48698
48699 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
48700
c0cfb5eb
UD
487012011-06-21 Andreas Jaeger <aj@suse.de>
48702
48703 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
48704 Copy rule from iconvdata/Makefile.
48705
01636b21
UD
487062011-07-06 Ulrich Drepper <drepper@gmail.com>
48707
48708 [BZ #12922]
48709 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
48710 but no long options are defined, just return 'W'.
48711
9895c8bc
UD
487122011-06-22 Marek Polacek <mpolacek@redhat.com>
48713
48714 [BZ #9696]
48715 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
48716
5d4cf042
UD
487172011-07-06 Ulrich Drepper <drepper@gmail.com>
48718
48719 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
48720 netgroups to read.
960e5535 48721 (innetgr): Likewise.
5d4cf042 48722
751eb97e
RM
487232011-07-05 Roland McGrath <roland@hack.frob.com>
48724
48725 * config.make.in (install_root): Default to $(DESTDIR).
48726
f15f1e45
UD
487272011-07-05 Ulrich Drepper <drepper@gmail.com>
48728
48729 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
48730
4e34ac6a
RM
487312011-07-02 Roland McGrath <roland@hack.frob.com>
48732
5e9b6af4
RM
48733 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
48734
84f9ea0f
RM
48735 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
48736 containing directory rather than embedding absolute directory names.
48737
ea5ee9f7
RM
48738 * scripts/check-local-headers.sh: Rewritten using awk.
48739 Match by word, not by line. Print error messages for matches.
48740 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
48741
1b74661a
RM
48742 * Makerules [shlib-lds-flags empty]:
48743 ($(common-objpfx)libc_pic.opts): New target.
48744 ($(common-objpfx)libc_pic.os.clean): New target.
48745 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
48746
48747 * config.make.in (OBJCOPY): New variable.
48748 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
48749 * configure: Regenerated.
48750
f781ef40
RM
48751 * config.make.in (use-default-link): New variable.
48752 * configure.in (use_default_link): Grok --with-default-link to set it.
48753 * configure: Regenerated.
48754 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
48755 (shlib-lds, shlib-lds-flags): Define to empty.
48756
2d4fa81e
RM
48757 * Makerules (shlib-lds): New variable.
48758 (shlib-lds-flags): New variable.
48759 (build-shlib, build-moduile, build-module-asneeded): Use it.
48760 ($(common-objpfx)libc.so): Use $(shlib-lds).
48761 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
48762 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
48763
31fffa6b
RM
48764 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
48765 DT_FLAGS/DT_FLAGS_1 with zero flags.
48766
4e34ac6a
RM
48767 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
48768 linker script munging.
48769
fcfc776b
UD
487702011-07-02 Ulrich Drepper <drepper@gmail.com>
48771
48772 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
48773 as 128-bit value.
48774 * crypt/sha512.c (sha512_process_block): Perform total addition using
48775 128-bit if possible.
48776 (__sha512_finish_ctx): Likewise.
48777 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
48778 as 64-bit value.
48779 * crypt/sha256.c (SWAP64): Define.
48780 (sha256_process_block): Perform total addition using 64-bit if
48781 possible.
48782 (__sha256_finish_ctx): Likewise.
48783
99231d9a
UD
487842011-07-01 Ulrich Drepper <drepper@gmail.com>
48785
48786 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
48787 * nscd/initgrcache.c (addinitgroupsX): Likewise.
48788 * nscd/hstcache.c (cache_addhst): Likewise.
48789 * nscd/grpcache.c (cache_addgr): Likewise.
48790 * nscd/aicache.c (addhstaiX): Likewise
48791 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
48792
445b4a53
TK
487932011-07-01 Thorsten Kukuk <kukuk@suse.de>
48794
48795 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
48796 * nscd/initgrcache.c (addinitgroupsX): Likewise.
48797 * nscd/hstcache.c (cache_addhst): Likewise.
48798 * nscd/grpcache.c (cache_addgr): Likewise.
48799 * nscd/aicache.c (addhstaiX): Likewise
48800
6d4d8e8e
AS
488012011-07-01 Andreas Schwab <schwab@redhat.com>
48802
48803 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
48804 domain only when needed.
48805
89f654c5
AS
488062011-06-30 Andreas Schwab <schwab@redhat.com>
48807
48808 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
48809 is always restored.
48810
cf3b23ff
UD
488112011-06-29 Ulrich Drepper <drepper@gmail.com>
48812
48813 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
48814 are re-adding the entry.
48815 * nscd/servicescache.c (cache_addserv): Likewise.
48816
751626f9
AJ
488172011-06-30 Aurelien Jarno <aurelien@aurel32.net>
48818
48819 * sysdeps/generic/dl-irel.h: fix protection against multiple
48820 inclusions.
48821 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
48822
9113ea1f
UD
488232011-06-28 Ulrich Drepper <drepper@gmail.com>
48824
5c0b8d90
UD
48825 [BZ #12935]
48826 * malloc/memusage.sh: Fix quoting in message.
48827 * debug/xtrace.sh: Likewise.
48828
9113ea1f
UD
48829 * configure.in: Remove support for --experimental-malloc option, make
48830 it the default.
48831 * config.make.in: Likewise.
48832 * malloc/Makefile: Likewise.
48833
a4172181
AS
488342011-06-27 Andreas Schwab <schwab@redhat.com>
48835
48836 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
48837 two-byte characters.
48838
78a7eee7
RM
488392011-06-27 Roland McGrath <roland@hack.frob.com>
48840
62bede13
RM
48841 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
48842 AC_CACHE_CHECK invocation.
48843 * configure: Regenerated.
48844
78a7eee7
RM
48845 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
48846
5ce33a62
UD
488472011-06-27 Ulrich Drepper <drepper@gmail.com>
48848
034807a9
UD
48849 [BZ #12350]
48850 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
48851 bit from old_res_options.
48852
4902da17
UD
48853 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
48854
5ce33a62
UD
48855 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
48856 value type for setfct.
48857
c2344f56
L
488582011-06-23 H.J. Lu <hongjiu.lu@intel.com>
48859
48860 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
48861 __gettimeofday instead of gettimeofday.
48862
68468076
UD
488632011-06-26 Ulrich Drepper <drepper@gmail.com>
48864
48865 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
48866
acb0d739
L
488672011-06-24 H.J. Lu <hongjiu.lu@intel.com>
48868
48869 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
48870
48871 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
48872 info.
48873
8912479f
L
488742011-06-22 H.J. Lu <hongjiu.lu@intel.com>
48875
48876 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
48877 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
48878 strcpy-sse2-unaligned strncpy-sse2-unaligned
48879 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
48880 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
48881 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
48882 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
48883 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
48884 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
48885 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
48886 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
48887 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
48888 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
48889 (STRCPY): Support SSE2 and SSSE3 versions.
48890
d5495a11
UD
488912011-06-24 Ulrich Drepper <drepper@gmail.com>
48892
48893 [BZ #12874]
48894 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
48895 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
48896 kernels which artificially limit size of requests.
48897
0b1cbaae
L
488982011-06-22 H.J. Lu <hongjiu.lu@intel.com>
48899
48900 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
48901 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
48902 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
48903 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
48904 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
48905 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
48906 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
48907 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
48908 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
48909 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
48910 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
48911 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
48912 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
48913 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
48914 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
48915 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
48916 Enable unaligned load optimization for Intel Core i3, i5 and i7
48917 processors.
48918 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
48919 Define.
48920 (index_Fast_Unaligned_Load): Define.
48921 (HAS_FAST_UNALIGNED_LOAD): Define.
48922
07f494a0
MP
489232011-06-23 Marek Polacek <mpolacek@redhat.com>
48924
48925 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
48926
fa3fc0fe
UD
489272011-06-22 Ulrich Drepper <drepper@gmail.com>
48928
48929 [BZ #12907]
48930 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
48931 until it is clear that the information is realy needed.
48932 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
48933
e12df166
AS
489342011-06-22 Andreas Schwab <schwab@redhat.com>
48935
48936 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
48937
852eb34d
UD
489382011-06-22 Ulrich Drepper <drepper@gmail.com>
48939
84e2a551
UD
48940 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
48941 /sys/devices/system/cpu/online if it is usable.
48942
852eb34d
UD
48943 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
48944 reading the information from the /proc filesystem to once a second.
48945
6e502e19
UD
489462011-06-21 Andreas Jaeger <aj@suse.de>
48947
48948 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
48949 NULL after inclusion of kernel headers.
48950
75d39ff2
UD
489512011-06-21 Ulrich Drepper <drepper@gmail.com>
48952
51f9aa6a
UD
48953 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
48954 calls to internal_setent.
48955
c0244a9d
UD
48956 [BZ #12885]
48957 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
48958 addresses using gethostbyname4_r ignore IPv4 addresses.
48959
c5e3c2ae
UD
48960 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
48961 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
48962
75d39ff2
UD
48963 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
48964
42675c6f
DM
489652011-06-20 David S. Miller <davem@davemloft.net>
48966
48967 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
48968 inclusions.
48969 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
48970
48971 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
48972 (elf_irel): Use it.
48973 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
48974 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
48975 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
48976 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
48977 * sysdeps/x86_64/dl-irel.h: Likewise.
48978
48979 * elf/dl-runtime.c: Use elf_ifunc_invoke.
48980 * elf/dl-sym.c: Likewise.
48981
57912a71
UD
489822011-06-15 Ulrich Drepper <drepper@gmail.com>
48983
48984 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
48985 need to dereference resplen2.
48986
ee22793d
AS
489872011-06-14 Andreas Schwab <schwab@redhat.com>
48988
48989 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
48990
a9e836b0
UD
489912011-06-15 Ulrich Drepper <drepper@gmail.com>
48992
77fb9117
UD
48993 * Makeconfig: Define vardbdir and inst_vardbdir.
48994 * nss/Makefile: Add rules to install db-Makefile.
48995
40c1b22c
UD
48996 * nss/nss_db/db-XXX.c: Cleanup.
48997
9f2da732
UD
48998 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
48999 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
49000 GLIBC_PRIVATE.
49001 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
49002 * nss/makedb.c: Implement -g option to specify that value strings
49003 are generated and should not be added to table iterated over for
49004 get*ent calls.
49005 * nss/nss_db/db-initgroups.c: New file.
49006
82e9a1f7
UD
49007 * nss/getent.c: Add support for initgroups lookups through getgrouplist
49008 interface.
49009
c41af17e
UD
49010 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
49011 (internal_getgrouplist): Adjust to name change.
49012 Update use_initgroups_entry if this is not the first call.
49013 * nss/databases.def: Add initgroups entry.
49014
a9e836b0
UD
49015 * nss/makedb.c (compute_tables): Check result of multiple hash table
49016 sizes to minimize maximum chain length.
49017
2666d441
UD
490182011-06-14 Ulrich Drepper <drepper@gmail.com>
49019
49020 * Versions.def: Add entry for libnss_db.
49021 * shlib-versions: Likewise.
49022 * nss/Makefile: Add rules to build libnss_db.
49023 * nss/Versions: Add libnss_db information. Organize libnss_files
49024 entries better.
49025 * nss/db-Makefile: Add gshadow support. Change rules for the new
49026 makedb progra. Some minor improvements to generate smaller files.
49027 * nss/nss_db/nss_db.h: Move NSS database header data structures to
49028 here from...
49029 * nss/makedb.c: ...here.
49030 Improve database format to be smaller and require less memory at
49031 runtime.
49032 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
49033 db anymore.
49034 * nss/nss_db/db-netgrp.c: Likewise.
49035 * nss/nss_db/db-open.c: Likewise.
49036 * nss/nss_files/flies-XXX.x: Adjust comments.
49037 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
49038 * nss/nss_files/files-grp.c: Likewise.
49039 * nss/nss_files/files-hosts.c: Likewise.
49040 * nss/nss_files/files-network.c: Likewise.
49041 * nss/nss_files/files-proto.c: Likewise.
49042 * nss/nss_files/files-pwd.c: Likewise.
49043 * nss/nss_files/files-rpc.c: Likewise.
49044 * nss/nss_files/files-service.c: Likewise.
49045 * nss/nss_files/files-sgrp.c: Likewise.
49046 * nss/nss_files/files-spwd.c: Likewise.
49047 * nss/nss_db/db-alias.c: Removed.
49048 * nss/nss_db/dummy-db.h: Removed.
49049
9ee76b5a
UD
490502011-06-02 Ulrich Drepper <drepper@gmail.com>
49051
49052 * nss/makedb.c: Rewritten to not use database library.
49053 * nss/Makefile: Update to build new makedb program.
49054
c71ca1f8
AJ
490552011-06-14 Andreas Jaeger <aj@suse.de>
49056
49057 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
49058 memset declaration.
49059
3154bfb8
UD
490602011-06-10 Andreas Schwab <schwab@redhat.com>
49061
49062 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
49063 tmpbuf.
49064
b350afab
RM
490652011-06-10 Roland McGrath <roland@hack.frob.com>
49066
decd4e50
RM
49067 * Makerules (shlib.lds): Fail if the linker script comes out empty.
49068 * elf/Makefile ($(objpfx)ld.so): Likewise.
49069
5615eaf2
RM
49070 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
49071 Don't list ld.so twice in dependencies.
49072
49073 * posix/bug-regex31.c: Include <stdlib.h>.
49074
49075 * nscd/hstcache.c (cache_addhst): Remove unused variable.
49076
49077 * nis/nss_compat/compat-spwd.c
49078 (getspent_next_nss_netgr): Remove unused variable.
49079 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
49080
49081 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
49082 nonmembers" output to use the right array.
49083
49084 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
49085
49086 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
49087
49088 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
49089 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
49090 * catgets/gencat.c (read_input_file): Likewise.
49091 * locale/programs/locarchive.c (enlarge_archive): Likewise.
49092
49093 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
49094 variable definition inside #if's controlling its use.
49095
49096 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
49097
49098 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
49099
49100 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
49101
49102 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
49103 unreachable code.
49104
49105 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
49106
b68e08db
RM
49107 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
49108 * configure: Regenerated.
49109
b350afab
RM
49110 * Makerules: Revert last change.
49111 * elf/Makefile: Likewise.
49112
28368601
RM
491132011-06-09 Roland McGrath <roland@hack.frob.com>
49114
49115 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
49116 * elf/Makefile ($(objpfx)librtld.os): Likewise.
49117 (reloc-link): Likewise.
49118
11988f8f
UD
491192011-06-09 Ulrich Drepper <drepper@gmail.com>
49120
49121 * elf/Makefile: Add rules to build pldd.
49122 * elf/pldd.c: New file.
49123 * elf/pldd-xx.c: New file.
49124
e80fab37
UD
491252011-06-07 Ulrich Drepper <drepper@gmail.com>
49126
49127 * version.h: Update for 2.15 development version.
49128
9b849836
DM
491292011-06-07 David S. Miller <davem@davemloft.net>
49130
49131 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
49132 ifuncs.
49133 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
49134 elf_machine_lazy_rel): Likewise.
49135 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
49136 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
49137 elf_machine_lazy_rel): Likewise.
49138 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
49139 dl_hwcap via passed in argument.
49140 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
49141 Likewise.
49142
5a31b283
AK
491432011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
49144
49145 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
49146
069e52f8
RM
491472011-06-06 Roland McGrath <roland@hack.frob.com>
49148
49149 [BZ #12849]
49150 * manual/fdl-1.1.texi: New file, verbatim from:
49151 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
49152 * manual/lgpl-2.1.texi: New file, verbatim from:
49153 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
49154 * manual/Makefile (licenses): New variable, list those new file names.
49155 (texis): Use it.
49156 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
49157
49158 * manual/fdl.texi: File removed.
49159 * manual/lesser.texi: File removed.
49160 * manual/libc.texinfo (Copying, Documentation License):
49161 Use new @include file names, put @appendix directive before @include.
49162
f16846a5
JJ
491632011-06-04 Jakub Jelinek <jakub@redhat.com>
49164
49165 [BZ #12841]
49166 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
49167 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
49168 (mq_open): Add __NTH.
49169
3d29045b
L
491702011-06-02 H.J. Lu <hongjiu.lu@intel.com>
49171
49172 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
49173 Assume Intel Core i3/i5/i7 processor if AVX is available.
49174
8c297311
UD
491752011-05-31 Ulrich Drepper <drepper@gmail.com>
49176
49177 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
49178 typo.
49179
c8fc0c91
UD
491802011-05-31 Andreas Schwab <schwab@redhat.com>
49181
49182 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
49183 memory. Use alloca_account. Fix memory leak when retrying.
49184
5b27a807
UD
491852011-05-31 Ulrich Drepper <drepper@gmail.com>
49186
356f8bc6
UD
49187 * version.h (RELEASE): Bump for 2.14 release.
49188 * include/features.h (__GLIBC_MINOR__): Bump to 14.
49189
5b27a807
UD
49190 * config.make.in (RANLIB): Remove entry.
49191
01f16ab0
UD
491922011-05-30 Ulrich Drepper <drepper@gmail.com>
49193
41fce8bd
UD
49194 * po/Makefile (po-sed-cmd): Add ksh to extensions.
49195 (libc.pot): Work around missing support for .ksh extension in xgettext.
49196
4769ae77
UD
49197 [BZ #12684]
49198 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
49199 if both request failed.
49200 (send_dg): In case of server errors clear resplen or *resplen2.
49201
6b1e7d19
UD
49202 [BZ #12454]
49203 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
49204 when there are multiple maps.
49205 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
49206 (_dl_fini): Remove test here.
49207
01f16ab0
UD
49208 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
49209
b1ebd700
UD
492102011-05-29 Ulrich Drepper <drepper@gmail.com>
49211
7ae22829
UD
49212 [BZ #12350]
49213 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
49214 bit from old_res_options.
49215 (gaih_inet): Likewise.
49216
553149f6 49217 [BZ #11099]
18a84741 49218 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
49219 as signed.
49220
652ffab1
UD
49221 * resolv/res_init.c (res_setoptions): Make the code more compact.
49222
16985fd0
UD
49223 [BZ #11558]
49224 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
49225 set RES_USEVC.
49226
0464f746
UD
49227 [BZ #11634]
49228 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
49229
7d17596c
UD
49230 * malloc/malloc.h: Mark malloc hook variables as deprecated.
49231
cf6bbbd7
UD
49232 [BZ #11781]
49233 * malloc/malloc.h: Declare malloc hook variables as volatile.
49234
13f1ab36
UD
49235 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
49236 in last patch.
49237
b1ebd700
UD
49238 [BZ #11799]
49239 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 49240 raise in the comment.
80e2212d
UD
49241 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
49242 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
49243 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 49244
ce67228d
UD
492452011-05-28 Ulrich Drepper <drepper@gmail.com>
49246
8887a920
UD
49247 [BZ #12811]
49248 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
49249 grow the buffers more if it already has to be sufficient.
49250 (build_wcs_upper_buffer): Likewise.
49251 * posix/regexec.c (check_matching): Likewise.
49252 (clean_state_log_if_needed): Likewise.
49253 (extend_buffers): Don't enlarge buffers beyond size of the input
49254 buffer.
49255 Patches mostly by Emil Wojak <emil@wojak.eu>.
49256 * posix/bug-regex32.c: New file.
49257 * posix/Makefile (tests): Add bug-regex32.
49258
4f031072
UD
49259 * locale/findlocale.c (_nl_find_locale): Return right away if
49260 _nl_explode_name failed.
49261 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
49262
d0478f0c
UD
49263 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
49264
de81b246
UD
49265 * debug/xtrace.sh: Unify messages.
49266 * malloc/memusage.sh: Likewise.
49267
c738465a
UD
49268 [BZ #12813]
49269 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
49270 time symbol from vDSO. Substitute with vsyscall if not available.
49271 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
49272 __vdso_time.
49273
f1f929d7
UD
49274 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
49275 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
49276 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
49277 Add sendmmsg and internal_sendmmsg.
49278 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
49279 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
49280 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
49281
ce67228d
UD
49282 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
49283 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
49284 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
49285
e57420c6
UD
492862011-05-27 Ulrich Drepper <drepper@gmail.com>
49287
a8509ca5
UD
49288 [BZ #12813]
49289 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
49290 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
49291 available.
49292 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
49293 __vdso_getcpu.
49294
e57420c6
UD
49295 [BZ #12814]
49296 * iconvdata/Makefile (tests): Add bug-iconv9.
49297 * iconvdata/bug-iconv9.c: New file.
49298
4d07db15
AS
492992011-05-27 Andreas Schwab <schwab@redhat.com>
49300
49301 [BZ #12814]
49302 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
49303
ea486f69
JJ
493042011-05-25 Jakub Jelinek <jakub@redhat.com>
49305
49306 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
49307 (struct user_regs_struct): Change intcs field back to cs.
49308
6f038433
UD
493092011-05-25 Ulrich Drepper <drepper@gmail.com>
49310
49311 * po/ja.po: Update from translation team.
49312
67f86a25
UD
493132011-05-23 Ulrich Drepper <drepper@gmail.com>
49314
49315 [BZ #12795]
49316 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
49317 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
49318
def7fbd6
AS
493192011-05-20 Andreas Schwab <schwab@redhat.com>
49320
49321 * stdlib/longlong.h: Update from GCC.
49322
f50ef8f1
AS
493232011-05-23 Andreas Schwab <schwab@redhat.com>
49324
49325 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
49326 parameter name.
49327 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
49328 Add parameter name.
49329 (__sysconf): Pass it down.
49330
de7ce8f1
UD
493312011-05-22 Ulrich Drepper <drepper@gmail.com>
49332
f2962a71
UD
49333 [BZ #12671]
49334 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
49335 some situations.
49336 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
49337 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
49338 add in in __libc_use_alloca calls. Adjust callers.
49339 (glob): Use malloc in some situations.
49340
de7ce8f1
UD
49341 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
49342 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
49343 pltexit.
49344
aec84f53
UD
493452011-05-21 Ulrich Drepper <drepper@gmail.com>
49346
05bb4a68
UD
49347 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
49348 and CLOCK_BOOTTIME_ALARM.
49349
7ea72f99
UD
49350 [BZ #12782]
49351 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
49352 is returned.
49353
7e4afad5
UD
49354 * string/_strerror.c (__strerror_r): Print negative errors as signed
49355 numbers.
49356
8e211fec
UD
49357 [BZ #12777]
49358 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
49359 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
49360 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
49361
f7d82dc9
UD
49362 * configure.in: Fix typo in redirection and correct removal of test
49363 files in two cases.
49364
cc9e536d
UD
49365 [BZ #12788]
49366 * locale/setlocale.c (new_composite_name): Fix test to check for
49367 identical name of all categories.
49368
aec84f53
UD
49369 [BZ #12792]
49370 * libio/filedoalloc.c (local_isatty): New function.
49371 (_IO_file_doallocate): Use local_isatty.
49372 * stdio-common/perror.c (perror): In case a new stream is used
49373 forward the stream error.
49374 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
49375 error flag.
49376
78e64fdc
RT
493772011-05-20 Ulrich Drepper <drepper@gmail.com>
49378
34a9094f
UD
49379 [BZ #11869]
49380 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
49381 alloca.
49382 * include/alloca.h (extend_alloca_account): Define.
49383
78e64fdc
RT
49384 [BZ #11857]
49385 * posix/regex.h: Fix comments with documentation of user-accessible
49386 fields after compilation and describe correct free'ing of pattern
49387 after re_compile_pattern.
49388 Patch by Reuben Thomas <rrt@sc3d.org>.
49389
457bddfc
RA
493902011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
49391
49392 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
49393 and -mno-altivec to prevent the compiler from using Altivec and/or
49394 VSX instructions when the corresponding registers are not available.
49395
a4527b51
AS
493962011-05-19 Andreas Schwab <schwab@redhat.com>
49397
49398 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
49399
ed690b2f
UD
494002011-05-19 Ulrich Drepper <drepper@gmail.com>
49401
49402 * libio/freopen.c (freopen): Use __dup2, not dup2.
49403 * libio/freopen64.c (freopen64): Likewise.
49404
8db73634
L
494052011-05-17 H.J. Lu <hongjiu.lu@intel.com>
49406
49407 [BZ #12775]
49408 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
49409 * math/Makefile (tests): Add test-powl.
49410 (CFLAGS-test-powl.c): Define.
49411 * math/test-powl.c: New file.
49412
0a197a9d
L
494132011-05-16 H.J. Lu <hongjiu.lu@intel.com>
49414
49415 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
49416
ee30c380
UD
494172011-05-17 Ulrich Drepper <drepper@gmail.com>
49418
49419 [BZ #11837]
49420 * iconvdata/gb18030.c: Update to GB18020-2005.
49421
6ce75379
UD
494222011-05-16 Ulrich Drepper <drepper@gmail.com>
49423
a4b89fd8
AR
49424 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
49425 RE_SYNTAX_POSIX_AWK): Update to match recent development.
49426 Patch by Aharon Robbins <arnold@skeeve.com>.
49427
ea389b12
UD
49428 [BZ #11892]
49429 * stdlib/putenv.c (putenv): Don't always create copy of the variable
49430 on the stack.
49431
68a3f91f
UD
49432 [BZ #11895]
49433 * misc/pselect.c (__pselect): Handle timeout value errors hidden
49434 through underflows.
49435
15cc7dd1
UD
49436 [BZ #12766]
49437 * misc/error.c (error_at_line): Ensure file_name and old_file_name
49438 point to strings before performing equality test for error_one_per_line
49439 mode.
49440
f3799213
UD
49441 [BZ #11697]
49442 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
49443
d79a9c94
UD
49444 [BZ #11820]
49445 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
49446 (struct user_fpregs_struct): Avoid __uint*_t types.
49447
56e5eb46
UD
49448 [BZ #6420]
49449 * malloc/mtrace.c (tr_where): Add additional parameter to point to
49450 symbol info. Use it instead of calling _dl_addr locally.
49451 (lock_and_info): New function.
49452 (tr_freehook): Call lock_and_info and pass symbol info as additional
49453 parameter to tr_where.
49454 (tr_mallochook): Likewise.
49455 (tr_reallochook): Likewise.
49456 (tr_memalignhook): Likewise.
49457
6ce75379
UD
49458 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
49459 used and couldn't be at all thread-safe.
49460
f8a3b5bf
UD
494612011-05-15 Ulrich Drepper <drepper@gmail.com>
49462
94b7cc37
UD
49463 * libio/freopen.c (freopen): Don't close old file descriptor
49464 before the new one is opened. Instead dup the new file descriptor
49465 to the old one after the new stream is created.
49466 * libio/freopen64.c (freopen64): Likewise.
49467 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
49468 * libio/fileops.c (_IO_new_file_close_it): Handle new
49469 _IO_FLAGS2_NOCLOSE flag.
49470 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
49471 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
49472 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
49473 _IO_FLAGS2_NOCLOSE flag.
49474 * include/unistd.h: Add hidden_proto for dup3.
49475 Define __have_dup3.
49476 * io/dup3.c: Define hidden symbol.
49477 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
49478
bd25564e
UD
49479 [BZ #7101]
49480 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
49481 when an incomplete long option is used.
49482 * posix/tst-getopt_long1.c: New file.
49483 * posix/Makefile (tests): Add tst-getopt_long1.
49484
c84cfef4
UD
49485 [BZ #10138]
49486 * scripts/config.guess: Update from autoconf-2.68.
49487 * scripts/config.sub: Likewise.
49488
3b85df27
UD
49489 [BZ #10157]
49490 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
49491 tests into ...
49492 (has_cpuclock): ...this. New function.
49493 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
49494 macro here based on has_cpuclock code.
49495
15a856b1
UD
49496 [BZ #10149]
49497 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
49498 First byte (not low byte) is now always NUL.
49499 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
49500
05f399e6
UD
49501 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
49502 Use non-cancelable interfaces.
49503
10a52685 49504 [BZ #9809]
94ecc67d
UD
49505 * locale/iso-639.def: Add entry for Sorani.
49506
f8a3b5bf
UD
49507 [BZ #11901]
49508 * include/stdlib.h: Move include protection to the right place.
49509 Define abort_msg_s. Declare __abort_msg with it.
49510 * stdlib/abort.c (__abort_msg): Adjust type.
49511 * assert/assert.c (__assert_fail_base): New function. Majority
49512 of code from __assert_fail. Allocate memory for __abort_msg with
49513 mmap.
49514 (__assert_fail): Now call __assert_fail_base.
49515 * assert/assert-perr.c: Remove bulk of implementation. Use
49516 __assert_fail_base.
49517 * include/assert.hL Declare __assert_fail_base.
49518 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
49519 mmap.
49520 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
49521
1af4e298
UD
495222011-05-14 Ulrich Drepper <drepper@gmail.com>
49523
f8a3b5bf 49524 [BZ #11952]
d26dfc60
MG
49525 [BZ #12453]
49526 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
49527 until all modules are registered in the DTV.
49528 * elf/Makefile: Add rules to build and run tst-tls19.
49529 * elf/tst-tls19.c: New file.
49530 * elf/tst-tls19mod1.c: New file.
49531 * elf/tst-tls19mod2.c: New file.
49532 * elf/tst-tls19mod3.c: New file.
49533 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
49534
2fc54d6f
UD
49535 [BZ #12083]
49536 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
49537 correctly.
49538
98d76b46
UD
49539 [BZ #12601]
49540 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
49541 two-byte sequence errors.
49542 * iconvdata/Makefile (tests): Add bug-iconv8.
49543 * iconvdata/bug-iconv8.c: New file.
49544
da3c19ef
UD
49545 [BZ #12626]
49546 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
49547 buf2 definition.
49548
ca408c15
UD
49549 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
49550
d6f67f7d
UD
49551 [BZ #12432]
49552 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
49553 (dummy_getcfa): New function.
49554 (init): Get _Unwind_GetCFA address, use dummy if not found.
49555 (backtrace_helper): In recursion check, also check whether CFA changes.
49556 (__backtrace): Completely initialize arg.
49557
1af4e298 49558 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
49559 storing incomplete byte sequence in state object. Avoid testing for
49560 guaranteed too small input if we know there is enough data available.
1af4e298 49561
da62f81b
AS
495622011-05-11 Andreas Schwab <schwab@redhat.com>
49563
49564 * Makeconfig (+link-pie): Indent.
49565 * Rules (binaries-pie): Define if $(have-fpie) and
49566 $(build-shared).
49567 (binaries-shared): Also filter out $(binaries-pie).
49568 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
49569 * nscd/Makefile (others-pie): Add nscd.
49570 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
49571 ($(objpfx)nscd): Remove command override.
49572 * login/Makefile (others-pie): Add pt_chown.
49573 ($(objpfx)pt_chown): Remove command override.
49574 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
49575 remove command overrides.
49576
fcabc0f8
UD
495772011-05-13 Ulrich Drepper <drepper@gmail.com>
49578
20030ae6
UD
49579 * libio/tst_putwc.c: Fix error messages.
49580
fcabc0f8
UD
49581 [BZ #12724]
49582 * libio/fileops.c (_IO_new_file_close_it): Always flush when
49583 currently writing and seek to current position when not.
49584 * libio/Makefile (tests): Add bug-fclose1.
49585 * libio/bug-fclose1.c: New file.
49586
320a5dc0
PB
495872011-05-12 Ulrich Drepper <drepper@gmail.com>
49588
49589 [BZ #12511]
49590 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
49591 don't set DF_1_NODELETE here.
49592 (do_lookup_x): When entering new entry test for copy relocation
49593 and if necessary set DF_1_NODELETE flag.
49594 * elf/tst-unique4.cc: New file.
49595 * elf/tst-unique4.h: New file.
49596 * elf/tst-unique4lib.cc: New file.
49597 * elf/Makefile: Add rules to build and run tst-unique4.
49598 Patch by Piotr Bury <pbury@goahead.com>.
49599
22836f52
UD
496002011-05-11 Ulrich Drepper <drepper@gmail.com>
49601
f574184a
UD
49602 [BZ #12052]
49603 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
49604
e1fb097f
UD
49605 [BZ #12625]
49606 * misc/mntent_r.c (addmntent): Flush the stream after the output
49607
22836f52
UD
49608 [BZ #12393]
49609 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
49610 (is_trusted_path_normalize): Skip initial colon. Append slash
49611 to empty buffer. Duplicate is_trusted_path code but allow
49612 constructed patch to be prefix.
49613 (is_dst): Allow $ORIGIN followed by /.
49614 (_dl_dst_substitute): Correct clearing of check_for_trusted.
49615 Correct testing of result of is_trusted_path_normalize
49616 (decompose_rpath): Fix warning.
49617
7b3b0b2a
UD
496182011-05-10 Ulrich Drepper <drepper@gmail.com>
49619
49620 [BZ #11257]
49621 * grp/initgroups.c (internal_getgrouplist): When we found the service
49622 list through the initgroups entry in nsswitch.conf do not always
49623 continue on a successful lookup. Don't always use the
eac80ce2 49624 __nss_group_database value if it is set.
7b3b0b2a
UD
49625 * nss/nsswitch.conf (initgroups): Change action for successful db
49626 lookup to continue for compatibility.
49627
2a81eaa5
UD
496282011-05-09 Ulrich Drepper <drepper@gmail.com>
49629
be97a69e
UD
49630 [BZ #11532]
49631 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
49632 and CP774 modules.
49633 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
49634 and CP774 modules.
49635 * iconvdata/tst-tables.sh: Likewise.
49636 * iconvdata/cp770.c: New file.
49637 * iconvdata/cp771.c: New file.
49638 * iconvdata/cp772.c: New file.
49639 * iconvdata/cp773.c: New file.
49640 * iconvdata/cp774.c: New file.
49641 * iconvdata/testdata/CP770: New file.
49642 * iconvdata/testdata/CP770..UTF8: New file.
49643 * iconvdata/testdata/CP771: New file.
49644 * iconvdata/testdata/CP771..UTF8: New file.
49645 * iconvdata/testdata/CP772: New file.
49646 * iconvdata/testdata/CP772..UTF8: New file.
49647 * iconvdata/testdata/CP773: New file.
49648 * iconvdata/testdata/CP773..UTF8: New file.
49649 * iconvdata/testdata/CP774: New file.
49650 * iconvdata/testdata/CP774..UTF8: New file.
49651
49652 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
49653 END CHARMAP line.
49654 * iconvdata/gen-8bit-gap.sh: Likewise.
49655 * iconvdata/gen-8bit.sh: Likewise.
49656
c1e9e399
UD
49657 * locale/iso-639.def: Add ary entry.
49658
24c55fb3 49659 [BZ #11258]
96b4b1b0
UD
49660 * locale/C-translit.h.in: Add U20A1 transliteration.
49661
bdc2f971
KB
49662 [BZ #12178]
49663 * locale/iso-639.def: Add wae entry.
49664 Patch by Kevin Bortis <bortis@translate-wae.ch>.
49665
2952b117
UD
49666 [BZ #12545]
49667 * locale/programs/localedef.c (construct_output_path): Use ssize_t
49668 for n.
49669
2a81eaa5
UD
49670 [BZ #12711]
49671 * locale/C-translit.h.in: Add entry for U20B9.
49672 Patch by pravin.d.s@gmail.com.
49673
28377d1b
UD
496742011-05-08 Ulrich Drepper <drepper@gmail.com>
49675
7fb90fb8
UD
49676 [BZ #12713]
49677 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
49678 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
49679 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
49680 in rtld. Use *stat64.
7fb90fb8 49681 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 49682 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 49683 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
49684 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
49685 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
49686 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
49687 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
49688 __fstatat64 macros.
7fb90fb8
UD
49689 * include/dirent.h: Add libc_hidden_proto for rewinddir.
49690 * dirent/rewinddir.c: Add libc_hidden_def.
49691 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 49692 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 49693
28377d1b
UD
49694 * include/dirent.h (__alloc_dir): Add flags parameter.
49695 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
49696 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
49697 __alloc_dir.
49698 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
49699 from fdopendir if O_CLOEXEC is already set.
49700
66bdbaa4
AM
497012011-03-15 Alan Modra <amodra@gmail.com>
49702
49703 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
49704 l_tls_firstbyte_offset non-zero. Save padding offset in
49705 l_tls_firstbyte_offset for later use.
49706 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
49707 freeing static tls block.
49708
95721191
JN
497092011-03-05 Jonathan Nieder <jrnieder@gmail.com>
49710
49711 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
49712 where #ifdef was intended. The intent is to prevent ARG_MAX from
49713 being defined by the kernel headers.
49714
f87dfb1f
UD
497152011-05-07 Ulrich Drepper <drepper@gmail.com>
49716
49717 [BZ #12734]
49718 * resolv/resolv.h: Define RES_NOTLDQUERY.
49719 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
49720 no-tld-query and set RES_NOTLDQUERY.
49721 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
49722 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
49723 modern BIND to search name as TLD unless forbidden.
49724
47c3cd7a
UD
497252011-05-07 Petr Baudis <pasky@suse.cz>
49726 Ulrich Drepper <drepper@gmail.com>
49727
49728 [BZ #12393]
49729 * elf/dl-load.c (fillin_rpath): Move trusted path check...
49730 (is_trusted_path): ...to here.
c1e9ea35 49731 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 49732 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 49733 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 49734
8a35c912
PP
497352011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
49736
49737 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
49738 __BEGIN/__END_DECLS.
49739
acd41f47
UD
497402011-05-06 Ulrich Drepper <drepper@gmail.com>
49741
49742 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
49743 NSS_STATUS_NOTFOUND if no record was found.
49744
597df647
AS
497452011-05-05 Andreas Schwab <schwab@redhat.com>
49746
49747 * sunrpc/Makefile (headers): Add rpc/netdb.h.
49748 (headers-not-in-tirpc): Remove rpc/netdb.h
49749 * resolv/netdb.h: Revert last change.
49750
b9af1301
PP
497512011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
49752
49753 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
49754 circular dependency between libgcc.a and libc.a.
49755
4e34d5f5
AS
497562011-05-05 Andreas Schwab <schwab@redhat.com>
49757
49758 * resolv/netdb.h: Don't include <rpc/netdb.h>.
49759 * nis/Makefile: Don't install rpcsvc/*.
49760 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
49761 instead of <rpc/types.h>.
49762 (MAXHOSTNAMELEN): Define.
49763
00ee369c
AS
497642011-05-03 Andreas Schwab <schwab@redhat.com>
49765
49766 * elf/ldconfig.c (add_dir): Don't crash on empty path.
49767
0b592a30
MB
497682011-04-28 Maciej Babinski <mbabinski@google.com>
49769
49770 [BZ #12714]
49771 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
49772 gethostbyname4_r when IPv6 results are possible.
49773
6e04cbbe
UD
497742011-05-02 Ulrich Drepper <drepper@gmail.com>
49775
49776 [BZ #12723]
49777 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
49778 _PC_PIPE_BUF handling.
49779
e4ecafe0
BH
497802011-04-30 Bruno Haible <bruno@clisp.org>
49781
49782 [BZ #12717]
49783 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
49784 * resolv/netdb.h (getnameinfo): Change type of flags parameter
49785 to 'int'.
49786 * inet/getnameinfo.c (getnameinfo): Likewise.
49787
125ee683
UD
497882011-04-29 Ulrich Drepper <drepper@gmail.com>
49789
49790 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
49791 to groups setting in database lookup.
49792 * nss/nsswitch.conf: Add initgroups entry.
49793
b722481a
EB
497942011-04-22 Ulrich Drepper <drepper@gmail.com>
49795
49796 [BZ #12685]
49797 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
49798 mode string.
49799 Patch by Eric Blake <eblake@redhat.com>.
49800
4df46dbd
L
498012011-04-20 H.J. Lu <hongjiu.lu@intel.com>
49802
49803 * sunrpc/Makefile (need-export-routines): Add svc_run.
49804 (routines): Remove svc_run.
49805 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
49806 * sunrpc/clnt_perr.c (clnt_perrno): Export.
49807 * sunrpc/svc_run.c (svc_run): Likewise.
49808 * sunrpc/svc_udp.c (svcudp_create): Likewise.
49809
e84142d2
UD
498102011-04-21 Ulrich Drepper <drepper@gmail.com>
49811
49812 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
49813 problem in reallocation in last patch.
49814
877175d8
UD
498152011-04-20 Ulrich Drepper <drepper@gmail.com>
49816
49817 * sunrpc/Makefile: Move inclusion of Rules.
49818
ab8eed78
UD
498192011-04-19 Ulrich Drepper <drepper@gmail.com>
49820
49821 * nss/nss_files/files-initgroups.c: New file.
49822 * nss/Makefile (libnss_files-routines): Add files-initgroups.
49823 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
49824 _nss_files_initgroups_dyn.
49825
e3d8f584
RS
498262011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
49827
49828 * elf/elf.h (R_ARM_IRELATIVE): Define.
49829
af190f45
UD
498302011-04-19 Ulrich Drepper <drepper@gmail.com>
49831
49832 * po/ru.po: Update from translation team.
49833
53cf59ef
UD
498342011-04-17 Ulrich Drepper <drepper@gmail.com>
49835
49836 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
49837 dependencies.
49838
4c559bcd
MF
498392011-02-06 Mike Frysinger <vapier@gentoo.org>
49840
49841 [BZ #12653]
49842 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
49843 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
49844 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
49845 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
49846 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
49847
4420675c
AS
498482011-03-28 Andreas Schwab <schwab@linux-m68k.org>
49849
49850 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
49851 differing bytes.
49852 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
49853 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
49854 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
49855
75ea32ab
UD
498562011-04-17 Ulrich Drepper <drepper@gmail.com>
49857
49858 [BZ #12420]
49859 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
49860 storing it.
49861 * stdlib/bug-getcontext.c: New file.
49862 * stdlib/Makefile: Add rules to build and run bug-getcontext.
49863
27390476
AK
498642011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
49865
49866 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
49867 instructions into .machine "z9-109".
49868 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
49869 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
49870
10442705
AK
498712011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
49872
49873 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
49874 between environment variables and auxiliary vector.
49875
7b57bfe5
UD
498762011-04-16 Ulrich Drepper <drepper@gmail.com>
49877
49878 * Makefile: Add rules to build linkobj/libc.so.
49879 * include/libc-symbols.h: Define libc_hidden_nolink.
49880 * include/rpc/auth.h: Mark functions which are to be hidden.
49881 * include/rpc/auth_des.h: Likewise.
49882 * include/rpc/auth_unix.h: Likewise.
49883 * include/rpc/clnt.h: Likewise.
49884 * include/rpc/des_crypt.h: Likewise.
49885 * include/rpc/key_prot.h: Likewise.
49886 * include/rpc/pmap_clnt.h: Likewise.
49887 * include/rpc/pmap_prot.h: Likewise.
49888 * include/rpc/pmap_rmt.h: Likewise.
49889 * include/rpc/rpc_msg.h: Likewise.
49890 * include/rpc/svc.h: Likewise.
49891 * include/rpc/svc_auth.h: Likewise.
49892 * include/rpc/xdr.h: Likewise.
49893 * nis/Makefile: Link all DSOs against linkobj/libc.so.
49894 * nss/Makefile: Likewise.
49895 * sunrpc/Makefile: Don't install headers. Build library with normal
49896 entry points. Don't build rpcinfo. Link RPC tests appropriately.
49897 * sunrpc/auth_des.c: Hide exported symbols by default, export some
49898 for the compat linking library. Remove use of INTDEF/INTUSE.
49899 * sunrpc/auth_none.c: Likewise.
49900 * sunrpc/auth_unix.c: Likewise.
49901 * sunrpc/authdes_prot.c: Likewise.
49902 * sunrpc/authuxprot.c: Likewise.
49903 * sunrpc/clnt_gen.c: Likewise.
49904 * sunrpc/clnt_perr.c: Likewise.
49905 * sunrpc/clnt_raw.c: Likewise.
49906 * sunrpc/clnt_simp.c: Likewise.
49907 * sunrpc/clnt_tcp.c: Likewise.
49908 * sunrpc/clnt_udp.c: Likewise.
49909 * sunrpc/clnt_unix.c: Likewise.
49910 * sunrpc/des_crypt.c: Likewise.
49911 * sunrpc/des_soft.c: Likewise.
49912 * sunrpc/get_myaddr.c: Likewise.
49913 * sunrpc/key_call.c: Likewise.
49914 * sunrpc/key_prot.c: Likewise.
49915 * sunrpc/netname.c: Likewise.
49916 * sunrpc/pm_getmaps.c: Likewise.
49917 * sunrpc/pm_getport.c: Likewise.
49918 * sunrpc/pmap_clnt.c: Likewise.
49919 * sunrpc/pmap_prot.c: Likewise.
49920 * sunrpc/pmap_prot2.c: Likewise.
49921 * sunrpc/pmap_rmt.c: Likewise.
49922 * sunrpc/publickey.c: Likewise.
49923 * sunrpc/rpc_cmsg.c: Likewise.
49924 * sunrpc/rpc_common.c: Likewise.
49925 * sunrpc/rpc_dtable.c: Likewise.
49926 * sunrpc/rpc_prot.c: Likewise.
49927 * sunrpc/rpc_thread.c: Likewise.
49928 * sunrpc/rtime.c: Likewise.
49929 * sunrpc/svc.c: Likewise.
49930 * sunrpc/svc_auth.c: Likewise.
49931 * sunrpc/svc_authux.c: Likewise.
49932 * sunrpc/svc_raw.c: Likewise.
49933 * sunrpc/svc_run.c: Likewise.
49934 * sunrpc/svc_simple.c: Likewise.
49935 * sunrpc/svc_tcp.c: Likewise.
49936 * sunrpc/svc_udp.c: Likewise.
49937 * sunrpc/svc_unix.c: Likewise.
49938 * sunrpc/svcauth_des.c: Likewise.
49939 * sunrpc/xcrypt.c: Likewise.
49940 * sunrpc/xdr.c: Likewise.
49941 * sunrpc/xdr_array.c: Likewise.
49942 * sunrpc/xdr_float.c: Likewise.
49943 * sunrpc/xdr_intXX_t.c: Likewise.
49944 * sunrpc/xdr_mem.c: Likewise.
49945 * sunrpc/xdr_rec.c: Likewise.
49946 * sunrpc/xdr_ref.c: Likewise.
49947 * sunrpc/xdr_sizeof.c: Likewise.
49948 * sunrpc/xdr_stdio.c: Likewise.
49949
e6c61494
UD
499502011-04-10 Ulrich Drepper <drepper@gmail.com>
49951
49952 [BZ #12650]
49953 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
49954 * sysdeps/ia64/dl-tls.h: Likewise.
49955 * sysdeps/powerpc/dl-tls.h: Likewise.
49956 * sysdeps/s390/dl-tls.h: Likewise.
49957 * sysdeps/sh/dl-tls.h: Likewise.
49958 * sysdeps/sparc/dl-tls.h: Likewise.
49959 * sysdeps/x86_64/dl-tls.h: Likewise.
49960 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
49961
34fe483e
AS
499622011-03-14 Andreas Schwab <schwab@redhat.com>
49963
49964 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
49965 rpath element also skip the following colon.
49966 (expand_dynamic_string_token): Add is_path parameter and pass
49967 down to DL_DST_REQUIRED and _dl_dst_substitute.
49968 (decompose_rpath): Call expand_dynamic_string_token with
49969 non-zero is_path. Ignore empty rpaths.
49970 (_dl_map_object_from_fd): Call expand_dynamic_string_token
49971 with zero is_path.
49972
f12a32e6
AS
499732011-04-08 Andreas Schwab <schwab@linux-m68k.org>
49974
49975 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
49976 Make cancelable.
49977
38a7d692
UD
499782011-04-09 Ulrich Drepper <drepper@gmail.com>
49979
49980 [BZ #12655]
49981 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
49982 Patch by Filipe David Manana <fdmanana@apache.org>.
49983
e451d22b
AS
499842011-04-07 Andreas Schwab <schwab@redhat.com>
49985
49986 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
49987 Maintain aligned stack.
49988 (CHECK_RSP): Remove unused macro.
49989
dedc7c7b
UD
499902011-04-03 Ulrich Drepper <drepper@gmail.com>
49991
49992 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
49993 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
49994
94521213
UD
499952011-04-02 Ulrich Drepper <drepper@gmail.com>
49996
49997 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
49998
8cb700c0 49999 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 50000
0354e355
L
500012011-03-26 H.J. Lu <hongjiu.lu@intel.com>
50002
50003 [BZ #12518]
50004 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
50005 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
50006 * sysdeps/x86_64/memmove.c: New file.
50007 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
50008 (memcpy): Renamed to ...
50009 (__new_memcpy): This.
50010 (memcpy): Provide GLIBC_2_14 memcpy.
50011 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
50012 (memcpy): Provide GLIBC_2_2_5 memcpy.
50013
8593482f
UD
500142011-04-01 Ulrich Drepper <drepper@gmail.com>
50015
50016 [BZ #12631]
50017 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
50018
81a5726b
AS
500192011-03-30 Andreas Schwab <schwab@redhat.com>
50020
50021 * misc/syncfs.c: New file.
50022 * misc/Makefile (routines): Add syncfs.
50023 * posix/unistd.h: Declare syncfs.
50024 * sysdeps/unix/syscalls.list: Add syncfs.
50025
00e5419f
AS
500262011-04-01 Andreas Schwab <schwab@redhat.com>
50027
50028 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
50029 open_by_handle_at.
50030 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
50031 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
50032 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
50033 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
50034 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
50035 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
50036 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
50037
748876bf
UD
500382011-04-01 Ulrich Drepper <drepper@gmail.com>
50039
658e451d
UD
50040 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
50041 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
50042 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
50043 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
50044 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
50045 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
50046 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
50047
748876bf
UD
50048 * io/Makefile: Compile fallocate.c, fallocate64.c, and
50049 sync_file_range.c with -fexceptions.
50050 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
50051 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
50052 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
50053 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
50054 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
50055 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
50056 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
50057 sync_file_range as cancellation point
50058 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
50059 now a wrapper around __call_sync_file_range with cancellation handling.
50060 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
50061 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
50062 function name to __call_sync_file_range.
50063 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
50064 Add call_sync_file_range.
748876bf 50065
6e63d5e1
AS
500662011-04-01 Andreas Schwab <schwab@redhat.com>
50067
50068 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 50069 bits/timex.h.
6e63d5e1 50070
46998f74
UD
500712011-04-01 Ulrich Drepper <drepper@gmail.com>
50072
4c1423ed
UD
50073 * iconv/iconv.h: Fix typo in comment.
50074 * io/fcntl.h: Likewise.
50075 * libio/stdio.h: Likewise.
50076 * posix/spawn.h: Likewise.
50077 * posix/unistd.h: Likewise.
50078 * stdlib/stdlib.h: Likewise.
50079 * time/time.h: Likewise.
50080 * wcsmbs/wchar.h: Likewise.
50081
158648c0
UD
50082 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
50083 open_by_handle): Add.
50084 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
50085 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
50086 Augment a few comments.
50087 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
50088 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
50089 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
50090 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
50091 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
50092 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
50093 open_by_handle.
50094
46998f74
UD
50095 * io/fcntl.h (AT_EMPTY_PATH): Define.
50096
83fe108b
UD
500972011-03-30 Ulrich Drepper <drepper@gmail.com>
50098
50099 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
50100 * sysdeps/unix/sysv/linux/bits/time.h: New file.
50101 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
50102 to...
50103 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
50104 * Versions.def: Add GLIBC_2.14.
50105 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
50106 Export.
83fe108b 50107
bb242059
UD
501082011-03-22 Ulrich Drepper <drepper@gmail.com>
50109
50110 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
50111 round counter.
50112 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
50113
c97a1282
L
501142011-03-20 H.J. Lu <hongjiu.lu@intel.com>
50115
50116 [BZ #12597]
50117 * string/test-strncmp.c (do_page_test): New function.
50118 (check2): Likewise.
50119 (test_main): Call check2.
50120 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
50121
2a115601
UD
501222011-03-20 Ulrich Drepper <drepper@gmail.com>
50123
50124 [BZ #12587]
50125 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
50126 Handle cache information in CPU leaf 4.
50127 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
50128
8126d904
UD
501292011-03-18 Ulrich Drepper <drepper@gmail.com>
50130
042c49c6 50131 [BZ #12583]
8126d904
UD
50132 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
50133 character representation.
50134 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
50135
ccfe366e
RA
501362011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
50137
50138 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
50139 END(__isnan) to END(__isnanf) to match function entry point/label
50140 EALIGN(__isnanf,...).
50141
c6e13027
JJ
501422011-03-10 Jakub Jelinek <jakub@redhat.com>
50143
50144 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
50145
33f85a3f
UD
501462011-03-10 Ulrich Drepper <drepper@gmail.com>
50147
028478fa
UD
50148 [BZ #12510]
50149 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
50150 copy from the symbol referenced in the relocation to initialize the
50151 used variable.
50152 Patch by Piotr Bury <pbury@goahead.com>.
50153 * elf/Makefile: Add rules to build and tst-unique3.
50154 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
50155 * elf/tst-unique3.cc: New file.
50156 * elf/tst-unique3.h: New file.
50157 * elf/tst-unique3lib.cc: New file.
50158 * elf/tst-unique3lib2.cc: New file.
50159
33f85a3f
UD
50160 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
50161
03592fc7
MF
501622011-03-10 Mike Frysinger <vapier@gentoo.org>
50163
50164 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
50165 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
50166 to _start.
03592fc7 50167
6a5ee102
UD
501682011-03-06 Ulrich Drepper <drepper@gmail.com>
50169
50170 * elf/dl-load.c (_dl_map_object): If we are looking for the first
50171 to-be-loaded object along a path to loader is ld.so.
50172
7e4ba49c
HJ
501732011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
50174 Ulrich Drepper <drepper@gmail.com>
50175
50176 * sysdeps/x86_64/memset.S: After aligning destination, code
50177 branches to different locations depending on the value of
50178 misalignment, when multiarch is enabled. Fix this.
50179
501802011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
50181
50182 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
50183 Set _x86_64_preferred_memory_instruction for AMD processsors.
50184 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
50185 Set bit_Prefer_SSE_for_memop for AMD processors.
50186
13a804de
UD
501872011-03-04 Ulrich Drepper <drepper@gmail.com>
50188
50189 * libio/fmemopen.c (fmemopen): Optimize a bit.
50190
9d25c392
AS
501912011-03-03 Andreas Schwab <schwab@redhat.com>
50192
50193 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
50194
a5543c6a
RM
501952011-03-03 Roland McGrath <roland@redhat.com>
50196
50197 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
50198
012d35f7
DM
501992011-02-28 Aurelien Jarno <aurelien@aurel32.net>
50200
7e4ba49c 50201 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
50202 __bzero_ultra1 instead of __memset_ultra1.
50203
4bff6e01
AS
502042011-02-23 Andreas Schwab <schwab@redhat.com>
50205 Ulrich Drepper <drepper@gmail.com>
50206
50207 [BZ #12509]
50208 * include/link.h (struct link_map): Add l_orig_initfini.
50209 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
50210 returning unsuccessfully.
50211 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
50212 close of a file loaded at startup, restore the original l_initfini
50213 list.
50214 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
50215 list, store the pointer.
50216 * elf/Makefile ($(objpfx)noload-mem): New rule.
50217 (noload-ENV): Define.
50218 (tests): Add $(objpfx)noload-mem.
50219 * elf/noload.c: Include <memcheck.h>.
50220 (main): Call mtrace. Close all opened handles.
50221
f2092faf
AS
502222011-02-17 Andreas Schwab <schwab@redhat.com>
50223
50224 [BZ #12454]
50225 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
50226 dependencies are missing.
50227
6c8a2e88
ST
502282011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
50229
f2092faf 50230 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
50231 Hurd needs munmap.
50232 * sysdeps/mach/hurd/ifreq.h: New file.
50233
84a42118
PB
502342011-01-27 Petr Baudis <pasky@suse.cz>
50235 Ulrich Drepper <drepper@gmail.com>
50236
071f805e 50237 [BZ 12445]#
84a42118
PB
50238 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
50239 to extend_alloca().
50240 * stdio-common/bug23.c: New file.
50241 * stdio-common/Makefile (tests): Add bug23.
50242
e23fe25b
AS
502432010-09-28 Andreas Schwab <schwab@redhat.com>
50244 Ulrich Drepper <drepper@gmail.com>
50245
50246 [BZ #12489]
50247 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
50248 before performing relro protection. At old place add assertion
50249 to make sure nothing changed.
50250
d3f02e10
NS
502512011-02-17 Nathan Sidwell <nathan@codesourcery.com>
50252 Glauber de Oliveira Costa <glommer@gmail.com>
50253
50254 * elf/elf.h: Add new ARM TLS relocs.
50255
d55fd7a5
RA
502562011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
50257
50258 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
50259 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
50260 cast from r3.
50261 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
50262 'tests' variable.
50263 * sysdeps/wordsize-64/tst-writev.c: New file.
50264
2206397e
RA
502652011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
50266
50267 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
50268 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
50269 insns in _dl_start to prevent a TOC reference before relocs are
50270 resolved.
50271
e9433893
UD
502722011-02-15 Ulrich Drepper <drepper@gmail.com>
50273
50274 [BZ #12469]
50275 * Makeconfig: Remove RANLIB definition.
50276 * Makerules: Don't use RANLIB.
50277 * aclocal.m4: Remove ranlib test.
50278 * configure.in: No need to check for ranlib.
50279 * elf/rtld-Rules: Don't use RANLIB.
50280
f75286c6
ST
502812011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
50282
8e31c82d
ST
50283 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
50284 protection macro.
50285 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
50286 inclusion protection macro.
50287
f75286c6
ST
50288 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
50289 SIGRTMIN and SIGRTMAX and print information in that case only when
50290 SIGRTMIN is defined.
50291
c1d0e639
JJ
502922011-02-11 Jakub Jelinek <jakub@redhat.com>
50293
50294 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
50295 arginfo fn returning -1.
50296
50297 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
50298 and thousands string is zero terminated.
50299
edf9294e
AS
503002011-02-03 Andreas Schwab <schwab@redhat.com>
50301
50302 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
50303 sysdeps/unix/sysv/linux/bits/socket.h.
50304
2b7e92df
ST
503052011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
50306
edf9294e
AS
50307 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
50308 (__CPU_COUNT): Remove old macros.
50309 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
50310 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
50311 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
50312 (__sched_cpualloc, __sched_cpufree): Add declarations.
50313
a4c7ea7b
UD
503142011-02-05 Ulrich Drepper <drepper@gmail.com>
50315
50316 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
50317 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
50318 * nscd/aicache.c (addhstaiX): Return timeout of added value.
50319 (readdhstai): Return value of addhstaiX call.
50320 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
50321 (addgrbyX): Return value returned by cache_addgr.
50322 (readdgrbyname): Return value returned by addgrbyX.
50323 (readdgrbygid): Likewise.
50324 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
50325 (addpwbyX): Return value returned by cache_addpw.
50326 (readdpwbyname): Return value returned by addhstbyX.
50327 (readdpwbyuid): Likewise.
50328 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
50329 (addservbyX): Return value returned by cache_addserv.
50330 (readdservbyname): Return value returned by addservbyX:
50331 (readdservbyport): Likewise.
50332 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
50333 (addhstbyX): Return value returned by cache_addhst.
50334 (readdhstbyname): Return value returned by addhstbyX.
50335 (readdhstbyaddr): Likewise.
50336 (readdhstbynamev6): Likewise.
50337 (readdhstbyaddrv6): Likewise.
50338 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
50339 (readdinitgroups): Return value returned by addinitgroupsX.
50340 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
50341 (prune_cache): Keep track of timeout value of re-added entries.
50342 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
50343 * nscd/nscd.h: Adjust prototypes of readd* functions.
50344
a0bf67cc
RM
503452011-02-04 Roland McGrath <roland@redhat.com>
50346
50347 * nis/nis_server.c (nis_servstate): Use the right name for 0.
50348 (nis_stats): Likewise.
50349 * nis/nis_modify.c (nis_modify): Likewise.
50350 * nis/nis_remove.c (nis_remove): Likewise.
50351 * nis/nis_add.c (nis_add): Likewise.
50352
50353 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
50354
50355 * posix/fnmatch_loop.c: Add some consts.
50356
50357 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
50358
435b95eb
L
503592011-02-02 H.J. Lu <hongjiu.lu@intel.com>
50360
50361 [BZ #12460]
50362 * config.make.in (config-cflags-novzeroupper): Define.
50363 * configure.in: Substitute libc_cv_cc_novzeroupper.
50364 * elf/Makefile (AVX-CFLAGS): Define.
50365 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
50366 (CFLAGS-tst-auditmod4a.c): Likewise.
50367 (CFLAGS-tst-auditmod4b.c): Likewise.
50368 (CFLAGS-tst-auditmod6b.c): Likewise.
50369 (CFLAGS-tst-auditmod6c.c): Likewise.
50370 (CFLAGS-tst-auditmod7b.c): Likewise.
50371 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
50372
8517b15e
UD
503732011-02-02 Ulrich Drepper <drepper@gmail.com>
50374
50375 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
50376 function to the callback.
50377 Patch partly by Jiri Olsa <jolsa@redhat.com>.
50378
10a656fe
AS
503792011-02-02 Andreas Schwab <schwab@redhat.com>
50380
50381 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
50382 of errno.
50383
968dad0a
UD
503842011-01-19 Ulrich Drepper <drepper@gmail.com>
50385
9f94d2ea 50386 [BZ #11724]
968dad0a
UD
50387 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
50388 of constructors.
50389 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
50390 of destructors.
50391 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
50392
50393 [BZ #11724]
50394 * elf/Makefile: Add rules to build and run new test.
50395 * elf/tst-initorder.c: New file.
50396 * elf/tst-initorder.exp: New file.
50397 * elf/tst-initordera1.c: New file.
50398 * elf/tst-initordera2.c: New file.
50399 * elf/tst-initordera3.c: New file.
50400 * elf/tst-initordera4.c: New file.
50401 * elf/tst-initorderb1.c: New file.
50402 * elf/tst-initorderb2.c: New file.
50403 * elf/tst-order-a1.c: New file.
50404 * elf/tst-order-a2.c: New file.
50405 * elf/tst-order-a3.c: New file.
50406 * elf/tst-order-a4.c: New file.
50407 * elf/tst-order-b1.c: New file.
50408 * elf/tst-order-b2.c: New file.
50409 * elf/tst-order-main.c: New file.
50410 New test case by George Gensure <werkt0@gmail.com>.
50411
86e92359
UD
504122010-10-01 Andreas Schwab <schwab@redhat.com>
50413
50414 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
50415 decoding ACE if AI_CANONIDN.
50416
5d5732b0
UD
504172011-01-18 Ulrich Drepper <drepper@gmail.com>
50418
50419 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
50420
a77e8cbc
UD
504212011-01-17 Ulrich Drepper <drepper@gmail.com>
50422
6392473f
UD
50423 * version.h (RELEASE): Bump for 2.13 release.
50424 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
50425
620a0529
UD
50426 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
50427
18ba70a5
UD
50428 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
50429 MADV_NOHUGEPAGE.
32465c3e
UD
50430 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
50431 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
50432 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
50433 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
50434 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
50435 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
50436
c0dafcf1
UD
50437 * posix/getconf.c: Update copyright year.
50438 * catgets/gencat.c: Likewise.
50439 * csu/version.c: Likewise.
50440 * debug/catchsegv.sh: Likewise.
50441 * debug/xtrace.sh: Likewise.
50442 * elf/ldconfig.c: Likewise.
50443 * elf/ldd.bash.in: Likewise.
50444 * elf/sprof.c (print_version): Likewise.
50445 * iconv/iconv_prog.c: Likewise.
50446 * iconv/iconvconfig.c: Likewise.
50447 * locale/programs/locale.c: Likewise.
50448 * locale/programs/localedef.c: Likewise.
50449 * malloc/memusage.sh: Likewise.
50450 * malloc/mtrace.pl: Likewise.
50451 * nscd/nscd.c (print_version): Likewise.
50452 * nss/getent.c: Likewise.
50453
a77e8cbc
UD
50454 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
50455 PF_CAIF, and PF_ALG.
50456 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
50457
77e8bddf
AS
504582011-01-16 Andreas Schwab <schwab@linux-m68k.org>
50459
1f20b93a
AS
50460 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
50461 (modules-names): Use them.
50462 (ifunc-test-modules, ifunc-pie-tests): Define.
50463 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
50464 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
50465 (test-extras): Likewise.
50466 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
50467 $(compile-command.c).
50468 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
50469 (all-built-dso): Define.
50470 (check-textrel.out, check-execstack.out): Depend on it.
50471
77e8bddf
AS
50472 * configure.in: Don't override --enable-multi-arch.
50473
bc425b33
UD
504742011-01-15 Ulrich Drepper <drepper@gmail.com>
50475
50476 [BZ #6812]
50477 * nscd/hstcache.c (tryagain): Define.
50478 (cache_addhst): Return tryagain not notfound for temporary errors.
50479 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
50480 failed.
50481
794c3ad3
UD
504822011-01-14 Ulrich Drepper <drepper@gmail.com>
50483
70181fdd
UD
50484 [BZ #10563]
50485 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
50486 to make the syscall.
50487 * sysdeps/unix/sysv/linux/setgroups.c: New file.
50488
794c3ad3
UD
50489 [BZ #12378]
50490 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
50491 and fall back to matching as normal character if the string ends before
50492 the matching ']' is found. This is what POSIX requires.
50493 * posix/testfnm.c: Adjust test result.
50494 * posix/globtest.sh: Adjust test result. Add new test.
50495 * posix/tst-fnmatch.input: Likewise.
50496 * posix/tst-fnmatch2.c: Add new test.
50497
68dc9497
AS
504982010-12-28 Andreas Schwab <schwab@linux-m68k.org>
50499
50500 * elf/Makefile (check-execstack): Revert last change. Depend on
50501 check-execstack.h.
50502 (check-execstack.h): New target.
50503 (generated): Add check-execstack.h.
50504 * elf/check-execstack.c: Include "check-execstack.h".
50505 (main): Revert last change.
50506 (handle_file): Return zero if GNU_STACK is absent and
50507 DEFAULT_STACK_PERMS doesn't include PF_X.
50508
451f001b
UD
505092011-01-13 Ulrich Drepper <drepper@gmail.com>
50510
cfa28e56
UD
50511 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
50512 in child fails because the descriptor is already closed.
8cf8ce17
UD
50513 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
50514 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
50515 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 50516
1086d70d
UD
50517 [BZ #12397]
50518 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
50519 syscall.
50520
451f001b
UD
50521 [BZ #10484]
50522 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
50523 temporary buffer used to handle multi lookups locally.
a85b5cb4 50524 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 50525
08769175
UD
505262011-01-12 Ulrich Drepper <drepper@gmail.com>
50527
50528 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
50529 loader is ld.so.
50530
5e49c52e
UD
505312011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
50532
50533 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
50534 alignment for SSE2.
50535
60522a5f
UD
505362011-01-12 Ulrich Drepper <drepper@gmail.com>
50537
50538 [BZ #12394]
50539 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
50540 characters. When rounding increased number of integer digits recompute
50541 number of groups.
50542 * stdio-common/tst-grouping.c: New file.
50543 * stdio-common/Makefile: Add rules to build and run tst-grouping.
50544
f257bbd7
UD
505452011-01-09 Ulrich Drepper <drepper@gmail.com>
50546
50547 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
50548 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
50549
50550 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
50551 void.
50552 * bits/select.h: Likewise.
50553
fa9c15cb
UD
505542011-01-08 Ulrich Drepper <drepper@gmail.com>
50555
50556 * po/ja.po: Update from translation team.
50557
16c2895f
DM
505582011-01-04 David S. Miller <davem@sunset.davemloft.net>
50559
50560 [BZ #11155]
50561 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
50562 implementation just like for lxstat, fxstatat, et al.
50563
2543fef2
JM
505642010-12-27 Jim Meyering <meyering@redhat.com>
50565
50566 [BZ #12348]
50567 * posix/regexec.c (build_trtable): Return failure indication upon
50568 calloc failure. Otherwise, re_search_internal could infloop on OOM.
50569
98727dbe
UD
505702010-12-25 Ulrich Drepper <drepper@gmail.com>
50571
5bd6dc5c
UD
50572 [BZ #12201]
50573 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
50574 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
50575 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
50576 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
50577
97983464
UD
50578 [BZ #12207]
50579 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
50580
98727dbe
UD
50581 [BZ #12204]
50582 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
50583 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
50584
4a531bb0
L
505852010-12-15 H.J. Lu <hongjiu.lu@intel.com>
50586
50587 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
50588 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
50589 script has SORT_BY_INIT_PRIORITY.
50590 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
50591 NO_CTORS_DTORS_SECTIONS is defined.
50592 * elf/soinit.c: Likewise.
50593 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
50594 NO_CTORS_DTORS_SECTIONS is defined.
50595 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
50596 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
50597 * sysdeps/sh/init-first.c: Likewise.
50598 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
50599
07eb4b71
UD
506002010-12-24 Ulrich Drepper <drepper@gmail.com>
50601
50602 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
50603 always use the slow path.
50604
30950a5f
RA
506052010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
50606
50607 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
50608 similar rule which adds the sysdep directories to the header search in
50609 order to pick up the correct platform stackinfo.h.
50610 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
50611 perform test if it is, otherwise return successfully without testing.
50612 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
50613 DEFAULT_STACK_PERMS define in stackinfo.h.
50614 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
50615 defined in stackinfo.h.
50616 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
50617 DEFAULT_STACK_PERMS defined in stackinfo.h.
50618 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
50619 * sysdeps/ia64/stackinfo.h: Likewise.
50620 * sysdeps/s390/stackinfo.h: Likewise.
50621 * sysdeps/sh/stackinfo.h: Likewise.
50622 * sysdeps/sparc/stackinfo.h: Likewise.
50623 * sysdeps/x86_64/stackinfo.h: Likewise.
50624 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
50625 PF_X for powerpc64. Retain PF_X for powerpc32.
50626
db753e2c
UD
506272010-12-19 Ulrich Drepper <drepper@gmail.com>
50628
14b697f7
UD
50629 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
50630 accurately.
db753e2c
UD
50631 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
50632 GETDENTS_64BIT_ALIGNED.
50633
28300719
UD
506342010-12-14 Ulrich Drepper <dreper@gmail.com>
50635
14b697f7 50636 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 50637
4f197237
AS
506382010-12-10 Andreas Schwab <schwab@redhat.com>
50639
dbb0472f
AS
50640 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
50641 _GNU_SOURCE.
50642
4f197237
AS
50643 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
50644 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
50645 Remove __restrict.
50646 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
50647 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
50648
fb88ac72
UD
506492010-12-09 Ulrich Drepper <drepper@gmail.com>
50650
50651 [BZ #11655]
50652 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
50653 are initialized.
50654
42acbb92
JJ
506552010-12-09 Jakub Jelinek <jakub@redhat.com>
50656
50657 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
50658
c038d98d
UD
506592010-12-03 Ulrich Drepper <drepper@gmail.com>
50660
50661 * po/it.po: Update from translation team.
50662
3a4a2499
L
506632010-12-01 H.J. Lu <hongjiu.lu@intel.com>
50664
50665 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
50666 unused codes.
50667
1e24cf6e
UD
506682010-11-30 Ulrich Drepper <drepper@gmail.com>
50669
50670 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
50671
a7690819
AS
506722010-11-24 Andreas Schwab <schwab@redhat.com>
50673
50674 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
50675 specially.
50676 (gaih_getanswer_slice): Likewise.
50677
3bf8d1b1
JJ
506782010-10-20 Jakub Jelinek <jakub@redhat.com>
50679
50680 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
50681
6db52fbb
PB
506822010-05-31 Petr Baudis <pasky@suse.cz>
50683
50684 [BZ #11149]
50685 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
50686 silently even in the chroot mode.
50687
eaca7569
UD
506882010-11-22 Ulrich Drepper <drepper@gmail.com>
50689
50690 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
50691 last patch a bit. Pretty printing
50692
3056dcdb
UD
506932010-05-31 Petr Baudis <pasky@suse.cz>
50694
50695 [BZ #10085]
50696 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
50697 initialization of skip_initgroups_dyn.
50698
cf7c9078
UD
506992010-11-19 Ulrich Drepper <drepper@gmail.com>
50700
50701 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
50702 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
50703
a1fb5e3e
UD
507042010-11-16 Ulrich Drepper <drepper@gmail.com>
50705
50706 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
50707
3540d66b
AS
507082010-11-11 Andreas Schwab <schwab@redhat.com>
50709
50710 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
50711 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
50712 (tst-fnmatch-ENV): Set MALLOC_TRACE.
50713 ($(objpfx)tst-fnmatch-mem): New rule.
50714 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
50715 * posix/tst-fnmatch.c (main): Call mtrace.
50716
13b69574
L
507172010-11-11 H.J. Lu <hongjiu.lu@intel.com>
50718
50719 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
50720 Support Intel processor model 6 and model 0x2c.
50721
da93d214
LM
507222010-11-10 Luis Machado <luisgpm@br.ibm.com>
50723
50724 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
50725 signed comparison.
50726
8ca52c6e
L
507272010-11-09 H.J. Lu <hongjiu.lu@intel.com>
50728
50729 [BZ #12205]
50730 * string/test-strncasecmp.c (check_result): New function.
50731 (do_one_test): Use it.
50732 (check1): New function.
50733 (test_main): Use it.
50734 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
50735 Support strcasecmp and strncasecmp.
50736
69da074d
UD
507372010-11-08 Ulrich Drepper <drepper@gmail.com>
50738
50739 [BZ #12194]
50740 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
50741 * sysdeps/x86_64/bits/byteswap.h: Likewise.
50742
ff02d528
L
507432010-11-07 H.J. Lu <hongjiu.lu@intel.com>
50744
50745 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
50746 IFUNC support.
50747 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
50748 memset-x86-64.
50749 * sysdeps/x86_64/multiarch/bzero.S: New file.
50750 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
50751 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
50752 * sysdeps/x86_64/multiarch/memset.S: New file.
50753 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
50754 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
50755 Set bit_Prefer_SSE_for_memop for Intel processors.
50756 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
50757 Define.
50758 (index_Prefer_SSE_for_memop): Define.
50759 (HAS_PREFER_SSE_FOR_MEMOP): Define.
50760
344d0b54
LM
507612010-11-04 Luis Machado <luisgpm@br.ibm.com>
50762
50763 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
50764 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
50765
c0dde15b
UD
507662010-11-03 H.J. Lu <hongjiu.lu@intel.com>
50767
50768 [BZ #12191]
50769 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
50770 (__x86_64_raw_data_cache_size_half): Likewise.
50771 (__x86_64_raw_shared_cache_size): Likewise.
50772 (__x86_64_raw_shared_cache_size_half): Likewise.
50773
50774 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
50775 (__x86_64_raw_data_cache_size_half): Likewise.
50776 (__x86_64_raw_shared_cache_size): Likewise.
50777 (__x86_64_raw_shared_cache_size_half): Likewise.
50778 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
50779 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
50780 and __x86_64_raw_shared_cache_size_half. Round
50781 __x86_64_data_cache_size_half, __x86_64_data_cache_size
50782 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
50783 to multiple of 256 bytes.
50784
0e516e0e
MS
507852010-11-03 Ulrich Drepper <drepper@gmail.com>
50786
50787 [BZ #12167]
50788 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
50789 of inacessible symlinks. Verify result of symlink before returning it.
50790 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
50791 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
50792
0e012e87
ER
507932010-10-28 Erich Ritz <erichritz@gmail.com>
50794
50795 * math/math.h (isinf): Fix typo in comment.
50796
de0ff7bc
UD
507972010-11-01 Ulrich Drepper <drepper@gmail.com>
50798
50799 * po/da.po: Update from translation team.
50800
fa41c84d
UD
508012010-10-26 Ulrich Drepper <drepper@gmail.com>
50802
50803 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
50804 is added to the list.
50805
f0967738
AK
508062010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
50807 Ulrich Drepper <drepper@gmail.com>
50808
50809 * elf/dl-object.c (_dl_new_object): Don't append the new object to
50810 the global list here. Move code to...
50811 (_dl_add_to_namespace_list): ...here. New function.
50812 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
50813 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
50814 * elf/dl-load.c (lose): Don't remove the element from the list.
50815 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
50816 (_dl_map_object): Likewise.
50817
508182010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
50819
50820 [BZ #12159]
50821 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
50822 into all bytes of SSE register.
50823 Patch by Richard Li <richardpku@gmail.com>.
50824
f0967738 508252010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
50826
50827 [BZ #12140]
50828 * malloc/malloc.c (_int_free): Fill correct number of bytes when
50829 perturbing.
50830
d0b9e94f
MB
508312010-10-20 Michael B. Brutman <brutman@us.ibm.com>
50832
50833 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
50834 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
50835 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
50836 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
50837 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
50838 submachine.
50839 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
50840
8e9f92e9
AS
508412010-10-22 Andreas Schwab <schwab@redhat.com>
50842
50843 * include/dlfcn.h (__RTLD_SECURE): Define.
50844 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
50845 mode & __RTLD_SECURE instead.
50846 (open_path): Rename preloaded parameter to secure.
50847 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
50848 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
50849 * elf/dl-deps.c (openaux): Likewise.
50850 * elf/rtld.c (struct map_args): Remove is_preloaded.
50851 (map_doit): Don't use it.
50852 (dl_main): Likewise.
50853 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
50854 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
50855
bc96fbda
AS
508562010-09-09 Andreas Schwab <schwab@redhat.com>
50857
50858 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
50859 (sysd-rules-targets): Remove duplicates.
50860 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
50861 rtld-%.$o dependency.
50862
22cd1c9b
AS
508632010-10-18 Andreas Schwab <schwab@redhat.com>
50864
50865 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
50866 _dl_map_object do it.
50867
18edac48
UD
508682010-10-19 Ulrich Drepper <drepper@gmail.com>
50869
50870 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
50871 fast fma builtins, define the macros in the C99 standard.
50872 (FP_FAST_FMAF): Likewise.
50873 (FP_FAST_FMAL): Likewise.
50874 * sysdeps/x86_64/bits/mathdef.h: Likewise.
50875
50876 * bits/mathdef.h: Update copyright year.
50877 * sysdeps/powerpc/bits/mathdef.h: Likewise.
50878
d2050124
MM
508792010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
50880
50881 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
50882 builtins, define the macros in the C99 standard.
50883 (FP_FAST_FMAF): Likewise.
50884 (FP_FAST_FMAL): Likewise.
50885 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
50886 multiply/add.
50887 (FP_FAST_FMAF): Likewise.
50888
475facd1
JJ
508892010-10-15 Jakub Jelinek <jakub@redhat.com>
50890
50891 [BZ #3268]
50892 * math/libm-test.inc (fma_test): Some new testcases.
50893 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
50894 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
50895 y and infinite z. Do multiplication by C already in long double.
50896 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
50897 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
50898 y and infinite z. Do bitwise or of inexact bit into u.d.
50899 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
50900 * sysdeps/i386/fpu/s_fmaf.S: Removed.
50901 * sysdeps/i386/fpu/s_fma.S: Removed.
50902 * sysdeps/i386/fpu/s_fmal.S: Removed.
50903
7c08a05c
JJ
509042010-10-16 Jakub Jelinek <jakub@redhat.com>
50905
50906 [BZ #3268]
50907 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
50908 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
50909 computation is not scheduled after fetestexcept. Fix value
50910 of minimum denormal long double.
50911
f3f7372d
JJ
509122010-10-14 Jakub Jelinek <jakub@redhat.com>
50913
50914 [BZ #3268]
50915 * math/libm-test.inc (fma_test): Add some more tests.
50916 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
50917 correctly.
50918
14d43591
AS
509192010-10-15 Andreas Schwab <schwab@redhat.com>
50920
50921 * scripts/data/localplt-s390-linux-gnu.data: New file.
50922 * scripts/data/localplt-s390x-linux-gnu.data: New file.
50923
5e908464
JJ
509242010-10-13 Jakub Jelinek <jakub@redhat.com>
50925
50926 [BZ #3268]
50927 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
50928 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
50929 instead of dbl-64.
50930 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
50931 inlines.
50932 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
50933 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
50934 if one of x and y is very large and the other is subnormal.
50935 * sysdeps/s390/fpu/s_fmaf.c: New file.
50936 * sysdeps/s390/fpu/s_fma.c: New file.
50937 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
50938 * sysdeps/powerpc/fpu/s_fma.S: New file.
50939 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
50940 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
50941 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
50942
509432010-10-12 Jakub Jelinek <jakub@redhat.com>
50944
50945 [BZ #3268]
50946 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
50947 fma tests.
50948 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
50949 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
50950 * sysdeps/i386/i686/multiarch/s_fma.c: Include
50951 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
50952 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
50953 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
50954 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
50955
b833d51f
UD
509562010-10-12 Ulrich Drepper <drepper@redhat.com>
50957
50958 [BZ #12078]
50959 * posix/regcomp.c (parse_branch): One more memory leak plugged.
50960 * posix/bug-regex31.input: Add test case.
50961
1751705d
UD
509622010-10-11 Ulrich Drepper <drepper@gmail.com>
50963
e9b9cbf5
UD
50964 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
50965 * posix/bug-regex31.input: New file.
50966
50967 [BZ #12078]
50968 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
50969 (parse_sub_exp): Fix last change, use postorder.
50970
ef06edbe
UD
50971 * posix/bug-regex31.c: New file.
50972 * posix/Makefile: Add rules to build and run bug-regex31.
50973
a129c80d
UD
50974 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
50975
50976 [BZ #12078]
50977 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
50978
b76b818e
UD
50979 [BZ #12108]
50980 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
50981 to have entries in sys_siglist.
50982
1751705d
UD
50983 [BZ #12093]
50984 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
50985 be NULL.
50986
9ff8d36f
JJ
509872010-10-07 Jakub Jelinek <jakub@redhat.com>
50988
50989 [BZ #3268]
50990 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
50991 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
50992 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
50993 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
50994 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
50995 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
50996 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
50997 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
50998 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
50999 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
51000 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
51001 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
51002 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
51003 * math/ftestexcept.c (fetestexcept): Likewise.
51004 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
51005 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
51006 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
51007 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
51008 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
51009 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
51010 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
51011
af325969
UD
510122010-10-11 Ulrich Drepper <drepper@gmail.com>
51013
c579b202 51014 [BZ #12107]
af325969
UD
51015 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
51016 newline.
51017
67a67b95
UD
510182010-10-06 Ulrich Drepper <drepper@gmail.com>
51019
51020 * string/bug-strstr1.c: New file.
51021 * string/Makefile: Add rules to build and run bug-strstr1.
51022
5fb308bc
EB
510232010-10-05 Eric Blake <eblake@redhat.com>
51024
51025 [BZ #12092]
51026 * string/str-two-way.h (two_way_long_needle): Always clear memory
51027 when skipping input due to the shift table.
51028
45db99c7
UD
510292010-10-03 Ulrich Drepper <drepper@gmail.com>
51030
3b111893
UD
51031 [BZ #12005]
51032 * malloc/mcheck.c: Handle large requests.
51033
45db99c7
UD
51034 [BZ #12077]
51035 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
51036 for strncmp and strncasecmp.
51037 * string/stratcliff.c: Add tests for strcmp and strncmp.
51038 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
51039
cf7a1eb8
NI
510402010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
51041
51042 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
51043 __set_fpscr.
51044
6484ba5e
AJ
510452010-09-30 Andreas Jaeger <aj@suse.de>
51046
51047 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
51048 (CGROUP_SUPER_MAGIC): Define.
51049 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
51050 Handle btrfs and cgroup file systems.
51051 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
51052 Likewise.
51053
91c42559
LM
510542010-09-27 Luis Machado <luisgpm@br.ibm.com>
51055
51056 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
51057 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
51058
87a97932
AK
510592010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
51060
51061 [BZ #12067]
51062 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
51063 trying to locate the ELF header.
51064
c21cc9bc
AS
510652010-09-27 Andreas Schwab <schwab@redhat.com>
51066
51067 [BZ #11611]
51068 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
51069 Mask out sign-bit copies when constructing f_fsid.
51070
315970f6
PB
510712010-09-24 Petr Baudis <pasky@suse.cz>
51072
51073 * debug/stack_chk_fail_local.c: Add missing licence exception.
51074 * debug/warning-nop.c: Likewise.
51075
1ac7a2c7
JM
510762010-09-15 Joseph Myers <joseph@codesourcery.com>
51077
51078 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
51079 implementing getdents64 using getdents syscall, set d_type if
51080 __ASSUME_GETDENTS32_D_TYPE.
51081
56801c50
AS
510822010-09-16 Andreas Schwab <schwab@redhat.com>
51083
51084 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
51085 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
51086
dda51327
UD
510872010-09-21 Ulrich Drepper <drepper@redhat.com>
51088
51089 [BZ #12037]
51090 * posix/unistd.h: Undo change of feature selection for ftruncate from
51091 2010-01-11.
51092
8ffcee4a
UD
510932010-09-20 Ulrich Drepper <drepper@redhat.com>
51094
a545ecd9 51095 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
51096 detection.
51097
e24f0a8b
AS
510982010-09-20 Andreas Schwab <schwab@redhat.com>
51099
51100 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
51101 fanotify_mark.
51102 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
51103
7291c56f
AS
511042010-09-14 Andreas Schwab <schwab@redhat.com>
51105
51106 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
51107 variables after CHECK_SP call.
51108 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
51109
bc5fb037
AS
511102010-09-13 Andreas Schwab <schwab@redhat.com>
51111 Ulrich Drepper <drepper@redhat.com>
51112
51113 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
51114 re-relocationg ld.so.
51115 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
51116 _dl_init_paths call.
51117 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
51118 here anymore.
51119
e66e7419
UD
511202010-09-14 Ulrich Drepper <drepper@redhat.com>
51121
51122 * resolv/res_init.c (__res_vinit): Count the default server we added.
51123
c044aa75
CLT
511242010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
51125 Ulrich Drepper <drepper@redhat.com>
51126
51127 [BZ #11968]
51128 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
51129 (____longjmp_chk): Use %ebx for saving value across system call.
51130 Add unwind info.
51131
32cf4069
AS
511322010-09-06 Andreas Schwab <schwab@redhat.com>
51133
51134 * manual/Makefile: Don't mix pattern rules with normal rules.
51135
817328ee
AS
511362010-09-05 Andreas Schwab <schwab@linux-m68k.org>
51137
51138 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
51139 operation.
51140 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
51141 * libio/iofopncook.c (_IO_cookie_init): Likewise.
51142 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
51143 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
51144 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
51145 Likewise.
51146
29fddf61
UD
511472010-09-04 Ulrich Drepper <drepper@redhat.com>
51148
51149 [BZ #11979]
51150 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
51151 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
51152
0959ffc9
UD
511532010-09-02 Ulrich Drepper <drepper@redhat.com>
51154
51155 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
51156 * sysdeps/x86_64/addmul_1.S: Likewise.
51157 * sysdeps/x86_64/lshift.S: Likewise.
51158 * sysdeps/x86_64/mul_1.S: Likewise.
51159 * sysdeps/x86_64/rshift.S: Likewise.
51160 * sysdeps/x86_64/sub_n.S: Likewise.
51161 * sysdeps/x86_64/submul_1.S: Likewise.
51162
ece29840
ST
511632010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
51164
0959ffc9
UD
51165 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
51166 Define __sched_param instead of SCHED_* and sched_param when
ece29840 51167 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 51168 * bits/sched.h [__need_schedparam]
ece29840 51169 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
51170 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
51171 (__defined_schedparam): Define to 1.
ece29840
ST
51172 (__sched_param): New structure, identical to sched_param.
51173 (__need_schedparam): Undefine.
51174
e53a31fe
MF
511752010-08-31 Mike Frysinger <vapier@gentoo.org>
51176
fdc0c10d
MF
51177 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
51178 (epoll_create1): Declare.
51179
e53a31fe
MF
51180 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
51181
a726d796
AS
511822010-08-31 Andreas Schwab <schwab@redhat.com>
51183
51184 [BZ #7066]
51185 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
51186 shifting retval into place.
51187
2f3e3dc7
UD
511882010-09-01 Ulrich Drepper <drepper@redhat.com>
51189
f2933da9
UD
51190 * nis/rpcsvc/nis.h: Update copyright notice.
51191 * nis/rpcsvc/nis.x: Likewise.
51192 * nis/rpcsvc/nis_callback.h: Likewise.
51193 * nis/rpcsvc/nis_callback.x: Likewise.
51194 * nis/rpcsvc/nis_object.x: Likewise.
51195 * nis/rpcsvc/nis_tags.h: Likewise.
51196 * nis/rpcsvc/yp.h: Likewise.
51197 * nis/rpcsvc/yp.x: Likewise.
51198 * nis/rpcsvc/ypupd.h: Likewise.
51199 * nis/yp_xdr.c: Likewise.
51200 * nis/ypupdate_xdr.c: Likewise.
51201
2f3e3dc7
UD
51202 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
51203 mainly the body of pmap_getport. Add parameters to specify timeouts.
51204 (pmap_getport): Use __libc_rpc_getport.
51205 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
51206 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
51207 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
51208
f3dcc2f9
AS
512092010-08-31 Andreas Schwab <schwab@linux-m68k.org>
51210
51211 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
51212 fanotify_mark.
51213
6d34eb5b
RM
512142010-08-27 Roland McGrath <roland@redhat.com>
51215
51216 * sysdeps/i386/i686/multiarch/Makefile
51217 (CFLAGS-varshift.c): New variable.
51218
9ea3de11
UD
512192010-08-27 Ulrich Drepper <drepper@redhat.com>
51220
c96d23fc
UD
51221 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
51222 * sysdeps/i386/i686/multiarch/varshift.c: New file.
51223
9ea3de11
UD
51224 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
51225
51226 * sysdeps/x86_64/strlen.S: Minimal code improvement.
51227
623aac7f
L
512282010-08-26 H.J. Lu <hongjiu.lu@intel.com>
51229
51230 * sysdeps/x86_64/strlen.S: Unroll the loop.
51231 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
51232 strlen-sse2 strlen-sse2-bsf.
51233 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
51234 __strlen_no_bsf if bit_Slow_BSF is set.
51235 (__strlen_sse42): Removed.
51236 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
51237 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
51238
8b2b7715
RM
512392010-08-25 Roland McGrath <roland@redhat.com>
51240
51241 * sysdeps/x86_64/multiarch/varshift.S: File removed.
51242 * sysdeps/x86_64/multiarch/varshift.c: New file.
51243 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
51244 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
51245 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
51246 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
51247
e73015f2
L
512482010-08-25 H.J. Lu <hongjiu.lu@intel.com>
51249
51250 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
51251 strlen-sse2 strlen-sse2-bsf.
51252 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
51253 __strlen_sse2_bsf if bit_Slow_BSF is unset.
51254 (__strlen_sse2): Removed.
51255 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
51256 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
51257 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
51258 bit_Slow_BSF for Atom.
51259 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
51260 (index_Slow_BSF): Define.
51261 (HAS_SLOW_BSF): Define.
51262
df24a73e
UD
512632010-08-25 Ulrich Drepper <drepper@redhat.com>
51264
51265 [BZ #10851]
51266 * resolv/res_init.c (__res_vinit): When no server address at all
51267 is given default to loopback.
51268
f2ac4868
RM
512692010-08-24 Roland McGrath <roland@redhat.com>
51270
09055553
RM
51271 * configure.in: Remove config-name.h generation.
51272 * configure: Regenerated.
51273 * config-name.in: File removed.
51274 * scripts/config-uname.sh: New file.
51275 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
51276 ($(objdir)config-name.h): New target.
51277
f2ac4868
RM
51278 * sunrpc/rpc_parse.h: Avoid nested comment.
51279
73f27d5e
RH
512802010-08-24 Richard Henderson <rth@redhat.com>
51281 Ulrich Drepper <drepper@redhat.com>
51282 H.J. Lu <hongjiu.lu@intel.com>
51283
51284 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
51285 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
51286 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
51287 Replace _mm_srli_si128 with __m128i_shift_right. Replace
51288 _mm_alignr_epi8 with _mm_loadu_si128.
51289 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
51290 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
51291 (__m128i_shift_right): Removed.
51292 * sysdeps/i386/i686/multiarch/varshift.h: New file.
51293 * sysdeps/i386/i686/multiarch/varshift.S: New file.
51294 * sysdeps/x86_64/multiarch/varshift.h: New file.
51295 * sysdeps/x86_64/multiarch/varshift.S: New file.
51296
84b9230c
MF
512972010-08-21 Mike Frysinger <vapier@gentoo.org>
51298
51299 * configure.in: Move assembler checks to before sysdep dir checking.
51300
9bbd0ddc
PB
513012010-08-20 Petr Baudis <pasky@suse.cz>
51302
51303 * LICENSES: Sync the sunrpc license.
51304
9da4bb31
UD
513052010-08-19 Ulrich Drepper <drepper@redhat.com>
51306
a7ab6ec8
UD
51307 * sunrpc/auth_des.c: Update copyright notice once again.
51308 * sunrpc/auth_none.c: Likewise.
51309 * sunrpc/auth_unix.c: Likewise.
51310 * sunrpc/authdes_prot.c: Likewise.
51311 * sunrpc/authuxprot.c: Likewise.
51312 * sunrpc/bindrsvprt.c: Likewise.
51313 * sunrpc/clnt_gen.c: Likewise.
51314 * sunrpc/clnt_perr.c: Likewise.
51315 * sunrpc/clnt_raw.c: Likewise.
51316 * sunrpc/clnt_simp.c: Likewise.
51317 * sunrpc/clnt_tcp.c: Likewise.
51318 * sunrpc/clnt_udp.c: Likewise.
51319 * sunrpc/clnt_unix.c: Likewise.
51320 * sunrpc/des_crypt.c: Likewise.
51321 * sunrpc/des_soft.c: Likewise.
51322 * sunrpc/get_myaddr.c: Likewise.
51323 * sunrpc/getrpcport.c: Likewise.
51324 * sunrpc/key_call.c: Likewise.
51325 * sunrpc/key_prot.c: Likewise.
51326 * sunrpc/openchild.c: Likewise.
51327 * sunrpc/pm_getmaps.c: Likewise.
51328 * sunrpc/pm_getport.c: Likewise.
51329 * sunrpc/pmap_clnt.c: Likewise.
51330 * sunrpc/pmap_prot.c: Likewise.
51331 * sunrpc/pmap_prot2.c: Likewise.
51332 * sunrpc/pmap_rmt.c: Likewise.
51333 * sunrpc/rpc/auth.h: Likewise.
51334 * sunrpc/rpc/auth_unix.h: Likewise.
51335 * sunrpc/rpc/clnt.h: Likewise.
51336 * sunrpc/rpc/des_crypt.h: Likewise.
51337 * sunrpc/rpc/key_prot.h: Likewise.
51338 * sunrpc/rpc/netdb.h: Likewise.
51339 * sunrpc/rpc/pmap_clnt.h: Likewise.
51340 * sunrpc/rpc/pmap_prot.h: Likewise.
51341 * sunrpc/rpc/pmap_rmt.h: Likewise.
51342 * sunrpc/rpc/rpc.h: Likewise.
51343 * sunrpc/rpc/rpc_des.h: Likewise.
51344 * sunrpc/rpc/rpc_msg.h: Likewise.
51345 * sunrpc/rpc/svc.h: Likewise.
51346 * sunrpc/rpc/svc_auth.h: Likewise.
51347 * sunrpc/rpc/types.h: Likewise.
51348 * sunrpc/rpc/xdr.h: Likewise.
51349 * sunrpc/rpc_clntout.c: Likewise.
51350 * sunrpc/rpc_cmsg.c: Likewise.
51351 * sunrpc/rpc_common.c: Likewise.
51352 * sunrpc/rpc_cout.c: Likewise.
51353 * sunrpc/rpc_dtable.c: Likewise.
51354 * sunrpc/rpc_hout.c: Likewise.
51355 * sunrpc/rpc_main.c: Likewise.
51356 * sunrpc/rpc_parse.c: Likewise.
51357 * sunrpc/rpc_parse.h: Likewise.
51358 * sunrpc/rpc_prot.c: Likewise.
51359 * sunrpc/rpc_sample.c: Likewise.
51360 * sunrpc/rpc_scan.c: Likewise.
51361 * sunrpc/rpc_scan.h: Likewise.
51362 * sunrpc/rpc_svcout.c: Likewise.
51363 * sunrpc/rpc_tblout.c: Likewise.
51364 * sunrpc/rpc_util.c: Likewise.
51365 * sunrpc/rpc_util.h: Likewise.
51366 * sunrpc/rpcinfo.c: Likewise.
51367 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
51368 * sunrpc/rpcsvc/key_prot.x: Likewise.
51369 * sunrpc/rpcsvc/klm_prot.x: Likewise.
51370 * sunrpc/rpcsvc/mount.x: Likewise.
51371 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
51372 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
51373 * sunrpc/rpcsvc/rex.x: Likewise.
51374 * sunrpc/rpcsvc/rstat.x: Likewise.
51375 * sunrpc/rpcsvc/rusers.x: Likewise.
51376 * sunrpc/rpcsvc/sm_inter.x: Likewise.
51377 * sunrpc/rpcsvc/spray.x: Likewise.
51378 * sunrpc/rpcsvc/yppasswd.x: Likewise.
51379 * sunrpc/rtime.c: Likewise.
51380 * sunrpc/svc.c: Likewise.
51381 * sunrpc/svc_auth.c: Likewise.
51382 * sunrpc/svc_authux.c: Likewise.
51383 * sunrpc/svc_raw.c: Likewise.
51384 * sunrpc/svc_run.c: Likewise.
51385 * sunrpc/svc_simple.c: Likewise.
51386 * sunrpc/svc_tcp.c: Likewise.
51387 * sunrpc/svc_udp.c: Likewise.
51388 * sunrpc/svc_unix.c: Likewise.
51389 * sunrpc/svcauth_des.c: Likewise.
51390 * sunrpc/xcrypt.c: Likewise.
51391 * sunrpc/xdr.c: Likewise.
51392 * sunrpc/xdr_array.c: Likewise.
51393 * sunrpc/xdr_float.c: Likewise.
51394 * sunrpc/xdr_mem.c: Likewise.
51395 * sunrpc/xdr_rec.c: Likewise.
51396 * sunrpc/xdr_ref.c: Likewise.
51397 * sunrpc/xdr_sizeof.c: Likewise.
51398 * sunrpc/xdr_stdio.c: Likewise.
51399
9da4bb31
UD
51400 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
51401 handling.
51402
bdaa77bc
AS
514032010-08-19 Andreas Schwab <schwab@redhat.com>
51404
51405 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
51406
fe2f79db
LM
514072010-08-19 Luis Machado <luisgpm@br.ibm.com>
51408
51409 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
51410 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
51411 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
51412 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
51413 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
51414 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
51415 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
51416 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
51417 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
51418 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
51419 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
51420 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
51421 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
51422 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
51423
b9b42ee0
AB
514242010-07-26 Anton Blanchard <anton@samba.org>
51425
51426 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
51427 * malloc/arena.c (heap_trim): Likewise.
51428
1c06ba31
UD
514292010-08-16 Ulrich Drepper <drepper@redhat.com>
51430
51431 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
51432 here. Not...
51433 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
51434 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
51435
f8392f40
L
514362010-08-12 H.J. Lu <hongjiu.lu@intel.com>
51437
51438 * sysdeps/i386/elf/Makefile: New file.
51439
3162f12e
AS
514402010-08-14 Andreas Schwab <schwab@linux-m68k.org>
51441
51442 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
51443 from fanotify_init.
51444 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
51445 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
51446
28c90b2c
UD
514472010-08-15 Ulrich Drepper <drepper@redhat.com>
51448
51449 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
51450 of strncasecmp_l.
1feccb6c 51451 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 51452
ca6bb004
UD
514532010-08-14 Ulrich Drepper <drepper@redhat.com>
51454
e9f82e0d
UD
51455 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
51456 strncase_l-nonascii.
51457 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
51458 Add strncase_l-ssse3.
51459 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
51460 * sysdeps/x86_64/strcmp.S: Likewise.
51461 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
51462 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
51463 * sysdeps/x86_64/strncase.S: New file.
51464 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
51465 * sysdeps/x86_64/strncase_l.S: New file.
51466 * string/Makefile (strop-tests): Add strncasecmp.
51467 * string/test-strncasecmp.c: New file.
51468
51469 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
51470 warning.
51471
ca6bb004
UD
51472 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
51473 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
51474
052fa7b3
AS
514752010-08-14 Andreas Schwab <schwab@linux-m68k.org>
51476
51477 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
51478
962dba78
UD
514792010-08-12 Ulrich Drepper <drepper@redhat.com>
51480
51481 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
51482 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
51483 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
51484
bebff237
AM
514852010-05-01 Alan Modra <amodra@gmail.com>
51486
51487 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
51488 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
51489 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
51490 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
51491 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
51492 tidying. Don't tail-call __sigjmp_save for static lib.
51493 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
51494 save location.
51495 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
51496 (CALL_MCOUNT): Add eh info, and nop after bl.
51497 (TAIL_CALL_SYSCALL_ERROR): New macro.
51498 (PSEUDO_RET): Use it.
51499 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
51500 Correct save location of integer regs and cr.
51501 (_dl_profile_resolve): Correct cr save location. Delete nops
51502 after bl when SHARED. Reduce cfi size a little by better
51503 placement of cfi directives.
51504 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
51505 make a stack frame. Instead use parm save area as a temp.
51506 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
51507 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
51508 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
51509 Don't make a stack frame for parent, use parm save area.
51510 Increase child stack frame to 112 bytes. Don't save unused reg,
51511 and adjust reg usage. Set up cfi on error recovery and
51512 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
51513 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
51514 (__makecontext): Add dummy nop after jump to exit.
51515 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
51516 Use correct parm save area and cr save, reduce stack frame.
51517 Correct cfi for possible PSEUDO_RET frame setup.
51518 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
51519 Branch to local label emitted by PSEUDO_RET rather than
51520 __syscall_error.
51521
02637374
AS
515222010-08-12 Andreas Schwab <schwab@redhat.com>
51523
51524 [BZ #11904]
51525 * locale/programs/locale.c (print_assignment): New function.
51526 (show_locale_vars): Use it.
51527
c3e2f19b
UD
515282010-08-11 Ulrich Drepper <drepper@redhat.com>
51529
3cdaa6ad
UD
51530 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
51531 field.
51532 (struct statfs64): Likewise.
51533 (_STATFS_F_FLAGS): Define.
51534 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
51535 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
51536 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
51537 (ST_VALID): Define locally.
51538 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
51539 __statvfs_getflags, use the provided value.
51540 * sysdeps/unix/sysv/linux/kernel-features.h: Define
51541 __ASSUME_STATFS_F_FLAGS.
51542
754f7da3
UD
51543 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
51544
10b3bedc
UD
51545 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
51546 Add sys/fanotify.h.
51547 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
51548 fanotify_mask for GLIBC_2.13.
51549 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
51550 fanotify_init and fanotify_mark.
51551 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
51552 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
51553
c08fb0d7
UD
51554 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
51555 Add prlimit.
51556 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
51557 prlimit64 for GLIBC_2.13.
51558 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
51559 prlimit64.
51560 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
51561 syscall.
51562 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
51563 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
51564 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
51565 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
51566 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
51567 add prlimit alias.
51568 * sysdeps/unix/sysv/linux/prlimit.c: New file.
51569
15bac72b
UD
51570 [BZ #11903]
51571 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
51572 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
51573
c3e2f19b
UD
51574 * nss/Makefile: Add rules to build and run tst-nss-test1.
51575 * shlib-versions: Add entry for libnss_test1.
51576 * nss/nss_test1.c: New file.
51577 * nss/tst-nss-test1.c: New file.
51578
51579 * nss/nsswitch.c (__nss_database_custom): Define new variable.
51580 (__nss_configure_lookup): Set appropriate entry in
51581 __nss_configure_lookup to true.
51582 * nss/nsswitch.h: Define enum with indeces of databases in
51583 databases and __nss_database_custom arrays. Declare
51584 __nss_database_custom.
51585 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
51586 to avoid using nscd when custom rules are installed.
51587 * nss/getXXbyYY_r.c: Likewise.
51588 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
51589
51590 * nss/nss_files/files-parse.c: Whitespace fixes.
51591
f15ce4d8
UD
515922010-08-09 Ulrich Drepper <drepper@redhat.com>
51593
51594 [BZ #11883]
51595 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
51596 * posix/fnmatch_loop.c: Likewise.
51597
d22e4cc9
AK
515982010-07-17 Andi Kleen <ak@linux.intel.com>
51599
51600 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
51601 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
51602 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
51603 * Versions.def [GLIBC_2.13]: Add.
51604
805bc17d
UD
516052010-08-06 Ulrich Drepper <drepper@redhat.com>
51606
51607 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
51608 Also fail if tpwd after pwuid call is NULL.
51609
5a42321d
ST
516102010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
51611
51612 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
51613 when converting to ms.
51614
fd3ebeda
ST
516152010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
51616
51617 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
51618 EOPNOTSUPP errors with ENOTTY.
51619 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
51620 EOPNOTSUPP errors with ENOTTY.
51621
73507d3a
UD
516222010-07-31 Ulrich Drepper <drepper@redhat.com>
51623
51624 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
51625 Add strcasecmp_l-ssse3.
51626 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
51627 strcasecmp.
51628 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
51629 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
51630 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
51631
fe36dd02
UD
516322010-07-30 Ulrich Drepper <drepper@redhat.com>
51633
66f6765a
UD
51634 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
51635
42e08a54
UD
51636 * string/Makefile (strop-tests): Add strcasecmp.
51637 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
51638 strcasecmp_l-nonascii.
51639 (gen-as-const-headers): Add locale-defines.sym.
51640 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
51641 * sysdeps/x86_64/strcasecmp.S: New file.
51642 * sysdeps/x86_64/strcasecmp_l.S: New file.
51643 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
51644 * sysdeps/x86_64/locale-defines.sym: New file.
51645 * string/test-strcasecmp.c: New file.
51646
fe36dd02
UD
51647 * string/test-strcasestr.c: Test both ends of the range of characters.
51648 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
51649
48cbc0d6
RM
516502010-07-29 Roland McGrath <roland@redhat.com>
51651
76e6d6bc 51652 [BZ #11856]
48cbc0d6
RM
51653 * manual/locale.texi (Yes-or-No Questions): Fix example code.
51654
880113d9
UD
516552010-07-27 Ulrich Drepper <drepper@redhat.com>
51656
51657 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
51658 for ld.so.
51659
deb9cabb
AS
516602010-07-27 Andreas Schwab <schwab@redhat.com>
51661
51662 * manual/memory.texi (Malloc Tunable Parameters): Document
51663 M_PERTURB.
51664
1c7570ff
RM
516652010-07-26 Roland McGrath <roland@redhat.com>
51666
51667 [BZ #11840]
51668 * configure.in (-fgnu89-inline check): Set and substitute
51669 gnu89_inline, not libc_cv_gnu89_inline.
51670 * configure: Regenerated.
51671 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
51672
24fb0f88
UD
516732010-07-26 Ulrich Drepper <drepper@redhat.com>
51674
51675 * string/test-strnlen.c: New file.
51676 * string/Makefile (strop-tests): Add strnlen.
51677 * string/tester.c (test_strnlen): Add a few more test cases.
51678 * string/tst-strlen.c: Better error reporting.
51679
51680 * sysdeps/x86_64/strnlen.S: New file.
51681
8e96b93a
UD
516822010-07-24 Ulrich Drepper <drepper@redhat.com>
51683
51684 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
51685 lower-latency instructions.
51686
dbc676d4
UD
516872010-07-23 Ulrich Drepper <drepper@redhat.com>
51688
51689 * string/test-strcasestr.c: New file.
51690 * string/test-strstr.c: New file.
51691 * string/Makefile (strop-tests): Add strstr and strcasestr.
51692 * string/str-two-way.h: Don't undefine MAX.
51693 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
51694
f6a31e0e
AS
516952010-07-21 Andreas Schwab <schwab@redhat.com>
51696
51697 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
51698 strcasestr-nonascii.
51699 (CFLAGS-strcasestr-nonascii.c): Define.
51700 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
51701 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
51702 Remove unused attribute.
51703
5dbc3b6c
RM
517042010-07-20 Roland McGrath <roland@redhat.com>
51705
51706 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
51707 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
51708 ld.so.cache was broken. With it, there is no way to disable dsocaps
51709 like LD_HWCAP_MASK can disable hwcaps.
51710
23d101d8
EPM
517112010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
51712
51713 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
51714
cc9f2e47
UD
517152010-07-16 Ulrich Drepper <drepper@redhat.com>
51716
51717 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
51718 call in strcasestr.
51719 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
51720 __strcasestr_sse42_nonascii.
51721 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
51722 strcasestr-nonascii.c.
51723 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
51724
77c1b069
LM
517252010-06-15 Luis Machado <luisgpm@br.ibm.com>
51726
51727 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
51728 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
51729 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
51730 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
51731
440566c3
UD
517322010-07-09 Ulrich Drepper <drepper@redhat.com>
51733
51734 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
51735 fcntl.
51736
5be9d05d
AS
517372010-07-06 Andreas Schwab <schwab@redhat.com>
51738
c30b7ee2 51739 [BZ #11577]
5be9d05d
AS
51740 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
51741 dl_signal_cerror.
51742
8a492a67
UD
517432010-07-06 Ulrich Drepper <drepper@redhat.com>
51744
51745 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
51746 _PC_PIPE_BUF using F_GETPIPE_SZ.
51747
713df3d5
RM
517482010-07-05 Roland McGrath <roland@redhat.com>
51749
51750 * manual/arith.texi (Rounding Functions): Fix rint description
51751 implicit in round description.
51752
702e8f14
UD
517532010-07-02 Ulrich Drepper <drepper@redhat.com>
51754
51755 * elf/Makefile: Fix linking for a few tests to make recent linker
51756 happy.
51757
52ed8be9
AS
517582010-06-30 Andreas Schwab <schwab@redhat.com>
51759
51760 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
51761 $(common-objpfx)libc_nonshared.a.
51762
f47c9a11
LM
517632010-06-21 Luis Machado <luisgpm@br.ibm.com>
51764
51765 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
51766 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
51767 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
51768 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
51769 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
51770 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
51771 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
51772 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
51773 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
51774 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
51775 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
51776 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
51777 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
51778 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
51779 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
51780 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
51781 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
51782 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
51783 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
51784 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
51785 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
51786 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
51787 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
51788 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
51789 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
51790 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
51791 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
51792 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
51793 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
51794 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
51795 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
51796 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
51797 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
51798 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
51799 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
51800 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
51801 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
51802 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
51803 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
51804 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
51805 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
51806 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
51807 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
51808 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
51809 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
51810 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
51811 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
51812 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
51813
6fb8cbcb
L
518142010-06-25 H.J. Lu <hongjiu.lu@intel.com>
51815
51816 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
51817 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
51818 * string/memmove.c (memmove): Renamed to ...
51819 (MEMMOVE): ...this. Default to memmove.
51820 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
51821 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
51822 (END_CHK): Define.
51823 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
51824 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
51825 mempcpy-ssse3-back memmove-ssse3-back.
51826 * sysdeps/x86_64/multiarch/bcopy.S: New file .
51827 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
51828 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
51829 * sysdeps/x86_64/multiarch/memcpy.S: New file.
51830 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
51831 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
51832 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
51833 * sysdeps/x86_64/multiarch/memmove.c: New file.
51834 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
51835 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
51836 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
51837 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
51838 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
51839 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
51840 Define.
51841 (index_Fast_Copy_Backward): Define.
51842 (HAS_ARCH_FEATURE): Define.
51843 (HAS_FAST_REP_STRING): Define.
51844 (HAS_FAST_COPY_BACKWARD): Define.
51845
4e733bac 518462010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
51847
51848 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
51849 Restore proper fallback handling.
51850
63c4ed22
UD
518512010-06-19 Ulrich Drepper <drepper@redhat.com>
51852
ac2b484c
UD
51853 [BZ #11701]
51854 * posix/group_member.c (__group_member): Correct checking loop.
51855
63c4ed22
UD
51856 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
51857 OOM in getpwuid_r correctly. Return error number when the caller
51858 should return, otherwise -1.
51859 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
51860 call returning > 0 value.
51861 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
51862
765ade4b
AS
518632010-06-07 Andreas Schwab <schwab@redhat.com>
51864
51865 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
51866 libc_nonshared.a from targets in modules-names.
51867
80da2e09
KS
518682010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
51869
51870 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
51871 requires it.
51872
158db122
LM
518732010-06-10 Luis Machado <luisgpm@br.ibm.com>
51874
51875 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
51876 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
51877 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
51878 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
51879
caa78cf8
AS
518802010-06-02 Andreas Schwab <schwab@redhat.com>
51881
51882 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
51883
b2ef2c01
UD
518842010-06-14 Ulrich Drepper <drepper@redhat.com>
51885
51886 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
51887 and F_GETPIPE_SZ.
51888 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
51889 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
51890 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
51891 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
51892 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
51893 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
51894
fbd643b6
RM
518952010-06-14 Roland McGrath <roland@redhat.com>
51896
51897 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
51898
f32f2869
JJ
518992010-06-07 Jakub Jelinek <jakub@redhat.com>
51900
51901 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
51902 __REDIRECT followed by __THROW.
51903 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
51904 * posix/getopt.h (getopt): Likewise.
51905
2a50c078
EPM
519062010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
51907
51908 * hurd/lookup-at.c (__file_name_lookup_at): Accept
51909 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
51910 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
51911 in AT_FLAGS.
51912 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
51913 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
51914
eb5ad2eb
LM
519152010-05-28 Luis Machado <luisgpm@br.ibm.com>
51916
51917 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
51918
3c88fe1e
L
519192010-05-26 H.J. Lu <hongjiu.lu@intel.com>
51920
51921 [BZ #11640]
51922 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
51923 Properly check family and model.
51924
d2f73151
TY
519252010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
51926
51927 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
51928
ebd2e13d
LM
519292010-05-24 Luis Machado <luisgpm@br.ibm.com>
51930
51931 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
51932
b32b8b45
UD
519332010-05-21 Ulrich Drepper <drepper@redhat.com>
51934
51935 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
51936 symbol reference.
51937
9acbe24d
AS
519382010-05-19 Andreas Schwab <schwab@redhat.com>
51939
51940 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
51941 symbol reference.
51942
f0ccf6ea
AS
519432010-05-21 Andreas Schwab <schwab@redhat.com>
51944
3d04ff3a
AS
51945 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
51946 and internal_recvmmsg.
51947 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
51948 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
51949 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
51950 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
51951
f0ccf6ea
AS
51952 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
51953 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
51954 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
51955
5b08ac57
AS
519562010-05-20 Andreas Schwab <schwab@redhat.com>
51957
51958 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
51959
4828935d
LM
519602010-05-17 Luis Machado <luisgpm@br.ibm.com>
51961
51962 POWER7 optimizations.
51963 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
51964 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
51965
373d545e
UD
519662010-05-19 Ulrich Drepper <drepper@redhat.com>
51967
51968 * version.h: Update for 2.13 development version.
51969
21a2b1ae
AS
519702010-05-12 Andrew Stubbs <ams@codesourcery.com>
51971
51972 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
51973 exceptions. Return 0.
51974
3f7dcb2b
RM
519752010-05-07 Roland McGrath <roland@redhat.com>
51976
51977 * elf/ldconfig.c (main): Add a const.
51978
5f24d53a 519792010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 51980
a160f8d8
UD
51981 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
51982 (args_options): Add no-idn option.
51983 (ahosts_keys_int): Add idn_flags to ai_flags.
51984 (parse_option): Handle 'i' option to clear idn_flags.
51985
5f24d53a
UD
51986 * malloc/malloc.c (_int_free): Possible race in the most recently
51987 added check. Only act on the data if no current modification
51988 happened.
265bb1ce
UD
51989
51990See ChangeLog.17 for earlier changes.