]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
Fix locale memmem namespace (bug 17585).
[thirdparty/glibc.git] / ChangeLog
CommitLineData
5a6fa4d7
JM
12014-11-12 Joseph Myers <joseph@codesourcery.com>
2
9975e3d3
JM
3 [BZ #17585]
4 * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
5 (memmem): Rename to __memmem and define as weak alias of
6 __memmem. Use libc_hidden_weak.
7 (__memmem): Use libc_hidden_def.
8 * include/string.h (__memmem): Declare. Use libc_hidden_proto.
9 * locale/findlocale.c (valid_locale_name): Use __memmem instead of
10 memmem.
11
c4eae752
JM
12 [BZ #17582]
13 * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
14 (__fgets_unlocked): Add alias of _IO_fgets. Use libc_hidden_def.
15 * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
16 and define as weak alias of __fgets_unlocked. Use
17 libc_hidden_weak.
18 (__fgets_unlocked): Use libc_hidden_def.
19 * include/stdio.h (__fgets_unlocked): Declare. Use
20 libc_hidden_proto.
21 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
22 __fgets_unlocked instead of fgets_unlocked.
23 * sysdeps/unix/sysv/linux/alpha/getsysstats.c
24 (GET_NPROCS_CONF_PARSER): Likewise.
25 * sysdeps/unix/sysv/linux/sparc/getsysstats.c
26 (GET_NPROCS_CONF_PARSER): Likewise.
27
01cad84e
JM
28 [BZ #17574]
29 * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
30 weak alias of __wmemset. Use libc_hidden_weak.
31 (__wmemset): Use libc_hidden_def.
32 * include/wchar.h (__wmemset): Declare. Use libc_hidden_proto.
33 * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
34 of wmemset.
35
939da411
JM
36 [BZ #17573]
37 * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
38 with asm name __mempcpy.
39 [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
40
293d9a41
JM
41 [BZ #17572]
42 * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
43 and define as weak alias of __rawmemchr.
44 (__rawmemchr): Do not define as strong alias of rawmemchr.
45
bef8fd60
JM
46 [BZ #17571]
47 * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
48 alias of __qsort_r.
49 (qsort): Call __qsort_r instead of qsort_r.
50 * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
51 (__qsort_r): Declare. Call libc_hidden_proto.
52 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
53 instead of qsort_r.
54 * nscd/gai.c (__qsort_r): Define to qsort_r.
55 * posix/tst-rfc3484.c (__qsort_r): Likewise.
56 * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
57 * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
58
c52ff39e
JM
59 [BZ #17570]
60 * malloc/malloc.c (malloc_info): Rename to __malloc_info and
61 define as weak alias of __malloc_info.
62
2f5c1b00
JM
63 [BZ #17584]
64 * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
65 as weak alias of __rewinddir. Don't use libc_hidden_def.
66 (__rewinddir): Use libc_hidden_def.
67 * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
68 as weak alias of __rewinddir. Don't use libc_hidden_def.
69 (__rewinddir): Use libc_hidden_def.
70 * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
71 weak alias of __rewinddir. Don't use libc_hidden_def.
72 (__rewinddir): Use libc_hidden_def.
73 * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
74 (__rewinddir): Use libc_hidden_proto.
75 * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
76 rewinddir.
77 (__getcwd): Use __rewinddir instead of rewinddir.
78
5a6fa4d7
JM
79 [BZ #17583]
80 * libio/fileno.c (fileno): Rename to __fileno and define as weak
81 alias of __fileno. Use libc_hidden_weak.
82 (__fileno): Use libc_hidden_def.
83 [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
84 * libio/ftello.c (ftello): Rename to __ftello and define as weak
85 alias of __ftello.
86 [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
87 __ftello.
88 * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
89 (__fread_unlocked): Define as strong alias of _IO_fread. Use
90 libc_hidden_def.
91 (fread_unlocked): Don't use libc_hidden_ver.
92 * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
93 and define as weak alias of __fread_unlocked. Don't use
94 libc_hidden_def.
95 (__fread_unlocked): Use libc_hidden_def.
96 * include/stdio.h (__fileno): Declare. Use libc_hidden_proto.
97 (ftello): Don't use libc_hidden_proto.
98 (__ftello): Declare. Use libc_hidden_proto.
99 (fread_unlocked): Don't use libc_hidden_proto.
100 (__fread_unlocked): Declare. Use libc_hidden_proto.
101 * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
102 and __ftello instead of fileno, fread_unlocked and ftello.
103
2581b98e
SP
1042012-11-12 Siddhesh Poyarekar <siddhesh@redhat.com>
105
106 * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
107 GOT12.
108 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
109 Likewise.
110 (_dl_start_user): Likewise.
111 * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
112
533bb7c2
SP
1132014-11-12 Carlos O'Donell <carlos@redhat.com>
114 Siddhesh Poyarekar <siddhesh@redhat.com>
115
116 * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
117 Move argv and envp down instead of moving argc up.
118 * sysdeps/s390/s390-32/dl-sysdep.h: New file.
119
fffa1cf8
LH
1202014-11-12 Leonhard Holz <leonhard.holz@web.de>
121
122 [BZ #17506]
123 * test-skeleton.c (main): Return successful if one of
124 EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
125 * string/tst-strcoll-overflow.c: Define expected status.
126
fb89b46d
TU
1272014-11-12 Tatiana Udalova <t.udalova@samsung.com>
128
129 [BZ #17475]
130 * locale/iso-639.def: Define Bhili and Tulu language codes.
131
5c40c3ba
AH
1322014-11-11 Alan Hayward <alan.hayward@arm.com>
133
134 * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
135
b17fe01b 1362014-11-10 Renlin Li <Renlin.Li@arm.com>
80085def
RL
137
138 [BZ #17555]
139 * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
140
bd805071
AS
1412014-11-10 Andrew Senkevich <andrew.n.senkevich@gmail.com>
142
143 * configure.ac: Updated check of minimal required version to
144 2.22.
145 * manual/install.texi (Tools for Compilation): Updated version
146 number.
147 * configure: Regenerated.
148 * INSTALL: Likewise.
149
1400983e
AS
1502014-11-07 Andreas Schwab <schwab@linux-m68k.org>
151
152 * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
153 __tls_get_addr.
154
2c46a66a
JM
1552014-11-07 Joseph Myers <joseph@codesourcery.com>
156
157 * include/sys/wait.h (__libc_waitpid): Remove declaration.
158 * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
159 (__waitpid): Don't define as alias. Use libc_hidden_def not
160 libc_hidden_weak.
161 (waitpid): Define as alias of __waitpid.
162 * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
163 __waitpid.
164 (__waitpid): Don't define as alias. Use libc_hidden_def not
165 libc_hidden_weak.
166 (waitpid): Define as alias of __waitpid.
167 * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
168 __libc_waitpid alias.
169 * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
170 * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
171 Likewise.
172 * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
173 * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
174 * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
175 alias.
176 * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
177 __waitpid.
178 (__waitpid): Don't define as alias. Use libc_hidden_def not
179 libc_hidden_weak.
180 (waitpid): Define as alias of __waitpid.
181
da53d6db
CD
1822014-11-06 Carlos O'Donell <carlos@redhat.com>
183
a2887bdb
CD
184 * manual/llio.texi: Add comment that write safety has been
185 fixed in Linux.
186
da53d6db
CD
187 * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
188 (localplt-build-dso): Add elf/ld.so.
189 * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
190 i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
191 and free for ld.so.
192 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
193 __libc_memalign, malloc, calloc, realloc, and free for ld.so.
194 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
195 Likewise.
196 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
197 Likewise.
198 * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
199 * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
200 version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
201 * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
202 * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
203 * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
204 * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
205 * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
206 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
207 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
208 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
209
9cf27b8d
JM
2102014-11-05 Joseph Myers <joseph@codesourcery.com>
211
212 [BZ #14132]
213 * include/libc-symbols.h (INTUSE): Remove macro.
214 (INTDEF): Likewise.
215 (INTVARDEF): Likewise.
216 (_INTVARDEF): Likewise.
217 (INTDEF2): Likewise.
218 (INTVARDEF2): Likewise.
219 * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
220 rtld_hidden_def instead of INTVARDEF.
221 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
222 (_dl_starting_up_internal): Remove declaration.
223 (_dl_starting_up): Use rtld_hidden_proto.
224 * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
225 declaration.
226 [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
227 (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
228 _dl_starting_up.
229 * elf/dl-writev.h (_dl_writev): Likewise.
230 * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
231 (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
232 _dl_starting_up_internal.
233
af83568d
AZ
2342014-11-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
235
236 * stdio-common/tst-fmemopen.c (do_test): Refactor to use
237 test-skeleton.c.
238
b01ee67c
WN
2392014-11-05 Will Newton <will.newton@linaro.org>
240
241 * benchtests/Makefile: (bench-malloc): Add malloc thread
242 scalability benchmark.
243 * benchtests/bench-malloc-threads.c: New file.
244
be9d4ccc
RE
2452014-11-05 Richard Earnshaw <rearnsha@arm.com>
246
247 * sysdeps/aarch64/strchrnul.S: New file.
248
7110166d
AZ
2492014-11-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
250
251 * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
252 definition.
253 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
254 Likwise.
255 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
256 Likewise.
257 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
258 Likewise.
259 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
260 Likewise.
261 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
262 Likewise.
263
2642014-11-05 Arjun Shankar <arjun.is@lostca.se>
29955b5d
AS
265
266 * catgets/test-gencat.c: Use test-skeleton.c.
267 * catgets/tst-catgets.c: Likewise.
268 * csu/tst-empty.c: Likewise.
269 * elf/tst-audit2.c: Likewise.
270 * elf/tst-global1.c: Likewise.
271 * elf/tst-pathopt.c: Likewise.
272 * elf/tst-piemod1.c: Likewise.
273 * elf/tst-tls10.c: Likewise.
274 * elf/tst-tls11.c: Likewise.
275 * elf/tst-tls12.c: Likewise.
276 * gnulib/tst-gcc.c: Likewise.
277 * iconvdata/tst-e2big.c: Likewise.
278 * iconvdata/tst-loading.c: Likewise.
279 * iconv/tst-iconv1.c: Likewise.
280 * iconv/tst-iconv2.c: Likewise.
281 * inet/test-inet6_opt.c: Likewise.
282 * inet/tst-gethnm.c: Likewise.
283 * inet/tst-network.c: Likewise.
284 * inet/tst-ntoa.c: Likewise.
285 * intl/tst-codeset.c: Likewise.
286 * intl/tst-gettext2.c: Likewise.
287 * intl/tst-gettext3.c: Likewise.
288 * intl/tst-ngettext.c: Likewise.
289 * intl/tst-translit.c: Likewise.
290 * io/test-stat.c: Likewise.
291 * libio/test-fmemopen.c: Likewise.
292 * libio/tst-freopen.c: Likewise.
293 * libio/tst-sscanf.c: Likewise.
294 * libio/tst-ungetwc1.c: Likewise.
295 * libio/tst-ungetwc2.c: Likewise.
296 * libio/tst-widetext.c: Likewise.
297 * localedata/tst-ctype.c: Likewise.
298 * localedata/tst-digits.c: Likewise.
299 * localedata/tst-leaks.c: Likewise.
300 * localedata/tst-mbswcs1.c: Likewise.
301 * localedata/tst-mbswcs2.c: Likewise.
302 * localedata/tst-mbswcs3.c: Likewise.
303 * localedata/tst-mbswcs4.c: Likewise.
304 * localedata/tst-mbswcs5.c: Likewise.
305 * localedata/tst-setlocale.c: Likewise.
306 * localedata/tst-trans.c: Likewise.
307 * localedata/tst-wctype.c: Likewise.
308 * localedata/tst-xlocale1.c: Likewise.
309 * login/tst-grantpt.c: Likewise.
310 * malloc/tst-calloc.c: Likewise.
311 * malloc/tst-malloc.c: Likewise.
312 * malloc/tst-mallocstate.c: Likewise.
313 * malloc/tst-mcheck.c: Likewise.
314 * malloc/tst-mtrace.c: Likewise.
315 * malloc/tst-obstack.c: Likewise.
316 * math/atest-exp2.c: Likewise.
317 * math/atest-exp.c: Likewise.
318 * math/atest-sincos.c: Likewise.
319 * math/test-matherr.c: Likewise.
320 * math/test-misc.c: Likewise.
321 * math/test-powl.c: Likewise.
322 * math/tst-definitions.c: Likewise.
323 * misc/tst-dirname.c: Likewise.
324 * misc/tst-efgcvt.c: Likewise.
325 * misc/tst-fdset.c: Likewise.
326 * misc/tst-hsearch.c: Likewise.
327 * misc/tst-mntent2.c: Likewise.
328 * nptl/tst-sem7.c: Likewise.
329 * nptl/tst-sem8.c: Likewise.
330 * nptl/tst-sem9.c: Likewise.
331 * nss/test-netdb.c: Likewise.
332 * posix/tst-fnmatch.c: Likewise.
333 * posix/tst-getlogin.c: Likewise.
334 * posix/tst-gnuglob.c: Likewise.
335 * posix/tst-mmap.c: Likewise.
336 * pwd/tst-getpw.c: Likewise.
337 * resolv/tst-inet_ntop.c: Likewise.
338 * rt/tst-timer.c: Likewise.
339 * stdio-common/test-fseek.c: Likewise.
340 * stdio-common/test-popen.c: Likewise.
341 * stdio-common/test-vfprintf.c: Likewise.
342 * stdio-common/tst-cookie.c: Likewise.
343 * stdio-common/tst-fileno.c: Likewise.
344 * stdio-common/tst-gets.c: Likewise.
345 * stdio-common/tst-obprintf.c: Likewise.
346 * stdio-common/tst-perror.c: Likewise.
347 * stdio-common/tst-sprintf2.c: Likewise.
348 * stdio-common/tst-sprintf3.c: Likewise.
349 * stdio-common/tst-sprintf.c: Likewise.
350 * stdio-common/tst-swprintf.c: Likewise.
351 * stdio-common/tst-tmpnam.c: Likewise.
352 * stdio-common/tst-unbputc.c: Likewise.
353 * stdio-common/tst-wc-printf.c: Likewise.
354 * stdlib/tst-environ.c: Likewise.
355 * stdlib/tst-fmtmsg.c: Likewise.
356 * stdlib/tst-limits.c: Likewise.
357 * stdlib/tst-rand48-2.c: Likewise.
358 * stdlib/tst-rand48.c: Likewise.
359 * stdlib/tst-random2.c: Likewise.
360 * stdlib/tst-random.c: Likewise.
361 * stdlib/tst-strtol.c: Likewise.
362 * stdlib/tst-strtoll.c: Likewise.
363 * stdlib/tst-tls-atexit.c: Likewise.
364 * stdlib/tst-xpg-basename.c: Likewise.
365 * string/test-ffs.c: Likewise.
366 * string/tst-bswap.c: Likewise.
367 * string/tst-inlcall.c: Likewise.
368 * string/tst-strtok.c: Likewise.
369 * string/tst-strxfrm.c: Likewise.
370 * sysdeps/x86_64/tst-audit10.c: Likewise.
371 * sysdeps/x86_64/tst-audit3.c: Likewise.
372 * sysdeps/x86_64/tst-audit4.c: Likewise.
373 * sysdeps/x86_64/tst-audit5.c: Likewise.
374 * time/tst-ftime_l.c: Likewise.
375 * time/tst-getdate.c: Likewise.
376 * time/tst-mktime3.c: Likewise.
377 * time/tst-mktime.c: Likewise.
378 * time/tst-posixtz.c: Likewise.
379 * time/tst-strptime2.c: Likewise.
380 * time/tst-strptime3.c: Likewise.
381 * wcsmbs/tst-btowc.c: Likewise.
382 * wcsmbs/tst-mbrtowc.c: Likewise.
383 * wcsmbs/tst-mbsrtowcs.c: Likewise.
384 * wcsmbs/tst-wchar-h.c: Likewise.
385 * wcsmbs/tst-wcpncpy.c: Likewise.
386 * wcsmbs/tst-wcrtomb.c: Likewise.
387 * wcsmbs/tst-wcsnlen.c: Likewise.
388 * wcsmbs/tst-wcstof.c: Likewise.
389
2004e7fb
JM
3902014-11-04 Joseph Myers <joseph@codesourcery.com>
391
ab97ee8f
JM
392 [BZ #14132]
393 * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
394 INTDEF.
395 * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
396 declaration.
397 (_dl_mcount): Use rtld_hidden_proto.
398 * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
399 _dl_mcount.
400 * elf/rtld.c (_rtld_global_ro): Likewise.
401
c5684fdb
JM
402 [BZ #14132]
403 * elf/dl-init.c (_dl_init): Don't use INTDEF.
404 * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
405 of _dl_init_internal.
406 * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
407 * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
408 * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
409 * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
410 * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
411 * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
412 * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
413 * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
414 * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
415 * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
416 * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
417 * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
418 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
419 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
420 * sysdeps/tile/dl-start.S (_start): Likewise.
421 * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
422 * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
423
4243cbea
JM
424 [BZ #14132]
425 * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
426 [IS_IN_rtld] (_dl_argv_internal): Do not declare.
427 (rtld_progname): Make macro definition unconditional.
428 * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
429 INTDEF.
430 (dlmopen_doit): Do not use INTUSE with _dl_argv.
431 (dl_main): Likewise.
432 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
433 * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
434 instead of _dl_argv_internal.
435 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
436 __GI__dl_argv instead of INTUSE(_dl_argv).
437 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
438 __GI__dl_argv instead of _dl_argv_internal.
439
2004e7fb
JM
440 * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
441 * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
442 macro.
443 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
444 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
445 New macro.
446 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
447 * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
448 macro.
449 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
450 * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
451
97827bfc
AS
4522014-11-04 Andreas Schwab <schwab@suse.de>
453
454 * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
455
5e4df284
AZ
4562014-11-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
457
458 * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
459 mtvsrd instruction in binary form.
460
04b76b5a
AS
4612014-11-03 Andreas Schwab <schwab@suse.de>
462
463 [BZ #17522]
464 * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
465 for less than MB_LEN_MAX use a local buffer of that size.
466 * libio/tst-fputws.c: New file.
467 * libio/Makefile (tests): Add tst-fputws.
468
4c6da7da
JM
4692014-11-01 Jose E. Marchesi <jose.marchesi@oracle.com>
470
471 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
472 the size of the fpu_fr.fpu_dregs[] array.
473
1679ba8e
JM
4742014-11-01 Joseph Myers <joseph@codesourcery.com>
475
476 * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
477 (__nanosleep): Do not define as alias.
478 (nanosleep): Define as alias of __nanosleep.
479 * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
480 __libc_nanosleep name.
481
2626c183
JM
4822014-10-31 Joseph Myers <joseph@codesourcery.com>
483
484 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
485 install.texi in comment.
486
7f981fc2
TR
4872014-10-31 Torvald Riegel <triegel@redhat.com>
488
489 * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
490 * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
491 ... add here and use lwsync or sync ...
492 * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
493 ... and add here using lwsync.
494
d6f373d2
MF
4952014-10-31 Matthew Fortune <matthew.fortune@imgtec.com>
496
497 * elf/dl-machine-reject-phdr.h: New file.
498 * elf/dl-load.c: #include that.
499 (open_verify): Call elf_machine_reject_phdr_p and ignore the file
500 if that returned true.
501
67c37987
RM
5022014-10-31 Roland McGrath <roland@hack.frob.com>
503
504 [BZ #17496]
505 * Makerules: Move gnu/lib-names.h generation chunk up, to right after
506 gen-as-const-headers chunk. Add a big scare comment after the last
507 safe place to touch before-compile.
508
94a42455 5092014-10-31 Joseph Myers <joseph@codesourcery.com>
f62ff286 510
f3f5d895
JM
511 * manual/install.texi (Tools for Compilation): Update autoconf
512 version requirements.
513 * INSTALL: Regenerated.
514
f62ff286
JM
515 * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
516 * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
517 (__libc_pselect): Likewise.
94a42455
JM
518
519 [BZ #14138]
520 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
521 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
522 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
523 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
524
ff9dbdc0
TR
5252014-10-31 Torvald Riegel <triegel@redhat.com>
526
527 * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
528 correct barrier instruction.
529 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
530 Likewise.
531 * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
532 Likewise.
533
b4f66884
RM
5342014-10-30 Roland McGrath <roland@hack.frob.com>
535
536 * include/ctype.h: Include <ctype/ctype.h> first thing rather than
537 after defining inlines. Instead, just use parens to defeat macro
538 expansion of __isctype in its declaration.
539
e19c95fd
JM
5402014-10-30 Joseph Myers <joseph@codesourcery.com>
541
542 * include/sys/uio.h (__libc_readv): Remove declaration.
543 (__libc_writev): Likewise.
544 * misc/readv.c (__libc_readv): Rename to __readv.
545 (__readv): Do not define as alias.
546 (readv): Define as alias of __readv.
547 * misc/writev.c (__libc_writev): Rename to __writev.
548 (__writev): Do not define as alias.
549 (writev): Define as alias of __writev.
550 * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
551 (__readv): Do not define as alias.
552 (readv): Define unconditionally as alias of __readv.
553 * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
554 (__writev): Do not define as alias.
555 (writev): Define unconditionally as alias of __writev.
556 * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
557 name.
558 (writev): Do not define __libc_writev name.
559
65b00b6c
RM
5602014-10-30 Roland McGrath <roland@hack.frob.com>
561
562 * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
563 (convert_charseq): New function, broken out of ...
564 (use_from_charmap): ... here. Call it.
565 (use_to_charmap): Use convert_charseq and free instead of duplicating
566 its code with a variable-length stack struct.
567
d4e157aa
JM
5682014-10-30 Joseph Myers <joseph@codesourcery.com>
569
570 * include/fcntl.h (__libc_creat): Remove declaration.
571 * io/creat.c (__libc_creat): Rename to creat.
572 (creat): Do not define as alias.
573 * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
574 of creat instead of __libc_creat.
575 * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
576 to creat.
577 (creat): Do not define as alias.
578 [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
579 __libc_creat.
580 * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
581 __libc_creat name.
582 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
583 Likewise.
584
0c6891a0
CD
5852014-10-29 Carlos O'Donell <carlos@redhat.com>
586
587 * manual/llio.texi: Add comments discussing why write() may be
588 considered MT-unsafe on Linux.
589
cc00cece
CD
5902014-10-28 Carlos O'Donell <carlos@redhat.com>
591
592 * dl-load.c (local_strdup): Remove.
593 (expand_dynamic_string_token): Use __strdup.
594 (decompose_rpath): Likewise.
595 (_dl_map_object): Likewise.
596
51e623f2
JM
5972014-10-28 Joseph Myers <joseph@codesourcery.com>
598
599 [BZ #14132]
600 * sysdeps/generic/unwind-dw2-fde.c
601 (__register_frame_info_bases_internal): Do not declare.
602 (__register_frame_info_table_bases_internal): Likewise.
603 (__deregister_frame_info_bases_internal): Likewise.
604 (__register_frame_info_bases): Declare and use hidden_proto before
605 definition. Use hidden_def instead of INTDEF.
606 (__register_frame_info_table_bases): Likewise.
607 (__deregister_frame_info_bases): Likewise.
608 (__register_frame_info): Do not use INTUSE.
609 (__register_frame): Likewise.
610 (__register_frame_info_table): Likewise.
611 (__register_frame_table): Likewise.
612 (__deregister_frame_info): Likewise.
613 (__deregister_frame): Likewise.
614
03d41216
GC
6152014-10-27 Gratian Crisan <gratian.crisan@ni.com>
616
617 * sysdeps/unix/sysv/linux/arm/kernel-features.h
618 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
619 not undefine.
620 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
621 Likewise.
622 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
623 Likewise.
624
a4b3624d
JM
6252014-10-27 Joseph Myers <joseph@codesourcery.com>
626
627 [BZ #14138]
628 * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
629 * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
630 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
631 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
632 * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
633 * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
634 * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
635 * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
636 * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
637 * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
638 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
639 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
640 * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
641 syscall.
642 (setfsuid): Likewise.
643 * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
644 (setfsuid): Likewise.
645 * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
646 (setfsuid): Likewise.
647 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
648 Likewise.
649 (setfsuid): Likewise.
650 * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
651 (setfsuid): Likewise.
652 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
653 Likewise.
654 (setfsuid): Likewise.
655
3574f2fd
AS
6562014-10-27 Andreas Schwab <schwab@suse.de>
657
658 [BZ #17501]
659 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
660 check for Slow_SSE4_2 feature bit.
661 * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
662 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
663 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
664 Likewise. Fix check for Fast_Unaligned_Load feature bit.
665
70996a37
RM
6662014-10-24 Roland McGrath <roland@hack.frob.com>
667
461a7b1e
RM
668 * configure.ac: Validate compiler version with a empirical test of
669 __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
670 $CC -v output.
671 * configure: Regenerated.
672
70996a37
RM
673 * inet/htons.c (htons): Prototypify.
674 * inet/htonl.c (htonl): Likewise.
675
e80514b5
WD
6762014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
677
678 * string/strncat.c (strncat): Improve performance by using strlen.
679
6e46de42
WD
6802014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
681
682 * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
683
6a9ad2fa
WD
6842014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
685
686 * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
687 Call libc_fetestexcept_aarch64.
688
1c8810ed
WD
6892014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
690
691 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
692 Call libc_feholdexcept_aarch64.
693
8b1af712
WD
6942014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
695
696 * sysdeps/aarch64/fpu/fegetround.c (fegetround):
697 Call get_rounding_mode.
698
a7b00c11
WD
6992014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
700
701 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
702 Simplify logic.
703
3a84f1a6
WD
7042014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
705
706 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
707 Simplify logic.
708
48eb7a94
JM
7092014-10-24 Joseph Myers <joseph@codesourcery.com>
710
c8bc4038
JM
711 [BZ #14138]
712 * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
713 * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
714 * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
715 * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
716 * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
717 * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
718 * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
719 * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
720 * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
721 * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
722 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
723 * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
724 * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
725 * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
726 * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
727 * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
728 * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
729 * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
730 * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
731 * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
732 * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
733 * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
734 * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
735 * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
736 * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
737 * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
738 * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
739 * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
740 * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
741 * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
742 * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
743 * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
744 * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
745 * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
746 * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
747 * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
748 * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
749 * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
750 * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
751 * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
752 * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
753 syscall.
754 (geteuid): Likewise.
755 (getgid): Likewise.
756 (getuid): Likewise.
757 (getresgid): Likewise.
758 (getresuid): Likewise.
759 (getgroups): Likewise.
760 * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
761 (geteuid): Likewise.
762 (getgid): Likewise.
763 (getuid): Likewise.
764 (getresgid): Likewise.
765 (getresuid): Likewise.
766 (getgroups): Likewise.
767 * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
768 (geteuid): Likewise.
769 (getgid): Likewise.
770 (getuid): Likewise.
771 (getresgid): Likewise.
772 (getresuid): Likewise.
773 (getgroups): Likewise.
774 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
775 Likewise.
776 (geteuid): Likewise.
777 (getgid): Likewise.
778 (getuid): Likewise.
779 (getresgid): Likewise.
780 (getresuid): Likewise.
781 (getgroups): Likewise.
782 * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
783 (geteuid): Likewise.
784 (getgid): Likewise.
785 (getuid): Likewise.
786 (getresgid): Likewise.
787 (getresuid): Likewise.
788 (getgroups): Likewise.
789 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
790 Likewise.
791 (geteuid): Likewise.
792 (getgid): Likewise.
793 (getuid): Likewise.
794 (getgroups): Likewise.
795
48eb7a94
JM
796 [BZ #14138]
797 * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
798 * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
799 * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
800 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
801 * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
802 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
803 * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
804 * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
805 * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
806 * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
807 * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
808 * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
809 * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
810 __chown.
811 * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
812 (lchown): Likewise.
813 (fchown): Likewise.
814 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
815 Likewise.
816 (lchown): Likewise.
817 (fchown): Likewise.
818 * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
819 (lchown): Likewise.
820 (fchown): Likewise.
821 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
822 Likewise.
823 (lchown): Likewise.
824 (fchown): Likewise.
825
ea9a7c8b
WD
8262014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
827
828 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
829 Simplify logic.
830
e226de33
WD
8312014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
832
833 * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
834 Cleanup logic.
835
6e3d8ed3
WD
8362014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
837
838 * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
839 Remove unused include.
840
eb04247d
WD
8412014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
842
843 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
844 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
845 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
846 * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
847
13d84554
CD
8482014-10-23 Carlos O'Donell <carlos@systemhalted.org>
849 Helge Deller <deller@gmx.de>
850
851 [BZ #17508]
852 * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
853 Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
854 Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
855
15f9c5df
JM
8562014-10-23 Joseph Myers <joseph@codesourcery.com>
857
858 [BZ #14132]
859 * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
860 Remove macro definition.
861 (__ashrdi3_v_glibc20): Likewise.
862 (__lshrdi3_v_glibc20): Likewise.
863 (__cmpdi2_v_glibc20): Likewise.
864 (__ucmpdi2_v_glibc20): Likewise.
865 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
866 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
867 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
868 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
869 [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
870 [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
871
c6dfed24
RM
8722014-10-22 Roland McGrath <roland@hack.frob.com>
873
874 * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
875 old GNU extension [0] syntax.
876 * nscd/nscd_helper.c (open_socket): Use a flexible array member and
877 alloca rather than an array member with variable length.
878 * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
879 * nscd/nscd.c (invalidate_db): New function, broken out of ...
880 (parse_opt): ... here. Likewise use alloca there.
881 Validate the -i argument before checking for rootness.
882 (send_shutdown): New function, broken out of ...
883 (parse_opt): ... here.
884
8c2b1ed8
RM
8852014-10-22 Roland McGrath <roland@hack.frob.com>
886
887 * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
888 macro to get at the _rt_local_ro field.
889 [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
890 ([PIC] case) or _dl_hwcap ([!PIC] case).
891 * sysdeps/arm/setjmp.S: Likewise.
892
893 * config.h.in (ARM_PCREL_MOVW_OK): New macro.
894 * sysdeps/arm/configure.ac: New check to define it.
895 * sysdeps/arm/configure: Regenerated.
896 * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
897 (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
898 (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
899 depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
900 (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
901 Use move/movt pair instead of a load.
902 (LDST_GLOBAL): Macro removed.
903 (LDR_GLOBAL): New macro replaces it.
904 (LDR_HIDDEN): New macro.
905 (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
906 Use LDR_HIDDEN instead for __pointer_chk_guard_local.
907
908 * setjmp/tst-setjmp-static.c: New file.
909 * setjmp/Makefile (tests): Add it.
910 (tests-static): New variable.
911
b5af9297
MR
9122014-10-22 Maciej W. Rozycki <macro@codesourcery.com>
913
914 [BZ #17485]
915 * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
916
a13d0d74
JM
9172014-10-21 Joseph Myers <joseph@codesourcery.com>
918
919 [BZ #14132]
920 * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
921
f05e73f6
RM
9222014-10-21 Roland McGrath <roland@hack.frob.com>
923
924 * nptl/version.c (__nptl_main): Call __libc_write, not __write.
925
6ab1d1ea
RM
9262014-10-20 Roland McGrath <roland@hack.frob.com>
927
928 * io/fts.c (dirent_not_directory): New function.
929 (fts_build): Call it.
930
ab49e763
RM
9312014-10-20 Roland McGrath <roland@hack.frob.com>
932
e436eb79
RM
933 * nptl/version.c (__nptl_main): Use normal __write rather than
934 INTERNAL_SYSCALL.
935 (banner): Update copyright years.
936
6af246cf
RM
937 * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
938 gettimeofday.
939 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
940 * nptl/pthread_cond_timedwait.c: Likewise.
941 * nptl/pthread_mutex_timedlock.c: Likewise.
942 * nptl/sem_timedwait.c: Likewise.
943
ab49e763
RM
944 * sysdeps/nptl/bits/libc-lock.h
945 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
946 (__libc_lock_init_recursive): Return void, not 0.
947 * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
948 (__libc_rwlock_init): Likewise.
949 * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
950
f50277c1
TR
9512014-10-20 Torvald Riegel <triegel@redhat.com>
952
953 [BZ #15215]
954 * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
955 (__pthread_once_slow): ... here.
956 * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
957 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
958
63668b70
TR
9592014-10-20 Torvald Riegel <triegel@redhat.com>
960
961 [BZ #15215]
962 * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
963 __PTHREAD_ONCE_FORK_GEN_INCR): New.
964 * sysdeps/nptl/fork.c (__libc_fork): Use them.
965 * nptl/pthread_once.c (__pthread_once): Likewise.
966 Update comments.
967
42b7f5d4
JM
9682014-10-20 Joseph Myers <joseph@codesourcery.com>
969
970 [BZ #14138]
971 * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
972 name.
973 (writev): Use __libc_writev as strong name.
974 * sysdeps/unix/sysv/linux/readv.c: Remove file.
975 * sysdeps/unix/sysv/linux/writev.c: Likewise.
976
b0643088
RM
9772014-10-17 Roland McGrath <roland@hack.frob.com>
978
114c4e09
RM
979 * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
980
674b8978
RM
981 * sysdeps/i386/nptl/tls.h
982 (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
983 [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
984 New macros.
985 * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
986 (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
987 * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
988 Call SETUP_THREAD_SYSINFO instead of doing an assignment.
989 * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
990 Call CHECK_THREAD_SYSINFO instead of doing an assert.
991
184ee940
RM
992 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
993 Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
994 on [__NR_futex].
995 * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
996 broken out of ...
997 (__pthread_mutex_init): ... here. Call it.
998 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
999 Conditionalize PI cases on [__NR_futex].
1000 * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
1001 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
1002 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
1003
327ae257
RM
1004 * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
1005 conditional on [SIGSETXID].
1006 (sigcancel_handler): Make definition conditional on [SIGCANCEL].
1007 (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
1008 is defined. Likewise for SIGSETXID.
1009 * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
1010 Conditionalize definitions on [SIGSETXID].
1011 (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
1012 * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
1013 unblocking on [SIGCANCEL].
1014
b0643088
RM
1015 * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
1016 [__NR_set_robust_list].
1017
33cc770b
SP
10182014-10-17 Siddhesh Poyarekar <siddhesh@redhat.com>
1019
1020 * string/strcoll_l.c (get_next_seq): Fix up formatting.
1021 (do_compare): Likewise.
1022
0742aef6
LH
10232014-10-17 Leonhard Holz <leonhard.holz@web.de>
1024
1025 [BZ #15884]
1026 * string/strcoll_l.c: Don't include stdio.h.
1027 (coll_seq): Remove members idxarr and rulearr.
1028 (get_next_seq_cached): Remove function.
1029 (get_next_seq): Likewise.
1030 (get_next_seq_nocache): Rename to get_next_seq.
1031 (do_compare): Remove function.
1032 (do_compare_nocache): Rename to do_compare.
1033 (STRCOLL): Remove weight and rules cache.
1034
ee54ce44
RM
10352014-10-16 Roland McGrath <roland@hack.frob.com>
1036
1037 * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
1038 * sysdeps/arm/sfp-machine.h: ... to here.
1039 * sysdeps/arm/Implies: Remove arm/soft-fp.
1040
a75d3b02
JM
10412014-10-14 Joseph Myers <joseph@codesourcery.com>
1042
1043 * conform/data/sys/utsname.h-data (*_t): Allow.
1044 * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
1045 [POSIX] (WEXITED): Do not expect constant.
1046 [POSIX] (WSTOPPED): Likewise.
1047 [POSIX] (WNOHANG): Likewise.
1048 [POSIX] (WNOWAIT): Likewise.
1049 [POSIX] (siginfo_t): Do not expect type or elements.
1050 [POSIX] (pid_t): Do not expect type.
1051 [POSIX] (signal.h): Do not allow header.
1052 [POSIX] (sys/resource.h): Likewise.
1053 [POSIX] (si_*): Do not allow pattern.
1054 [POSIX] (W*): Likewise.
1055 [POSIX] (P_*): Likewise.
1056 [POSIX] (BUS_*): Likewise.
1057 [POSIX] (CLD_*): Likewise.
1058 [POSIX] (FPE_*): Likewise.
1059 [POSIX] (ILL_*): Likewise.
1060 [POSIX] (POLL_*): Likewise.
1061 [POSIX] (SEGV_*): Likewise.
1062 [POSIX] (SI_*): Likewise.
1063 [POSIX] (TRAP_*): Likewise.
1064 * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
1065 variable.
1066
fda389c8
SP
10672014-10-14 Paul Pluzhnikov <ppluzhnikov@google.com>
1068
1069 [BZ #12926]
1070 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
1071 infinite loop when __recvmsg returns 0.
1072
6bc6bd3b
JM
10732014-10-10 Joseph Myers <joseph@codesourcery.com>
1074
fcb32af1
JM
1075 * CANCEL-FCT-WAIVE: Remove file.
1076 * CANCEL-FILE-WAIVE: Likewise.
1077
6bc6bd3b
JM
1078 [BZ #14132]
1079 * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
1080 instead of INTVARDEF.
1081 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
1082 * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
1083 rtld_hidden_data_def instead of INTVARDEF.
1084 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
1085 * elf/dl-deps.c (expand_dst): Likewise.
1086 * elf/dl-load.c (_dl_dst_count): Likewise.
1087 (_dl_dst_substitute): Likewise.
1088 (decompose_rpath): Likewise.
1089 (_dl_init_paths): Likewise.
1090 (open_path): Likewise.
1091 (_dl_map_object): Likewise.
1092 * elf/rtld.c (dl_main): Likewise.
1093 (process_dl_audit): Likewise.
1094 (process_envvars): Likewise.
1095 * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
1096 Remove declaration.
1097 (__libc_enable_secure): Use rtld_hidden_proto.
1098
b8c80a7e
KS
10992014-10-09 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
1100
1101 * elf/dl-load.c
1102 (add_path): New function broken out of _dl_rtld_di_serinfo.
1103 (_dl_rtld_di_serinfo): Remove that nested function. Update call sites.
1104
ff12c11f
JM
11052014-10-09 Joseph Myers <joseph@codesourcery.com>
1106
5c0508a3
JM
1107 * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
1108 parentheses around macro arguments.
1109 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
1110 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
1111 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
1112 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
1113 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
1114 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
1115 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
1116 [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
1117 [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
1118 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
1119 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
1120 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
1121 [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
1122 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
1123 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
1124 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
1125 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
1126 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
1127 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
1128 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
1129 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
1130 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
1131 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
1132 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
1133 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
1134 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
1135 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
1136 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
1137 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
1138 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
1139 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
1140 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
1141 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
1142 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
1143 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
1144 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
1145 Likewise.
1146 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
1147 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
1148 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
1149 [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
1150 [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
1151 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
1152 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
1153 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
1154 [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
1155 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
1156 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
1157 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
1158 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
1159 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
1160 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
1161 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
1162 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
1163 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
1164 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
1165 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
1166 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
1167 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
1168 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
1169 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
1170 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
1171 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
1172 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
1173 * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
1174 (_FP_FRAC_SRS_1): Likewise.
1175 (_FP_FRAC_CLZ_1): Likewise.
1176 (_FP_MUL_MEAT_1_imm): Likewise.
1177 (_FP_MUL_MEAT_1_wide): Likewise.
1178 (_FP_MUL_MEAT_1_hard): Likewise.
1179 (_FP_SQRT_MEAT_1): Likewise.
1180 (_FP_FRAC_ASSEMBLE_1): Likewise.
1181 (_FP_FRAC_DISASSEMBLE_1): Likewise.
1182 * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
1183 (__FP_CLZ_2): Likewise.
1184 (_FP_MUL_MEAT_2_wide): Likewise.
1185 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
1186 (_FP_MUL_MEAT_2_gmp): Likewise.
1187 (_FP_MUL_MEAT_2_120_240_double): Likewise.
1188 (_FP_SQRT_MEAT_2): Likewise.
1189 (_FP_FRAC_ASSEMBLE_2): Likewise.
1190 (_FP_FRAC_DISASSEMBLE_2): Likewise.
1191 * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
1192 (_FP_FRAC_CLZ_4): Likewise.
1193 (_FP_MUL_MEAT_4_wide): Likewise.
1194 (_FP_MUL_MEAT_4_gmp): Likewise.
1195 (_FP_SQRT_MEAT_4): Likewise.
1196 (_FP_FRAC_ASSEMBLE_4): Likewise.
1197 (_FP_FRAC_DISASSEMBLE_4): Likewise.
1198 * soft-fp/op-common.h (_FP_CMP): Likewise.
1199 (_FP_CMP_EQ): Likewise.
1200 (_FP_CMP_UNORD): Likewise.
1201 (_FP_TO_INT): Likewise.
1202 (_FP_FROM_INT): Likewise.
1203 [!__FP_CLZ] (__FP_CLZ): Likewise.
1204 (_FP_DIV_HELP_imm): Likewise.
1205 * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
1206 Likewise.
1207 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
1208 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
1209 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
1210 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
1211 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
1212 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
1213 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
1214 [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
1215 [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
1216 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
1217 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
1218 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
1219 [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
1220 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
1221 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
1222 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
1223 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
1224 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
1225 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
1226 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
1227 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
1228 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
1229 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
1230 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
1231 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
1232 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
1233 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
1234 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
1235 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
1236 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
1237 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
1238 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
1239 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
1240 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
1241 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
1242 * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
1243 (FP_UNPACK_RAW_SP): Likewise.
1244 (FP_PACK_RAW_S): Likewise.
1245 (FP_PACK_RAW_SP): Likewise.
1246 (FP_UNPACK_S): Likewise.
1247 (FP_UNPACK_SP): Likewise.
1248 (FP_UNPACK_SEMIRAW_S): Likewise.
1249 (FP_UNPACK_SEMIRAW_SP): Likewise.
1250 (FP_PACK_S): Likewise.
1251 (FP_PACK_SP): Likewise.
1252 (FP_PACK_SEMIRAW_S): Likewise.
1253 (FP_PACK_SEMIRAW_SP): Likewise.
1254 (_FP_SQRT_MEAT_S): Likewise.
1255 (FP_CMP_S): Likewise.
1256 (FP_CMP_EQ_S): Likewise.
1257 (FP_CMP_UNORD_S): Likewise.
1258 (FP_TO_INT_S): Likewise.
1259 (FP_FROM_INT_S): Likewise.
1260
a736ec37
JM
1261 * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
1262
ff12c11f
JM
1263 * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
1264 (FP_EX_INVALID_IMZ): Likewise.
1265 (FP_EX_INVALID_IMZ_FMA): Likewise.
1266 (FP_EX_INVALID_ISI): Likewise.
1267 (FP_EX_INVALID_ZDZ): Likewise.
1268 (FP_EX_INVALID_IDI): Likewise.
1269 (FP_EX_INVALID_SQRT): Likewise.
1270 (FP_EX_INVALID_CVI): Likewise.
1271 (FP_EX_INVALID_VC): Likewise.
1272 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
1273 "invalid" exceptions.
1274 (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
1275 (_FP_ADD_INTERNAL): Likewise.
1276 (_FP_MUL): Likewise.
1277 (_FP_FMA): Likewise.
1278 (_FP_DIV): Likewise.
1279 (_FP_CMP_CHECK_NAN): Likewise.
1280 (_FP_SQRT): Likewise.
1281 (_FP_TO_INT): Likewise.
1282 (FP_EXTEND): Likewise.
1283
b6dcfe8c
AM
12842014-10-09 Allan McRae <allan@archlinux.org>
1285
1286 * po/fr.po: Update French translation from translation project.
1287
2d6a47ba
JM
12882014-10-09 Joseph Myers <joseph@codesourcery.com>
1289
cb831245
JM
1290 [BZ #14132]
1291 * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
1292 of INTDEF.
1293 * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
1294 (__cxa_atexit): Use libc_hidden_proto.
1295 [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
1296
5deeb190
JM
1297 [BZ #14132]
1298 * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
1299 declaration.
1300 [!_ISOMAC] (__iswdigit_l_internal): Likewise.
1301 [!_ISOMAC] (__iswspace_l_internal): Likewise.
1302 [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
1303 [!_ISOMAC] (__iswctype_internal): Likewise.
1304 * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
1305 * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
1306 alias.
1307 (fcntl): Remove __fcntl_internal alias.
1308 * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
1309 __connect_internal alias.
1310 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
1311 Likewise.
1312
454ac701
JM
1313 * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
1314 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
1315 FP_DENORM_ZERO.
1316 (_FP_CHECK_FLUSH_ZERO): New macro.
1317 (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
1318 (_FP_CMP): Likewise.
1319 (_FP_CMP_EQ): Likewise.
1320 (_FP_TO_INT): Do not set inexact for subnormal arguments if
1321 FP_DENORM_ZERO.
1322 (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
1323 (FP_TRUNC): Likewise.
1324
0022e688
JM
1325 * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
1326 treated as invalid conversion, not as normal exponent.
1327
73e28d9c
JM
1328 * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
1329 (_FP_CMP): Add extra argument EX. Call _FP_CMP_CHECK_NAN.
1330 (_FP_CMP_EQ): Likewise.
1331 (_FP_CMP_UNORD): Likewise.
1332 * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
1333 (FP_CMP_EQ_D): Likewise.
1334 (FP_CMP_UNORD_D): Likewise.
1335 * soft-fp/extended.h (FP_CMP_E): Likewise.
1336 (FP_CMP_EQ_E): Likewise.
1337 (FP_CMP_UNORD_E): Likewise.
1338 * soft-fp/quad.h (FP_CMP_Q): Likewise.
1339 (FP_CMP_EQ_Q): Likewise.
1340 (FP_CMP_UNORD_Q): Likewise.
1341 * soft-fp/single.h (FP_CMP_S): Likewise.
1342 (FP_CMP_EQ_S): Likewise.
1343 (FP_CMP_UNORD_S): Likewise.
1344 * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
1345 * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
1346 * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
1347 * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
1348 * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
1349 * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
1350 * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
1351 * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
1352 * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
1353 * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
1354 * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
1355 * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
1356 * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
1357 to FP_CMP_Q.
1358 * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
1359 FP_CMP_Q.
1360 * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
1361 * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
1362 FP_CMP_EQ_Q.
1363 * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
1364 FP_CMP_Q.
1365 * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
1366 * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
1367 * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
1368 * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
1369 FP_CMP_EQ_Q.
1370 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
1371 FP_CMP_Q.
1372 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
1373 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
1374 FP_CMP_EQ_Q.
1375 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
1376 FP_CMP_Q.
1377 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
1378 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
1379 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
1380 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
1381 FP_CMP_EQ_Q.
1382
43059f42
JM
1383 * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
1384 a subnormal result, set the underflow exception if trapping on
1385 underflow is enabled.
1386 * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
1387 (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
1388 [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
1389 redefine to 0.
1390 * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
1391 * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
1392 * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
1393 * soft-fp/extendxftf2.c (__extendxftf2): Use
1394 FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
1395
2d6a47ba
JM
1396 * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
1397 * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
1398 (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
1399 FP_HANDLE_EXCEPTIONS.
1400 * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
1401 (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
1402 FP_HANDLE_EXCEPTIONS.
1403 * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
1404 (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
1405 FP_HANDLE_EXCEPTIONS.
1406 * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
1407 (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
1408 FP_HANDLE_EXCEPTIONS.
1409
620f462e
JM
14102014-10-08 Joseph Myers <joseph@codesourcery.com>
1411
1412 [BZ #14132]
1413 * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
1414 * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
1415 use INTUSE.
1416 [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
1417 * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
1418 Remove alias.
1419 (__adjtimex): Define using libc_hidden_ver.
1420 * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
1421 Remove declaration.
1422 (ntp_gettime): Call __adjtimex directly.
1423 * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
1424 Remove declaration.
1425 (ntp_gettimex): Call __adjtimex directly.
1426 * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
1427 __adjtimex_internal alias.
1428
c763c5d2
RM
14292014-10-08 Roland McGrath <roland@hack.frob.com>
1430
1431 [BZ #17460]
1432 * nscd/nscd.c (more_help): Rewrite list of tables collection
1433 using xstrdup and asprintf.
1434
1435 * nscd/nscd_conf.c: Remove local xstrdup declaration.
1436
7b8fb2b8
RM
14372014-10-08 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
1438 Roland McGrath <roland@hack.frob.com>
1439
1440 * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
1441 (do_lookup_unique): ... local function 'enter' here; update callers.
1442
abb280f7
JM
14432014-10-06 Joseph Myers <joseph@codesourcery.com>
1444
f7b42517
JM
1445 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
1446 compat_symbol calls on [SHARED].
1447 * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
1448 * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
1449 Remove.
1450 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
1451 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
1452 (oldsetrlimit): Remove.
1453 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
1454 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
1455 (lchown): New syscall entry.
1456 (oldsetrlimit): Remove.
1457 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
1458 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
1459 (oldsetrlimit): Remove.
1460 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
1461
abb280f7
JM
1462 [BZ #14138]
1463 * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
1464 * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
1465 * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
1466 * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
1467 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
1468 * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
1469 (fchown): Likewise.
1470 * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
1471 (fchown): Likewise.
1472 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
1473 Likewise.
1474
47d46237
AZ
14752014-10-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1476
1477 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
1478 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
1479 (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
1480 __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
1481 * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
1482 Likewise.
1483 (__old_sem_post): Likewise.
1484
14852014-10-06 Chris Metcalf <cmetcalf@tilera.com>
1c4c1a6f 1486
845a7343
CM
1487 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
1488 INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
1489 HAVE_CLOCK_GETTIME_VSYSCALL macros.
1490 * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
1491 Use INLINE_VSYSCALL macro.
1492 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
1493 __vdso_clock_gettime.
1494 * sysdeps/unix/sysv/linux/tile/init-first.c
1495 (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
1496 * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
1497 __vdso_clock_gettime.
1498
83d641ef
CM
1499 * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
1500 to set up frame more cleanly.
1501
d9cd52e6
CM
1502 * sysdeps/tile/memcmp.c: New file.
1503
4b68ea11
CM
1504 * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
1505
c86f7b80
CM
1506 * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
1507 * sysdeps/tile/tilegx/strcasestr.c: New file.
1508 * sysdeps/tile/tilegx/strnlen.c: New file.
1509 * sysdeps/tile/tilegx/strstr.c: New file.
1510
1c4c1a6f
CM
1511 * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
1512
99d86ea3
AS
15132014-10-06 Arjun Shankar <arjun.is@lostca.se>
1514
1515 * nptl/tst-setuid3.c: Write errors to stdout.
1516
06210a44
KS
15172014-10-01 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
1518
1519 * elf/dl-deps.c
1520 (preload): New functions broken out of _dl_map_object_deps.
1521 (_dl_map_object_deps): Remove a nested function. Update call sites.
1522
6268f532
JM
15232014-10-01 Joseph Myers <joseph@codesourcery.com>
1524
1525 [BZ #14138]
1526 * sysdeps/unix/sysv/linux/execve.c: Remove file.
1527 * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
1528
b925285f
SE
15292014-10-01 Steve Ellcey <sellcey@mips.com>
1530
1531 * sysdeps/mips/strcmp.S: New.
1532
754a15c6
JM
15332014-09-30 Joseph Myers <joseph@codesourcery.com>
1534
1535 [BZ #14138]
1536 * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
1537 (linkat): Likewise.
1538 (mkdirat): Likewise.
1539 (readlinkat): Likewise.
1540 (renameat): Likewise.
1541 (symlinkat): Likewise.
1542 (unlinkat): Likewise.
1543 * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
1544 * sysdeps/unix/sysv/linux/linkat.c: Likewise.
1545 * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
1546 * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
1547 * sysdeps/unix/sysv/linux/renameat.c: Likewise.
1548 * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
1549 * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
1550
85bb81c9
WN
15512014-09-30 Will Newton <will.newton@linaro.org>
1552
dc6fe23b
WN
1553 * math/math.h: Define long double math functions if
1554 _LIBC_TEST is defined.
1555 * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
1556
85bb81c9
WN
1557 * localedata/Makefile: Move assignment to tests-special
1558 into an ifdef testing run-built-tests.
1559 * timezone/Makefile: Likewise.
1560
b7e02da4
JM
15612014-09-29 Joseph Myers <joseph@codesourcery.com>
1562
1563 * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
1564 with $(BASH) not $(SHELL).
1565
62058ce6
CD
15662014-09-29 Carlos O'Donell <carlos@redhat.com>
1567 Matthew LeGendre <legendre1@llnl.gov>
1568
1569 [BZ #17411]
1570 * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
1571 l_reloc_result.
1572
8e257a29
KS
15732014-09-29 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
1574
1575 * stdio-common/printf_fp.c
1576 (hack_digit): New function, broken out of ...
1577 (__printf_fp): ... local function here. Update call sites.
1578 hack_digit now takes an additional parameter that is a pointer
1579 to a struct of the referenced locals. Those locals moved inside
1580 the struct and references updated.
1581
f4a58f0d
L
15822014-09-29 H.J. Lu <hongjiu.lu@intel.com>
1583
1584 * aclocal.m4: Require autoconf 2.69.
1585 * configure: Regenerated.
1586 * sysdeps/aarch64/configure: Likewise.
1587 * sysdeps/alpha/configure: Likewise.
1588 * sysdeps/arm/armv7/configure: Likewise.
1589 * sysdeps/arm/configure: Likewise.
1590 * sysdeps/ia64/configure: Likewise.
1591 * sysdeps/mach/configure: Likewise.
1592 * sysdeps/mips/configure: Likewise.
1593 * sysdeps/s390/configure: Likewise.
1594 * sysdeps/unix/sysv/linux/mips/configure: Likewise.
1595 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
1596
1597 * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
1598 file.
1599 * sysdeps/ia64/configure.ac: Likewise.
1600
93ae1eba
JM
16012014-09-26 Joseph Myers <joseph@codesourcery.com>
1602
1810d3ab
JM
1603 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
1604 specify symbol version for ld.so. Do not include entry for
1605 libpthread.
1606 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
1607 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
1608 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
1609
93ae1eba
JM
1610 [BZ #14171]
1611 * Makeconfig [$(build-shared) = yes]
1612 ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
1613 makefiles.
1614 [$(build-shared) = yes && $(soversions.mk-done) = t]
1615 ($(common-objpfx)gnu/lib-names.h): Remove rule.
1616 [$(build-shared) = yes && $(soversions.mk-done) = t]
1617 ($(common-objpfx)gnu/lib-names.stmp): Likewise. Split and moved
1618 to Makerules.
1619 [$(build-shared) = yes && $(soversions.mk-done) = t]
1620 (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
1621 here.
1622 [$(build-shared) = yes && $(soversions.mk-done) = t]
1623 (common-generated): Don't append gnu/lib-names.h and
1624 gnu/lib-names.stmp here.
1625 * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
1626 (lib-names-h-abi): New variable.
1627 [$(build-shared) = yes && $(soversions.mk-done) = t]
1628 (lib-names-stmp-abi): Likewise.
1629 [$(build-shared) = yes && $(soversions.mk-done) = t &&
1630 abi-variants] (before-compile): Append
1631 $(common-objpfx)$(lib-names-h-abi).
1632 [$(build-shared) = yes && $(soversions.mk-done) = t &&
1633 abi-variants] (common-generated): Append gnu/lib-names.h.
1634 [$(build-shared) = yes && $(soversions.mk-done) = t &&
1635 abi-variants] (install-others-nosubdir): Depend on
1636 $(inst_includedir)/$(lib-names-h-abi).
1637 [$(build-shared) = yes && $(soversions.mk-done) = t &&
1638 abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
1639 [$(build-shared) = yes && $(soversions.mk-done) = t]
1640 ($(common-objpfx)$(lib-names-h-abi)): New rule.
1641 [$(build-shared) = yes && $(soversions.mk-done) = t]
1642 ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
1643 [$(build-shared) = yes && $(soversions.mk-done) = t]
1644 (common-generated): Append $(lib-names-h-abi) and
1645 $(lib-names-stmp-abi).
1646 * scripts/lib-names.awk: Do not handle multi being set.
1647 * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
1648 Remove variable.
1649 (abi-lp64_be-ld-soname): Likewise.
1650 * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
1651 Likewise.
1652 (abi-hard-ld-soname): Likewise.
1653 * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
1654 * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
1655 Remove variable.
1656 (abi-o32_hard-ld-soname): Likewise.
1657 (abi-o32_soft_2008-ld-soname): Likewise.
1658 (abi-o32_hard_2008-ld-soname): Likewise.
1659 (abi-n32_soft-ld-soname): Likewise.
1660 (abi-n32_hard-ld-soname): Likewise.
1661 (abi-n32_soft_2008-ld-soname): Likewise.
1662 (abi-n32_hard_2008-ld-soname): Likewise.
1663 (abi-n64_soft-ld-soname): Likewise.
1664 (abi-n64_hard-ld-soname): Likewise.
1665 (abi-n64_soft_2008-ld-soname): Likewise.
1666 (abi-n64_hard_2008-ld-soname): Likewise.
1667 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
1668 Likewise.
1669 (abi-64-v2-ld-soname): Likewise.
1670 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
1671 ld.so entries.
1672 * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
1673 variable.
1674 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
1675 entry.
1676 * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
1677 variable.
1678 (abi-64-ld-soname): Likewise.
1679 (abi-x32-ld-soname): Likewise.
1680 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
1681 entry.
1682 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
1683
68870f12
JM
16842014-09-23 Joseph Myers <joseph@codesourcery.com>
1685
1686 [BZ #14138]
1687 * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
1688 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
1689 * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
1690 * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
1691 * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
1692 * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
1693 * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
1694 syscall entry for GLIBC_2.2 symbol version.
1695 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
1696 Likewise.
1697 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
1698 (setrlimit): Likewise.
1699 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
1700 Likewise.
1701
ea58f202
WN
17022014-09-23 Will Newton <will.newton@linaro.org>
1703
1704 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
1705 _LINUX_ARM_SYSDEP_H include guard too.
1706 * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
1707 define.
1708
69eb9a18
RV
17092014-09-20 Rasmus Villemoes <rv@rasmusvillemoes.dk>
1710
1711 * sysdeps/unix/sysv/linux/eventfd.c:
1712 Make first argument unsigned.
1713 * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
1714 * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
1715
20e5a5f7
OB
17162014-09-20 Ondřej Bílka <neleai@seznam.cz>
1717
1718 * socket/recvmmsg.c (recvmmsg): Drop const argument.
1719 * socket/sys/socket.h: Likewise
1720 * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
1721
d3c827e7
AK
17222014-09-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1723
1724 * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
1725
fe1cc35a
AS
17262014-09-17 Arjun Shankar <arjun.is@lostca.se>
1727
1728 * time/tst-ftime.c: New test.
1729 * time/Makefile (tests): Add tst-ftime.
1730
4e8afe69
JM
17312014-09-17 Joseph Myers <joseph@codesourcery.com>
1732
c4fe3ea7
JM
1733 * soft-fp/extended.h: Fix comment formatting.
1734 * soft-fp/op-1.h: Likewise.
1735 * soft-fp/op-2.h: Likewise.
1736 * soft-fp/op-4.h: Likewise.
1737 * soft-fp/op-8.h: Likewise.
1738 * soft-fp/op-common.h: Likewise.
1739 * soft-fp/soft-fp.h: Likewise.
1740
4e8afe69
JM
1741 * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
1742
af296fcd
JM
17432014-09-16 Joseph Myers <joseph@codesourcery.com>
1744
1745 [BZ #6652]
1746 * Makeconfig (soversions-default-setname): Remove variable.
1747 ($(common-objpfx)soversions.i): Don't pass default_setname to
1748 soversions.awk.
1749 * Makerules ($(common-objpfx)abi-versions.h): Don't pass
1750 oldest_abi to abi-versions.awk.
1751 * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
1752 * config.make.in (oldest-abi): Remove variable.
1753 * configure.ac (--enable-oldest-abi): Remove configure option.
1754 * configure: Regenerated.
1755 * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
1756 text.
1757 * scripts/abi-versions.awk: Do not handle oldest_abi variable.
1758 * scripts/soversions.awk: Do not handle default_setname variable.
1759 * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
1760 variable.
1761 * sysdeps/mach/hurd/configure: Regenerated.
1762 * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
1763 variable.
1764 * sysdeps/unix/sysv/linux/configure: Regenerated.
1765
545583d6
SP
17662014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
1767
d330b980
SP
1768 * elf/Makefile (CFLAGS-interp.c): Remove.
1769 ($(elf-objpfx)runtime-linker.h): Generate header with linker
1770 path string.
1771 * elf/interp.c: Include generated runtime-linker.h
1772
02657da2
SP
1773 * Makerules (lib%.so): Don't include $(+interp) in
1774 prerequisites.
1775 * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
1776 * dlfcn/eval.c: Remove file.
1777
653b1080
SP
1778 * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
1779 macros.
1780
602f80ec
SP
1781 [BZ #17266]
1782 * misc/sys/cdefs.h: Define __extern_always_inline for clang
1783 4.2 and newer.
1784
545583d6
SP
1785 [BZ #17370]
1786 * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
1787
884ddc50
SP
17882014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
1789 Jakub Jelinek <jakub@redhat.com>
1790
1791 [BZ #17266]
1792 * libio/stdio.h: Check definition of __fortify_function
1793 instead of __extern_always_inline to include bits/stdio2.h.
1794 * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
1795 check if __extern_always_inline is defined.
1796 [__USE_MISC || __USE_XOPEN]: Likewise.
1797 [__USE_ISOC99] Likewise.
1798 * misc/sys/cdefs.h (__fortify_function): Define only if
1799 __extern_always_inline is defined.
1800 [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
1801 __extern_always_inline and __extern_inline only for g++-4.3
1802 and newer or a compatible gcc.
1803
a7b87268
AS
18042014-09-15 Andreas Schwab <schwab@linux-m68k.org>
1805
1806 [BZ #17371]
1807 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
1808 last change to handle zero prefix length.
1809
3f41521d
SP
18102014-09-15 Siddhesh Poyarekar <siddhesh@redhat.com>
1811
61fe374a
SP
1812 * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
1813 _SC_REGEX_VERSION.
1814
3f41521d
SP
1815 * posix/getconf.c (vars): Add _POSIX_IPV6 and
1816 _POSIX_RAW_SOCKETS.
1817
d8f879ee
AM
18182014-09-13 Allan McRae <allan@archlinux.org>
1819
1820 * po/ru.po: Update Russian translation from translation project.
1821
c079afb7
RM
18222014-09-12 Roland McGrath <roland@hack.frob.com>
1823
a62b3c15
RM
1824 * locale/programs/locale.c (show_locale_vars): Inline local function
1825 into its sole call site. Clean up some style nits.
1826 (print_item): New function, broken out of ...
1827 (show_info): ... local function here. Clean up style nits.
1828
d7e49b19
RM
1829 * locale/programs/ld-ctype.c (set_one_default): New function, broken
1830 out of ...
1831 (set_class_defaults): ... local function set_default here.
1832 Define set_default as a macro locally to pass constant parameters.
1833 (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
1834 rather than a shared local.
1835
c079afb7
RM
1836 * stdlib/rpmatch.c (try): New function, broken out of ...
1837 (rpmatch): ... local function here. Also, prototypify definition.
1838
0bd72468
JM
18392014-09-12 Joseph Myers <joseph@codesourcery.com>
1840
ba90e050
JM
1841 * scripts/soversions.awk: Do not handle configuration names.
1842 * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
1843 vendor and os variables to soversions.awk.
1844 * configure.ac: Do not modify gnu-* host_os.
1845 * configure: Regenerated
1846 * shlib-versions: Remove first column with configuration names.
1847 * nptl/shlib-versions: Likewise.
1848 * nptl_db/shlib-versions: Likewise.
1849 * sysdeps/hppa/shlib-versions: Likewise.
1850 * sysdeps/m68k/shlib-versions: Likewise.
1851 * sysdeps/mach/hurd/shlib-versions: Likewise.
1852 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
1853 * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
1854 * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
1855 * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
1856 * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
1857 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
1858 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
1859 * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
1860 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
1861 Likewise.
1862 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
1863 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
1864 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
1865 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
1866 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
1867 * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
1868 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
1869 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
1870
73a39112
JM
1871 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
1872 (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
1873 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
1874 Regenerated.
1875 * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
1876 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
1877 Condition symbol version definitions on [HAVE_ELFV2_ABI].
1878
c729e7c1
JM
1879 * shlib-versions: Remove OS-specific entries. Moved to files in
1880 sysdeps.
1881 * sysdeps/mach/hurd/shlib-versions: New file.
1882 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
1883
dc932a24
JM
1884 * nptl/shlib-versions: Remove architecture-specific entries.
1885 Moved to files in sysdeps.
1886 * shlib-versions: Likewise.
1887 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
1888 file.
1889 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
1890 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
1891 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
1892 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
1893
0bd72468
JM
1894 * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
1895 (UDP_NO_CHECK6_RX): Likewise.
1896
920238e0
SP
18972014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
1898
1899 * sysdeps/posix/sysconf.c (__sysconf): Spell
1900 _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
1901
ba7b4d29
FW
19022014-08-12 Florian Weimer <fweimer@redhat.com>
1903
1904 * iconv/gconv_open.c (__gconv_open): Remove transliteration module
1905 loading.
1906 * iconv/Versions (__gconv_transliterate): Export for use from
1907 gconv modules.
1908 * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
1909 (struct __gconv_trans_data, __gconv_trans_fct,
1910 __gconv_trans_context_fct, __gconv_trans_query_fct,
1911 __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
1912 definitions.
1913 (struct __gconv_step_data): Remove __trans member.
1914 (__gconv_transliterate): Declaration moved from gconv_int.h. No
1915 longer hidden. Remove unused trans_data argument.
1916 * iconv/gconv_int.h (struct trans_struct): Remove definition.
1917 (__gconv_translit_find): Remove declaration.
1918 (__gconv_transliterate): Declaration moved to gconv.h. Add hidden
1919 prototype.
1920 * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
1921 * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
1922 trans_data argument. Add hidden definition.
1923 (__gconv_translit_find): Remove.
1924 * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
1925 __gconv_transliterate directly if __GCONV_TRANSLIT is set.
1926 * iconv/skeleton.c: Remove transliteration initialization.
1927 * libio/fileops.c (_IO_new_file_fopen): Adjust struct
1928 __gconv_step_data initialization.
1929 * libio/iofwide.c (__libio_translit_): Remove.
1930 (_IO_fwide): Adjust struct __gconv_step_data initialization.
1931 * wcsmbs/btowc.c (__btowc): Likewise.
1932 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
1933 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
1934 * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
1935 * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
1936 * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
1937 * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
1938 * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
1939 * wcsmbs/wctob.c (wctob): Likewise.
1940
5379aebd
SP
19412014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
1942
1943 [BZ #16194]
1944 * sysdeps/x86/tst-xmmymm.sh: Rename file to...
1945 * sysdeps/x86/tst-ld-sse-use.sh: ... this. Check for zmm
1946 register usage.
1947 * sysdeps/x86/Makefile: Adjust.
1948
8c0ab919
RM
19492014-09-11 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
1950 Roland McGrath <roland@hack.frob.com>
1951
1952 * locale/weight.h: Add include guard.
1953 (findidx): Make static rather than auto; take new parameters
1954 TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
1955 * locale/weightwc.h: Likewise.
1956 * posix/fnmatch_loop.c
1957 (FCT): Change type of EXTRA from int32_t to wint_t.
1958 Don't include either header inside the function.
1959 Call FINDIDX rather than findidx, and pass new arguments.
1960 #undef FINDIDX at the end of the file.
1961 * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
1962 FINDIDX before including fnmatch_loop.c for the non-wide version.
1963 [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
1964 #include <locale/weightwc.h>, and define FINDIDX to findidxwc
1965 for the wide version.
1966 * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
1967 (build_equiv_class) [_LIBC]: Don't #include it inside the function.
1968 Pass new arguments to findidx.
1969 * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
1970 [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
1971 Don't #include it inside the function. Pass new arguments to findidx.
1972 * posix/regex_internal.h
1973 [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
1974 (re_string_elem_size_at): Don't #include it inside the function.
1975 Pass new arguments to findidx.
1976 * string/strcoll_l.c: #include WEIGHT_H at top level.
1977 (get_next_seq): Don't #include it inside the function.
1978 Pass new arguments to findidx.
1979 (get_next_seq_nocache): Likewise.
1980 * string/strxfrm_l.c: #include WEIGHT_H at top level.
1981 (STRXFRM): Don't #include it inside the function.
1982 Pass new arguments to findidx.
1983
52ffbdf2
FW
19842014-09-11 Florian Weimer <fweimer@redhat.com>
1985
1986 [BZ #17344]
1987 * malloc/malloc.c (unlink): Turn asserts into a call to
1988 malloc_printerr.
1989
984c0ea9
TL
19902014-09-11 Tim Lammens <tim.lammens@gmail.com>
1991
1992 [BZ #17370]
1993 * libio/wfileops (do_ftell_wide): Free OUT.
1994
3daee107
CM
19952014-09-10 Chris Metcalf <cmetcalf@tilera.com>
1996
1997 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
1998
58b930ae
SP
19992014-09-10 Siddhesh Poyarekar <siddhesh@redhat.com>
2000
2001 [BZ #17363]
2002 * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
2003 group if the current group is empty.
2004
3b473fec
AZ
20052014-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2006
71ae8647
AZ
2007 * benchtests/bench-memset.c (test_main): Add more test from size
2008 from 32 to 512 bytes.
2009 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
2010 Add POWER8 memset object.
2011 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2012 (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
2013 * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
2014 implementation.
2015 * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
2016 Likewise.
2017 * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
2018 multiarch POWER8 memset optimization.
2019 * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
2020 POWER8 memset optimization.
2021
3b473fec
AZ
2022 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
2023 Remove bzero multiarch objects.
2024 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
2025 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
2026 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
2027 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
2028 Remove define.
2029 [__bzero]: Redefine to specific name.
2030 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
2031 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
2032 * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
2033 define.
2034 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
2035 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
2036
e6fb9587
FW
20372014-09-10 Florian Weimer <fweimer@redhat.com>
2038
2039 * Makeconfig (gccwarn-c): Turn implicit-function-declaration
2040 warnings into errors.
2041
2042 * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
2043 __cxa_thread_atexit_impl prototype.
2044
9d3a350b
SE
20452014-09-09 Steve Ellcey <sellcey@mips.com>
2046
2047 * sysdeps/mips/preconfigure: Put code inside mips* case statement.
2048 Fix capitalization of error message.
2049
0febba23
SE
20502014-09-09 Steve Ellcey <sellcey@mips.com>
2051
2052 * sysdeps/mips/preconfigure: Modify ABI tests.
2053
645a0e9c
CD
20542014-09-07 Carlos O'Donell <carlos@systemhalted.org>
2055
2056 * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
2057
d83f0734
CD
20582014-09-07 Roland McGrath <roland@hack.frob.com>
2059 Carlos O'Donell <carlos@systemhalted.org>
2060
2061 * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
2062 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
2063 * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
2064 * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
2065 * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
2066 * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
2067 * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
2068 * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
2069 * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
2070 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
2071 * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
2072 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
2073 * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
2074 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
2075 * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
2076 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
2077 * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
2078 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
2079 * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
2080 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
2081 * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
2082 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
2083 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
2084 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
2085 * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
2086 * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
2087 * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
2088 * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
2089 Deconditionalize the code that was previously under [RESET_PID].
2090 * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
2091 * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
2092 * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
2093 * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
2094 include sysdep.h.
2095
21c83793
AM
20962014-09-08 Allan McRae <allan@archlinux.org>
2097
2098 * version.h (RELEASE): Set to "development".
2099 (VERSION): Set to "2.20.90"
2100
1cd9b65c
AM
21012014-09-07 Allan McRae <allan@archlinux.org
2102
b8079dd0
AM
2103 * version.h (RELEASE): Set to "stable".
2104 (VERSION): Set to "2.20"
2105 * include/features.h (__GLIBC_MINOR__): Set to 20.
2106
c46303ef
AM
2107 * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
2108 Liebler.
2109
1cd9b65c
AM
2110 * po/ko.po: Update Korean translation from translation project.
2111
8622092d
CM
21122014-09-06 Chris Metcalf <cmetcalf@tilera.com>
2113
2114 [BZ #17354]
2115 * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
2116 macro for handling signed relocations.
2117
41488498
FW
21182014-09-03 Florian Weimer <fweimer@redhat.com>
2119
2120 [BZ #17325]
2121 * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
2122 * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
2123 assert.
2124 * iconvdata/ibm933.c (BODY): Fix check for sentinel.
2125 * iconvdata/ibm935.c (BODY): Likewise.
2126 * iconvdata/ibm937.c (BODY): Likewise.
2127 * iconvdata/ibm939.c (BODY): Likewise.
2128 * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
2129 assert.
2130 * iconvdata/Makefile (iconv-test.out): Pass module list to test
2131 script.
2132 * iconvdata/run-iconv-test.sh: New test loop for checking for
2133 decoder crashers.
2134
a78b712d
KR
21352014-09-02 Khem Raj <raj.khem@gmail.com>
2136
2137 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
2138 libm_hidden_ver.
2139
cb08abc6
AM
21402014-09-01 Allan McRae <allan@archlinux.org>
2141
2c31e102
AM
2142 * po/eo.po: Update Esperanto translation from translation project.
2143
cb08abc6
AM
2144 * po/ca.po: Update Catalan translation from translation project.
2145
17a62de1
ST
21462014-08-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
2147
2148 * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
2149 __proc_dostop call.
2150
9570bc53
MW
21512014-08-27 Mark Wielaard <mjw@redhat.com>
2152
2153 [BZ #17319]
2154 * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
2155 to call set_thread_area instead of hand written asm.
2156 (__NR_set_thread_area): Removed define.
2157 (TLS_FLAG_WRITABLE): Likewise.
2158 (__ASSUME_SET_THREAD_AREA): Remove check.
2159 (TLS_EBX_ARG): Remove define.
2160 (TLS_LOAD_EBX): Likewise.
2161
b0f955c9
ST
21622014-08-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
2163
2164 Simplify atomicity of socket creation in bind.
2165
2166 * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
2167 looking up the name after linking the file.
2168
529bf515
AM
21692014-08-27 Allan McRae <allan@archlinux.org>
2170
2171 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
2172
a1a6a401
FW
21732014-08-26 Florian Weimer <fweimer@redhat.com>
2174
2175 [BZ #17187]
2176 * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
2177 trans_compare, open_translit, __gconv_translit_find):
2178 Remove module loading code.
2179
686ab290
AM
21802014-08-26 Allan McRae <allan@archlinux.org>
2181
e4e7cfd2
AM
2182 * po/vi.po: Update Vietnamese translation from translation project.
2183
6aa09f71
AM
2184 * po/uk.po: Update Ukrainian translation from translation project.
2185
edc0660e
AM
2186 * po/fr.po: Update French translation from translation project.
2187
7eea72ac
AM
2188 * po/ru.po: Update Russian translation from translation project.
2189
93c49eff
AM
2190 * po/pl.po: Update Polish translation from translation project.
2191
46acaf63
AM
2192 * po/cs.po: Update Czech translation from translation project.
2193
a9f5ce98
AM
2194 * po/de.po: Update German translation from translation project.
2195
373f2b78
AM
2196 * po/bg.po: Update Bulgarian translation from translation project.
2197
e7548bd8
AM
2198 * po/sv.po: Update Sweedish translation from translation project.
2199
c526bf4d
AM
2200 * po/nl.po: Update Dutch translation from translation project.
2201
686ab290
AM
2202 * po/es.po: Update Spanish translation from translation project.
2203
eb72478a
SP
22042014-08-21 Siddhesh Poyarekar <siddhesh@redhat.com>
2205
dd763fdb
SP
2206 * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
2207
318c7a58
SP
2208 * catgets/Makefile (CPPFLAGS-gencat): Remove.
2209 * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
2210 (CPPFLAGS-iconvconfig): Likewise.
2211 * timezone/Makefile (CPPFLAGS-zic): Likewise.
2212
eb72478a
SP
2213 * include/libc-symbols.h: Remove unnecessary check for
2214 NOT_IN_libc.
2215 * nptl/pthreadP.h: Likewise.
2216 * sysdeps/aarch64/setjmp.S: Likewise.
2217 * sysdeps/alpha/setjmp.S: Likewise.
2218 * sysdeps/arm/sysdep.h: Likewise.
2219 * sysdeps/i386/setjmp.S: Likewise.
2220 * sysdeps/m68k/setjmp.c: Likewise.
2221 * sysdeps/posix/getcwd.c: Likewise.
2222 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
2223 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
2224 * sysdeps/s390/s390-32/setjmp.S: Likewise.
2225 * sysdeps/s390/s390-64/setjmp.S: Likewise.
2226 * sysdeps/sh/sh3/setjmp.S: Likewise.
2227 * sysdeps/sh/sh4/setjmp.S: Likewise.
2228 * sysdeps/unix/alpha/sysdep.h: Likewise.
2229 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
2230 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
2231 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
2232 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
2233 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
2234 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
2235 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
2236 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
2237 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
2238 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
2239 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
2240 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
2241 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
2242 * sysdeps/x86_64/setjmp.S: Likewise.
2243
d44a052c
JM
22442014-08-13 Joseph Myers <joseph@codesourcery.com>
2245
2246 [BZ #17263]
2247 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
2248 <stdint.h>.
2249 (__get_clockfreq): Use uint64_t instead of hp_timing_t in
2250 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
2251
508ce3ac
SP
22522014-08-13 Siddhesh Poyarekar <siddhesh@redhat.com>
2253
e44c8b0e
SP
2254 * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
2255
508ce3ac
SP
2256 [BZ #17262]
2257 * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
2258 and __x86_64__ when disabling x87 inline functions.
2259
b4acef1f
L
22602014-08-12 H.J. Lu <hongjiu.lu@intel.com>
2261
2262 [BZ #17259]
2263 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
2264 asm statement with __cpuid_count.
2265
61b1ef6e
MF
22662014-08-12 Mike Frysinger <vapier@gentoo.org>
2267
2268 * configure.ac: Change __ehdr_start code to dereference the struct.
2269 Run readelf on the output to look for relocations.
2270 * configure: Regenerated.
2271
898c62f4
JM
22722014-08-12 Joseph Myers <joseph@codesourcery.com>
2273
2274 [BZ #17261]
2275 * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
2276 value to 0.
2277 (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
2278
9a8a5720
RM
22792014-08-12 Roland McGrath <roland@hack.frob.com>
2280
2281 * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
2282
4e75751c
BO
22832014-08-12 Bernard Ogden <bernie.ogden@linaro.org>
2284
2285 [BZ #16892]
2286 * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
2287 atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
2288
bb2ce416
SA
22892014-08-12 Sean Anderson <seanga2@gmail.com>
2290
2291 * malloc/malloc.c: Fix typo in comment.
2292
7950a4ee
AM
22932014-08-09 Allan McRae <allan@archlinux.org>
2294
2295 * Regenerate libc.po.
2296
f469c49f
MF
22972014-08-08 Mike Frysinger <vapier@gentoo.org>
2298
2299 * intl/tst-gettext2.sh: Check every lang file for creation.
2300
656b84c2
WD
23012014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
2302
2303 * sysdeps/aarch64/fpu/math_private.h
2304 (libc_feholdsetround_noex_aarch64_ctx): New function.
2305
538e9e45
W
23062014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
2307
2308 * sysdeps/arm/armv6/strcpy.S (strcpy):
2309 Fix performance issue in misaligned cases.
2310
d4795e4a
AZ
23112014-08-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2312
2313 * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
2314 Move definition from termios.h.
2315 (struct termio): Likewise.
2316 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
2317 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
2318 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
2319 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
2320 Likewise.
2321 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
2322 Move definition to ioctl-types.h
2323 (struct termio): Likewise.
2324 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
2325 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
2326 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
2327 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
2328 Likewise.
2329
64accb62
RH
23302014-08-05 Richard Henderson <rth@redhat.com>
2331
27bb6dc0
RH
2332 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
2333 exceptions.
2334 * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
2335 Add fraiseexcpt.
2336 * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
2337 Use __feraiseexcept.
2338 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
2339 Protect libm symbols with IS_IN_libm.
2340
64accb62
RH
2341 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
2342
e5292691
BO
23432014-08-04 Bernard Ogden <bernie.ogden@linaro.org>
2344
2345 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
2346
5b4bd2d4
WN
23472014-08-04 Will Newton <will.newton@linaro.org>
2348
2349 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
2350 file.
2351
fcadaeef
MF
23522014-08-04 Mike Frysinger <vapier@gentoo.org>
2353
2354 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
2355 variants for each function.
2356
43a94c64
RM
23572014-08-04 Roland McGrath <roland@hack.frob.com>
2358
2359 * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
2360 appended ...
2361 * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
2362 * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
2363 appended ...
2364 * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
2365 * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
2366 * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
2367 * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
2368 * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
2369 * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
2370 * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
2371 * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
2372 * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
2373 * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
2374 * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
2375 * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
2376 * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
2377 * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
2378 * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
2379 * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
2380 * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
2381 * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
2382 * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
2383 * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
2384 * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
2385 * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
2386 * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
2387 * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
2388 * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
2389 * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
2390 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
2391 * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
2392 * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
2393 * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
2394 * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
2395 * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
2396 * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
2397 * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
2398 * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
2399 * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
2400 * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
2401 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
2402 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
2403 * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
2404 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
2405 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
2406 * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
2407 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
2408 * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
2409 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
2410 * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
2411 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
2412 * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
2413 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
2414 * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
2415 * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
2416 * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
2417 Update #include.
2418 * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
2419 * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
2420
8f3c1fa4
RM
24212014-08-04 Roland McGrath <roland@hack.frob.com>
2422
2423 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
2424 * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
2425 * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
2426 * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
2427 * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
2428 * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
2429
ca08746f
RM
24302014-08-04 Roland McGrath <roland@hack.frob.com>
2431
2432 * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
2433 * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
2434 * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
2435 * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
2436
9c925ff9
RM
24372014-08-04 Roland McGrath <roland@hack.frob.com>
2438
2439 * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
2440 * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
2441 (__libc_vfork): Define function under this name.
2442 (__vfork): Define as an alias.
2443 * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
2444 * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
2445
e641054c
RM
24462014-08-04 Roland McGrath <roland@hack.frob.com>
2447
2448 * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
2449 that was previously under [RESET_PID].
2450 * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
2451
dacdc867
AS
24522014-08-04 Andreas Schwab <schwab@suse.de>
2453
2454 * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
2455
41f725ff
MF
24562014-08-03 Mike Frysinger <vapier@gentoo.org>
2457
2458 * stdlib/tst-setcontext.c (test_stack): Fix coding style.
2459 (main): Likewise.
2460
277cfb31
RM
24612014-08-01 Roland McGrath <roland@hack.frob.com>
2462
2463 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
2464
4896f049
RH
24652014-08-01 Richard Henderon <rth@redhat.com>
2466
2467 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
2468 feclearexcept; use math_opt_barrier instead of open-coded asm; fix
2469 typo in exact zero test.
2470 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
2471 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
2472 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
2473
6f64e7d7
RM
24742014-08-01 Roland McGrath <roland@hack.frob.com>
2475
2476 * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
2477 (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
2478 * sysdeps/arm/sysdep.h: ... here.
2479 [!__ASSEMBLER__]: Include <stdint.h>.
2480
3f3dd810
SP
24812014-08-01 Siddhesh Poyarekar <siddhesh@redhat.com>
2482
a476ac4b
SP
2483 * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
2484 (HAVE_WCTYPE_H): Likewise.
2485 (HAVE_ISWCTYPE): Likewise.
2486 (ENABLE_NLS): Likewise.
2487 * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
2488 && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
2489
78dd658a
SP
2490 * posix/regex_internal.c: Check if DEBUG is defined and is
2491 set.
2492
3f3dd810
SP
2493 * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
2494 (HAVE_MBSRTOWCS): Likewise.
2495 * posix/fnmatch.c: Include string.h unconditionally.
2496
95ee7fb1
SL
24972014-08-01 Stefan Liebler <stli@linux.vnet.ibm.com>
2498
2499 * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
2500 reversal.
2501
23fe486b
RM
25022014-07-31 Roland McGrath <roland@hack.frob.com>
2503
f61a113f
RM
2504 * sysdeps/generic/safe-fatal.h: New file.
2505 * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
2506 * nptl/forward.c: Include it.
2507 (__pthread_unwind): Use __safe_fatal as default action, rather
2508 than a bogus use of INTERNAL_SYSCALL that could never work.
2509
9fe7e787
RM
2510 * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
2511 * configure.ac (libc_cv_builtin_trap): New test.
2512 * configure: Regenerated.
2513 * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
2514 (ABORT_INSTRUCTION): Define using __builtin_trap.
2515
23fe486b
RM
2516 * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
2517 * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
2518 * sysdeps/nptl/nptl-signals.h: New file.
2519 * nptl/pthreadP.h: Include <nptl-signals.h>.
2520
f349489e
SL
25212014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
2522
2523 * sysdeps/s390/s390-64/utf16-utf32-z9.c
2524 (ONE_DIRECTION): Define.
2525 * sysdeps/s390/s390-64/utf8-utf16-z9.c
2526 (ONE_DIRECTION): Define.
2527 * sysdeps/s390/s390-64/utf8-utf32-z9.c
2528 (ONE_DIRECTION): Define.
2529
2f438e20
SL
25302014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
2531
2532 * sysdeps/s390/Makefile: Delete file.
2533 * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
2534 * sysdeps/s390/__longjmp.c: Delete file.
2535 * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
2536 Remove fields __flags and __reserved.
2537 * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
2538 and add versioning.
2539 * sysdeps/s390/rtld-__longjmp.c: Delete file.
2540 * sysdeps/s390/rtld-global-offsets.sym: Likewise.
2541 * sysdeps/s390/rtld-setjmp.S: Likewise.
2542 * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
2543 * sysdeps/s390/s390-32/__longjmp.c: ... here.
2544 * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
2545 * sysdeps/s390/s390-32/setjmp.S: ... here.
2546 Add versioning.
2547 (__sigsetjmp): Remove setting __flags field.
2548 * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
2549 * sysdeps/s390/s390-64/__longjmp.c: ... here.
2550 * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
2551 * sysdeps/s390/s390-64/setjmp.S: ... here.
2552 Add versioning.
2553 (__sigsetjmp): Remove setting __flags field.
2554 * sysdeps/s390/setjmp.S: Delete file.
2555 * sysdeps/s390/sigjmp.c: Likewise.
2556 * sysdeps/s390/v1-longjmp.c: Likewise.
2557 * sysdeps/s390/v1-setjmp.h: Likewise.
2558 * sysdeps/s390/v1-sigjmp.c: Likewise.
2559 * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
2560 Remove v1-longjmp_chk.
2561 * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
2562 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
2563 Include debug/longjmp_chk.c and add versioning.
2564 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
2565 Include nptl/pt-longjmp.c and add versioning.
2566 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
2567 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
2568 Include __longjmp.c.
2569 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
2570 Move to ...
2571 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
2572 (__getcontext): Remove setting __flags field.
2573 Add versioning.
2574 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
2575 Don't restore upper high grps.
2576 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
2577 Likewise.
2578 (__swapcontext): Remove setting uc_flags field.
2579 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
2580 Delete file.
2581 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
2582 Include __longjmp.c.
2583 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
2584 Move to ...
2585 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
2586 (__getcontext): Remove setting __flags field.
2587 Add versioning.
2588 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
2589 (__swapcontext): Remove setting uc_flags field.
2590 * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
2591 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
2592 Remove fields uc_high_gprs and __reserved.
2593 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
2594 New file with reverted content.
2595 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
2596 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
2597 Regenerated.
2598 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
2599 Regenerated.
2600
6c9578a2
AS
26012014-07-31 Andreas Schwab <schwab@suse.de>
2602
2603 * config.h.in (HAVE_IFUNC): Define to 0.
2604 * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
2605 definedness.
2606
05f3633d
LM
26072014-07-30 Ling Ma <ling.ml@alibaba-inc.com>
2608
2609 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
2610 memmove-avx-unaligned, memcpy-avx-unaligned and
2611 mempcpy-avx-unaligned.
2612 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
2613 Add tests for AVX memcpy functions.
2614 * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
2615 * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
2616 memcpy_chk.
2617 * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
2618 * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
2619 memmove_chk.
2620 * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
2621 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
2622 mempcpy_chk.
2623 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
2624 * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
2625 * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
2626
a53fbd8e
AZ
26272013-07-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2628
2629 [BZ #17213]
2630 * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
2631 powerpc64le.
2632
0961f7e1
JL
26332014-07-29 Jeff Layton <jlayton@poochiereds.net>
2634
2635 [BZ #16839]
2636 * manual/llio.texi: Add section about open file description locks.
2637 * manual/examples/ofdlocks.c: Example of open file description
2638 lock usage.
2639 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
2640 F_OFD_SETLK, and F_OFD_SETLKW.
2641
cc5fb300
AM
26422014-07-23 Allan McRae <allan@archlinux.org>
2643
2644 * po/es.po: Update Spanish translation from translation project.
2645
23329dca
AS
26462014-07-18 Andreas Schwab <schwab@linux-m68k.org>
2647
2648 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
2649
9c82da17
MR
26502014-07-17 Maciej W. Rozycki <macro@codesourcery.com>
2651
2652 [BZ #17078]
2653 * sysdeps/arm/dl-machine.h (elf_machine_rela)
2654 [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
2655 (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
2656
29c4f53e
JM
26572014-07-17 Joseph Myers <joseph@codesourcery.com>
2658
831b9896
JM
2659 [BZ #17088]
2660 * math/fesetenv.c (__fesetenv)
2661 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
2662 * math/feupdateenv.c (__feupdateenv)
2663 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
2664
b21c2d50
JM
2665 * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
2666 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
2667 (__ASSUME_SOCKETCALL): Do not define.
2668
067764ef
JM
2669 * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
2670 * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
2671 (__ASSUME_SOCKETCALL): Do not define.
2672 (__ASSUME_ST_INO_64_BIT): Define unconditionally.
2673 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
2674 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
2675 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
2676 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
2677 [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
2678 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
2679 [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
2680
642530c1
JM
2681 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
2682 * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
2683 (__ASSUME_SOCKETCALL): Do not define.
2684 (__ASSUME_IPC64): Define unconditionally.
2685 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
2686 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
2687 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
2688 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
2689 [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
2690 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
2691 [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
2692 Likewise.
2693
03f77315
JM
2694 * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
2695 * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
2696 (__ASSUME_SOCKETCALL): Do not define.
2697 (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
2698 (__ASSUME_FUTEX_LOCK_PI): Likewise.
2699 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
2700 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
2701 (__ASSUME_REQUEUE_PI): Define unconditionally.
2702 [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
2703 (__ASSUME_RECVMMSG_SYSCALL): Do not define.
2704 [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
2705 [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
2706 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
2707 [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
2708
083b1f7c
JM
2709 * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
2710 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
2711 (__ASSUME_SOCKETCALL): Do not define.
2712 [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
2713 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
2714 [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
2715 [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
2716 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
2717 [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
2718
5be44ea6
JM
2719 * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
2720 * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
2721 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
2722 [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
2723 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
2724 [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
2725 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
2726 [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
2727 (__ASSUME_GETCPU_SYSCALL): Likewise.
2728
d95ffd4c
JM
2729 * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
2730 * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR. Remove
2731 cases for individual architectures.
2732 * sysdeps/gnu/configure: Regenerated.
2733 * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
2734 LIBC_SLIBDIR_RTLDDIR.
2735 * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
2736 * sysdeps/unix/sysv/linux/mips/configure.ac: Use
2737 LIBC_SLIBDIR_RTLDDIR.
2738 * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
2739 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
2740 LIBC_SLIBDIR_RTLDDIR.
2741 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
2742 Regenerated.
2743 * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
2744 * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
2745 file.
2746 * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
2747 * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
2748 file.
2749 * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
2750 * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
2751 * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
2752 * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
2753
29c4f53e
JM
2754 * sysdeps/aarch64/shlib-versions: Move to ...
2755 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
2756 * sysdeps/alpha/shlib-versions: Move to ...
2757 * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
2758 * sysdeps/arm/shlib-versions: Move to ...
2759 * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
2760 * sysdeps/hppa/shlib-versions: Move all contents except for
2761 libgcc_s entry to ...
2762 * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here. Merge in
2763 entry from ...
2764 * sysdeps/hppa/nptl/shlib-versions: ... here. Remove file.
2765 * sysdeps/ia64/shlib-versions: Move to ...
2766 * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here. Merge in
2767 entry from ...
2768 * sysdeps/ia64/nptl/shlib-versions: ... here. Remove file.
2769 * sysdeps/m68k/coldfire/shlib-versions: Move to ...
2770 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
2771 * sysdeps/microblaze/shlib-versions: Move to ...
2772 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
2773 * sysdeps/mips/shlib-versions: Move to ...
2774 * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here. Merge in
2775 entry from ...
2776 * sysdeps/mips/nptl/shlib-versions: ... here. Remove file.
2777 * sysdeps/tile/shlib-versions: Move to ...
2778 * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
2779 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
2780 from ...
2781 * sysdeps/x86_64/64/shlib-versions: ... here. Remove file.
2782 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
2783 entry from ...
2784 * sysdeps/x86_64/x32/shlib-versions: ... here. Remove file.
2785
32bead5b
WN
27862014-07-17 Will Newton <will.newton@linaro.org>
2787
57977c4b
WN
2788 * sysdeps/arm/bits/atomic.h
2789 (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
2790 (__arch_compare_and_exchange_bool_16_int): Likewise.
2791 (__arch_compare_and_exchange_bool_64_int): Likewise.
2792
32bead5b
WN
2793 * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
2794 into an #else block.
2795
37fccd41
RM
27962014-07-16 Roland McGrath <roland@hack.frob.com>
2797
2798 * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
2799 just Linux configurations. Test empirically that the compiler sets
2800 __ARM_EABI__, rather than using the tuple to decide.
2801 * sysdeps/arm/preconfigure: Regenerated.
2802 * sysdeps/unix/sysv/linux/arm/configure: File removed.
2803 * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
2804 contents appended ...
2805 * sysdeps/arm/configure.ac: ... here.
2806 * sysdeps/arm/configure: Regenerated.
2807
b365f3ec
RM
28082014-07-15 Roland McGrath <roland@hack.frob.com>
2809
8badf496
RM
2810 * nptl/pthread_kill.c: New file.
2811 * nptl/pthread_sigmask.c: New file.
2812 * nptl/pthread_sigqueue.c: New file.
2813
3df6f22e
RM
2814 * sysdeps/nptl/lowlevellock.h: New file.
2815 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
2816 * sysdeps/nptl/lowlevellock-futex.h: New file.
2817
b365f3ec
RM
2818 * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
2819 Remove dead declarations.
2820
f2fef657
L
28212014-07-14 H.J. Lu <hongjiu.lu@intel.com>
2822
2823 * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
2824 * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
2825 config-cflags-avx2.
2826 * sysdeps/x86_64/configure.ac: Likewise.
2827 * sysdeps/i386/configure: Regenerated.
2828 * sysdeps/x86_64/configure: Likewise.
2829 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
2830 memset-avx2 only if config-cflags-avx2 is yes.
2831 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
2832 Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
2833 defined.
2834 * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
2835 only if HAVE_AVX2_SUPPORT is defined.
2836 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
2837
f6c44d47
AM
28382014-07-14 Alan Modra <amodra@gmail.com>
2839
2840 [BZ #17153]
2841 * elf/elf.h (DT_PPC64_NUM): Correct value.
2842 * NEWS: Add to fixed bug list.
2843
7ee03f00
JM
28442014-07-13 Jim Meyering <meyering@fb.com>
2845
2846 [BZ 17150]
2847 regex: don't deref NULL upon heap allocation failure
2848 * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
2849 failure in one more place.
2850 To trigger the segfault, configure grep -with-included-regex,
2851 build it, and run these commands:
2852 ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
2853
9d39d517
AS
28542014-07-13 Andreas Schwab <schwab@linux-m68k.org>
2855
2856 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
2857
a75b89b7
RH
28582014-07-11 Richard Henderson <rth@redhat.com>
2859
2860 * sysdeps/aarch64/libm-test-ulps: Update.
2861
771eb141
FW
28622014-07-10 Florian Weimer <fweimer@redhat.com>
2863
2864 [BZ #17135]
2865 * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
2866 * nptl/allocatestack.c (__nptl_setxid_error): New function.
2867 (__nptl_setxid): Initialize error member. Call
2868 __nptl_setxid_error.
2869 * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
2870 * nptl/descr.h (struct xid_command): Add error member.
2871 * nptl/tst-setuid3.c: New file.
2872 * nptl/Makefile (tests): Add it.
2873
bc1da176
AZ
28742014-07-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2875
2876 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
2877 New define.
2878 (__lll_trylock): Use __lll_base_trylock.
2879 (__lll_cond_trylock): Likewise.
2880
887865fc
RM
28812014-07-10 Roland McGrath <roland@hack.frob.com>
2882
c0c6bac9
RM
2883 * nptl/pthread_create.c (start_thread): Use atomic_or and
2884 lll_futex_wake directly rather than lll_robust_dead.
2885 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
2886 (lll_robust_dead): Macro removed.
6a42be57 2887 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
c0c6bac9
RM
2888 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
2889 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
2890 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
2891 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
2892 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
2893 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
2894 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
2895 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
2896 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
2897 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
2898 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
2899 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
2900 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
2901 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
2902
887865fc
RM
2903 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
2904 Use atomic_compare_and_exchange_val_acq directly rather than
2905 lll_robust_trylock.
2906 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
2907 (__lll_robust_trylock, lll_robust_trylock): Removed.
2908 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
2909 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
2910 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
2911 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
2912 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
2913 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
2914 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
2915 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
2916 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
2917 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
2918 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
2919 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
2920 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
2921 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
2922
58536726
FW
29232014-07-02 Florian Weimer <fweimer@redhat.com>
2924
2925 * manual/locale.texi (Locale Names): New section documenting
2926 locale name syntax. Adjust menu and node chaining accordingly.
2927 (Choosing Locale): Reference Locale Names, Locale Categories.
2928 Mention setting LC_ALL=C. Reflect that name syntax is now
2929 documented.
2930 (Locale Categories): New section title. Reference Locale Names.
2931 LC_ALL is an environment variable, but not a category.
2932 (Setting the Locale): Remove "locale -a" invocation and LOCPATH
2933 description, now in Locale Name. Reference that section. Locale
2934 name syntax is now documented.
2935
4e8f95a0
FW
29362014-07-02 Florian Weimer <fweimer@redhat.com>
2937
2938 [BZ #17137]
2939 * locale/findlocale.c (name_present, valid_locale_name): New
2940 functions.
2941 (_nl_find_locale): Use the loc_name variable to store name
2942 candidates. Call name_present and valid_locale_name to check and
2943 validate locale names. Return an error if the locale is invalid.
2944
d1836456
FW
29452014-07-02 Florian Weimer <fweimer@redhat.com>
2946
2947 * locale/setlocale.c (setlocale): Use strdup for allocating
2948 composite name copy.
2949
d69b7f5a
SP
29502014-07-10 Siddhesh Poyarekar <siddhesh@redhat.com>
2951
888c679b
SP
2952 Sync up with gnulib.
2953 * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
2954 [!_LIBC && ENABLE_NLS]: Include gettext.h.
2955 [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
2956 and _GL_ARG_NONNULL.
2957 [USE_UNLOCKED_IO]: Include unlocked-io.h.
2958 [!_LIBC]: Include code for Windows and Cygwin.
2959 [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
2960 Include prototype for int strerror_r.
2961 [!_LIBC] (is_open): New function.
2962 (flush_stdout): New function.
2963 (print_errno_message): Use it.
2964 (error): Likewise.
2965 (error_at_line): Likewise.
2966 (error_tail) Add function attribute macros. Use
2967 __builtin_expect.
2968
180e0e4b
SP
2969 * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
2970
d22f1fe2
SP
2971 * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
2972
12f2254b
SP
2973 * io/ftw.c: Include sys/param.h unconditionally.
2974
c3c7c360
SP
2975 * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
2976
d62aa75a
SP
2977 [BZ #17125]
2978 * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
2979 libc_freeres_ptr.
2980 (freecache): New function to free CACHE on exit.
2981
d69b7f5a
SP
2982 * sunrpc/xdr.c (xdr_string): Add comment about SIZE
2983 initialization.
2984
5efe06a1
DM
29852014-07-09 David S. Miller <davem@davemloft.net>
2986
2987 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2988
7000d82e
DM
2989 * sysdeps/sparc/nptl/internaltypes.h: Delete.
2990 * sysdeps/sparc/nptl/sparc-nptl.h: New file.
2991 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
2992 * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
2993 * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
2994 * sysdeps/sparc/nptl/sem_init.c: Likewise.
2995 * sysdeps/sparc/nptl/sem_post.c: Likewise.
2996 * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
2997 * sysdeps/sparc/nptl/sem_wait.c: Likewise.
2998 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
2999 * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
3000 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
3001 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
3002
c213442d
AS
30032014-07-09 Andreas Schwab <schwab@suse.de>
3004
4a2552c3
AS
3005 * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
3006 output.
3007 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
3008 (do_test): Likewise.
3009
c213442d
AS
3010 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
3011
82374e65
WN
30122014-07-09 Will Newton <will.newton@linaro.org>
3013
3014 * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
3015 * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
3016 * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
3017 * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
3018 * sysdeps/hppa/start.S (_start): Likewise.
3019
6680738a
SP
30202014-07-09 Siddhesh Poyarekar <siddhesh@redhat.com>
3021
6ee3eab4
SP
3022 * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
3023
6680738a
SP
3024 * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
3025 defined.
3026
80b5c505
SP
30272014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
3028
e35c53e3
SP
3029 * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
3030 after checking that it is non-NULL.
3031
80b5c505
SP
3032 * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
3033
91f4b564
AZ
30342014-07-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3035
27b75f56
AZ
3036 * sysdeps/powerpc/memmove.c: Remove file.
3037 * sysdeps/powerpc/powerpc32/power4/memcopy.h
3038 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
3039 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
3040 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
3041 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
3042 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
3043 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
3044 string memmove instead of removed powerpc one.
3045
e7f95bb5
AZ
3046 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
3047 [weak_alias]: Fix compiler warning due trailing data.
3048 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
3049 [weak_alias]: Likewise.
3050 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
3051 warnigs due missing definition of __strcpy_power7 and __strlen_power7.
3052
91f4b564
AZ
3053 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
3054 (__libc_ifunc_impl_list): Add memmove functions.
3055
7c33f1e5
SP
30562014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
3057
3058 * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
3059 Remove code.
3060 * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
3061 Likewise
3062 * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
3063 Likewise
3064 * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
3065 Likewise
3066 * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
3067 Likewise
3068 * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
3069 Likewise
3070 * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
3071 Likewise
3072 * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
3073 Likewise
3074 * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
3075 Likewise
3076 * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
3077 Likewise
3078 * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
3079 Likewise
3080 * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
3081 Likewise
3082 * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
3083 Likewise
3084 * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
3085 Likewise
3086 * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
3087 Likewise
3088 * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
3089 Likewise
3090 * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
3091 Likewise
3092
3f17b03b
AZ
30932014-07-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3094
87868c24
AZ
3095 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
3096 to avoid alignment traps in non-cacheable memory.
3097 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
3098
07aedd78
AZ
3099 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
3100 multiarch objects.
3101 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
3102 file: multiarch power7 memmove.
3103 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
3104 multiarch default memmove.
3105 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
3106 multiarch memove for powerpc32/power4.
3107
17762f66
AZ
3108 * string/bcopy.c: Use full path to include memmove.c.
3109 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
3110 multiarch objects.
3111 * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
3112 bcopy for powerpc64.
3113 * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
3114 bcopy for powerpc64.
3115 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
3116 and memmove implementations.
3117 * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
3118 optimized multiarch memmove for POWER7/powerpc64.
3119 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
3120 default multiarch memmove for powerpc64.
3121 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
3122 multiarch for powerpc64.
3123 * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
3124 for POWER7/powerpc64.
3125 * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
3126 memmove for POWER7/powerpc64.
3127
d6f68bbe
AZ
3128 * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
3129 glibc default one.
3130
3f17b03b
AZ
3131 * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
3132 __ELF_NATIVE_CLASS equal to 64.
3133
08192659
RM
31342014-07-07 Roland McGrath <roland@hack.frob.com>
3135
f4c4021b
RM
3136 * sysdeps/nptl/lowlevellock.h: File removed.
3137
f083450f
RM
3138 * NEWS: NPTL is no longer an add-on!
3139 * nptl/internaltypes.h: Moved ...
3140 * sysdeps/nptl/internaltypes.h: ... here.
3141 * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
3142 * sysdeps/nptl/fork.c: Likewise.
3143 * sysdeps/nptl/gai_misc.h: Likewise.
3144 * sysdeps/nptl/librt-cancellation.c: Likewise.
3145 * sysdeps/nptl/jmp-unwind.c: Likewise.
3146 * sysdeps/nptl/setxid.h: Likewise.
3147 * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
3148 * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
3149 * sysdeps/unix/sysv/linux/arm/Implies: New file.
3150 * sysdeps/unix/sysv/linux/hppa/Implies: New file.
3151 * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
3152 * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
3153 * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
3154 * sysdeps/unix/sysv/linux/m68k/Implies: New file.
3155 * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
3156 * sysdeps/unix/sysv/linux/mips/Implies: New file.
3157 * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
3158 * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
3159 * sysdeps/unix/sysv/linux/sh/Implies: New file.
3160 * sysdeps/unix/sysv/linux/sparc/Implies: New file.
3161 * sysdeps/unix/sysv/linux/tile/Implies: New file.
3162 * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
3163 * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
3164 * nptl/Makeconfig: Moved ...
3165 * sysdeps/nptl/Makeconfig: ... here.
3166 * nptl/configure: File removed.
3167 * nptl/ANNOUNCE: File removed.
3168 * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
3169 * sysdeps/unix/sysv/linux/configure: Regenerated.
3170
08192659
RM
3171 * nptl/Makefile (routines): Add libc_pthread_init,
3172 libc_multiple_threads, register-atfork and unregister-atfork.
3173 (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
3174 (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
3175 lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
3176 pthread-pi-defines.sym, structsem.sym.
3177 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
3178 (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
3179 [$(subdir) = nptl] (tests): Add tst-setgetname.
3180 * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
3181 * sysdeps/unix/sysv/linux/sigaction.c: Just include
3182 <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
3183 [!LIBC_SIGACTION]: Remove aliases.
3184 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
3185 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
3186 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
3187 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
3188 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
3189 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
3190 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
3191 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
3192 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
3193 * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
3194 (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
3195 __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
3196 __libc_allocate_rtsig_private.
3197 * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
3198 * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
3199 * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
3200 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
3201 * sysdeps/unix/sysv/linux/sleep.c: Likewise.
3202 * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
3203 * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
3204 * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
3205 * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
3206 * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
3207 * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
3208 * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
3209 * nptl/internaltypes.h: ... here.
3210 * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
3211 * sysdeps/nptl/jmp-unwind.c: ... here.
3212 * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
3213 * nptl/libc-lowlevellock.c: ... here.
3214 * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
3215 * nptl/libc_multiple_threads.c: ... here.
3216 * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
3217 * nptl/libc_pthread_init.c: ... here.
3218 * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
3219 * nptl/lowlevelbarrier.sym: ... here.
3220 * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
3221 * nptl/lowlevelcond.sym: ... here.
3222 * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
3223 * nptl/lowlevellock.c: ... here.
3224 * nptl/lowlevellock.h: Moved ...
3225 * sysdeps/nptl/lowlevellock.h: ... here.
3226 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
3227 * nptl/lowlevelrobustlock.c: ... here.
3228 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
3229 * nptl/lowlevelrobustlock.sym: ... here.
3230 * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
3231 * nptl/lowlevelrwlock.sym: ... here.
3232 * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
3233 * nptl/pt-fork.c: ... here.
3234 * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
3235 * nptl/pthread-pi-defines.sym: ... here.
3236 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
3237 * nptl/pthread_attr_getaffinity.c: ... here.
3238 * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
3239 * nptl/pthread_attr_setaffinity.c: ... here.
3240 * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
3241 * nptl/pthread_mutex_cond_lock.c: ... here.
3242 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
3243 Update #include.
3244 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
3245 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
3246 * nptl/pthread_once.c: ... here, replacing old file.
3247 * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
3248 * nptl/pthread_yield.c: ... here.
3249 * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
3250 * nptl/register-atfork.c: ... here.
3251 * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
3252 * nptl/sem_post.c: ... here.
3253 * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
3254 * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
3255 * nptl/sem_timedwait.c: ... here.
3256 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
3257 * nptl/sem_trywait.c: ... here.
3258 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
3259 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
3260 * nptl/sem_wait.c: ... here.
3261 * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
3262 * nptl/structsem.sym: ... here.
3263 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
3264 * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
3265 * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
3266 * nptl/unregister-atfork.c: ... here.
3267 * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
3268 * nptl/unwindbuf.sym: ... here.
3269 * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
3270 * sysdeps/nptl/fork.c: ... here.
3271 * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
3272 * sysdeps/nptl/fork.h: ... here.
3273 * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
3274 * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
3275 * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
3276 * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
3277 * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
3278 * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
3279 * sysdeps/unix/sysv/linux/getpid.c: ... here.
3280 * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
3281 * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
3282 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
3283 * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
3284 * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
3285 * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
3286 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
3287 * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
3288 * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
3289 * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
3290 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
3291 * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
3292 * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
3293 * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
3294 * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
3295 * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
3296 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
3297 * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
3298 * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
3299 * sysdeps/unix/sysv/linux/raise.c: ... here.
3300 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
3301 * sysdeps/unix/sysv/linux/timer_create.c: ... here.
3302 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
3303 * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
3304 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
3305 * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
3306 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
3307 * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
3308 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
3309 * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
3310 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
3311 * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
3312 * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
3313 * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
3314 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
3315
96baf6ff
SP
33162014-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
3317
3318 * sysdeps/generic/memcopy.h: Add comment for
3319 MEMCPY_OK_FOR_FWD_MEMMOVE.
3320
6b7b14b2
WN
33212014-07-04 Will Newton <will.newton@linaro.org>
3322
1570a72b
WN
3323 * string/memchr.c: Merge from gnulib.
3324 [_LIBC]: Remove conditionals.
3325 (__ptr_t): Remove define.
3326 (LONG_MAX_32_BITS): Likewise.
3327 (LONG_MAX): Likewise.
3328 (MEMCHR): Use ANSI prototype and optimize algorithm.
3329
6b7b14b2
WN
3330 * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
3331
38851324
SP
33322014-07-03 Roland McGrath <roland@hack.frob.com>
3333
3d9eb57c
RM
3334 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
3335 (lll_futex_timed_wait_bitset): Fix syscall argument count.
3336
78b984ae
RM
3337 * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
3338 Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
3339 in a bare environment with no <stdlib.h> installed.
3340 * sysdeps/nptl/configure: Regenerated.
3341
2d5976a5
RM
3342 * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
3343
c1f5acd4
RM
3344 * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
3345 AC_EGREP_CPP for kernel header checks, so they only succeed if
3346 including <linux/version.h> actually works right.
3347 * sysdeps/unix/sysv/linux/configure: Regenerated.
3348
4d614fe5
RM
3349 * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
3350 value so it's not diagnosed as unused.
3351
38851324
SP
3352 * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
3353 thing) with "ifeq ($(subdir),rt)".
3354
b3ec00e5
RH
33552014-07-03 Richard Henderson <rth@redhat.com>
3356
69862e25
RH
3357 * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
3358 * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
3359 include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
3360
d5e16ade
RH
3361 * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
3362 (math_force_eval): New.
3363
ca7b945c
RH
3364 * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
3365 * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
3366
cd1175a3
RH
3367 * sysdeps/alpha/fpu/s_round.c: Remove file.
3368 * sysdeps/alpha/fpu/s_roundf.c: Remove file.
3369
b3ec00e5
RH
3370 * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
3371 (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
3372 * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
3373 (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
3374 (_dl_start, print_statistics): Likewise.
3375 * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
3376 HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
3377
3378 * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
3379 * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
3380 * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
3381 * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
3382 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
3383 (HP_SMALL_TIMING_AVAIL): Define.
3384 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
3385 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
3386 (HP_SMALL_TIMING_AVAIL): Define.
3387 * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
3388 * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
3389
3390 * sysdeps/aarch64/hp-timing.h: New file.
3391
3392 * sysdeps/generic/hp-timing.h: Remove dead comment.
3393 * sysdeps/generic/hp-timing-common.h: New file.
3394 * sysdeps/alpha/hp-timing.h: Include it.
3395 (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
3396 * sysdeps/i386/i686/hp-timing.h: Likewise.
3397 * sysdeps/ia64/hp-timing.h: Likewise.
3398 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
3399 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
3400 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
3401 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
3402 * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
3403 (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
3404 (hp_timing_t): New.
3405
3406 * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
3407 * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
3408 (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
3409 * elf/rtld.c (_dl_start_final): Likewise.
3410 * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
3411 * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
3412 * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
3413 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
3414 * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
3415 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
3416 (HP_TIMING_DIFF_INIT): Remove.
3417 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
3418 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
3419 (HP_TIMING_DIFF_INIT): Remove.
3420 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
3421 * sysdeps/i386/i686/hp-timing.c: Remove file.
3422 * sysdeps/x86_64/hp-timing.c: Remove file.
3423 * sysdeps/ia64/hp-timing.c: Remove file.
3424 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
3425 * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
3426 * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
3427 * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
3428
3429 * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
3430 * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
3431 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
3432 * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
3433 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
3434 (HP_TIMING_ACCUM): Remove.
3435 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
3436 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
3437 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
3438
3439 * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
3440 * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
3441 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
3442 * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
3443 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
3444 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
3445 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
3446 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
3447
3448 * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
3449
225f410f
MR
34502014-07-03 Maciej W. Rozycki <macro@codesourcery.com>
3451
3452 * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
3453
3247f285
SP
34542014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
3455
3456 Sync up with gettext.
3457 * intl/loadmsgcat.c: Define O_BINARY if not defined.
3458 [_MSC_VER]: Include malloc.h
3459 [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
3460 (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
3461 (_nl_load_domain): Open DOMAIN_FILE in binary mode. Don't use
3462 TEMP_FAILURE_RETRY. Cast return of alloca.
3463 [!_LIBC] Call gl_rwlock_init.
3464 [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
3465
d12704c7
SP
34662014-07-02 Roland McGrath <roland@hack.frob.com>
3467
3468 * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
3469 before checking its value.
3470
99f8dc92
SP
34712014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
3472
05fdac77
SP
3473 * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
3474
99f8dc92
SP
3475 * debug/memcpy_chk.c: Don't include pagecopy.h.
3476 * debug/mempcpy_chk.c: Likewise.
3477 * string/memcpy.c: Likewise.
3478 * string/memmove.c: Likewise.
3479 * sysdeps/powerpc/memmove.c: Likewise.
3480 * sysdeps/generic/memcopy.h: Include pagecopy.h. Move
3481 definition of PAGE_COPY_FWD_MAYBE here...
3482 * sysdeps/generic/pagecopy.h: ... from here.
3483 * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
3484
bc8ea385
VR
34852014-07-02 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
3486 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3487
3488 * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
3489 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
3490 optimizations.
3491 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
3492 (__libc_ifunc_impl_list): Likewise.
3493 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
3494 multiarch strcat for PPC64.
3495 * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
3496 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
3497
fe5f34e4
RM
34982014-07-02 Roland McGrath <roland@hack.frob.com>
3499
3500 * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
3501
256aa665
SP
35022014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
3503
d4eb8195
SP
3504 * intl/loadmsgcat.c: Remove declaration of
3505 get_sysdep_segment_value.
3506 (get_sysdep_segment_value): Use ISO C style.
3507 (_nl_load_domain): Use ISO C style. Get rid of redundant
3508 semicolon. Fix typo and formatting in comment.
3509 (_nl_unload_domain): Use ISO C style.
3510
256aa665
SP
3511 * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
3512
b100f9aa
WN
35132014-07-02 Will Newton <will.newton@linaro.org>
3514
3515 * malloc/obstack.c: Merge from gnulib master.
3516 [HAVE_CONFIG_H]: Remove conditional code.
3517 [!_LIBC]: Include config.h.
3518 [!ELIDE_CODE]: Don't include inttypes.h, include
3519 stdint.h unconditionally.
3520 (print_and_abort): Mark as _Noreturn.
3521 (_obstack_allocated_p): Mark as __attribute_pure__.
3522 (obstack_free): Rename to __obstack_free.
3523 [!__attribute__]: Remove conditional code.
3524 * malloc/obstack.h: Merge from gnulib master.
3525 [__cplusplus]: Move conditional down.
3526 [!__attribute_pure__]: Define __attribute_pure__ here
3527 if it is not already defined.
3528 (_obstack_memory_used): Mark as __attribute_pure__.
3529 [!__obstack_free]: Define as obstack_free.
3530 [__GNUC__]: Remove check for ancient NeXT gcc.
3531
c4c41244
PE
35322014-07-02 Will Newton <will.newton@linaro.org>
3533 Paul Eggert <eggert@cs.ucla.edu>
3534
3535 * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
3536
e1e041c4
SP
35372014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
3538
3539 * resolv/gethnamaddr.c: Add comment warning that the file is
3540 not maintained.
3541
ccf431ff
CD
35422014-07-01 Carlos O'Donell <carlos@redhat.com>
3543
d34570a6
CD
3544 * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
3545 entries.
3546
ccf431ff
CD
3547 * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
3548 entry for aio_cancel and aio_cancel64.
3549 * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
3550 * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
3551 * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
3552 * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
3553 * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
3554 * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
3555 * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
3556 * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
3557 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
3558 * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
3559 * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
3560 * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
3561 * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
3562
ca06321d
RM
35632014-07-01 Roland McGrath <roland@hack.frob.com>
3564
3565 * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
3566 * nptl/pthread_mutex_lock.c: Likewise.
3567 * nptl/pthread_mutex_timedlock.c: Likewise.
3568 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
3569
a1ac3184
RH
35702014-07-01 Richard henderson <rth@redhat.com>
3571
631021e0
RH
3572 * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
3573 (__isnan, __isnanl): Remove.
3574 * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
3575
a1ac3184
RH
3576 * sysdeps/alpha/fpu/libm-test-ulps: Update.
3577
0c1d731f
SL
35782014-07-01 Stefan Liebler <stli@linux.vnet.ibm.com>
3579
3580 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
3581
76985d3e
SP
35822014-07-01 Siddhesh Poyarekar <siddhesh@redhat.com>
3583
3584 * resolv/nss_dns/dns-host.c (getanswer_r)
3585 [MULTI_PTRS_ARE_ALIASES]: Remove code.
3586
b0cb3096
JM
35872014-07-01 Joseph Myers <joseph@codesourcery.com>
3588
3589 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
3590 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
3591 undefine.
3592 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
3593 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
3594
4d76cb39
RM
35952014-07-01 Roland McGrath <roland@hack.frob.com>
3596
3597 * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
3598 * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
3599
3600 * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
3601 * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
3602
3603 * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
3604 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
3605 ... here.
3606 * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
3607 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
3608
3609 * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
3610 * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
3611 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
3612 * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
3613
3614 * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
3615 * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
3616 * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
3617 * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
3618 * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
3619 Moved ...
3620 * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
3621 ... here.
3622 * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
3623 * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
3624 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
3625 * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
3626 * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
3627 * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
3628 * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
3629 * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
3630 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
3631 * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
3632 * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
3633 * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
3634 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
3635 * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
3636 * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
3637 * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
3638 * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
3639 * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
3640 * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
3641 * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
3642 ... here.
3643 * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
3644 * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
3645 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
3646 * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
3647 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
3648 * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
3649 * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
3650 * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
3651
0cdcad17
DH
36522014-07-01 David Holsgrove <david.holsgrove@xilinx.com>
3653
3654 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
3655 * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
3656 * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
3657 Add sysdep.
3658
9b71d0e3
AZ
36592014-06-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3660
3661 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3662
665390c2
JM
36632014-06-30 Joseph Myers <joseph@codesourcery.com>
3664
ae05a9d7
JM
3665 * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
3666 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
3667
a7672a2f
JM
3668 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
3669
665390c2
JM
3670 * sysdeps/arm/libm-test-ulps: Regenerated.
3671
d7a05d07
MR
36722014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
3673 Roland McGrath <roland@hack.frob.com>
3674
3675 * test-skeleton.c (signal_handler): Kill the whole process group
3676 before killing the child individually.
3677 (main): Report any failure on `setpgid'.
3678
46f1d8a6
RM
36792014-06-30 Roland McGrath <roland@hack.frob.com>
3680
3681 * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
3682 from _TLS_H to _ARM_NPTL_TLS_H.
3683 (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
3684 * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
3685
9c37ec0b
JM
36862014-06-30 Joseph Myers <joseph@codesourcery.com>
3687
ce9c5b3e
JM
3688 [BZ #16539]
3689 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
3690 (__expm1l): Return argument unchanged when small but not
3691 subnormal.
3692
3a6e9887
JM
3693 * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
3694 include macro name.
3695 (_FP_UNPACK_RAW_1_P): Likewise.
3696 (_FP_PACK_RAW_1): Likewise.
3697 (_FP_PACK_RAW_1_P): Likewise.
3698 (_FP_MUL_MEAT_1_wide): Likewise.
3699 (_FP_MUL_MEAT_DW_1_hard): Likewise.
3700 (_FP_MUL_MEAT_1_hard): Likewise.
3701 (_FP_DIV_MEAT_1_imm): Likewise.
3702 (_FP_DIV_MEAT_1_udiv_norm): Likewise.
3703 (_FP_DIV_MEAT_1_udiv): Likewise.
3704 * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
3705 (_FP_UNPACK_RAW_2): Likewise.
3706 (_FP_UNPACK_RAW_2_P): Likewise.
3707 (_FP_PACK_RAW_2): Likewise.
3708 (_FP_PACK_RAW_2_P): Likewise.
3709 (_FP_MUL_MEAT_DW_2_wide): Likewise.
3710 (_FP_MUL_MEAT_2_wide): Likewise.
3711 (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
3712 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
3713 (_FP_MUL_MEAT_DW_2_gmp): Likewise.
3714 (_FP_MUL_MEAT_2_gmp): Likewise.
3715 (_FP_DIV_MEAT_2_udiv): Likewise.
3716 * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
3717 (_FP_FRAC_SRL_4): Likewise.
3718 (_FP_FRAC_SRST_4): Likewise.
3719 (_FP_FRAC_SRS_4): Likewise.
3720 (_FP_UNPACK_RAW_4): Likewise.
3721 (_FP_UNPACK_RAW_4_P): Likewise.
3722 (_FP_PACK_RAW_4): Likewise.
3723 (_FP_PACK_RAW_4_P): Likewise.
3724 (_FP_MUL_MEAT_DW_4_wide): Likewise.
3725 (_FP_MUL_MEAT_4_wide): Likewise.
3726 (_FP_MUL_MEAT_4_gmp): Likewise.
3727 (umul_ppppmnnn): Likewise.
3728 (_FP_DIV_MEAT_4_udiv): Likewise.
3729 (__FP_FRAC_ADD_4): Likewise.
3730 (__FP_FRAC_SUB_3): Likewise.
3731 (__FP_FRAC_SUB_4): Likewise.
3732 (__FP_FRAC_DEC_3): Likewise.
3733 (__FP_FRAC_DEC_4): Likewise.
3734 (__FP_FRAC_ADDI_4): Likewise.
3735 * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
3736 (_FP_FRAC_SRL_8): Likewise.
3737 (_FP_FRAC_SRS_8): Likewise.
3738
9c37ec0b
JM
3739 * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
3740 include macro name.
3741 (FP_UNPACK_RAW_EP): Likewise.
3742 (FP_PACK_RAW_E): Likewise.
3743 (FP_PACK_RAW_EP): Likewise.
3744 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
3745 (_FP_ISSIGNAN): Likewise.
3746 (_FP_ADD_INTERNAL): Likewise.
3747 (_FP_FMA): Likewise.
3748 (_FP_CMP): Likewise.
3749 (_FP_SQRT): Likewise.
3750 (_FP_TO_INT): Likewise.
3751 (_FP_FROM_INT): Likewise.
3752 (FP_EXTEND): Likewise.
3753 (_FP_DIV_MEAT_N_loop): Likewise.
3754
2125f674
MR
37552014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
3756
3757 * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
3758 throughout.
3759
edea4028
JM
37602014-06-29 Joseph Myers <joseph@codesourcery.com>
3761
3762 [BZ #17097]
3763 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
3764 result with correct sign in case of exponents that produce
3765 overflow except for X very close to 1.
3766
dd0ba018
PE
37672014-06-28 Paul Eggert <eggert@cs.ucla.edu>
3768
3769 mktime: merge #if/#ifdef usage from glibc
3770 * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
3771 as that works with both Glibc's and Gnulib's style.
3772 See thread starting at Siddhesh Poyarekar's bug report at:
3773 http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
3774
64df73c2
SP
37752014-06-28 Siddhesh Poyarekar <siddhesh@redhat.com>
3776
3777 * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
3778 * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
3779 * sysdeps/tile/tilegx/memmove.c: Remove file.
3780
f1eafb41
JM
37812014-06-27 Joseph Myers <joseph@codesourcery.com>
3782
3783 * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
3784 abi-name definition.
3785 * scripts/soversions.awk: Do not handle or generate ABI lines.
3786 * shlib-versions: Remove ABI entries.
3787 * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
3788 * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
3789
58eb0862
RM
37902014-06-27 Roland McGrath <roland@hack.frob.com>
3791
37caf178
RM
3792 * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
3793 * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
3794 * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
3795 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
3796 * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
3797 * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
3798 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
3799 Moved ...
3800 * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
3801 ... here.
3802 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
3803 * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
3804 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
3805 * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
3806 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
3807 * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
3808 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
3809 * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
3810 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
3811 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
3812 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
3813 * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
3814 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
3815 Moved ...
3816 * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
3817 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
3818 * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
3819 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
3820 * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
3821 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
3822 Moved ...
3823 * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
3824 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
3825 Moved ...
3826 * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
3827 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
3828 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
3829 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
3830 Moved ...
3831 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
3832 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
3833 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
3834 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
3835 * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
3836 * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
3837 * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
3838 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
3839 Moved ...
3840 * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
3841 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
3842 * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
3843 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
3844 Moved ...
3845 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
3846 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
3847 Moved ...
3848 * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
3849 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
3850 * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
3851 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
3852 Moved ...
3853 * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
3854 ... here.
3855 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
3856 Identical file removed.
3857 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
3858 Moved ...
3859 * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
3860 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
3861 Identical file removed.
3862 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
3863 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
3864 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
3865 Moved ...
3866 * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
3867 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
3868 Identical file removed.
3869 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
3870 * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
3871 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
3872 Identical file removed.
3873 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
3874 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
3875 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
3876 Identical file removed.
3877 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
3878 * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
3879 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
3880 Identical file removed.
3881 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
3882 Moved ...
3883 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
3884 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
3885 Identical file removed.
3886 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
3887 Moved ...
3888 * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
3889 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
3890 * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
3891 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
3892 Identical file removed.
3893 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
3894 Moved ...
3895 * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
3896 ... here.
3897 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
3898 Identical file removed.
3899 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
3900 Moved ...
3901 * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
3902 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
3903 Identical file removed.
3904 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
3905 Moved ...
3906 * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
3907 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
3908 * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
3909 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
3910 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
3911 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
3912 Moved ...
3913 * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
3914 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
3915 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
3916
58eb0862
RM
3917 * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
3918 SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
3919 * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
3920 * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
3921 * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
3922
6f12d062
AS
39232014-06-27 Arjun Shankar <arjun.is@lostca.se>
3924
3925 [BZ #17092]
3926 * nscd/nscd.c (monitor_child): Return exit status of child
3927 instead of return value from wait syscall.
3928
be254932
JM
39292014-06-27 Joseph Myers <joseph@codesourcery.com>
3930
cb403c34
JM
3931 * configure.ac (libc_commonpagesize): Remove variable.
3932 (libc_relro_required): Likewise.
3933 (libc_cv_z_relro): Remove configure test.
3934 * configure: Regenerated.
3935 * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
3936 variable.
3937 (libc_relro_required): Likewise.
3938 * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
3939 (libc_relro_required): Likewise.
3940 * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
3941 (libc_relro_required): Likewise.
3942 * sysdeps/arm/preconfigure: Regenerated.
3943 * sysdeps/ia64/preconfigure: Remove file.
3944 * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
3945 variable.
3946 (libc_relro_required): Likewise.
3947
be254932
JM
3948 [BZ #16561]
3949 [BZ #16562]
3950 * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
3951 (__ieee754_yn): Set FE_TONEAREST mode internally and then
3952 recompute overflowing results in original rounding mode.
3953 * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
3954 (__ieee754_ynf): Set FE_TONEAREST mode internally and then
3955 recompute overflowing results in original rounding mode.
3956 * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
3957 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
3958 recompute overflowing results in original rounding mode.
3959 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
3960 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
3961 recompute overflowing results in original rounding mode.
3962 * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
3963 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
3964 recompute overflowing results in original rounding mode.
3965 * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
3966 (libc_feholdsetround_ctx): New macro.
3967 * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
3968 * sysdeps/i386/fpu/libm-test-ulps: Update.
3969 * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
3970
b351d85a
JM
39712014-06-26 Joseph Myers <joseph@codesourcery.com>
3972
3973 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
3974 [__PIC__] (PSEUDO): Use name of _nocancel entry point in
3975 corresponding .cpsetup call.
3976
3cb4de47
RM
39772014-06-26 Roland McGrath <roland@hack.frob.com>
3978
3979 * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
3980 * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
3981 * sysdeps/arm/Makefile [$(subdir) = csu]
3982 (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
3983 (static-only-routines): Add aeabi_read_tp here.
3984 (shared-only-routines): Add libc-aeabi_read_tp here.
3985 (CFLAGS-libc-start.c): Add -fexceptions here.
3986 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
3987 (sysdep_routines, static-only-routines, shared-only-routines):
3988 Don't add to these here.
3989 (CFLAGS-libc-start.c): Likewise.
3990
3991 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
3992 * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
3993 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
3994 * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
3995 * sysdeps/arm/Makefile [$(subdir) = rt]
3996 (librt-sysdep_routines, librt-shared-only-routines):
3997 Append rt-aeabi_unwind_cpp_pr1 here.
3998 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
3999 (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
4000 * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
4001 (libpthread-sysdep_routines, libpthread-shared-only-routines):
4002 Append nptl-aeabi_unwind_cpp_pr1 here.
4003 (tests): Filter out tst-cleanupx4 here.
4004 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
4005 (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
4006 Don't do those here.
4007
354426bb
JM
40082014-06-26 Joseph Myers <joseph@codesourcery.com>
4009
4010 * scripts/list-sources.sh: Do not handle ports specially.
4011
28b0a8c9
RM
40122014-06-26 Roland McGrath <roland@hack.frob.com>
4013
a3dd035d
RM
4014 * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
4015 * sysdeps/arm/feupdateenv.c: Likewise.
4016
28b0a8c9
RM
4017 * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
4018
e66a8203
JM
40192014-06-26 Joseph Myers <joseph@codesourcery.com>
4020
4021 * manual/texinfo.tex: Update to version 2014-05-05.10 with
4022 trailing whitespace removed.
4023 * scripts/config.guess: Update to version 2014-03-23.
4024 * scripts/config.sub: Update to version 2014-05-01
4025 * scripts/install-sh: Update to version 2013-12-25.23.
4026 * scripts/move-if-change: Update from gnulib.
4027
74171115
SP
40282014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
4029
b97c9ce5
SP
4030 * debug/memmove_chk.c: Remove pagecopy.h include.
4031
4000f892
SP
40322014-06-26 Paul Eggert <eggert@cs.ucla.edu>
4033
74171115
SP
4034 * time/mktime.c (leapyear): Remove inline keyword. The code is now
4035 identical to gnulib mktime.
4036
a8779c28
JM
40372014-06-26 Joseph Myers <joseph@codesourcery.com>
4038
e64708de
JM
4039 * configure.ac: Do not test for machine being rs6000. Do not test
4040 for powerpc*-*soft.
4041 * configure: Regenerated.
4042
a8779c28
JM
4043 * configure.ac (libc_cv_asm_cfi_directives): Remove configure
4044 test.
4045 * configure: Regenerated.
4046 * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
4047 * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
4048 Remove configure test.
4049 * sysdeps/arm/configure: Regenerated.
4050 * sysdeps/nptl/configure.ac: Do not check
4051 libc_cv_asm_cfi_directives.
4052 * sysdeps/nptl/configure: Regenerated.
4053 * sysdeps/x86_64/nptl/configure.ac: Remove file.
4054 * sysdeps/x86_64/nptl/configure: Remove generated file.
4055 * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
4056 unconditional.
4057 [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
4058
2aac0a86
SP
40592014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
4060
059bf913
SP
4061 * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
4062 * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
4063 (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
4064 it is defined.
4065
4cf5b6d0
SP
4066 * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
4067 instead of whether it is defined.
4068 * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
4069 * sysdeps/hppa/dl-machine.h: Likewise.
4070 * sysdeps/ia64/dl-machine.h: Likewise.
4071 * sysdeps/m68k/dl-machine.h: Likewise.
4072 * sysdeps/microblaze/dl-machine.h: Likewise.
4073 * sysdeps/mips/dl-machine.: Likewise.
4074 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
4075 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
4076 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
4077 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
4078 * sysdeps/sh/dl-machine.h: Likewise.
4079 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
4080 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
4081 * sysdeps/tile/dl-machine.h: Likewise.
4082 * sysdeps/x86_64/dl-machine.h: Likewise.
4083
2aac0a86
SP
4084 * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
4085 code.
4086 (verify_persistent_db): Likewise.
4087
6ad2df0b
RM
40882014-06-26 Roland McGrath <roland@hack.frob.com>
4089
d8a483f3
RM
4090 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
4091 * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
4092 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
4093 * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
4094 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
4095 Moved ...
4096 * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
4097 ... here.
4098 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
4099 * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
4100 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
4101 Identical file removed.
4102 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
4103 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
4104 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
4105 * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
4106 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
4107 * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
4108 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
4109 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
4110 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
4111 * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
4112 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
4113 Moved ...
4114 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
4115 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
4116 * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
4117 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
4118 * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
4119 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
4120 Moved ...
4121 * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
4122 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
4123 * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
4124 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
4125 * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
4126 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
4127 Identical file removed.
4128 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
4129 * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
4130 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
4131 * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
4132 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
4133 Moved ...
4134 * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
4135 ... here.
4136 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
4137 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
4138 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
4139 * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
4140 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
4141 * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
4142 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
4143 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
4144 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
4145 * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
4146 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
4147 Moved ...
4148 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
4149 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
4150 Moved ...
4151 * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
4152 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
4153 * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
4154 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
4155 Moved ...
4156 * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
4157 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
4158 * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
4159
52ae23b4
RM
4160 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
4161 folded into ...
4162 * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
4163 * sysdeps/unix/sysv/linux/s390/Versions
4164 (libpthread: GLIBC_2.19): New version set.
4165 * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
4166 * sysdeps/unix/sysv/linux/s390/s390-64/Versions
4167 (librt: GLIBC_2.3.3): New version set.
4168 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
4169 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
4170 * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
4171 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
4172 * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
4173 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
4174 * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
4175 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
4176 * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
4177 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
4178 * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
4179 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
4180 * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
4181 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
4182 * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
4183 * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
4184 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
4185 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
4186 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
4187 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
4188 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
4189 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
4190 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
4191 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
4192 * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
4193 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
4194 * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
4195 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
4196 * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
4197 * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
4198 * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
4199 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
4200 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
4201 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
4202 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
4203 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
4204 * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
4205 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
4206 * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
4207 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
4208 * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
4209 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
4210 * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
4211 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
4212 * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
4213
39507e4a
RM
4214 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
4215 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
4216 (__libc_vfork): Define the function under this name.
4217 [!NOT_IN_libc] (__vfork): Make this an alias.
4218 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
4219 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
4220 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
4221 (__libc_vfork): Define the function under this name.
4222 [!NOT_IN_libc] (__vfork): Make this an alias.
4223 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
4224 * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
4225 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
4226 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
4227 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
4228 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
4229
e549ee56
RM
4230 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
4231 code that was previously under [RESET_PID].
4232 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
4233 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
4234 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
4235
6ad2df0b
RM
4236 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
4237 * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
4238 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
4239 * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
4240 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
4241 * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
4242 * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
4243 * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
4244 * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
4245 * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
4246 * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
4247 Moved ...
4248 * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
4249 * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
4250 * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
4251 * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
4252 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
4253 * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
4254 * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
4255 * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
4256 * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
4257 * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
4258 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
4259 * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
4260 * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
4261 * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
4262 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
4263 * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
4264 * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
4265 * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
4266 * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
4267 * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
4268 * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
4269 * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
4270 * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
4271 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
4272 * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
4273 * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
4274 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
4275 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
4276 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
4277
7c1c1d8e
RM
42782014-06-25 Roland McGrath <roland@hack.frob.com>
4279
4280 * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
4281 that was previously under [RESET_PID].
4282 * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
4283
3e239be6
JM
42842014-06-25 Joseph Myers <joseph@codesourcery.com>
4285
74385da5
JM
4286 * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
4287 not undefine and redefine.
4288 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
4289 [O_CLOEXEC]: Make code unconditional.
4290 (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
4291 * sysdeps/unix/sysv/linux/shm_open.c: Do not include
4292 <kernel-features.h>.
4293 [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
4294 conditional variable definition.
4295 (shm_open) [O_CLOEXEC]: Make code unconditional.
4296 (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
4297 code.
4298
c2570a0b
JM
4299 * configure.ac (USE_REGPARMS): Don't define here.
4300 * configure: Regenerated.
4301 * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
4302 * sysdeps/i386/configure: Regenerated.
4303
11b076bb
JM
4304 * nptl/createthread.c: Don't include kernel-features.h.
4305 * nptl/pthread_cancel.c: Likewise.
4306 * nptl/pthread_condattr_setclock.c: Likewise.
4307 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
4308 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
4309 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
4310 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
4311 * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
4312 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
4313 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
4314 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
4315 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
4316 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
4317 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
4318 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
4319 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
4320 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
4321 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
4322 * nscd/gai.c: Likewise.
4323 * nss/nss_db/db-open.c: Likewise.
4324 * sysdeps/generic/ldsodefs.h: Likewise.
4325 * sysdeps/sh/nptl/tls.h: Likewise.
4326 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
4327 * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
4328 * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
4329 * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
4330 * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
4331 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
4332 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
4333 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
4334 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
4335 * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
4336 * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
4337 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
4338 * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
4339 * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
4340 * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
4341 * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
4342 * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
4343 * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
4344 * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
4345 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
4346 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
4347 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
4348 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
4349 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
4350 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
4351 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
4352 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
4353 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
4354 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
4355 * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
4356 * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
4357 * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
4358 * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
4359 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
4360 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
4361 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
4362 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
4363 * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
4364 * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
4365 * sysdeps/unix/sysv/linux/if_index.c: Likewise.
4366 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
4367 * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
4368 * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
4369 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
4370 * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
4371 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
4372 * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
4373 * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
4374 * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
4375 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
4376 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
4377 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
4378 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
4379 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
4380 * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
4381 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
4382 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
4383 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
4384 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
4385 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
4386 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
4387 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
4388 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
4389 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
4390 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
4391 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
4392 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
4393 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
4394 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
4395 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
4396 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
4397 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
4398 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
4399 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
4400 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
4401 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
4402 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
4403 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
4404 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
4405 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
4406 * sysdeps/unix/sysv/linux/pread.c: Likewise.
4407 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
4408 * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
4409 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
4410 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
4411 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
4412 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
4413 * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
4414 * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
4415 * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
4416 * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
4417 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
4418 * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
4419 * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
4420 * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
4421 * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
4422 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
4423 * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
4424 * sysdeps/unix/sysv/linux/syslog.c: Likewise.
4425 * sysdeps/unix/sysv/linux/system.c: Likewise.
4426 * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
4427 * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
4428 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
4429 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
4430 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
4431 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
4432 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
4433
92072d57
JM
4434 * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
4435 * configure: Regenerated.
4436 * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
4437
3e239be6
JM
4438 * configure.ac (base_machine): Do not set specially for particular
4439 machines here.
4440 * configure: Regenerated.
4441 * sysdeps/powerpc/preconfigure: Move machine and base_machine
4442 settings from configure.ac.
4443 * sysdeps/i386/preconfigure: New file.
4444 * sysdeps/s390/preconfigure: Likewise.
4445 * sysdeps/sh/preconfigure: Likewise.
4446 * sysdeps/sparc/preconfigure: Likewise.
4447
06d50baa
RM
44482014-06-25 Roland McGrath <roland@hack.frob.com>
4449
74836003
RM
4450 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
4451 * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
4452 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
4453 * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
4454 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
4455 * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
4456 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
4457 * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
4458 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
4459 * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
4460 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
4461 * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
4462 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
4463 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
4464 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
4465 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
4466 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
4467 * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
4468 * sysdeps/sparc/sparc64/Makefile: ... appended here.
4469
4470 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
4471 * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
4472 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
4473 * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
4474 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
4475 * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
4476 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
4477 * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
4478 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
4479 * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
4480 * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
4481 * sysdeps/sparc/sparc32/sem_post.c: ... here.
4482 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
4483 * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
4484 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
4485 * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
4486 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
4487 * sysdeps/sparc/sparc32/sem_wait.c: ... here.
4488 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
4489 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
4490 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
4491 * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
4492 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
4493 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
4494 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
4495 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
4496 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
4497 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
4498 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
4499 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
4500 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
4501 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
4502 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
4503 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
4504 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
4505 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
4506 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
4507 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
4508
06d50baa
RM
4509 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
4510 * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
4511 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
4512 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
4513 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
4514 Moved ...
4515 * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
4516 ... here.
4517 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
4518 * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
4519 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
4520 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
4521 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
4522 Moved ...
4523 * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
4524 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
4525 * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
4526 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
4527 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
4528 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
4529 * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
4530 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
4531 Moved ...
4532 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
4533 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
4534 Moved ...
4535 * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
4536 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
4537 * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
4538 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
4539 Moved ...
4540 * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
4541 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
4542 * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
4543 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
4544 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
4545 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
4546 * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
4547 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
4548 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
4549 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
4550 Moved ...
4551 * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
4552 ... here.
4553 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
4554 * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
4555 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
4556 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
4557 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
4558 Moved ...
4559 * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
4560 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
4561 * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
4562 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
4563 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
4564 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
4565 * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
4566 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
4567 Moved ...
4568 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
4569 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
4570 Moved ...
4571 * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
4572 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
4573 * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
4574 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
4575 Moved ...
4576 * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
4577 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
4578 * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
4579 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
4580 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
4581
a4ccbc9b
JM
45822014-06-25 Joseph Myers <joseph@codesourcery.com>
4583
0828edbf
JM
4584 * timezone/checktab.awk: Update from tzcode 2014e.
4585 * timezone/private.h: Likewise.
4586 * timezone/tzfile.h: Likewise.
4587 * timezone/zdump.c: Likewise.
4588 * timezone/zic.c: Likewise.
4589
a4ccbc9b
JM
4590 * sysdeps/unix/sysv/linux/kernel-features.h
4591 (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
4592 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
4593 [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
4594 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
4595 Remove conditional code.
4596
9aea0cb8
WN
45972014-06-25 Will Newton <will.newton@linaro.org>
4598
4599 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
4600 (_dl_arm_cap_flags): Add HWCAP2 values.
4601 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
4602 (_DL_HWCAP_COUNT): Increase to 37.
4603 (_DL_HWCAP_LAST): New define.
4604 (_DL_HWCAP2_LAST): New define.
4605 (_dl_procinfo): Add support for printing
4606 AT_HWCAP2 entries.
4607 (_dl_string_hwcap): Use _dl_hwcap_string.
4608
6eaa65ce
AZ
46092014-06-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4610
4611 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4612
0f5b7185
JM
46132014-06-25 Joseph Myers <joseph@codesourcery.com>
4614
cfd2ea50
JM
4615 * README: Do not mention ports directory.
4616
cecf2ed4
JM
4617 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
4618 Remove macro.
4619 * sysdeps/unix/sysv/linux/futimes.c: Do not include
4620 <kernel-features.h>.
4621 [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
4622 conditional variable definition.
4623 (__futimes): Update comment.
4624 (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
4625 (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
4626
a638de82
JM
4627 [BZ #16560]
4628 * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
4629 arguments close to 0.
4630 * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
4631 Likewise.
4632 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
4633 Likewise.
4634 * math/auto-libm-test-in: Add more tests of exp10.
4635 * math/auto-libm-test-out: Regenerated.
4636 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4637
0f5b7185
JM
4638 * sysdeps/unix/sysv/linux/kernel-features.h
4639 (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
4640 * sysdeps/unix/sysv/linux/readv.c: Do not include
4641 <kernel-features.h>.
4642 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
4643 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
4644 (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
4645 unconditional.
4646 (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
4647 conditional code.
4648 * sysdeps/unix/sysv/linux/writev.c: Do not include
4649 <kernel-features.h>.
4650 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
4651 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
4652 (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
4653 unconditional.
4654 (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
4655 conditional code.
4656
c7aec4be
WN
46572014-06-25 Will Newton <will.newton@linaro.org>
4658
4659 * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
4660 comment changes throughout the file. Remove checks
4661 for HAVE_*_H definitions that are not required.
4662 (__gen_tempname): Call abort if an unknown kind value is
4663 passed.
4664
c5241f95
AS
46652014-06-25 Andreas Schwab <schwab@suse.de>
4666
4667 [BZ #17086]
4668 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
4669 scalbln, scalblnf, scalblnl in libc.
4670
911422da
SP
46712014-06-25 Siddhesh Poyarekar <siddhesh@redhat.com>
4672
4673 [BZ #17086]
4674 * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
4675 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
4676 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
4677
0d749bbe
RM
46782014-06-24 Roland McGrath <roland@hack.frob.com>
4679
4680 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
4681 * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
4682 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
4683 * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
4684 Update #include.
4685 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
4686 * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
4687 Update #include.
4688 * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
4689 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
4690 * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
4691 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
4692 * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
4693 * sysdeps/x86/bits/pthreadtypes.h: ... here.
4694 * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
4695 * sysdeps/x86/bits/semaphore.h: ... here.
4696 * sysdeps/x86/nptl/elide.h: Moved ...
4697 * sysdeps/x86/elide.h: ... here.
4698 * sysdeps/x86_64/nptl/Implies: File removed.
4699 * sysdeps/i386/nptl/Implies: File removed.
4700
0ea5d373
JM
47012014-06-24 Joseph Myers <joseph@codesourcery.com>
4702
4060283d
JM
4703 [BZ #16539]
4704 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
4705 return the argument for normal arguments with exponent below -64.
4706 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
4707 Likewise.
4708 * math/auto-libm-test-in: Add another test of expm1.
4709 * math/auto-libm-test-out: Regenerated.
4710
e7dd3c8c
JM
4711 [BZ #16287]
4712 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
4713 calling __erfcl for arguments at least 16.
4714 * math/auto-libm-test-in: Add more tests of erf.
4715 * math/auto-libm-test-out: Regenerated.
4716
0ea5d373
JM
4717 * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
4718 individual architectures.
4719 * sysdeps/unix/sysv/linux/configure: Regenerated.
4720 * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
4721 * sysdeps/unix/sysv/linux/i386/configure: New generated file.
4722 * sysdeps/unix/sysv/linux/powerpc/configure.ac
4723 (ldd_rewrite_script): Define variable.
4724 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
4725 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
4726 file.
4727 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
4728 generated file.
4729 * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
4730 * sysdeps/unix/sysv/linux/s390/configure: New generated file.
4731 * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
4732 * sysdeps/unix/sysv/linux/sh/configure: New generated file.
4733 * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
4734 * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
4735 * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
4736 * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
4737
2307e126
SP
47382014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
4739
4740 [BZ #17084]
4741 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
4742 Rename member __data.d to __data.__elision_data.
4743
c0a4ed77
W
47442014-06-24 Wilco <wdijkstr@arm.com>
4745
4746 * NEWS: Add 16918 to fixed bug list.
4747
b8c00573
W
47482014-06-24 Wilco <wdijkstr@arm.com>
4749
4750 * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
4751
b5570d92
W
47522014-06-24 Wilco <wdijkstr@arm.com>
4753
4754 * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
4755 * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
4756 (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
4757 (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
4758 (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
4759 * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
4760 * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
4761 Use _FPU_MASK_RM.
4762
947bdca2
W
47632014-06-24 Wilco <wdijkstr@arm.com>
4764
4765 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
4766
00f669ed
W
47672014-06-24 Wilco <wdijkstr@arm.com>
4768
4769 * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
4770 * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
4771 * sysdeps/arm/fesetround.c (fesetround): Remove space.
4772 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
4773
db59bad3
W
47742014-06-24 Wilco <wdijkstr@arm.com>
4775
4776 [BZ #16918]
4777 * sysdeps/arm/feupdateenv.c (feupdateenv):
4778 Rewrite to reduce FPSCR accesses and fix return value.
4779
001f7b77
W
47802014-06-24 Wilco <wdijkstr@arm.com>
4781
4782 * sysdeps/arm/fclrexcpt.c (feclearexcept):
4783 Optimize to avoid unnecessary FPSCR writes.
4784 * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
4785 * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
4786 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
4787 * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
4788
4841e6a6
W
47892014-06-24 Wilco <wdijkstr@arm.com>
4790
4791 * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
4792 * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
4793 * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
4794 * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
4795 Call libc_fetestexcept_vfp.
4796 * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
4797 * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
4798 __SOFTFP__ ifdef so that they can be built for softfp.
4799
0813022c
SP
48002014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
4801
08e5862f
SP
4802 * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
4803 argument type signed char.
4804
0813022c
SP
4805 * Makerules (check-abi): Dump diff of symlist if the test
4806 fails.
4807
3fc7236a
RM
48082014-06-23 Roland McGrath <roland@hack.frob.com>
4809
aba8ef95
RM
4810 * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
4811 using abort.
4812
3fc7236a
RM
4813 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
4814 Remove unused variable ST.
4815
4da6db51
JM
48162014-06-23 Joseph Myers <joseph@codesourcery.com>
4817
4648909d
JM
4818 [BZ #16354]
4819 [BZ #17061]
4820 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
4821 small arguments before calling __expm1.
4822 * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
4823 small arguments before calling __expm1f.
4824 * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
4825 small arguments before calling __expm1l.
4826 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
4827 Likewise.
4828 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
4829 * math/auto-libm-test-in: Add more cosh tests. Do not allow
4830 spurious underflow for some cosh tests.
4831 * math/auto-libm-test-out: Regenerated.
4832 * sysdeps/i386/fpu/libm-test-ulps: Update.
4833
46a3d3c7
JM
4834 [BZ #17050]
4835 * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
4836 (__ieee754_y1): Set errno if return value overflows.
4837 * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
4838 (__ieee754_y1f): Set errno if return value overflows.
4839 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
4840 (__ieee754_y1l): Set errno if return value overflows.
4841 * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
4842 (__ieee754_y1l): Set errno if return value overflows.
4843 * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
4844 * math/auto-libm-test-out: Regenerated.
4845
863893ec
JM
4846 * math/gen-auto-libm-tests.c: Document use of
4847 ignore-zero-inf-sign.
4848 (input_flag_type): Add value flag_ignore_zero_inf_sign.
4849 (input_flags): Add ignore-zero-inf-sign.
4850 (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
4851 * math/gen-libm-test.pl (generate_testfile): Handle
4852 ignore-zero-inf-sign.
4853 * math/auto-libm-test-in: Mark some cpow tests with
4854 ignore-zero-inf-sign and some with xfail-rounding.
4855 * math/auto-libm-test-out: Regenerated.
4856 * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
4857 * sysdeps/i386/fpu/libm-test-ulps: Update.
4858 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4859
4da6db51
JM
4860 [BZ #16315]
4861 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
4862 overflowing or underflowing operations take place with sign of
4863 result.
4864 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
4865 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
4866 * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
4867 (__ieee754_pow): Recompute overflowing and underflowing results in
4868 original rounding mode.
4869 * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
4870 (__powl_helper): Allow negative argument X and scale negated value
4871 as needed. Avoid passing value outside [-1, 1] to f2xm1.
4872 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
4873 overflowing or underflowing operations take place with sign of
4874 result.
4875 * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
4876 Include <math.h>.
4877 * math/auto-libm-test-in: Add more tests of pow.
4878 * math/auto-libm-test-out: Regenerated.
4879 * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
4880 (pow_tonearest_test_data): Remove.
4881 (pow_test_tonearest): Likewise.
4882 (pow_towardzero_test_data): Likewise.
4883 (pow_test_towardzero): Likewise.
4884 (pow_downward_test_data): Likewise.
4885 (pow_test_downward): Likewise.
4886 (pow_upward_test_data): Likewise.
4887 (pow_test_upward): Likewise.
4888 (main): Don't call removed functions.
4889 * sysdeps/i386/fpu/libm-test-ulps: Update.
4890 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4891
5686b236
RM
48922014-06-23 Roland McGrath <roland@hack.frob.com>
4893
4894 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
4895 Moved ...
4896 * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
4897 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
4898 Moved ...
4899 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
4900 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
4901 Moved ...
4902 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
4903 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
4904 Moved ...
4905 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
4906 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
4907 File removed.
4908 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
4909 File removed.
4910 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
4911 File removed.
4912 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
4913 File removed.
4914 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
4915 File removed.
4916 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
4917 File removed.
4918 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
4919 File removed.
4920 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
4921 File removed.
4922 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
4923 File removed.
4924 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
4925 File removed.
4926 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
4927 File removed.
4928 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
4929 File removed.
4930 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
4931 Moved ...
4932 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
4933 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
4934 Moved ...
4935 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
4936 ... here.
4937 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
4938 Moved ...
4939 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
4940 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
4941 Moved ...
4942 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
4943 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
4944 Moved ...
4945 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
4946 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
4947 Moved ...
4948 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
4949 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
4950 Moved ...
4951 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
4952 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
4953 Moved ...
4954 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
4955 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
4956 Moved ...
4957 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
4958 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
4959 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
4960 ... here.
4961 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
4962 Moved ...
4963 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
4964 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
4965 Moved ...
4966 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
4967 ... here.
4968 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
4969 Moved ...
4970 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
4971 ... here.
4972 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
4973 Moved ...
4974 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
4975 ... here.
4976 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
4977 Moved ...
4978 * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
4979 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
4980 Moved ...
4981 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
4982 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
4983 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
4984 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
4985 Moved ...
4986 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
4987 ... here.
4988 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
4989 Moved ...
4990 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
4991 ... here.
4992 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
4993 Moved ...
4994 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
4995 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
4996 Moved ...
4997 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
4998 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
4999 Moved ...
5000 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
5001 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
5002 Moved ...
5003 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
5004 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
5005 Moved ...
5006 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
5007 ... here.
5008 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
5009 Moved ...
5010 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
5011 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
5012 Moved ...
5013 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
5014 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
5015 Moved ...
5016 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
5017 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
5018 Moved ...
5019 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
5020 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
5021 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
5022 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
5023 Moved ...
5024 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
5025 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
5026 Moved ...
5027 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
5028 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
5029 Moved ...
5030 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
5031 ... here.
5032 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
5033 Moved ...
5034 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
5035 ... here.
5036 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
5037 Moved ...
5038 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
5039 ... here.
5040 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
5041 Moved ...
5042 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
5043 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
5044 Moved ...
5045 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
5046 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
5047 Moved ...
5048 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
5049 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
5050 Moved ...
5051 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
5052 ... here.
5053 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
5054 Moved ...
5055 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
5056 ... here.
5057 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
5058 Moved ...
5059 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
5060 ... here.
5061 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
5062 Moved ...
5063 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
5064 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
5065 Moved ...
5066 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
5067
e6d90d67
WD
50682014-06-23 Will Newton <will.newton@linaro.org>
5069 Wilco <wdijkstr@arm.com>
5070
5071 * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
5072 implementation. Include get-rounding-mode.h.
5073 [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
5074 [!libc_feholdsetround_noex_ctx]: Define
5075 libc_feholdsetround_noex_ctx.
5076 [!libc_feholdsetround_noexf_ctx]: Define
5077 libc_feholdsetround_noexf_ctx.
5078 [!libc_feholdsetround_noexl_ctx]: Define
5079 libc_feholdsetround_noexl_ctx.
5080 (libc_feholdsetround_ctx): New function.
5081 (libc_feresetround_ctx): New function.
5082 (libc_feholdsetround_noex_ctx): New function.
5083 (libc_feresetround_noex_ctx): New function.
5084
d42df555
RM
50852014-06-23 Roland McGrath <roland@hack.frob.com>
5086
88a46474
RM
5087 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
5088 * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
5089 * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
5090 * sysdeps/mips/nptl/bits/semaphore.h: ... here.
5091 * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
5092 * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
5093
15bed472
RM
5094 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
5095 * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
5096 * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
5097 * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
5098 * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
5099 * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
5100 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
5101 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
5102 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
5103 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
5104 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
5105 Moved ...
5106 * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
5107 ... here.
5108 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
5109 * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
5110 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
5111 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
5112 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
5113 Moved ...
5114 * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
5115 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
5116 * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
5117 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
5118 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
5119 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
5120 * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
5121 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
5122 Moved ...
5123 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
5124 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
5125 Moved ...
5126 * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
5127 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
5128 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
5129 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
5130 Moved ...
5131 * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
5132 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
5133 * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
5134 * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
5135 * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
5136 * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
5137 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
5138 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
5139 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
5140 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
5141 Moved ...
5142 * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
5143 ... here.
5144 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
5145 * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
5146 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
5147 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
5148 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
5149 * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
5150 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
5151 * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
5152 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
5153 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
5154 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
5155 * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
5156 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
5157 Moved ...
5158 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
5159 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
5160 * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
5161 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
5162 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
5163 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
5164 Moved ...
5165 * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
5166 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
5167 * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
5168 * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
5169 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
5170
d42df555
RM
5171 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
5172 * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
5173 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
5174 * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
5175 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
5176 * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
5177 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
5178 * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
5179 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
5180 * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
5181 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
5182 * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
5183 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
5184 * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
5185 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
5186 * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
5187 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
5188 * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
5189 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
5190 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
5191 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
5192 * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
5193 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
5194 * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
5195 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
5196 * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
5197 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
5198 * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
5199
76e5216e
JM
52002014-06-23 Joseph Myers <joseph@codesourcery.com>
5201
5202 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
5203 (FALLOC_FL_COLLAPSE_RANGE): New macro.
5204 [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
5205 * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
5206 (IPV6_PMTUDISC_INTERFACE): Likewise.
5207 (IPV6_PMTUDISC_OMIT): Likewise.
5208
7a81cbcc
AS
52092014-06-23 Andreas Schwab <schwab@suse.de>
5210
5211 * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
5212 Remove unused errout label.
5213
db224009
AZ
52142014-06-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5215
5216 * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
5217 macro: hardware supports Vector Crypto instructions.
5218
f393b4aa
WN
52192014-06-23 Will Newton <will.newton@linaro.org>
5220
cc7d0447
WN
5221 * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
5222 rather than __builtin_expect.
5223
d6d06225
WN
5224 * elf/dl-lookup.c (undefined_msg): Remove variable.
5225 (_dl_lookup_symbol_x): Replace undefined_msg with string
5226 literal.
5227
f393b4aa
WN
5228 * elf/dl-lookup.c (do_lookup_unique): New function.
5229 (do_lookup_x): Move STB_GNU_UNIQUE handling code
5230 to a separate function.
5231
ac60763e
AS
52322014-06-23 Andreas Schwab <schwab@suse.de>
5233
5234 [BZ #17079]
5235 * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
5236 before reading the next line.
5237
c5c13355
WN
52382014-06-23 Will Newton <will.newton@linaro.org>
5239
5240 * test-skeleton.c (signal_handler): Use printf and %m
5241 rather than perror. Use printf rather than fprintf to
5242 stderr. Use puts rather than fputs to stderr.
5243 (main): Likewise.
5244
bd3675f9
LC
52452014-06-22 Ludovic Courtès <ludo@gnu.org>
5246
5247 * nscd/nscd.c (thread_info_t): Remove typedef.
5248 (thread_info): Remove variable.
5249
d03efb2f
AM
52502014-06-21 Allan McRae <allan@archlinux.org>
5251
5252 * NEWS: Mention CVE-2014-4043.
5253
bc4a86fa
RM
52542014-06-20 Roland McGrath <roland@hack.frob.com>
5255
dc9a54f8
RM
5256 * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
5257 * nptl/smp.h: ... here.
5258
bd7022c4
RM
5259 * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
5260
26ffd5e6
RM
5261 * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
5262 * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
5263 * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
5264 * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
5265
93a6d082
RM
5266 * nptl/allocatestack.c: Include <stack-aliasing.h>.
5267 * nptl/stack-aliasing.h: New file.
5268 * sysdeps/i386/i686/stack-aliasing.h: New file.
5269 * sysdeps/i386/i686/nptl/Makefile: File removed.
5270 * sysdeps/x86_64/stack-aliasing.h: New file.
5271 * sysdeps/x86_64/nptl/Makefile
5272 (CFLAGS-pthread_create.c): Variable removed.
5273
bc4a86fa
RM
5274 * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
5275 * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
5276 old file.
5277 * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
5278 * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
5279 old file.
5280
2272ffc1
JM
52812014-06-21 Joseph Myers <joseph@codesourcery.com>
5282
5283 * sysdeps/unix/sysv/linux/arm/kernel-features.h
5284 (__ASSUME_SIGFRAME_V2): Remove macro.
5285 * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
5286 [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
5287 (__default_sa_restorer_v2): Rename to __default_sa_restorer.
5288 (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
5289 * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
5290 Declare as function. Remove conditional macro definitions.
5291 (__default_rt_sa_restorer): Likewise.
5292 (__default_sa_restorer_v1): Remove declaration.
5293 (__default_sa_restorer_v2): Likewise.
5294 (__default_rt_sa_restorer_v1): Likewise.
5295 (__default_rt_sa_restorer_v2): Likewise.
5296 * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
5297 __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
5298 __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
5299
4b88139b
RM
53002014-06-20 Roland McGrath <roland@hack.frob.com>
5301
5302 * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
5303 (libpthread-routines): Add sysdep.
5304 * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
5305 * sysdeps/unix/sysv/linux/sparc/Versions
5306 (libpthread: GLIBC_2.3.3): New version set.
5307 * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
5308 * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
5309 * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
5310 * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
5311 * sysdeps/sparc/nptl/internaltypes.h: ... here. Use #include_next.
5312 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
5313 Moved ...
5314 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
5315 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
5316 * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
5317 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
5318 * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
5319 * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
5320 * sysdeps/sparc/nptl/sem_init.c: ... here.
5321 * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
5322 * sysdeps/sparc/nptl/sem_post.c: ... here.
5323 * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
5324 * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
5325 * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
5326 * sysdeps/sparc/nptl/sem_wait.c: ... here.
5327 * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
5328 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
5329 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
5330 (libpthread-routines): Add cpu_relax.
5331 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
5332 File removed.
5333 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
5334 (librt: GLIBC_2.3.3): New version set.
5335 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
5336 * sysdeps/sparc/sparc64/nptl/Makefile: New file.
5337 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
5338 (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
5339 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
5340 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
5341 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
5342 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
5343 Moved ...
5344 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
5345 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
5346 * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
5347 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
5348 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
5349 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
5350 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
5351 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
5352 * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
5353 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
5354 Moved ...
5355 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
5356 Update #include.
5357 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
5358 Moved ...
5359 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
5360 Update #include.
5361 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
5362 Moved ...
5363 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
5364 Update #include.
5365 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
5366 Moved ...
5367 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
5368 Update #include.
5369 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
5370 Moved ...
5371 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
5372 Update #include.
5373 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
5374 Moved ...
5375 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
5376 Update #include.
5377 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
5378 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
5379 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
5380 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
5381 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
5382 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
5383 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
5384 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
5385 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
5386 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
5387 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
5388 Moved ...
5389 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
5390 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
5391 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
5392 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
5393 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
5394
d7109027
JM
53952014-06-20 Joseph Myers <joseph@codesourcery.com>
5396
9bc6103d
JM
5397 * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
5398 * nptl/pthread_rwlock_timedrdlock.c: Likewise.
5399 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
5400 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
5401 * nscd/nscd.c: Likewise.
5402 * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
5403 * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
5404 * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
5405 * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
5406
d7109027
JM
5407 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
5408 <kernel-features.h>.
5409 (init_mq_netlink): Remove conditional have_sock_cloexec
5410 definitions. Remove code conditional on have_sock_cloexec < 0.
5411 (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
5412 (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
5413 * sysdeps/unix/sysv/linux/opensock.c: Do not include
5414 <kernel-features.h>.
5415 (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
5416 (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
5417
d92d8f8a
L
54182014-06-20 H.J. Lu <hongjiu.lu@intel.com>
5419
5420 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
5421 Add tests for memset_chk and memset.
5422
5423 * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
5424 with AVX2_Usable.
5425
4e6d2347
MR
54262014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
5427
257ce712
MR
5428 [BZ #16046]
5429 * elf/tst-dl-iter-static.c: New file.
5430 * elf/Makefile (tests-static): Add tst-dl-iter-static.
5431
4e6d2347
MR
5432 * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
5433 error.
5434
a2a76afe
JM
54352014-06-20 Joseph Myers <joseph@codesourcery.com>
5436
7fd00f99
JM
5437 * sysdeps/unix/sysv/linux/kernel-features.h
5438 (__ASSUME_F_GETOWN_EX): Remove macro.
5439 * sysdeps/unix/sysv/linux/fcntl.c: Do not include
5440 <kernel-features.h>.
5441 (miss_F_GETOWN_EX): Remove variable or macro.
5442 (do_fcntl): Do not check miss_F_GETOWN_EX.
5443 (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
5444
4a103975
JM
5445 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
5446 Remove macro.
5447 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
5448 [!__ASSUME_AT_RANDOM]: Remove conditional code.
5449 (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
5450
a2a76afe
JM
5451 * sysdeps/unix/sysv/linux/kernel-features.h
5452 (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
5453 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
5454 [ADJ_OFFSET_SS_READ]: Make code unconditional.
5455 (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
5456
90e5dd48
MR
54572014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
5458
5459 [BZ #17075]
5460 * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
5461 Fix calculation of the symbol's value.
5462 * sysdeps/arm/tst-armtlsdescloc.c: New file.
5463 * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
5464 * sysdeps/arm/tst-armtlsdescextnow.c: New file.
5465 * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
5466 * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
5467 * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
5468 * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
5469 `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
5470 (modules-names): Add `tst-armtlsdescmod',
5471 `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
5472 (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
5473 (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
5474 (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
5475 (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
5476 (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
5477 (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
5478 ($(objpfx)tst-armtlsdescloc): New dependency.
5479 ($(objpfx)tst-armtlsdescextnow): Likewise.
5480 ($(objpfx)tst-armtlsdescextlazy): Likewise.
5481 * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
5482 TLS scheme support.
5483 * sysdeps/arm/configure: Regenerate.
5484
809fdf0d
JM
54852014-06-20 Joseph Myers <joseph@codesourcery.com>
5486
5487 * include/fcntl.h (__atfct_seterrno): Remove prototype.
5488 (__atfct_seterrno_2): Likewise.
5489 * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
5490 <kernel-features.h>.
5491 (__ASSUME_ATFCTS): Do not undefine and redefine.
5492 * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
5493 (__have_atfcts): Remove conditional definition.
5494 (__fxstatat([__NR_fstatat64]: Make code unconditional.
5495 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
5496 unreachable if [__ASSUME_ATFCTS].
5497 * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
5498 not undefine and redefine.
5499 * sysdeps/unix/sysv/linux/faccessat.c: Do not include
5500 <kernel-features.h>.
5501 (faccessat) [__NR_faccessat]: Make code unconditional.
5502 (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
5503 * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
5504 <kernel-features.h>.
5505 (fchmodat) [__NR_fchmodat]: Make code unconditional.
5506 (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
5507 * sysdeps/unix/sysv/linux/fchownat.c: Do not include
5508 <kernel-features.h>.
5509 (fchownat) [__NR_fchownat]: Make code unconditional.
5510 (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
5511 * sysdeps/unix/sysv/linux/futimesat.c: Do not include
5512 <kernel-features.h>.
5513 (futimesat) [__NR_futimesat]: Make code unconditional.
5514 (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
5515 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
5516 <kernel-features.h>.
5517 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
5518 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
5519 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
5520 <kernel-features.h>.
5521 (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
5522 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
5523 * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
5524 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
5525 <kernel-features.h>.
5526 (__fxstatat) [__NR_fstatat64]: Make code unconditional.
5527 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
5528 * sysdeps/unix/sysv/linux/linkat.c: Do not include
5529 <kernel-features.h>.
5530 (linkat) [__NR_linkat]: Make code unconditional.
5531 (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
5532 * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
5533 * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
5534 <kernel-features.h>.
5535 (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
5536 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
5537 * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
5538 <kernel-features.h>.
5539 (mkdirat) [__NR_mkdirat]: Make code unconditional.
5540 (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
5541 * sysdeps/unix/sysv/linux/openat.c: Do not include
5542 <kernel-features.h>.
5543 [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
5544 [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
5545 (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
5546 (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
5547 * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
5548 * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
5549 <kernel-features.h>.
5550 (readlinkat) [__NR_readlinkat]: Make code unconditional.
5551 (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code. Return
5552 result of INLINE_SYSCALL directly, not via int variable.
5553 * sysdeps/unix/sysv/linux/renameat.c: Do not include
5554 <kernel-features.h>.
5555 [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
5556 (renameat) [__NR_renameat]: Make code unconditional.
5557 (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
5558 * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
5559 * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
5560 * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
5561 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
5562 (__ASSUME_ATFCTS): Do not undefine and redefine.
5563 * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
5564 <kernel-features.h>.
5565 (symlinkat) [__NR_symlinkat]: Make code unconditional.
5566 (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
5567 * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
5568 <kernel-features.h>.
5569 (unlinkat) [__NR_unlinkat]: Make code unconditional.
5570 (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
5571 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
5572 (__ASSUME_ATFCTS): Do not undefine and redefine.
5573 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
5574 <kernel-features.h>.
5575 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
5576 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
5577 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
5578 <kernel-features.h>.
5579 (__xmknodat) [__NR_mknodat]: Make code unconditional.
5580 (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
5581
224c6c51
L
55822014-06-20 H.J. Lu <hongjiu.lu@intel.com>
5583
5584 * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
5585
aa6ec754
AS
55862014-06-20 Andreas Schwab <schwab@linux-m68k.org>
5587
5588 [BZ #17069]
5589 * posix/regcomp.c (parse_reg_exp): Deallocate partially
5590 constructed tree before returning error.
5591 * posix/bug-regexp36.c: Expand test case.
5592
d8c2869d
SL
55932014-06-20 Stefan Liebler <stli@linux.vnet.ibm.com>
5594
3ef6b850
SL
5595 [BZ #6803]
5596 * math/libm-test.inc (scalbln_test_date):
5597 Add errno expectations.
5598 * math/w_scalblnf.c: New File.
5599 Add wrapper which checks for setting errno to ERANGE.
5600 Add weak_alias for corresponding scalbln function.
5601 * math/w_scalbln.c: Likewise.
5602 * math/w_scalblnl.c: Likewise.
5603 * math/Makefile (libm-calls): Add w_scalbln.
5604 * sysdeps/ieee754/flt-32/s_scalblnf.c:
5605 Remove weak_alias for corresponding scalbln function.
5606 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
5607 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
5608 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
5609 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
5610 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
5611 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
5612 * sysdeps/i386/fpu/s_scalbn.S: Likewise.
5613 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
5614 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
5615 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
5616 Remove long_double_symbol for scalblnl function in libm, libc.
5617 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
5618 Add wrapper which checks for setting errno to ERANGE.
5619 Add long_double_symbol for scalblnl function in libm, libc.
5620 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
5621 Remove long_double_symbol for scalblnl in libm.
5622 * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
5623 Add wrapper which checks for setting errno to ERANGE.
5624 Add long_double_symbol for scalblnl function in libm.
5625 * sysdeps/ia64/fpu/w_scalblnf.c: New File.
5626 Do not use wrapper because of own implementation.
5627
c8daec5c
L
56282014-06-19 H.J. Lu <hongjiu.lu@intel.com>
5629
5630 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
5631 3 bytes for __pad1 for x32.
5632 (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
5633
5c74e47c
LM
56342014-06-19 Ling Ma <ling.ml@alibaba-inc.com>
5635 H.J. Lu <hongjiu.lu@intel.com>
5636
5637 * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
5638 * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
5639 * sysdeps/x86_64/multiarch/memset.S: Likewise.
5640 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
5641 * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
5642
4d43ef1e
AS
56432014-06-19 Andreas Schwab <schwab@linux-m68k.org>
5644
5645 [BZ #17069]
5646 * posix/regcomp.c (parse_expression): Deallocate partially
5647 constructed tree before returning error.
5648 * posix/Makefile.c (tests): Add bug-regex36.
5649 (generated): Add bug-regex36.mtrace.
5650 (tests-special): Add $(objpfx)bug-regex36-mem.out
5651 (bug-regex36-ENV): New variable.
5652 ($(objpfx)bug-regex36-mem.out): New rule.
5653 * posix/bug-regex36.c: New file.
5654
51a7380b
WN
56552014-06-19 Will Newton <will.newton@linaro.org>
5656
5657 * malloc/malloc.c (systrim): If extra is zero then return
5658 early.
5659
91b84fe5
SP
56602014-06-19 Siddhesh Poyarekar <siddhesh@redhat.com>
5661
5662 * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
5663
f940b965
RE
56642014-06-19 Richard Earnshaw <rearnsha@arm.com>
5665
5666 * sysdeps/aarch64/strchr.S: New file.
5667
4ba7a00f
JM
56682014-06-18 Joseph Myers <joseph@codesourcery.com>
5669
5670 [BZ #17022]
5671 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
5672 from arguments -2 or below.
5673 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
5674 * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
5675
b3a9f56b
AS
56762014-06-18 Andreas Schwab <schwab@suse.de>
5677
5678 [BZ #17062]
5679 * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
5680 of a bracket expr not to run off the end of the string.
5681 * posix/Makefile (tests): Add tst-fnmatch3.
5682 * posix/tst-fnmatch3.c: New file.
5683
85d89278
JM
56842014-06-18 Joseph Myers <joseph@codesourcery.com>
5685
5686 * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
5687 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
5688 [$(cross-compiling) = no]: Likewise.
5689 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
5690 [$(cross-compiling) = no]: Likewise.
5691
754c5a08
RS
56922014-16-17 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
5693
5694 [BZ #17031]
5695 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
5696 double, adjusted for any remainder from the high double.
5697 * math/libm-test.inc (nearbyint): Add tests.
5698 (rint): Likewise.
5699
556f529d
AZ
57002014-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5701
5702 * nptl/sysdeps/powerpc/Makefile: Moved ...
5703 * sysdeps/powerpc/nptl/Makefile: ... here.
5704 * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
5705 * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
5706 * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
5707 * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
5708 * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
5709 * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
5710 * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
5711 * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
5712 * nptl/sysdeps/powerpc/tls.h: Moved ...
5713 * sysdeps/powerpc/nptl/tls.h: ... here.
5714
91c03c53
JM
57152014-06-16 Joseph Myers <joseph@codesourcery.com>
5716
5717 [BZ #16681]
5718 * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
5719 * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
5720 * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
5721 * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
5722 * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
5723 * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
5724 * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
5725 * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
5726 * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
5727
a76e63c5
AS
57282014-06-17 Andreas Schwab <schwab@linux-m68k.org>
5729
5730 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
5731
f2f6d82f
AS
57322014-06-16 Andreas Schwab <schwab@linux-m68k.org>
5733
ea8a15f6
AS
5734 * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
5735 defined operator.
5736
f2f6d82f
AS
5737 * scripts/cross-test-ssh.sh (timeoutfactor): Default to
5738 $TIMEOUTFACTOR.
5739
a7291117
FW
57402014-06-16 Florian Weimer <fweimer@redhat.com>
5741
5742 [BZ #17058]
5743 * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
5744 non-executed part of the test.
5745
3d7c00e3
AS
57462014-06-16 Andreas Schwab <schwab@suse.de>
5747
5748 * string/bits/string2.h (strdup, strndup): Update feature guard.
5749
6957fb31
DM
57502014-06-14 David S. Miller <davem@davemloft.net>
5751
5752 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5753
11b9e55b
AS
57542014-06-14 Andreas Schwab <schwab@linux-m68k.org>
5755
1d2a0492
AS
5756 * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
5757 that was previously under [RESET_PID].
5758 * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
5759
11b9e55b
AS
5760 * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
5761 * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
5762 * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
5763 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
5764 (__libc_vfork): New strong alias.
5765 * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
5766
0f6901d0
AK
57672014-06-14 Andi Kleen <ak@linux.intel.com>
5768
5769 * sysdeps/generic/elide.h: New file.
5770
38bbbb9f
SL
57712014-06-13 Stefan Liebler <stli@linux.vnet.ibm.com>
5772
5773 * Makefile (installed-headers): Adjust path of pthread.h header.
5774
45193bb8
RM
57752014-06-13 Roland McGrath <roland@hack.frob.com>
5776
9a25fd1e
RM
5777 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
5778 * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
5779 * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
5780 * sysdeps/s390/nptl/bits/semaphore.h: ... here.
5781
4004f7e4
RM
5782 * nptl/sysdeps/s390/Makefile: Moved ...
5783 * sysdeps/s390/nptl/Makefile: ... here.
5784 * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
5785 * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
5786 * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
5787 * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
5788 * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
5789 * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
5790 * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
5791 * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
5792 * nptl/sysdeps/s390/pthreaddef.h: Moved ...
5793 * sysdeps/s390/nptl/pthreaddef.h: ... here.
5794 * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
5795 * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
5796 * nptl/sysdeps/s390/tls.h: Moved ...
5797 * sysdeps/s390/nptl/tls.h: ... here.
5798
45193bb8
RM
5799 * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
5800 * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
5801
f6fdf533
DM
58022014-06-13 David S. Miller <davem@davemloft.net>
5803
5804 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
5805 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
5806 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
5807 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
5808 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
5809 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
5810 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
5811 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
5812 * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
5813 * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
5814 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
5815 Remove RESET_PID cpp guards.
5816 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
5817 Remove RESET_PID cpp guards.
5818 * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
5819
f5d71e14
AS
58202014-06-13 Andreas Schwab <schwab@linux-m68k.org>
5821
5822 * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
5823 __sp to uintptr_t.
5824
b7aa8caa
AK
58252014-06-13 Andi Kleen <ak@linux.intel.com>
5826
4b266200
AZ
5827 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
5828 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
5829 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
5830 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
5831 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
5832 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
5833 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
5834 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
5835 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
5836 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
5837 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
5838 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
5839 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
5840 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
5841 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
5842 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
5843 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
5844 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
5845 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
5846 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
8491ed6d
AK
5847
5848 * nptl/pthread_rwlock_rdlock.c: Include elide.h.
4b266200
AZ
5849 (pthread_rwlock_rdlock): Add elision.
5850 * nptl/pthread_rwlock_wrlock.c: Include elide.h.
5851 (pthread_rwlock_wrlock): Add elision.
5852 * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
5853 (pthread_rwlock_trywrlock): Add elision.
5854 * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
5855 (pthread_rwlock_tryrdlock): Add elision.
5856 * nptl/pthread_rwlock_unlock.c: Include elide.h.
5857 (pthread_rwlock_tryrdlock): Add elision unlock.
5858 * nptl/sysdeps/pthread/pthread.h:
5859 (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
5860 (PTHREAD_RWLOCK_INITIALIZER,
5861 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
5862 Handle new elision field.
5863 * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
5864 * sysdeps/arm/nptl/bits/pthreadtypes.h
5865 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
5866 * sysdeps/sh/nptl/bits/pthreadtypes.h
5867 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
5868 * sysdeps/tile/nptl/bits/pthreadtypes.h
5869 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
5870 * sysdeps/a/nptl/bits/pthreadtypes.h
5871 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
5872 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
5873 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
5874 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
5875 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
5876 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
5877 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
5878 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
5879 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
5880 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
5881 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
5882 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
5883 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
5884 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
5885 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
5886 * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
5887 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
5888 * sysdeps/unix/sysv/linux/x86/elision-conf.c:
5889 (elision_init): Set try_xbegin to zero when no RTM.
5890 * sysdeps/x86/nptl/bits/pthreadtypes.h
5891 (pthread_rwlock_t): Change __pad1 to __rwelision.
5892 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
8491ed6d 5893
a832bdd3
AK
58942014-06-13 Andi Kleen <ak@linux.intel.com>
5895
5896 * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
5897 Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
5898 * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
5899 Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
5900
995a46bb
MI
59012014-06-13 Meador Inge <meadori@codesourcery.com>
5902
5903 [BZ #16996]
03ed7738 5904 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
995a46bb
MI
5905 that the cached result has been set before returning it.
5906
45262aee
RM
59072014-06-12 Roland McGrath <roland@hack.frob.com>
5908
febf6cc5
RM
5909 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
5910 * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
5911 * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
5912 * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
5913 * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
5914 * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
5915
e2682246
RM
5916 * nptl/sysdeps/sparc/Makefile: Moved ...
5917 * sysdeps/sparc/nptl/Makefile: ... here.
5918 * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
5919 * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
5920 * nptl/sysdeps/sparc/tls.h: Moved ...
5921 * sysdeps/sparc/nptl/tls.h: ... here.
5922 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
5923 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
5924 * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
5925 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
5926 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
5927 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
5928 * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
5929 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
5930 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
5931 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
5932 * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
5933 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
5934 * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
5935 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
5936 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
5937 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
5938 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
5939 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
5940 Update #include.
5941 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
5942 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
5943 Update #include.
5944 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
5945 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
5946 Update #include.
5947 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
5948 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
5949 Update #include.
5950
b0725f43
RM
5951 * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
5952
b14368b8
RM
5953 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
5954 * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
5955
c5620eb3
RM
5956 * sysdeps/pthread/posix-timer.h: Include <list.h>.
5957 (struct list_links): Type removed.
5958 (struct thread_node, struct timer_node): Replace struct list_links
5959 with struct list_head.
5960 (list_unlink_ip): Likewise.
5961 * sysdeps/pthread/timer_routines.c
5962 (timer_free_list, thread_free_list, thread_active_list): Likewise.
5963 (list_append, list_insbefore): Likewise.
5964 (list_init): Function removed.
5965 (thread_init, init_module): Use INIT_LIST_HEAD instead.
463dc947
RM
5966 * sysdeps/nptl/Makefile: Move tst-timer bits to ...
5967 * sysdeps/pthread/Makefile: ... here, new file.
5968
5969 * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
5970 * sysdeps/nptl/Implies: ... here.
5971 * sysdeps/unix/sysv/linux/Implies: Add nptl.
5972 * nptl/sysdeps/pthread/list.h: Moved ...
5973 * include/list.h: ... here.
5974 * nptl/sysdeps/pthread/createthread.c: Moved ...
5975 * nptl/createthread.c: ... here.
5976 * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
5977 * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
5978 * nptl/pt-longjmp.c: ... here.
5979 * nptl/sysdeps/pthread/Makefile: Moved ...
5980 * sysdeps/nptl/Makefile: ... here.
5981 * nptl/sysdeps/pthread/Subdirs: Moved ...
5982 * sysdeps/nptl/Subdirs: ... here.
5983 * nptl/sysdeps/pthread/aio_misc.h: Moved ...
5984 * sysdeps/nptl/aio_misc.h: ... here.
5985 * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
5986 * sysdeps/nptl/bits/libc-lock.h: ... here.
5987 * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
5988 * sysdeps/nptl/bits/libc-lockP.h: ... here.
5989 * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
5990 * sysdeps/nptl/bits/stdio-lock.h: ... here.
5991 * nptl/sysdeps/pthread/configure: Moved ...
5992 * sysdeps/nptl/configure: ... here.
5993 * nptl/sysdeps/pthread/configure.ac: Moved ...
5994 * sysdeps/nptl/configure.ac: ... here.
5995 * nptl/sysdeps/pthread/gai_misc.h: Moved ...
5996 * sysdeps/nptl/gai_misc.h: ... here.
5997 * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
5998 * sysdeps/nptl/librt-cancellation.c: ... here.
5999 * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
6000 * sysdeps/nptl/malloc-machine.h: ... here.
6001 * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
6002 * sysdeps/nptl/pthread-functions.h: ... here.
6003 * nptl/sysdeps/pthread/pthread.h: Moved ...
6004 * sysdeps/nptl/pthread.h: ... here.
6005 * nptl/sysdeps/pthread/setxid.h: Moved ...
6006 * sysdeps/nptl/setxid.h: ... here.
6007 * nptl/sysdeps/pthread/sigfillset.c: Moved ...
6008 * sysdeps/nptl/sigfillset.c: ... here.
6009 * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
6010 * sysdeps/nptl/tcb-offsets.h: ... here.
6011 * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
6012 * sysdeps/nptl/tst-mqueue8x.c: ... here.
6013 * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
6014 * sysdeps/nptl/unwind-forcedunwind.c: ... here.
6015 * nptl/sysdeps/pthread/allocalim.h: Moved ...
6016 * sysdeps/pthread/allocalim.h: ... here.
6017 * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
6018 * sysdeps/pthread/bits/sigthread.h: ... here.
6019 * nptl/sysdeps/pthread/flockfile.c: Moved ...
6020 * sysdeps/pthread/flockfile.c: ... here.
6021 * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
6022 * sysdeps/pthread/ftrylockfile.c: ... here.
6023 * nptl/sysdeps/pthread/funlockfile.c: Moved ...
6024 * sysdeps/pthread/funlockfile.c: ... here.
6025 * nptl/sysdeps/pthread/posix-timer.h: Moved ...
6026 * sysdeps/pthread/posix-timer.h: ... here.
6027 * nptl/sysdeps/pthread/timer_create.c: Moved ...
6028 * sysdeps/pthread/timer_create.c: ... here.
6029 * nptl/sysdeps/pthread/timer_delete.c: Moved ...
6030 * sysdeps/pthread/timer_delete.c: ... here.
6031 * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
6032 * sysdeps/pthread/timer_getoverr.c: ... here.
6033 * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
6034 * sysdeps/pthread/timer_gettime.c: ... here.
6035 * nptl/sysdeps/pthread/timer_routines.c: Moved ...
6036 * sysdeps/pthread/timer_routines.c: ... here.
6037 * nptl/sysdeps/pthread/timer_settime.c: Moved ...
6038 * sysdeps/pthread/timer_settime.c: ... here.
6039 * nptl/sysdeps/pthread/tst-timer.c: Moved ...
6040 * sysdeps/pthread/tst-timer.c: ... here.
6041 * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
6042 * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
6043
e876b090
RM
6044 * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
6045 * nptl/sysdeps/pthread/sigprocmask.c: File removed.
6046
f6b07b3d
RM
6047 * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
6048 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
6049 * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
6050 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
6051 Update #include target.
6052 * nptl/sysdeps/i386/i686/Makefile: Moved ...
6053 * sysdeps/i386/i686/nptl/Makefile: ... here.
6054 * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
6055 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
6056 Update #include target.
6057 * nptl/sysdeps/i386/i686/tls.h: Moved ...
6058 * sysdeps/i386/i686/nptl/tls.h: ... here. Use #include_next.
6059 * nptl/sysdeps/i386/Makefile: Moved ...
6060 * sysdeps/i386/nptl/Makefile: ... here.
6061 * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
6062 * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
6063 * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
6064 * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
6065 * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
6066 * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
6067 * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
6068 * nptl/sysdeps/i386/pthreaddef.h: Moved ...
6069 * sysdeps/i386/nptl/pthreaddef.h: ... here.
6070 * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
6071 * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
6072 * nptl/sysdeps/i386/tls.h: Moved ...
6073 * sysdeps/i386/nptl/tls.h: ... here.
6074
45262aee
RM
6075 * sysdeps/sh/Makefile [$(subdir) = csu]
6076 (gen-as-const-headers): Add tcb-offsets.sym.
6077 * nptl/sysdeps/sh/Makefile: File removed.
6078 * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
6079 * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
6080 * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
6081 * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
6082 * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
6083 * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
6084 * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
6085 * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
6086 * nptl/sysdeps/sh/pthreaddef.h: Moved ...
6087 * sysdeps/sh/nptl/pthreaddef.h: ... here.
6088 * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
6089 * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
6090 * nptl/sysdeps/sh/tls.h: Moved ...
6091 * sysdeps/sh/nptl/tls.h: ... here.
6092 * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
6093 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
6094 * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
6095 * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
6096 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
6097 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
6098 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
6099 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
6100 * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
6101 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
6102 * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
6103 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
6104 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
6105 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
6106 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
6107 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
6108 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
6109 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
6110 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
6111 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
6112 * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
6113 * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
6114 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
6115 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
6116 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
6117 Moved ...
6118 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
6119 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
6120 Moved ...
6121 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
6122 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
6123 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
6124 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
6125 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
6126 * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
6127 * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
6128 * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
6129 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
6130 * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
6131 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
6132 * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
6133 * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
6134 * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
6135 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
6136 * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
6137 * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
6138 * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
6139 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
6140
35a5e3e3
SL
61412014-06-12 Stefan Liebler <stli@linux.vnet.ibm.com>
6142
6143 * posix/spawn_faction_addopen.c: Include string.h.
6144
14642b85
RM
61452014-06-11 Roland McGrath <roland@hack.frob.com>
6146
6147 * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
6148 * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
6149 * nptl/sysdeps/x86_64/Makefile: Moved ...
6150 * sysdeps/x86_64/nptl/Makefile: ... here.
6151 * nptl/sysdeps/x86_64/configure: Moved ...
6152 * sysdeps/x86_64/nptl/configure: ... here.
6153 * nptl/sysdeps/x86_64/configure.ac: Moved ...
6154 * sysdeps/x86_64/nptl/configure.ac: ... here.
6155 * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
6156 * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
6157 * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
6158 * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
6159 * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
6160 * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
6161 * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
6162 * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
6163 * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
6164 * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
6165 * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
6166 * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
6167 * nptl/sysdeps/x86_64/tls.h: Moved ...
6168 * sysdeps/x86_64/nptl/tls.h: ... here.
6169 * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
6170 * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
6171 * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
6172 * sysdeps/x86_64/x32/nptl/tls.h: ... here.
6173
6174 * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
6175
31c44fea
AZ
61762014-06-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6177
6178 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6179
e81a4f9a
JM
61802014-06-11 Joseph Myers <joseph@codesourcery.com>
6181
6182 * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
6183 type.
6184 [POSIX] (off_t): Likewise.
6185 * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
6186 [POSIX] (S_ISBLK): Require macro.
6187 [POSIX] (S_ISCHR): Likewise.
6188 [POSIX] (S_ISDIR): Likewise.
6189 [POSIX] (S_ISFIFO): Likewise.
6190 [POSIX] (S_ISREG): Likewise.
6191 [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
6192 optional-macro.
6193 * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
6194 type.
6195 [POSIX] (time_t): Likewise.
6196 [POSIX] (timer_t): Likewise.
6197
89e435f3
FW
61982014-06-11 Florian Weimer <fweimer@redhat.com>
6199
6200 [BZ #17048]
6201 * posix/spawn_int.h (struct __spawn_action): Make the path string
6202 non-const to support deallocation.
6203 * posix/spawn_faction_addopen.c
6204 (posix_spawn_file_actions_addopen): Make a copy of the pathname.
6205 * posix/spawn_faction_destroy.c
6206 (posix_spawn_file_actions_destroy): Adjust comment. Deallocate
6207 path in all spawn_do_open actions.
6208 * posix/tst-spawn.c (do_test): Exercise the copy operation in
6209 posix_spawn_file_actions_addopen.
6210
c3a2ebe1
CM
62112014-06-11 Chris Metcalf <cmetcalf@tilera.com>
6212
6213 * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
6214 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
6215 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
6216 conditional code always true.
6217 (__libc_vfork): New alias.
6218
9503784a
RM
62192014-06-11 Roland McGrath <roland@hack.frob.com>
6220
c9cab3d2
RM
6221 * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
6222 * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
6223
d3996c79
RM
6224 * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
6225
ba5ec611
RM
6226 * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
6227 * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
6228
f12b4814
RM
6229 * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
6230 * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
6231
9503784a
RM
6232 * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
6233 * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
6234
e23d3d26
VR
62352014-06-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
6236
6237 * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
6238 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
6239 multiarch strcmp for PPC64.
6240 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
6241 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
6242 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
6243 multiarch optimizations.
6244 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
6245 (__libc_ifunc_impl_list): Likewise.
6246
42b1161e
SP
62472014-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
6248
6249 * benchtests/scripts/validate_benchout.py: New script.
6250 * benchtests/Makefile (bench-func): Call it.
6251 * benchtests/scripts/benchout.schema.json: New file.
6252
2d0fc4dc
CM
62532014-06-10 Chris Metcalf <cmetcalf@tilera.com>
6254
4a594c34
AZ
6255 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
6256 * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
6257 * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
6258 * sysdeps/tile/nptl/bits/semaphore.h: ... here.
6259 * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
6260 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
6261 * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
6262 * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
6263 * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
6264 * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
6265 * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
6266 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
6267 * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
6268 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
6269 * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
6270 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
6271 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
2d0fc4dc 6272 Moved ...
4a594c34 6273 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
2d0fc4dc 6274 ... here.
4a594c34 6275 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
2d0fc4dc 6276 Moved ...
4a594c34
AZ
6277 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
6278 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
2d0fc4dc 6279 Moved ...
4a594c34 6280 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
2d0fc4dc 6281 ... here.
4a594c34 6282 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
2d0fc4dc 6283 Moved ...
4a594c34 6284 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
2d0fc4dc 6285 ... here.
4a594c34 6286 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
2d0fc4dc 6287 Moved ...
4a594c34
AZ
6288 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
6289 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
2d0fc4dc 6290 Moved ...
4a594c34 6291 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
2d0fc4dc 6292 ... here.
4a594c34 6293 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
2d0fc4dc 6294 Moved ...
4a594c34 6295 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
2d0fc4dc 6296 ... here.
4a594c34 6297 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
2d0fc4dc 6298 Moved ...
4a594c34
AZ
6299 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
6300 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
2d0fc4dc 6301 Moved ...
4a594c34 6302 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
2d0fc4dc 6303 ... here.
4a594c34 6304 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
2d0fc4dc 6305 Moved ...
4a594c34 6306 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
2d0fc4dc 6307 ... here.
4a594c34 6308 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
2d0fc4dc 6309 Moved ...
4a594c34 6310 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
2d0fc4dc 6311 ... here.
4a594c34 6312 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
2d0fc4dc 6313 Moved ...
4a594c34
AZ
6314 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
6315 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
2d0fc4dc 6316 Moved ...
4a594c34 6317 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
2d0fc4dc 6318 ... here.
4a594c34 6319 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
2d0fc4dc 6320 Moved ...
4a594c34 6321 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
2d0fc4dc 6322 ... here.
4a594c34 6323 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
2d0fc4dc 6324 Moved ...
4a594c34 6325 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
2d0fc4dc 6326 ... here.
4a594c34 6327 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
2d0fc4dc 6328 Moved ...
4a594c34
AZ
6329 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
6330 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
2d0fc4dc 6331 Moved ...
4a594c34 6332 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
2d0fc4dc 6333 ... here.
4a594c34 6334 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
2d0fc4dc 6335 Moved ...
4a594c34 6336 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
2d0fc4dc 6337 ... here.
4a594c34 6338 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
2d0fc4dc 6339 Moved ...
4a594c34
AZ
6340 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
6341 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
2d0fc4dc 6342 Moved ...
4a594c34 6343 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
2d0fc4dc 6344 ... here.
4a594c34 6345 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
2d0fc4dc 6346 Moved ...
4a594c34
AZ
6347 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
6348 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
2d0fc4dc 6349 Moved ...
4a594c34
AZ
6350 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
6351 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
2d0fc4dc 6352 Moved ...
4a594c34 6353 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
2d0fc4dc 6354 ... here.
4a594c34 6355 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
2d0fc4dc 6356 Moved ...
4a594c34 6357 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
2d0fc4dc 6358 ... here.
4a594c34 6359 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
2d0fc4dc 6360 Moved ...
4a594c34 6361 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
2d0fc4dc 6362 ... here.
4a594c34 6363 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
2d0fc4dc 6364 Moved ...
4a594c34
AZ
6365 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
6366 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
2d0fc4dc 6367 Moved ...
4a594c34 6368 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
2d0fc4dc 6369 ... here.
4a594c34 6370 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
2d0fc4dc 6371 Moved ...
4a594c34 6372 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
2d0fc4dc 6373 ... here.
4a594c34
AZ
6374 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
6375 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
6376 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
6377 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
6378 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
2d0fc4dc 6379 Moved ...
4a594c34 6380 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
2d0fc4dc 6381 ... here.
4a594c34
AZ
6382 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
6383 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
6384 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
6385 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
6386 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
6387 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
6388 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
6389 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
6390 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
6391 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
6392 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
6393 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
6394 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
2d0fc4dc 6395 Moved ...
4a594c34
AZ
6396 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
6397 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
2d0fc4dc 6398 Moved ...
4a594c34
AZ
6399 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
6400 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
6401 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
6402 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
2d0fc4dc 6403 Moved ...
4a594c34
AZ
6404 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
6405 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
6406 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
6407 * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
6408 * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
6409 * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
6410 * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
2d0fc4dc 6411
0570cfed
W
64122014-06-10 Wilco <wdijkstr@arm.com>
6413
6414 * math/test-fenv-return.c: New file.
6415 * math/Makefile: Add new test test-fenv-return.
6416
f8ba1b56
JM
64172014-06-10 Joseph Myers <joseph@codesourcery.com>
6418
6419 [BZ #17042]
6420 * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
6421 when x - 1 is zero.
6422 * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
6423 * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
6424 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
6425 0.0L for an argument of 1.0L.
6426 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
6427 Likewise.
6428 * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
6429 value when x - 1 is zero.
6430 * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
6431 * sysdeps/i386/fpu/libm-test-ulps: Update.
6432 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6433
2c3520d9
BO
64342014-06-09 Bernard Ogden <bernie.ogden@linaro.org>
6435
6436 [BZ #15119]
6437 * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
6438
acaa4d24
RM
64392014-06-09 Roland McGrath <roland@hack.frob.com>
6440
6441 * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
6442 * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
6443
962b744d
RM
64442014-06-09 Roland McGrath <roland@hack.frob.com>
6445
d752f0cc
RM
6446 * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
6447 * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
6448
34eda6d1
RM
6449 * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
6450 * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
6451
50f0a637
RM
6452 * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
6453 * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
6454
08f41f04
RM
6455 * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
6456 * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
6457
962b744d
RM
6458 * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
6459 if not already defined.
6460 (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
6461 * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
6462 * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
6463 (TLS_INIT_TP): Use it.
6464 (TLS_DEFINE_INIT_TP): New macro.
6465 * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
6466
09f19b05
JM
64672014-06-09 Joseph Myers <joseph@codesourcery.com>
6468
6469 * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
6470 constant.
6471 [POSIX] (IXANY): Likewise.
6472 [POSIX] (OLCUC): Likewise.
6473 [POSIX || POSIX2008] (CBAUD): Do not allow.
6474 [POSIX || POSIX2008] (DEFECHO): Likewise.
6475 [POSIX || POSIX2008] (ECHOCTL): Likewise.
6476 [POSIX || POSIX2008] (ECHOKE): Likewise.
6477 [POSIX || POSIX2008] (ECHOPRT): Likewise.
6478 [POSIX || POSIX2008] (EXTA): Likewise.
6479 [POSIX || POSIX2008] (EXTB): Likewise.
6480 [POSIX || POSIX2008] (FLUSHO): Likewise.
6481 [POSIX || POSIX2008] (LOBLK): Likewise.
6482 [POSIX || POSIX2008] (PENDIN): Likewise.
6483 [POSIX || POSIX2008] (SWTCH): Likewise.
6484 [POSIX || POSIX2008] (VDISCARD): Likewise.
6485 [POSIX || POSIX2008] (VDSUSP): Likewise.
6486 [POSIX || POSIX2008] (VLNEXT): Likewise.
6487 [POSIX || POSIX2008] (VREPRINT): Likewise.
6488 [POSIX || POSIX2008] (VSTATUS): Likewise.
6489 [POSIX || POSIX2008] (VWERASE): Likewise.
6490 (B*): Change to B[0123456789]*.
6491 * conform/data/time.h-data [POSIX || UNIX98]
6492 (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
6493 [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
6494 [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
6495 [POSIX] (tm_*): Do not allow.
6496
686554bf
JM
64972014-06-07 Joseph Myers <joseph@codesourcery.com>
6498
6499 * Makefile (install): Don't set LANGUAGE.
6500 * Makefile.in (install): Likewise.
6501 * assert/Makefile (test-assert-ENV): Remove variable.
6502 (test-assert-perr-ENV): Likewise.
6503 * elf/Makefile (neededtest4-ENV): Likewise.
6504 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
6505 [$(cross-compiling) = no]: Don't set LANGUAGE.
6506 * io/ftwtest-sh (LANG): Remove variable.
6507 * libio/Makefile (tst-widetext-ENV): Likewise.
6508 * manual/install.texi (Running make install): Don't refer to
6509 environment settings for make install.
6510 * INSTALL: Regenerated.
6511 * nptl/tst-tls6.sh: Don't set LANG.
6512 * posix/globtest.sh (LANG): Remove variable.
6513 * string/Makefile (tester-ENV): Likewise.
6514 (inl-tester-ENV): Likewise.
6515 (noinl-tester-ENV): Likewise.
6516 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
6517 [$(cross-compiling) = no]: Don't set LANGUAGE.
6518 * timezone/Makefile (build-testdata): Use $(built-program-cmd)
6519 without explicit environment settings.
6520
68e6b6b1
RM
65212014-06-06 Roland McGrath <roland@hack.frob.com>
6522
6523 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
6524 * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
6525 * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
6526 * sysdeps/sh/nptl/bits/semaphore.h: ... here.
6527
4d3ae034
CM
65282014-06-06 Chris Metcalf <cmetcalf@tilera.com>
6529
6530 * crypt/crypt-private.h [DOS]: Add some includes taken from the
6531 other files in the crypt directory.
6532 * crypt/crypt.c: Remove duplicate includes.
6533 * crypt/crypt-entry.c: Likewise.
6534 * crypt/crypt_util.c: Likewise.
6535
8540f6d2
JM
65362014-06-06 Joseph Myers <joseph@codesourcery.com>
6537
6538 * Makeconfig (run-program-env): New variable.
6539 (run-program-prefix-before-env): Likewise.
6540 (run-program-prefix-after-env): Likewise.
6541 (run-program-prefix): Define in terms of new variables.
6542 (built-program-cmd-before-env): New variable.
6543 (built-program-cmd-after-env): Likewise.
6544 (built-program-cmd): Define in terms of new variables.
6545 (test-program-prefix-before-env): New variable.
6546 (test-program-prefix-after-env): Likewise.
6547 (test-program-prefix): Define in terms of new variables.
6548 (test-program-cmd-before-env): New variable.
6549 (test-program-cmd-after-env): Likewise.
6550 (test-program-cmd): Define in terms of new variables.
6551 * Rules (make-test-out): Use $(run-program-env).
6552 * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
6553 (help): Do not mention environment variables. Mention
6554 --timeoutfactor option.
6555 (timeoutfactor): New variable.
6556 (blacklist_exports): Remove function.
6557 (exports): Remove variable.
6558 (command): Do not include ${exports}.
6559 * manual/install.texi (Configuring and compiling): Do not mention
6560 test wrappers preserving environment variables. Mention that last
6561 assignment to a variable must take precedence.
6562 * INSTALL: Regenerated.
6563 * benchtests/Makefile (run-bench): Use $(run-program-env).
6564 * catgets/Makefile ($(objpfx)test1.cat): Use
6565 $(built-program-cmd-before-env), $(run-program-env) and
6566 $(built-program-cmd-after-env).
6567 ($(objpfx)test2.cat): Do not specify environment variables
6568 explicitly.
6569 ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
6570 $(run-program-env) and $(built-program-cmd-after-env).
6571 ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
6572 $(run-program-env) and $(test-program-cmd-after-env).
6573 ($(objpfx)sample.SJIS.cat): Do not specify environment variables
6574 explicitly.
6575 * catgets/test-gencat.sh: Use test_program_cmd_before_env,
6576 run_program_env and test_program_cmd_after_env arguments.
6577 * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
6578 * elf/tst-pathopt.sh: Use run_program_env argument.
6579 * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
6580 $(test-wrapper-env) and $(run-program-env).
6581 * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
6582 run_program_env arguments.
6583 * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
6584 * intl/Makefile ($(objpfx)tst-gettext.out): Use
6585 $(test-program-prefix-before-env), $(run-program-env) and
6586 $(test-program-prefix-after-env).
6587 ($(objpfx)tst-gettext2.out): Likewise.
6588 * intl/tst-gettext.sh: Use test_program_prefix_before_env,
6589 run_program_env and test_program_prefix_after_env arguments.
6590 * intl/tst-gettext2.sh: Likewise.
6591 * intl/tst-gettext4.sh: Do not set environment variables
6592 explicitly.
6593 * intl/tst-gettext6.sh: Likewise.
6594 * intl/tst-translit.sh: Likewise.
6595 * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
6596 $(test-program-prefix-before-env), $(run-program-env) and
6597 $(test-program-prefix-after-env).
6598 * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
6599 run_program_env and test_program_prefix_after_env arguments.
6600 * math/Makefile (run-regen-ulps): Use $(run-program-env).
6601 * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
6602 * nptl/tst-tls6.sh: Use run_program_env argument. Set LANG=C
6603 explicitly with each use of ${test_wrapper_env}.
6604 * posix/Makefile ($(objpfx)wordexp-tst.out): Use
6605 $(test-program-prefix-before-env), $(run-program-env) and
6606 $(test-program-prefix-after-env).
6607 * posix/tst-getconf.sh: Do not set environment variables
6608 explicitly.
6609 * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
6610 run_program_env and test_program_prefix_after_env arguments.
6611 * stdio-common/tst-printf.sh: Do not set environment variables
6612 explicitly.
6613 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
6614 $(test-program-prefix-before-env), $(run-program-env) and
6615 $(test-program-prefix-after-env).
6616 * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
6617 run_program_env and test_program_prefix_after_env arguments.
6618 Split $test calls into $test_pre and $test.
6619 * timezone/Makefile (build-testdata): Use
6620 $(built-program-cmd-before-env), $(run-program-env) and
6621 $(built-program-cmd-after-env).
6622
ed36bfa1
AZ
66232014-06-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6624
6625 * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
6626 strlen for non SHARED builds.
6627
fc75bf46
SP
66282014-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
6629
6630 * nptl/allocatestack.c (check_list): Inlined function...
6631 (__reclaim_stacks): ... here.
6632
d89b3d80
OB
66332014-06-05 Ondřej Bílka <neleai@seznam.cz>
6634
6635 [BZ #15698]
6636 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
6637 memory overrun.
6638
2bf18041
JM
66392014-06-05 Joseph Myers <joseph@codesourcery.com>
6640
6641 * Rules (make-test-out): Include
6642 LOCPATH=$(common-objpfx)localedata in default environment.
6643 * debug/Makefile (tst-chk1-ENV): Remove variable.
6644 (tst-chk2-ENV): Likewise.
6645 (tst-chk3-ENV): Likewise.
6646 (tst-chk4-ENV): Likewise.
6647 (tst-chk5-ENV): Likewise.
6648 (tst-chk6-ENV): Likewise.
6649 (tst-lfschk1-ENV): Likewise.
6650 (tst-lfschk2-ENV): Likewise.
6651 (tst-lfschk3-ENV): Likewise.
6652 (tst-lfschk4-ENV): Likewise.
6653 (tst-lfschk5-ENV): Likewise.
6654 (tst-lfschk6-ENV): Likewise.
6655 * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
6656 (tst-iconv7-ENV): Likewise.
6657 * intl/Makefile (LOCPATH-ENV): Likewise.
6658 (tst-codeset-ENV): Likewise.
6659 (tst-gettext3-ENV): Likewise.
6660 (tst-gettext5-ENV): Likewise.
6661 * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
6662 (tst-fopenloc-ENV): Likewise.
6663 (tst-fgetws-ENV): Remove variable.
6664 (tst-ungetwc1-ENV): Likewise.
6665 (tst-ungetwc2-ENV): Likewise.
6666 (bug-ungetwc2-ENV): Likewise.
6667 (tst-swscanf-ENV): Likewise.
6668 (bug-ftell-ENV): Likewise.
6669 (tst-fgetwc-ENV): Likewise.
6670 (tst-fseek-ENV): Likewise.
6671 (tst-ftell-partial-wide-ENV): Likewise.
6672 (tst-ftell-active-handler-ENV): Likewise.
6673 (tst-ftell-append-ENV): Likewise.
6674 * posix/Makefile (tst-fnmatch-ENV): Likewise.
6675 (tst-regexloc-ENV): Likewise.
6676 (bug-regex1-ENV): Likewise.
6677 (tst-regex-ENV): Likewise.
6678 (tst-regex2-ENV): Likewise.
6679 (bug-regex5-ENV): Likewise.
6680 (bug-regex6-ENV): Likewise.
6681 (bug-regex17-ENV): Likewise.
6682 (bug-regex18-ENV): Likewise.
6683 (bug-regex19-ENV): Likewise.
6684 (bug-regex20-ENV): Likewise.
6685 (bug-regex22-ENV): Likewise.
6686 (bug-regex23-ENV): Likewise.
6687 (bug-regex25-ENV): Likewise.
6688 (bug-regex26-ENV): Likewise.
6689 (bug-regex30-ENV): Likewise.
6690 (bug-regex32-ENV): Likewise.
6691 (bug-regex33-ENV): Likewise.
6692 (bug-regex34-ENV): Likewise.
6693 (bug-regex35-ENV): Likewise.
6694 (tst-rxspencer-ENV): Likewise.
6695 (tst-rxspencer-no-utf8-ENV): Likewise.
6696 * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
6697 (tst-sscanf-ENV): Likewise.
6698 (tst-swprintf-ENV): Likewise.
6699 (tst-swscanf-ENV): Likewise.
6700 (test-vfprintf-ENV): Likewise.
6701 (scanf13-ENV): Likewise.
6702 (bug14-ENV): Likewise.
6703 (tst-grouping-ENV): Likewise.
6704 * stdlib/Makefile (tst-strtod-ENV): Likewise.
6705 (tst-strtod3-ENV): Likewise.
6706 (tst-strtod4-ENV): Likewise.
6707 (tst-strtod5-ENV): Likewise.
6708 (testmb2-ENV): Likewise./
6709 * string/Makefile (tst-strxfrm-ENV): Likewise.
6710 (tst-strxfrm2-ENV): Likewise.
6711 (bug-strcoll1-ENV): Likewise.
6712 (test-strcasecmp-ENV): Likewise.
6713 (test-strncasecmp-ENV): Likewise.
6714 * time/Makefile (tst-strptime-ENV): Likewise.
6715 (tst-ftime_l-ENV): Likewise.
6716 * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
6717 (tst-mbrtowc-ENV): Likewise.
6718 (tst-wcrtomb-ENV): Likewise.
6719 (tst-mbrtowc2-ENV): Likewise.
6720 (tst-c16c32-1-ENV): Likewise.
6721 (tst-mbsnrtowcs-ENV): Likewise.
6722
cd1fb604
OB
67232014-06-05 Ondřej Bílka <neleai@seznam.cz>
6724
6725 * manual/resource.texi (How to get information about the memory
6726 subsystem?): Fix typo.
6727 Reported by Peon de la Parra Ivan <peon@keba.com>
6728
b42eca7d
GY
67292014-06-03 Guo Yixuan <culu.gyx@gmail.com>
6730
6731 [BZ #16882]
6732 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
6733 (pthread_spin_lock): Branch out of spin loop to proper location.
6734 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
6735 (pthread_spin_lock): Likewise.
6736
902b71f9
DM
6737 * nptl/tst-spin4.c: New test.
6738 * nptl/Makefile (tests): Add tst-spin4.
6739
f9d2d032
AS
67402014-06-03 Andreas Schwab <schwab@suse.de>
6741
6742 [BZ #15946]
6743 * resolv/res_send.c (send_dg): Reload file descriptor after
6744 calling reopen.
6745
cf7bfd28
SL
67462014-06-03 Stefan Liebler <stli@linux.vnet.ibm.com>
6747
6748 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
6749
111cc714
RH
67502014-06-03 Richard Henderson <rth@redhat.com>
6751
89b4bd6b
RH
6752 * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
6753 * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
6754 * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
6755 SAVE_PID and RESTORE_PID blocks from pt-vfork.S. Map 0 to INT_MIN
6756 in the SAVE_PID block.
6757 (__libc_vfork): New alias.
71840409 6758 * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
89b4bd6b 6759
111cc714
RH
6760 * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
6761 child in registers, not on the stack. Remove RESET_PID conditionals.
6762 * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
6763
ccc39911
MS
67642014-06-03 Marcus Shawcroft <marcus.shawcroft@arm.com>
6765
6766 * sysdeps/aarch64/libm-test-ulps: Regenerate.
6767
693096cc
W
67682014-06-03 Wilco <wdijkstr@arm.com>
6769
6770 * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
6771 (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
6772 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
6773 Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
6774 * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
6775 Likewise.
6776
0b4366bc
W
67772014-06-03 Wilco <wdijkstr@arm.com>
6778
6779 * sysdeps/aarch64/fpu/math_private.h
6780 (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
6781 (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
6782 (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
6783 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
6784 Fix declarations.
6785
8747cd03
KS
67862014-06-03 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
6787
6788 * crypt/crypt-private.h: Include ufc-crypt.h.
6789 (__b64_from_24bit): Declare extern.
6790 * crypt/crypt_util.c(__b64_from_24bit): New function.
6791 (b64t): New static const variable.
6792 * crypt/md5-crypt.c (b64_from_24bit): Remove function.
6793 (b64t): Remove variable.
6794 (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
6795 * crypt/sha256-crypt.c: Include crypt-private.h.
6796 (b64t): Remove variable.
6797 (__sha256_crypt_r): Remove b64_from_24bit and replace
6798 with __b64_from_24bit.
6799 * crypt/sha512-crypt.c: Likewise.
6800
d936d379
RM
68012014-06-02 Roland McGrath <roland@hack.frob.com>
6802
6803 * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
6804 * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
6805 Label the code __libc_vfork rather than __vfork.
6806 [!NOT_IN_libc] (vfork): Define as weak alias.
6807 [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
6808 * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
6809 * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
6810
9fa76613
SP
68112014-06-02 Siddhesh Poyarekar <siddhesh@redhat.com>
6812
6813 * malloc/malloc.c (malloc_info): Fix format specifier for
6814 n_mmaps.
6815
a88dadbe
W
68162014-06-02 Wilco <wdijkstr@arm.com>
6817
6818 * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
6819 FPCR write.
6820
c95b3011
W
68212014-06-02 Wilco <wdijkstr@arm.com>
6822
6823 [BZ #17009]
6824 * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
6825 Rewrite to reduce FPCR/FPSR accesses.
6826
6b4d7a90
DM
68272014-06-01 David S. Miller <davem@davemloft.net>
6828
6829 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6830
30f3d07c
DM
68312014-05-31 David S. Miller <davem@davemloft.net>
6832
6833 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
6834 to occur in round to nearest mode when |x| >= 2.0
6835
74f31c18
RH
68362014-05-30 Richard Henderson <rth@twiddle.net>
6837
f0712b54
RH
6838 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
6839 (PSEUDO_RET_NOERRNO): Remove.
6840 (ret): Don't redefine.
6841 (ret_NOERRNO): Define in terms of ret.
6842 (ret_ERRVAL): Likewise.
6843
74f31c18
RH
6844 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
6845 use of PSEUDO_RET; perform the error check directly.
6846
30477995
MM
68472014-05-30 Marko Myllynen <myllynen@redhat.com>
6848
6849 * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
6850 with __int128_t.
6851
62a58816
SP
68522014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
6853
6854 * malloc/malloc (malloc_info): Fix formatting.
6855
4d653a59
SP
68562014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
6857 Roland McGrath <roland@hack.frob.com>
6858
6859 * malloc/malloc (malloc_info): Also print mmapped statistics.
6860
5190c17f
RM
68612014-05-30 Roland McGrath <roland@hack.frob.com>
6862
6863 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
6864 * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
6865
987c0269
OB
68662014-05-30 Ondřej Bílka <neleai@seznam.cz>
6867
6868 * malloc/malloc.c (malloc_info): Inline mi_arena.
6869
af4e8ef9
RH
68702014-05-29 Richard Henderson <rth@twiddle.net>
6871
1670e207
RH
6872 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
6873 Remove comma before expanding ASM_ARGS_##nr.
6874 (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
6875 Make _x0 a strict output; make _x8 a strict input; adjust expansion
6876 of ASM_ARGS_##nr.
6877 (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
6878 (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
6879 (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
6880 (ASM_ARGS_1): Add leading comma.
6881
11a28aee
RH
6882 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
6883 (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
6884 to __errno_location.
6885 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
6886 Remove the expected plt for __errno_location.
6887
a17e5ffb 6888 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
11a28aee 6889 [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
a17e5ffb
RH
6890 call to __read_tp.
6891
b5be4597
RH
6892 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
6893 Always allocate 64 bytes of stack frame. Use ldp/stp to create
6894 it and break it down.
6895 (DOCARGS_0, DOCARGS_1): Do nothing.
6896 (DOCARGS_2): Update to store into the new stack frame.
6897 (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
6898 (UNDOCARGS_1): Update to restore from the new stack frame.
6899 (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
6900 (UNDOCARGS_5, UNDOCARGS_6): Likewise.
6901
645d44ab
RH
6902 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
6903 (SINGLE_THREAD_P): New parameter for result regno.
6904 (PSEUDO): Update to match; use cbz instead of beq.
6905
a8b4f04a
RH
6906 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
6907 Use ENTRY to define the _nocancel entry point. Share the syscall
6908 and syscall error check paths with the cancel path.
6909 (PSEUDO_END): New.
6910
af4e8ef9
RH
6911 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
6912 whitespace; tabs before and after asm mnemonics.
6913
26b0d2e1
EW
69142014-05-29 Eric Wong <normalperson@yhbt.net>
6915
6916 [BZ #15132]
6917 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
6918 Call fstat64 or stat64 internally, depending on arguments passed.
6919 Replace stat buffer argument with file descriptor argument.
6920 (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
6921 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
6922 Pass fd to __internal_statvfs instead of calling fstat64.
6923 * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
6924 Pass fd to __internal_statvfs64 instead of calling fstat64.
6925 * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
6926 Pass -1 to __internal_statvfs instead of calling stat64.
6927 * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
6928 Pass -1 to __internal_statvfs64 instead of calling stat64.
6929
1efe2bd9
RM
69302014-05-28 Roland McGrath <roland@hack.frob.com>
6931
0d3b7a19
RM
6932 * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
6933 that was previously under [RESET_PID].
6934 * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
6935
1efe2bd9
RM
6936 * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
6937 * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
6938
a6bea3ca
RM
69392014-05-27 Roland McGrath <roland@hack.frob.com>
6940
30b6629e
RM
6941 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
6942
a6bea3ca
RM
6943 * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
6944 * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
6945
3dfb9a5c
OB
69462014-05-27 Ondřej Bílka <neleai@seznam.cz>
6947
6948 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
6949
774f9285
AS
69502014-05-27 Andreas Schwab <schwab@suse.de>
6951
6952 * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
6953 TLS_INIT_TP macro.
6954 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
6955 * elf/rtld.c (init_tls, dl_main): Likewise.
6956 * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
6957 * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
6958 * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
6959 * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
6960 * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
6961 * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
6962 * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
6963 * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
6964 * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
6965 * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
6966 * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
6967 * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
6968 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
6969 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
6970 * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
6971 * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
6972 * sysdeps/generic/tls.h: Update description.
6973
36ffe739
WN
69742014-05-27 Will Newton <will.newton@linaro.org>
6975
6976 [BZ #16990]
6977 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
6978 and restore r2 rather than just restoring.
6979
2482ae43
SP
69802014-05-27 Siddhesh Poyarekar <siddhesh@redhat.com>
6981
6982 [BZ #16724]
6983 * libio/tst-ftell-append.c: New test case.
6984 * libio/Makefile (tests): Add test case.
6985 * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
6986 append mode.
6987 * libio/wfileops.c (do_ftell_wide): Likewise.
6988
3d1024e8
AZ
69892014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6990
bab90016
AZ
6991 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6992
c7a8d667
AZ
6993 * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
6994 ...
6995 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
6996 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
6997 * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
6998 * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
6999 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
7000 * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
7001 * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
7002 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
7003 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
7004 Moved ...
7005 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
7006 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
7007 Moved ...
7008 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
7009 * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
7010 * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
7011 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
7012 * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
7013 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
7014 ...
7015 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
7016 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
7017 Moved ...
7018 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
7019 here.
7020 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
7021 ...
7022 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
7023 * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
7024 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
7025
daee7851
AZ
7026 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
7027 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
7028 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
7029 * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
7030
50a40819
AZ
7031 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
7032 merge into ...
7033 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
7034 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
7035 ...
7036 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
7037 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
7038 ...
7039 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
7040 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
7041 Moved ...
7042 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
7043 here.
7044 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
7045 Moved ...
7046 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
7047 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
7048 Moved ...
7049 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
7050
8464c2a1
AZ
7051 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
7052 conditional [RESET_PID].
7053 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
7054 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
7055 removed.
7056 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
7057 removed.
7058
3d1024e8
AZ
7059 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
7060 <tcb-offsets.h>.
7061 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
7062 (__libc_vfork): New strong alias.
7063 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
7064 removed.
7065 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
7066 Removed.
7067
7068 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
7069 <tcb-offsets.h>.
7070 (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
7071 (__libc_vfork): New strong alias.
7072 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
7073 removed.
7074 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
7075 removed.
7076
fdfd175d
CD
70772014-05-26 Carlos O'Donell <carlos@redhat.com>
7078
7079 * malloc/malloc.c (mi_arena): New function.
7080 (malloc_info): Remove nested function mi_arena. Call non-nosted
7081 function mi_arena.
7082
d298c416
AZ
70832014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7084
7085 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
7086 by insrwi.
7087 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
7088 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
7089 * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
7090 * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
7091 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
7092 * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
7093 * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
7094
b60ea6ff
AS
70952014-05-26 Andreas Schwab <schwab@suse.de>
7096
7097 [BZ #16984]
7098 * locale/programs/repertoire.c (repertoire_read): Add slash
7099 between I18NPATH element and file name.
7100 * locale/programs/locfile.c (locfile_read): Likewise.
7101
67365926
SL
71022014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
7103
7104 * nptl/pthread_mutexattr_settype.c
7105 (__pthread_mutexattr_settype):
7106 Disable lock elision for PTHREAD_MUTEX_NORMAL.
7107
f8bdf1f0
SL
71082014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
7109
7110 * nptl/tst-mutex5 (do_test):
7111 Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
7112
15eaf6ff
SP
71132014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
7114
7115 * benchtests/README: Document 'init' directive.
7116 * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
7117 BENCH_INIT.
7118 * scripts/bench.py (gen_source): Define BENCH_INIT macro.
7119 (parse_file): Recognize 'init' directive.
7120
75f11331
KM
71212014-05-26 Kyle McMartin <kyle@redhat.com>
7122
7123 [BZ #16796]
7124 * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
7125 alignment of struct pthread.
7126
c3ec475c
SP
71272014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
7128
7129 [BZ #16878]
7130 * nscd/netgroupcache.c (addgetnetgrentX): Look for
7131 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
7132 * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
7133 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
7134
82aab97c
RH
71352014-05-25 Richard Henderson <rth@twiddle.net>
7136
aa2f176d
RH
7137 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
7138 (SINGLE_THREAD_P_PIC): Remove.
7139 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
7140 (SINGLE_THREAD_P_PIC): Remove.
7141
ca3cfa40
RH
7142 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
7143 branch to syscall error ...
7144 (PSEUDO): ... here.
7145 [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
7146 from __local_syscall_error to .Lsyscall_error.
7147 [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
7148 (SYSCALL_ERROR): Update label name.
7149
6e6c2d01
RH
7150 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
7151 Do not use DOARGS/UNDOARGS.
7152 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
7153 (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
7154 (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
7155 (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
7156 (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
7157
c69abcee
RH
7158 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
7159 block comment.
7160
82aab97c
RH
7161 * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
7162 define if !NOT_IN_libc.
7163 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
7164 define with non-default symbol versions.
7165
8820e3ac
RH
71662014-05-23 Richard Henderson <rth@twiddle.net>
7167
900e445f
RH
7168 * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
7169 (vfork, __vfork): Define via compat_symbol.
7170
8820e3ac
RH
7171 * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
7172 [!HAVE_IFUNC] (vfork_compat): Remove.
7173 [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
7174
e59252a5
JM
71752014-05-23 Joseph Myers <joseph@codesourcery.com>
7176
7177 [BZ #16978]
7178 * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
7179 * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
7180 variable.
7181
132c7f5f
RH
71822014-05-23 Richard Henderson <rth@twiddle.net>
7183
bc89e962
RH
7184 * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
7185 * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
7186 * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
7187 * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
7188
7189 * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
7190 * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
7191 * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
7192 * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
7193 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
7194 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
7195 * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
7196 * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
7197 * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
7198 * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
7199 * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
7200 * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
7201 * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
7202 * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
7203 * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
7204 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
7205 * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
7206 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
7207 * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
7208 * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
7209 * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
7210 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
7211 * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
7212 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
7213 * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
7214 * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
7215 * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
7216 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
7217 * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
7218 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
7219 * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
7220 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
7221 * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
7222 * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
7223 * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
7224 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
7225 * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
7226 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
7227 * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
7228 * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
7229 * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
7230 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
7231 * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
7232 * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
7233 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
7234 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
7235 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
7236 * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
7237 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
7238 * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
7239 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
7240 * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
7241 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
7242 * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
7243 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
7244 * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
7245
e2fa4bc2
RH
7246 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
7247 * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
7248 * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here. Restore PID
7249 before exiting on error.
7250 (__libc_vfork): New strong alias.
7251 * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
7252 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
7253
279b24e2
RH
7254 * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
7255 that was previously under [RESET_PID].
7256 * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
7257
132c7f5f
RH
7258 * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
7259
b72592e7
JM
72602014-05-23 Joseph Myers <joseph@codesourcery.com>
7261
7262 [BZ #16977]
7263 * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
7264 value when x - 1 is zero.
7265 * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
7266 * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
7267 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
7268 0.0L for an argument of 1.0L.
7269 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
7270 Likewise.
7271 * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
7272 value when x - 1 is zero.
7273 * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
7274 * sysdeps/i386/fpu/libm-test-ulps: Update.
7275 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7276
2302d679
RV
72772014-05-23 Rasmus Villemoes <rv@rasmusvillemoes.dk>
7278
7279 * manual/filesys.texi (Scanning Directory Content): Fix prototype of
7280 alphasort and versionsort.
7281
32999d63
AZ
72822014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7283
7284 * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
7285 macro.
7286 [copysignf]: Likewise.
7287
019324d0
SP
72882014-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
7289
7290 * crypt/md5-crypt.c: Fix formatting.
7291
34fff5c2
KS
72922014-05-22 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
7293
7294 * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
7295 (b64_from_24bit): New function.
7296
3d2badac
AZ
72972014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7298
7299 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
7300 libc_hidden_builtin_def to ifunc.
7301 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
7302 [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
7303
f7bb179f 73042014-05-21 Roland McGrath <roland@hack.frob.com>
df54acbb
RM
7305
7306 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
7307 * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
7308
4134b50d
JM
73092014-05-21 Joseph Myers <joseph@codesourcery.com>
7310
bb7d0337
JM
7311 * nscd/Depend (linuxthreads): Remove.
7312 (nptl): Add.
7313 * resolv/Depend (linuxthreads): Remove.
7314 * rt/Depend (linuxthreads): Remove.
7315
4134b50d
JM
7316 * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
7317 (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
7318 $(common-objpfx)elf/.
7319 (link-libc-before-gnulib): Likewise.
7320 (elfobjdir): Remove variable.
7321 * Makefile (install): Use $(elf-objpfx) instead of
7322 $(common-objpfx)elf/.
7323 * Makerules (link-libc-args): Use $(elf-objpfx) instead of
7324 $(elfobjdir)/.
7325 (link-libc-deps): Likewise.
7326 ($(common-objpfx)libc.so): Likewise.
7327 ($(common-objpfx)linkobj/libc.so): Likewise.
7328 [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
7329 instead of $(common-objpfx)elf/.
7330 (symbolic-link-list): Likewise.
7331 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
7332 [$(cross-compiling) = no]: Likewise.
7333 * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
7334 $(elfobjdir)/.
7335 (static-gnulib-arch): Likewise.
7336 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
7337 [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
7338 $(common-objpfx)elf/.
7339
3612eb8f
RH
73402014-05-21 Richard Henderson <rth@redhat.com>
7341
a6b3657b
RH
7342 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
7343 (SINGLE_THREAD_P): Use the correct width load. Fold
7344 into the ldr offset.
7345
3612eb8f
RH
7346 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
7347 (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
7348
175cef41
JM
73492014-05-20 Joseph Myers <joseph@codesourcery.com>
7350
7351 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
7352 (libgcc_s_resume): Use __attribute_used__.
7353 * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
7354 Likewise.
7355
e13bccd3
AZ
73562014-05-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7357
7358 * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
7359 optimization when used with float constants.
7360
7c112a38
AZ
7361 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7362
ae75a883
AJ
73632014-05-20 Aurelien Jarno <aurelien@aurel32.net>
7364
7365 [BZ #16915]
7366 * locale/nl_langinfo_l.c: Make direct reference to every
7367 _nl_current_CATEGORY symbol.
7368 * localedata/Makefile (test-srcs): Add tst-langinfo-static.
7369 (tests-static): Add tst-langinfo-static.
7370 (tests-special): Add tst-langinfo-static.out.
7371 ($(objpfx)tst-langinfo.out): Redirect output.
7372 ($(objpfx)tst-langinfo-static.out): New.
7373 * localedata/tst-langinfo.sh: Send output to stdout.
7374 * localedata/tst-langinfo-static.c: New file.
7375
4406c41c
AJ
7376 [BZ #16965]
7377 * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
7378 when the shift amount is modulo the limb size.
7379
4c0a1e63
RH
73802014-05-20 Richard Henderson <rth@redhat.com>
7381
de9d8f20
RH
7382 [BZ #16967]
7383 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
7384 Change type of sa_flags from unsigned int to int.
7385
4c0a1e63
RH
7386 [BZ #16966]
7387 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
57cce706
RH
7388
7389 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
7390
a60339aa
WN
73912014-05-20 Will Newton <will.newton@linaro.org>
7392
7393 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
7394 Test the return value of the system call in the nocancel case.
7395
7d05a816
YR
73962014-05-20 Will Newton <will.newton@linaro.org>
7397 Yvan Roux <yvan.roux@linaro.org>
7398
7399 * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
7400 #include of asm/ptrace.h.
7401 (PTRACE_GET_THREAD_AREA): Remove #undef.
7402 (PTRACE_GETHBPREGS): Likewise.
7403 (PTRACE_SETHBPREGS): Likewise.
7404 (struct user_regs_struct): New structure.
7405 (struct user_fpsimd_struct): New structure.
7406 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
7407 #include of asm/ptrace.h and second #include of sys/user.h.
7408 (PTRACE_GET_THREAD_AREA): Remove #undef.
7409 (PTRACE_GETHBPREGS): Likewise.
7410 (PTRACE_SETHBPREGS): Likewise.
7411 (ELF_NGREG): Use new struct user_regs_struct.
7412 (elf_fpregset_t): Use new struct user_fpsimd_struct.
7413
af121e37
AZ
74142014-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7415
7416 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
7417 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
7418
834caf06
JM
74192014-05-17 Jose E. Marchesi <jose.marchesi@oracle.com>
7420
7421 [BZ #16958]
7422 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
7423 membar to avoid block loads/stores to overlap previous stores.
7424
e184a918
RH
74252014-05-17 Richard Henderson <rth@redhat.com>
7426
7427 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
7428 Create the __##syscall_name##_nocancel entry point.
7429 * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
7430 Remove; let the sysdep-cancel.h code create it.
7431
f56c7a6a
DM
74322014-05-17 David S. Miller <davem@davemloft.net>
7433
7434 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
7435 Protect with __USE_GNU.
7436 (TIOCSET_TEMPT): Likewise.
7437 (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
7438 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
7439 these are already provided in bits/ioctl-types.h
7440
f75616b2
RM
74412014-05-16 Roland McGrath <roland@hack.frob.com>
7442
3edeca86
RM
7443 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
7444 * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
7445
f75616b2
RM
7446 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
7447 Use wait4 regardless of [__NR_waitpid].
7448
deb0f7f6
MR
74492014-05-16 Maciej W. Rozycki <macro@codesourcery.com>
7450
7451 PR libgcc/60166
7452 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
7453 (_FP_NANSIGN_Q): Set the quiet bit.
7454
79520f4b
JM
74552014-05-16 Joseph Myers <joseph@codesourcery.com>
7456
7457 * benchtests/Makefile
7458 ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
7459 not $(common-objpfx)math/libm.so.
7460 ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
7461 $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
7462 * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
7463 $(common-objpfx)dlfcn/libdl.so.
7464 ($(objpfx)tst-audit8): Depend on $(libm), not
7465 $(common-objpfx)math/libm.so.
7466 * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
7467 not $(common-objpfx)dlfcn/libdl.so.
7468 * math/Makefile
7469 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
7470 Depend on $(libm), not $(objpfx)libm.so. Do not condition on
7471 [$(build-shared) = yes].
7472 ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
7473 $(common-objpfx)nptl/libpthread.so.
7474 * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
7475 $(common-objpfx)math/libm.so$(libm.so-version) or
7476 $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
7477 * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
7478 $(common-objpfx)dlfcn/libdl.so.
7479 * setjmp/Makefile (link-libm): Remove variable.
7480 ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
7481 * stdio-common/Makefile (link-libm): Remove variable.
7482 ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
7483 * stdlib/Makefile (link-libm): Remove variable.
7484 ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
7485 ($(objpfx)tst-strtod-round): Likewise.
7486 ($(objpfx)tst-tininess): Likewise.
7487 ($(objpfx)tst-strtod-underflow): Likewise.
7488 ($(objpfx)tst-strtod6): Likewise.
7489 ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
7490 $(libdl), not $(common-objpfx)nptl/libpthread.so and
7491 $(common-objpfx)dlfcn/libdl.so.
7492
026b0fe4
AZ
74932014-05-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7494
7495 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
7496 BSD terminal modes definitions.
7497
def4bcb2
RM
74982014-05-16 Roland McGrath <roland@hack.frob.com>
7499
fe39b021
RM
7500 * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
7501 * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
7502
1d1fc46e 7503 * sysdeps/unix/sysv/linux/arch-fork.h: New file.
def4bcb2
RM
7504 * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
7505 * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
7506 Don't do #include_next.
7507 * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
7508 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
7509 Don't do #include_next.
7510 * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
7511 * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
7512 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
7513 * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
7514
c72399fb
AM
75152014-05-16 Allan McRae <allan@archlinux.org>
7516
d51d659d
AM
7517 * po/sv.po: Update Swedish translation from translation project.
7518
c72399fb
AM
7519 * timezone/Makefile ($(objpfx)tzselect): Use correct variable
7520 in sed expression.
7521
d0583c40
AJ
75222014-05-16 Aurelien Jarno <aurelien@aurel32.net>
7523
7524 [BZ #16917]
7525 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
7526 errno if the TIOCGPTN ioctl fails with an error different than
7527 EINVAL.
7528 * login/tst-ptsname.c: New file.
7529 * login/Makefile (tests): Add tst-ptsname.
7530
d16e6ec7
AJ
7531 [BZ #16943]
7532 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
7533 and prlimit64.
7534
cf26a0cb
SP
75352014-05-15 Siddhesh Poyarekar <siddhesh@redhat.com>
7536
7537 [BZ #16849]
7538 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
7539 herrno to return EAI_AGAIN.
7540
5675da1e
RM
75412014-05-14 Roland McGrath <roland@hack.frob.com>
7542
a5d87b3d
RM
7543 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
7544 * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
7545 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
7546 * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
7547 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
7548 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
7549 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
7550 * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
7551 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
7552 * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
7553 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
7554 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
7555 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
7556 * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
7557 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
7558 * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
7559 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
7560 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
7561 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
7562 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
7563 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
7564 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
7565 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
7566 * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
7567 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
7568 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
7569 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
7570 * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
7571 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
7572 * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
7573 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
7574 * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
7575 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
7576 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
7577 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
7578 Moved ...
7579 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
7580 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
7581 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
7582 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
7583 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
7584 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
7585 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
7586 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
7587 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
7588 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
7589 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
7590 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
7591 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
7592 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
7593 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
7594 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
7595 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
7596 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
7597 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
7598 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
7599 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
7600 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
7601 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
7602 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
7603 * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
7604 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
7605 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
7606 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
7607 Moved ...
7608 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
7609 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
7610 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
7611 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
7612 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
7613 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
7614 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
7615 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
7616 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
7617 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
7618 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
7619 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
7620 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
7621 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
7622 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
7623 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
7624 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
7625 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
7626 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
7627 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
7628 Moved ...
7629 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
7630 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
7631 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
7632
039890a6
RM
7633 * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
7634 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
7635 (libpthread-sysdep_routines): Add elision-related stuff here instead.
7636 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
7637 * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
7638 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
7639 * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
7640 * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
7641 * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
7642 * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
7643 * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
7644 * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
7645 * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
7646 * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
7647 * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
7648 * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
7649 * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
7650 * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
7651 * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
7652 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
7653 * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
7654 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
7655 * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
7656 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
7657 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
7658 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
7659 * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
7660 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
7661 * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
7662 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
7663 * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
7664
65c89320
RM
7665 * sysdeps/unix/sysv/linux/mips/fork.h: New file.
7666 * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
7667
348f8e8c
RM
7668 * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
7669 * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
7670 * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
7671 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
7672 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
7673 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
7674 Moved ...
7675 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
7676 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
7677 Moved ...
7678 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
7679 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
7680 Moved ...
7681 * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
7682 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
7683 Moved ...
7684 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
7685 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
7686 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
7687 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
7688 Moved ...
7689 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
7690 * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
7691 * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
7692 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
7693 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
7694 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
7695 * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
7696 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
7697 Moved ...
7698 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
7699 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
7700 Moved ...
7701 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
7702 ... here.
7703 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
7704 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
7705 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
7706 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
7707 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
7708 Moved ...
7709 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
7710 ... here.
7711 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
7712 Moved ...
7713 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
7714 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
7715 * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
7716 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
7717 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
7718 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
7719 Moved ...
7720 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
7721 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
7722 Moved ...
7723 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
7724 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
7725 Moved ...
7726 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
7727 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
7728 Moved ...
7729 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
7730 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
7731 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
7732 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
7733 Moved ...
7734 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
7735 * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
7736 * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
7737 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
7738 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
7739 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
7740 * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
7741 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
7742 Moved ...
7743 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
7744 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
7745 Moved ...
7746 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
7747 ... here.
7748 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
7749 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
7750 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
7751 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
7752 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
7753 Moved ...
7754 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
7755 ... here.
7756 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
7757 Moved ...
7758 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
7759 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
7760 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
7761 * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
7762 * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
7763 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
7764 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
7765 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
7766 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
7767 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
7768 Moved ...
7769 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
7770 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
7771 Moved ...
7772 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
7773 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
7774 Moved ...
7775 * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
7776 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
7777 Moved ...
7778 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
7779 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
7780 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
7781 * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
7782 * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
7783 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
7784 Moved ...
7785 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
7786 * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
7787 * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
7788 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
7789 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
7790 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
7791 * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
7792 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
7793 Moved ...
7794 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
7795 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
7796 Moved ...
7797 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
7798 ... here.
7799 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
7800 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
7801 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
7802 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
7803 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
7804 Moved ...
7805 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
7806 ... here.
7807 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
7808 Moved ...
7809 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
7810 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
7811 * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
7812 * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
7813 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
7814 * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
7815 * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
7816 * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
7817 * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
7818 * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
7819 * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
7820
5085af05
RM
7821 * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
7822 * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
7823
708f0813
RM
7824 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
7825 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
7826
c96067bc
RM
7827 * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
7828 * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
7829 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
7830 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
7831 * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
7832 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
7833 * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
7834 * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
7835 * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
7836 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
7837 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
7838 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
7839 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
7840 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
7841 * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
7842 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
7843 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
7844 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
7845 Moved ...
7846 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
7847 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
7848 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
7849 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
7850 Moved ...
7851 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
7852 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
7853 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
7854 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
7855 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
7856 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
7857 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
7858 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
7859 Moved ...
7860 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
7861 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
7862 Moved ...
7863 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
7864 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
7865 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
7866 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
7867 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
7868 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
7869 * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
7870 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
7871 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
7872 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
7873 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
7874 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
7875 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
7876 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
7877 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
7878 * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
7879 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
7880
ec136444
RM
7881 * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
7882 * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
7883 * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
7884 * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
7885 * sysdeps/unix/sysv/linux/i386/fork.h: New file.
7886
2fbdf533
RM
7887 * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
7888 * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
7889 * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
7890 * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
7891 * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
7892 * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
7893 * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
7894 * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
7895 * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
7896 * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
7897
4c68138b
RM
7898 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
7899 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
7900
4eaae765
RM
7901 * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
7902 * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
3a51fb60
RM
7903 * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
7904 * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
7905 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
7906 * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
7907 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
7908 * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
7909 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
7910 * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
7911 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
7912 * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
7913 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
7914 * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
7915 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
7916 Update #include.
7917 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
7918 Likewise.
7919 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
7920 Likewise.
7921 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
7922 Likewise.
7923 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
7924 Likewise.
7925 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
7926 Likewise.
7927 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
7928 Likewise.
7929 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
7930 Likewise.
7931 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
7932 Likewise.
7933 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
7934 Likewise.
4ef6befa
RM
7935 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
7936 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
7937 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
7938 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
7939 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
5aa618fb
RM
7940 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
7941 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
7942 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
7943 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
7944 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
7945 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
7946 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
7947 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
7948 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Likewise.
7949 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Likewise.
3a51fb60 7950
941d7dfd
RM
7951 * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
7952 that was previously under [RESET_PID].
7953 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
7954 * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
7955 * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
7956
1b731c35
RM
7957 * sysdeps/i386/nptl/Implies: New file.
7958 * sysdeps/x86_64/nptl/Implies: New file.
7959 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
7960 * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
7961 * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
7962 * sysdeps/x86/nptl/bits/semaphore.h: ... here.
7963
e2787137
RM
7964 * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
7965 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
7966 (__libc_vfork): New strong alias.
7967 * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
7968 * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
7969
7970 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
7971 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
7972 (__libc_vfork): New strong alias.
7973 * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
7974 * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
7975
5675da1e
RM
7976 * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
7977 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
7978 (__libc_vfork): New strong alias.
7979 * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
7980 * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
7981 * nptl/pt-vfork.c: New file.
7982 * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
7983 (libpthread: GLIBC_2.20): New version set (empty).
7984
4f02e2b8
WN
79852014-05-14 Will Newton <will.newton@linaro.org>
7986
7987 * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
7988 rather than #if.
7989
0bf061d3
JM
79902014-05-14 Joseph Myers <joseph@codesourcery.com>
7991
1a84c3d6
JM
7992 [BZ #16564]
7993 * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
7994 arguments with exponent 65 or above.
7995 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
7996 arguments 0x1p113L or above.
7997 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
7998 to arguments 0x1p107L or above.
7999 * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
8000 positive arguments with exponent 65 or above.
8001 * math/auto-libm-test-in: Add more tests of log1p.
8002 * math/auto-libm-test-out: Regenerated.
8003
01dbacd2
JM
8004 [BZ #16928]
8005 * math/s_cacos.c (__cacos): Ensure zero real part of result from
8006 non-finite arguments is +0.
8007 * math/s_cacosf.c (__cacosf): Likewise.
8008 * math/s_cacosl.c (__cacosl): Likewise.
8009 * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
8010 * sysdeps/i386/fpu/libm-test-ulps: Update.
8011 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8012
913d03c8
JM
8013 [BZ #16927]
8014 * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
8015 value.
8016 * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
8017 * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
8018 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
8019 for explicit high bit of mantissa when testing for argument equal
8020 to 1.
8021 * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
8022 * sysdeps/i386/fpu/libm-test-ulps: Update.
8023 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8024
0bf061d3
JM
8025 [BZ #16516]
8026 * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
8027 (__erf): Scale by 16 instead of 8 in potentially underflowing
8028 case. Ensure exception if result actually underflows.
8029 * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
8030 (__erff): Scale by 16 instead of 8 in potentially underflowing
8031 case. Ensure exception if result actually underflows.
8032 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
8033 (efx8): Remove variable.
8034 (__erfl): Scale by 16 instead of 8 in potentially underflowing
8035 case. Ensure exception if result actually underflows.
8036 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
8037 (efx8): Remove variable.
8038 (__erfl): Scale by 16 instead of 8 in potentially underflowing
8039 case. Ensure exception if result actually underflows.
8040 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
8041 (efx8): Remove variable.
8042 (__erfl): Scale by 16 instead of 8 in potentially underflowing
8043 case. Ensure exception if result actually underflows.
8044 * math/auto-libm-test-in: Add more tests of erf.
8045 * math/auto-libm-test-out: Regenerated.
8046
73ba67cb
AS
80472014-05-14 Andreas Schwab <schwab@suse.de>
8048
3d8c8bff
AS
8049 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
8050 Remove code conditionalized on USE___THREAD.
8051
73ba67cb
AS
8052 * config.h.in (HAVE_PT_CHOWN): Define as 0.
8053 * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
8054 not definedness.
8055
5c521ecd
JM
80562014-05-14 Joseph Myers <joseph@codesourcery.com>
8057
5e7698c6
JM
8058 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
8059 Define unconditionally.
8060 (__ASSUME_O_CLOEXEC): Likewise.
8061 (__ASSUME_SOCK_CLOEXEC): Likewise.
8062 (__ASSUME_IN_NONBLOCK): Likewise.
8063 (__ASSUME_PIPE2): Likewise.
8064 (__ASSUME_EVENTFD2): Likewise.
8065 (__ASSUME_SIGNALFD4): Likewise.
8066 (__ASSUME_DUP3): Likewise.
8067 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
8068 (__ASSUME_DUP3): Do not define.
8069 (__ASSUME_EVENTFD2): Likewise.
8070 (__ASSUME_IN_NONBLOCK): Likewise.
8071 (__ASSUME_O_CLOEXEC): Likewise.
8072 (__ASSUME_PIPE2): Likewise.
8073 (__ASSUME_SIGNALFD4): Likewise.
8074 (__ASSUME_SOCK_CLOEXEC): Likewise.
8075 (__ASSUME_UTIMES): Undefine.
8076 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
8077 (__ASSUME_UTIMES): Do not define.
8078 (__ASSUME_O_CLOEXEC): Likewise.
8079 (__ASSUME_SOCK_CLOEXEC): Likewise.
8080 (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
8081 0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
8082 0x020621].
8083 (__ASSUME_PIPE2): Likewise.
8084 (__ASSUME_EVENTFD2): Likewise.
8085 (__ASSUME_SIGNALFD4): Likewise.
8086 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
8087 * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
8088 Do not define.
8089 (__ASSUME_EVENTFD2): Likewise.
8090 (__ASSUME_SIGNALFD4): Likewise.
8091 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
8092 (__ASSUME_32BITUIDS): Likewise.
8093 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
8094 (__ASSUME_IPC64): Likewise.
8095 (__ASSUME_ST_INO_64_BIT): Likewise.
8096 (__ASSUME_GETDENTS64_SYSCALL): Likewise.
8097 [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
8098 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
8099 (__ASSUME_UTIMES): Do not define.
8100 (__ASSUME_PSELECT): Likewise.
8101 (__ASSUME_PPOLL): Likewise.
8102 (__ASSUME_O_CLOEXEC): Likewise.
8103 (__ASSUME_SOCK_CLOEXEC): Likewise.
8104 (__ASSUME_IN_NONBLOCK): Likewise.
8105 (__ASSUME_PIPE2): Likewise.
8106 (__ASSUME_EVENTFD2): Likewise.
8107 (__ASSUME_SIGNALFD4): Likewise.
8108 (__ASSUME_DUP3): Likewise.
8109 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
8110 (__ASSUME_UTIMES): Likewise.
8111 (__ASSUME_O_CLOEXEC): Likewise.
8112 (__ASSUME_SOCK_CLOEXEC): Likewise.
8113 (__ASSUME_IN_NONBLOCK): Likewise.
8114 (__ASSUME_PIPE2): Likewise.
8115 (__ASSUME_EVENTFD2): Likewise.
8116 (__ASSUME_SIGNALFD4): Likewise.
8117 (__ASSUME_DUP3): Likewise.
8118 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
8119 (__ASSUME_UTIMES): Likewise.
8120 (__ASSUME_O_CLOEXEC): Likewise.
8121 (__ASSUME_SOCK_CLOEXEC): Likewise.
8122 (__ASSUME_IN_NONBLOCK): Likewise.
8123 (__ASSUME_PIPE2): Likewise.
8124 (__ASSUME_EVENTFD2): Likewise.
8125 (__ASSUME_SIGNALFD4): Likewise.
8126 (__ASSUME_DUP3): Likewise.
8127 * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
8128 Likewise.
8129 (__ASSUME_UTIMES): Likewise.
8130 (__ASSUME_EVENTFD2): Likewise.
8131 (__ASSUME_SIGNALFD4): Likewise.
8132 * sysdeps/unix/sysv/linux/tile/kernel-features.h
8133 (__ASSUME_O_CLOEXEC): Likewise.
8134 (__ASSUME_SOCK_CLOEXEC): Likewise.
8135 (__ASSUME_IN_NONBLOCK): Likewise.
8136 (__ASSUME_PIPE2): Likewise.
8137 (__ASSUME_EVENTFD2): Likewise.
8138 (__ASSUME_SIGNALFD4): Likewise.
8139 (__ASSUME_DUP3): Likewise.
8140 (__ASSUME_UTIMES): Undefine.
8141
5c521ecd
JM
8142 * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
8143 feclearexcept. Remove symbol versioning code.
8144 * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv. Remove
8145 symbol versioning code.
8146 * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv. Remove
8147 symbol versioning code.
8148 * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
8149 feupdateenv. Remove symbol versioning code.
8150 * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
8151 fegetexceptflag. Remove symbol versioning code.
8152 * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
8153 fesetexceptflag. Remove symbol versioning code.
8154 * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
8155 GLIBC_2.2 and GLIBC_2.3.3 entries. Change GLIBC_2.1 to GLIBC_2.4.
8156 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
8157 (__posix_fadvise64_l32): Remove prototype.
8158 [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
8159 code.
8160
5da9dfad
RM
81612014-05-13 Roland McGrath <roland@hack.frob.com>
8162
8163 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
8164 * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
8165 * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
8166 * sysdeps/arm/nptl/bits/semaphore.h: ... here.
8167
893b4f37
SK
81682014-05-13 Sami Kerola <kerolasa@iki.fi>
8169
8170 * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
8171 current working directory
8172
e0db6517
RM
81732014-05-13 Roland McGrath <roland@hack.frob.com>
8174
58aa195d
RM
8175 * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
8176 * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
8177 * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
8178 * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
8179 * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
8180 * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
8181 * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
8182 * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
8183 * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
8184 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
8185 * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
8186 * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
8187 * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
8188 * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
8189 * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
8190 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
8191 * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
8192 * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
8193 * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
8194 * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
8195 * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
8196 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
8197 * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
8198 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
8199 * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
8200 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
8201 * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
8202 * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
8203 * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
8204 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
8205 * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
8206 * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
8207 * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
8208 * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
8209 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
8210 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
8211 * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
8212 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
8213 * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
8214 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
8215 * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
8216 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
8217
8c6d01f0
RM
8218 * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
8219 * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
8220
8221 * sysdeps/unix/sysv/linux/arm/Makefile
8222 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
8223 Add rt-aeabi_unwind_cpp_pr1.
8224 [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
8225 Add nptl-aeabi_unwind_cpp_pr1.
8226 [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
8227 * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
8228 * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
8229 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
8230 * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
8231 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
8232
8233 * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
8234 * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
8235 * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
8236 * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
8237
bba6da4e
RM
8238 * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
8239 Deconditionalize the code that was previously under [RESET_PID].
8240 * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
8241
e0db6517
RM
8242 * sysdeps/generic/exit-thread.h: New file.
8243 * sysdeps/unix/sysv/linux/exit-thread.h: New file.
8244 * include/unistd.h (__exit_thread): Remove declaration.
8245 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
8246 * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
8247 * csu/libc-start.c: Include <exit-thread.h>.
8248 (LIBC_START_MAIN): Pass no argument to __exit_thread.
8249 * nptl/pthread_create.c: Include <exit-thread.h>.
8250 (start_thread): Call __exit_thread in place of __exit_thread_inline.
8251 * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
8252 * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
8253 * nptl/sysdeps/s390/pthreaddef.h: Likewise.
8254 * nptl/sysdeps/sh/pthreaddef.h: Likewise.
8255 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
8256 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
8257 * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
8258 * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
8259 * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
8260 * sysdeps/arm/nptl/pthreaddef.h: Likewise.
8261 * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
8262 * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
8263 * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
8264 * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
8265 * sysdeps/mips/nptl/pthreaddef.h: Likewise.
8266 * sysdeps/tile/nptl/pthreaddef.h: Likewise.
8267
01eb16fd
AS
82682014-05-13 Andreas Schwab <schwab@suse.de>
8269
8270 * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
8271
637461d9
JM
82722014-05-12 Joseph Myers <joseph@codesourcery.com>
8273
8274 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
8275 (__ASSUME_UTIMES): Do not condition on kernel version.
8276 (__ASSUME_PSELECT): Define unconditionally.
8277 (__ASSUME_PPOLL): Likewise.
8278 (__ASSUME_ATFCTS): Likewise.
8279 (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
8280 (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
8281 (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
8282 (__ASSUME_UTIMENSAT): Define unconditionally.
8283 (__ASSUME_PRIVATE_FUTEX): Likewise.
8284 (__ASSUME_FALLOCATE): Likewise.
8285 (__ASSUME_O_CLOEXEC): Likewise.
8286 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
8287 (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
8288 (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
8289 (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
8290 (__ASSUME_IN_NONBLOCK): Likewise.
8291 (__ASSUME_PIPE2): Likewise.
8292 (__ASSUME_EVENTFD2): Likewise.
8293 (__ASSUME_SIGNALFD4): Likewise.
8294 (__ASSUME_DUP3): Likewise.
8295 [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
8296 (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
8297 (__ASSUME_AT_RANDOM): Likewise.
8298 (__ASSUME_PREADV): Likewise.
8299 (__ASSUME_PWRITEV): Likewise.
8300 (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
8301 (__ASSUME_F_GETOWN_EX): Define unconditionally.
8302 (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
8303 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
8304 [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
8305 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
8306 (__ASSUME_O_CLOEXEC): Define unconditionally.
8307 (__ASSUME_PSELECT): Do not undefine conditionally.
8308 (__ASSUME_PPOLL): Likewise.
8309 (__ASSUME_ATFCTS): Likewise.
8310 (__ASSUME_SET_ROBUST_LIST): Likewise.
8311 (__ASSUME_UTIMENSAT): Likewise.
8312 (__ASSUME_FDATASYNC): Define unconditionally.
8313 * sysdeps/unix/sysv/linux/arm/kernel-features.h
8314 (__ASSUME_SIGFRAME_V2): Likewise.
8315 )__ASSUME_EVENTFD2): Likewise.
8316 (__ASSUME_SIGNALFD4): Likewise.
8317 (__ASSUME_PSELECT): Do not undefine conditionally.
8318 (__ASSUME_PPOLL): Likewise.
8319 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
8320 (__ASSUME_PSELECT): Define unconditionally.
8321 (__ASSUME_PPOLL): Likewise.
8322 (__ASSUME_O_CLOEXEC): Likewise.
8323 (__ASSUME_SOCK_CLOEXEC): Likewise.
8324 (__ASSUME_IN_NONBLOCK): Likewise.
8325 (__ASSUME_PIPE2): Likewise.
8326 (__ASSUME_EVENTFD2): Likewise.
8327 (__ASSUME_SIGNALFD4): Likewise.
8328 (__ASSUME_DUP3): Likewise.
8329 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
8330 (__ASSUME_O_CLOEXEC): Likewise.
8331 (__ASSUME_SOCK_CLOEXEC): Likewise.
8332 (__ASSUME_IN_NONBLOCK): Likewise.
8333 (__ASSUME_PIPE2): Likewise.
8334 (__ASSUME_EVENTFD2): Likewise.
8335 (__ASSUME_SIGNALFD4): Likewise.
8336 (__ASSUME_DUP3): Likewise.
8337 * sysdeps/unix/sysv/linux/mips/kernel-features.h
8338 (__ASSUME_EVENTFD2): Likewise.
8339 (__ASSUME_SIGNALFD4): Likewise.
8340 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
8341
315eb1d8
AS
83422014-05-12 Andreas Schwab <schwab@suse.de>
8343
8344 [BZ #16932]
8345 * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
8346 (_nss_nis_gethostbyname4_r): Return error if item length is larger
8347 than maximum RPC packet size.
8348 * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
8349 * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
8350 * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
8351 (_nss_nis_getservbyport_r): Likewise.
8352
91df99f7
WN
83532014-05-12 Will Newton <will.newton@linaro.org>
8354
8355 * malloc/Makefile (tests): Add tst-mallopt.
8356 * malloc/tst-mallopt.c: New file.
8357
0a982a29
RM
83582014-05-09 Roland McGrath <roland@hack.frob.com>
8359
8360 * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
8361 [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
8362
0ded08a5
AZ
83632014-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8364
8365 * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
8366 (tst-tlsmod6.so): Likewise.
8367
55d4d550
RM
83682014-05-09 Roland McGrath <roland@hack.frob.com>
8369
8370 * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
8371
77d08aca
JM
83722014-05-09 Joseph Myers <joseph@codesourcery.com>
8373
8374 [BZ #16064]
8375 * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
8376 and <dl-procinfo.h>.
8377 (__fegetenv): Save SSE state in envp->__eip if supported.
8378 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
8379 envp->__eip if supported.
8380 * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
8381 and <dl-procinfo.h>.
8382 (__fesetenv): Always set __eip, __cs_selector, __opcode,
8383 __data_offset and __data_selector in environment to 0. Set SSE
8384 state if supported.
8385 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
8386 test-fenv-sse.
8387 [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
8388 -mfpmath=sse.
8389 * sysdeps/x86/fpu/test-fenv-sse.c: New file.
8390
28162f4d
WN
83912014-05-09 Will Newton <will.newton@linaro.org>
8392
8393 * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
8394 and libc_relro_required for ARM.
8395 * sysdeps/arm/preconfigure: Regenerate.
8396
5a414ff7
DV
83972014-05-09 Dominik Vogt <vogt@linux.vnet.ibm.com>
8398 Stefan Liebler <stli@linux.vnet.ibm.com>
8399
8400 * config.make.in (enable-lock-elision): New Makefile variable.
8401 * configure.ac: Likewise.
8402 * configure: Regenerate.
8403 * sysdeps/s390/configure.ac:
8404 Add check for gcc transactions support.
8405 * sysdeps/s390/configure: Regenerate.
8406 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
8407 Build elision files if enabled.
8408 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
8409 Add lock elision support for s390.
8410 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
8411 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
8412 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
8413 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
8414 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
8415 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
8416 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
8417 Likewise.
8418 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
8419 Likewise.
8420 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
8421 Likewise.
8422 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
8423 Likewise.
8424 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
8425 (__lll_timedlock_elision, __lll_lock_elision)
8426 (__lll_unlock_elision, __lll_trylock_elision)
8427 (lll_timedlock_elision, lll_lock_elision)
8428 (lll_unlock_elision, lll_trylock_elision): Add.
8429 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
8430 (pthread_mutex_t): Add lock elision support for s390.
8431
1a2f40e5
W
84322014-05-14 Wilco <wdijkstr@arm.com>
8433
8434 * sysdeps/arm/fclrexcpt.c: Cleanup.
8435 * sysdeps/arm/fedisblxcpt.c: Cleanup.
8436 * sysdeps/arm/feenablxcpt.c: Cleanup.
8437 * sysdeps/arm/fegetenv.c: Cleanup.
8438 * sysdeps/arm/fegetexcept.c: Cleanup.
8439 * sysdeps/arm/fegetround.c: Cleanup.
8440 * sysdeps/arm/feholdexcpt.c: Cleanup.
8441 * sysdeps/arm/fesetenv.c: Cleanup.
8442 * sysdeps/arm/fesetround.c: Cleanup.
8443 * sysdeps/arm/feupdateenv.c: Cleanup.
8444 * sysdeps/arm/fgetexcptflg.c: Cleanup.
8445 * sysdeps/arm/fraiseexcpt.c: Cleanup.
8446 * sysdeps/arm/fsetexcptflg.c: Cleanup.
8447 * sysdeps/arm/ftestexcept.c: Cleanup.
8448 * sysdeps/arm/get-rounding-mode.h: Cleanup.
8449 * sysdeps/arm/setfpucw.c: Cleanup.
8450
f63c86fe
WN
84512014-05-09 Will Newton <will.newton@linaro.org>
8452
8453 * sysdeps/arm/armv7/strcmp.S: New file.
8454 * NEWS: Mention addition of ARMv7 optimized strcmp.
8455
7a1a51b5
RM
84562014-05-08 Roland McGrath <roland@hack.frob.com>
8457
95afbbe5
RM
8458 * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
8459 look for %.ac rather than %.in.
8460
8461 * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
8462 * sysdeps/unix/sysv/linux/configure.ac: Likewise.
8463 * sysdeps/mach/hurd/configure: Regenerated.
8464 * sysdeps/unix/sysv/linux/configure: Regenerated.
8465
7a1a51b5
RM
8466 * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
8467
5057ad3b
SE
84682014-05-07 Steve Ellcey <sellcey@mips.com>
8469
8470 [BZ# 16922]
8471 * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
8472 (LONG_SUB): Ditto.
8473 (PTR_SUB): Ditto.
8474
8dc97517
AS
84752014-05-07 Andreas Schwab <schwab@suse.de>
8476
8477 * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
8478 when skipping over non-matching result from nscd.
8479
ce0c5b8f
OB
84802014-05-07 Ondřej Bílka <neleai@seznam.cz>
8481
8482 [BZ #16876]
8483 * nptl/sockperf.c (client): Check socket return value.
8dc97517 8484
a1189263
OB
8485 [BZ #16877]
8486 * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
8487 nscd security class.
ce0c5b8f 8488
0f58d252
RM
84892014-05-06 Roland McGrath <roland@hack.frob.com>
8490
8491 * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
8492 * sysdeps/arm/unwind.h: ... here.
8493
83df9ad0
AJ
84942014-05-06 Aurelien Jarno <aurelien@aurel32.net>
8495
ce0c5b8f
OB
8496 [BZ# 16916]
8497 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
8498 Define.
83df9ad0 8499
f360f94a
VR
85002014-05-06 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
8501
8502 * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
8503 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
8504 multiarch strncpy for PPC64.
8505 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
8506 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
8507 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
8508 multiarch optimizations.
8509 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
8510 (__libc_ifunc_impl_list): Likewise.
8511 * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
8512 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
8513 multiarch stpncpy for PPC64.
8514 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
8515 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
8516
978a41c3
AS
85172014-05-06 Andreas Schwab <schwab@suse.de>
8518
8519 [BZ #16912]
8520 * gmon/mcount.c (_MCOUNT_DECL): Use
8521 atomic_compare_and_exchange_bool_acq instead of
8522 catomic_compare_and_exchange_bool_acq.
8523
eb1ed03d
RM
85242014-05-05 Roland McGrath <roland@hack.frob.com>
8525
fe658845
RM
8526 * elf/Makefile (others, install-bin): Remove pldd.
8527 (pldd-modules): Variable removed.
8528 ($(objpfx)pldd): Target removed.
8529 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
8530 (others, install-bin): Append pldd here.
8531 ($(objpfx)pldd): New target.
8532
eb1ed03d
RM
8533 * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
8534 to 0, so the first #if test emitted later doesn't see it undefined.
8535 (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
8536 * sysdeps/gnu/errlist.c: Regenerated.
8537
19c4bec0
AZ
85382014-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8539
8540 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
8541 [libc_hidden_builtin_def]: Define to empty value.
8542 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
8543 [libc_hidden_builtin_def]: Likewise.
8544 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
8545 [libc_hidden_builtin_def]: Likewise.
8546 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
8547 [libc_hidden_builtin_def]: Likewise.
8548 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
8549 __redirect_memcpy and define ifunc as default hidden symbol.
8550 * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
8551 * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
8552
7776e669
AC
85532014-05-04 Adam Conrad <adconrad@0c3.net>
8554
8555 * locale/iso-4217.def: Reintroduce XDR currency.
8556
d69aeb12
AM
85572014-05-04 Allan McRae <allan@archlinux.org>
8558
8559 * po/eo.po: Update Esperanto translation from translation project.
8560
8f1df5cf
CD
85612014-05-02 Carlos O'Donell <carlos@redhat.com>
8562
8563 * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
8564 and FEATURE_INDEX_MAX to 1.
8565 [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
8566
13e402e7
SE
85672014-05-01 Steve Ellcey <sellcey@mips.com>
8568
8569 * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
8570 * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
8571 * iconvdata/big5.c (ONE_DIRECTION): Define.
8572 * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
8573 * iconvdata/cp1255.c (ONE_DIRECTION): Define.
8574 * iconvdata/cp1258.c (ONE_DIRECTION): Define.
8575 * iconvdata/cp932.c (ONE_DIRECTION): Define.
8576 * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
8577 * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
8578 * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
8579 * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
8580 * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
8581 * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
8582 * iconvdata/gb18030.c (ONE_DIRECTION): Define.
8583 * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
8584 * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
8585 * iconvdata/gbk.c (ONE_DIRECTION): Define.
8586 * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
8587 * iconvdata/ibm930.c (ONE_DIRECTION): Define.
8588 * iconvdata/ibm932.c (ONE_DIRECTION): Define.
8589 * iconvdata/ibm933.c (ONE_DIRECTION): Define.
8590 * iconvdata/ibm935.c (ONE_DIRECTION): Define.
8591 * iconvdata/ibm937.c (ONE_DIRECTION): Define.
8592 * iconvdata/ibm939.c (ONE_DIRECTION): Define.
8593 * iconvdata/ibm943.c (ONE_DIRECTION): Define.
8594 * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
8595 * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
8596 * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
8597 * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
8598 * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
8599 * iconvdata/iso646.c (ONE_DIRECTION): Define.
8600 * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
8601 * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
8602 * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
8603 * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
8604 * iconvdata/johab.c (ONE_DIRECTION): Define.
8605 * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
8606 * iconvdata/sjis.c (ONE_DIRECTION): Define.
8607 * iconvdata/t.61.c (ONE_DIRECTION): Define.
8608 * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
8609 * iconvdata/tscii.c (ONE_DIRECTION): Define.
8610 * iconvdata/uhc.c (ONE_DIRECTION): Define.
8611 * iconvdata/unicode.c (ONE_DIRECTION): Define.
8612 * iconvdata/utf-16.c (ONE_DIRECTION): Define.
8613 * iconvdata/utf-32.c (ONE_DIRECTION): Define.
8614 * iconvdata/utf-7.c (ONE_DIRECTION): Define.
8615
c727f032
RM
86162014-05-01 Roland McGrath <roland@hack.frob.com>
8617
8f2f08d0
RM
8618 * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
8619 (_IO_JUMPS_OFFSET): Define to 0.
8620
c727f032
RM
8621 * nptl/sysdeps/pthread/bits/libc-lock.h
8622 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
8623 (__libc_lock_define_initialized_recursive): Always define using
8624 initializer. Modern compilers treat uninitialized (implicit zero) and
8625 explicit zero initializers the same (i.e. put the datum in bss).
8626
a849e800
AS
86272014-05-01 Andreas Schwab <schwab@linux-m68k.org>
8628
8629 * nscd/nscd-client.h: Include <string.h>.
8630
5331255b
DM
86312014-05-01 David S. Miller <davem@davemloft.net>
8632
8633 [BZ #16885]
8634 * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
8635 multiple zero bytes exist at the end of a string.
8636 Reported by Aurelien Jarno <aurelien@aurel32.net>
8637
8638 * string/test-strcmp.c (check): Add explicit test for situations where
8639 there are multiple zero bytes after the first.
8640
4fdfe821
AS
86412014-05-01 Andreas Schwab <schwab@linux-m68k.org>
8642
8643 [BZ #16890]
8644 * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
8645 when compiling wprintf.
8646 * stdio-common/tstdiomisc.c (t3): New function.
8647 (main): Call it.
8648
0cdddc25
SE
86492014-05-01 Steve Ellcey <sellcey@mips.com>
8650
8651 * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
8652 * iconv/gconv_simple.c (ONE_DIRECTION): Define.
8653 * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
8654 * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
8655
6426d77e
SE
86562014-05-01 Steve Ellcey <sellcey@mips.com>
8657
8658 * stdlib/longlong.h: Updated from GCC.
8659
6d96f5e4
WN
86602014-05-01 Will Newton <will.newton@linaro.org>
8661 Bernard Ogden <bernie.ogden@linaro.org>
8662
7470db0c
WN
8663 * NEWS: Update fixed bug list.
8664
6d96f5e4
WN
8665 [BZ #15119]
8666 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
8667
211d653c
DM
86682014-04-30 David S. Miller <davem@davemloft.net>
8669
4fa262fa
DM
8670 * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
8671 (libc_feholdexcept_setround_sparc_ctx): New function.
8672 (libc_fesetenv_sparc_ctx): Likewise.
8673 (libc_feupdateenv_sparc_ctx): Likewise.
8674 (libc_feholdsetround_sparc_ctx): Likewise.
8675 (libc_feholdexcept_setround_ctx): Define.
8676 (libc_feholdexcept_setroundf_ctx): Likewise.
8677 (libc_feholdexcept_setroundl_ctx): Likewise.
8678 (libc_fesetenv_ctx): Likewise.
8679 (libc_fesetenvf_ctx): Likewise.
8680 (libc_fesetenvl_ctx): Likewise.
8681 (libc_feupdateenv_ctx): Likewise.
8682 (libc_feupdateenvf_ctx): Likewise.
8683 (libc_feupdateenvl_ctx): Likewise.
8684 (libc_feresetround_ctx): Likewise.
8685 (libc_feresetroundf_ctx): Likewise.
8686 (libc_feresetroundl_ctx): Likewise.
8687 (libc_feholdsetround_ctx): Likewise.
8688 (libc_feholdsetroundf_ctx): Likewise.
8689 (libc_feholdsetroundl_ctx): Likewise.
8690
1d3d93ef
DM
8691 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
8692 with __USE_GNU instead of XOPEN cpp guards.
8693
8aa583c3
DM
8694 * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
8695 0.
8696
211d653c
DM
8697 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
8698 with XOPEN cpp guards.
8699
60c8f1f6
JB
87002014-04-30 Julian Brown <julian@codesourcery.com>
8701
8702 [BZ #16888]
8703 * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
8704 handling.
8705
9a461d46
JM
87062014-04-30 Joseph Myers <joseph@codesourcery.com>
8707
d0f5b3f8
JM
8708 [BZ #9894]
8709 * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
8710 Change to 2.6.32.
8711 (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
8712 * sysdeps/unix/sysv/linux/configure: Regenerated.
8713 * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
8714 * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
8715 * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
8716 * sysdeps/unix/sysv/linux/tile/configure: Likewise.
8717 * README: Update reference to required Linux kernel version.
8718 * manual/install.texi (Linux): Update reference to required Linux
8719 kernel headers version.
8720 * INSTALL: Regenerated.
8721
9a461d46
JM
8722 * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
8723 header inclusion.
8724 [POSIX] (limits.h): Likewise.
8725 [POSIX] (math.h): Likewise.
8726 [POSIX] (sys/wait.h): Likewise.
8727 * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
8728 function.
8729 [POSIX] (stddef.h): Do not allow header inclusion.
8730
1775babf
AZ
87312014-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8732
57f41c40 8733 * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
1775babf 8734
8f630cca
YY
87352014-04-30 Yang Yingliang <yangyingliang@huawei.com>
8736
8737 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
8738 Return immediately after lll_futex_wake.
8739
1cdeb237
SP
87402014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
8741
bc8f194c
SP
8742 [BZ #16791]
8743 * nscd/nscd-client.h (datahead_init_common): Initialize entire
8744 structure.
8745 (datahead_init_pos): Call datahead_init_common early.
8746 (datahead_init_neg): Likewise.
8747
1cdeb237
SP
8748 * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
8749 datahead_init_neg): New functions.
8750 * nscd/aicache.c (addhstaiX): Use them.
8751 * nscd/grpcache.c (cache_addgr): Likewise.
8752 * nscd/hstcache.c (cache_addhst): Likewise.
8753 * nscd/initgrcache.c (addinitgroupsX): Likewise.
8754 * nscd/netgroupcache.c (do_notfound): Likewise.
8755 (addgetnetgrentX): Likewise.
8756 (addinnetgrX): Likewise.
8757 * nscd/pwdcache.c (cache_addpw): Likewise.
8758 * nscd/servicescache.c (cache_addserv): Likewise.
8759
16b293a7
SP
87602014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
8761 Atsushi Onoe <atsushi@onoe.org>
8762
8763 [BZ #14308]
8764 [BZ #12994]
8765 [BZ #13651]
8766 * resolv/res_query.c (__libc_res_nsearch): Return if at least
8767 one response is valid.
8768 * resolv/res_send.c (send_dg): Check for validity of other
8769 response if the current response is a referral.
8770
a28a9b94
SE
87712014-04-29 Steve Ellcey <sellcey@mips.com>
8772
8773 * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
8774
2ca180e9
SL
87752014-04-29 Stefan Liebler <stli@linux.vnet.ibm.com>
8776
8777 [BZ #16823]
8778 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
8779 Always divide by positive zero when computing -Inf result.
8780 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
8781 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
8782
18f2945a
AZ
87832014-04-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8784
8785 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
8786 FPSCR if value do not change.
8787 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
8788 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
8789 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
8790 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
8791 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
8792 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
8793 function.
8794
5abebba4
CD
87952014-05-29 Carlos O'Donell <carlos@systemhalted.org>
8796
8797 * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
8798 * sysdeps/unix/sysv/linux/hppa: Move directory from
8799 ports/systeps/unix/sysv/linux/hppa.
8800 * README: Update listing for hppa-*-linux-gnu.
8801
f7ed60c2
OB
88022014-04-28 Ondřej Bílka <neleai@seznam.cz>
8803
fff763a5
OB
8804 [BZ #16754]
8805 * manual/stdio.texi (Hook functions): Fix types of stream hook
8806 functions.
f7ed60c2
OB
8807 [BZ #16854]
8808 * socket/sys/socket.h: Fix typo in comment.
8809
df639d73
WD
88102014-04-28 Wilco <wdijkstr@arm.com>
8811
f7ed60c2 8812 * sysdeps/arm/fenv_private.h: New file.
df639d73
WD
8813 * sysdeps/arm/math_private.h: New file.
8814 * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
8815
48332d82
L
88162014-04-25 H.J. Lu <hongjiu.lu@intel.com>
8817
8818 * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
8819 with __int128_t.
8820 (La_x86_64_retval): Likewise.
8821
e5e0d9a4
IB
88222014-04-24 Ian Bolton <ian.bolton@arm.com>
8823
8824 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
8825 fpsr if value didn't change.
8826 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
8827 to fpcr if value didn't change.
8828 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
8829 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
8830 fpsr or fpcr if value didn't change.
8831 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
8832 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
8833 fpcr if value didn't change.
8834 * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
8835 to fpsr if value didn't change.
8836
bacc75f7
SP
88372014-02-23 Siddhesh Poyarekar <siddhesh@redhat.com>
8838
8839 * nptl/tst-sem3.c: Use test-skeleton.c
8840 (main): Rename to do_test. Use return instead of
8841 exit.
8842 * nptl/tst-sem4.c: Use test-skeleton.c
8843 (main): Rename to do_test.
8844
a059d359
DM
88452014-04-22 David S. Miller <davem@davemloft.net>
8846
8847 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
8848 (struct sigaction): New struct member __glibc_reserved0, change
8849 type of sa_flags to int.
8850
ea6c92f3
YZ
88512014-04-22 Yufeng Zhang <yufeng.zhang@arm.com>
8852
8853 * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
8854 (COUNT_LEADING_ZEROS_0): Define for AArch64.
8855
766c4a36
SP
88562014-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
8857
8858 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
8859 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
8860
140cc7ab
VK
88612014-04-22 Will Newton <will.newton@linaro.org>
8862 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
8863
8864 * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
8865 (__longjmp): Add longjmp and longjmp_target SystemTap
8866 probes.
8867 * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
8868 (__sigsetjmp): Add setjmp SystemTap probe.
8869
c54e5cf7
CD
88702014-04-17 Carlos O'Donell <carlos@redhat.com>
8871
8872 * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
8873 match manual order.
8874
75ffb047
AZ
88752014-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8876
8877 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
8878
2cd925f7
AZ
8879 * sysdeps/powerpc/fpu/fenv_private.h
8880 (libc_feholdexcept_setroundl_ctx): Define to
8881 libc_feholdexcept_setround_ppc_ctx.
8882 (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
8883 (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
8884 (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
8885 (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
8886
39e6cd8d
IB
88872014-04-17 Ian Bolton <ian.bolton@arm.com>
8888
8889 * sysdeps/aarch64/math-tests.h: New file.
8890
f9281df9
SY
88912014-04-17 Sihai Yao <sihai.ysh@alibaba-inc.com>
8892
8893 * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
8894 New.
8895 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
8896 Check and set bit_AVX2_Usable.
8897 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
8898 macro.
8899 (bit_AVX2): Likewise.
8900 (index_AVX2_Usable): Likewise.
8901 (CPUID_AVX2): Likewise.
8902 (HAS_AVX2): Likewise.
8903
37d35007
WN
89042014-04-17 Will Newton <will.newton@linaro.org>
8905
7c677662
WN
8906 * manual/setjmp.texi (System V contexts): Add note that
8907 calling setcontext on a context created by a call to a
8908 signal handler is undefined. Update text to note that
8909 setcontext from a signal handler is possible but not
8910 recommended.
8911
37d35007 8912 [BZ #16629]
e04a4e9d
WN
8913 * stdlib/tst-setcontext.c: Include signal.h.
8914 (main): Check that the signal stack before and
8915 after swapcontext is the same.
8916
37d35007
WN
8917 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
8918 Re-implement to restore registers in user code and avoid
8919 rt_sigreturn system call.
8920
423a7160
W
89212014-04-17 Wilco <wdijkstr@arm.com>
8922
8923 * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
8924 * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
8925 * math/test-fenv.c: Skip exception trap tests on targets which only
8926 support non-stop mode.
8927
bc93ab29
IB
89282014-04-17 Ian Bolton <ian.bolton@arm.com>
8929 Wilco Dijkstra <wilco.dijkstra@arm.com>
8930
8931 * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
8932 (libc_feholdsetround_aarch64_ctx)
8933 (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
8934 (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
8935 (libc_feresetround_ctx, libc_feresetroundf_ctx)
8936 (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
8937 (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
8938 (libc_feresetround_noexl_ctx): Define.
8939
95fc5fa3
RH
89402014-04-16 Richard Henderson <rth@redhat.com>
8941
ddb04724
RH
8942 * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
8943
d77c0899
RH
8944 * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
8945 unwind tables.
8946
a3df56fc
RH
8947 * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
8948 const from the non-libc, non-ldso copy.
8949
95fc5fa3
RH
8950 * sysdeps/alpha/libm-test-ulps: Regenerate.
8951
7e0b6763
IB
89522014-04-16 Ian Bolton <ian.bolton@arm.com>
8953 Wilco Dijkstra <wilco.dijkstra@arm.com>
8954
8955 * sysdeps/aarch64/fpu/math_private.h: New file.
8956
a9ea2e0c
MS
89572014-04-16 Marcus Shawcroft <marcus.shawcroft@arm.com>
8958
8959 * sysdeps/aarch64/libm-test-ulps: Regenerate.
8960
ea8ba7cd
IZ
89612014-04-16 Igor Zamyatin <igor.zamyatin@intel.com>
8962
7e54fd04 8963 [BZ #16275]
ea8ba7cd
IZ
8964 * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
8965 (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
8966 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
8967 Intel MPX bound registers before _dl_profile_fixup.
8968 * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
8969 registers after _dl_profile_fixup. Save and restore bound
8970 registers bnd0/bnd1 when calling _dl_call_pltexit.
8971 * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
8972 (LR_BND_OFFSET): Likewise.
8973 (LRV_BND0_OFFSET): Likewise.
8974 (LRV_BND1_OFFSET): Likewise.
8975
9f2a4fbc
ST
89762014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
8977
8978 * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
8979 to...
8980 * sysdeps/mach/hurd/i386/tls.h: ... here.
3c799e91
ST
8981 (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
8982 pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
8983 fields.
9f2a4fbc 8984
fd15a59b
ST
89852014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
8986
8987 * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
8988
f19dfa0a
SL
89892014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
8990
8991 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
8992
4fa8bc3b
SL
89932014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
8994
8995 [BZ #14770]
8996 * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
8997 * sysdeps/s390/configure: Regenerate.
8998
8ea587db
SL
8999 [BZ #16824]
9000 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
9001 Set round-to-nearest internally to reduce error accumulation.
9002
aa5f0ff1
AM
90032014-04-16 Alan Modra <amodra@gmail.com>
9004
9005 [BZ #16740]
9006 [BZ #16619]
9007 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
9008 * math/libm-test.inc (frexp_test_data): Add tests.
9860b045 9009 * NEWS: Update fixed bug list.
aa5f0ff1 9010
bb9c256f
SP
90112014-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
9012
9013 * benchtests/Makefile: Depend on libraries in build directory.
9014 (bench-math): Separate out math tests.
9015 (bench-pthread): Separate out pthread tests.
9016 (bench): Include math and pthread tests.
9017
f737dfd0
CD
90182014-04-14 Carlos O'Donell <carlos@redhat.com>
9019
9020 [BZ #16831]
9021 * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
9022 _dl_debug_initialize.
9023
0699f766
CD
9024 * configure.ac: Remove SELinux header check.
9025 * configure: Regenerate.
9026 * nscd/selinux.c (perms): Array of const char* to permission names.
9027 (nscd_request_avc_has_perm): Call security_deny_unknown to find
9028 default policy. Call string_to_security_class and string_to_av_perm to
9029 translate strings. Enforce default policy and call avs_has_perm with
9030 results of translated strings.
9031
809bd45f
DM
90322014-04-13 David S. Miller <davem@davemloft.net>
9033
9034 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9035
89e691f2
AM
90362014-04-12 Allan McRae <allan@archlinux.org>
9037
9038 [BZ #16838]
9039 * manual/string.texi (Collation Functions): Fix qsort argument
9040 order in example.
9041 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
9042
9c9daaeb
CM
90432014-04-11 Chris Metcalf <cmetcalf@tilera.com>
9044
9045 * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
9046 Make the test a no-op if there are no exceptions defined.
9047
95561fb9
PP
90482014-04-11 Paul Pluzhnikov <ppluzhnikov@google.com>
9049
fe8d072c 9050 * elf/Makefile (tests): make tst-dlopen-aout conditional on
95561fb9
PP
9051 enable-hardcoded-path-in-tests
9052
970c602a
WN
90532014-04-11 Will Newton <will.newton@linaro.org>
9054
9055 * benchtests/Makefile (extra-objs): Add json-lib.o.
9056 (bench-func): Tidy up JSON output.
9057 * benchtests/bench-skeleton.c: Include json-lib.h.
9058 (main): Use JSON library functions to do output of
9059 benchmark results.
9060 * benchtests/bench-timing-type.c (main): Output the
9061 timing type simply, leaving formatting to the user.
9062 * benchtests/json-lib.c: New file.
9063 * benchtests/json-lib.h: Likewise.
9064
36875b06
TR
90652014-04-11 Torvald Riegel <triegel@redhat.com>
9066
9067 [BZ #15215]
9068 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
9069 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here. Add missing
9070 memory barriers. Add comments.
9071 * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
9072 * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
9073 * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
9074 * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
9075 * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
9076 * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
9077
579db35a
SL
90782014-04-11 Stefan Liebler <stli@linux.vnet.ibm.com>
9079
9080 * sysdeps/s390/s390-32/configure.ac: Unify file with ...
9081 * sysdeps/s390/s390-64/configure.ac: ... this ...
9082 * sysdeps/s390/configure.ac: ... to here.
9083 * sysdeps/s390/s390-32/configure: Delete file.
9084 * sysdeps/s390/s390-64/configure: Delete file.
9085 * sysdeps/s390/configure: Regenerate.
9086
c12e9f37
JAPH
90872014-04-11 Joseph Anthony Pasquale Holsten <joseph@josephholsten.com>
9088
9089 * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
9090
439bda32
WN
90912014-04-11 Will Newton <will.newton@linaro.org>
9092
9093 * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
9094 to zero if it is not defined elsewhere. (mtrim): Test
9095 the value of MALLOC_DEBUG with #if rather than #ifdef.
9096
6a5d6ea1
TR
90972014-04-10 Torvald Riegel <triegel@redhat.com>
9098
9099 * benchtests/pthread_once-inputs: New file.
9100 * benchtests/pthread_once-source.c: New file.
9101 * benchtests/README: Update documentation.
9102
a4c75cfd
IZ
91032014-04-09 Igor Zamyatin <igor.zamyatin@intel.com>
9104 H.J. Lu <hongjiu.lu@intel.com>
9105
7e54fd04 9106 [BZ #16275]
a4c75cfd
IZ
9107 * config.h.in (HAVE_MPX_SUPPORT): New #undef.
9108 * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
9109 * sysdeps/x86_64/configure: Regenerated.
9110 * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
9111 macro.
9112 (REGISTER_SAVE_RAX): Likewise.
9113 (REGISTER_SAVE_RCX): Likewise.
9114 (REGISTER_SAVE_RDX): Likewise.
9115 (REGISTER_SAVE_RSI): Likewise.
9116 (REGISTER_SAVE_RDI): Likewise.
9117 (REGISTER_SAVE_R8): Likewise.
9118 (REGISTER_SAVE_R9): Likewise.
9119 (REGISTER_SAVE_BND0): Likewise.
9120 (REGISTER_SAVE_BND1): Likewise.
9121 (REGISTER_SAVE_BND2): Likewise.
9122 (_dl_runtime_resolve): Use them. Save and restore Intel MPX
9123 bound registers when calling _dl_fixup.
9124
27822ce6
AZ
91252014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9126
9127 * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
57f41c40
AS
9128 * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
9129 of its definition.
27822ce6
AZ
9130 * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
9131 * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
9132 * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
9133 * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
9134 * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
9135 * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
9136 * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
9137
a88ddc90
PTB
91382014-04-09 Peter Brett <peter@peter-b.co.uk>
9139
9140 [BZ #15514]
9141 * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
9142 pathconf(_PC_NAME_MAX).
9143
01f8eac2
AZ
91442014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9145
9146 * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
9147 Remove macro usage.
9148 (__PTHREAD_SPINS): Move definition to ...
9149 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
9150 (__PTHREAD_SPINS): ... here.
9151 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
9152 (__PTHREAD_SPIN): Likewise.
9153 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
9154 (__PTHREAD_SPIN): Likewise.
9155 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
9156 (__PTHREAD_SPIN): Likewise.
9157 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
9158 (__PTHREAD_SPIN): Likewise.
9159 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
9160 (__PTHREAD_SPIN): Likewise.
9161 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
9162 (__PTHREAD_SPIN): Likewise.
9163 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
9164 (__PTHREAD_SPIN): Likewise.
9165 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
9166 (__PTHREAD_SPIN): Likewise.
9167 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
9168 (__PTHREAD_SPIN): Likewise.
9169 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
9170 (__PTHREAD_SPIN): Likewise.
9171 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
9172 (__PTHREAD_SPIN): Likewise.
9173 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
9174 (__PTHREAD_SPIN): Likewise.
9175
de21c33c
AZ
9176 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
9177 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
9178 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
9179 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
9180 imply folder.
9181 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
9182 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
9183 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
9184 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
9185 correct imply path.
9186 * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
9187 strlen symbol for non multi-arch builds.
9188 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
9189 missing hidden_def and weak_alias.
9190
862c472e
CD
91912014-04-08 Carlos O'Donell <carlos@redhat.com>
9192
9193 * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
9194
8667f90e
WN
91952014-04-07 Will Newton <will.newton@linaro.org>
9196
9197 * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
9198 and contents. [!_LIBC] Remove #ifndef and contents.
9199 (basename): Use ANSI prototype. [_LIBC] Remove #idef.
9200 * string/memccpy.c (__memccpy): Use ANSI prototype.
9201 * string/memfrob.c (memfrob): Likewise.
9202 * string/strcoll.c (STRCOLL): Likewise.
9203 * string/strlen.c (strlen): Likewise.
9204 * string/strtok.c (STRTOK): Likewise.
9205 * string/strcat.c: Remove unused #include of memcopy.h.
9206 (strcat): Use ANSI prototype.
9207 * string/strchr.c: Remove unused #include of memcopy.h.
9208 (strchr): Use ANSI prototype.
9209 * string/strcmp.c: Remove unused #include of memcopy.h.
9210 (strcmp): Use ANSI prototype.
9211 * string/strcpy.c: Remove unused #include of memcopy.h.
9212 (strcpy): Use ANSI prototype.
9213
7ffa9423
AZ
92142014-04-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9215
9216 * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
9217 * config.make.in (config-extra-cppflags): Set it from
9218 libc_extra_cppflags.
9219 * configure.ac (libc_extra_cflags): Make it accumulate over
9220 configure fragments.
9221 (libc_extra_cppflags): New flag.
9222 * configure. Regenerate.
9223 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
57f41c40
AS
9224 (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
9225 not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
7ffa9423
AZ
9226 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
9227
8bd70862
AZ
9228 [BZ #16815]
9229 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
9230 result for FE_DOWNWARD rounding mode.
9231 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
9232 Likewise.
9233 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9234
d42f3448
CM
92352014-04-04 Chris Metcalf <cmetcalf@tilera.com>
9236
9237 * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
9238 in function argument name.
9239
1c21d115
DS
92402014-04-03 David Svoboda <svoboda@cert.org>
9241
9242 [BZ #5666]
9243 * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
9244 explicitly.
9245
fcccd512
RM
92462014-04-03 Roland McGrath <roland@hack.frob.com>
9247
9248 * elf/dl-unmap-segments.h: New file.
9249 * sysdeps/generic/ldsodefs.h
9250 (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
9251 * elf/dl-close.c: Include <dl-unmap-segments.h>.
9252 * elf/dl-fptr.c: Likewise.
9253 (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
9254 * sysdeps/aarch64/tlsdesc.c: Likewise.
9255 * sysdeps/arm/tlsdesc.c: Likewise.
9256 * sysdeps/i386/tlsdesc.c: Likewise.
9257 * sysdeps/tile/dl-runtime.c: Likewise.
9258 * sysdeps/x86_64/tlsdesc.c: Likewise.
9259 * elf/dl-load.h: New file.
9260 * elf/dl-load.c: Include it.
9261 (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
9262 Macros moved to dl-load.h.
9263 (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
9264 (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
9265 Use _dl_unmap_segments in place of __munmap.
9266 Break out segment-mapping loop into ...
9267 * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
9268
f6488e2b
WN
92692014-04-03 Will Newton <will.newton@linaro.org>
9270
9271 * elf/dl-lookup.c (do_lookup_x): Remove comment
9272 referring to nested function and move variable
9273 declarations down to before first use.
9274
6f05bafe
JM
92752014-04-02 Joseph Myers <joseph@codesourcery.com>
9276
a84e78c8
JM
9277 [BZ #16799]
9278 [BZ #16800]
9279 * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
9280 with 0 numerator.
9281 * math/s_catanf.c (__catanf): Likewise.
9282 * math/s_catanh.c (__catanh): Likewise.
9283 * math/s_catanhf.c (__catanhf): Likewise.
9284 * math/s_catanhl.c (__catanhl): Likewise.
9285 * math/s_catanl.c (__catanl): Likewise.
9286 * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
9287 by positive zero when computing -Inf result.
9288 * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
9289 (catanh_test): Likewise.
9290 * sysdeps/i386/fpu/libm-test-ulps: Update.
9291 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9292
6f05bafe
JM
9293 [BZ #16789]
9294 * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
9295 instead of using underflowing value in computing result.
9296 * math/s_clog10.c (__clog10): Likewise.
9297 * math/s_clog10f.c (__clog10f): Likewise.
9298 * math/s_clog10l.c (__clog10l): Likewise.
9299 * math/s_clogf.c (__clogf): Likewise.
9300 * math/s_clogl.c (__clogl): Likewise.
9301 * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
9302 (clog10_test): Likewise.
9303 * sysdeps/i386/fpu/libm-test-ulps: Update.
9304 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9305
b0abbc21
AM
93062014-04-02 Alan Modra <amodra@gmail.com>
9307
9308 [BZ #16739]
9309 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
9310 output when value is near a power of two. Use int64_t for lx and
9311 remove casts. Use decimal rather than hex exponent constants.
9312 Don't use long double multiplication when double will suffice.
9313 * math/libm-test.inc (nextafter_test_data): Add tests.
9314 * NEWS: Add 16739 and 16786 to bug list.
9315
af6b1797
AM
9316 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
9317
483818d7
AM
9318 * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
9319
f6c55796
WN
93202014-04-01 Will Newton <will.newton@linaro.org>
9321
9322 * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
9323 -fno-builtin. (CFLAGS-bench-ffsll.c): Likewise.
9324
13f7fe35
FW
93252014-04-01 Florian Weimer <fweimer@redhat.com>
9326
9327 [BZ #13347]
9328 * nptl/nptl-init.c (sighandler_setxid): Check system call result.
9329 * nptl/tst-setuid2.c: New file.
9330 * nptl/Makefile (xtests): Add tst-setuid2.
9331
c859b32e
AM
93322014-04-01 Alan Modra <amodra@gmail.com>
9333
9334 [BZ #16786]
9335 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
9336
54fa2475
JM
93372014-03-31 Joseph Myers <joseph@codesourcery.com>
9338
8795b4a4
JM
9339 [BZ #6803]
9340 [BZ #6804]
9341 * math/w_scalb.c (__scalb): For non-SVID mode, check result and
9342 set errno as appropriate.
9343 * math/w_scalbf.c (__scalbf): Likewise.
9344 * math/w_scalbl.c (__scalbl): Likewise.
9345 * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
9346 ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
9347 * math/libm-test.inc (scalb_test_data): Add errno expectations.
9348 Add more NaN tests.
9349
54fa2475
JM
9350 [BZ #16349]
9351 * math/w_atan2.c: Include <errno.h>.
9352 (__atan2): Set errno for result underflowing to zero.
9353 * math/w_atan2f.c: Include <errno.h>.
9354 (__atan2f): Set errno for result underflowing to zero.
9355 * math/w_atan2l.c: Include <errno.h>.
9356 (__atan2l): Set errno for result underflowing to zero.
9357 * math/auto-libm-test-in: Don't allow missing errno for some atan2
9358 tests.
9359 * math/auto-libm-test-out: Regenerated.
9360
757d9dd5
AZ
93612014-03-31 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9362
9363 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
9364 Encode instruction correctly in little endian.
9365 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
9366 Likewise.
9367 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
9368 Likewise.
9369 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
9370 Likewise.
9371 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
9372 Likewise.
9373
d7a68734
JM
93742014-03-31 Joseph Myers <joseph@codesourcery.com>
9375
47c5adeb
JM
9376 [BZ #9894]
9377 * sysdeps/unix/sysv/linux/kernel-features.h
9378 [__sparc__ && !__arch64__ && !__sparc_v9__]
9379 (__ASSUME_SET_ROBUST_LIST): Do not define.
9380 [__sparc__ && !__arch64__ && !__sparc_v9__]
9381 (__ASSUME_FUTEX_LOCK_PI): Likewise.
9382 [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
9383 Likewise.
9384 * sysdeps/unix/sysv/linux/arm/kernel-features.h
9385 (__ASSUME_FUTEX_LOCK_PI): Undefine.
9386 (__ASSUME_REQUEUE_PI): Likewise.
9387 (__ASSUME_SET_ROBUST_LIST): Likewise.
9388 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
9389 [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
9390 Undefine.
9391 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
9392 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
9393 Likewise.
9394 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
9395 Likewise.
9396 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
9397 Likewise.
9398 * sysdeps/unix/sysv/linux/mips/kernel-features.h
9399 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
9400 Undefine.
9401 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
9402 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
9403 Likewise.
9404
d7a68734
JM
9405 [BZ #16648]
9406 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
9407 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
9408 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
9409
c760f5c2
WN
94102014-03-31 Will Newton <will.newton@linaro.org>
9411
9412 * benchtests/Makefile (bench): Add ffs and ffsll to list
9413 of tests.
9414 * benchtests/ffs-inputs: New file.
9415 * benchtests/ffsll-inputs: Likewise.
9416
ea6029b1
JM
94172014-03-29 Joseph Myers <joseph@codesourcery.com>
9418
9419 [BZ #16770]
9420 * math/e_scalb.c (__ieee754_scalb): Check second argument is not
9421 too large before casting to int.
9422 * math/e_scalbf.c (__ieee754_scalbf): Likewise.
9423 * math/e_scalbl.c (__ieee754_scalbl): Likewise.
9424 * math/libm-test.inc (scalb_test_data): Add more tests.
9425
cf806aff
SP
94262014-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
9427
56737508
SP
9428 * benchtests/Makefile (DETAILED_OPT): New make option.
9429 (bench-func): Run benchmark program with -d if DETAILED_OPT is
9430 set.
9431 * benchtests/bench-skeleton.c: Include stdbool.h.
9432 (main): Store and print timings per input.
9433 * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
9434 member to each argument value.
9435 (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
9436 (_print_arg_data): Initialize per-input timing to 0.
9437
cb5e4aad
SP
9438 * benchtests/Makefile (timing-type): New binary.
9439 (bench-clean): Also remove bench-timing-type.
9440 (bench): New target for timing-type.
9441 (bench-func): Print output in JSON format.
9442 * benchtests/bench-skeleton.c (main): Print output in JSON
9443 format.
9444 * benchtests/bench-timing-type.c: New file.
9445 * benchtests/bench-timing.h (TIMING_TYPE): New macro.
9446 (TIMING_PRINT_STATS): Remove.
9447 * benchtests/scripts/bench.py (_print_arg_data): Store variant
9448 name separately.
9449
cf806aff
SP
9450 * benchtests/bench-modf.c: Remove.
9451 * benchtests/modf-inputs: New inputs file.
9452
289e0779
JM
94532014-03-28 Joseph Myers <joseph@codesourcery.com>
9454
9455 [BZ #16362]
9456 * math/s_clog10.c (M_PI_LOG10E): New macro.
9457 (__clog10): Use M_PI_LOG10E instead of M_PI when real and
9458 imaginary parts are 0.
9459 * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
9460 (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
9461 imaginary parts are 0.
9462 * math/s_clog10l.c (M_PI_LOG10El): New macro.
9463 (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
9464 imaginary parts are 0.
9465 * math/libm-test.inc (clog10_test_data): Update expected results
9466 for when real and imaginary parts are 0.
9467
277ae3f1
PP
94682014-03-27 Paul Pluzhnikov <ppluzhnikov@google.com>
9469
9470 * elf/dl-load.c: Finish conversion of __builtin_expect into
9471 __glibc_{un}likely.
9472
03a7091f
JM
94732014-03-27 Joseph Myers <joseph@codesourcery.com>
9474
9475 [BZ #16348]
9476 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
9477 1+x for argument with exponent below -67.
9478 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
9479 Likewise.
9480 * math/auto-libm-test-in: Add more tests of exp.
9481 * math/auto-libm-test-out: Regenerated.
9482
ea7d8b95
SP
94832014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
9484
dd3022d7
SP
9485 [BZ #16759]
9486 * inet/getnetgrent_r.c (get_nonempty_val): New function.
9487 (nscd_getnetgrent): Use it.
9488
ea7d8b95
SP
9489 [BZ #16760]
9490 * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
9491 of stpcpy.
9492
df5b85da
AK
94932014-03-27 Andi Kleen <ak@linux.intel.com>
9494
57f41c40
AS
9495 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
9496 (lll_robust_lock, lll_cond_lock, lll_timedlock)
9497 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
9498 (lll_robust_unlock): Remove out of line section. Use cfi
9499 intrinsics.
df5b85da 9500 (LLL_STUB_UNWIND_INFO*): Remove.
57f41c40
AS
9501 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
9502 (lll_robust_lock, lll_cond_lock, lll_timedlock)
9503 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
9504 (lll_robust_unlock): Remove out of line section. Use cfi
9505 intrinsics.
df5b85da
AK
9506 (LLL_STUB_UNWIND_INFO*): Remove.
9507
fbd6b5a4
SP
95082014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
9509
9510 [BZ #16758]
9511 * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
9512 blank values.
9513
1b26b855
PP
95142014-03-26 Paul Pluzhnikov <ppluzhnikov@google.com>
9515
9516 * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
9517
9be36fb8
JM
95182014-03-26 Joseph Myers <joseph@codesourcery.com>
9519
9520 [BZ #16198]
9521 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
9522 fnstenv.
9523 * math/test-fenv-preserve.c: New file.
9524 * math/Makefile (tests): Add test-fenv-preserve.
9525
60a2f3c1
WN
95262014-03-26 Will Newton <will.newton@linaro.org>
9527
9528 * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
9529
a5e5f1e2
RM
95302014-03-25 Roland McGrath <roland@hack.frob.com>
9531
9532 * scripts/versionlist.awk: Partition the version sets and emit all
9533 GLIBC_* (sorted) before all others (sorted).
9534
00f4012a
JM
95352014-03-25 Joseph Myers <joseph@codesourcery.com>
9536
9537 * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
9538 GLIBC_2.2.5 version.
9539
7bc5a741
AZ
95402014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9541
9542 * scripts/localplt.awk: Check for PLT generated by internal IFUNC
9543 calls.
9544
7578473b
AZ
9545 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
9546 previous change.
9547
f3f1dab3
AZ
9548 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9549
6da36183
AS
95502014-03-25 Andreas Schwab <schwab@suse.de>
9551
9552 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
9553 label to be used after in6ailist is initialized.
9554
f3f1dab3 95552014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
449282f2 9556
7578473b 9557 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
449282f2
AZ
9558 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
9559
046651c1
JM
95602014-03-25 Joseph Myers <joseph@codesourcery.com>
9561
9562 [BZ #16357]
9563 [BZ #16599]
9564 * math/gen-auto-libm-tests.c (fp_format_desc): Add field
9565 min_plus_half.
9566 (fp_formats): Update initializers.
9567 (init_fp_formats): Initialize new field.
9568 (output_for_one_input_case): Allow underflow for results up to
9569 min_plus_half.
9570 * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
9571 * math/auto-libm-test-in: Don't mark some underflows from asin and
9572 atanh as spurious.
9573 * math/auto-libm-test-out: Regenerated.
9574 * sysdeps/i386/fpu/libm-test-ulps: Update.
9575 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9576
003e49ed
AS
95772014-03-25 Andreas Schwab <schwab@suse.de>
9578
9579 * libio/Makefile (tst-ftell-partial-wide-ENV)
9580 (tst-ftell-active-handler-ENV): Define.
9581
de031874
SL
95822014-03-25 Stefan Liebler <stli@linux.vnet.ibm.com>
9583
9584 * NEWS: Add 16712, 16713, 16714 to fixed bug list.
9585
55a81e3b
PP
95862014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
9587
9588 * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
9589
f3426898
JM
95902014-03-24 Joseph Myers <joseph@codesourcery.com>
9591
9592 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
9593 * sysdeps/x86_64/fpu/multiarch/e_exp.c
9594 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
9595
a42faf59
PP
95962014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
9597
9598 [BZ #16634]
a42faf59 9599 * elf/dl-load.c (open_verify): Add mode parameter.
97d8ca99
CD
9600 Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
9601 (open_path): Change from boolean 'secure' to complete flag 'mode'
9602 (_dl_map_object): Adjust.
a42faf59
PP
9603 * elf/Makefile (tests): Add tst-dlopen-aout.
9604 * elf/tst-dlopen-aout.c: New test.
9605
50936127
SL
96062014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
9607
9608 [BZ #16714]
9609 * sysdeps/unix/sysv/linux/s390/bits/stat.h
9610 (struct stat): Rename member pad0 to __glibc_reserved0.
9611
26011b5c
SL
9612 [BZ #16712]
9613 * sysdeps/s390/s390-32/bits/wordsize.h
9614 (__WORDSIZE32_SIZE_ULONG): New define.
9615 * sysdeps/s390/s390-64/bits/wordsize.h
9616 (__WORDSIZE32_SIZE_ULONG): Likewise.
9617 * sysdeps/generic/stdint.h (SIZE_MAX):
9618 Define as UL if __WORDSIZE32_SIZE_ULONG.
9619
a2d86bf1
SL
9620 [BZ #16713]
9621 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
9622 (__glibc_reserved0): New variable.
9623 (sa_flags): Change type to int.
9624
78b6eebc
SL
9625 * posix/Makefile (before-compile): Use += before-compile instead
9626 of a :=.
9627
f1399b5a
SL
9628 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
9629 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
9630
a071766e
AS
96312014-03-20 Andreas Schwab <schwab@suse.de>
9632
9633 [BZ #16743]
9634 * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
9635 non-matching result from nscd.
9636
27c673b8
SP
96372014-03-24 Siddhesh Poyarekar <siddhesh@redhat.com>
9638
9639 * scripts/bench.py: Moved to ...
9640 * benchtests/scripts/bench.py: ... here.
9641 * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
9642
44152e4b
AS
96432014-03-24 Andreas Schwab <schwab@suse.de>
9644
9645 [BZ #16002]
9646 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
9647 alloca_account and account alloca use for struct in6ailist.
9648
b376a11a
JM
96492014-03-24 Joseph Myers <joseph@codesourcery.com>
9650
9651 [BZ #16284]
9652 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
9653 rounding mode to recompute results that overflow to infinity or
9654 underflow to zero.
9655 * math/auto-libm-test-in: Don't mark tests as expected to fail for
9656 bug 16284.
9657 * math/auto-libm-test-out: Regenerated.
9658 * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
9659 (ccosh_test): Likewise.
9660 (csin_test_data): Use plus_oflow.
9661 (csin_test): Use ALL_RM_TEST.
9662 (csinh_test_data): Use plus_oflow.
9663 (csinh_test): Use ALL_RM_TEST.
9664 * sysdeps/i386/fpu/libm-test-ulps: Update.
9665 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9666
f7be7376
JM
96672014-03-21 Joseph Myers <joseph@codesourcery.com>
9668
1ca2d03e
JM
9669 * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
9670 * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
9671 * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
9672
f7be7376
JM
9673 [BZ #16731]
9674 * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
9675 when x - 1 is zero.
9676 * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
9677 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
9678 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
9679 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
9680 argument is 1.
9681 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
9682 * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
9683 zero.
9684 * math/libm-test.inc (log_test): Use ALL_RM_TEST.
9685 * sysdeps/i386/fpu/libm-test-ulps: Update.
9686 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9687
fdf4534d
SP
96882014-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
9689
df26ea53
SP
9690 * scripts/bench.pl: Remove file.
9691 * scripts/bench.py: New benchmark script.
9692 * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
9693 * benchtests/README: Mention python dependency.
9694 * scripts/pylintrc: New file.
9695 * scripts/pylint: New file.
9696
fdf4534d
SP
9697 * bits/mathdef.h: Use #ifdef instead of #if.
9698 * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
9699 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
9700 * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
9701 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
9702 * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
9703 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
9704
6f23d093
AZ
97052014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9706 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
9707
9708 * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
9709 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
9710 and strpbrk-ppc64 objects.
9711 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9712 (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
9713 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
9714 multiarch strpbrk for POWER7.
9715 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
9716 multiarch strpbrk for PPC64.
9717 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
9718 ifunc selector.
9719 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
9720 strpbrk for POWER7.
9721
8c92dfff
JM
97222014-03-20 Joseph Myers <joseph@codesourcery.com>
9723
9724 * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
9725 (atan_test): Likewise.
9726 (atanh_test_data): Use NO_TEST_INLINE for two tests.
9727 (atanh_test): Use ALL_RM_TEST.
9728 (atan2_test_data): Likewise.
9729 (cabs_test): Likewise.
9730 (cacosh_test): Likewise.
9731 (carg_test): Likewise.
9732 (casin_test): Likewise.
9733 (casinh_test): Likewise.
9734 (cbrt_test): Likewise.
9735 (csqrt_test): Likewise.
9736 (erf_test): Likewise.
9737 (erfc_test): Likewise.
9738 (pow10_test): Likewise.
9739 (exp2_test): Likewise.
9740 (hypot_test): Likewise.
9741 (j0_test): Likewise.
9742 (j1_test): Likewise.
9743 (lgamma_test): Likewise.
9744 (gamma_test): Likewise.
9745 (sincos_test): Likewise.
9746 (tanh_test): Likewise.
9747 (y0_test): Likewise.
9748 (y1_test): Likewise.
9749 * sysdeps/i386/fpu/libm-test-ulps: Update.
9750 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9751
6eaf95cb
AZ
97522014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9753
a387428c
SP
9754 * string/strcspn.c (strcspn): Using macro to redefine symbol name.
9755 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
6eaf95cb
AZ
9756 and strcspn-ppc64 objects.
9757 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9758 (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
9759 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
9760 multiarch strcspn for POWER7.
9761 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
9762 multiarch strcspn for PPC64.
9763 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
9764 ifunc selector.
9765 * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
9766 strcspn for POWER7.
9767
ae3a5dff
JM
97682014-03-20 Joseph Myers <joseph@codesourcery.com>
9769
9770 * math/gen-libm-test.pl (generate_testfile): Expect only function
9771 name as argument to AUTO_TESTS_* and pass results for all rounding
9772 modes to parse_args.
9773 (parse_auto_input): Separate inputs of automatic tests from
9774 outputs before storing in %auto_tests.
9775 * math/libm-test.inc (acos_test_data): Update call to
9776 AUTO_TESTS_f_f.
9777 (acos_test): Use ALL_RM_TEST.
9778 (acos_tonearest_test_data): Remove.
9779 (acos_test_tonearest): Likewise.
9780 (acos_towardzero_test_data): Likewise.
9781 (acos_test_towardzero): Likewise.
9782 (acos_downward_test_data): Likewise.
9783 (acos_test_downward): Likewise.
9784 (acos_upward_test_data): Likewise.
9785 (acos_test_upward): Likewise.
9786 (acosh_test_data): Update call to AUTO_TESTS_f_f.
9787 (asin_test_data): Likewise.
9788 (asin_test): Use ALL_RM_TEST.
9789 (asin_tonearest_test_data): Remove.
9790 (asin_test_tonearest): Likewise.
9791 (asin_towardzero_test_data): Likewise.
9792 (asin_test_towardzero): Likewise.
9793 (asin_downward_test_data): Likewise.
9794 (asin_test_downward): Likewise.
9795 (asin_upward_test_data): Likewise.
9796 (asin_test_upward): Likewise.
9797 (asinh_test_data): Update call to AUTO_TESTS_f_f.
9798 (atan_test_data): Likewise.
9799 (atanh_test_data): Likewise.
9800 (atan2_test_data): Update call to AUTO_TESTS_ff_f.
9801 (cabs_test_data): Update call to AUTO_TESTS_c_f.
9802 (carg_test_data): Likewise.
9803 (cbrt_test_data): Update call to AUTO_TESTS_f_f.
9804 (ccos_test_data): Update call to AUTO_TESTS_c_c.
9805 (ccosh_test_data): Likewise.
9806 (cexp_test_data): Likewise.
9807 (clog_test_data): Likewise.
9808 (clog10_test_data): Likewise.
9809 (cos_test_data): Update call to AUTO_TESTS_f_f.
9810 (cos_test): Use ALL_RM_TEST.
9811 (cos_tonearest_test_data): Remove.
9812 (cos_test_tonearest): Likewise.
9813 (cos_towardzero_test_data): Likewise.
9814 (cos_test_towardzero): Likewise.
9815 (cos_downward_test_data): Likewise.
9816 (cos_test_downward): Likewise.
9817 (cos_upward_test_data): Likewise.
9818 (cos_test_upward): Likewise.
9819 (cosh_test_data): Update call to AUTO_TESTS_f_f.
9820 (cosh_test): Use ALL_RM_TEST.
9821 (cosh_tonearest_test_data): Remove.
9822 (cosh_test_tonearest): Likewise.
9823 (cosh_towardzero_test_data): Likewise.
9824 (cosh_test_towardzero): Likewise.
9825 (cosh_downward_test_data): Likewise.
9826 (cosh_test_downward): Likewise.
9827 (cosh_upward_test_data): Likewise.
9828 (cosh_test_upward): Likewise.
9829 (cpow_test_data): Update call to AUTO_TESTS_cc_c.
9830 (csqrt_test_data): Update call to AUTO_TESTS_c_c.
9831 (ctan_test_data): Likewise.
9832 (ctan_test): Use ALL_RM_TEST.
9833 (ctan_tonearest_test_data): Remove.
9834 (ctan_test_tonearest): Likewise.
9835 (ctan_towardzero_test_data): Likewise.
9836 (ctan_test_towardzero): Likewise.
9837 (ctan_downward_test_data): Likewise.
9838 (ctan_test_downward): Likewise.
9839 (ctan_upward_test_data): Likewise.
9840 (ctan_test_upward): Likewise.
9841 (ctanh_test_data): Update call to AUTO_TESTS_c_c.
9842 (ctanh_test): Use ALL_RM_TEST.
9843 (ctanh_tonearest_test_data): Remove.
9844 (ctanh_test_tonearest): Likewise.
9845 (ctanh_towardzero_test_data): Likewise.
9846 (ctanh_test_towardzero): Likewise.
9847 (ctanh_downward_test_data): Likewise.
9848 (ctanh_test_downward): Likewise.
9849 (ctanh_upward_test_data): Likewise.
9850 (ctanh_test_upward): Likewise.
9851 (erf_test_data): Update call to AUTO_TESTS_f_f.
9852 (erfc_test_data): Likewise.
9853 (exp_test_data): Likewise.
9854 (exp_test): Use ALL_RM_TEST.
9855 (exp_tonearest_test_data): Remove.
9856 (exp_test_tonearest): Likewise.
9857 (exp_towardzero_test_data): Likewise.
9858 (exp_test_towardzero): Likewise.
9859 (exp_downward_test_data): Likewise.
9860 (exp_test_downward): Likewise.
9861 (exp_upward_test_data): Likewise.
9862 (exp_test_upward): Likewise.
9863 (exp10_test_data): Update call to AUTO_TESTS_f_f.
9864 (exp10_test): Use ALL_RM_TEST.
9865 (exp10_tonearest_test_data): Remove.
9866 (exp10_test_tonearest): Likewise.
9867 (exp10_towardzero_test_data): Likewise.
9868 (exp10_test_towardzero): Likewise.
9869 (exp10_downward_test_data): Likewise.
9870 (exp10_test_downward): Likewise.
9871 (exp10_upward_test_data): Likewise.
9872 (exp10_test_upward): Likewise.
9873 (exp2_test_data): Update call to AUTO_TESTS_f_f.
9874 (expm1_test_data): Likewise.
9875 (expm1_test): Use ALL_RM_TEST.
9876 (expm1_tonearest_test_data): Remove.
9877 (expm1_test_tonearest): Likewise.
9878 (expm1_towardzero_test_data): Likewise.
9879 (expm1_test_towardzero): Likewise.
9880 (expm1_downward_test_data): Likewise.
9881 (expm1_test_downward): Likewise.
9882 (expm1_upward_test_data): Likewise.
9883 (expm1_test_upward): Likewise.
9884 (fma_test_data): Update call to AUTO_TESTS_fff_f.
9885 (fma_test): Use ALL_RM_TEST.
9886 (fma_towardzero_test_data): Remove.
9887 (fma_test_towardzero): Likewise.
9888 (fma_downward_test_data): Likewise.
9889 (fma_test_downward): Likewise.
9890 (fma_upward_test_data): Likewise.
9891 (fma_test_upward): Likewise.
9892 (hypot_test_data): Update call to AUTO_TESTS_ff_f.
9893 (j0_test_data): Update call to AUTO_TESTS_f_f.
9894 (j1_test_data): Likewise.
9895 (jn_test_data): Update call to AUTO_TESTS_if_f.
9896 (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
9897 (log_test_data): Update call to AUTO_TESTS_f_f.
9898 (log10_test_data): Likewise.
9899 (log1p_test_data): Likewise.
9900 (log2_test_data): Likewise.
9901 (pow_test_data): Update call to AUTO_TESTS_ff_f.
9902 (pow_tonearest_test_data): Likewise.
9903 (sin_test_data): Update call to AUTO_TESTS_f_f.
9904 (sin_test): Use ALL_RM_TEST.
9905 (sin_tonearest_test_data): Remove.
9906 (sin_test_tonearest): Likewise.
9907 (sin_towardzero_test_data): Likewise.
9908 (sin_test_towardzero): Likewise.
9909 (sin_downward_test_data): Likewise.
9910 (sin_test_downward): Likewise.
9911 (sin_upward_test_data): Likewise.
9912 (sin_test_upward): Likewise.
9913 (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
9914 (sinh_test_data): Update call to AUTO_TESTS_f_f.
9915 (sinh_test): Use ALL_RM_TEST.
9916 (sinh_tonearest_test_data): Remove.
9917 (sinh_test_tonearest): Likewise.
9918 (sinh_towardzero_test_data): Likewise.
9919 (sinh_test_towardzero): Likewise.
9920 (sinh_downward_test_data): Likewise.
9921 (sinh_test_downward): Likewise.
9922 (sinh_upward_test_data): Likewise.
9923 (sinh_test_upward): Likewise.
9924 (sqrt_test_data): Update call to AUTO_TESTS_f_f.
9925 (sqrt_test): Use ALL_RM_TEST.
9926 (sqrt_tonearest_test_data): Remove.
9927 (sqrt_test_tonearest): Likewise.
9928 (sqrt_towardzero_test_data): Likewise.
9929 (sqrt_test_towardzero): Likewise.
9930 (sqrt_downward_test_data): Likewise.
9931 (sqrt_test_downward): Likewise.
9932 (sqrt_upward_test_data): Likewise.
9933 (sqrt_test_upward): Likewise.
9934 (tan_test_data): Update call to AUTO_TESTS_f_f.
9935 (tan_test): Use ALL_RM_TEST.
9936 (tan_tonearest_test_data): Remove.
9937 (tan_test_tonearest): Likewise.
9938 (tan_towardzero_test_data): Likewise.
9939 (tan_test_towardzero): Likewise.
9940 (tan_downward_test_data): Likewise.
9941 (tan_test_downward): Likewise.
9942 (tan_upward_test_data): Likewise.
9943 (tan_test_upward): Likewise.
9944 (tanh_test_data): Update call to AUTO_TESTS_f_f.
9945 (tgamma_test_data): Likewise.
9946 (y0_test_data): Likewise.
9947 (y1_test_data): Likewise.
9948 (yn_test_data): Update call to AUTO_TESTS_if_f.
9949 (main): Do not call removed functions.
9950
d71aeee8
JM
99512014-03-19 Joseph Myers <joseph@codesourcery.com>
9952
9953 * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
9954 (ldexp_test_data): Remove.
9955 (ldexp_test): Move to after scalbn_test. Use ALL_RM_TEST with
9956 scalbn_test_data.
9957 (scalb_test): Use ALL_RM_TEST.
9958
baaf1ded
AS
99592014-03-19 Andreas Schwab <schwab@suse.de>
9960
9961 * nscd/nscd.service: Also invalidate netgroup cache on reload.
9962
b1115e91
JM
99632014-03-19 Joseph Myers <joseph@codesourcery.com>
9964
9965 [BZ #16649]
9966 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
9967 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
9968 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
9969 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
9970 (__ASSUME_PREADV): Undefine.
9971 (__ASSUME_PWRITEV): Likewise.
9972
0283ecca
RM
99732014-03-18 Roland McGrath <roland@hack.frob.com>
9974
7d375303
RM
9975 * bits/mman-linux.h: Add comment about non-Linux use.
9976 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
9977 bits/mman-linux.h resting place.
9978
0283ecca
RM
9979 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
9980 * bits/mman-linux.h: ... here.
9981
aebe1003
AZ
99822014-03-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9983
9984 * conform/conformtest.pl: Add standard definition when calling C
9985 preprocessor on data files.
9986 (checknamespace): Remove unused variable.
9987
b29b6bb8
JM
99882014-03-18 Joseph Myers <joseph@codesourcery.com>
9989
9990 * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
9991 minus_oflow, plus_uflow and minus_uflow in expected results.
9992 * math/libm-test.inc (scalbn_test_data): Add more tests of
9993 negative arguments. Use plus_oflow, minus_oflow, plus_uflow and
9994 minus_uflow.
9995 (scalbn_test): Use ALL_RM_TEST.
9996 (scalbln_test_data): Add more tests of negative arguments. Use
9997 plus_oflow, minus_oflow, plus_uflow and minus_uflow.
9998 (scalbln_test): Use ALL_RM_TEST.
9999
c8f8fa15
RM
100002014-03-18 Roland McGrath <roland@hack.frob.com>
10001
10002 * scripts/abilist.awk: Ignore symbols marked with .hidden.
10003
fede7a5f
WN
100042014-03-18 Will Newton <will.newton@linaro.org>
10005
10006 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
10007 inaccurate comment.
10008
80cf0a58
JM
100092014-03-18 Joseph Myers <joseph@codesourcery.com>
10010
10011 * Makerules [!subdir] (check-abi): Exit with error status if a
10012 test failed.
10013
b3620862
JM
100142014-03-17 Joseph Myers <joseph@codesourcery.com>
10015
10016 * math/libm-test.inc (nearbyint_test_data): Include all tests used
10017 for rint. Include results for all rounding modes.
10018 (nearbyint_test): Use ALL_RM_TEST.
10019 (rint_test_data): Include all tests used for nearbyint.
10020
788bba36
WN
100212014-03-17 Will Newton <will.newton@linaro.org>
10022
04ec140a
WN
10023 * nptl/sysdeps/pthread/pthread.h: Revert previous
10024 change.
10025
7579d8d5
WN
10026 * sysdeps/generic/ldsodefs.h: Revert previous
10027 change.
10028
c15cf13a
WN
10029 * libio/genops.c: Revert previous change.
10030 * libio/libioP.h: Likewise.
10031 * stdio-common/vfprintf.c: Likewise.
10032
d0ac1324
WN
10033 * sysdeps/generic/math_private.h: Revert previous
10034 change.
10035
9290130a
WN
10036 * sysdeps/generic/math_private.h: Check whether
10037 HAVE_RM_CTX is defined with #ifdef rather
10038 than #if.
10039
afb466fc
WN
10040 * argp/argp-fmtstream.h: Check whether
10041 __STRICT_ANSI__ is defined with #ifdef rather
10042 than #if.
10043 * argp/argp.h: Likewise.
10044
f7efd7c3
WN
10045 * libio/genops.c: Check whether
10046 _IO_JUMPS_OFFSET is defined with #ifdef rather
10047 than #if.
10048 * libio/libioP.h: Likewise.
10049 * stdio-common/vfprintf.c: Likewise.
10050
53f1bed3
WN
10051 * sysdeps/generic/ldsodefs.h: Check whether
10052 HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
10053 than #if.
10054
788bba36
WN
10055 * nptl/sysdeps/pthread/pthread.h: Check
10056 __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
10057 its value.
10058
fcd89ebe
SP
100592014-03-17 Siddhesh Poyarekar <siddhesh@redhat.com>
10060
ae42bbc5
SP
10061 * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
10062 setting O_APPEND.
10063 * libio/tst-ftell-active-handler.c (do_append_test): Add a
10064 test case.
10065
ea33158c
SP
10066 [BZ #16680]
10067 * libio/fileops.c (_IO_file_open): Seek to end of file but
10068 don't cache the offset.
10069 (get_file_offset): Remove function.
10070 (do_ftell): Use cached offset when available.
10071 * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
10072 don't cache the offset.
10073 * libio/tst-ftell-active-handler.c (do_rewind_test): New test
10074 case.
10075 (do_one_test): Call it.
10076 (do_ftell_test): Fix up expected old offset for a+ mode.
10077 * libio/wfileops.c (do_ftell_wide): Used cached offset when
10078 available.
10079
b1dbb426
SP
10080 * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
10081 up test status with function return status.
10082 (do_write_test): Likewise.
10083 (do_append_test): Likewise.
10084
fcd89ebe
SP
10085 * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
10086 && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
10087 Remove.
10088
9962a2d3
JM
100892014-03-17 Joseph Myers <joseph@codesourcery.com>
10090
10091 * math/gen-libm-test.pl (parse_args): Handle results specified for
10092 each rounding mode separately.
10093 * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
10094 tests and results from lrint_tonearest_test_data,
10095 lrint_towardzero_test_data, lrint_downward_test_data and
10096 lrint_upward_test_data.
10097 (lrint_test): Use ALL_RM_TEST.
10098 (lrint_tonearest_test_data): Remove.
10099 (lrint_test_tonearest): Likewise.
10100 (lrint_towardzero_test_data): Likewise.
10101 (lrint_test_towardzero): Likewise.
10102 (lrint_downward_test_data): Likewise.
10103 (lrint_test_downward): Likewise.
10104 (lrint_upward_test_data): Likewise.
10105 (lrint_test_upward): Likewise.
10106 (llrint_test_data): Merge in per-rounding-mode tests and results
10107 from llrint_tonearest_test_data, llrint_towardzero_test_data,
10108 llrint_downward_test_data and llrint_upward_test_data.
10109 (llrint_test): Use ALL_RM_TEST.
10110 (llrint_tonearest_test_data): Remove.
10111 (llrint_test_tonearest): Likewise.
10112 (llrint_towardzero_test_data): Likewise.
10113 (llrint_test_towardzero): Likewise.
10114 (llrint_downward_test_data): Likewise.
10115 (llrint_test_downward): Likewise.
10116 (llrint_upward_test_data): Likewise.
10117 (llrint_test_upward): Likewise.
10118 (rint_test_data): Merge in per-rounding-mode tests and results
10119 from rint_tonearest_test_data, rint_towardzero_test_data,
10120 rint_downward_test_data and rint_upward_test_data. Add
10121 per-rounding-mode results for tests not in those arrays.
10122 (rint_test): Use ALL_RM_TEST.
10123 (rint_tonearest_test_data): Remove.
10124 (rint_test_tonearest): Likewise.
10125 (rint_towardzero_test_data): Likewise.
10126 (rint_test_towardzero): Likewise.
10127 (rint_downward_test_data): Likewise.
10128 (rint_test_downward): Likewise.
10129 (rint_upward_test_data): Likewise.
10130 (rint_test_upward): Likewise.
10131 (main): Don't call removed functions.
10132
5006148e
RM
101332014-03-14 Roland McGrath <roland@hack.frob.com>
10134
10135 * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
10136 "Compiled on ..." crapola. It is anti-useful.
10137
d6fe5e58
JM
101382014-03-14 Joseph Myers <joseph@codesourcery.com>
10139
10140 * scripts/evaluate-test.sh: Handle fourth argument to determine
10141 whether test run should stop on failure.
10142 * Makeconfig (stop-on-test-failure): New variable.
10143 (evaluate-test): Pass fourth argument to evaluate-test.sh based on
10144 $(stop-on-test-failure).
10145 * Makefile (tests): Give a summary of results from testing and
10146 exit with failure status if they include an ERROR or FAIL.
10147 (xtests): Likewise.
10148 * manual/install.texi (Configuring and compiling): Mention
10149 stop-on-test-failure=y.
10150 * INSTALL: Regenerated.
10151
498a2233
RM
101522014-03-14 Roland McGrath <roland@hack.frob.com>
10153
22dbc19d
RM
10154 * scripts/versionlist.awk: New file.
10155 * Makerules [$(build-shared) = yes]
10156 (postclean-generated): Add Versions.def, not Versions.def.v and
10157 Versions.def.v.i.
10158 ($(common-objpfx)Versions.def.v.i): Target removed.
10159 ($(common-objpfx)Versions.def): New target.
10160 ($(common-objpfx)Versions.all): Depend on that rather that
10161 $(common-objpfx)Versions.def.v.
10162 * Versions.def: File removed.
10163
498a2233
RM
10164 * Makeconfig (+gccwarn): Add -Wundef.
10165 * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
10166 a dl-sysdep.h breaking its contract.
10167 [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
10168 * include/stackinfo.h: New file.
10169 * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
10170 * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
10171 * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
10172 * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
10173 * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
10174 * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
10175 * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
10176 * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
10177 * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
10178 * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
10179 * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
10180 * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
10181 * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
10182 * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
10183 * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
10184
c7de5025
AZ
101852014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10186
10187 [BZ #16707]
10188 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
10189 implementation.
10190 * math/libm-test.inc (round_test_data): Add more tests.
10191
98fb27a3
AZ
10192 [BZ #16706]
10193 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
10194 implementation.
10195 * math/libm-test.inc (nearbyint_test_data): Add more tests.
10196
374f7f61
AZ
10197 [BZ #16701]
10198 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
10199 implementation.
10200 * math/libm-test.inc (ceil_test_data): Add more tests.
10201
4655c291
AZ
10202 * math/libm-test.inc (trunc_test_data): Add more tests related to
10203 BZ#16414.
10204
d7329d4b
RM
102052014-03-14 Roland McGrath <roland@hack.frob.com>
10206
10207 * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
10208 with #if rather than #ifdef.
10209 * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
10210
aa4de9ce
L
102112014-03-14 H.J. Lu <hongjiu.lu@intel.com>
10212
10213 * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
10214 first. Disable AVX-512 GCC support if assembler doesn't support
10215 it.
10216 * sysdeps/x86_64/configure: Regenerated.
10217
2e03fae7
CD
102182014-03-13 Carlos O'Donell <carlos@redhat.com>
10219
10220 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
10221 [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
10222 (__old_pthread_attr_setstack): Likewise.
10223 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
10224 [!_STACK_GROWS_DOWN]: Likewise.
10225
43ca83ec
MF
102262014-03-13 Mike Frysinger <vapier@gentoo.org>
10227
10228 * config.make.in (have-bash2): Delete.
10229 * configure.ac (libc_cv_have_bash2): Delete.
10230 * configure: Regenerate.
10231 * elf/Makefile (common-ldd-rewrite): Rename to ...
10232 (ldd-rewrite): ... this. Move bash-ldd-rewrite content to end.
10233 (sh-ldd-rewrite): Delete.
10234 (bash-ldd-rewrite): Delete.
10235 (have-bash2): Delete checks.
57f41c40
AS
10236 [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
10237 ldd-rewrite.
c66e48b4
MF
10238
10239 * config.make.in (have-ksh): Delete.
10240 (KSH): Delete.
10241 * configure.ac (libc_cv_have_ksh): Delete.
10242 * configure: Regenerate.
10243
b93834ef
MF
10244 * elf/Makefile: Delete $(have-ksh) check.
10245 ($(objpfx)sotruss): Change KSH to BASH.
10246 * elf/sotruss.ksh: Rename to ...
10247 * elf/sotruss.sh: ... this. Change @KSH@ to @BASH@. Change
10248 function style to match POSIX. Drop ksh vim mode setting.
10249
f3a4632a
MF
10250 * manual/time.texi (Specifying the Time Zone with TZ): Change
10251 Tuesday to Thursday.
10252
5896c8bd
MF
10253 * debug/tst-longjmp_chk2.c: Update header comment.
10254 (stackoverflow_handler): Add comment. Call assert on pass value.
10255
2d63a517
IZ
102562014-03-13 Igor Zamyatin <igor.zamyatin@intel.com>
10257
7e54fd04 10258 [BZ #16194]
2d63a517
IZ
10259 * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
10260 (HAVE_AVX512_ASM_SUPPORT): Likewise.
10261 * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
10262 (La_x86_64_vector): Add zmm.
10263 * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
10264 (modules-names): Add tst-auditmod10a and tst-auditmod10b.
10265 ($(objpfx)tst-audit10): New target.
10266 ($(objpfx)tst-audit10.out): Likewise.
10267 (tst-audit10-ENV): New.
10268 (AVX512-CFLAGS): Likewise.
10269 (CFLAGS-tst-audit10.c): Likewise.
10270 (CFLAGS-tst-auditmod10a.c): Likewise.
10271 (CFLAGS-tst-auditmod10b.c): Likewise.
10272 * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
10273 HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
10274 * sysdeps/x86_64/configure: Regenerated.
10275 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
10276 AVX-512 zmm register support.
10277 (_dl_x86_64_save_sse): Likewise.
10278 (_dl_x86_64_restore_sse): Likewise.
10279 * sysdeps/x86_64/dl-trampoline.h: Updated to support different
10280 size vector registers.
10281 * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
10282 (ZMM_SIZE): Likewise.
10283 * sysdeps/x86_64/tst-audit10.c: New file.
10284 * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
10285 * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
10286
44c4e5d5
RM
102872014-03-13 Roland McGrath <roland@hack.frob.com>
10288
10289 * configure.ac (HAVE_EHDR_START): New check.
10290 * configure: Regenerated.
10291 * config.h.in (HAVE_EHDR_START): New #undef.
10292 * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
10293 assuming the lowest-addressed segment maps the start of the file.
10294
acd6e389
JM
102952014-03-13 Joseph Myers <joseph@codesourcery.com>
10296
10297 * INSTALL: Regenerated.
10298
6f918f36
WN
102992014-03-13 Will Newton <will.newton@linaro.org>
10300
10301 * manual/setjmp.texi (System V contexts): Improve
10302 clarity and grammar of documentation.
10303
798212a0
PP
103042014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com>
10305
10306 [BZ #16381]
798212a0 10307 * elf/Makefile (tests): Add tst-pie2.
2e03fae7 10308 (tests-pie): Add tst-pie2.
798212a0
PP
10309 * elf/tst-pie2.c: New file.
10310 * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
10311 for ET_EXEC.
10312 * elf/rtld.c (map_doit): Load executable as lt_executable.
10313 (dl_main): Likewise.
10314
abe6d90c
JM
103152014-03-12 Joseph Myers <joseph@codesourcery.com>
10316
10317 [BZ #16642]
10318 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
10319 (__ASSUME_PSELECT): Undefine.
10320
dd3946c6
AZ
103212014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10322
10323 [BZ #16689]
10324 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
10325 (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
10326 static build.
10327 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
10328 selector for static builds.
10329
c44496df
SP
103302014-03-12 Siddhesh Poyarekar <siddhesh@redhat.com>
10331
10332 [BZ #16695]
10333 * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
10334 key in the buffer.
10335
27c7220a
AZ
103362014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10337
57f41c40
AS
10338 * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
10339 IFUNC selector for static builds.
27c7220a 10340
600fa361
JM
103412014-03-11 Joseph Myers <joseph@codesourcery.com>
10342
76c96cf7
JM
10343 * sysdeps/mips/math_private.h [__mips_hard_float]
10344 (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
10345 libc_feresetround_mips_ctx.
10346 [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
10347 [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
10348 [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
10349
600fa361
JM
10350 [BZ #16677]
10351 * math/s_nextafter.c (__nextafter): Do not return value from
10352 overflowing computation.
10353 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
10354 * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
10355 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
10356 Likewise.
10357 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
10358 Likewise.
10359 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
10360 * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
10361
d7706c32
RM
103622014-03-11 Roland McGrath <roland@hack.frob.com>
10363
10364 * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
10365 * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
10366 Move sfi_sp use from the load-multiple (that no longer sets sp) to
10367 the new mov targetting sp.
10368
4facea47
AZ
103692014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10370
10371 [BZ #16683]
10372 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
10373 Define it for static builds as well.
10374 (NO_BZERO_IMPL): Likewise.
10375
e65caf1f
VR
103762014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
10377
10378 * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
10379 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
10380 multiarch strspn for PPC64.
10381 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
10382 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
10383 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
10384 (__libc_ifunc_impl_list): Likewise.
10385 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
10386 multiarch optimizations
10387 * string/strspn.c (strspn): Using macro to redefine symbol name.
10388
ba9cc071
AZ
103892014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
10390 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10391
10392 * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
10393 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
10394 multiarch strncat for PPC64.
10395 * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
10396 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
10397 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
10398 (__libc_ifunc_impl_list): Likewise.
10399 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
10400 multiarch optimizations
10401
8b4ff974
SP
104022014-03-10 Siddhesh Poyarekar <siddhesh@redhat.com>
10403
10404 [BZ #16639]
10405 * nscd/nscd.service: Make service type forking.
10406
54b46a4b
AZ
104072014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10408
10409 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
10410 sign in non default rounding modes.
10411 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
10412
e9996ef7
JM
104132014-03-08 Joseph Myers <joseph@codesourcery.com>
10414
10415 * math/libm-test.inc (ALL_RM_TEST): New macro.
10416 (ceil_test): Use ALL_RM_TEST.
10417 (cimag_test): Likewise.
10418 (conj_test): Likewise.
10419 (copysign_test): Likewise.
10420 (cproj_test): Likewise.
10421 (creal_test): Likewise.
10422 (fabs_test): Likewise.
10423 (floor_test): Likewise.
10424 (fmax_test): Likewise.
10425 (fmin_test): Likewise.
10426 (fmod_test): Likewise.
10427 (fpclassify_test): Likewise.
10428 (frexp_test): Likewise.
10429 (ilogb_test): Likewise.
10430 (isfinite_test): Likewise.
10431 (finite_test): Likewise.
10432 (isgreater_test): Likewise.
10433 (isgreaterequal_test): Likewise.
10434 (isinf_test): Likewise.
10435 (isless_test): Likewise.
10436 (islessequal_test): Likewise.
10437 (islessgreater_test): Likewise.
10438 (isnan_test): Likewise.
10439 (isnormal_test): Likewise.
10440 (issignaling_test): Likewise.
10441 (isunordered_test): Likewise.
10442 (logb_test): Likewise.
10443 (logb_downward_test_data): Remove.
10444 (logb_test_downward): Likewise.
10445 (lround_test): Use ALL_RM_TEST.
10446 (llround_test): Likewise.
10447 (modf_test): Likewise.
10448 (nexttoward_test): Likewise.
10449 (remainder_test): Likewise.
10450 (drem_test): Likewise.
10451 (remainder_tonearest_test_data): Likewise.
10452 (remainder_test_tonearest): Likewise.
10453 (drem_test_tonearest): Likewise.
10454 (remainder_towardzero_test_data): Likewise.
10455 (remainder_test_towardzero): Likewise.
10456 (drem_test_towardzero): Likewise.
10457 (remainder_downward_test_data): Likewise.
10458 (remainder_test_downward): Likewise.
10459 (drem_test_downward): Likewise.
10460 (remainder_upward_test_data): Likewise.
10461 (remainder_test_upward): Likewise.
10462 (drem_test_upward): Likewise.
10463 (remquo_test): Use ALL_RM_TEST. Remove comment about x.
10464 (round_test): Use ALL_RM_TEST.
10465 (signbit_test): Likewise.
10466 (trunc_test): Likewise.
10467 (significand_test): Likewise.
10468 (main): Don't call removed functions.
10469
bc61d27c
JM
104702014-03-07 Joseph Myers <joseph@codesourcery.com>
10471
5c780849
JM
10472 [BZ #16674]
10473 * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
10474 || __USE_XOPEN2K8].
10475 (ILL_ILLOPN): Likewise.
10476 (ILL_ILLADR): Likewise.
10477 (ILL_ILLTRP): Likewise.
10478 (ILL_PRVOPC): Likewise.
10479 (ILL_PRVREG): Likewise.
10480 (ILL_COPROC): Likewise.
10481 (ILL_BADSTK): Likewise.
10482 (FPE_INTDIV): Likewise.
10483 (FPE_INTOVF): Likewise.
10484 (FPE_FLTDIV): Likewise.
10485 (FPE_FLTOVF): Likewise.
10486 (FPE_FLTUND): Likewise.
10487 (FPE_FLTRES): Likewise.
10488 (FPE_FLTINV): Likewise.
10489 (FPE_FLTSUB): Likewise.
10490 (SEGV_MAPERR): Likewise.
10491 (SEGV_ACCERR): Likewise.
10492 (BUS_ADRALN): Likewise.
10493 (BUS_ADRERR): Likewise.
10494 (BUS_OBJERR): Likewise.
10495 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
10496 (TRAP_TRACE): Likewise.
10497 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
10498 __USE_XOPEN2K8].
10499 (CLD_KILLED): Likewise.
10500 (CLD_DUMPED): Likewise.
10501 (CLD_TRAPPED): Likewise.
10502 (CLD_STOPPED): Likewise.
10503 (CLD_CONTINUED): Likewise.
10504 (POLL_IN): Likewise.
10505 (POLL_OUT): Likewise.
10506 (POLL_MSG): Likewise.
10507 (POLL_ERR): Likewise.
10508 (POLL_PRI): Likewise.
10509 (POLL_HUP): Likewise.
10510 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
10511 Likewise.
10512 (ILL_ILLOPN): Likewise.
10513 (ILL_ILLADR): Likewise.
10514 (ILL_ILLTRP): Likewise.
10515 (ILL_PRVOPC): Likewise.
10516 (ILL_PRVREG): Likewise.
10517 (ILL_COPROC): Likewise.
10518 (ILL_BADSTK): Likewise.
10519 (FPE_INTDIV): Likewise.
10520 (FPE_INTOVF): Likewise.
10521 (FPE_FLTDIV): Likewise.
10522 (FPE_FLTOVF): Likewise.
10523 (FPE_FLTUND): Likewise.
10524 (FPE_FLTRES): Likewise.
10525 (FPE_FLTINV): Likewise.
10526 (FPE_FLTSUB): Likewise.
10527 (SEGV_MAPERR): Likewise.
10528 (SEGV_ACCERR): Likewise.
10529 (BUS_ADRALN): Likewise.
10530 (BUS_ADRERR): Likewise.
10531 (BUS_OBJERR): Likewise.
10532 (BUS_MCEERR_AR): Likewise.
10533 (BUS_MCEERR_AO): Likewise.
10534 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
10535 (TRAP_TRACE): Likewise.
10536 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
10537 __USE_XOPEN2K8].
10538 (CLD_KILLED): Likewise.
10539 (CLD_DUMPED): Likewise.
10540 (CLD_TRAPPED): Likewise.
10541 (CLD_STOPPED): Likewise.
10542 (CLD_CONTINUED): Likewise.
10543 (POLL_IN): Likewise.
10544 (POLL_OUT): Likewise.
10545 (POLL_MSG): Likewise.
10546 (POLL_ERR): Likewise.
10547 (POLL_PRI): Likewise.
10548 (POLL_HUP): Likewise.
10549 * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
10550 (ILL_ILLOPN): Likewise.
10551 (ILL_ILLADR): Likewise.
10552 (ILL_ILLTRP): Likewise.
10553 (ILL_PRVOPC): Likewise.
10554 (ILL_PRVREG): Likewise.
10555 (ILL_COPROC): Likewise.
10556 (ILL_BADSTK): Likewise.
10557 (FPE_INTDIV): Likewise.
10558 (FPE_INTOVF): Likewise.
10559 (FPE_FLTDIV): Likewise.
10560 (FPE_FLTOVF): Likewise.
10561 (FPE_FLTUND): Likewise.
10562 (FPE_FLTRES): Likewise.
10563 (FPE_FLTINV): Likewise.
10564 (FPE_FLTSUB): Likewise.
10565 (SEGV_MAPERR): Likewise.
10566 (SEGV_ACCERR): Likewise.
10567 (BUS_ADRALN): Likewise.
10568 (BUS_ADRERR): Likewise.
10569 (BUS_OBJERR): Likewise.
10570 (BUS_MCEERR_AR): Likewise.
10571 (BUS_MCEERR_AO): Likewise.
10572 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
10573 (TRAP_TRACE): Likewise.
10574 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
10575 __USE_XOPEN2K8].
10576 (CLD_KILLED): Likewise.
10577 (CLD_DUMPED): Likewise.
10578 (CLD_TRAPPED): Likewise.
10579 (CLD_STOPPED): Likewise.
10580 (CLD_CONTINUED): Likewise.
10581 (POLL_IN): Likewise.
10582 (POLL_OUT): Likewise.
10583 (POLL_MSG): Likewise.
10584 (POLL_ERR): Likewise.
10585 (POLL_PRI): Likewise.
10586 (POLL_HUP): Likewise.
10587 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
10588 Likewise.
10589 (ILL_ILLOPN): Likewise.
10590 (ILL_ILLADR): Likewise.
10591 (ILL_ILLTRP): Likewise.
10592 (ILL_PRVOPC): Likewise.
10593 (ILL_PRVREG): Likewise.
10594 (ILL_COPROC): Likewise.
10595 (ILL_BADSTK): Likewise.
10596 (ILL_BADIADDR): Likewise.
10597 (ILL_BREAK): Likewise.
10598 (FPE_INTDIV): Likewise.
10599 (FPE_INTOVF): Likewise.
10600 (FPE_FLTDIV): Likewise.
10601 (FPE_FLTOVF): Likewise.
10602 (FPE_FLTUND): Likewise.
10603 (FPE_FLTRES): Likewise.
10604 (FPE_FLTINV): Likewise.
10605 (FPE_FLTSUB): Likewise.
10606 (FPE_DECOVF): Likewise.
10607 (FPE_DECDIV): Likewise.
10608 (FPE_DECERR): Likewise.
10609 (FPE_INVASC): Likewise.
10610 (FPE_INVDEC): Likewise.
10611 (SEGV_MAPERR): Likewise.
10612 (SEGV_ACCERR): Likewise.
10613 (SEGV_PSTKOVF): Likewise.
10614 (BUS_ADRALN): Likewise.
10615 (BUS_ADRERR): Likewise.
10616 (BUS_OBJERR): Likewise.
10617 (BUS_MCEERR_AR): Likewise.
10618 (BUS_MCEERR_AO): Likewise.
10619 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
10620 (TRAP_TRACE): Likewise.
10621 (TRAP_BRANCH): Likewise.
10622 (TRAP_HWBKPT): Likewise.
10623 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
10624 __USE_XOPEN2K8].
10625 (CLD_KILLED): Likewise.
10626 (CLD_DUMPED): Likewise.
10627 (CLD_TRAPPED): Likewise.
10628 (CLD_STOPPED): Likewise.
10629 (CLD_CONTINUED): Likewise.
10630 (POLL_IN): Likewise.
10631 (POLL_OUT): Likewise.
10632 (POLL_MSG): Likewise.
10633 (POLL_ERR): Likewise.
10634 (POLL_PRI): Likewise.
10635 (POLL_HUP): Likewise.
10636 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
10637 (ILL_ILLOPN): Likewise.
10638 (ILL_ILLADR): Likewise.
10639 (ILL_ILLTRP): Likewise.
10640 (ILL_PRVOPC): Likewise.
10641 (ILL_PRVREG): Likewise.
10642 (ILL_COPROC): Likewise.
10643 (ILL_BADSTK): Likewise.
10644 (FPE_INTDIV): Likewise.
10645 (FPE_INTOVF): Likewise.
10646 (FPE_FLTDIV): Likewise.
10647 (FPE_FLTOVF): Likewise.
10648 (FPE_FLTUND): Likewise.
10649 (FPE_FLTRES): Likewise.
10650 (FPE_FLTINV): Likewise.
10651 (FPE_FLTSUB): Likewise.
10652 (SEGV_MAPERR): Likewise.
10653 (SEGV_ACCERR): Likewise.
10654 (BUS_ADRALN): Likewise.
10655 (BUS_ADRERR): Likewise.
10656 (BUS_OBJERR): Likewise.
10657 (BUS_MCEERR_AR): Likewise.
10658 (BUS_MCEERR_AO): Likewise.
10659 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
10660 (TRAP_TRACE): Likewise.
10661 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
10662 __USE_XOPEN2K8].
10663 (CLD_KILLED): Likewise.
10664 (CLD_DUMPED): Likewise.
10665 (CLD_TRAPPED): Likewise.
10666 (CLD_STOPPED): Likewise.
10667 (CLD_CONTINUED): Likewise.
10668 (POLL_IN): Likewise.
10669 (POLL_OUT): Likewise.
10670 (POLL_MSG): Likewise.
10671 (POLL_ERR): Likewise.
10672 (POLL_PRI): Likewise.
10673 (POLL_HUP): Likewise.
10674 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
10675 (ILL_ILLOPN): Likewise.
10676 (ILL_ILLADR): Likewise.
10677 (ILL_ILLTRP): Likewise.
10678 (ILL_PRVOPC): Likewise.
10679 (ILL_PRVREG): Likewise.
10680 (ILL_COPROC): Likewise.
10681 (ILL_BADSTK): Likewise.
10682 (FPE_INTDIV): Likewise.
10683 (FPE_INTOVF): Likewise.
10684 (FPE_FLTDIV): Likewise.
10685 (FPE_FLTOVF): Likewise.
10686 (FPE_FLTUND): Likewise.
10687 (FPE_FLTRES): Likewise.
10688 (FPE_FLTINV): Likewise.
10689 (FPE_FLTSUB): Likewise.
10690 (SEGV_MAPERR): Likewise.
10691 (SEGV_ACCERR): Likewise.
10692 (BUS_ADRALN): Likewise.
10693 (BUS_ADRERR): Likewise.
10694 (BUS_OBJERR): Likewise.
10695 (BUS_MCEERR_AR): Likewise.
10696 (BUS_MCEERR_AO): Likewise.
10697 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
10698 (TRAP_TRACE): Likewise.
10699 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
10700 __USE_XOPEN2K8].
10701 (CLD_KILLED): Likewise.
10702 (CLD_DUMPED): Likewise.
10703 (CLD_TRAPPED): Likewise.
10704 (CLD_STOPPED): Likewise.
10705 (CLD_CONTINUED): Likewise.
10706 (POLL_IN): Likewise.
10707 (POLL_OUT): Likewise.
10708 (POLL_MSG): Likewise.
10709 (POLL_ERR): Likewise.
10710 (POLL_PRI): Likewise.
10711 (POLL_HUP): Likewise.
10712 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
10713 (ILL_ILLOPN): Likewise.
10714 (ILL_ILLADR): Likewise.
10715 (ILL_ILLTRP): Likewise.
10716 (ILL_PRVOPC): Likewise.
10717 (ILL_PRVREG): Likewise.
10718 (ILL_COPROC): Likewise.
10719 (ILL_BADSTK): Likewise.
10720 (FPE_INTDIV): Likewise.
10721 (FPE_INTOVF): Likewise.
10722 (FPE_FLTDIV): Likewise.
10723 (FPE_FLTOVF): Likewise.
10724 (FPE_FLTUND): Likewise.
10725 (FPE_FLTRES): Likewise.
10726 (FPE_FLTINV): Likewise.
10727 (FPE_FLTSUB): Likewise.
10728 (SEGV_MAPERR): Likewise.
10729 (SEGV_ACCERR): Likewise.
10730 (BUS_ADRALN): Likewise.
10731 (BUS_ADRERR): Likewise.
10732 (BUS_OBJERR): Likewise.
10733 (BUS_MCEERR_AR): Likewise.
10734 (BUS_MCEERR_AO): Likewise.
10735 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
10736 (TRAP_TRACE): Likewise.
10737 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
10738 __USE_XOPEN2K8].
10739 (CLD_KILLED): Likewise.
10740 (CLD_DUMPED): Likewise.
10741 (CLD_TRAPPED): Likewise.
10742 (CLD_STOPPED): Likewise.
10743 (CLD_CONTINUED): Likewise.
10744 (POLL_IN): Likewise.
10745 (POLL_OUT): Likewise.
10746 (POLL_MSG): Likewise.
10747 (POLL_ERR): Likewise.
10748 (POLL_PRI): Likewise.
10749 (POLL_HUP): Likewise.
10750 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
10751 (ILL_ILLOPN): Likewise.
10752 (ILL_ILLADR): Likewise.
10753 (ILL_ILLTRP): Likewise.
10754 (ILL_PRVOPC): Likewise.
10755 (ILL_PRVREG): Likewise.
10756 (ILL_COPROC): Likewise.
10757 (ILL_BADSTK): Likewise.
10758 (ILL_DBLFLT): Likewise.
10759 (ILL_HARDWALL): Likewise.
10760 (FPE_INTDIV): Likewise.
10761 (FPE_INTOVF): Likewise.
10762 (FPE_FLTDIV): Likewise.
10763 (FPE_FLTOVF): Likewise.
10764 (FPE_FLTUND): Likewise.
10765 (FPE_FLTRES): Likewise.
10766 (FPE_FLTINV): Likewise.
10767 (FPE_FLTSUB): Likewise.
10768 (SEGV_MAPERR): Likewise.
10769 (SEGV_ACCERR): Likewise.
10770 (BUS_ADRALN): Likewise.
10771 (BUS_ADRERR): Likewise.
10772 (BUS_OBJERR): Likewise.
10773 (BUS_MCEERR_AR): Likewise.
10774 (BUS_MCEERR_AO): Likewise.
10775 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
10776 (TRAP_TRACE): Likewise.
10777 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
10778 __USE_XOPEN2K8].
10779 (CLD_KILLED): Likewise.
10780 (CLD_DUMPED): Likewise.
10781 (CLD_TRAPPED): Likewise.
10782 (CLD_STOPPED): Likewise.
10783 (CLD_CONTINUED): Likewise.
10784 (POLL_IN): Likewise.
10785 (POLL_OUT): Likewise.
10786 (POLL_MSG): Likewise.
10787 (POLL_ERR): Likewise.
10788 (POLL_PRI): Likewise.
10789 (POLL_HUP): Likewise.
10790 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
10791 (ILL_ILLOPN): Likewise.
10792 (ILL_ILLADR): Likewise.
10793 (ILL_ILLTRP): Likewise.
10794 (ILL_PRVOPC): Likewise.
10795 (ILL_PRVREG): Likewise.
10796 (ILL_COPROC): Likewise.
10797 (ILL_BADSTK): Likewise.
10798 (FPE_INTDIV): Likewise.
10799 (FPE_INTOVF): Likewise.
10800 (FPE_FLTDIV): Likewise.
10801 (FPE_FLTOVF): Likewise.
10802 (FPE_FLTUND): Likewise.
10803 (FPE_FLTRES): Likewise.
10804 (FPE_FLTINV): Likewise.
10805 (FPE_FLTSUB): Likewise.
10806 (SEGV_MAPERR): Likewise.
10807 (SEGV_ACCERR): Likewise.
10808 (BUS_ADRALN): Likewise.
10809 (BUS_ADRERR): Likewise.
10810 (BUS_OBJERR): Likewise.
10811 (BUS_MCEERR_AR): Likewise.
10812 (BUS_MCEERR_AO): Likewise.
10813 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
10814 (TRAP_TRACE): Likewise.
10815 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
10816 __USE_XOPEN2K8].
10817 (CLD_KILLED): Likewise.
10818 (CLD_DUMPED): Likewise.
10819 (CLD_TRAPPED): Likewise.
10820 (CLD_STOPPED): Likewise.
10821 (CLD_CONTINUED): Likewise.
10822 (POLL_IN): Likewise.
10823 (POLL_OUT): Likewise.
10824 (POLL_MSG): Likewise.
10825 (POLL_ERR): Likewise.
10826 (POLL_PRI): Likewise.
10827 (POLL_HUP): Likewise.
10828 * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
10829 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
10830
bc61d27c
JM
10831 [BZ #16670]
10832 * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
10833 before #include of <time.h>.
10834 [!__USE_XOPEN2K] (__need_timespec): Likewise.
10835 * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
10836 (test-xfail-UNIX98/sched.h/conform): Likewise.
10837
302949e2
MS
108382014-03-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
10839
10840 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
10841 error absence of trapping exception support.
10842 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
10843
a00f522a
JM
108442014-03-07 Joseph Myers <joseph@codesourcery.com>
10845
6f99f280
JM
10846 * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
10847 ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
10848 * timezone/Makefile (testdata): Move definition above include of
10849 Rules.
10850 (test-zones): New variable.
10851 (tests-special): Add zone files.
10852 (build-testdata): Use $(evaluate-test).
10853
0b20a9e8
JM
10854 * elf/Makefile (tests-special): Rename tests to end with .out.
10855 ($(objpfx)noload-mem): Likewise.
10856 ($(objpfx)tst-leaks1-mem): Likewise.
10857 ($(objpfx)tst-leaks1-static-mem.out): Likewise.
10858 * iconv/Makefile (xtests-special): Change test-iconvconfig to
10859 $(objpfx)test-iconvconfig.out.
10860 (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use
10861 set -e inside subshell and redirect output to file.
10862 * iconvdata/Makefile (generated): Rename tests to end with .out.
10863 Correct type.
10864 (tests-special): Rename tests to end with .out.
10865 ($(objpfx)mtrace-tst-loading): Likewise.
10866 * intl/Makefile (generated): Likewise.
10867 (tests-special): Likewise.
10868 ($(objpfx)mtrace-tst-gettext): Likewise.
10869 * misc/Makefile (generated): Likewise.
10870 (tests-special): Likewise.
10871 ($(objpfx)tst-error1-mem): Likewise.
10872 * nptl/Makefile (tests-special): Likewise.
10873 ($(objpfx)tst-stack3-mem): Likewise.
10874 (generated): Likewise.
10875 * posix/Makefile (generated): Likewise.
10876 (tests-special): Likewise.
10877 (xtests-special): Likewise.
10878 ($(objpfx)tst-fnmatch-mem): Likewise.
10879 ($(objpfx)bug-regex2-mem): Likewise.
10880 ($(objpfx)bug-regex14-mem): Likewise.
10881 ($(objpfx)bug-regex21-mem): Likewise.
10882 ($(objpfx)bug-regex31-mem): Likewise.
10883 ($(objpfx)tst-vfork3-mem): Likewise.
10884 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
10885 ($(objpfx)tst-pcre-mem): Likewise.
10886 ($(objpfx)tst-boost-mem): Likewise.
10887 ($(objpfx)bug-ga2-mem): Likewise.
10888 ($(objpfx)bug-glob2-mem): Likewise.
10889 * resolv/Makefile (generate): Likewise.
10890 (tests-special): Likewise.
10891 (xtests-special): Likewise.
10892 (generated): Likewise.
10893 ($(objpfx)mtrace-tst-leaks): Likewise.
10894 ($(objpfx)mtrace-tst-leaks2): Likewise.
10895
265d52ab
JM
10896 * scripts/merge-test-results.sh: New file.
10897 * Makefile (tests-special-notdir): New variable.
10898 (tests): Run merge-test-results.sh.
10899 (xtests): Likewise.
10900 * Rules (tests-special-notdir): New variable.
10901 (xtests-special-notdir): Likewise.
10902 (tests): Run merge-test-results.sh
10903 (xtests): Likewise.
10904
54ee292d
JM
10905 * Makeconfig (test-xfail-name): New variable.
10906 (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
10907 compute variable name for expected failures.
10908 * conform/Makefile (conformtest-headers-data): New variable.
10909 (conformtest-standards): Likewise.
10910 (conformtest-headers-ISO): Likewise.
10911 (conformtest-headers-ISO99): Likewise.
10912 (conformtest-headers-ISO11): Likewise.
10913 (conformtest-headers-POSIX): Likewise.
10914 (conformtest-headers-XPG3): Likewise.
10915 (conformtest-headers-XPG4): Likewise.
10916 (conformtest-headers-UNIX98): Likewise.
10917 (conformtest-headers-XOPEN2K): Likewise.
10918 (conformtest-headers-POSIX2008): Likewise.
10919 (conformtest-headers-XOPEN2K8): Likewise.
10920 (conformtest-header-list-base): Likewise.
10921 (conformtest-header-list-tests): Likewise.
10922 (conformtest-header-base): Likewise.
10923 (conformtest-header-tests): Likewise.
10924 (tests-special): Add $(conformtest-header-list-tests). If
10925 [$(fast-check) && !$(cross-compiling)], add
10926 $(conformtest-header-tests) instead of
10927 $(objpfx)run-conformtest.out.
10928 (generated): Add $(conformtest-header-list-base). If
10929 [$(fast-check) && !$(cross-compiling)], add
10930 $(conformtest-header-base). Remove previous setting.
10931 ($(conformtest-header-list-tests)): New target.
10932 (test-xfail-run-conformtest): Remove variable.
10933 ($(objpfx)run-conformtest.out): Remove target.
10934 (test-xfail-ISO11/complex.h/conform): New variable.
10935 (test-xfail-ISO11/stdalign.h/conform): Likewise.
10936 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
10937 (test-xfail-XPG3/varargs.h/conform): Likewise.
10938 (test-xfail-XPG4/varargs.h/conform): Likewise.
10939 (test-xfail-UNIX98/varargs.h/conform): Likewise.
10940 (test-xfail-XPG4/ndbm.h/conform): Likewise.
10941 (test-xfail-UNIX98/ndbm.h/conform): Likewise.
10942 (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
10943 (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
10944 (test-xfail-XPG3/fcntl.h/conform): Likewise.
10945 (test-xfail-XPG3/ftw.h/conform): Likewise.
10946 (test-xfail-XPG3/grp.h/conform): Likewise.
10947 (test-xfail-XPG3/langinfo.h/conform): Likewise.
10948 (test-xfail-XPG3/limits.h/conform): Likewise.
10949 (test-xfail-XPG3/pwd.h/conform): Likewise.
10950 (test-xfail-XPG3/search.h/conform): Likewise.
10951 (test-xfail-XPG3/signal.h/conform): Likewise.
10952 (test-xfail-XPG3/stdio.h/conform): Likewise.
10953 (test-xfail-XPG3/stdlib.h/conform): Likewise.
10954 (test-xfail-XPG3/string.h/conform): Likewise.
10955 (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
10956 (test-xfail-XPG3/sys/msg.h/conform): Likewise.
10957 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
10958 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
10959 (test-xfail-XPG3/sys/stat.h/conform): Likewise.
10960 (test-xfail-XPG3/sys/types.h/conform): Likewise.
10961 (test-xfail-XPG3/sys/wait.h/conform): Likewise.
10962 (test-xfail-XPG3/termios.h/conform): Likewise.
10963 (test-xfail-XPG3/time.h/conform): Likewise.
10964 (test-xfail-XPG3/unistd.h/conform): Likewise.
10965 (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
10966 (test-xfail-XPG4/fcntl.h/conform): Likewise.
10967 (test-xfail-XPG4/langinfo.h/conform): Likewise.
10968 (test-xfail-XPG4/netdb.h/conform): Likewise.
10969 (test-xfail-XPG4/netinet/in.h/conform): Likewise.
10970 (test-xfail-XPG4/signal.h/conform): Likewise.
10971 (test-xfail-XPG4/stdio.h/conform): Likewise.
10972 (test-xfail-XPG4/stdlib.h/conform): Likewise.
10973 (test-xfail-XPG4/stropts.h/conform): Likewise.
10974 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
10975 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
10976 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
10977 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
10978 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
10979 (test-xfail-XPG4/sys/stat.h/conform): Likewise.
10980 (test-xfail-XPG4/sys/time.h/conform): Likewise.
10981 (test-xfail-XPG4/sys/types.h/conform): Likewise.
10982 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
10983 (test-xfail-XPG4/termios.h/conform): Likewise.
10984 (test-xfail-XPG4/ucontext.h/conform): Likewise.
10985 (test-xfail-XPG4/unistd.h/conform): Likewise.
10986 (test-xfail-XPG4/utmpx.h/conform): Likewise.
10987 (test-xfail-POSIX/sched.h/conform): Likewise.
10988 (test-xfail-POSIX/signal.h/conform): Likewise.
10989 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
10990 (test-xfail-POSIX/tar.h/conform): Likewise.
10991 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
10992 (test-xfail-UNIX98/fcntl.h/conform): Likewise.
10993 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
10994 (test-xfail-UNIX98/netdb.h/conform): Likewise.
10995 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
10996 (test-xfail-UNIX98/sched.h/conform): Likewise.
10997 (test-xfail-UNIX98/signal.h/conform): Likewise.
10998 (test-xfail-UNIX98/stdio.h/conform): Likewise.
10999 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
11000 (test-xfail-UNIX98/stropts.h/conform): Likewise.
11001 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
11002 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
11003 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
11004 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
11005 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
11006 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
11007 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
11008 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
11009 (test-xfail-UNIX98/unistd.h/conform): Likewise.
11010 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
11011 (test-xfail-XOPEN2K/aio.h/conform): Likewise.
11012 (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
11013 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
11014 (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
11015 (test-xfail-XOPEN2K/math.h/conform): Likewise.
11016 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
11017 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
11018 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
11019 (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
11020 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
11021 (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
11022 (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
11023 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
11024 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
11025 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
11026 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
11027 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
11028 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
11029 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
11030 (test-xfail-XOPEN2K/termios.h/conform): Likewise.
11031 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
11032 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
11033 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
11034 (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
11035 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
11036 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
11037 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
11038 (test-xfail-POSIX2008/signal.h/conform): Likewise.
11039 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
11040 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
11041 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
11042 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
11043 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
11044 (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
11045 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
11046 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
11047 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
11048 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
11049 (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
11050 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
11051 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
11052 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
11053 (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
11054 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
11055 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
11056 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
11057 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
11058 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
11059 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
11060 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
11061 (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
11062 (conformtest-cc-flags): Likewise.
11063 ($(conformtest-header-tests): New target.
11064 * conform/check-header-lists.sh: New file.
11065 * conform/run-conformtest.sh: Remove.
11066
a00f522a
JM
11067 * conform/conformtest.pl: Allow ' and \ in values given for
11068 constants.
11069 * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
11070 inclusion.
11071 [POSIX] (sys/types.h): Likewise.
11072 [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
11073 inclusion.
11074 [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
11075 inclusion.
11076 * conform/data/signal.h-data (SIGIO): Remove expectation.
11077 [XPG3] (SIGBUS): Do not expect.
11078 [POSIX || XPG3] (SIGPOLL): Likewise.
11079 [POSIX || XPG3] (SIGPROF): Likewise.
11080 [POSIX || XPG3] (SIGSYS): Likewise.
11081 [XPG3] (SIGTRAP): Likewise.
11082 [POSIX || XPG3] (SIGURG): Likewise.
11083 [POSIX || XPG3] (SIGVTALRM): Likewise.
11084 [POSIX || XPG3] (SIGXCPU): Likewise.
11085 [POSIX || XPG3] (SIGXFSZ): Likewise.
11086 [POSIX] (SA_SIGINFO): Expect.
11087 [XPG3] (siginfo_t): Do not expect type or contents.
11088 [POSIX] (si_pid): Do not expect element.
11089 [POSIX] (si_uid): Likewise.
11090 [POSIX] (si_addr): Likewise.
11091 [POSIX] (si_status): Likewise.
11092 [POSIX] (si_band): Likewise.
11093 [XPG4] (si_value): Likewise.
11094 [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
11095 [POSIX || XPG3] (ILL_ILLOPN): Likewise.
11096 [POSIX || XPG3] (ILL_ILLADR): Likewise.
11097 [POSIX || XPG3] (ILL_ILLTRP): Likewise.
11098 [POSIX || XPG3] (ILL_PRVOPC): Likewise.
11099 [POSIX || XPG3] (ILL_PRVREG): Likewise.
11100 [POSIX || XPG3] (ILL_COPROC): Likewise.
11101 [POSIX || XPG3] (ILL_BADSTK): Likewise.
11102 [POSIX || XPG3] (FPE_INTDIV): Likewise.
11103 [POSIX || XPG3] (FPE_INTOVF): Likewise.
11104 [POSIX || XPG3] (FPE_FLTDIV): Likewise.
11105 [POSIX || XPG3] (FPE_FLTOVF): Likewise.
11106 [POSIX || XPG3] (FPE_FLTUND): Likewise.
11107 [POSIX || XPG3] (FPE_FLTRES): Likewise.
11108 [POSIX || XPG3] (FPE_FLTINV): Likewise.
11109 [POSIX || XPG3] (FPE_FLTSUB): Likewise.
11110 [POSIX || XPG3] (SEGV_MAPERR): Likewise.
11111 [POSIX || XPG3] (SEGV_ACCERR): Likewise.
11112 [POSIX || XPG3] (BUS_ADRALN): Likewise.
11113 [POSIX || XPG3] (BUS_ADRERR): Likewise.
11114 [POSIX || XPG3] (BUS_OBJERR): Likewise.
11115 [POSIX || XPG3] (CLD_EXITED): Likewise.
11116 [POSIX || XPG3] (CLD_KILLED): Likewise.
11117 [POSIX || XPG3] (CLD_DUMPED): Likewise.
11118 [POSIX || XPG3] (CLD_TRAPPED): Likewise.
11119 [POSIX || XPG3] (CLD_STOPPED): Likewise.
11120 [POSIX || XPG3] (CLD_CONTINUED): Likewise.
11121 [POSIX || XPG3] (POLL_IN): Likewise.
11122 [POSIX || XPG3] (POLL_OUT): Likewise.
11123 [POSIX || XPG3] (POLL_MSG): Likewise.
11124 [POSIX || XPG3] (POLL_ERR): Likewise.
11125 [POSIX || XPG3] (POLL_PRI): Likewise.
11126 [POSIX || XPG3] (POLL_HUP): Likewise.
11127 [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
11128 [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
11129 (SIG*): Do not allow.
11130 [XPG3] (si_*): Likewise.
11131 [XPG3] (SI_*): Likewise.
11132 [XPG3 || XPG4] (sigev_*): Likewise.
11133 [XPG3 || XPG4] (SIGEV_*): Likewise.
11134 [XPG3 || XPG4] (sival_*): Likewise.
11135 [POSIX || XPG3 || XPG4] (uc_*): Likewise.
11136 [POSIX || XPG3] (BUS_*): Likewise.
11137 [POSIX || XPG3] (CLD_*): Likewise.
11138 [POSIX || XPG3] (FPE_*): Likewise.
11139 [POSIX || XPG3] (ILL_*): Likewise.
11140 [POSIX || XPG3] (POLL_*): Likewise.
11141 [POSIX || XPG3] (SEGV_*): Likewise.
11142 [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
11143 [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
11144 [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
11145 [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
11146 [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
11147 * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
11148 Specify type and value.
11149 (TVERSLEN): Likewise.
11150 (REGTYPE): Likewise.
11151 (AREGTYPE): Likewise.
11152 (LNKTYPE): Likewise.
11153 (SYMTYPE): Likewise.
11154 (CHRTYPE): Likewise.
11155 (BLKTYPE): Likewise.
11156 (DIRTYPE): Likewise.
11157 (FIFOTYPE): Likewise.
11158 (CONTTYPE): Likewise.
11159 (TSUID): Likewise.
11160 (TSGID): Likewise.
11161 (TSVTX): Likewise.
11162 (TUREAD): Likewise.
11163 (TUWRITE): Likewise.
11164 (TUEXEC): Likewise.
11165 (TGREAD): Likewise.
11166 (TGWRITE): Likewise.
11167 (TGEXEC): Likewise.
11168 (TOREAD): Likewise.
11169 (TOWRITE): Likewise.
11170 (TOEXEC): Likewise.
11171 [POSIX] (TSVTX): Expect constant.
11172
aa97dee1
JM
111732014-03-06 Joseph Myers <joseph@codesourcery.com>
11174
f214606a
JM
11175 * Makefile (tests): Change dependencies to ....
11176 (tests-special): ... additions to this variable.
11177 (tests): Depend on $(tests-special).
11178 * Makerules (check-abi-list): New variable.
11179 (check-abi): Depend on $(check-abi-list).
11180 [$(subdir) = elf] (tests-special): Add
11181 $(objpfx)check-abi-libc.out.
11182 [$(build-shared) = yes && subdir] (tests-special): Add
11183 $(check-abi-list).
11184 [$(build-shared) = yes && subdir] (tests): Do not depend on
11185 check-abi.
11186 * Rules (tests): Depend on $(tests-special).
11187 (xtests): Depend on $(xtests-special).
11188 * catgets/Makefile (tests): Change dependencies to ....
11189 (tests-special): ... additions to this variable.
11190 * conform/Makefile (tests): Change dependencies to ....
11191 (tests-special): ... additions to this variable.
11192 * elf/Makefile (tests): Change dependencies to ....
11193 (tests-special): ... additions to this variable.
11194 * grp/Makefile (tests): Change dependencies to ....
11195 (tests-special): ... additions to this variable.
11196 * iconv/Makefile (xtests): Change dependencies to ....
11197 (xtests-special): ... additions to this variable.
11198 * iconvdata/Makefile (tests): Change dependencies to ....
11199 (tests-special): ... additions to this variable.
11200 * intl/Makefile (tests): Change dependencies to ....
11201 (tests-special): ... additions to this variable. Also add
11202 $(objpfx)tst-gettext.out.
11203 * io/Makefile (tests): Change dependencies to ....
11204 (tests-special): ... additions to this variable.
11205 * libio/Makefile (tests): Change dependencies to ....
11206 (tests-special): ... additions to this variable.
11207 * malloc/Makefile (tests): Change dependencies to ....
11208 (tests-special): ... additions to this variable.
11209 * misc/Makefile (tests): Change dependencies to ....
11210 (tests-special): ... additions to this variable.
11211 * nptl/Makefile (tests): Change dependencies to ....
11212 (tests-special): ... additions to this variable.
11213 * nptl_db/Makefile (tests): Change dependencies to ....
11214 (tests-special): ... additions to this variable.
11215 * posix/Makefile (tests): Change dependencies to ....
11216 (tests-special): ... additions to this variable.
11217 (xtests): Change dependencies to ....
11218 (xtests-special): ... additions to this variable.
11219 * resolv/Makefile (tests): Change dependencies to ....
11220 (tests-special): ... additions to this variable.
11221 (xtests): Change dependencies to ....
11222 (xtests-special): ... additions to this variable.
11223 * stdio-common/Makefile (tests): Change dependencies to ....
11224 (tests-special): ... additions to this variable.
11225 (do-tst-unbputc): Remove target.
11226 (do-tst-printf): Likewise.
11227 * stdlib/Makefile (tests): Change dependencies to ....
11228 (tests-special): ... additions to this variable.
11229 * string/Makefile (tests): Change dependencies to ....
11230 (tests-special): ... additions to this variable.
11231 * sysdeps/x86/Makefile (tests): Change dependencies to ....
11232 (tests-special): ... additions to this variable.
11233
81700b53
JM
11234 * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
11235 whole file.
11236 * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
11237 whole file.
11238 * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
11239 * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
11240
2ea18461
JM
11241 * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
11242 * conform/data/arpa/inet.h-data [XPG3]: Likewise.
11243 * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
11244 * conform/data/fmtmsg.h-data [XPG3]: Likewise.
11245 * conform/data/libgen.h-data [XPG3]: Likewise.
11246 * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
11247 * conform/data/ndbm.h-data [XPG3]: Likewise.
11248 * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
11249 * conform/data/netdb.h-data [XPG3]: Likewise.
11250 * conform/data/netinet/in.h-data [XPG3]: Likewise.
11251 * conform/data/poll.h-data [XPG3]: Likewise.
11252 * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
11253 * conform/data/strings.h-data [XPG3]: Likewise.
11254 * conform/data/stropts.h-data [XPG3]: Likewise.
11255 * conform/data/sys/mman.h-data [XPG3]: Likewise.
11256 * conform/data/sys/resource.h-data [XPG3]: Likewise.
11257 * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
11258 Likewise.
11259 * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
11260 * conform/data/sys/time.h-data [XPG3]: Likewise.
11261 * conform/data/sys/timeb.h-data [XPG3]: Likewise.
11262 * conform/data/sys/uio.h-data [XPG3]: Likewise.
11263 * conform/data/sys/un.h-data [XPG3]: Likewise.
11264 * conform/data/syslog.h-data [XPG3]: Likewise.
11265 * conform/data/ucontext.h-data [XPG3]: Likewise.
11266 * conform/data/utmpx.h-data [XPG3]: Likewise.
11267 * conform/data/varargs.h-data [UNIX98]: Enable file.
11268
355bc986
JM
11269 * manual/Makefile (INSTALL_INFO): Remove variable setting.
11270
215db402
JM
11271 * math/libm-test.inc (struct test_f_f_data): Move expected results
11272 into structure for each rounding mode.
11273 (struct test_ff_f_data): Likewise.
11274 (struct test_ff_f_data_nexttoward): Likewise.
11275 (struct test_fi_f_data): Likewise.
11276 (struct test_fl_f_data): Likewise.
11277 (struct test_if_f_data): Likewise.
11278 (struct test_fff_f_data): Likewise.
11279 (struct test_c_f_data): Likewise.
11280 (struct test_f_f1_data): Likewise.
11281 (struct test_fF_f1_data): Likewise.
11282 (struct test_ffI_f1_data): Likewise.
11283 (struct test_c_c_data): Likewise.
11284 (struct test_cc_c_data): Likewise.
11285 (struct test_f_i_data): Likewise.
11286 (struct test_ff_i_data): Likewise.
11287 (struct test_f_l_data): Likewise.
11288 (struct test_f_L_data): Likewise.
11289 (struct test_fFF_11_data): Likewise.
11290 (RM_): New macro.
11291 (RM_FE_DOWNWARD): Likewise.
11292 (RM_FE_TONEAREST): Likewise.
11293 (RM_FE_TOWARDZERO): Likewise.
11294 (RM_FE_UPWARD): Likewise.
11295 (RUN_TEST_LOOP_f_f): Update references to expected results.
11296 (RUN_TEST_LOOP_2_f): Likewise.
11297 (RUN_TEST_LOOP_fff_f): Likewise.
11298 (RUN_TEST_LOOP_c_f): Likewise.
11299 (RUN_TEST_LOOP_f_f1): Likewise.
11300 (RUN_TEST_LOOP_fF_f1): Likewise.
11301 (RUN_TEST_LOOP_fI_f1): Likewise.
11302 (RUN_TEST_LOOP_ffI_f1): Likewise.
11303 (RUN_TEST_LOOP_c_c): Likewise.
11304 (RUN_TEST_LOOP_cc_c): Likewise.
11305 (RUN_TEST_LOOP_f_i): Likewise.
11306 (RUN_TEST_LOOP_f_i_tg): Likewise.
11307 (RUN_TEST_LOOP_ff_i_tg): Likewise.
11308 (RUN_TEST_LOOP_f_b): Likewise.
11309 (RUN_TEST_LOOP_f_b_tg): Likewise.
11310 (RUN_TEST_LOOP_f_l): Likewise.
11311 (RUN_TEST_LOOP_f_L): Likewise.
11312 (RUN_TEST_LOOP_fFF_11): Likewise.
11313 * math/gen-libm-test.pl (parse_args): Output four copies of
11314 expected results for each test.
11315
67737b8f
JM
11316 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
11317 (__ASSUME_UTIMES): Remove.
11318 * sysdeps/unix/sysv/linux/tile/kernel-features.h
11319 (__ASSUME_UTIMES): Likewise.
11320
aa97dee1
JM
11321 * math/gen-auto-libm-tests.c: Update comment on output format.
11322 (output_for_one_input_case): Generate before-rounding and
11323 after-rounding information as conditions on output flags not
11324 floating-point format.
11325 * math/auto-libm-test-out: Regenerated.
11326 * math/gen-libm-test.pl (cond_value): New function.
11327 (or_cond_value): Use cond_value.
11328 (generate_testfile): Handle conditional exceptions.
11329
e6b6a857
JM
113302014-03-05 Joseph Myers <joseph@codesourcery.com>
11331
2f0a0f44
JM
11332 * math/libm-test.inc (max_valid_error): New variable.
11333 (init_max_error): Take new argument specifying whether function
11334 results are exactly determined. Set max_valid_error and bound
11335 other variables for errors based on this argument.
11336 (set_max_error): Do not record results above max_valid_error.
11337 (check_float_internal): Only accept errors of up to 0.5ulps if
11338 also at most max_valid_error.
11339 (START): Take new argument EXACT and pass it to init_max_error.
11340 (acos_test): Update call to START.
11341 (acos_test_tonearest): Likewise.
11342 (acos_test_towardzero): Likewise.
11343 (acos_test_downward): Likewise.
11344 (acos_test_upward): Likewise.
11345 (acosh_test): Likewise.
11346 (asin_test): Likewise.
11347 (asin_test_tonearest): Likewise.
11348 (asin_test_towardzero): Likewise.
11349 (asin_test_downward): Likewise.
11350 (asin_test_upward): Likewise.
11351 (asinh_test): Likewise.
11352 (atan_test): Likewise.
11353 (atanh_test): Likewise.
11354 (atan2_test): Likewise.
11355 (cabs_test): Likewise.
11356 (cacos_test): Likewise.
11357 (cacosh_test): Likewise.
11358 (carg_test): Likewise.
11359 (casin_test): Likewise.
11360 (casinh_test): Likewise.
11361 (catan_test): Likewise.
11362 (catanh_test): Likewise.
11363 (cbrt_test): Likewise.
11364 (ccos_test): Likewise.
11365 (ccosh_test): Likewise.
11366 (ceil_test): Likewise.
11367 (cexp_test): Likewise.
11368 (cimag_test): Likewise.
11369 (clog_test): Likewise.
11370 (clog10_test): Likewise.
11371 (conj_test): Likewise.
11372 (copysign_test): Likewise.
11373 (cos_test): Likewise.
11374 (cos_test_tonearest): Likewise.
11375 (cos_test_towardzero): Likewise.
11376 (cos_test_downward): Likewise.
11377 (cos_test_upward): Likewise.
11378 (cosh_test): Likewise.
11379 (cosh_test_tonearest): Likewise.
11380 (cosh_test_towardzero): Likewise.
11381 (cosh_test_downward): Likewise.
11382 (cosh_test_upward): Likewise.
11383 (cpow_test): Likewise.
11384 (cproj_test): Likewise.
11385 (creal_test): Likewise.
11386 (csin_test): Likewise.
11387 (csinh_test): Likewise.
11388 (csqrt_test): Likewise.
11389 (ctan_test): Likewise.
11390 (ctan_test_tonearest): Likewise.
11391 (ctan_test_towardzero): Likewise.
11392 (ctan_test_downward): Likewise.
11393 (ctan_test_upward): Likewise.
11394 (ctanh_test): Likewise.
11395 (ctanh_test_tonearest): Likewise.
11396 (ctanh_test_towardzero): Likewise.
11397 (ctanh_test_downward): Likewise.
11398 (ctanh_test_upward): Likewise.
11399 (erf_test): Likewise.
11400 (erfc_test): Likewise.
11401 (exp_test): Likewise.
11402 (exp_test_tonearest): Likewise.
11403 (exp_test_towardzero): Likewise.
11404 (exp_test_downward): Likewise.
11405 (exp_test_upward): Likewise.
11406 (exp10_test): Likewise.
11407 (exp10_test_tonearest): Likewise.
11408 (exp10_test_towardzero): Likewise.
11409 (exp10_test_downward): Likewise.
11410 (exp10_test_upward): Likewise.
11411 (pow10_test): Likewise.
11412 (exp2_test): Likewise.
11413 (expm1_test): Likewise.
11414 (expm1_test_tonearest): Likewise.
11415 (expm1_test_towardzero): Likewise.
11416 (expm1_test_downward): Likewise.
11417 (expm1_test_upward): Likewise.
11418 (fabs_test): Likewise.
11419 (fdim_test): Likewise.
11420 (floor_test): Likewise.
11421 (fma_test): Likewise.
11422 (fma_test_towardzero): Likewise.
11423 (fma_test_downward): Likewise.
11424 (fma_test_upward): Likewise.
11425 (fmax_test): Likewise.
11426 (fmin_test): Likewise.
11427 (fmod_test): Likewise.
11428 (fpclassify_test): Likewise.
11429 (frexp_test): Likewise.
11430 (hypot_test): Likewise.
11431 (ilogb_test): Likewise.
11432 (isfinite_test): Likewise.
11433 (finite_test): Likewise.
11434 (isgreater_test): Likewise.
11435 (isgreaterequal_test): Likewise.
11436 (isinf_test): Likewise.
11437 (isless_test): Likewise.
11438 (islessequal_test): Likewise.
11439 (islessgreater_test): Likewise.
11440 (isnan_test): Likewise.
11441 (isnormal_test): Likewise.
11442 (issignaling_test): Likewise.
11443 (isunordered_test): Likewise.
11444 (j0_test): Likewise.
11445 (j1_test): Likewise.
11446 (jn_test): Likewise.
11447 (ldexp_test): Likewise.
11448 (lgamma_test): Likewise.
11449 (gamma_test): Likewise.
11450 (lrint_test): Likewise.
11451 (lrint_test_tonearest): Likewise.
11452 (lrint_test_towardzero): Likewise.
11453 (lrint_test_downward): Likewise.
11454 (lrint_test_upward): Likewise.
11455 (llrint_test): Likewise.
11456 (llrint_test_tonearest): Likewise.
11457 (llrint_test_towardzero): Likewise.
11458 (llrint_test_downward): Likewise.
11459 (llrint_test_upward): Likewise.
11460 (log_test): Likewise.
11461 (log10_test): Likewise.
11462 (log1p_test): Likewise.
11463 (log2_test): Likewise.
11464 (logb_test): Likewise.
11465 (logb_test_downward): Likewise.
11466 (lround_test): Likewise.
11467 (llround_test): Likewise.
11468 (modf_test): Likewise.
11469 (nearbyint_test): Likewise.
11470 (nextafter_test): Likewise.
11471 (nexttoward_test): Likewise.
11472 (pow_test): Likewise.
11473 (pow_test_tonearest): Likewise.
11474 (pow_test_towardzero): Likewise.
11475 (pow_test_downward): Likewise.
11476 (pow_test_upward): Likewise.
11477 (remainder_test): Likewise.
11478 (drem_test): Likewise.
11479 (remainder_test_tonearest): Likewise.
11480 (drem_test_tonearest): Likewise.
11481 (remainder_test_towardzero): Likewise.
11482 (drem_test_towardzero): Likewise.
11483 (remainder_test_downward): Likewise.
11484 (drem_test_downward): Likewise.
11485 (remainder_test_upward): Likewise.
11486 (drem_test_upward): Likewise.
11487 (remquo_test): Likewise.
11488 (rint_test): Likewise.
11489 (rint_test_tonearest): Likewise.
11490 (rint_test_towardzero): Likewise.
11491 (rint_test_downward): Likewise.
11492 (rint_test_upward): Likewise.
11493 (round_test): Likewise.
11494 (scalb_test): Likewise.
11495 (scalbn_test): Likewise.
11496 (scalbln_test): Likewise.
11497 (signbit_test): Likewise.
11498 (sin_test): Likewise.
11499 (sin_test_tonearest): Likewise.
11500 (sin_test_towardzero): Likewise.
11501 (sin_test_downward): Likewise.
11502 (sin_test_upward): Likewise.
11503 (sincos_test): Likewise.
11504 (sinh_test): Likewise.
11505 (sinh_test_tonearest): Likewise.
11506 (sinh_test_towardzero): Likewise.
11507 (sinh_test_downward): Likewise.
11508 (sinh_test_upward): Likewise.
11509 (sqrt_test): Likewise.
11510 (sqrt_test_tonearest): Likewise.
11511 (sqrt_test_towardzero): Likewise.
11512 (sqrt_test_downward): Likewise.
11513 (sqrt_test_upward): Likewise.
11514 (tan_test): Likewise.
11515 (tan_test_tonearest): Likewise.
11516 (tan_test_towardzero): Likewise.
11517 (tan_test_downward): Likewise.
11518 (tan_test_upward): Likewise.
11519 (tanh_test): Likewise.
11520 (tgamma_test): Likewise.
11521 (trunc_test): Likewise.
11522 (y0_test): Likewise.
11523 (y1_test): Likewise.
11524 (yn_test): Likewise.
11525 (significand_test): Likewise.
11526
e6b6a857
JM
11527 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
11528 individual tests in comment.
11529 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
11530 (prev_max_error): New variable.
11531 (prev_real_max_error): Likewise.
11532 (prev_imag_max_error): Likewise.
11533 (compare_ulp_data): Don't refer to test names in comment.
11534 (find_test_ulps): Remove function.
11535 (find_function_ulps): Likewise.
11536 (find_complex_function_ulps): Likewise.
11537 (init_max_error): Take function name as argument. Look up ulps
11538 for that function.
11539 (print_ulps): Remove function.
11540 (print_max_error): Use prev_max_error instead of calling
11541 find_function_ulps.
11542 (print_complex_max_error): Use prev_real_max_error and
11543 prev_imag_max_error instead of calling find_complex_function_ulps.
11544 (check_float_internal): Take max_ulp parameter instead of calling
11545 find_test_ulps. Don't call print_ulps.
11546 (check_float): Update call to check_float_internal.
11547 (check_complex): Update calls to check_float_internal.
11548 (START): Pass argument to init_max_error.
11549 * math/gen-libm-test.pl (%results): Don't include "kind"
11550 information.
11551 (parse_ulps): Don't handle ulps of individual tests.
11552 (print_ulps_file): Likewise.
11553 (output_ulps): Likewise.
11554 * math/README.libm-test: Update.
11555 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
11556 individual tests.
11557 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
11558 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
11559 * sysdeps/arm/libm-test-ulps: Likewise.
11560 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
11561 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
11562 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
11563 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
11564 * sysdeps/microblaze/libm-test-ulps: Likewise.
11565 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
11566 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
11567 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
11568 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
11569 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
11570 * sysdeps/sh/libm-test-ulps: Likewise.
11571 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
11572 * sysdeps/tile/libm-test-ulps: Likewise.
11573 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11574
45adef3c
JM
115752014-03-04 Joseph Myers <joseph@codesourcery.com>
11576
11577 * math/libm-test.inc (print_complex_max_error): Check separately
11578 whether real and imaginary errors are within allowed range and
11579 pass 0 to print_complex_function_ulps instead of value within
11580 allowed range.
11581
000232b9
SP
115822014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
11583
d4b17258
SP
11584 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
11585 formatting.
11586 (get_handles_fopen): Likewise.
11587 (do_write_test): Likewise.
11588
091eff71
SP
11589 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
11590
fa3cd248
SP
11591 * libio/fileops.c (do_ftell): Use cached offset when
11592 available.
11593 * libio/iofwide.c (do_ftell_wide): Likewise.
11594 * libio/iofdopen.c (_IO_new_fdopen): Don't use
11595 _IO_file_attach.
11596 * libio/wfileops.c (_IO_fwide): Don't cache offset.
11597
000232b9
SP
11598 [BZ #16532]
11599 * libio/libioP.h (get_file_offset): New function.
11600 * libio/fileops.c (get_file_offset): Likewise.
11601 (do_ftell): Likewise.
11602 (_IO_new_file_seekoff): Split out ftell logic.
11603 * libio/wfileops.c (do_ftell_wide): Likewise.
11604 (_IO_wfile_seekoff): Split out ftell logic.
11605 * libio/tst-ftell-active-handler.c: New test case.
11606 * libio/Makefile (tests): Add it.
11607
116f4d1a
RM
116082014-03-03 Roland McGrath <roland@hack.frob.com>
11609
11610 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
11611 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
11612
532a6035
SP
116132014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
11614
11615 [BZ #16639]
11616 * nscd/connections.c (nscd_init): Call do_exit.
11617 (start_threads): Call do_exit and notify_parent.
11618 (begin_drop_privileges): Call do_exit.
11619 (finish_drop_privileges): Likewise.
11620 * nscd/selinux.c (preserve_capabilities): Likewise.
11621 (install_real_capabilities): Likewise.
11622 (nscd_selinux_enabled): Likewise.
11623 (avc_create_thread): Likewise.
11624 (avc_alloc_lock): Likewise.
11625 (nscd_avc_init): Likewise.
11626 * nscd/nscd.c (parent_fd): New static variable.
11627 (main): Create a pipe between parent and child processes.
11628 Skip closing parent_fd.
11629 (monitor_child): New function.
11630 (do_exit): Likewise.
11631 (notify_parent): Likewise.
11632 * nscd/nscd.h (notify_parent): Likewise.
11633 (do_exit): Likewise.
11634
d6285c9f
CD
116352014-03-03 Carlos O'Donell <carlos@redhat.com>
11636
11637 * malloc/malloc.c (__libc_calloc): Revert last change.
11638
2b85d2a0
AZ
116392014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11640
11641 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11642
c7debbdf
RS
116432014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
11644
11645 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
11646 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
11647 implementation.
11648 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
11649 (__libc_ifunc_impl_list): Likewise.
11650 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
11651 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
11652 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
11653 * string/strrchr.c: Define STRRCHR.
11654
235eed86
OB
116552014-02-28 Ondřej Bílka <neleai@seznam.cz>
11656
11657 * benchtest/bench-strtok.c (simple_strtok): Delete.
11658 (strtok_string): Use as benchmark.
11659 * string/strtok (STRTOK): New macro.
11660
8e25d1e7
CD
116612014-02-28 Carlos O'Donell <carlos@redhat.com>
11662
ef563f92
CD
11663 * manual/threads.texi: Add header and standard comments to all
11664 functions.
11665
8e25d1e7
CD
11666 * elf/dl-lookup.c (check_match): New function.
11667 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
11668 (do_lookup_x): Remove nested function check_match. Use non-nested
11669 function check_match.
11670
ff71cc37
RM
116712014-02-28 Roland McGrath <roland@hack.frob.com>
11672
f08e9a26
RM
11673 * csu/Makefile (generated, before-compile): Use += rather than =.
11674 * catgets/Makefile (generated, generated-dirs): Likewise.
11675 * debug/Makefile (generated): Likewise.
11676 * dlfcn/Makefile (generated): Likewise.
11677 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
11678 * iconvdata/Makefile (before-compile, generated): Likewise.
11679 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
11680 * libio/Makefile (generated): Likewise.
11681 * malloc/Makefile (generated): Likewise.
11682 * manual/Makefile (generated, generated-dirs): Likewise.
11683 * misc/Makefile (generated): Likewise.
11684 * posix/Makefile (generated): Likewise.
11685 * resolv/Makefile (generated): Likewise.
11686 * sunrpc/Makefile (generated, generated-dirs): Likewise.
11687 * timezone/Makefile (generated, generated-dirs): Likewise.
11688
ff71cc37
RM
11689 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
11690
fe13a20c
AZ
116912014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11692
57f41c40
AS
11693 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
11694 power8 implementation.
11695 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
11696 file: POWER8 llround ifunc implementation.
11697 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
11698 (__lllround): Add POWER8 implementation.
fe13a20c
AZ
11699 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
11700 POWER8 llround implementation.
11701
57f41c40
AS
11702 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
11703 power8 implementation.
11704 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
11705 file: POWER8 llrint ifunc implementation.
11706 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
11707 Add POWER8 implementation.
1ad8950a
AZ
11708 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
11709 POWER8 llrint implementation.
11710
57f41c40
AS
11711 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
11712 power8 implementation.
11713 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
11714 file: POWER8 finite ifunc implementation.
11715 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
11716 Add POWER8 implementation.
cac626d6
AZ
11717 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
11718 Likewise.
11719 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
11720 POWER8 finite implementation.
11721 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
11722
57f41c40
AS
11723 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
11724 power8 implementation.
11725 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
11726 file: POWER8 isinf ifunc implementation.
4393fc11
AZ
11727 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
11728 POWER8 implementation.
11729 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
11730 Likewise.
57f41c40
AS
11731 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
11732 isinf implementation.
4393fc11
AZ
11733 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
11734
57f41c40
AS
11735 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
11736 (INIT_ARCH): Add hwcap2 initialization.
11737 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
11738 power8 implementation.
11739 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
11740 file: POWER8 isnan ifunc implementation.
487972ae
AZ
11741 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
11742 POWER8 implementation.
11743 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
11744 Likewise.
57f41c40
AS
11745 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
11746 isnan implementation.
487972ae
AZ
11747 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
11748
7d92b787
JY
117492014-02-27 Joey Ye <joey.ye@arm.com>
11750
11751 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
11752 (_FP_NANFRAC_Q): Set to zero.
11753
1cadc858
SP
117542014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
11755
11756 [BZ #16623]
11757 * math/auto-libm-test-in: New test inputs.
11758 * math/auto-libm-test-out: Regenerate.
11759 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
11760 and DA.
11761 (__cos): Likewise.
11762 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
11763
f8c17e79
JM
117642014-02-27 Joseph Myers <joseph@codesourcery.com>
11765
11766 * scripts/evaluate-test.sh: Take new argument indicating whether
11767 failure is expected.
11768 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
11769 indicating whether failure is expected.
11770 * conform/Makefile (test-xfail-run-conformtest): New variable.
11771 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
11772 level.
11773 * posix/Makefile (test-xfail-annexc): New variable.
11774 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
11775
a5f891ac
JM
117762014-02-26 Joseph Myers <joseph@codesourcery.com>
11777
11778 * argp/Makefile: Include Makeconfig immediately after defining
11779 subdir.
11780 * assert/Makefile: Likewise.
11781 * benchtests/Makefile: Likewise.
11782 * catgets/Makefile: Likewise.
11783 * conform/Makefile: Likewise.
11784 * crypt/Makefile: Likewise.
11785 * csu/Makefile: Likewise.
11786 (all): Remove target.
11787 * ctype/Makefile: Include Makeconfig immediately after defining
11788 subdir.
11789 * debug/Makefile: Likewise.
11790 * dirent/Makefile: Likewise.
11791 * dlfcn/Makefile: Likewise.
11792 * gmon/Makefile: Likewise.
11793 * gnulib/Makefile: Likewise.
11794 * grp/Makefile: Likewise.
11795 * gshadow/Makefile: Likewise.
11796 * hesiod/Makefile: Likewise.
11797 * hurd/Makefile: Likewise.
11798 (all): Remove target.
11799 * iconvdata/Makefile: Include Makeconfig immediately after
11800 defining subdir.
11801 * inet/Makefile: Likewise.
11802 * intl/Makefile: Likewise.
11803 * io/Makefile: Likewise.
11804 * libio/Makefile: Likewise.
11805 (all): Remove target.
11806 * locale/Makefile: Include Makeconfig immediately after defining
11807 subdir.
11808 * login/Makefile: Likewise.
11809 * mach/Makefile: Likewise.
11810 (all): Remove target.
11811 * malloc/Makefile: Include Makeconfig immediately after defining
11812 subdir.
11813 (all): Remove target.
11814 * manual/Makefile: Include Makeconfig immediately after defining
11815 subdir.
11816 * math/Makefile: Likewise.
11817 * misc/Makefile: Likewise.
11818 * nis/Makefile: Likewise.
11819 * nss/Makefile: Likewise.
11820 * po/Makefile: Likewise.
11821 (all): Remove target.
11822 * posix/Makefile: Include Makeconfig immediately after defining
11823 subdir.
11824 * pwd/Makefile: Likewise.
11825 * resolv/Makefile: Likewise.
11826 * resource/Makefile: Likewise.
11827 * rt/Makefile: Likewise.
11828 * setjmp/Makefile: Likewise.
11829 * shadow/Makefile: Likewise.
11830 * signal/Makefile: Likewise.
11831 * socket/Makefile: Likewise.
11832 * soft-fp/Makefile: Likewise.
11833 * stdio-common/Makefile: Likewise.
11834 * stdlib/Makefile: Likewise.
11835 * streams/Makefile: Likewise.
11836 * string/Makefile: Likewise.
11837 * sunrpc/Makefile: Likewise.
11838 (all): Remove target.
11839 * sysvipc/Makefile: Include Makeconfig immediately after defining
11840 subdir.
11841 * termios/Makefile: Likewise.
11842 * time/Makefile: Likewise.
11843 * timezone/Makefile: Likewise.
11844 (all): Remove target.
11845 * wcsmbs/Makefile: Include Makeconfig immediately after defining
11846 subdir.
11847 * wctype/Makefile: Likewise.
11848
5b456e9d
SE
118492014-02-26 Steve Ellcey <sellcey@mips.com>
11850
11851 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
11852 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
11853 (libc_feholdexcept_setround_mips): Ditto.
11854 (libc_feholdsetround): New.
11855 (libc_feholdsetroundf): New.
11856 (libc_feholdsetroundl): New.
11857 (libc_feupdateenv_test_mips): New.
11858 (libc_feupdateenv_test): New.
11859 (libc_feupdateenv_testf): New.
11860 (libc_feupdateenv_testl): New.
11861 (libc_feresetround): New.
11862 (libc_feresetroundf): New.
11863 (libc_feresetroundl): New.
11864 (libc_fetestexcept_mips): New.
11865 (libc_fetestexcept): New.
11866 (libc_fetestexceptf): New.
11867 (libc_fetestexceptl): New.
11868 (HAVE_RM_CTX): New.
11869 (libc_feholdexcept_setround_mips_ctx): New.
11870 (libc_feholdexcept_setround_ctx): New.
11871 (libc_feholdexcept_setroundf_ctx): New.
11872 (libc_feholdexcept_setroundl_ctx): New.
11873 (libc_fesetenv_mips_ctx): New.
11874 (libc_fesetenv_ctx): New.
11875 (libc_fesetenv_ctxf): New.
11876 (libc_fesetenv_ctxl): New.
11877 (libc_feupdateenv_mips_ctx): New.
11878 (libc_feupdateenv_ctx): New.
11879 (libc_feupdateenvf_ctx): New.
11880 (libc_feupdateenvl_ctx): New.
11881 (libc_feholdsetround_mips_ctx): New.
11882 (libc_feholdsetround_ctx): New.
11883 (libc_feholdsetroundf_ctx): New.
11884 (libc_feholdsetroundl_ctx): New.
11885 (libc_feresetround_mips_ctx): New.
11886 (libc_feresetround_ctx): New.
11887 (libc_feresetroundf_ctx): New.
11888 (libc_feresetroundl_ctx): New.
11889
085d0e35
CD
118902014-02-26 Carlos O'Donell <carlos@redhat.com>
11891
f067bf1f
CD
11892 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
11893
085d0e35
CD
11894 * manual/ipc.texi: New file.
11895 * manual/Makefile (chapters): Add ipc.
11896 * manual/job.texi: Add "Inter-Process Communication" to next.
11897 * manual/process.texi: Add "Inter-Process Communication" to prev.
11898
86e58c08
AZ
118992014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11900
11901 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11902
4248f0da
OB
119032014-02-26 Ondřej Bílka <neleai@seznam.cz>
11904
11905 * malloc/malloc.c (__libc_calloc): Simplify implementation.
11906
cf822e3c
OB
11907 * manual/arith.texi: Fix spaces after sentences.
11908 * manual/charset.texi: Likewise.
11909 * manual/errno.texi: Likewise.
11910 * manual/install.texi: Likewise.
11911 * manual/llio.texi: Likewise.
11912 * manual/locale.texi: Likewise.
11913 * manual/maint.texi: Likewise.
11914 * manual/math.texi: Likewise.
11915 * manual/memory.texi: Likewise.
11916 * manual/message.texi: Likewise.
11917 * manual/probes.texi: Likewise.
11918 * manual/resource.texi: Likewise.
11919 * manual/signal.texi: Likewise.
11920 * manual/socket.texi: Likewise.
11921 * manual/stdio.texi: Likewise.
11922 * manual/string.texi: Likewise.
11923 * manual/time.texi: Likewise.
11924 * manual/users.texi: Likewise.
11925
ade40b10
CD
119262014-02-25 Carlos O'Donell <carlos@redhat.com>
11927
11928 [BZ #16632]
11929 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
11930 _DEFAULT_SOURCE is defined.
11931
d0503676
CD
119322014-02-25 Ulrich Drepper <drepper@gmail.com>
11933 Carlos O'Donell <carlos@redhat.com>
11934
11935 [BZ #16613]
11936 * elf/dl-tls.c (_dl_count_modids): New function.
11937 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
11938 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
11939 audit library and increment generation counter.
11940 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
11941 * elf/tst-audit9.c: New file.
11942 * elf/tst-auditmod9a.c: New file.
11943 * elf/tst-auditmod9b.c: New file.
11944 * elf/Makefile: Add rules to build and run tst-audit9.
11945
4cbf380c
FW
119462014-02-25 Florian Weimer <fweimer@redhat.com>
11947
11948 [BZ #15347]
11949 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
11950
80a56cc3
WN
119512014-02-25 Will Newton <will.newton@linaro.org>
11952
11953 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
11954 (__longjmp): Restore sp and lr before restoring callee
11955 saved registers. Add longjmp and longjmp_target
11956 SystemTap probe point.
11957 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
11958 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
11959 Define to zero to match jmpbuf layout.
11960 * sysdeps/arm/setjmp.S: Include stap-probe.h.
11961 (__sigsetjmp): Save sp and lr before saving callee
11962 saved registers. Add setjmp SystemTap probe point.
11963
3ea0f74e
SL
119642014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
11965
11966 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
11967
b04acb26
AS
119682014-02-24 Andreas Schwab <schwab@suse.de>
11969
11970 [BZ #15804]
11971 * elf/pldd.c (wait_for_ptrace_stop): New function.
11972 (main): Call it after attaching.
11973
098ad55c
RM
119742014-02-22 Roland McGrath <roland@hack.frob.com>
11975
d4ec6ae1
RM
11976 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
11977 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
11978 Versions files is now verboten.
11979 * hurd/Versions (libc: GLIBC_2.0):
11980 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
11981 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
11982 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
11983 * mach/Versions: Likewise.
11984
098ad55c
RM
11985 * csu/Versions: Remove unused %include.
11986 * resolv/Versions: Likewise.
11987
acd7f096
JM
119882014-02-21 Joseph Myers <joseph@codesourcery.com>
11989
f0881698
JM
11990 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
11991 ($(objpfx)check-local-headers.out): Likewise.
11992 ($(objpfx)begin-end-check.out): Likewise.
11993 * Makerules (check-abi-%.out): Likewise.
11994 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
11995 ($(objpfx)test2.cat): Likewise.
11996 ($(objpfx)de/libc.cat): Likewise.
11997 ($(objpfx)test-gencat.out): Likewise.
11998 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
11999 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
12000 ($(objpfx)noload-mem): Likewise.
12001 ($(objpfx)tst-pathopt.out): Likewise.
12002 ($(objpfx)tst-rtld-load-self.out): Likewise.
12003 ($(objpfx)tst-array1-cmp.out): Likewise.
12004 ($(objpfx)tst-array1-static-cmp.out): Likewise.
12005 ($(objpfx)tst-array2-cmp.out): Likewise.
12006 ($(objpfx)tst-array3-cmp.out): Likewise.
12007 ($(objpfx)tst-array4-cmp.out): Likewise.
12008 ($(objpfx)tst-array5-cmp.out): Likewise.
12009 ($(objpfx)tst-array5-static-cmp.out): Likewise.
12010 ($(objpfx)check-textrel.out): Likewise.
12011 ($(objpfx)check-execstack.out): Likewise.
12012 ($(objpfx)check-localplt.out): Likewise.
12013 ($(objpfx)order2-cmp.out): Likewise.
12014 ($(objpfx)tst-leaks1-mem): Likewise.
12015 ($(objpfx)tst-leaks1-static-mem): Likewise.
12016 ($(objpfx)tst-initorder-cmp.out): Likewise.
12017 ($(objpfx)tst-initorder2-cmp.out): Likewise.
12018 ($(objpfx)tst-unused-dep.out): Likewise.
12019 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
12020 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
12021 * iconv/Makefile (test-iconvconfig): Likewise.
12022 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
12023 ($(objpfx)iconv-test.out): Likewise.
12024 ($(objpfx)tst-tables.out): Likewise.
12025 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
12026 ($(objpfx)tst-gettext.out): Likewise.
12027 ($(objpfx)tst-translit.out): Likewise.
12028 ($(objpfx)tst-gettext2.out): Likewise.
12029 ($(objpfx)tst-gettext4.out): Likewise.
12030 ($(objpfx)tst-gettext6.out): Likewise.
12031 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
12032 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
12033 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
12034 ($(objpfx)tst-fopenloc-mem.out): Likewise.
12035 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
12036 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
12037 * posix/Makefile ($(objpfx)globtest.out): Likewise.
12038 ($(objpfx)wordexp-tst.out): Likewise.
12039 ($(objpfx)annexc.out): Likewise.
12040 ($(objpfx)tst-fnmatch-mem): Likewise.
12041 ($(objpfx)bug-regex2-mem): Likewise.
12042 ($(objpfx)bug-regex14-mem): Likewise.
12043 ($(objpfx)bug-regex21-mem): Likewise.
12044 ($(objpfx)bug-regex31-mem): Likewise.
12045 ($(objpfx)tst-vfork3-mem): Likewise.
12046 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
12047 ($(objpfx)tst-pcre-mem): Likewise.
12048 ($(objpfx)tst-boost-mem): Likewise.
12049 ($(objpfx)tst-getconf.out): Likewise.
12050 ($(objpfx)bug-ga2-mem): Likewise.
12051 ($(objpfx)bug-glob2-mem): Likewise.
12052 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
12053 ($(objpfx)mtrace-tst-leaks2): Likewise.
12054 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
12055 ($(objpfx)tst-printf.out): Likewise.
12056 ($(objpfx)tst-setvbuf1.out): Likewise.
12057 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
12058 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
12059 ($(objpfx)tst-fmtmsg.out): Likewise.
12060 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
12061 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
12062
acd7f096
JM
12063 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
12064 * bits/sigaction.h [__USE_MISC]: Likewise.
12065 * bits/waitstatus.h: Update #endif comments.
12066 * ctype/ctype.h: Likewise.
12067 * dirent/dirent.h: Likewise.
12068 [__USE_MISC]: Remove redundant conditionals.
12069 * grp/grp.h: Update #endif comments.
12070 [__USE_GNU]: Remove redundant conditionals.
12071 [__USE_MISC]: Likewise.
12072 * inet/netinet/in.h [__USE_GNU]: Likewise.
12073 * io/sys/stat.h [__USE_MISC]: Likewise.
12074 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
12075 * libio/bits/stdio.h: Update #endif comments.
12076 [__USE_MISC]: Remove redundant conditionals.
12077 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
12078 * libio/stdio.h: Update #endif comments.
12079 [__USE_MISC]: Remove redundant conditionals.
12080 * math/bits/math-finite.h [__USE_MISC]: Likewise.
12081 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
12082 * math/math.h: Update #else and #endif comments.
12083 [__USE_MISC]: Remove redundant conditionals.
12084 * misc/sys/uio.h: Update #endif comments.
12085 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
12086 * posix/glob.h [__USE_MISC]: Likewise.
12087 * posix/sys/types.h: Update #endif comments.
12088 [__USE_MISC]: Remove redundant conditionals.
12089 * posix/sys/wait.h: Update #endif comments.
12090 [__USE_MISC]: Remove redundant conditionals.
12091 * posix/unistd.h: Update #endif comments.
12092 [__USE_MISC]: Remove redundant conditionals.
12093 * pwd/pwd.h [__USE_GNU]: Likewise.
12094 [__USE_MISC]: Likewise.
12095 * resolv/netdb.h [__USE_GNU]: Likewise.
12096 * signal/signal.h: Update #endif comments.
12097 [__USE_MISC]: Remove redundant conditionals.
12098 * stdlib/stdlib.h: Update #else and #endif comments.
12099 [__USE_MISC]: Remove redundant conditionals.
12100 [__USE_GNU]: Likewise.
12101 * string/bits/string2.h [__USE_MISC]: Likewise.
12102 * string/string.h: Update #endif comments.
12103 [__USE_MISC]: Remove redundant conditionals.
12104 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
12105 Likewise.
12106 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
12107 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
12108 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
12109 Likewise.
12110 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
12111 Likewise.
12112 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
12113 comments.
12114 [__USE_MISC]: Remove redundant conditionals.
12115 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
12116 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
12117 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
12118 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
12119 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
12120 Likewise.
12121 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
12122 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
12123 Likewise.
12124 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
12125 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
12126 Likewise.
12127 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
12128 Likewise.
12129 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
12130 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
12131 Likewise.
12132 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
12133 Likewise.
12134 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
12135 * sysdeps/x86/bits/string.h: Update #endif comments.
12136 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
12137 conditionals.
12138 * time/sys/time.h: Update #endif comments.
12139 * time/time.h: Likewise.
12140 [__USE_MISC]: Remove redundant conditionals.
12141
a5d82e4e
YG
121422014-02-21 Yury Gribov <y.gribov@samsung.com>
12143
12144 [BZ #16600]
12145 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
12146
9a80491d
AS
121472014-02-21 Andreas Schwab <schwab@linux-m68k.org>
12148
12149 * Versions.def (librt): Add GLIBC_2.17.
12150
105fa381
AC
121512014-02-21 Adam Conrad <adconrad@0c3.net>
12152
12153 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
12154 synonym for _SYS_AUXV_H to allow direct inclusion.
12155 * sysdeps/sparc/bits/hwcap.h: Likewise.
12156 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
12157 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
12158 * sysdeps/sparc/sysdep.h: Likewise.
12159
b8cd1c4e
SP
121602014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
12161
12162 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
12163
bd939d23
RS
121642014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
12165
12166 * benchtests/bench-strrchr.c: Print length instead of position.
12167
5d7b57ca
JM
121682014-02-20 Joseph Myers <joseph@codesourcery.com>
12169
bc688c10
JM
12170 [BZ #16611]
12171 * sysdeps/unix/sysv/linux/kernel-features.h
12172 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
12173 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
12174 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
12175 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
12176 Likewise.
12177 [__i386__ || __powerpc__ || __sh__ || __sparc__]
12178 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
12179 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
12180 (__ASSUME_SENDMMSG): Define instead of using previous
12181 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
12182 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
12183 (__ASSUME_SENDMMSG_SYSCALL): Define.
12184 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
12185 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
12186 Likewise.
12187 * sysdeps/unix/sysv/linux/arm/kernel-features.h
12188 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
12189 Likewise.
12190 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
12191 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
12192 Likewise.
12193 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
12194 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
12195 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
12196 [__ASSUME_SENDMMSG]: Change conditionals to
12197 [__ASSUME_SENDMMSG_SOCKETCALL].
12198 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
12199 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
12200 Define.
12201 * sysdeps/unix/sysv/linux/mips/kernel-features.h
12202 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
12203 Likewise.
12204 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
12205 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
12206 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
12207 [!__ASSUME_SENDMMSG]: Change conditional to
12208 [!__ASSUME_SENDMMSG_SOCKETCALL].
12209 * sysdeps/unix/sysv/linux/tile/kernel-features.h
12210 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
12211 Define.
12212
0e31b18c
JM
12213 [BZ #16610]
12214 * sysdeps/unix/sysv/linux/kernel-features.h
12215 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
12216 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
12217 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
12218 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
12219 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
12220 [__i386__ || __sparc__]
12221 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
12222 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
12223 (__ASSUME_RECVMMSG): Define instead of using previous
12224 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
12225 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
12226 (__ASSUME_RECVMMSG_SYSCALL): Define.
12227 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
12228 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
12229 Likewise.
12230 * sysdeps/unix/sysv/linux/arm/kernel-features.h
12231 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
12232 Likewise.
12233 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
12234 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
12235 Likewise.
12236 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
12237 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
12238 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
12239 [__ASSUME_RECVMMSG]: Change condition to
12240 [__ASSUME_RECVMMSG_SOCKETCALL].
12241 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
12242 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
12243 Define.
12244 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
12245 * sysdeps/unix/sysv/linux/mips/kernel-features.h
12246 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
12247 Likewise.
12248 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
12249 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
12250 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
12251 [!__ASSUME_RECVMMSG]: Change condition to
12252 [!__ASSUME_RECVMMSG_SOCKETCALL].
12253 * sysdeps/unix/sysv/linux/tile/kernel-features.h
12254 (__ASSUME_RECVMMSG_SYSCALL): Define.
12255
dd481ccf
JM
12256 [BZ #16609]
12257 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
12258 __powerpc__ || __s390__ || __sh__ || __sparc__]
12259 (__ASSUME_SOCKETCALL): Define.
12260 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
12261 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
12262 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
12263 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
12264 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
12265 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
12266 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
12267 (__ASSUME_ACCEPT4): Define instead of using previous
12268 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
12269 __powerpc__ || __sparc__ || __s390__)] condition.
12270 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
12271 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
12272 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
12273 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
12274 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
12275 [!__ASSUME_ACCEPT4]: Change condition to
12276 [!__ASSUME_ACCEPT4_SOCKETCALL].
12277 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
12278 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
12279 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
12280 * sysdeps/unix/sysv/linux/arm/kernel-features.h
12281 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
12282 __ASSUME_ACCEPT4_SYSCALL.
12283 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
12284 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
12285 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
12286 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
12287 __ASSUME_ACCEPT4_SYSCALL.
12288 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
12289 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
12290 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
12291 [__ASSUME_ACCEPT4]: Change condition to
12292 [__ASSUME_ACCEPT4_SOCKETCALL].
12293 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
12294 (__ASSUME_SOCKETCALL): Define.
12295 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
12296 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
12297 (__ASSUME_SOCKETCALL): Define.
12298 (__ASSUME_ACCEPT4): Remove.
12299 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
12300 Define.
12301 * sysdeps/unix/sysv/linux/mips/kernel-features.h
12302 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
12303 Likewise.
12304 * sysdeps/unix/sysv/linux/tile/kernel-features.h
12305 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
12306
5d7b57ca
JM
12307 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
12308 macro.
12309 (HWCAP_ARM_LPAE): Likewise.
12310 (HWCAP_ARM_EVTSTRM): Likewise.
12311 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
12312 Add vpfd32, lpae and evtstrm.
12313 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
12314 Increase to 22.
12315
63689d61
JM
123162014-02-19 Joseph Myers <joseph@codesourcery.com>
12317
12318 * math/auto-libm-test-in: Add tests of clog10.
12319 * math/auto-libm-test-out: Regenerated.
12320 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
12321 * sysdeps/i386/fpu/libm-test-ulps: Update.
12322 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12323
ab09bf61
AS
123242014-02-18 Andreas Schwab <schwab@suse.de>
12325
12326 [BZ #16574]
12327 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
12328 Store non-zero if the second buffer was newly allocated.
12329 (send_dg): Likewise.
12330 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
12331 to send_vc and send_dg.
12332 (res_nsend): Pass NULL for ansp2_malloced.
12333 * resolv/res_query.c (__libc_res_nquery): Add parameter
12334 answerp2_malloced and pass it down to __libc_res_nsend.
12335 (res_nquery): Pass additional NULL to __libc_res_nquery.
12336 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
12337 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
12338 second answer buffer if answerp2_malloced was set.
12339 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
12340 (__libc_res_nquerydomain): Add parameter
12341 answerp2_malloced and pass it down to __libc_res_nquery.
12342 (res_nquerydomain): Pass additional NULL to
12343 __libc_res_nquerydomain.
12344 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
12345 additional NULL to __libc_res_nsend and __libc_res_nquery.
12346 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
12347 additional NULL to __libc_res_nsearch.
12348 (_nss_dns_gethostbyname4_r): Revert last change. Use new
12349 parameter of __libc_res_nsearch to check for separately allocated
12350 second buffer.
12351 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
12352 __libc_res_nquery.
12353 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
12354 additional NULL to __libc_res_nquery.
12355 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
12356 __libc_res_nsearch.
12357 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
12358 * include/resolv.h: Update prototypes of __libc_res_nquery,
12359 __libc_res_nsearch, __libc_res_nsend.
12360
a4fb7861
JM
123612014-02-18 Joseph Myers <joseph@codesourcery.com>
12362
c6af2d89
JM
12363 * math/auto-libm-test-in: Add tests of fma.
12364 * math/auto-libm-test-out: Regenerated.
12365 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
12366 (fma_towardzero_test_data): Likewise.
12367 (fma_downward_test_data): Likewise.
12368 (fma_upward_test_data): Likewise.
12369 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
12370 mpc_mode.
12371 (rounding_modes): Add values for new field.
12372 (func_calc_method): Add value mpfr_fff_f.
12373 (func_calc_desc): Add mpfr_fff_f union field.
12374 (test_function): Add field exact_args.
12375 (FUNC): Add macro argument EXACT_ARGS.
12376 (FUNC_mpfr_f_f): Update call to FUNC.
12377 (FUNC_mpfr_f_f): Likewise.
12378 (FUNC_mpfr_ff_f): Likewise.
12379 (FUNC_mpfr_if_f): Likewise.
12380 (FUNC_mpc_c_f): Likewise.
12381 (FUNC_mpc_c_c): Likewise.
12382 (test_functions): Add fma. Update calls to FUNC.
12383 (handle_input_arg): Add argument exact_args.
12384 (add_test): Update call to handle_input_arg.
12385 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
12386 (output_for_one_input_case): Update call to calc_generic_results.
12387 Recalculate exact zero results in each rounding mode.
12388
a4fb7861
JM
12389 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
12390 non-negative before setting low bit.
12391 * math/auto-libm-test-in: Mark one asin test possibly having
12392 spurious underflow.
12393 * math/auto-libm-test-out: Regenerated.
12394 * sysdeps/i386/fpu/libm-test-ulps: Update.
12395 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12396
ef114eaf
DH
123972014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
12398
2b7f4f2c
SP
12399 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
12400 * sysdeps/unix/sysv/linux/microblaze: Move directory from
12401 ports/sysdeps/unix/sysv/linux/microblaze.
ef114eaf
DH
12402 * README: Add missing listing for microblaze*-*-linux-gnu.
12403
8125aedc
AM
124042014-02-16 Ondřej Bílka <neleai@seznam.cz>
12405
12406 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
12407 duplicate code
12408
c70a4b1d
MF
124092014-02-16 Mike Frysinger <vapier@gentoo.org>
12410
12411 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
12412 * sysdeps/unix/sysv/linux/ia64: Move directory from
12413 ports/sysdeps/unix/sysv/linux/ia64.
12414 * README: Update listing for ia64-*-linux-gnu.
12415
591aeaf7
TD
124162014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
12417 Joseph Myers <joseph@codesourcery.com>
12418
12419 * Makeconfig (test-name): New variable.
12420 (evaluate-test): Likewise.
12421 * Makerules (do-test-clean): Remove .test-result files.
12422 (common-mostlyclean): Likewise.
12423 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
12424 * scripts/evaluate-test.sh: New file.
12425
6e89caf1
JM
124262014-02-14 Joseph Myers <joseph@codesourcery.com>
12427
7f98f180
JM
12428 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
12429 separate $(objpfx)tst-fopenloc-cmp.out and
12430 $(objpfx)tst-fopenloc-mem.out targets.
12431 (tests): Update dependencies.
12432 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
12433 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
12434 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
12435 (tst-rxspencer-no-utf8-ARGS): New variable.
12436 (tst-rxspencer-no-utf8-ENV): Likewise.
12437 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
12438 instead of $(objpfx)tst-rxspencer-mem.
12439 ($(objpfx)tst-rxspencer-mem): Change target to
12440 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
12441 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
12442 * posix/tst-rxspencer-no-utf8.c: New file.
12443
6e89caf1
JM
12444 * elf/Makefile ($(objpfx)order.out): Remove rule.
12445 [$(run-built-tests) = yes] (tests): Depend on
12446 $(objpfx)order-cmp.out.
12447 ($(objpfx)order-cmp.out): New rule.
12448 [$(run-built-tests) = yes] (tests): Depend on
12449 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
12450 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
12451 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
12452 $(objpfx)tst-array5-static-cmp.out.
12453 ($(objpfx)tst-array1.out): Remove rule.
12454 ($(objpfx)tst-array1-cmp.out): New rule.
12455 ($(objpfx)tst-array1-static.out): Remove rule.
12456 ($(objpfx)tst-array1-static-cmp.out): New rule.
12457 ($(objpfx)tst-array2.out): Remove rule.
12458 ($(objpfx)tst-array2-cmp.out): New rule.
12459 ($(objpfx)tst-array3.out): Remove rule.
12460 ($(objpfx)tst-array3-cmp.out): New rule.
12461 ($(objpfx)tst-array4.out): Remove rule.
12462 ($(objpfx)tst-array4-cmp.out): New rule.
12463 ($(objpfx)tst-array5.out): Remove rule.
12464 ($(objpfx)tst-array5-cmp.out): New rule.
12465 ($(objpfx)tst-array5-static.out): Remove rule.
12466 ($(objpfx)tst-array5-static-cmp.out): New rule.
12467 [$(run-built-tests) = yes] (tests): Depend on
12468 $(objpfx)order2-cmp.out.
12469 ($(objpfx)order2.out): Remove rule.
12470 ($(objpfx)order2-cmp.out): New rule.
12471 ($(objpfx)tst-initorder.out): Remove rule.
12472 [$(run-built-tests) = yes] (tests): Depend on
12473 $(objpfx)tst-initorder-cmp.out.
12474 ($(objpfx)tst-initorder-cmp.out): New rule.
12475 ($(objpfx)tst-initorder2.out): Remove rule.
12476 [$(run-built-tests) = yes] (tests): Depend on
12477 $(objpfx)tst-initorder2-cmp.out.
12478 ($(objpfx)tst-initorder2-cmp.out): New rule.
12479 [$(run-built-tests) = yes] (tests): Depend on
12480 $(objpfx)tst-unused-dep-cmp.out.
12481 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
12482 ($(objpfx)tst-unused-dep-cmp.out): New rule.
12483 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
12484 on $(objpfx)tst-setvbuf1-cmp.out.
12485 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
12486 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
12487 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
12488 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
12489 ($(objpfx)tst-svc.out): Remove rule.
12490 ($(objpfx)tst-svc-cmp.out): New rule.
12491
ed9a38e2
JM
124922014-02-13 Joseph Myers <joseph@codesourcery.com>
12493
12494 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
12495 * ctype/ctype.h [__USE_MISC]: Likewise.
12496 * dirent/dirent.h [__USE_MISC]: Likewise.
12497 * grp/grp.h [__USE_MISC]: Likewise.
12498 * io/fcntl.h [__USE_MISC]: Likewise.
12499 * io/sys/stat.h [__USE_MISC]: Likewise.
12500 * libio/stdio.h [__USE_MISC]: Likewise.
12501 * posix/unistd.h [__USE_MISC]: Likewise.
12502 * pwd/pwd.h [__USE_MISC]: Likewise.
12503 * stdlib.h [__USE_MISC]: Likewise.
12504 * string/bits/string2.h [__USE_MISC]: Likewise.
12505 * string/string.h [__USE_MISC]: Likewise.
12506 * time/time.h [__USE_MISC]: Likewise.
12507
d6680619
AS
125082014-02-13 Andreas Schwab <schwab@suse.de>
12509
12510 [BZ #16574]
12511 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
12512 second answer buffer if it was separately allocated.
12513
ace614b8
JM
125142014-02-12 Joseph Myers <joseph@codesourcery.com>
12515
743151ae
JM
12516 * sysdeps/mips/math-tests.h: Include <features.h>.
12517 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
12518 (ROUNDING_TESTS_long_double): Do not define.
12519 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
12520 (EXCEPTION_TESTS_long_double): Likewise.
12521 * sysdeps/mips/mips64/libm-test-ulps: Update.
12522
498afc54
JM
12523 * include/features.h (__USE_BSD): Remove macro definitions.
12524 (__USE_SVID): Likewise.
12525 (_BSD_SOURCE): Likewise.
12526 (_SVID_SOURCE): Likewise.
12527 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
12528 from definition of _DEFAULT_SOURCE.
12529 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
12530 [_DEFAULT_SOURCE].
12531 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
12532 * bits/mman.h [__USE_BSD]: Likewise.
12533 * bits/termios.h [__USE_BSD]: Likewise.
12534 * bits/waitstatus.h [__USE_BSD]: Likewise.
12535 * ctype/ctype.h [__USE_SVID]: Likewise.
12536 * dirent/dirent.h [__USE_BSD]: Likewise.
12537 * grp/grp.h [__USE_SVID]: Likewise.
12538 [__USE_BSD]: Likewise.
12539 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
12540 * io/fcntl.h [__USE_BSD]: Likewise.
12541 * io/ftw.h [__USE_BSD]: Likewise.
12542 * io/sys/stat.h [__USE_BSD]: Likewise.
12543 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
12544 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
12545 * libio/stdio.h [__USE_SVID]: Likewise.
12546 [__USE_BSD]: Likewise.
12547 * math/math.h [__USE_SVID]: Likewise.
12548 [__USE_BSD]: Likewise.
12549 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
12550 * misc/bits/syslog.h [__USE_BSD]: Likewise.
12551 * misc/search.h [__USE_SVID]: Likewise.
12552 * misc/sys/mman.h [__USE_BSD]: Likewise.
12553 * misc/sys/syslog.h [__USE_BSD]: Likewise.
12554 * misc/sys/uio.h [__USE_BSD]: Likewise.
12555 * posix/bits/unistd.h [__USE_BSD]: Likewise.
12556 * posix/glob.h [__USE_BSD]: Likewise.
12557 * posix/regex.h [__USE_BSD]: Likewise.
12558 * posix/sys/types.h [__USE_BSD]: Likewise.
12559 [__USE_SVID]: Likewise.
12560 * posix/sys/utsname.h [__USE_SVID]: Likewise.
12561 * posix/sys/wait.h [__USE_BSD]: Likewise.
12562 [__USE_SVID]: Likewise.
12563 * posix/unistd.h [__USE_BSD]: Likewise.
12564 [__USE_SVID]: Likewise.
12565 * pwd/pwd.h [__USE_SVID]: Likewise.
12566 * resolv/netdb.h [__USE_BSD]: Likewise.
12567 * setjmp/setjmp.h [__USE_BSD]: Likewise.
12568 * signal/signal.h [__USE_BSD]: Likewise.
12569 [__USE_SVID]: Likewise.
12570 * socket/sys/socket.h [__USE_BSD]: Likewise.
12571 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
12572 * stdlib/stdlib.h [__USE_BSD]: Likewise.
12573 [__USE_SVID]: Likewise.
12574 * string/bits/string2.h [__USE_BSD]: Likewise.
12575 [__USE_SVID]: Likewise.
12576 * string/bits/string3.h [__USE_BSD]: Likewise.
12577 * string/endian.h [__USE_BSD]: Likewise.
12578 * string/string.h [__USE_SVID]: Likewise.
12579 [__USE_BSD]: Likewise.
12580 * string/strings.h [__USE_BSD]: Likewise.
12581 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
12582 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
12583 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
12584 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
12585 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
12586 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
12587 Likewise.
12588 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
12589 Likewise.
12590 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
12591 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
12592 Likewise.
12593 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
12594 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
12595 Likewise.
12596 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
12597 Likewise.
12598 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
12599 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
12600 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
12601 Likewise.
12602 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
12603 Likewise.
12604 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
12605 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
12606 * termios/termios.h [__USE_BSD]: Likewise.
12607 * time/sys/time.h [__USE_BSD]: Likewise.
12608 * time/time.h [__USE_BSD]: Likewise.
12609 [__USE_SVID]: Likewise.
12610
dd7b064c
JM
12611 * Makefile (subdir_targets): Remove subdir_lint.out.
12612
a2c4c199
JM
12613 * stdio-common/Makefile (do-tst-unbputc): Remove target.
12614 (do-tst-printf): Likewise.
12615 (tests): Depend directly on $(objpfx)tst-unbputc.out and
12616 $(objpfx)tst-printf.out.
12617
8756f740
JM
12618 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
12619
1b6dd3f1
JM
12620 * Makerules (check-abi-%): Change target to
12621 $(objpfx)check-abi-%.out.
12622 (check-abi target): Update dependencies.
12623 (check-abi-pattern variable): Redirect output of diff to $@.
12624 (check-abi variable): Likewise.
12625 * elf/Makefile (check-abi): Update dependencies.
12626
ace614b8
JM
12627 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
12628 unused.
12629 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
12630 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
12631 subnormal range.
12632 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
12633 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
12634 value has largest subnormal exponent.
12635 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
12636 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
12637 * sysdeps/aarch64/soft-fp/sfp-machine.h
12638 (_FP_TININESS_AFTER_ROUNDING): New macro.
12639 * sysdeps/alpha/soft-fp/sfp-machine.h
12640 (_FP_TININESS_AFTER_ROUNDING): Likewise.
12641 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
12642 Likewise.
12643 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
12644 (_FP_TININESS_AFTER_ROUNDING): Likewise.
12645 * sysdeps/mips/soft-fp/sfp-machine.h
12646 (_FP_TININESS_AFTER_ROUNDING): Likewise.
12647 * sysdeps/powerpc/soft-fp/sfp-machine.h
12648 (_FP_TININESS_AFTER_ROUNDING): Likewise.
12649 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
12650 Likewise.
12651 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
12652 (_FP_TININESS_AFTER_ROUNDING): Likewise.
12653 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
12654 (_FP_TININESS_AFTER_ROUNDING): Likewise.
12655 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
12656 Likewise.
12657
fbfdf9cb
DAS
126582014-02-12 Dylan Alex Simon <dylan@dylex.net>
12659
12660 [BZ #16545]
12661 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
12662 model 1.
12663
68b7efaa
RH
126642014-02-12 Richard Henderson <rth@redhat.com>
12665
c70a4b1d 12666 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
68b7efaa
RH
12667 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
12668 * sysdeps/unix/sysv/linux/alpha: Move directory from
12669 ports/sysdeps/unix/sysv/linux/alpha.
12670 * README: Update listing for alpha-*-linux-gnu.
12671
cb4a2928
JM
126722014-02-11 Joseph Myers <joseph@codesourcery.com>
12673
c941736c
JM
12674 * include/features.h: Update comment documenting feature test
12675 macros.
12676 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
12677 _DEFAULT_SOURCE.
12678 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
12679 (_SVID_SOURCE): Likewise.
12680 (_DEFAULT_SOURCE): Update description of default features.
12681 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
12682 with _GNU_SOURCE.
12683 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
12684 (S_ISVTX): Likewise.
12685 * manual/math.texi (Mathematical Constants): Likewise.
12686 * manual/signal.texi (Interrupted Primitives): Likewise.
12687 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
12688 * math/test-matherr.c (_SVID_SOURCE): Do not define.
12689 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
12690 Don't refer to _SVID_SOURCE in warning text.
12691
e8d8d7ec
JM
12692 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12693
cb4a2928
JM
12694 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
12695 already defined.
12696 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
12697 * sysdeps/mips/dl-lookup.c: Remove.
12698 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
12699
7e6424e3
AK
127002014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
12701
12702 [BZ #16447]
12703 * math/auto-libm-test-in: Add testcase for expl.
12704 * math/auto-libm-test-out: Regenerate.
12705 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
12706 calculation of unsafe.
12707 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
12708
75eff3fe
MS
127092014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
12710
12711 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
12712 * sysdeps/unix/sysv/linux/aarch64: Move directory from
12713 ports/sysdeps/unix/sysv/linux/aarch64.
12714 * README: Update listing for aarch64*-*-linux-gnu.
12715
d35f1e80
WN
127162014-02-11 Will Newton <will.newton@linaro.org>
12717
12718 * manual/probes.texi (Mathematical Function Probes): Use
12719 "triggered" instead of "hit".
12720
7b3436d4
WN
12721 * manual/probes.texi (Internal Probes): Add documentation
12722 of setjmp, longjmp and longjmp_target probes.
12723
b4f12ca3
WN
12724 * include/stap-probe.h: Add comment about probe argument
12725 format.
12726
c13a72b7
WN
12727 * malloc/mtrace.c (attribute_hidden): Remove unused macro
12728 definition. (tr_where, tr_freehook, tr_mallochook,
12729 tr_reallochook, tr_memalignhook): Use ANSI protoype.
12730
195b8165
DM
127312014-02-11 David S. Miller <davem@davemloft.net>
12732
12733 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
12734 processing int_tests.
12735
2ad7600b
JM
127362014-02-10 Joseph Myers <joseph@codesourcery.com>
12737
12738 * sysdeps/mips: Move directory from ports/sysdeps/mips.
12739 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
12740 * sysdeps/unix/sysv/linux/mips: Move directory from
12741 ports/sysdeps/unix/sysv/linux/mips.
12742 * README: Update listing for mips-*-linux-gnu and
12743 mips64-*-linux-gnu.
12744
73588a72
AS
127452014-02-10 Andreas Schwab <schwab@linux-m68k.org>
12746
12747 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
12748 * sysdeps/unix/sysv/linux/m68k: Move directory from
12749 ports/sysdeps/unix/sysv/linux/m68k.
12750 * README: Update listing for m68k-*-linux-gnu.
12751
4372980f
CM
127522014-02-10 Chris Metcalf <cmetcalf@tilera.com>
12753
12754 * sysdeps/tile: Move directory from ports/sysdeps/tile.
12755 * sysdeps/unix/sysv/linux/generic: Move directory from
12756 ports/sysdeps/unix/sysv/linux/generic.
12757 * sysdeps/unix/sysv/linux/tile: Move directory from
12758 ports/sysdeps/unix/sysv/linux/tile.
12759 * README: Update listing for tile*-*-linux-gnu.
12760
a1ffb40e
OB
127612014-02-10 Ondřej Bílka <neleai@seznam.cz>
12762
57f41c40
AS
12763 * assert/assert.c (__assert_fail_base): Use glibc_likely instead
12764 __builtin_expect.
a1ffb40e
OB
12765 * benchtests/bench-memmem.c (simple_memmem): Likewise.
12766 * catgets/open_catalog.c (__open_catalog): Likewise.
12767 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
12768 * debug/confstr_chk.c: Likewise.
12769 * debug/fread_chk.c (__fread_chk): Likewise.
12770 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
12771 * debug/getgroups_chk.c: Likewise.
12772 * debug/mbsnrtowcs_chk.c: Likewise.
12773 * debug/mbsrtowcs_chk.c: Likewise.
12774 * debug/mbstowcs_chk.c: Likewise.
12775 * debug/memcpy_chk.c: Likewise.
12776 * debug/memmove_chk.c: Likewise.
12777 * debug/mempcpy_chk.c: Likewise.
12778 * debug/memset_chk.c: Likewise.
12779 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
12780 * debug/strcat_chk.c (__strcat_chk): Likewise.
12781 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
12782 * debug/strncat_chk.c (__strncat_chk): Likewise.
12783 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
12784 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
12785 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
12786 * debug/wcpncpy_chk.c: Likewise.
12787 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
12788 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
12789 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
12790 * debug/wcsncpy_chk.c: Likewise.
12791 * debug/wcsnrtombs_chk.c: Likewise.
12792 * debug/wcsrtombs_chk.c: Likewise.
12793 * debug/wcstombs_chk.c: Likewise.
12794 * debug/wmemcpy_chk.c: Likewise.
12795 * debug/wmemmove_chk.c: Likewise.
12796 * debug/wmempcpy_chk.c: Likewise.
12797 * debug/wmemset_chk.c: Likewise.
12798 * dirent/scandirat.c (SCANDIRAT): Likewise.
12799 * dlfcn/dladdr1.c (dladdr1): Likewise.
12800 * dlfcn/dladdr.c (dladdr): Likewise.
12801 * dlfcn/dlclose.c (dlclose_doit): Likewise.
12802 * dlfcn/dlerror.c (__dlerror): Likewise.
12803 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
12804 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
12805 * dlfcn/dlopen.c (dlopen_doit): Likewise.
12806 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
12807 * dlfcn/dlsym.c (dlsym_doit): Likewise.
12808 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
12809 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
12810 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
12811 Likewise.
12812 * elf/dl-conflict.c: Likewise.
12813 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
12814 * elf/dl-dst.h: Likewise.
12815 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
12816 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
12817 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
12818 * elf/dl-init.c (call_init, _dl_init): Likewise.
12819 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
57f41c40
AS
12820 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
12821 (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
12822 Likewise.
a1ffb40e
OB
12823 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
12824 Likewise.
12825 * elf/dl-minimal.c (__libc_memalign): Likewise.
12826 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
12827 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
12828 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
12829 * elf/dl-sym.c (do_sym): Likewise.
57f41c40
AS
12830 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
12831 (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
a1ffb40e
OB
12832 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
12833 * elf/dl-writev.h (_dl_writev): Likewise.
12834 * elf/ldconfig.c (search_dir): Likewise.
57f41c40
AS
12835 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
12836 (dl_main): Likewise.
a1ffb40e
OB
12837 * elf/setup-vdso.h (setup_vdso): Likewise.
12838 * grp/compat-initgroups.c (compat_call): Likewise.
12839 * grp/fgetgrent.c (fgetgrent): Likewise.
12840 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
12841 * grp/putgrent.c (putgrent): Likewise.
12842 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
12843 Likewise.
12844 * hurd/hurdinit.c: Likewise.
12845 * iconvdata/8bit-gap.c (struct): Likewise.
12846 * iconvdata/ansi_x3.110.c : Likewise.
12847 * iconvdata/big5.c : Likewise.
12848 * iconvdata/big5hkscs.c : Likewise.
12849 * iconvdata/cp1255.c: Likewise.
12850 * iconvdata/cp1258.c : Likewise.
12851 * iconvdata/cp932.c : Likewise.
12852 * iconvdata/euc-cn.c: Likewise.
12853 * iconvdata/euc-jisx0213.c : Likewise.
12854 * iconvdata/euc-jp.c: Likewise.
12855 * iconvdata/euc-jp-ms.c : Likewise.
12856 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
12857 * iconvdata/gb18030.c : Likewise.
12858 * iconvdata/gbbig5.c (const): Likewise.
12859 * iconvdata/gbgbk.c: Likewise.
12860 * iconvdata/gbk.c : Likewise.
12861 * iconvdata/ibm1364.c : Likewise.
12862 * iconvdata/ibm930.c : Likewise.
12863 * iconvdata/ibm932.c: Likewise.
12864 * iconvdata/ibm933.c : Likewise.
12865 * iconvdata/ibm935.c : Likewise.
12866 * iconvdata/ibm937.c : Likewise.
12867 * iconvdata/ibm939.c : Likewise.
12868 * iconvdata/ibm943.c: Likewise.
12869 * iconvdata/iso_11548-1.c: Likewise.
12870 * iconvdata/iso-2022-cn.c : Likewise.
12871 * iconvdata/iso-2022-cn-ext.c : Likewise.
12872 * iconvdata/iso-2022-jp-3.c: Likewise.
12873 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
12874 * iconvdata/iso-2022-kr.c : Likewise.
12875 * iconvdata/iso646.c (gconv_end): Likewise.
12876 * iconvdata/iso_6937-2.c : Likewise.
12877 * iconvdata/iso_6937.c : Likewise.
12878 * iconvdata/iso8859-1.c: Likewise.
12879 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
12880 * iconvdata/shift_jisx0213.c : Likewise.
12881 * iconvdata/sjis.c : Likewise.
12882 * iconvdata/t.61.c : Likewise.
12883 * iconvdata/tcvn5712-1.c : Likewise.
12884 * iconvdata/tscii.c: Likewise.
12885 * iconvdata/uhc.c : Likewise.
12886 * iconvdata/unicode.c (gconv_end): Likewise.
12887 * iconvdata/utf-16.c (gconv_end): Likewise.
12888 * iconvdata/utf-32.c (gconv_end): Likewise.
12889 * iconvdata/utf-7.c (base64): Likewise.
12890 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
12891 * iconv/gconv_close.c (__gconv_close): Likewise.
12892 * iconv/gconv_open.c (__gconv_open): Likewise.
57f41c40
AS
12893 * iconv/gconv_simple.c (internal_ucs4_loop_single)
12894 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
12895 (ucs4_internal_loop_single, internal_ucs4le_loop_single)
12896 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
12897 (ucs4le_internal_loop_single): Likewise.
a1ffb40e
OB
12898 * iconv/iconv.c (iconv): Likewise.
12899 * iconv/iconv_close.c: Likewise.
12900 * iconv/loop.c (SINGLE): Likewise.
12901 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
12902 * include/atomic.h: Likewise.
12903 * inet/inet6_option.c (option_alloc): Likewise.
12904 * intl/bindtextdom.c (set_binding_values): Likewise.
12905 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
12906 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
12907 * intl/localealias.c (read_alias_file): Likewise.
12908 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
57f41c40
AS
12909 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
12910 (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
a1ffb40e
OB
12911 * libio/fmemopen.c (fmemopen): Likewise.
12912 * libio/iofgets.c (_IO_fgets): Likewise.
12913 * libio/iofgets_u.c (fgets_unlocked): Likewise.
12914 * libio/iofgetws.c (fgetws): Likewise.
12915 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
12916 * libio/iogetdelim.c (_IO_getdelim): Likewise.
57f41c40
AS
12917 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
12918 (adjust_wide_data, _IO_wfile_seekoff): Likewise.
a1ffb40e
OB
12919 * locale/findlocale.c (_nl_find_locale): Likewise.
12920 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
12921 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
12922 Likewise.
12923 * locale/setlocale.c (setlocale): Likewise.
12924 * login/programs/pt_chown.c (main): Likewise.
12925 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
12926 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
57f41c40
AS
12927 * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
12928 (mmap, mmap64, mremap, munmap): Likewise.
a1ffb40e
OB
12929 * math/e_exp2l.c: Likewise.
12930 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
12931 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
12932 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
12933 * math/s_catan.c (__catan): Likewise.
12934 * math/s_catanf.c (__catanf): Likewise.
12935 * math/s_catanh.c (__catanh): Likewise.
12936 * math/s_catanhf.c (__catanhf): Likewise.
12937 * math/s_catanhl.c (__catanhl): Likewise.
12938 * math/s_catanl.c (__catanl): Likewise.
12939 * math/s_ccosh.c (__ccosh): Likewise.
12940 * math/s_ccoshf.c (__ccoshf): Likewise.
12941 * math/s_ccoshl.c (__ccoshl): Likewise.
12942 * math/s_cexp.c (__cexp): Likewise.
12943 * math/s_cexpf.c (__cexpf): Likewise.
12944 * math/s_cexpl.c (__cexpl): Likewise.
12945 * math/s_clog10.c (__clog10): Likewise.
12946 * math/s_clog10f.c (__clog10f): Likewise.
12947 * math/s_clog10l.c (__clog10l): Likewise.
12948 * math/s_clog.c (__clog): Likewise.
12949 * math/s_clogf.c (__clogf): Likewise.
12950 * math/s_clogl.c (__clogl): Likewise.
12951 * math/s_csin.c (__csin): Likewise.
12952 * math/s_csinf.c (__csinf): Likewise.
12953 * math/s_csinh.c (__csinh): Likewise.
12954 * math/s_csinhf.c (__csinhf): Likewise.
12955 * math/s_csinhl.c (__csinhl): Likewise.
12956 * math/s_csinl.c (__csinl): Likewise.
12957 * math/s_csqrt.c (__csqrt): Likewise.
12958 * math/s_csqrtf.c (__csqrtf): Likewise.
12959 * math/s_csqrtl.c (__csqrtl): Likewise.
12960 * math/s_ctan.c (__ctan): Likewise.
12961 * math/s_ctanf.c (__ctanf): Likewise.
12962 * math/s_ctanh.c (__ctanh): Likewise.
12963 * math/s_ctanhf.c (__ctanhf): Likewise.
12964 * math/s_ctanhl.c (__ctanhl): Likewise.
12965 * math/s_ctanl.c (__ctanl): Likewise.
12966 * math/w_pow.c: Likewise.
12967 * math/w_powf.c: Likewise.
12968 * math/w_powl.c: Likewise.
12969 * math/w_scalb.c (sysv_scalb): Likewise.
12970 * math/w_scalbf.c (sysv_scalbf): Likewise.
12971 * math/w_scalbl.c (sysv_scalbl): Likewise.
12972 * misc/error.c (error_tail): Likewise.
12973 * misc/pselect.c (__pselect): Likewise.
12974 * nis/nis_callback.c (__nis_create_callback): Likewise.
12975 * nis/nis_call.c (__nisfind_server): Likewise.
12976 * nis/nis_creategroup.c (nis_creategroup): Likewise.
12977 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
12978 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
12979 * nis/nis_getservlist.c (nis_getservlist): Likewise.
12980 * nis/nis_lookup.c (nis_lookup): Likewise.
12981 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
57f41c40
AS
12982 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
12983 (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
a1ffb40e 12984 * nis/nis_xdr.c (xdr_endpoint): Likewise.
57f41c40
AS
12985 * nis/nss_compat/compat-grp.c (getgrent_next_file)
12986 (internal_getgrnam_r, internal_getgrgid_r): Likewise.
12987 * nis/nss_compat/compat-initgroups.c (add_group)
12988 (internal_getgrent_r): Likewise.
12989 * nis/nss_compat/compat-pwd.c (getpwent_next_file)
12990 (internal_getpwnam_r, internal_getpwuid_r): Likewise.
12991 * nis/nss_compat/compat-spwd.c (getspent_next_file)
12992 (internal_getspnam_r): Likewise.
12993 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
12994 (_nss_nis_getaliasbyname_r): Likewise.
12995 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
12996 (_nss_nis_getntohost_r): Likewise.
12997 * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
12998 (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
12999 (_nss_nis_getgrgid_r): Likewise.
13000 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
13001 (internal_nis_gethostent_r, internal_gethostbyname2_r)
13002 (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
13003 (_nss_nis_gethostbyname4_r): Likewise.
13004 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
13005 (initgroups_netid): Likewise.
a1ffb40e 13006 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
57f41c40
AS
13007 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
13008 (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
13009 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
13010 (_nss_nis_getprotobynumber_r): Likewise.
13011 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
13012 (_nss_nis_getsecretkey): Likewise.
13013 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
13014 (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
13015 (_nss_nis_getpwuid_r): Likewise.
13016 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
13017 (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
13018 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
13019 (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
13020 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
13021 (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
a1ffb40e
OB
13022 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
13023 Likewise.
57f41c40
AS
13024 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
13025 (_nss_nisplus_getntohost_r): Likewise.
13026 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
13027 (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
13028 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
13029 (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
a1ffb40e 13030 Likewise.
57f41c40
AS
13031 * nis/nss_nisplus/nisplus-initgroups.c
13032 (_nss_nisplus_initgroups_dyn): Likewise.
13033 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
13034 (_nss_nisplus_getnetbyaddr_r): Likewise.
13035 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
13036 (_nss_nisplus_getprotobynumber_r): Likewise.
13037 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
13038 (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
a1ffb40e
OB
13039 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
13040 Likewise.
57f41c40
AS
13041 * nis/nss_nisplus/nisplus-service.c
13042 (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
13043 (_nss_nisplus_getservbyport_r): Likewise.
13044 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
13045 (_nss_nisplus_getspnam_r): Likewise.
13046 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
13047 Likewise.
a1ffb40e
OB
13048 * nscd/aicache.c (addhstaiX): Likewise.
13049 * nscd/cache.c (cache_search, prune_cache): Likewise.
57f41c40
AS
13050 * nscd/connections.c (register_traced_file, send_ro_fd)
13051 (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
13052 (main_loop_epoll): Likewise.
a1ffb40e
OB
13053 * nscd/grpcache.c (addgrbyX): Likewise.
13054 * nscd/hstcache.c (addhstbyX): Likewise.
13055 * nscd/initgrcache.c (addinitgroupsX): Likewise.
13056 * nscd/mem.c (gc, mempool_alloc): Likewise.
57f41c40
AS
13057 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
13058 (addinnetgrX): Likewise.
13059 * nscd/nscd-client.h (__nscd_acquire_maplock)
13060 (__nscd_drop_map_ref): Likewise.
a1ffb40e
OB
13061 * nscd/nscd_getai.c (__nscd_getai): Likewise.
13062 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
13063 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
13064 Likewise.
13065 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
13066 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
57f41c40
AS
13067 * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
13068 (__nscd_get_map_ref): Likewise.
a1ffb40e 13069 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
57f41c40
AS
13070 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
13071 Likewise.
a1ffb40e
OB
13072 * nscd/pwdcache.c (addpwbyX): Likewise.
13073 * nscd/selinux.c (preserve_capabilities): Likewise.
13074 * nscd/servicescache.c (addservbyX): Likewise.
13075 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
13076 * posix/fnmatch.c (fnmatch): Likewise.
13077 * posix/getopt.c (_getopt_internal_r): Likewise.
13078 * posix/glob.c (glob, glob_in_dir): Likewise.
13079 * posix/wordexp.c (exec_comm_child): Likewise.
57f41c40
AS
13080 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
13081 (getanswer_r, gaih_getanswer_slice): Likewise.
a1ffb40e
OB
13082 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
13083 * resolv/res_init.c: Likewise.
13084 * resolv/res_mkquery.c (res_nmkquery): Likewise.
13085 * resolv/res_query.c (__libc_res_nquery): Likewise.
13086 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
13087 Likewise.
13088 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
13089 * stdio-common/perror.c (perror): Likewise.
13090 * stdio-common/printf_fp.c (___printf_fp): Likewise.
13091 * stdio-common/tmpnam.c (tmpnam): Likewise.
13092 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
13093 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
57f41c40
AS
13094 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
13095 Likewise.
a1ffb40e
OB
13096 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
13097 * stdlib/putenv.c (putenv): Likewise.
13098 * stdlib/setenv.c (__add_to_environ): Likewise.
13099 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
13100 * stdlib/strtol_l.c (INTERNAL): Likewise.
13101 * string/memmem.c (memmem): Likewise.
13102 * string/strerror.c (strerror): Likewise.
13103 * string/strnlen.c (__strnlen): Likewise.
13104 * string/test-memmem.c (simple_memmem): Likewise.
13105 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
13106 * sunrpc/pm_getport.c (__get_socket): Likewise.
13107 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
13108 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
57f41c40
AS
13109 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
13110 (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
a1ffb40e
OB
13111 Likewise.
13112 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
13113 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
13114 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
13115 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
13116 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
57f41c40
AS
13117 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
13118 Likewise.
13119 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
13120 Likewise.
a1ffb40e
OB
13121 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
13122 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
13123 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
13124 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
13125 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
13126 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
13127 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
13128 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
13129 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
13130 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
13131 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
13132 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
13133 Likewise.
13134 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
13135 Likewise.
13136 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
13137 Likewise.
13138 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
13139 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
13140 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
13141 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
13142 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
13143 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
13144 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
13145 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
13146 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
13147 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
13148 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
13149 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
13150 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
13151 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
13152 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
57f41c40
AS
13153 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
13154 Likewise.
a1ffb40e
OB
13155 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
13156 Likewise.
13157 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
13158 Likewise.
13159 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
13160 Likewise.
13161 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
13162 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
13163 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
13164 Likewise.
13165 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
13166 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
13167 * sysdeps/posix/opendir.c (__opendirat): Likewise.
13168 * sysdeps/posix/sleep.c: Likewise.
13169 * sysdeps/posix/tempname.c: Likewise.
13170 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
13171 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
13172 Likewise.
57f41c40
AS
13173 * sysdeps/powerpc/powerpc32/dl-machine.h
13174 (elf_machine_runtime_setup, elf_machine_rela): Likewise.
a1ffb40e
OB
13175 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
13176 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
13177 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
13178 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
13179 Likewise.
13180 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
13181 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
13182 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
13183 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
13184 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
a1ffb40e
OB
13185 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
13186 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
13187 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
13188 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
13189 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
13190 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
13191 (elf_machine_lazy_rel): Likewise.
a1ffb40e 13192 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
13193 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
13194 (elf_machine_lazy_rel): Likewise.
a1ffb40e
OB
13195 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
13196 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
13197 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
13198 * sysdeps/unix/grantpt.c (grantpt): Likewise.
13199 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
13200 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
13201 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
13202 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
13203 Likewise.
13204 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
13205 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
13206 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
13207 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
13208 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
13209 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
13210 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
13211 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
13212 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
13213 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
13214 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
13215 Likewise.
13216 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
13217 (__posix_fallocate64_l64): Likewise.
13218 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
13219 (posix_fallocate): Likewise.
57f41c40
AS
13220 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
13221 Likewise.
a1ffb40e 13222 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
57f41c40
AS
13223 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
13224 (getifaddrs_internal): Likewise.
a1ffb40e
OB
13225 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
13226 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
13227 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
13228 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
13229 * sysdeps/unix/sysv/linux/posix_fallocate64.c
13230 (__posix_fallocate64_l64): Likewise.
13231 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
13232 Likewise.
13233 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
57f41c40
AS
13234 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
13235 (__get_clockfreq): Likewise.
a1ffb40e
OB
13236 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
13237 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
13238 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
13239 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
13240 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
13241 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
13242 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
13243 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
13244 Likewise.
13245 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
13246 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
13247 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
13248 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
13249 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
13250 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
13251 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
13252 Likewise.
13253 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
13254 (posix_fallocate): Likewise.
13255 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
13256 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
13257 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
13258 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
13259 (elf_machine_rela, elf_machine_rela_relative)
13260 (elf_machine_lazy_rel): Likewise.
a1ffb40e
OB
13261 * time/asctime.c (asctime_internal): Likewise.
13262 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
13263 * time/tzset.c (__tzset_parse_tz): Likewise.
13264 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
13265 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
13266 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
13267 * wcsmbs/wcsmbsload.h: Likewise.
13268
f3d338c9
OB
13269 [BZ #15894]
13270 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
13271
57f41c40
AS
13272 * malloc/arena.c (grow_heap, get_free_list, reused_arena)
13273 (arena_get2): Remove THREAD_STATS conditionals.
13274 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
13275 (__malloc_stats, int): Likewise.
bdfe308a 13276
d674667c
MF
132772014-02-08 Mike Frysinger <vapier@gentoo.org>
13278
13279 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
13280 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
13281
6349768c
MF
13282 * manual/setjmp.texi: Fix typos/grammar errors.
13283
0b7c7473
MF
13284 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
13285 Only return early when n is <= 0. Delete unused return statement.
13286
ac8cc9e3
MF
13287 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
13288 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
13289 * debug/tst-longjmp_chk3.c: New file.
13290
c5bb8e23
MF
13291 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
13292 (test_main): Replace code with set_fortify_handler call.
13293 * debug/test-strcpy_chk.c: Likewise.
13294 * debug/tst-chk1.c: Likewise.
13295 * debug/tst-longjmp_chk.c: Likewise.
13296 * test-skeleton.c: Include fcntl.h & paths.h
13297 (set_fortify_handler): Define.
13298
10444e42
MF
13299 * debug/tst-longjmp_chk.c: Add header comment and include
13300 ../test-skeleton.c.
13301 (do_test): Mark static.
13302 (TEST_FUNCTION): Define.
13303
1e805e8d
MF
13304 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
13305 (IP_PMTUDISC_INTERFACE): Likewise.
13306 (IP_MULTICAST_IF): Likewise.
13307 (IP_MULTICAST_TTL): Likewise.
13308 (IP_MULTICAST_LOOP): Likewise.
13309 (IP_ADD_MEMBERSHIP): Likewise.
13310 (IP_DROP_MEMBERSHIP): Likewise.
13311 (IP_UNBLOCK_SOURCE): Likewise.
13312 (IP_BLOCK_SOURCE): Likewise.
13313 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
13314 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
13315 (IP_MSFILTER): Likewise.
13316 (MCAST_JOIN_GROUP): Likewise.
13317 (MCAST_BLOCK_SOURCE): Likewise.
13318 (MCAST_UNBLOCK_SOURCE): Likewise.
13319 (MCAST_LEAVE_GROUP): Likewise.
13320 (MCAST_JOIN_SOURCE_GROUP): Likewise.
13321 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
13322 (MCAST_MSFILTER): Likewise.
13323 (IP_MULTICAST_ALL): Likewise.
13324 (IP_UNICAST_IF): Likewise.
13325
73f79bb7
MF
13326 * timezone/Makefile: Delete $(have-ksh) check.
13327 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
13328 * timezone/tzselect.ksh: Add +x mode bits.
13329
8da79b60
MF
13330 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
13331 (ANON_INODE_FS_MAGIC): Likewise.
13332 (BDEVFS_MAGIC): Likewise.
13333 (BINFMTFS_MAGIC): Likewise.
13334 (BTRFS_TEST_MAGIC): Likewise.
13335 (CRAMFS_MAGIC_WEND): Likewise.
13336 (DEBUGFS_MAGIC): Likewise.
13337 (ECRYPTFS_SUPER_MAGIC): Likewise.
13338 (EXT3_SUPER_MAGIC): Likewise.
13339 (EXT4_SUPER_MAGIC): Likewise.
13340 (FUTEXFS_SUPER_MAGIC): Likewise.
13341 (HOSTFS_SUPER_MAGIC): Likewise.
13342 (HUGETLBFS_MAGIC): Likewise.
13343 (MINIX3_SUPER_MAGIC): Likewise.
13344 (MTD_INODE_FS_MAGIC): Likewise.
13345 (NILFS_SUPER_MAGIC): Likewise.
13346 (OPENPROM_SUPER_MAGIC): Likewise.
13347 (PIPEFS_MAGIC): Likewise.
13348 (PSTOREFS_MAGIC): Likewise.
13349 (QNX6_SUPER_MAGIC): Likewise.
13350 (RAMFS_MAGIC): Likewise.
13351 (REISERFS_SUPER_MAGIC_STRING): Likewise.
13352 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
13353 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
13354 (SECURITYFS_MAGIC): Likewise.
13355 (SELINUX_MAGIC): Likewise.
13356 (SMACK_MAGIC): Likewise.
13357 (SOCKFS_MAGIC): Likewise.
13358 (SQUASHFS_MAGIC): Likewise.
13359 (STACK_END_MAGIC): Likewise.
13360 (TMPFS_MAGIC): Likewise.
13361 (USBDEVICE_SUPER_MAGIC): Likewise.
13362 (V9FS_MAGIC): Likewise.
13363 (XENFS_SUPER_MAGIC): Likewise.
13364 (CRAMFS_MAGIC): Fix typo in comment.
13365 (EXT2_SUPER_MAGIC): Update comment.
13366 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
13367
464263cc
JM
133682014-02-08 Joseph Myers <joseph@codesourcery.com>
13369
c6bfe5c4
JM
13370 * sysdeps/arm: Move directory from ports/sysdeps/arm.
13371 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
13372 * sysdeps/unix/sysv/linux/arm: Move directory from
13373 ports/sysdeps/unix/sysv/linux/arm.
13374 * README: Update listing for arm-*-linux-gnueabi.
13375
464263cc
JM
13376 * README: Remove mention of am33.
13377
32749f6c
RM
133782014-02-07 Roland McGrath <roland@hack.frob.com>
13379
13380 * bits/sigset.h (__sigemptyset): Use a statement expression rather
13381 than the comma operator, to avoid "rhs of comma has no effect"
13382 compiler warnings.
13383 (__sigfillset, __sigandset, __sigorset): Likewise.
13384 * include/signal.h (__sigemptyset): Likewise.
13385 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
13386
d5b396c1
AM
133872014-02-07 Allan McRae <allan@archlinux.org>
13388
13389 * version.h (RELEASE): Set to "development".
13390 (VERSION): Set to "2.19.90"
13391 * NEWS: Add 2.20 section.
13392
3bfff2ed
CD
133932014-02-06 Carlos O'Donell <carlos@redhat.com>
13394
13395 [BZ #16529]
13396 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
13397
ee7cc385
SP
133982014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
13399
13400 * manual/contrib.texi: Update entry for Carlos O'Donell,
13401 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
13402
f877c4f2
CD
134032014-02-05 Carlos O'Donell <carlos@rehdat.com>
13404
27e839f6
CD
13405 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
13406
f877c4f2
CD
13407 * sysdeps/unix/sysv/linux/kernel-features.h
13408 [__LINUX_KERNEL_VERSION >= 0x020621]
13409 (__ASSUME_PROC_PID_TASK_COMM): Define.
13410
68159946
SP
134112014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
13412
ba17cdbd
SP
13413 [BZ #16398]
13414 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
13415 conversion when destination buffer does not have enough space.
13416 * libio/tst-ftell-partial-wide.c: New test case.
13417 * libio/Makefile (tests): Add tst-ftell-partial-wide.
13418
68159946
SP
13419 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
13420 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
13421 Leonard and Allan McRae.
13422
2b528732
DM
134232014-02-04 David S. Miller <davem@davemloft.net>
13424
13425 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
13426 32-bit.
13427
0ff82463
AZ
134282014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13429
57f41c40
AS
13430 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
13431 New file
c01603f7
AZ
13432 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
13433 New file
57f41c40
AS
13434 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
13435 New file.
13436 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
13437 New file.
c01603f7
AZ
13438 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
13439 New file.
57f41c40
AS
13440 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
13441 New file.
13442 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
13443 New file.
c01603f7
AZ
13444 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
13445 New file.
13446 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
13447 New file.
13448 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
13449 New file.
13450 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
13451 New file.
13452 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
13453 New file.
13454 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
13455 New file.
13456
134572014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13458
0ff82463
AZ
13459 * nptl/shlib-versions: Change powerpc*le start to 2.17.
13460 * shlib-versions: Likewise.
13461
1695c773
AZ
134622014-02-04 Roland McGrath <roland@hack.frob.com>
13463 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13464
13465 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
13466 (abilist-pattern): New variable, set to %-le.abilist.
13467
13468 * Makerules (abilist-pattern): New variable.
13469 (vpath): Use $(abilist-pattern) in place of %.abilist.
13470 (check-abi-% pattern rule): Likewise.
13471 (check-abi, update-abi): Likewise.
13472
6c0ce4b4
EW
134732014-02-04 Eric Wong <normalperson@yhbt.net>
13474
13475 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13476
481e3524
CD
134772014-02-03 Carlos O'Donell <carlos@redhat.com>
13478
13479 * manual/startup.texi: Add next, previous, and top entries for
13480 the `Program Arguments' and `Environment Variables' nodes.
13481
375592d3
AO
134822014-02-03 Alexandre Oliva <aoliva@redhat.com>
13483
13484 * manual/macros.texi: Add comments before MTASC-safety macros.
13485
f54838ba
AO
13486 * manual/users.texi: Document MTASC-safety properties.
13487
57f41c40
AS
13488 * manual/threads.texi (pthread_key_create, pthread_key_delete)
13489 (pthread_getspecific, pthread_setspecific): Format with
909e12ad
AO
13490 @deftypefun, and add @safety note.
13491 * manual/signal.texi: Move comments that analyze the above
13492 functions to their home place.
13493
fd3daba4
AM
134942014-02-03 Allan McRae <allan@archlinux.org>
13495
13496 * po/sl.po: Update Slovenian translation from translation project.
13497
597636d7
AO
134982014-02-02 Alexandre Oliva <aoliva@redhat.com>
13499
13500 * manual/time.texi (timegm): Add missing blank after @c.
13501 Reported by Joseph Myers <joseph@codesourcery.com>.
13502
ee196e3c
AO
135032014-02-01 Alexandre Oliva <aoliva@redhat.com>
13504
13505 * manual/check-safety.sh: New.
13506 * manual/Makefile ($(objpfx)stamp-summary): Run it.
13507
f8d529d5
AO
13508 * manual/terminal.texi: Document MTASC-safety properties.
13509
de55fdf4
AO
13510 * manual/filesys.texi: Document MTASC-safety properties.
13511
c3299c08
AO
13512 * manual/errno.texi: Document MTASC-safety properties.
13513
06e90b14
AO
13514 * manual/intro.texi: Document safety identifiers and
13515 conditionals.
13516
1acd4371
AO
13517 * manual/string.texi (wcstok): Fix prototype.
13518 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
13519
23e5b8cb
AO
13520 * manual/time.texi: Document MTASC-safety properties.
13521
11087373
AO
13522 * manual/string.texi: Document MTASC-safety properties.
13523
5da2c93d
AO
13524 * manual/threads.texi: Document MTASC-safety properties.
13525
171e9210
AO
13526 * manual/stdio.texi: Document MTASC-safety properties.
13527
d9e02532
AO
13528 * manual/syslog.texi: Document MTASC-safety properties.
13529
6af8bab7
AO
13530 * manual/sysinfo.texi: Document MTASC-safety properties.
13531
663b02d7
AO
13532 * manual/startup.texi: Document MTASC-safety properties.
13533
973f180b
AO
13534 * manual/socket.texi: Document MTASC-safety properties.
13535
8f3c25c8
AO
13536 * manual/signal.texi: Document MTASC-safety properties.
13537
542210fb
AO
135382014-01-31 Alexandre Oliva <aoliva@redhat.com>
13539
13540 * manual/setjmp.texi: Document MTASC-safety properties.
13541
433c45a2
AO
13542 * manual/search.texi: Document MTASC-safety properties.
13543
c8ce789c
AO
13544 * manual/resource.texi: Document MTASC-safety properties.
13545
19f5d29c
AO
13546 * manual/process.texi: Document MTASC-safety properties.
13547
e2dfb7f4
AO
13548 * manual/platform.texi: Document MTASC-safety properties.
13549
8c1413f5
AO
13550 * manual/pipe.texi: Document MTASC-safety properties.
13551
03483ada
AO
13552 * manual/pattern.texi: Document MTASC-safety properties.
13553
29e7e2df
AO
13554 * manual/message.texi: Document MTASC-safety properties.
13555
9f529d7c
AO
13556 [BZ #12751]
13557 * manual/memory.texi: Document MTASC-safety properties.
13558
27aaa791
AO
13559 * manual/math.texi: Document MTASC-safety properties.
13560
f2d58726
AO
13561 * manual/locale.texi: Document MTASC-safety properties.
13562
2cc3615c
AO
13563 * manual/llio.texi: Document MTASC-safety properties.
13564
d9f0ec97
AO
13565 * manual/libdl.texi: New.
13566
e7c4409a
AO
13567 * manual/lang.texi: Document MTASC-safety properties.
13568
27bdc63c
AO
13569 * manual/job.texi: Document MTASC-safety properties.
13570
a7b90ea9
AO
13571 * manual/getopt.texi: Document MTASC-safety properties.
13572
c49130e3
AO
13573 * manual/ctype.texi: Document MTASC-safety properties.
13574
0d23a5c1
MR
135752014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
13576
13577 [BZ #16046]
13578 * csu/libc-tls.c (static_map): Remove variable.
13579 (__libc_setup_tls): Use main executable's link map for TLS data.
13580 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
13581 casing for LM_ID_BASE and GL(dl_nns).
13582 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
13583 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
13584 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
13585 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
13586 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
13587 member.
13588 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
13589 l_phnum members.
13590
0037bb60
AO
135912014-01-30 Alexandre Oliva <aoliva@redhat.com>
13592
13593 * manual/debug.texi: Document MTASC-safety properties.
13594
409e00bd
L
135952014-01-29 H.J. Lu <hongjiu.lu@intel.com>
13596
13597 [BZ #16510]
13598 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
13599 of __x86_64__ when disabling x87 inline functions.
13600
86e60666
AO
136012014-01-29 Alexandre Oliva <aoliva@redhat.com>
13602
13603 * manual/charset.texi: Document MTASC-safety properties.
13604
76167637
AO
13605 * manual/crypt.texi: Document MTASC-safety properties.
13606
e567f2a0
AO
13607 * manual/conf.texi: Document MTASC-safety properties.
13608
b719dafd
AO
13609 * manual/arith.texi: Document MTASC-safety properties.
13610
4a16c662
AO
13611 * manual/argp.texi: Document MTASC-safety properties.
13612
0a57b83e
AO
13613 * manual/macros.texi: Introduce macros to document multi
13614 thread, asynchronous signal and asynchronous cancellation
13615 safety properties.
13616 * manual/intro.texi: Introduce the properties themselves.
13617
feab2397
KK
136182014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
13619
13620 * sysdeps/sh/sh4/Makefile: New file.
13621
1c0d11bc
AS
136222014-01-27 Andreas Schwab <schwab@linux-m68k.org>
13623
13624 * math/gen-libm-test.pl ($srcdir): New variable.
13625 ($auto_input): Use it.
13626
af37a8a3
SP
136272014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
13628
d7b00f98
SP
13629 [BZ #16506]
13630 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
13631 access beyond array bounds when parsing netgroups file.
13632
af37a8a3
SP
13633 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
13634 the old buffer before realloc.
13635
0c00f062
AM
136362014-01-27 Allan McRae <allan@archlinux.org>
13637
13638 * po/fr.po: Update French translation from translation project.
13639
7d69a1b0
KK
136402014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
13641
13642 * sysdeps/sh/libm-test-ulps: Regenerate.
13643
6e697ff7
DM
136442014-01-24 David S. Miller <davem@davemloft.net>
13645
13646 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
13647
9cadb35c
KK
136482014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
13649
13650 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
13651 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
13652
5d41dadf
SP
136532013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
13654
13655 [BZ #16474]
13656 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
13657 string pointers after reallocation.
13658
0bad441c
KK
136592014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
13660
13661 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
13662 __SH4A__ instead of __SH_FPU_ANY__.
13663
7007c661
KK
136642014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
13665
13666 * sysdeps/sh/fpu_control.h: New file.
13667 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
13668 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
13669 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
13670 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
13671 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
13672 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
13673 * sysdeps/sh/sys/ucontext.h: Remove.
13674 * sysdeps/sh/sys: Remove directory.
13675
0f0c35e4
AK
136762014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13677
13678 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
13679 s390/sys/ucontext.h.
13680 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
13681 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
13682
4959e284
L
136832014-01-20 H.J. Lu <hongjiu.lu@intel.com>
13684
13685 [BZ #15605]
13686 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
13687
d98720e0
AZ
136882014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13689
13690 [BZ#16431]
13691 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
13692 Adjust the vDSO correctly for internal calls.
13693 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
13694
91cbd0bc
AM
136952014-01-20 Allan McRae <allan@archlinux.org>
13696
13697 * po/ca.po: Update Catalan translation from translation project.
13698
7a02cfad
MF
136992014-01-16 Mike Frysinger <vapier@gentoo.org>
13700
13701 * sysdeps/s390/sotruss-lib.c: New file.
13702
736c304a
AZ
137032014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13704
13705 [BZ#16430]
6e077ee5 13706 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
736c304a
AZ
13707 (__GI___gettimeofday): Alias for a different internal symbol to avoid
13708 local calls issues by not having a PLT stub required for IFUNC calls.
13709 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
13710
94d0cea0
JM
137112014-01-16 Joseph Myers <joseph@codesourcery.com>
13712
13713 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
13714 * math/test-fpucw-static.c: Likewise.
13715
980cb518
SP
137162013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
13717
13718 [BZ #16453]
13719 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
13720
2393fc01
AZ
137212014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13722
13723 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
13724 implementation for powerpc.
13725
d359bcc2
OB
137262014-01-15 Ondřej Bílka <neleai@seznam.cz>
13727
13728 [BZ #14782]
13729 * sysdeps/posix/system.c (__libc_system): Do not enable
13730 asynchronous cancellation.
13731
7beb48cb
AK
137322014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13733
13734 [BZ #16427]
13735 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
13736 handling only for numbers special also in the IEEE case.
13737
c20d5bf5
AK
137382014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13739
13740 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
13741
e83bd4ee
AM
137422014-01-11 Allan McRae <allan@archlinux.org>
13743
76d0ea69
AM
13744 * po/bg.po: Update Bulgarian translation from translation project.
13745
e83bd4ee
AM
13746 * po/de.po: Update German translation from translation project.
13747
bc2ba20a
RM
137482014-01-10 Roland McGrath <roland@hack.frob.com>
13749
13750 * sysdeps/generic/gcc-compat.h: New file.
13751
649ecea2
SP
137522014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
13753
13754 * benchtests/asin-inputs: Correct slow inputs.
13755 * benchtests/acos-inputs: Likewise.
13756
1b19c006
AM
137572014-01-10 Allan McRae <allan@archlinux.org>
13758
a46dab08
AM
13759 * po:sv.po: Update Swedish translation from translation project.
13760
421df74a
AM
13761 * po/vi.po: Update Vietnamese translation from translation project.
13762
d61c51a7
AM
13763 * po/eo.po: Update Esperanto translation from translation project.
13764
0339a319
AM
13765 * po/cs.po: Update Czech translation from translation project.
13766
94ad3e99
AM
13767 * po/nl.po: Update Dutch translation from translation project.
13768
e349ca71
AM
13769 * po/pl.po: Update Polish translation from translation project.
13770
ddf930c1
AM
13771 * po/ru.po: Update Russian translation from translation project.
13772
1b19c006
AM
13773 * po/uk.po: Update Ukrainian translation from translation project.
13774
9f236c49
BM
137752014-01-08 Brooks Moses <bmoses@google.com>
13776
13777 * elf/dl-load.c: Fix comment typo.
13778
cd6701cf
CD
137792014-01-08 Carlos O'Donell <carlos@redhat.com>
13780
13781 * po/header.pot: Rename to...
13782 * po/pot.header: ... this.
13783 * po/Makefile: Use pot.header.
13784
66671c84
YK
137852014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
13786 Maxim Kuvyrkov <maxim@kugelworks.com>
13787
13788 [BZ #16394]
cd6701cf
CD
13789 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
13790 SRC and DEST against LEN.
66671c84 13791
38f34581
AZ
137922014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13793
13794 [BZ #16414]
13795 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
13796 implementation.
13797 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
13798
137992014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3ff6304e
AZ
13800
13801 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13802
4c327f2a
JM
138032014-01-08 Joseph Myers <joseph@codesourcery.com>
13804
13805 [BZ #16408]
13806 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
13807 for large positive arguments.
13808
b821f414
JM
138092014-01-07 Joseph Myers <joseph@codesourcery.com>
13810
1f0f2067
JM
13811 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
13812
a5a326f6
JM
13813 * math/auto-libm-test-in: Mark various tests with
13814 xfail-rounding:ldbl-128ibm.
13815 * math/auto-libm-test-out: Regenerated.
13816
b821f414
JM
13817 [BZ #16407]
13818 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
13819 Increase overflow threshold.
13820
94c8a4bc
OB
138212014-01-07 Ondřej Bílka <neleai@seznam.cz>
13822
13823 [BZ #14286]
13824 * stdio-common/vfprintf.c: Check for integer overflow.
13825
87ded0c3
AK
138262014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13827
13828 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
13829 the first argument and return value of __tls_get_addr_internal.
13830
c5eebdd0
AK
138312014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13832
13833 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
13834 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
13835
05d138ef
AK
138362014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13837
13838 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
13839 * sysdeps/s390/rtld-global-offsets.sym: New file.
13840 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
13841 GLIBC_2.19 symbol.
13842 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
13843 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
13844 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
13845 ... this.
13846 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
13847 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
13848 ... this.
13849 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
13850 Regenerate.
13851 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
13852 Regenerate.
13853 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
13854 halfs of GPRs for high_gprs contexts.
13855 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
13856 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
13857 field.
13858 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
13859 uc_flags field.
13860 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
13861 64 bit versions:
13862 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
13863 for high GPRs (uc_high_gprs) and for future extensions
13864 (__reserved).
13865 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
13866 for future extensions (__reserved).
13867 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
13868 64 bit versions:
13869 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
13870 SC_HIGHGPRS offset definition.
13871 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
13872 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
13873
93a45ff1
AK
13874 * Versions.def: Add GLIBC_2.19 for libpthread.
13875 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
13876 siglongjmp for libpthread with GLIBC_2.19 symver.
13877 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
13878 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
13879 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
13880 * sysdeps/s390/__longjmp.c: New file.
13881 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
13882 * sysdeps/s390/longjmp.c: New file.
13883 * sysdeps/s390/setjmp.S: New file.
13884 * sysdeps/s390/sigjmp.S: New file.
13885 * sysdeps/s390/v1-longjmp.c: New file.
13886 * sysdeps/s390/v1-setjmp.h: New file.
13887 * sysdeps/s390/v1-sigjmp.c: New file.
13888 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
13889 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
13890 GLIBC_2.19 version.
13891 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
13892 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
13893 versioned symbols for ____longjmp_chk.
13894 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
13895 Likewise.
13896 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
13897 Regenerate.
13898 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
13899 Regenerate.
13900 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
13901 Regenerate.
13902 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
13903 Regenerate.
13904 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
13905 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
13906 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
13907 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
13908 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
13909 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
13910 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
13911 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
13912 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
13913 * sysdeps/s390/rtld-__longjmp.c: New file.
13914 * sysdeps/s390/rtld-setjmp.S: New file.
13915
eb3fc44b
JM
139162014-01-06 Joseph Myers <joseph@codesourcery.com>
13917
13918 [BZ #16400]
13919 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
13920 Return -__logl (x) for small positive arguments without evaluating
13921 a polynomial.
13922
9341dde4
MF
139232014-01-06 Mike Frysinger <vapier@gentoo.org>
13924
13925 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
13926 Rename to ...
13927 (__ptrace_peeksiginfo_args): ... this.
13928 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
13929 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
13930 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
13931
4cff0293
AM
139322014-01-06 Allan McRae <allan@archlinux.org>
13933
13934 * inet/netinet/in.h: Fix typo in comment.
13935
75595dcf
AJ
139362014-01-05 Andreas Jaeger <aj@suse.de>
13937
13938 * sysdeps/i386/fpu/libm-test-ulps: Update.
13939
79c1e109
AM
139402014-01-05 Allan McRae <allan@archlinux.org>
13941
dd804818
AM
13942 * po/libc.pot: Regenerated.
13943
79c1e109
AM
13944 * malloc/memusagestat.c: Fix gettext call formatting.
13945
0c813d1f
SK
139462014-01-04 Sami Kerola <kerolasa@iki.fi>
13947
13948 * nscd/nscd.c: Improve usage() output.
13949
20f4a8d9
MF
139502014-01-04 Mike Frysinger <vapier@gentoo.org>
13951
13952 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
13953 * sysdeps/unix/sysv/linux/configure: Regenerated.
13954 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
13955 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
13956
22562bb2
JM
139572014-01-03 Joseph Myers <joseph@codesourcery.com>
13958
13959 [BZ #16390]
13960 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
13961 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
13962
d7ad2d9b
AZ
139632014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13964
13965 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
13966 extra tokens at end of #undef directive.
13967 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
13968 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
13969 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
13970
7dd009d8
JM
139712014-01-03 Joseph Myers <joseph@codesourcery.com>
13972
24db925a
JM
13973 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
13974
7dd009d8
JM
13975 * math/auto-libm-test-in: Mark various tests with
13976 xfail-rounding:ldbl-128ibm.
13977 * math/auto-libm-test-out: Regenerated.
13978
396e3ecf
JM
139792014-01-02 Joseph Myers <joseph@codesourcery.com>
13980
819e5d50
JM
13981 [BZ #16386]
13982 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
13983 numbers with subnormal high part when calculating exponent.
13984
90b6a1e5
JM
13985 [BZ #16385]
13986 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
13987 fabs.
13988
396e3ecf
JM
13989 [BZ #16384]
13990 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
13991 M_LN2l.
13992 (__ieee754_acoshl): Use __log1pl not __log1p.
13993
6c8dbf00
OB
139942013-01-02 Ondřej Bílka <neleai@seznam.cz>
13995
57f41c40
AS
13996 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
13997 (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
13998 (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
13999 (grow_heap, heap_trim, _int_new_arena, get_free_list)
14000 (reused_arena, arena_get2): Convert to GNU style.
14001 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
14002 (mem2mem_check, mem2chunk_check, top_check, realloc_check)
14003 (memalign_check, __malloc_set_state): Likewise.
6c8dbf00 14004 * malloc/mallocbug.c (main): Likewise.
57f41c40
AS
14005 * malloc/malloc.c (__malloc_assert, malloc_init_state)
14006 (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
14007 (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
14008 (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
14009 (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
14010 (__posix_memalign, malloc_info): Likewise.
6c8dbf00 14011 * malloc/malloc.h: Likewise.
57f41c40
AS
14012 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
14013 (mallochook, memalignhook, reallochook, mabort): Likewise.
6c8dbf00 14014 * malloc/mcheck.h: Likewise.
57f41c40
AS
14015 * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
14016 (free, mmap, mmap64, mremap, munmap, dest): Likewise.
6c8dbf00
OB
14017 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
14018 * malloc/morecore.c (__default_morecore): Likewise.
14019 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
57f41c40
AS
14020 * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
14021 (_obstack_allocated_p, obstack_free, _obstack_memory_used)
14022 (print_and_abort): Likewise.
6c8dbf00
OB
14023 * malloc/obstack.h: Likewise.
14024 * malloc/set-freeres.c (__libc_freeres): Likewise.
14025 * malloc/tst-mallocstate.c (main): Likewise.
14026 * malloc/tst-mtrace.c (main): Likewise.
14027 * malloc/tst-realloc.c (do_test): Likewise.
14028
d4124212
SP
140292013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
14030
9a3c6a6f
SP
14031 [BZ #16366]
14032 * nscd/netgroupcache.c (do_notfound): New function.
14033 (addgetnetgrentX): Use it.
14034
d4124212
SP
14035 [BZ # 16365]
14036 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
14037 NSS_STATUS_NOTFOUND.
14038
97b9a009
JM
140392014-01-01 Joseph Myers <joseph@codesourcery.com>
14040
14041 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
14042 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14043
d4697bc9
AM
140442014-01-01 Allan McRae <allan@archlinux.org>
14045
ddb3687f
AM
14046 * scripts/update-copyrights: Update configure input file suffix.
14047
88726d48
AM
14048 * NEWS: Update copyright year.
14049 * catgets/gencat.c: Likewise.
14050 * csu/version.c: Likewise.
14051 * debug/catchsegv.sh: Likewise.
14052 * debug/pcprofiledump.c: Likewise.
14053 * debug/xtrace.sh: Likewise.
14054 * elf/ldconfig.c: Likewise.
14055 * elf/ldd.bash.in: Likewise.
14056 * elf/pldd.c: Likewise.
14057 * elf/sotruss.ksh: Likewise.
14058 * elf/sprof.c: Likewise.
14059 * iconv/iconv_prog.c: Likewise.
14060 * iconv/iconvconfig.c: Likewise.
14061 * locale/programs/locale.c: Likewise.
14062 * locale/programs/localedef.c: Likewise.
14063 * login/programs/pt_chown.c: Likewise.
14064 * malloc/memusage.sh: Likewise.
14065 * malloc/memusagestat.c: Likewise.
14066 * malloc/mtrace.pl: Likewise.
14067 * manual/libc.texinfo: Likewise.
14068 * nscd/nscd.c: Likewise.
14069 * nss/getent.c: Likewise.
14070 * nss/makedb.c: Likewise.
14071 * posix/getconf.c: Likewise.
14072 * scripts/test-installation.pl: Likewise.
14073
d4697bc9
AM
14074 * All files with FSF copyright notices: Update copyright dates
14075 using scripts/update-copyrights.
14076 * intl/plural.c: Regenerated.
14077 * locale/programs/charmap-kw.h: Likewise.
14078 * locale/programs/locfile-kw.h: Likewise.
14079
c8590f9d
MF
140802013-12-31 Mike Frysinger <vapier@gentoo.org>
14081
14082 * sysdeps/unix/sysv/linux/configure: Regenerated.
14083 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
14084 the linux/fanotify.h header.
14085 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
14086 HAVE_LINUX_FANOTIFY_H is defined.
14087
b19221b9
SP
140882013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
14089
dd1d85e5
SP
14090 * benchtests/cos-inputs: New inputs.
14091 * benchtests/sin-inputs: Likewise.
14092
1acbb90f
SP
14093 * benchtests/atan-inputs: New inputs. Fix name of multiple
14094 precision fallback inputs.
14095
4c012ed3
SP
14096 * benchtests/atanh-inputs: New inputs.
14097 * benchtests/tanh-inputs: Likewise.
14098
eff98324
SP
14099 * benchtests/acosh-inputs: New inputs.
14100 * benchtests/asinh-inputs: Likewise.
14101
ce641152
SP
14102 * benchtests/cosh-inputs: New inputs.
14103 * benchtests/sinh-inputs: Likewise.
14104
b19221b9
SP
14105 * benchtests/acos-inputs: Add more inputs.
14106 * benchtests/asin-inputs: Likewise.
14107
030a4976 141082013-12-30 Ville Skytta <ville.skytta@iki.fi>
9dcc8f11 14109
030a4976 14110 [BZ #16375]
9dcc8f11
VS
14111 * manual/arith.texi: Fix spelling.
14112 * manual/charset.texi: Likewise.
14113 * manual/errno.texi: Likewise.
14114 * manual/filesys.texi: Likewise.
14115 * manual/lang.texi: Likewise.
14116 * manual/llio.texi: Likewise.
14117 * manual/locale.texi: Likewise.
14118 * manual/message.texi: Likewise.
14119 * manual/resource.texi: Likewise.
14120 * manual/search.texi: Likewise.
14121 * manual/setjmp.texi: Likewise.
14122 * manual/stdio.texi: Likewise.
14123 * manual/string.texi: Likewise.
14124 * manual/sysinfo.texi: Likewise.
14125 * manual/time.texi: Likewise.
14126
11520a57
CD
141272013-12-27 Carlos O'Donell <carlos@redhat.com>
14128
14129 * po/sl.po: New file.
14130
471103ae
MF
141312013-12-27 Mike Frysinger <vapier@gentoo.org>
14132
14133 * .gitignore: Add core/.gdbinit/.gdb_history.
14134
6c9642ed
AM
141352013-12-27 Allan McRae <allan@archlinux.org>
14136
14137 [BZ #16369]
14138 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
14139 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
14140
3f637079
BM
141412013-12-24 Brooks Moses <bmoses@google.com>
14142
14143 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
14144 all compilers that claim C++98 compliance, not just GCC.
14145 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
14146 Likewise.
14147
abc26e99
MK
141482013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
14149
14150 * NEWS: Restore accidentally deleted bug-fix entries.
14151
362b47fe
MK
141522013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
14153 Ondřej Bílka <neleai@seznam.cz>
14154
14155 [BZ #15073]
14156 * malloc/malloc.c (_int_free): Perform sanity check only if we
11520a57 14157 have_lock.
362b47fe 14158
b9bcbbcb
OB
141592013-12-23 Ondřej Bílka <neleai@seznam.cz>
14160
14161 [BZ #12986]
14162 * manual/stdio.texi (String Input Conversions): Clarify that character
14163 classes are not supported.
14164
fb55fcd2
AZ
141652013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14166
14167 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14168
ef7344f0
JM
141692013-12-22 Joseph Myers <joseph@codesourcery.com>
14170
4f40e4b3
JM
14171 [BZ #16337]
14172 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
14173 Calculate results for small negative arguments directly rather
14174 than using reflection formula with special underflow handling.
14175
ef7344f0
JM
14176 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
14177 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
14178 sysdeps/unix/bsd/bsd4.4/syscalls.list.
14179 (fchflags): Likewise.
14180 (revoke): Likewise.
14181 (setlogin): Likewise.
14182 (sigaltstack): Likewise.
14183 (wait4): Likewise.
14184 (sigblock): Remove.
14185 (sigsetmask): Likewise.
14186 (wait3): Likewise.
14187 (waitpid): Likewise.
14188 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
14189 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
14190 file.
14191 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
14192 * sysdeps/unix/bsd/Makefile: ... here.
14193 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
14194 * sysdeps/unix/bsd/Versions: ... here.
14195 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
14196 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
14197 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
14198 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
14199 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
14200 * sysdeps/unix/bsd/sigblock.c: ... here.
14201 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
14202 * sysdeps/unix/bsd/sigsetmask.c: ... here.
14203 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
14204 * sysdeps/unix/bsd/sigvec.c: ... here.
14205 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
14206 * sysdeps/unix/bsd/tcdrain.c: ... here.
14207 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
14208 * sysdeps/unix/bsd/tcgetattr.c: ... here.
14209 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
14210 * sysdeps/unix/bsd/tcsetattr.c: ... here.
14211 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
14212 * sysdeps/unix/bsd/wait.c: ... here.
14213 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
14214 * sysdeps/unix/bsd/wait3.c: ... here.
14215 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
14216 * sysdeps/unix/bsd/waitpid.c: ... here.
14217
5b0626b9
JM
142182013-12-21 Joseph Myers <joseph@codesourcery.com>
14219
14220 [BZ #16356]
14221 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
14222 round-to-nearest for [!USE_AS_EXPM1L].
14223 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
14224 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
14225 more tests of exp and exp10. Expect some exp10 tests to miss
14226 exceptions or fail in directed rounding modes.
14227 * math/auto-libm-test-out: Regenerated.
14228 * math/libm-test.inc (exp10_tonearest_test_data): New array.
14229 (exp10_test_tonearest): New function.
14230 (exp10_towardzero_test_data): New array.
14231 (exp10_test_towardzero): New function.
14232 (exp10_downward_test_data): New array.
14233 (exp10_test_downward): New function.
14234 (exp10_upward_test_data): New array.
14235 (exp10_test_upward): New function.
14236 (main): Call the new functions.
14237 * sysdeps/i386/fpu/libm-test-ulps: Update.
14238 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14239
7fda5682
JM
142402013-12-20 Joseph Myers <joseph@codesourcery.com>
14241
31e3a405
JM
14242 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
14243 asinh, atan, atan2, atanh, cbrt, cos and cosh.
14244 * math/auto-libm-test-out: Regenerated.
14245 * math/libm-test.inc (acosh_test_data): Add more tests.
14246 (atanh_test_data): Likewise.
14247 (ceil_test_data): Likewise.
14248 (copysign_test_data): Likewise.
14249 * sysdeps/i386/fpu/libm-test-ulps: Update.
14250 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14251
85bff96a
JM
14252 * timezone/checktab.awk: Update from tzcode 2013i.
14253 * timezone/private.h: Likewise.
14254 * timezone/scheck.c: Likewise.
14255 * timezone/tzfile.h: Likewise.
14256 * timezone/tzselect.ksh: Likewise.
14257 * timezone/zdump.c: Likewise.
14258 * timezone/zic.c: Likewise.
14259
b7867a3b
JM
14260 * math/auto-libm-test-in: Add tests of cpow.
14261 * math/auto-libm-test-out: Regenerated.
14262 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
57f41c40 14263 * math/gen-auto-libm-tests.c (func_calc_method): Add value
b7867a3b
JM
14264 mpc_cc_c.
14265 (func_calc_desc): Add mpc_cc_c union field.
14266 (test_functions): Add cpow.
14267 (special_fill_2pi): New function.
14268 (special_real_inputs): Add 2pi.
14269 (calc_generic_results): Handle mpc_cc_c.
14270 * sysdeps/i386/fpu/libm-test-ulps: Update.
14271 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14272
7fda5682
JM
14273 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
14274 csqrt, ctan and ctanh.
14275 * math/auto-libm-test-out: Regenerated.
14276 * math/libm-test.inc (TEST_COND_x86_64): New macro.
14277 (TEST_COND_x86): Likewise.
14278 (ccos_test_data): Use AUTO_TESTS_c_c.
14279 (ccosh_test_data): Likewise.
14280 (cexp_test_data): Likewise.
14281 (clog_test_data): Likewise.
14282 (csqrt_test_data): Likewise.
14283 (ctan_test_data): Likewise.
14284 (ctan_tonearest_test_data): Likewise.
14285 (ctan_towardzero_test_data): Likewise.
14286 (ctan_downward_test_data): Likewise.
14287 (ctan_upward_test_data): Likewise.
14288 (ctanh_test_data): Likewise.
14289 (ctanh_tonearest_test_data): Likewise.
14290 (ctanh_towardzero_test_data): Likewise.
14291 (ctanh_downward_test_data): Likewise.
14292 (ctanh_upward_test_data): Likewise.
14293 * math/gen-auto-libm-tests.c (func_calc_method): Add value
14294 mpc_c_c.
14295 (func_calc_desc): Add mpc_c_c union field.
14296 (FUNC_mpc_c_c): New macro.
14297 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
14298 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
14299 ctanh.
14300 (special_fill_min_subnorm_p120): New function.
14301 (special_real_inputs): Add min_subnorm_p120.
14302 (calc_generic_results): Handle mpc_c_c.
14303 * sysdeps/i386/fpu/libm-test-ulps: Update.
14304 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14305
5ff8d60e
SP
143062013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
14307
57f41c40
AS
14308 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
14309 (do_sin_slow): New functions.
14310 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
14311 (cslow2, csloww1, csloww2): Use the new functions.
392dd2de 14312
84ba214c
SP
14313 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
14314 Use M to change sign of result instead of X. Assume X is
14315 positive.
14316 (csloww1): Likewise.
14317 (__sin): Adjust.
14318 (__cos): Adjust.
14319
975195e4
SP
14320 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
14321 arguments A and DA.
14322 (__sin): Adjust.
14323 (__cos): Likewise.
14324
5ff8d60e
SP
14325 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
14326 (__cos): Likewise.
14327 (sloww1): Don't adjust sign of DX.
14328 (csloww1): Likewise.
14329 (sloww2): Use X directly and don't adjust sign of DX.
14330 (csloww2): Likewise.
14331
eb983568
JM
143322013-12-19 Joseph Myers <joseph@codesourcery.com>
14333
64a17f1a
JM
14334 * math/auto-libm-test-in: Add tests of cabs and carg.
14335 * math/auto-libm-test-out: Regenerated.
14336 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
14337 (carg_test_data): Likewise.
14338 * math/gen-auto-libm-tests.c (func_calc_method): Add value
14339 mpc_c_f.
14340 (func_calc_desc): Add mpc_c_f union field.
14341 (test_functions): Add cabs and carg.
14342 (calc_generic_results): Handle mpc_c_f.
14343
eb983568
JM
14344 * sysdeps/powerpc/powerpc32/libgcc-compat.S
14345 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
14346 as a macro and a compat symbol.
14347 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
14348 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
14349 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
14350 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
14351 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
14352 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
14353 not use .hidden.
14354 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
14355 Likewise.
14356 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
14357 Likewise.
14358 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
14359 Likewise.
14360 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
14361 Likewise.
14362 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
14363 Likewise.
14364 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
14365 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
14366 from GLIBC_2.3.2.
14367
6eeb678a
AZ
143682013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14369
14370 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14371
6f6fc482
JM
143722013-12-19 Joseph Myers <joseph@codesourcery.com>
14373
21fea2e2
JM
14374 * manual/texinfo.tex: Update to version 2013-11-26.10 with
14375 trailing whitespace removed.
14376 * scripts/config.guess: Update to version 2013-11-29.
14377 * scripts/config.sub: Update to version 2013-10-01.
14378
6f6fc482
JM
14379 * math/auto-libm-test-in: Add tests of sincos.
14380 * math/auto-libm-test-out: Regenerated.
14381 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
14382 * math/gen-auto-libm-tests.c (func_calc_method): Add value
14383 mpfr_f_11.
14384 (func_calc_desc): Add mpfr_f_11 union field.
14385 (test_functions): Add sincos.
14386 (calc_generic_results): Handle mpfr_f_11.
14387 * sysdeps/i386/fpu/libm-test-ulps: Update.
14388 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14389
83f5c32d
AS
143902013-12-19 Andreas Schwab <schwab@suse.de>
14391
14392 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
14393 CALL_MCOUNT.
14394 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
14395 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
14396 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
14397
c688b419
JM
143982013-12-19 Joseph Myers <joseph@codesourcery.com>
14399
335ee092
JM
14400 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
14401 * sysdeps/i386/fpu/libm-test-ulps: Update.
14402 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14403
f88acd39
JM
14404 [BZ #16293]
14405 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
14406 round-to-nearest mode when using frndint.
14407 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
14408 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
14409 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
14410 Likewise.
14411 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
14412 sinh test to fail.
14413 * math/auto-libm-test-out: Regenerated.
14414 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
14415 (TEST_COND_x86): Likewise.
14416 (expm1_tonearest_test_data): New array.
14417 (expm1_test_tonearest): New function.
14418 (expm1_towardzero_test_data): New array.
14419 (expm1_test_towardzero): New function.
14420 (expm1_downward_test_data): New array.
14421 (expm1_test_downward): New function.
14422 (expm1_upward_test_data): New array.
14423 (expm1_test_upward): New function.
14424 (main): Run the new test functions.
14425 * sysdeps/i386/fpu/libm-test-ulps: Update.
14426 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14427
c688b419
JM
14428 * include/features.h: Update comment documenting feature test
14429 macros. Mention _DEFAULT_SOURCE in comment.
14430 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
14431 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
14432 _BSD_SOURCE and _SVID_SOURCE.
14433 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
14434 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
14435 !_SVID_SOURCE]: Likewise.
14436 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
14437 (__USE_POSIX_IMPLICITLY): Define.
14438 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
14439 (_POSIX_SOURCE): Undefine and redefine.
14440 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
14441 (_POSIX_C_SOURCE): Likewise.
14442 * manual/creature.texi (_DEFAULT_SOURCE): Document.
14443 (Feature Test Macros): Update documentation of default features.
14444
9f6e964c
RS
144452013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
14446
14447 * benchtests/Makefile: Add bench-strtok.
14448 * benchtests/bench-strtok.c: New file: strtok benchtest.
14449
ee0a148a
AM
144502013-12-19 Allan McRae <allan@archlinux.org>
14451
14452 * manual/install.texi: Suppress menu for plain text output.
14453 * INSTALL: Regenerated.
14454
b9ab448f
BM
144552013-12-18 Brooks Moses <bmoses@google.com>
14456
14457 [BZ #15846]
14458 * misc/getauxval.c: Include errno.h.
14459 (__getauxval): Set errno to ENOENT if the requested type is not
14460 found.
14461 * misc/sys/auxv.h (getauxval): Document that it may set errno;
14462 don't declare with __attribute_const__.
14463 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
14464 * manual/startup.texi: Document that getauxval sets errno.
14465
23776487
JM
144662013-12-18 Joseph Myers <joseph@codesourcery.com>
14467
f889953b
JM
14468 * math/auto-libm-test-in: Add tests of jn and yn.
14469 * math/auto-libm-test-out: Regenerated.
14470 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
14471 (yn_test_data): Likewise.
14472 * math/gen-auto-libm-tests.c (func_calc_method): Add value
14473 mpfr_if_f.
14474 (func_calc_desc): Add mpfr_if_f union field.
14475 (FUNC_mpfr_if_f): New macro.
14476 (test_functions): Add jn and yn.
14477 (calc_generic_results): Assert type of second input for
14478 mpfr_ff_f. Handle mpfr_if_f.
14479 (output_for_one_input_case): Disable all checking for arguments
14480 fitting floating-point types in case of an integer argument.
14481 * sysdeps/i386/fpu/libm-test-ulps: Update.
14482 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14483
23776487
JM
14484 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
14485 Don't expect fegetround reference in libm.so.
14486
cb756c6d
MS
144872013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
14488
14489 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
14490 $(config-cflags-nofma).
14491
2dec468f
JM
144922013-12-18 Joseph Myers <joseph@codesourcery.com>
14493
5953eb3a
JM
14494 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
14495 * math/auto-libm-test-out: Regenerated.
14496
2dec468f
JM
14497 [BZ #16338]
14498 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
14499 to determine exponent and adjust argument to have exponent of -1.
14500 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
14501 log2.
14502 * math/auto-libm-test-out: Regenerated.
14503 * sysdeps/i386/fpu/libm-test-ulps: Update.
14504 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14505
4d84e6ad
OB
145062013-12-18 Ondřej Bílka <neleai@seznam.cz>
14507
14508 * manual/probes.texi: Remove cases when per-thread arenas are
14509 disabled.
14510
1818483b
AS
145112013-12-18 Andreas Schwab <schwab@suse.de>
14512
14513 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
14514 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
14515 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
14516 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
14517 * sysdeps/i386/i686/multiarch/Makefile: Update.
14518 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
14519
25de95bf
JM
145202013-12-17 Joseph Myers <joseph@codesourcery.com>
14521
14522 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
14523 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
14524
674762d9
PE
145252013-12-17 Paul Eggert <eggert@cs.ucla.edu>
14526
ed27ed83 14527 [BZ #15968]
0748546f
PE
14528 Support TZ transition times < 00:00:00.
14529 This is needed for version-3 tz-format files; it supports time
14530 stamps past 2037 for America/Godthab (the only entry in the tz
14531 database for which this change is relevant).
14532 * manual/time.texi (TZ Variable): Document transition times
14533 from -167:59:59 through -00:00:01.
14534 * time/tzset.c (tz_rule): Time of day is now signed.
14535 (__tzset_parse_tz): Parse negative time of day.
14536
4480e934
PE
14537 Document TZ transition times >= 25:00:00.
14538 * manual/time.texi (TZ Variable): Document transition times from
14539 25:00:00 through 167:59:59. These are already supported, and this
14540 support will help with version-3 tz-format files.
14541
69947401
PE
14542 * manual/time.texi (TZ Variable): Modernize North America example
14543 to reflect current (i.e., 2007-and-later) daylight saving rules.
14544
674762d9
PE
14545 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
14546
7011c262
JM
145472013-12-17 Joseph Myers <joseph@codesourcery.com>
14548
2fc6557e
JM
14549 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
14550 * sysdeps/unix/bsd/bits/stat.h: Likewise.
14551 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
14552 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
14553 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
14554 * sysdeps/unix/bsd/bsdstat.h: Likewise.
14555 * sysdeps/unix/bsd/clock.c: Likewise.
14556 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
14557 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
14558 * sysdeps/unix/bsd/init-posix.c: Likewise.
14559 * sysdeps/unix/bsd/poll.c: Likewise.
14560 * sysdeps/unix/bsd/ptsname.c: Likewise.
14561 * sysdeps/unix/bsd/seekdir.c: Likewise.
14562 * sysdeps/unix/bsd/setegid.c: Likewise.
14563 * sysdeps/unix/bsd/seteuid.c: Likewise.
14564 * sysdeps/unix/bsd/setgid.c: Likewise.
14565 * sysdeps/unix/bsd/setrgid.c: Likewise.
14566 * sysdeps/unix/bsd/setruid.c: Likewise.
14567 * sysdeps/unix/bsd/setsid.c: Likewise.
14568 * sysdeps/unix/bsd/setuid.c: Likewise.
14569 * sysdeps/unix/bsd/sigaction.c: Likewise.
14570 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
14571 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
14572 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
14573 * sysdeps/unix/bsd/telldir.c: Likewise.
14574 * sysdeps/unix/bsd/times.c: Likewise.
14575 * sysdeps/unix/bsd/usleep.c: Likewise.
14576
029c7b25
JM
14577 * misc/Makefile (install-lib): Remove libbsd-compat.a.
14578 ($(objpfx)libbsd-compat.a): Remove rule.
14579
7011c262
JM
14580 * include/features.h (__FAVOR_BSD): Do not define.
14581 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
14582 features conflicting with POSIX.
14583 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
14584 (_BSD_SOURCE): Remove description of not being a subset of other
14585 feature test macros.
14586 * manual/job.texi (getpgrp): Do not document BSD version.
14587 (getpgid): Do not document by reference to BSD getpgrp.
14588 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
14589 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
14590 * signal/signal.h [__FAVOR_BSD]: Likewise.
14591 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
14592 instead of making contents conditional on [__FAVOR_BSD].
14593 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
14594
affb6f78
AZ
145952013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14596
14597 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14598
c88769dd
JM
145992013-12-17 Joseph Myers <joseph@codesourcery.com>
14600
6432a540
JM
14601 [BZ #16314]
14602 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
14603 values below 2**-450, not 2**-500.
14604 * math/auto-libm-test-in: Don't allow spurious underflow from
14605 hypot.
14606 * math/auto-libm-test-out: Regenerated.
14607
c88769dd
JM
14608 [BZ #16316]
14609 [BZ #16330]
14610 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
14611 values of ha and hb and sort them after adjusting subnormal
14612 arguments.
14613 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
14614 Likewise.
14615 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
14616 values of ea and eb and sort them after adjusting subnormal
14617 arguments.
14618 * math/auto-libm-test-in: Do not expect some hypot tests of
14619 subnormals to fail. Add more hypot tests.
14620 * math/auto-libm-test-out: Regenerated.
14621
29618f6b
KK
146222013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
14623
14624 [BZ #13304]
14625 * sysdeps/sh/s_fma.c: New file.
14626 * sysdeps/sh/s_fmaf.c: New file.
14627 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
14628 version.
14629 * sysdeps/sh/Implies: Add sh/soft-fp.
14630
eacfdfbf
RM
146312013-12-16 Roland McGrath <roland@hack.frob.com>
14632
14633 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
14634 level of indirection to members `objname', `errstring', `malloced'.
14635 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
14636 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
14637 it as the __longjmp argument (just pass 1 instead).
14638 (_dl_catch_error): Initialize C with argument pointers and address of
14639 volatile local ERRCODE rather than copying values out of C at return.
14640
ff362e5b
JM
146412013-12-16 Joseph Myers <joseph@codesourcery.com>
14642
14643 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
14644 * math/auto-libm-test-out: Regenerated.
14645 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
14646 (hypot_test_data): Likewise.
14647 (pow_test_data): Likewise.
14648 (pow_tonearest_test_data): Likewise.
14649 * math/gen-auto-libm-tests.c (func_calc_method): Add value
14650 mpfr_ff_f.
14651 (func_calc_desc): Add mpfr_ff_f union field.
14652 (FUNC_mpfr_ff_f): New macro.
14653 (test_functions): Add atan2, hypot and pow.
14654 (special_fill_min): New function.
14655 (special_fill_minus_min): Likewise.
14656 (special_fill_min_subnorm): Likewise.
14657 (special_fill_minus_min_subnorm): Likewise.
14658 (special_real_inputs): Add min, -min, min_subnorm and
14659 -min_subnorm.
14660 (calc_generic_results): Handle mpfr_ff_f.
14661 * sysdeps/i386/fpu/libm-test-ulps: Update.
14662 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14663
5764c27f
WN
146642013-12-16 Will Newton <will.newton@linaro.org>
14665
14666 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
14667 (Aligned Memory Blocks): Add documentation for aligned_alloc
14668 and suggest it as an alternative to posix_memalign.
14669 (Hooks for Malloc): Document __memalign_hook is also called
14670 for aligned_alloc. (Summary of Malloc): Add summary for
14671 aligned alloc. Document __memalign_hook is also called
14672 for aligned_alloc.
14673
0a096e44
WN
146742013-12-16 Will Newton <will.newton@linaro.org>
14675
14676 * manual/memory.texi (Malloc Examples): Clarify default
14677 alignment documentation. Suggest posix_memalign rather
14678 than memalign or valloc.
14679 (Aligned Memory Blocks): Remove suggestion to use memalign
14680 or valloc. Remove obsolete comment about BSD.
14681 Document memalign errno values and mark the function obsolete.
14682 Document posix_memalign returned error codes. Mark valloc
14683 as obsolete. (Hooks for Malloc): __memalign_hook is also
14684 called for posix_memalign and valloc.
14685 (Summary of Malloc): Add posix_memalign to function summary.
14686 __memalign_hook is also called for posix_memalign and valloc.
14687
8d561986
SP
146882013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
14689
14690 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
14691 TAYLOR_SIN.
14692 (__sin): Adjust.
14693 (__cos): Likewise.
14694 (sloww): Use mynumber union. Expand ternary operator into
14695 if-else statements.
14696 (cslow): use mynumber union.
14697
73616a74
AM
146982013-12-16 Allan McRae <allan@archlinux.org>
14699
9e8ac24b
AM
14700 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
14701 * configure: Regenerated.
14702
6f8e37eb
AM
14703 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
14704
8894bad3
AM
14705 [BZ #14120]
14706 * configure.ac: Added --enable-maintainer-mode. Check for
14707 autoconf when enabled.
14708 * configure: Regenerated.
14709
73616a74
AM
14710 * nscd/nscd.service: New file.
14711 * nscd/nscd.tmpfiles: New file.
14712
584b18eb
OB
147132013-12-14 Ondřej Bílka <neleai@seznam.cz>
14714
14715 [BZ #12100]
14716 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
14717 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
14718 * sysdeps/x86_64/multiarch/strstr.c: ... here.
14719 (strstr): Add __strstr_sse2_unaligned ifunc.
14720 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
14721 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
14722 (strcasestr): Remove __strcasestr_sse42 ifunc.
14723 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
14724 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
14725 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
14726
8a5c7897
KK
147272013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
14728
14729 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
14730 * sysdeps/sh/bits/fenv.h: ... here.
14731 * sysdeps/sh/sh4/fpu/bits: Remove directory.
14732
fd712ef3
AZ
147332013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14734
14735 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
14736
42fcb46c
AZ
14737 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
14738 hypotf multiarch implementations.
14739 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
14740 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
14741 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
14742 multiarch hypot for PPC64.
14743 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
14744 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
14745 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
14746 multiarch hypotf for PPC64.
14747
83efded4
AZ
14748 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
14749 modff multiarch implementations.
14750 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
14751 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
14752 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
14753 multiarch modf for PPC64.
14754 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
14755 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
14756 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
14757 multiarch modff for PPC64.
14758
43e246d2
AZ
14759 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
14760 and logl multiarch implementations.
14761 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
14762 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
14763 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
14764 multiarch logb for PPC64.
14765 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
14766 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
14767 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
14768 multiarch logb for PPC64.
14769 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
14770 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
14771 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
14772 multiarch logb for PPC64.
14773
8fdad123
AZ
14774 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
14775 isinff multiarch implementation.
14776 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
14777 file.
14778 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
14779 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
14780 multiarch isinf for PPC64.
14781 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
14782 file.
14783 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
14784 multiarch isinff for PPC64.
14785
1481d706
AZ
14786 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
14787 finitef multiarch implementation.
14788 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
14789 file.
14790 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
14791 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
14792 multiarch finite for PPC64.
14793 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
14794 file.
14795 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
14796 multiarch finitef for PPC64.
14797
5ccd5fc8
AZ
14798 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
14799 lrint multiarch implementation.
14800 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
14801 file.
14802 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
14803 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
14804 multiarch llrint for PPC64.
14805 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
14806 multiarch lrint for PPC64.
14807
2568f3fa
AZ
14808 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
14809 copysignf multiarch implementation.
14810 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
14811 file.
14812 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
14813 file.
14814 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
14815 multiarch copysign for PPC64.
14816 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
14817 multiarch copysignf for PPC64.
14818
1cb341fd
AZ
14819 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
14820 multiarch implementation.
14821 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
14822 file.
14823 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
14824 file.
14825 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
14826 file.
14827 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
14828 file.
14829 multiarch llround for PPC64.
14830 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
14831 multiarch trunc for PPC64.
14832 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
14833 multiarch truncf for PPC64.
14834
59a3e194
AZ
14835 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
14836 multiarch implementation.
14837 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
14838 file.
14839 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
14840 file.
14841 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
14842 file.
14843 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
14844 file.
14845 multiarch llround for PPC64.
14846 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
14847 multiarch round for PPC64.
14848 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
14849 multiarch roundf for PPC64.
14850
357fd3b4
AZ
14851 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
14852 multiarch implementation.
14853 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
14854 file.
14855 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
14856 file.
14857 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
14858 file.
14859 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
14860 file.
14861 multiarch llround for PPC64.
14862 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
14863 multiarch floor for PPC64.
14864 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
14865 multiarch floorf for PPC64.
14866
96770f12
AZ
14867 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
14868 multiarch implementation.
14869 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
14870 file.
14871 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
14872 file.
14873 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
14874 file.
14875 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
14876 file.
14877 multiarch llround for PPC64.
14878 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
14879 multiarch ceil for PPC64.
14880 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
14881 multiarch ceilf for PPC64.
14882
c3627f6e
AZ
14883 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
14884 multiarch implementation.
14885 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
14886 file.
14887 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
14888 file.
14889 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
14890 file.
14891 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
14892 multiarch llround for PPC64.
14893 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
14894 multiarch lround for PPC64.
14895
b2284ad7
AZ
14896 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
14897 multiarch implementation.
14898 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
14899 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
14900 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
14901 file.
14902 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
14903 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
14904 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
14905 multiarch isnan for PPC64.
14906 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
14907 multiarch isnanf for PPC64.
14908
69bbc63d
AZ
14909 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
14910 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
14911 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
14912 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
14913 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
14914 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
14915
c24517c9
AZ
14916 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
14917 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
14918 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
14919 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
14920
a52374e8
AZ
14921 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
14922 multiarch implementations.
14923 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14924 (__libc_ifunc_impl_list): Likewise.
14925 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
14926 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
14927 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
14928 multiarch stpcpy for PPC64.
14929
7f5ec113
AZ
14930 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
14931 multiarch implementations.
14932 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14933 (__libc_ifunc_impl_list): Likewise.
14934 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
14935 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
14936 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
14937 multiarch strcpy for PPC64.
14938
e28bcd42
AZ
14939 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
14940 redefine function name.
14941 (_wordcopy_fwd_dest_aligned): Likewise.
14942 (_wordcopy_bwd_aligned): Likewise.
14943 (_wordcopy_bwd_dest_aligned): Likewise.
14944 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
14945 multiarch implementations.
14946 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14947 (__libc_ifunc_impl_list): Likewise.
14948 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
14949 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
14950 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
14951 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
14952 multiarch wcscpy for PPC64.
14953
92cacfce
AZ
14954 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
14955 multiarch implementations.
14956 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14957 (__libc_ifunc_impl_list): Likewise.
14958 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
14959 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
14960 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
14961 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
14962 multiarch wcscpy for PPC64.
14963
7b714620
AZ
14964 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
14965 multiarch implementations.
14966 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14967 (__libc_ifunc_impl_list): Likewise.
14968 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
14969 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
14970 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
14971 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
14972 multiarch wcsrchr for PPC64.
14973
16fd2ae3
AZ
14974 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
14975 multiarch implementations.
14976 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14977 (__libc_ifunc_impl_list): Likewise.
14978 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
14979 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
14980 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
14981 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
14982 multiarch wcschr for PPC64.
14983
9ee2969b
AZ
14984 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
14985 multiarch implementations.
14986 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14987 (__libc_ifunc_impl_list): Likewise.
14988 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
14989 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
14990 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
14991 multiarch strchrnul for PPC64.
14992
372dc060
AZ
14993 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
14994 implementations.
14995 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14996 (__libc_ifunc_impl_list): Likewise.
14997 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
14998 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
14999 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
15000 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
15001 strchr for PPC64.
15002
24c2c3b9
AZ
15003 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
15004 implementations.
15005 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15006 (__libc_ifunc_impl_list): Likewise.
15007 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
15008 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
15009 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
15010 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
15011 strncmp for PPC64.
15012
1c92d9a0
AZ
15013 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
15014 multiarch implementations.
15015 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15016 (__libc_ifunc_impl_list): Likewise.
15017 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
15018 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
15019 strncasecmp for PPC64.
15020 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
15021 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
15022 multiarch strncasecmp_l for PPC64.
15023
17de3ee3
AZ
15024 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
15025 multiarch implementations.
15026 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
15027 (__libc_ifunc_impl_list): Likewise.
15028 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
15029 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
15030 multiarch strcasecmp for PPC64.
15031 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
15032 file.
15033 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
15034 multiarch strcasecmp_l for PPC64.
15035
62982bf9
AZ
15036 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
15037 implementations.
15038 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15039 (__libc_ifunc_impl_list): Likewise.
15040 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
15041 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
15042 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
15043 strnlen for PPC64.
15044
a65f4904
AZ
15045 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
15046 implementations.
15047 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15048 (__libc_ifunc_impl_list): Likewise.
15049 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
15050 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
15051 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
15052 strlen for PPC64.
15053
1fd005ad
AZ
15054 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
15055 implementations.
15056 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15057 (__libc_ifunc_impl_list): Likewise.
15058 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
15059 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
15060 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
15061 rawmemrchr for PPC64.
15062
cd05ba91
AZ
15063 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
15064 implementation.
15065 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15066 (__libc_ifunc_impl_list): Likewise.
15067 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
15068 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
15069 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
15070 memrchr for PPC64.
15071
870f8676
AZ
15072 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
15073 implementation.
15074 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15075 (__libc_ifunc_impl_list): Likewise.
15076 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
15077 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
15078 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
15079 memchr for PPC64.
15080
f00be62b
AZ
15081 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
15082 implementation.
15083 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15084 (__libc_ifunc_impl_list): Likewise.
15085 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
15086 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
15087 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
15088 mempcpy for PPC64.
15089
8a29a3d0
AZ
15090 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
15091 avoid cretion of __bzero symbol.
15092 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
15093 Likewise.
15094 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
15095 Likewise.
15096 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
15097 Likewise.
15098 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
15099 multiarch implementations.
15100 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15101 (__libc_ifunc_impl_list): Likewise.
15102 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
15103 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
15104 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
15105 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
15106 bzero for PPC32.
15107 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
15108 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
15109 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
15110 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
15111 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
15112 memset for PPC64.
15113 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
15114
07253fcf
AZ
15115 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
15116 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
15117 implementations.
15118 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15119 (__libc_ifunc_impl_list): Likewise.
15120 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
15121 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
15122 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
15123 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
15124 memcmp for PPC64.
15125
b5beafbc
AZ
15126 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
15127 multiarch for POWER/PPC64.
15128 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
15129 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
15130 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
15131 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
15132 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
15133 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
15134 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
15135 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
15136 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
15137 memcpy for PPC64.
15138
5e6a4d4b
AZ
15139 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
15140 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
15141 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
15142 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
15143 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
15144 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
15145 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
15146 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
15147 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
15148 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
15149 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
15150 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
15151 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
15152 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
15153 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
15154 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
15155 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
15156 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
15157 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
15158 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
15159 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
15160 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
15161
ddfab6dc
KK
151622013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
15163
15164 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
15165
19b5525e
SP
151662013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
15167
15168 * benchtests/Makefile (bench): Add exp2 and log2.
15169 (LDLIBS-bench-exp2): Add -lm.
15170 (LDLIBS-bench-log2): Likewise.
15171 * benchtests/exp2-inputs: New inputs file.
15172 * benchtests/log2-inputs: New inputs file.
15173 * benchtests/log-inputs: Add new inputs.
15174 * benchtests/tan-inputs: Likewise.
15175
196f7f5d
SP
151762013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
15177
7a74607f
SP
15178 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
15179 definition...
57f41c40
AS
15180 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
15181 (csloww2): ... from here.
7a74607f 15182
196f7f5d
SP
15183 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
15184 instead of structures.
15185 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
15186 (POLYNOMIAL): Likewise.
15187 (TAYLOR_SLOW): Likewise.
15188 (__sin): Likewise.
15189 (__cos): Likewise.
15190 (slow1): Likewise.
15191 (slow2): Likewise.
15192 (sloww): Likewise.
15193 (sloww1); Likewise.
15194 (sloww2): Likewise.
15195 (bsloww1): Likewise.
15196 (bsloww2): Likewise.
15197 (cslow2): Likewise.
15198 (csloww): Likewise.
15199 (csloww1): Likewise.
15200 (csloww2): Likewise.
15201
0dfa665c
OB
152022013-12-10 Ondřej Bílka <neleai@seznam.cz>
15203
15204 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
57f41c40
AS
15205 (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
15206 Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
0dfa665c
OB
15207 * malloc/hooks.c (realloc_check): Likewise.
15208
5782a80f
OB
15209 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
15210 * malloc/arena.c: Remove PER_THREAD conditional.
15211 [!PER_THREAD]: Remove code.
15212 (ptmalloc_unlock_all2): Likewise.
15213 (ptmalloc_init): Likewise.
15214 (_int_new_arena): Likewise.
15215 (arena_get2): Likewise.
15216 * malloc/hooks.c (__malloc_get_state): Likewise.
15217 (__malloc_set_state): Likewise.
15218 * malloc/malloc.c: Likewise.
15219 (struct malloc_state): Likewise.
15220 (struct malloc_par): Likewise.
15221 (__libc_realloc): Likewise.
15222 (__libc_mallopt): Likewise.
15223
aeb95445
AZ
152242013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15225
15226 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
15227
e8349efd
OB
152282013-12-09 Ondřej Bílka <neleai@seznam.cz>
15229
15230 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
15231 macro to a function. Check for zero perturb_byte.
15232 (_int_malloc, _int_free): Remove zero perturb_byte checks.
15233
f3eeb3fc 15234 * malloc/malloc.c: (force_reg): Remove.
57f41c40
AS
15235 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
15236 (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
f3eeb3fc
OB
15237 force_reg by atomic_forced_read.
15238 * malloc/arena.c (ptmalloc_init): Likewise.
15239 * malloc/hooks.c (top_check): Likewise.
15240
be2f9009
AZ
152412013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15242
15243 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15244
e7b914bd
MT
152452013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
15246
15247 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15248
9f0be4f8
JM
152492013-12-08 Joseph Myers <joseph@codesourcery.com>
15250
15251 * math/auto-libm-test-in: Add tests of lgamma.
15252 * math/auto-libm-test-out: Regenerated.
15253 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
15254 (M_LOG_2_SQRT_PIl): Likewise.
15255 (lgamma_test_data): Use AUTO_TESTS_f_f1.
15256 * math/gen-auto-libm-tests.c (func_calc_method): Add value
15257 mpfr_f_f1.
15258 (func_calc_desc): Add mpfr_f_f1 union field.
15259 (ARGS1): New macro.
15260 (ARGS2): Likewise.
15261 (ARGS3): Likewise.
15262 (ARGS4): Likewise.
15263 (RET1): Likewise.
15264 (RET2): Likewise.
15265 (CALC): Likewise.
15266 (FUNC): Likewise.
15267 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
15268 (test_functions): Add lgamma.
15269 (calc_generic_results): Handle mpfr_f_f1.
15270 * sysdeps/i386/fpu/libm-test-ulps: Update.
15271 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15272
24eeafdb
AZ
152732013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15274
15275 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
15276 __mpn_add_n for PowerPC64/POWER7.
15277 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
15278 __mpn_sub_n for PowerPC64/POWER7.
15279
4a2c0fd4
AZ
15280 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
15281 __mpn_addmul_1 for PowerPC64.
15282 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
15283 __mpn_submul_1 for PowerPC64.
15284 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
15285 for PowerPC64.
15286 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
15287 for PowerPC64.
15288
4b5b548c
FS
152892013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
15290
15291 [BZ #15089]
15292 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
15293
0a3ac0aa
AZ
152942013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15295
15296 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
15297
ccdc8438
AZ
15298 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
15299 add multiarch folders.
15300 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
15301 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
15302 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
15303 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
15304 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
15305 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
15306 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
15307 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
15308 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
15309 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
15310 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
15311 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
15312 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
15313 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
15314 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
15315 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
15316 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
15317
2e973d99
AZ
15318 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
15319 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
15320 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
15321 New file.
15322 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
15323 New file.
15324 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
15325 multiarch __ieee754_hypot for PowerPC32.
15326 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
15327 New file.
15328 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
15329 New file.
15330 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
15331 multiarch __ieee754_hypotf for PowerPC32.
15332
2d9470b2
AZ
15333 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
15334 long_double_symbol only if __logbl is defined.
15335 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
15336 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
15337 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
15338 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
15339 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
15340 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
15341 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
15342 path for implementation.
15343 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
15344 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
15345 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
15346 logb, and logbl multiarch implementations for PowerPC32.
15347 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
15348 file.
15349 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
15350 file.
15351 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
15352 multiarch logb for PowerPC32.
15353 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
15354 file.
15355 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
15356 file.
15357 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
15358 multiarch logbf for PowerPC32.
15359 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
15360 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
15361 file.
15362 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
15363 multiarch logbl implementation for PowerPC32.
15364
5212ffce
AZ
15365 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
15366 and modff multiarch implementations.
15367 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
15368 New file.
15369 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
15370 New file.
15371 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
15372 multiarch modf for PowerPC32.
15373 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
15374 New file.
15375 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
15376 New file.
15377 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
15378 multiarch modff for PowerPC32.
15379
79dccf31
AZ
15380 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
15381 and lrintf multiarch implementations.
15382 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
15383 New file.
15384 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
15385 New file.
15386 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
15387 multiarch lrint for PowerPC32.
15388 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
15389 file: multiarch lrintf for PowerPC32.
15390
deb66480
AZ
15391 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
15392 and lroundf multiarch implementations.
15393 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
15394 New file.
15395 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
15396 New file.
15397 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
15398 New file.
15399 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
15400 multiarch lround for PowerPC32.
15401 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
15402 file: multiarch lroundf for PowerPC32.
15403
264b036b
AZ
15404 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
15405 copysign and copysignf multiarch implementations.
15406 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
15407 New file.
15408 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
15409 New file.
15410 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
15411 file: multiarch copysign for PowerPC32.
15412 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
15413 file: multiarch copysignf for PowerPC32.
15414
d47db6c9
AZ
15415 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
15416 and truncf multiarch implementations.
15417 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
15418 New file.
15419 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
15420 file.
15421 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
15422 multiarch trunc for PowerPC32.
15423 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
15424 New file.
15425 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
15426 New file.
15427 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
15428 multiarch truncf for PowerPC32.
15429
ddb60b5a
AZ
15430 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
15431 and roundf multiarch implementations.
15432 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
15433 New file.
15434 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
15435 file.
15436 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
15437 multiarch round for PowerPC32.
15438 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
15439 New file.
15440 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
15441 New file.
15442 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
15443 multiarch roundf for PowerPC32.
15444
bedcf49b
AZ
15445 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
15446 and floorf multiarch implementations.
15447 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
15448 New file.
15449 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
15450 file.
15451 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
15452 multiarch floor for PowerPC32.
15453 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
15454 New file.
15455 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
15456 New file.
15457 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
15458 multiarch floorf for PowerPC32.
15459
35ae5b40
AZ
15460 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
15461 and ceilf multiarch implementations.
15462 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
15463 New file.
15464 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
15465 file.
15466 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
15467 multiarch ceil for PowerPC32.
15468 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
15469 New file.
15470 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
15471 file.
15472 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
15473 multiarch ceilf for PowerPC32.
15474
ae1a4cd9
AZ
15475 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
15476 is defined.
15477 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
15478 FINITEF is defined.
15479 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
15480 and finitef multiarch implementations.
15481 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
15482 New file.
15483 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
15484 file.
15485 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
15486 multiarch finite for PowerPC32.
15487 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
15488 New file.
15489 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
15490 file: multiarch finitef for PowerPC32.
15491
64fffd65
AZ
15492 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
15493 and isinff multiarch implementations.
15494 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
15495 file.
15496 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
15497 file.
15498 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
15499 multiarch isinf for PowerPC32.
15500 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
15501 New file.
15502 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
15503 multiarch isinff for PowerPC32.
15504
8e4e7ba2
AZ
15505 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
15506 alias when __isnan is defined.
15507 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
15508 and isnanf multiarch implementations.
15509 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
15510 file.
15511 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
15512 file.
15513 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
15514 file.
15515 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
15516 file.
15517 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
15518 multiarch isnan for PowerPC32.
15519 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
15520 New file.
15521 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
15522 New file.
15523 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
15524 multiarch isnanf for PowerPC32.
15525
ddba588e
AZ
15526 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
15527 and sqrtf multiarch implementations.
15528 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
15529 file.
15530 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
15531 file.
15532 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
15533 multiarch sqrt for PowerPC32.
15534 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
15535 file.
15536 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
15537 file.
15538 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
15539 multiarch sqrtf for PowerPC32.
15540
0f96a2f0
AZ
15541 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
15542 and llroundf multiarch implementations.
15543 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
15544 New file.
15545 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
15546 New file.
15547 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
15548 New file.
15549 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
15550 file: multiarch llround for PowerPC32.
15551 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
15552 file: multiarch llroundf for PowerPC32.
15553
c9b5d79e
AZ
15554 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
15555 multiarch PowerPC32 fpu implementations.
15556 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
15557 New file.
15558 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
15559 New file.
15560 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
15561 multiarch llrint for PowerPC32.
15562 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
15563 New file.
15564 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
15565 New file.
15566 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
15567 file.
15568
9cbb3aab
AZ
15569 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
15570
ea5a72f8
AZ
15571 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
15572 file.
15573 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
15574 file.
15575 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
15576 file.
15577 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
15578 multiarch wordcopy for PPC32.
15579 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
15580 wordcopy objects.
15581 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
15582 (__libc_ifunc_impl_list): Likewise.
15583 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
15584 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
15585 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
15586 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
15587 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
15588 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
15589
93be09e7
AZ
15590 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
15591 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
15592 file.
15593 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
15594 file.
15595 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
15596 file.
15597 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
15598 multiarch wcscpy for PPC32.
15599 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
15600 multiarch objects.
15601 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
15602 (__libc_ifunc_impl_list): Likewise.
15603 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
15604 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
15605 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
15606 sysdeps/powerpc/power6/wcscpy.c.
15607
bb04e529
AZ
15608 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
15609 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
15610 file.
15611 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
15612 file.
15613 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
15614 file.
15615 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
15616 multiarch wcsrchr for PPC32.
15617 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
15618 multiarch objects.
15619 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
15620 (__libc_ifunc_impl_list): Likewise.
15621 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
15622 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
15623 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
15624 sysdeps/powerpc/power6/wcsrchr.c.
15625
05b5cd1c
AZ
15626 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
15627 file.
15628 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
15629 file.
15630 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
15631 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
15632 multiarch wcschr for PPc32.
15633 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
15634 multiarch objects.
15635 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
15636 (__libc_ifunc_impl_list): Likewise.
15637 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
15638 * sysdeps/powerpc/power6/wcschr.c: ... to here.
15639 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
15640 sysdeps/powerpc/power6/wcschr.c.
15641
ba964147
AZ
15642 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
15643 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
15644 file.
15645 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
15646 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
15647 file: multiarch strchr for PPC32.
15648 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
15649 multiarch objects.
15650 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
15651 (__libc_ifunc_impl_list): Likewise.
15652
31c81aaa
AZ
15653 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
15654 name.
15655 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
15656 file.
15657 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
15658 file.
15659 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
15660 multiarch strchrnul for PPC32.
15661 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
15662 multiarch objects.
15663 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
15664 (__libc_ifunc_impl_list): Likewise.
15665
0d0607d9
AZ
15666 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
15667 file.
15668 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
15669 multiarch strncasecmp for PPC32.
15670 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
15671 file.
15672 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
15673 multiarch strncasecmp_l for PPC32.
15674 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
15675 strncasecmp multiarch objects.
15676 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
15677 (__libc_ifunc_impl_list): Likewise.
15678
4dfd5c86
AZ
15679 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
15680 file.
15681 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
15682 multiarch strncasecmp for PPC32.
15683 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
15684 New file.
15685 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
15686 multiarch strcasecmp_l for PPC32.
15687 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
15688 multiarch objects.
15689 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
15690 (__libc_ifunc_impl_list): Likewise.
15691
a19e01a3
AZ
15692 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
15693 file.
15694 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
15695 file.
15696 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
15697 multiarch strncmp for PPC32.
15698 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
15699 multiarch objects.
15700 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
15701 (__libc_ifunc_impl_list): Likewise.
15702
ae9cf7a2
AZ
15703 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
15704 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
15705 file.
15706 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
15707 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
15708 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
15709 multiarch objects.
15710 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
15711 (__libc_ifunc_impl_list): Likewise.
15712
3148bb7d
AZ
15713 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
15714 file.
15715 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
15716 file.
15717 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
15718 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
15719 multiarch objects.
15720 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
15721 (__libc_ifunc_impl_list): Likewise.
15722
7af8b946
AZ
15723 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
15724 file.
15725 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
15726 file.
15727 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
15728 multiarch rawmemchr for PPC32.
15729 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
15730 multiarch objects.
15731 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
15732 (__libc_ifunc_impl_list): Likewise.
15733
03a6aa6a
AZ
15734 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
15735 file.
15736 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
15737 file.
15738 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
15739 file: memrchr multiarch for PPC32.
15740 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
15741 multiarch objects.
15742 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
15743 (__libc_ifunc_impl_list): Likewise.
15744
1c62e6d9
AZ
15745 * string/memchr.c (__memchr): Using macro to redefine symbol name.
15746 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
15747 file.
15748 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
15749 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
15750 multiarch memchr for PPC32.
15751 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
15752 multiarch objects.
15753 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
15754 (__libc_ifunc_impl_list): Likewise.
15755
87da8bdb
AZ
15756 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
15757 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
15758 file.
15759 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
15760 file.
15761 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
15762 file: multiarch mempcpy for PPC32.
15763 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
15764 multiarch objects.
15765 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
15766 (__libc_ifunc_impl_list): Likewise.
15767
20ed4714
AZ
15768 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
15769 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
15770 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
15771 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
15772 multiarch bzero for PPC32.
15773 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
15774 file.
15775 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
15776 file.
15777 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
15778 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
15779 file: multiarch memset for PPC32.
15780 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
15781 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
15782 memset multiarch objects.
15783 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
15784 (__libc_ifunc_impl_list): Likewise.
15785
ab3e3a46
AZ
15786 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
15787 file.
15788 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
15789 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
15790 memcmp for PPC32.
15791 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
15792 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
15793 multiarch objects.
15794 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
15795 (__libc_ifunc_impl_list): Likewise.
15796
930de6f0
AZ
15797 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
15798 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
15799 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
15800 file.
15801 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
15802 file.
15803 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
15804 file.
15805 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
15806 multiarch memcpy for PPC32.
15807 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
15808 multiarch objects.
15809 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
15810 (__libc_ifunc_impl_list): Likewise.
15811
4c628e00
AZ
15812 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
15813 support multiarch for POWER/PPC32.
15814 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
15815 Likewise.
15816 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
15817 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
15818 Implies file to make multiarch folder appers before the fpu and
15819 default folder for power4 configuration.
15820
f4479220
SP
158212013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
15822
15823 * scripts/bench.pl: Append volatile keyword to type.
15824
8517800f
KK
158252013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
15826
15827 * sysdeps/sh/sotruss-lib.c: New file.
15828 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
15829
180138f1
AZ
158302013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15831
15832 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15833
bbf37bdc
JM
158342013-12-05 Joseph Myers <joseph@codesourcery.com>
15835
e47cc4e0
JM
15836 [BZ #6810]
15837 * math/w_tgamma.c: Include <errno.h>.
15838 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
15839 * math/w_tgammaf.c: Include <errno.h>.
15840 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
15841 * math/w_tgammal.c: Include <errno.h>.
15842 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
15843 * math/auto-libm-test-in: Do not allow missing errno on tgamma
15844 underflow. Add more tgamma tests.
15845 * math/auto-libm-test-out: Regenerated.
15846 * sysdeps/i386/fpu/libm-test-ulps: Update.
15847 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15848
bbf37bdc
JM
15849 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
15850 sin, sinh, tan, tanh, tgamma, y0 and y1.
15851 * math/auto-libm-test-out: Regenerated.
15852 * math/libm-test.inc (TEST_COND_x86_64): New macro.
15853 (TEST_COND_x86): Likewise.
15854 (M_E2l): Remove macro.
15855 (M_E3l): Likewise.
15856 (M_2_SQRT_PIl): Likewise.
15857 (M_SQRT_PIl): Likewise.
15858 (M_1_DIV_El): Likewise.
15859 (log_test_data): Use AUTO_TESTS_f_f.
15860 (log10_test_data): Likewise.
15861 (log1p_test_data): Likewise.
15862 (log2_test_data): Likewise.
15863 (sin_test_data): Likewise.
15864 (sin_tonearest_test_data): Likewise.
15865 (sin_towardzero_test_data): Likewise.
15866 (sin_downward_test_data): Likewise.
15867 (sin_upward_test_data): Likewise.
15868 (sinh_test_data): Likewise.
15869 (sinh_tonearest_test_data): Likewise.
15870 (sinh_towardzero_test_data): Likewise.
15871 (sinh_downward_test_data): Likewise.
15872 (sinh_upward_test_data): Likewise.
15873 (tan_test_data): Likewise.
15874 (tan_tonearest_test_data): Likewise.
15875 (tan_towardzero_test_data): Likewise.
15876 (tan_downward_test_data): Likewise.
15877 (tan_upward_test_data): Likewise.
15878 (tanh_test_data): Likewise.
15879 (tgamma_test_data): Likewise.
15880 (y0_test_data): Likewise.
15881 (y1_test_data): Likewise.
15882 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
15883 (special_real_inputs): Add pi/4.
15884 * sysdeps/i386/fpu/libm-test-ulps: Update.
15885 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15886
eb5ad6b9
AZ
158872013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15888
15889 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
15890 "longjmp_target" static probes.
15891 (__longjmp): Rename to __longjmp_symbol.
15892 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
15893 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
15894 on which longjmp to generate.
15895 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
15896 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
15897 probe.
15898 (__sigsetjmp): Rename to __sigsetjmp_symbol.
15899 (__sigjmp_save): Rename to __sigjmp_save_symbol.
15900 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
15901 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
15902 and __sigjmp_save_symbol based on which sigsetjmp to generated.
15903 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
15904 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
15905 __longjmp_symbol based on which __longjmp to generate.
15906 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
15907 probe.
15908 (setjmp): Rename to setjmp_symbol.
15909 (__sigsetjmp): Rename to __sigsetjmp_symbol.
15910 (_setjmp): Rename to _setjmp_symbol.
15911 (__sigsetjmp): Rename to __sigsetjmp_symbol.
15912 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
15913 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
15914 which setjmp to generate.
15915 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
15916 "longjmp_target" static probes.
15917
d136c6dc
SP
159182013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
15919
9298ecba
SP
15920 * benchtests/README: Add note about output arguments.
15921 * benchtests/bench-sincos.c: Remove file.
15922 * benchtests/sincos-inputs: New file.
15923 * scripts/bench.pl: Identify output arguments and define
15924 static variables for them.
15925
232983e9
SP
15926 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
15927
d136c6dc
SP
15928 [BZ #15941]
15929 * Makefile (INSTALL): Add install-plain.texi as the primary
15930 dependency.
15931 * manual/install-plain.texi: New file.
15932 * manual/install.texi: Include node directive only for
15933 non-plaintext output.
15934
699ff837
JM
159352013-12-04 Joseph Myers <joseph@codesourcery.com>
15936
ab07cea8
JM
15937 * stdlib/longlong.h: Update from GCC.
15938
699ff837
JM
15939 [BZ #6807]
15940 [BZ #15901]
15941 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
15942 * math/w_j0f.c (y0f): Likewise.
15943 * math/w_j0l.c (__y0l): Likewise.
15944 * math/w_j1.c (y1): Likewise.
15945 * math/w_j1f.c (y1f): Likewise.
15946 * math/w_j1l.c (__y1l): Likewise
15947 * math/w_jn.c (yn): Likewise.
15948 * math/w_jnf.c (ynf): Likewise.
15949 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
15950 Bessel function pole errors in _POSIX_ mode. Use NAN as return
15951 value for Bessel function domain errors outside _SVID_ mode.
15952 Adjust sign of return value for yn (negative integer, 0).
15953 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
15954 by zero in return for negative x and set sign appropriately for
15955 negative n.
15956 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
15957 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
15958 * math/libm-test.inc (y0_test_data): Add more tests and adjust
15959 expectations in error cases.
15960 (y1_test_data): Likewise.
15961 (yn_test_data): Likewise.
15962 * sysdeps/i386/fpu/libm-test-ulps: Update.
15963 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15964
5b118558
UW
159652013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
15966
15967 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
15968 "64" to "64-v1". Add "64-v2".
15969 (abi-64-options): Rename to ...
15970 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
15971 (abi-64-condition): Rename to ...
15972 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
15973 (abi-64-ld-soname): Rename to ...
15974 (abi-64-v1-ld-soname): ... this.
15975 (abi-64-v2-options): Define.
15976 (abi-64-v2-condition): Likewise.
15977 (abi-64-v2-ld-soname): Likewise.
15978 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
15979 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
15980 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
15981 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
15982 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
15983
61cd8fe4
UW
159842013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
15985 Alan Modra <amodra@gmail.com>
15986
15987 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
15988 New versions for use with the ELFv2 ABI.
15989 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
15990 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
15991 declaration.
15992 (struct La_ppc64v2_retval): Likewise.
15993 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
15994 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
15995 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
15996 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
15997 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
15998 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
15999 Do not save or restore CR.
16000 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
16001 (_dl_profile_resolve): Do no save or restore CR. Support extended
16002 return values for ELFv2 ABI. Fix location of FPR return registers.
16003 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
16004 updated values for _CALL_ELF == 2.
16005 (La_regs, La_retval, int_retval): Likewise.
16006
8b8a692c
UW
160072013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
16008
16009 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
16010 (FRAME_MIN_SIZE_PARM): Likewise.
16011 (FRAME_BACKCHAIN): Likewise.
16012 (FRAME_CR_SAVE): Likewise.
16013 (FRAME_LR_SAVE): Likewise.
16014 (FRAME_TOC_SAVE): Likewise.
16015 (FRAME_PARM_SAVE): Likewise.
16016 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
16017 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
16018 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
16019 (call_mcount_parm_offset): New macro.
16020 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
16021 (PROF): Use symbolic stack frame offsets.
16022 (TAIL_CALL_SYSCALL_ERROR): Likewise.
16023 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
16024 Redefine in terms of FRAME_MIN_SIZE.
16025 (_dl_runtime_resolve): Use symbolic stack frame offsets.
16026 (_dl_profile_resolve): Likewise. Update comment.
16027 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
16028 symbols stack frame offsets.
16029 (__sigsetjmp): Likewise.
16030 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
16031 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
16032 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
16033 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
16034
16035 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
16036 (FRAME_BACKCHAIN): Remove.
16037 (FRAME_CR_SAVE): Likewise.
16038 (FRAME_LR_SAVE): Likewise.
16039 (FRAME_COMPILER_DW): Likewise.
16040 (FRAME_LINKER_DW): Likewise.
16041 (FRAME_TOC_SAVE): Likewise.
16042 (FRAME_PARM_SAVE): Likewise.
57f41c40
AS
16043 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
16044 (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
16045 (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
8b8a692c
UW
16046 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
16047 (CHECK_SP): Use symbolic stack frame offsets.
16048 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
16049 zone" instead of caller's parameter save area for temp storage.
16050 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
16051 Likewise. Also, use symbolic stack frame offsets.
16052 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
16053 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
16054 our own stack frame instead of the caller's.
16055 (__socket): Use symbolic stack frame offsets.
16056
122b66de
UW
160572013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
16058 Alan Modra <amodra@gmail.com>
16059
16060 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
16061 Define.
57f41c40
AS
16062 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
16063 (PPC64_LOCAL_ENTRY_OFFSET): Define.
122b66de
UW
16064 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
16065 New function.
16066 (elf_machine_fixup_plt): Call it.
16067 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
16068 reloc arguments.
16069 (elf_machine_rela): Update call to elf_machine_plt_conflict.
57f41c40
AS
16070 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
16071 (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
122b66de
UW
16072 r2 before calling target.
16073
696caf1d
UW
160742013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
16075 Alan Modra <amodra@gmail.com>
16076
16077 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
16078 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
16079 versions of macros to support ELFv2 ABI.
16080 (LOCALENTRY): New macro.
16081 (ENTRY, EALIGN): Use it.
16082 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
16083 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
16084 fall through into ENTRY entry point.
16085 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
16086 Only define if _CALL_ELF != 2.
16087
16088 (elf_machine_matches_host): Verify ABI version matches.
16089 (RTLD_START): Use LOCALENTRY.
16090 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
16091 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
16092 (PLT_ENTRY_WORDS): New macro.
16093 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
16094 (elf_machine_runtime_setup): Support ELFv2 ABI.
16095 (elf_machine_fixup_plt): Likewise.
16096 (elf_machine_plt_conflict): Likewise.
16097 (resolve_ifunc): Likewise.
16098 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
16099 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
16100 Likewise.
16101 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
16102 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
16103 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
16104 (makecontext): Support ELFv2 ABI.
16105 * elf/elf.h (EF_PPC64_ABI): Define.
16106
d31beafa
UW
161072013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
16108
57f41c40
AS
16109 * sysdeps/powerpc/powerpc64/sysdep.h
16110 (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
16111 (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
16112 (ENTRY) [ASSEMBLER]: ... but instead here ...
16113 (EALIGN) [ASSEMBLER]: ... and here.
16114 (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
16115 (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
16116 (ENTRY_2) [!ASSEMBLER]: Use it.
d31beafa
UW
16117 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
16118 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
57f41c40
AS
16119 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
16120 (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
d31beafa
UW
16121 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
16122 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
16123 Use PPC64_LOAD_FUNCPTR.
16124
b525166b
UW
16125 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
16126
7ec07d9a
AM
161272013-12-04 Alan Modra <amodra@gmail.com>
16128
16129 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
16130 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
16131 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
16132 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
16133
16134 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
16135 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
16136 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
16137 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
16138 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
16139 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
16140
5162e7dd
UW
161412013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
16142
16143 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
16144 (__makecontext): Fix incorrect CFI when backtracing out of
16145 context created via makecontext.
16146 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
16147 (__setcontext): Fix incorrect CFI during switch to new context.
16148 (__novec_setcontext): Likewise.
16149
19e3372b
OB
161502013-12-04 Ondřej Bílka <neleai@seznam.cz>
16151
16152 [BZ #4772]
16153 * time/strptime_l.c (__strptime_internal): Allow modifiers
16154 in strptime.
16155 * time/tst-strptime.c (day_tests): Add testcase.
16156
ecaf142d
SP
161572013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
16158
16159 * scripts/bench.pl: Skip over blank lines.
16160
fbf964ae
PE
161612013-12-04 Paul Eggert <eggert@cs.ucla.edu>
16162
16163 [BZ #926]
16164 * manual/time.texi (Calendar Time): Clarify what timezone functions
16165 use.
16166
fa60a674
AZ
161672013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16168
16169 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16170
d674f0ef
OB
161712013-12-04 Ondřej Bílka <neleai@seznam.cz>
16172
16173 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
16174 implementation.
16175 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
16176 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
16177 * debug/memset_chk.c (__memset_chk): Likewise.
16178 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
16179 * debug/strncpy_chk.c: Likewise.
16180
17dea188
JM
161812013-12-03 Joseph Myers <joseph@codesourcery.com>
16182
749008ff
JM
16183 [BZ #15268]
16184 [BZ #15425]
16185 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
16186 (__ieee754_exp): For possibly underflowing results, check size of
16187 result and force underflow exception if required.
16188 * math/auto-libm-test-in: Add more tests of exp.
16189 * math/auto-libm-test-out: Regenerated.
16190 * sysdeps/i386/fpu/libm-test-ulps: Update.
16191 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16192
17dea188
JM
16193 [BZ #16283]
16194 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
16195 * math/w_exp2f.c (__exp2f): Likewise.
16196 * math/w_exp2l.c (__exp2l): Likewise.
16197 * math/auto-libm-test-in: Do not allow missing errno on exp2
16198 underflow.
16199 * math/auto-libm-test-out: Regenerated.
16200
b20de2c3
OB
162012013-12-03 Ondřej Bílka <neleai@seznam.cz>
16202
16203 [BZ #16274]
16204 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
16205 handle filename validation.
16206 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
16207 (do_open): Delete.
16208
d8e2dbe3
JM
162092013-12-03 Joseph Myers <joseph@codesourcery.com>
16210
34e16df5
JM
16211 [BZ #6786]
16212 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
16213 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
16214 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
16215 <float.h>.
16216 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
16217 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
16218 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
16219 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
16220 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
16221 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
16222 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
16223 * math/auto-libm-test-in: Don't allow missing errno from erfc.
16224 Add more erfc tests.
16225 * math/auto-libm-test-out: Regenerated.
16226 * sysdeps/i386/fpu/libm-test-ulps: Update.
16227 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16228
d8e2dbe3
JM
16229 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
16230 exp2, expm1, j0 and j1.
16231 * math/auto-libm-test-out: Regenerated.
16232 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
16233 (erfc_test_data): Likewise.
16234 (exp_test_data): Likewise.
16235 (exp_tonearest_test_data): Likewise.
16236 (exp_towardzero_test_data): Likewise.
16237 (exp_downward_test_data): Likewise.
16238 (exp_upward_test_data): Likewise.
16239 (exp10_test_data): Likewise.
16240 (exp2_test_data): Likewise.
16241 (expm1_test_data): Likewise.
16242 (j0_test_data): Likewise.
16243 (j1_test_data): Likewise.
16244 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
16245 (input_flag_type): Add flag_xfail_rounding.
16246 (input_flags): Add xfail-rounding.
16247 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
16248 (output_for_one_input_case): Handle flag_xfail_rounding.
16249 * sysdeps/i386/fpu/libm-test-ulps: Update.
16250 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16251
18d14251
AJ
162522013-12-03 Aurelien Jarno <aurelien@aurel32.net>
16253
3d2e6075 16254 [BZ #16289]
18d14251
AJ
16255 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
16256 division by 0.
16257
520d437b
SP
162582013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
16259
16260 [BZ #16195]
16261 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
16262 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
16263 (STAP_PROBE0): New macro.
16264 (STAP_PROBE1): Likewise.
16265 (STAP_PROBE2): Likewise.
16266 (STAP_PROBE3): Likewise.
16267 (STAP_PROBE4): Likewise.
16268
416e0145
OB
162692013-12-02 Ondřej Bílka <neleai@seznam.cz>
16270
16271 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
16272
9d17796a
SE
162732013-12-02 Steve Ellcey <sellcey@mips.com>
16274
16275 * benchtests/Makefile (bench): Add sqrt.
16276 (LDLIBS-bench-sqrt): New.
16277 * benchtests/sqrt-input: New.
16278
f524d6a8
PS
162792013-12-02 Pavel Simerda <psimerda@redhat.com>
16280
639a0ef8
PS
16281 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
16282 (GAIH_EAI): Likewise.
16283 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
16284 (gaih_inet): Likewise.
16285 (getaddrinfo): Don't use GAIH_EAI.
16286
f524d6a8
PS
16287 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
16288 (struct gaih): Remove definition.
16289
df3aedaf
SP
162902013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
16291
16292 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
16293 Use HERRNOP directly.
16294
1ab19dec
AZ
162952013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16296
b42ad38d 16297 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1ab19dec 16298
176b0c79
JM
162992013-11-30 Joseph Myers <joseph@codesourcery.com>
16300
16301 * math/gen-auto-libm-tests.c (test_functions): Add more
16302 single-argument functions.
16303 (special_fill_pi_2): New function.
16304 (special_fill_minus_pi_2): Likewise.
16305 (special_fill_pi_6): Likewise.
16306 (special_fill_minus_pi_6): Likewise.
16307 (special_fill_pi_3): Likewise.
16308 (special_fill_2pi_3): Likewise.
16309 (special_fill_e): Likewise.
16310 (special_fill_1_e): Likewise.
16311 (special_fill_e_minus_1): Likewise.
16312 (special_real_inputs): Add more special inputs.
16313 (output_for_one_input_case): Do not require ERANGE on underflow to
16314 zero if round-to-nearest result does not underflow to zero, unless
16315 exact results required.
16316 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
16317 atan, atanh, cbrt, cos and cosh.
16318 * math/auto-libm-test-out: Regenerated.
16319 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
16320 (acos_tonearest_test_data): Likewise.
16321 (acos_towardzero_test_data): Likewise.
16322 (acos_downward_test_data): Likewise.
16323 (acos_upward_test_data): Likewise.
16324 (acosh_test_data): Likewise.
16325 (asin_test_data): Likewise.
16326 (asin_tonearest_test_data): Likewise.
16327 (asin_towardzero_test_data): Likewise.
16328 (asin_upward_test_data): Likewise.
16329 (asinh_test_data): Likewise.
16330 (atan_test_data): Likewise.
16331 (atanh_test_data): Likewise.
16332 (cbrt_test_data): Likewise.
16333 (cos_test_data): Likewise.
16334 (cos_tonearest_test_data): Likewise.
16335 (cos_towardzero_test_data): Likewise.
16336 (cos_downward_test_data): Likewise.
16337 (cos_upward_test_data): Likewise.
16338 (cosh_test_data): Likewise.
16339 (cosh_tonearest_test_data): Likewise.
16340 (cosh_towardzero_test_data): Likewise.
16341 (cosh_downward_test_data): Likewise.
16342 (cosh_upward_test_data): Likewise.
16343 * sysdeps/i386/fpu/libm-test-ulps: Update.
16344 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16345
ffb536d0
JM
163462013-11-29 Joseph Myers <joseph@codesourcery.com>
16347
2a77a467
JM
16348 [BZ #6787]
16349 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
16350 * math/w_exp10f.c (__exp10f): Likewise.
16351 * math/w_exp10l.c (__exp10l): Likewise.
16352 * math/libm-test.inc (exp10_test_data): Add more tests and expect
16353 errno settings in existing tests.
16354
ea3bc4e8
JM
16355 [BZ #14032]
16356 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
16357 precision control set to double precision.
16358 * sysdeps/i386/fpu/w_sqrt.c: New file.
16359 * math/auto-libm-test-in: Add more tests.
16360 * math/auto-libm-test-out: Update.
16361
0712c9d8
JM
16362 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
16363 (sqrt_test_tonearest): New function.
16364 (sqrt_towardzero_test_data): New variable.
16365 (sqrt_test_towardzero): New function.
16366 (sqrt_downward_test_data): New variable.
16367 (sqrt_test_downward): New function.
16368 (sqrt_upward_test_data): New variable.
16369 (sqrt_test_upward): New function.
16370 (main): Call the new functions.
16371
ffb536d0
JM
16372 * math/gen-auto-libm-tests.c: New file.
16373 * math/auto-libm-test-in: Likewise.
16374 * math/auto-libm-test-out: New generated file.
16375 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
16376 variables.
16377 (%beautify): Add generated representations of zero.
16378 (top level): Set $auto_input and call parse_auto_input.
16379 (beautify): Remove trailing "f" from hex float constants.
16380 (parse_args): Handle XFAIL_TEST.
16381 (convert_condition): New function.
16382 (or_value): Likewise.
16383 (or_cond_value): Likewise.
16384 (generate_testfile): Handle AUTO_TESTS_* lines.
16385 (parse_auto_input): New function.
16386 * math/libm-test.inc (XFAIL_TEST): New macro.
16387 (ERRNO_UNCHANGED): Update value.
16388 (ERRNO_EDOM): Likewise.
16389 (ERRNO_ERANGE): Likewise.
16390 (IGNORE_RESULT): Likewise.
16391 (TEST_COND_flt_32): New macro.
16392 (TEST_COND_dbl_64): Likewise.
16393 (TEST_COND_ldbl_96_intel): Likewise.
16394 (TEST_COND_ldbl_96_m68k): Likewise.
16395 (TEST_COND_ldbl_128): Likewise.
16396 (TEST_COND_ldbl_128ibm): Likewise.
16397 (TEST_COND_long32): Likewise.
16398 (TEST_COND_long64): Likewise.
16399 (TEST_COND_before_rounding): Likewise.
16400 (TEST_COND_after_rounding): Likewise.
16401 (enable_test): Handle XFAIL_TEST flag.
16402 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
16403 with finite results.
16404 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
16405 auto-libm-test-out.
16406
acd98a8e
AK
164072013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
16408 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16409
16410 [BZ #16214]
16411 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
16412 __tls_get_addr_internal instead of __tls_get_offset in order to
16413 avoid GOT pointer dependency. Make rtld export
16414 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
16415 __tls_get_addr since we are a __tls_get_offset platform.
16416 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
16417 GOT pointer being set up before.
16418 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
16419
3c1c46a6
JM
164202013-11-28 Joseph Myers <joseph@codesourcery.com>
16421
7475aef5
JM
16422 * manual/math.texi (Errors in Math Functions): Document accuracy
16423 goals.
16424
8bca7cd8
JM
16425 [BZ #15004]
16426 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
16427 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
16428 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
16429 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
16430 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
16431 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
16432 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
16433 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
16434 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
16435 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
16436 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
16437 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
16438 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
16439 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
16440 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
16441 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
16442
91a1f3fe
JM
16443 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
16444 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
16445 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
16446 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
16447 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
16448 Likewise.
16449 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
16450 Likewise.
16451 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
16452 Likewise.
16453 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
16454 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
16455 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
16456 atomic-feupdateenv and flt-rounds.
16457 * sysdeps/powerpc/nofpu/Versions (libc): Add
16458 __atomic_feholdexcept, __atomic_feclearexcept,
16459 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
16460 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
16461 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
16462 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
16463 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
16464 here.
16465 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
16466 Update.
16467
c5df7609
JM
16468 * manual/arith.texi (FP Exceptions): Document that exceptions may
16469 not be raised when matherr is used.
16470 (Math Error Reporting): Document overflow in directed rounding
16471 modes. Document that errno may not be set when finite values are
16472 returned on overflow. Document intent to set errno on underflow
16473 only for underflow to zero.
16474
3c1c46a6
JM
16475 [BZ #16271]
16476 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
16477 round-to-nearest then adjust result for other rounding modes.
16478 * include/fenv.h (fegetround): Use libm_hidden_proto.
16479 * math/fegetround.c (fegetround): Use libm_hidden_def.
16480 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
16481 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
16482 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
16483 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
16484 Likewise.
16485 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
16486 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
16487 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
16488 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
16489
5a4c6d53
SP
164902013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
16491
16492 [BZ #16077]
16493 * nss/Versions (libnss_files): Add
16494 _nss_files_gethostbyname3_r.
16495 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
16496 New function.
16497 (HOST_DB_LOOKUP): Remove macro.
16498 (_nss_files_gethostbyname_r): Implement function without the
16499 HOST_DB_LOOKUP macro.
16500 (_nss_files_gethostbyname2_r): Likewise.
16501
897b98ba
OB
165022013-11-28 Ondřej Bílka <neleai@seznam.cz>
16503
16504 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
16505
6f476861
UB
165062013-11-26 Uros Bizjak <ubizjak@gmail.com>
16507
16508 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
16509 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
16510 warning.
16511
bd12ab55
AZ
165122013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16513
16514 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
16515 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
16516 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
16517 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
16518 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
16519 __fe_nomask_env_priv and attribute_hidden.
16520 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
16521 (libc_feupdateenv_test_ppc): Likewise.
16522 (libc_feresetround_ppc): Likewise.
16523 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
16524 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
16525 compat_symbol macro.
16526 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
16527 (__fe_nomask_env): Likewise.
16528 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
16529
52bb6543
OB
165302013-11-26 Ondřej Bílka <neleai@seznam.cz>
16531
16532 * string/Makefile: Remove ifunc tests.
16533 * string/test-string.h: Define TEST_IFUNC.
16534 * string/test-bcopy-ifunc.c: Remove.
16535 * string/test-bzero-ifunc.c: Likewise.
16536 * string/test-memccpy-ifunc.c: Likewise.
16537 * string/test-memchr-ifunc.c: Likewise.
16538 * string/test-memcmp-ifunc.c: Likewise.
16539 * string/test-memcpy-ifunc.c: Likewise.
16540 * string/test-memmem-ifunc.c: Likewise.
16541 * string/test-memmove-ifunc.c: Likewise.
16542 * string/test-mempcpy-ifunc.c: Likewise.
16543 * string/test-memrchr-ifunc.c: Likewise.
16544 * string/test-memset-ifunc.c: Likewise.
16545 * string/test-rawmemchr-ifunc.c: Likewise.
16546 * string/test-stpcpy-ifunc.c: Likewise.
16547 * string/test-stpncpy-ifunc.c: Likewise.
16548 * string/test-strcasecmp-ifunc.c: Likewise.
16549 * string/test-strcasestr-ifunc.c: Likewise.
16550 * string/test-strcat-ifunc.c: Likewise.
16551 * string/test-strchr-ifunc.c: Likewise.
16552 * string/test-strchrnul-ifunc.c: Likewise.
16553 * string/test-strcmp-ifunc.c: Likewise.
16554 * string/test-strcpy-ifunc.c: Likewise.
16555 * string/test-strcspn-ifunc.c: Likewise.
16556 * string/test-strlen-ifunc.c: Likewise.
16557 * string/test-strncasecmp-ifunc.c: Likewise.
16558 * string/test-strncat-ifunc.c: Likewise.
16559 * string/test-strncmp-ifunc.c: Likewise.
16560 * string/test-strncpy-ifunc.c: Likewise.
16561 * string/test-strnlen-ifunc.c: Likewise.
16562 * string/test-strpbrk-ifunc.c: Likewise.
16563 * string/test-strrchr-ifunc.c: Likewise.
16564 * string/test-strspn-ifunc.c: Likewise.
16565 * string/test-strstr-ifunc.c: Likewise.
16566
ab260039 165672013-11-26 Ondřej Bílka <neleai@seznam.cz>
2787db97
OB
16568
16569 * benchtests/Makefile: Remove ifunc tests.
16570 * benchtests/bench-string.h: Define TEST_IFUNC.
16571 * benchtests/bench-bcopy-ifunc.c: Remove.
16572 * benchtests/bench-bzero-ifunc.c: Likewise.
16573 * benchtests/bench-memccpy-ifunc.c: Likewise.
16574 * benchtests/bench-memchr-ifunc.c: Likewise.
16575 * benchtests/bench-memcmp-ifunc.c: Likewise.
16576 * benchtests/bench-memcpy-ifunc.c: Likewise.
16577 * benchtests/bench-memmem-ifunc.c: Likewise.
16578 * benchtests/bench-memmove-ifunc.c: Likewise.
16579 * benchtests/bench-mempcpy-ifunc.c: Likewise.
16580 * benchtests/bench-memrchr-ifunc.c: Likewise.
16581 * benchtests/bench-memset-ifunc.c: Likewise.
16582 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
16583 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
16584 * benchtests/bench-stpcpy-ifunc.c: Likewise.
16585 * benchtests/bench-stpncpy-ifunc.c: Likewise.
16586 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
16587 * benchtests/bench-strcasestr-ifunc.c: Likewise.
16588 * benchtests/bench-strcat-ifunc.c: Likewise.
16589 * benchtests/bench-strchr-ifunc.c: Likewise.
16590 * benchtests/bench-strchrnul-ifunc.c: Likewise.
16591 * benchtests/bench-strcmp-ifunc.c: Likewise.
16592 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
16593 * benchtests/bench-strcpy-ifunc.c: Likewise.
16594 * benchtests/bench-strcspn-ifunc.c: Likewise.
16595 * benchtests/bench-strlen-ifunc.c: Likewise.
16596 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
16597 * benchtests/bench-strncat-ifunc.c: Likewise.
16598 * benchtests/bench-strncmp-ifunc.c: Likewise.
16599 * benchtests/bench-strncpy-ifunc.c: Likewise.
16600 * benchtests/bench-strnlen-ifunc.c: Likewise.
16601 * benchtests/bench-strpbrk-ifunc.c: Likewise.
16602 * benchtests/bench-strrchr-ifunc.c: Likewise.
a9503496 16603 * benchtests/bench-strsep-ifunc.c: Likewise.
2787db97
OB
16604 * benchtests/bench-strspn-ifunc.c: Likewise.
16605 * benchtests/bench-strstr-ifunc.c: Likewise.
16606
166072013-11-26 Ondřej Bílka <neleai@seznam.cz>
16608
ab260039
OB
16609 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
16610
d1d9eaf4 166112013-11-26 Ondřej Bílka <neleai@seznam.cz>
2787db97 16612
d1d9eaf4
OB
16613 * resolv/netdb.h: Use __glibc_reserved instead __unused.
16614 * rt/aio.h: Likewise.
16615 * sysdeps/gnu/bits/utmp.h: Likewise.
16616 * sysdeps/gnu/bits/utmpx.h: Likewise.
16617 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
16618 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
16619 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
16620 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
16621 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
16622 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
16623 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
16624 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
16625 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
16626 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
16627 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
16628 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
16629 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
16630 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
16631 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
16632 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
16633 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
16634 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
16635 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
16636 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
16637 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
16638 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
16639 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
16640 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
16641 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
16642 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
16643 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
16644 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
16645 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
16646 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
16647 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
16648 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
16649 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
16650 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
16651 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
16652 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
16653 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
16654 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
16655 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
16656 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
16657 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
16658 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
16659
a7624ed9
CD
166602013-11-25 Carlos O'Donell <carlos@redhat.com>
16661
16662 [BZ #16245]
16663 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
16664 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
16665
63cfe52b
JM
166662013-11-25 Joseph Myers <joseph@codesourcery.com>
16667
16668 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
16669 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
16670 Likewise.
16671
41e8926a
AZ
166722013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16673
16674 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
16675 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
16676 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
16677 (__fesetround): Remove define.
16678 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
16679 rounding and exceptions handling.
16680 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
16681 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
16682 (__fe_nomask_env): Likewise.
16683 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
16684 __fegetround instead of fegetround.
16685 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
16686 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
16687
6851bd4d
RM
166882013-11-21 Roland McGrath <roland@hack.frob.com>
16689
070906ff
RM
16690 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
16691 it's there.
16692
6851bd4d
RM
16693 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
16694
84ae135d
MI
166952013-11-21 Meador Inge <meadori@codesourcery.com>
16696
16697 [BZ #11157]
16698 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
16699 (encrypt_r): Likewise.
16700 * malloc/obstack.h (obstack_free): Likewise.
16701 * posix/unistd.h (encrypt): Likewise.
16702
daf75146
GM
167032013-11-21 Guy Martin <gmsoft@tuxicoman.be>
16704
16705 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
16706 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
16707 DL_CALL_DT_FINI() that call the functions directly.
16708 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
16709 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
16710 * elf/dl-fini.c: Likewise.
16711
10ad46bc
OB
167122013-11-20 Ondřej Bílka <neleai@seznam.cz>
16713
16714 * malloc/hooks.c (memalign_check): Add alignment rounding.
16715 * malloc/malloc.c (_mid_memalign): New function.
16716 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
16717 Implement by calling _mid_memalign.
16718 * manual/probes.texi (Memory Allocation Probes): Remove
16719 memory_valloc_retry and memory_pvalloc_retry.
16720
f3fd2628
SP
167212013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
16722
4712799f
SP
16723 * locale/programs/locarchive.c (open_archive): Add const
16724 qualifier to ARCHIVEFNAME and copy default fname to
16725 DEFAULT_FNAME.
16726
0417b20f
SP
16727 [BZ #15601]
16728 * libio/tst-widetext.input: Rename Oriya to Odia.
16729 * locale/iso-639.def: Likewise.
16730
f3fd2628
SP
16731 * manual/probes.texi (Mathematical Function Probes): Add
16732 documentation for sin, cos, asin and acos probes.
16733 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
16734 (__sin32): Add slowasin probe.
16735 (__cos32): Add slowacos probe.
16736 (__mpsin): Add slowsin probe.
16737 (__mpcos): Add slowcos probe.
16738
73c1ce4f
JM
167392013-11-19 Joseph Myers <joseph@codesourcery.com>
16740
16741 [BZ #15483]
16742 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
16743 thread-local __sim_exceptions_thread and global
16744 __sim_exceptions_global.
16745 (__sim_disabled_exceptions): Change to thread-local
16746 __sim_disabled_exceptions_thread and global
16747 __sim_disabled_exceptions_global.
16748 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
16749 and global __sim_round_mode_global.
16750 (__simulate_exceptions): Use thread-local floating-point state and
16751 set global state from it as needed.
16752 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
16753 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
16754 __sim_round_mode_thread.
16755 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
16756 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
16757 and global __sim_exceptions_global.
16758 (__sim_disabled_exceptions): Change to thread-local
16759 __sim_disabled_exceptions_thread and global
16760 __sim_disabled_exceptions_global.
16761 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
16762 and global __sim_round_mode_global.
16763 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
16764 (SIM_SET_GLOBAL): Likewise.
16765 * sysdeps/powerpc/soft-fp/sfp-machine.h
16766 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
16767 __sim_round_mode_thread.
16768 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
16769 __sim_disabled_exceptions_thread.
16770 (__sim_exceptions): Change to __sim_exceptions_thread.
16771 (__sim_disabled_exceptions): Change to
16772 __sim_disabled_exceptions_thread.
16773 (__sim_round_mode): Change to __sim_round_mode_thread.
16774 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
16775 thread-local floating-point state and set global state from it as
16776 needed.
16777 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
16778 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
16779 (__sim_disabled_exceptions): Remove extern declaration.
16780 (feenableexcept): Use thread-local floating-point state and set
16781 global state from it as needed.
16782 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
16783 extern declaration.
16784 (__sim_disabled_exceptions): Likewise.
16785 (__sim_round_mode): Likewise.
16786 (__fegetenv): Use thread-local floating-point state.
16787 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
16788 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
16789 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
16790 floating-point state and set global state from it as needed.
16791 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
16792 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
16793 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
16794 Likewise.
16795 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
16796 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
16797 Likewise.
16798 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
16799 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
16800 Use __sim_round_mode_thread.
16801 * math/test-fenv-tls.c: New file.
16802 * math/Makefile (tests): Add test-fenv-tls.
16803 ($(objpfx)test-fenv-tls): Depend on
16804 $(common-objpfx)nptl/libpthread.so.
16805
b5449b12
AS
168062013-11-19 Andreas Schwab <schwab@suse.de>
16807
16808 * locale/programs/locale.c (show_info): Decode wordarray elements.
16809 * locale/categories.def (LC_MONETARY): Add element for
16810 _NL_MONETARY_CRNCYSTR.
16811 * locale/C-monetary.c (conversion_rate): New variable.
16812 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
16813 element.
16814
e186536b
CM
168152013-11-18 Chris Metcalf <cmetcalf@tilera.com>
16816
16817 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
16818 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
16819
5c349950
PP
168202013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
16821
16822 * elf/Makefile (tst-auxv): New test.
16823 * elf/tst-auxv.c: New
16824 * elf/rtld.c (dl_main): Adjust AT_EXECFN
16825
699df45b
JM
168262013-11-18 Joseph Myers <joseph@codesourcery.com>
16827
16828 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
16829 (hidden_proto): Caller changed.
16830 (hidden_tls_proto): New macro.
16831 (libc_hidden_tls_proto): Likewise.
16832 (rtld_hidden_tls_proto): Likewise.
16833 (libm_hidden_tls_proto): Likewise.
16834 (libresolv_hidden_tls_proto): Likewise.
16835 (librt_hidden_tls_proto): Likewise.
16836 (libdl_hidden_tls_proto): Likewise.
16837 (libnss_files_hidden_tls_proto): Likewise.
16838 (libnsl_hidden_tls_proto): Likewise.
16839 (libnss_nisplus_hidden_tls_proto): Likewise.
16840 (libutil_hidden_tls_proto): Likewise.
16841
b7589107
OB
168422013-11-18 Ondřej Bílka <neleai@seznam.cz>
16843
16844 [BZ #10253]
16845 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
16846 (decompose_rpath): Defer expansion to fillin_rpath.
16847 (_dl_init_paths): Pass linkmap to fillin_rpath.
16848
250c23bd
RS
168492013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
16850
16851 * benchtests/Makefile: Add strsep.
16852 * benchtests/bench-strsep.c: New file: strsep benchtest.
16853 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
16854
a7931fcf
AS
168552013-11-18 Andreas Schwab <schwab@suse.de>
16856
16857 * locale/programs/locale.c (show_info) [case byte]: Check for
16858 '\377' instead of '\177'.
16859 * locale/C-monetary.c (not_available): Always use "\377".
16860 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
16861 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
16862 detect unavailable sign_posn locale elements.
16863 * locale/localeconv.c (__localeconv): For grouping and
16864 mon_grouping handle "\177" and "\377" like no grouping.
16865 (INT_ELEM): New macro. Use it to set all numeric members.
16866 * locale/programs/ld-monetary.c (monetary_read)
16867 <tok_mon_grouping>: Normalize single -1 to the empty string.
16868 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
16869 Likewise.
16870
728dab0e
OB
168712013-11-07 Ondřej Bílka <neleai@seznam.cz>
16872
16873 [BZ #16055]
16874 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
16875 when we match (nil).
16876 * stdio-common/tst-sscanf.c (struct test): Add testcase.
16877
66294491
JM
168782013-11-16 Joseph Myers <joseph@codesourcery.com>
16879
ce665817
JM
16880 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
16881 (NO_TEST_INLINE): Update value.
16882 (ERRNO_UNCHANGED): Likewise.
16883 (ERRNO_EDOM): Likewise.
16884 (ERRNO_ERANGE): Likewise.
16885 (IGNORE_RESULT): Likewise.
16886 (check_float_internal): Check signs of NaN results if
16887 TEST_NAN_SIGN used.
16888 (check_complex): Pass TEST_NAN_SIGN flag through to second
16889 check_float_internal call.
16890 (copysign_test_data): Add tests with quiet NaNs as second
16891 argument. Use TEST_NAN_SIGN.
16892 (fabs_test_data): Add test of negative quiet NaN argument. Use
16893 TEST_NAN_SIGN.
16894 (signbit_test_data): Add tests of quiet NaN argument.
16895 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
16896
ee1466a9
JM
16897 * math/gen-libm-test.pl (show_exceptions): Take extra argument
16898 $ignore_result.
16899 (parse_args): Handle function results specified as IGNORE.
16900 * math/libm-test.inc (IGNORE_RESULT): New macro.
16901 (check_float_internal): Do not check numerical result if flag
16902 IGNORE_RESULT set.
16903 (check_complex): Pass through IGNORE_RESULT to second
16904 check_float_internal call.
16905 (check_int): Do not check numerical result if flag IGNORE_RESULT
16906 set.
16907 (check_long): Likewise.
16908 (check_bool): Likewise.
16909 (check_longlong): Likewise.
16910 (lrint_test_data): Add tests of infinite and NaN arguments.
16911 (lrint_tonearest_test_data): Likewise.
16912 (lrint_towardzero_test_data): Likewise.
16913 (lrint_downward_test_data): Likewise.
16914 (lrint_upward_test_data): Likewise.
16915 (llrint_test_data): Likewise.
16916 (llrint_tonearest_test_data): Likewise.
16917 (llrint_towardzero_test_data): Likewise.
16918 (llrint_downward_test_data): Likewise.
16919 (llrint_upward_test_data): Likewise.
16920 (lround_test_data): Likewise.
16921 (llround_test_data): Likewise.
16922
14407b7e
JM
16923 * math/libm-test.inc (NO_TEST_INLINE): New macro.
16924 (ERRNO_UNCHANGED): Update value.
16925 (ERRNO_EDOM): Likewise.
16926 (ERRNO_ERANGE): Likewise.
16927 (NO_TEST_INLINE_FLOAT): New macro.
16928 (NO_TEST_INLINE_DOUBLE): Likewise.
16929 (enable_test): New function.
16930 (RUN_TEST_f_f): Check enable_test before running test.
16931 (RUN_TEST_2_f): Likewise.
16932 (RUN_TEST_fff_f): Likewise.
16933 (RUN_TEST_c_f): Likewise.
16934 (RUN_TEST_f_f1): Likewise.
16935 (RUN_TEST_fF_f1): Likewise.
16936 (RUN_TEST_fI_f1): Likewise.
16937 (RUN_TEST_ffI_f1): Likewise.
16938 (RUN_TEST_c_c): Likewise.
16939 (RUN_TEST_cc_c): Likewise.
16940 (RUN_TEST_f_i): Likewise.
16941 (RUN_TEST_f_i_tg): Likewise.
16942 (RUN_TEST_ff_i_tg): Likewise.
16943 (RUN_TEST_f_b): Likewise.
16944 (RUN_TEST_f_b_tg): Likewise.
16945 (RUN_TEST_f_l): Likewise.
16946 (RUN_TEST_f_L): Likewise.
16947 (RUN_TEST_fFF_11): Likewise.
16948 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
16949 conditionals.
16950 (cosh_test_data): Likewise.
16951 (exp_test_data): Likewise.
16952 (expm1_test_data): Likewise.
16953 (hypot_test_data): Likewise.
16954 (pow_test_data): Likewise.
16955 (sinh_test_data): Likewise.
16956 (tanh_test_data): Likewise.
16957 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
16958 flags argument.
16959
ca07f197
JM
16960 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
16961 tests with quiet NaN input and output.
16962 (acosh_test_data): Likewise.
16963 (asin_test_data): Likewise.
16964 (asinh_test_data): Likewise.
16965 (atan_test_data): Likewise.
16966 (atanh_test_data): Likewise.
16967 (atan2_test_data): Likewise.
16968 (cbrt_test_data): Likewise.
16969 (cos_test_data): Likewise.
16970 (cosh_test_data): Likewise.
16971 (erf_test_data): Likewise.
16972 (erfc_test_data): Likewise.
16973 (exp_test_data): Likewise.
16974 (exp10_test_data): Likewise.
16975 (exp2_test_data): Likewise.
16976 (expm1_test_data): Likewise.
16977 (hypot_test_data): Likewise.
16978 (j0_test_data): Likewise.
16979 (j1_test_data): Likewise.
16980 (jn_test_data): Likewise.
16981 (lgamma_test_data): Likewise.
16982 (log_test_data): Likewise.
16983 (log10_test_data): Likewise.
16984 (log1p_test_data): Likewise.
16985 (log2_test_data): Likewise.
16986 (pow_test_data): Likewise.
16987 (scalb_test_data): Likewise.
16988 (sin_test_data): Likewise.
16989 (sincos_test_data): Likewise.
16990 (sinh_test_data): Likewise.
16991 (tan_test_data): Likewise.
16992 (tanh_test_data): Likewise.
16993 (tgamma_test_data): Likewise.
16994 (y0_test_data): Likewise.
16995 (y1_test_data): Likewise.
16996 (yn_test_data): Likewise.
16997
66294491
JM
16998 [BZ #16167]
16999 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
17000 argument being NaN and avoid computations with second argument in
17001 that case.
17002 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
17003 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
17004 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
17005
1820b143
CL
170062013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
17007
17008 * locale/iso-639.def: Add Chitwani Tharu (the).
17009
714bd261
AS
170102013-11-14 Andreas Schwab <schwab@suse.de>
17011
17012 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
17013 word instead of empty string.
17014
7ab44563
AZ
170152013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17016
17017 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
17018 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
17019 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
17020 (__fe_nomask_env): Likewise.
17021
e8470ea2
SE
170222013-11-13 Steve Ellcey <sellcey@mips.com>
17023
17024 * benchtests/bench-timing.h: Include time.h.
17025
17c1d9f0
L
170262013-11-13 H.J. Lu <hongjiu.lu@intel.com>
17027
17028 [BZ #15997]
17029 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
17030 to 3.4.0 for x32.
17031 * sysdeps/unix/sysv/linux/configure: Regenerated.
17032
9310c284
JM
170332013-11-13 Joseph Myers <joseph@codesourcery.com>
17034
17035 [BZ #16151]
17036 * stdlib/strtod_l.c (round_and_return): Do not consider
17037 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
17038 exponent one less than half the least subnormal exponent.
17039 * stdlib/test-strtod-round-data: Add more tests.
17040 * stdlib/tst-strtod-round.c (tests): Regenerated.
17041
7a2ad8cf
AZ
170422013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17043
17044 [BZ #14143]
17045 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
17046 (__fe_mask_env): Likewise.
17047 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
17048 libm_hidden_proto and add function prototype.
17049 (__fe_mask_env): Add function prototype.
17050 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
17051 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
17052 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
17053 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
17054 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
17055 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
17056
50727aa7
MS
170572013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
17058
b2f386c1 17059 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
50727aa7
MS
17060 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
17061
a615be46
MS
170622013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
17063
17064 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
17065 of htab_find_slot().
17066
7ddace62
DM
170672013-11-11 David S. Miller <davem@davemloft.net>
17068
17069 [BZ #16150]
17070 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
17071 symbol in the non-vis3 case in static builds.
17072 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
17073 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
17074 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
17075 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
17076
9182aa67
JK
170772013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
17078
17079 [BZ #387]
17080 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
17081 it is empty.
17082
450a2e2d
AZ
170832013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17084
b2f386c1
SP
17085 * benchtests/Makefile: Add bench-strtod.
17086 * benchtests/bench-strtod.c: New file: strtod benchtest
450a2e2d 17087
8ec3f656
AS
170882013-11-11 Andreas Schwab <schwab@suse.de>
17089
17090 [BZ #16153]
17091 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
17092 terminating NUL in key length.
17093
76a9b998
AZ
170942013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17095
17096 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
17097 Add artificial ODP entry for vDSO symbol for PPC64.
17098 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
17099 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
17100
e4368156
OB
171012013-11-07 Ondřej Bílka <neleai@seznam.cz>
17102
17103 [BZ #15374]
17104 * nss/getent.c (services_keys): Recognize services starting with digit.
17105
8d6bb57c
DM
171062013-11-06 David S. Miller <davem@davemloft.net>
17107
17108 [BZ #15985]
17109 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
17110 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
17111
e256c421
WN
171122013-11-06 Will Newton <will.newton@linaro.org>
17113
17114 * manual/memory.texi (Malloc Examples): Remove register
17115 keyword from examples.
17116
f6e12daa 171172013-11-04 Chris Leonard <cjl@sugarlabs.org>
1484e657 17118
f6e12daa 17119 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
1484e657 17120
9d880655
AS
171212013-11-04 Joseph Myers <joseph@codesourcery.com>
17122
fd2f9486 17123 [BZ #6981]
9d880655
AS
17124 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
17125 depending on [__GCC_IEC_559 > 0].
17126 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
17127 depending on [__GCC_IEC_559_COMPLEX > 0].
17128
ae129d3c
CL
171292013-11-03 Chris Leonard <cjl@sugarlabs.org>
17130
17131 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
17132 to iso-639.def.
17133
4a15c2a4 171342013-11-03 Ondřej Bílka <neleai@seznam.cz>
17c8c3dc
OB
17135
17136 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
17137
8b35e35d
OB
171382013-11-01 Ondřej Bílka <neleai@seznam.cz>
17139
17140 [BZ #16112]
17141 * malloc/malloc (malloc_info): Do not handle first bin as
17142 special case.
17143
1d70fd6c
CL
171442013-11-01 Chris Leonard <cjl@sugarlabs.org>
17145
17146 * locale/iso-639.def: Add Central Nahuatl (nhn).
17147
8c5c2600
BH
171482013-11-01 Bruno Haible <bruno@clisp.org>
17149
17150 [BZ #7003]
17151 * manual/math.texi (BSD Random): Specify range upper bound as
17152 in POSIX.
17153
da5579c2
CL
171542013-10-31 Chris Leonard <cjl@sugarlabs.org>
17155
17156 * locale/iso-639.def: Add Meadow Mari (mhr).
17157
5d30d853
OB
171582013-10-31 Ondřej Bílka <neleai@seznam.cz>
17159
17160 [BZ #14752], [BZ #15763]
17161 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
17162 Validate name.
17163 * rt/tst_shm.c: Add test for escaping directory.
17164
a4966c61
AS
171652013-10-31 Andreas Schwab <schwab@suse.de>
17166
8a43e768 17167 [BZ #15917]
a4966c61
AS
17168 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
17169 followed by 'x' as part of digit sequence.
17170 * stdio-common/tst-sscanf.c (double_tests2): New tests.
17171
28d708c4
MAP
171722013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
17173
17174 [BZ #16037]
17175 * configure.ac: allow GNU Make 4.0 and greater.
17176 * configure: Regenerated.
17177
a56ee40b
WN
171782013-10-30 Will Newton <will.newton@linaro.org>
17179
17180 [BZ #16038]
17181 * malloc/hooks.c (memalign_check): Limit alignment to the
17182 maximum representable power of two.
17183 * malloc/malloc.c (__libc_memalign): Likewise.
17184 * malloc/tst-memalign.c (do_test): Add test for very
17185 large alignment values.
17186 * malloc/tst-posix_memalign.c (do_test): Likewise.
17187
c6e4925d
OB
171882013-10-30 Ondřej Bílka <neleai@seznam.cz>
17189
17190 [BZ #11087]
17191 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
17192 (munmap_chunk): Likewise.
17193 (mremap_chunk): Likewise.
17194
171952013-10-30 Ondřej Bílka <neleai@seznam.cz>
bbea82f7 17196
8a43e768 17197 [BZ #15799]
bbea82f7
OB
17198 * stdlib/div.c (div): Remove obsolete code.
17199 * stdlib/ldiv.c (ldiv): Likewise.
17200 * stdlib/lldiv.c (lldiv): Likewise.
17201
977f4b31
SP
172022013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
17203
17204 [BZ #16071]
17205 * nss/nss_files/files-XXX.c (get_contents_ret): New
17206 enumerator.
17207 (get_contents): New function.
17208 (internal_getent): Use it. Expand size of LINEBUFLEN.
17209
cb8a6dbd
MF
172102013-10-30 Mike Frysinger <vapier@gentoo.org>
17211
17212 * configure.in: Moved to ...
17213 * configure.ac: ... here. Change reference to configure.in
17214 to configure.ac.
17215 * sysdeps/arm/preconfigure.ac: ... here.
17216 configure.in to configure.ac.
17217 * sysdeps/gnu/configure.in: Moved to ...
17218 * sysdeps/gnu/configure.ac: ... here.
17219 * sysdeps/i386/configure.in: Moved to ...
17220 * sysdeps/i386/configure.ac: ... here.
17221 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
17222 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
17223 * sysdeps/mach/configure.in: Moved to ...
17224 * sysdeps/mach/configure.ac: ... here.
17225 * sysdeps/mach/hurd/configure.in: Moved to ...
17226 * sysdeps/mach/hurd/configure.ac: ... here.
17227 * sysdeps/powerpc/configure.in: Moved to ...
17228 * sysdeps/powerpc/configure.ac: ... here.
17229 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
17230 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
17231 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
17232 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
17233 * sysdeps/s390/s390-32/configure.in: Moved to ...
17234 * sysdeps/s390/s390-32/configure.ac: ... here.
17235 * sysdeps/s390/s390-64/configure.in: Moved to ...
17236 * sysdeps/s390/s390-64/configure.ac: ... here.
17237 * sysdeps/sh/configure.in: Moved to ...
17238 * sysdeps/sh/configure.ac: ... here.
17239 * sysdeps/sparc/configure.in: Moved to ...
17240 * sysdeps/sparc/configure.ac: ... here.
17241 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
17242 * sysdeps/unix/sysv/linux/configure.ac: ... here.
17243 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
17244 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
17245 * sysdeps/x86_64/configure.in: Moved to ...
17246 * sysdeps/x86_64/configure.ac: ... here.
17247 * sysdeps/x86_64/preconfigure.in: Moved to ...
17248 * sysdeps/x86_64/preconfigure.ac: ... here.
17249 * aclocal.m4: Change reference to configure.in to configure.ac.
17250 * config.h.in: Likewise.
17251 * manual/install.texi: Likewise.
17252 * manual/maint.texi: Likewise.
17253 * Makefile: Likewise.
17254 * malloc/Makefile: Likewise.
17255 * nscd/Makefile: Likewise.
17256 * Makeconfig: Change reference to configure.in and
17257 preconfigure.in to configure.ac and preconfigure.ac
17258 respectively.
17259 * INSTALL: Regenerated.
17260 * configure: Likewise.
17261 * sysdeps/gnu/configure: Likewise.
17262 * sysdeps/i386/configure: Likewise.
17263 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
17264 * sysdeps/mach/configure: Likewise.
17265 * sysdeps/mach/hurd/configure: Likewise.
17266 * sysdeps/powerpc/configure: Likewise.
17267 * sysdeps/powerpc/powerpc32/configure: Likewise.
17268 * sysdeps/powerpc/powerpc64/configure: Likewise.
17269 * sysdeps/s390/s390-32/configure: Likewise.
17270 * sysdeps/s390/s390-64/configure: Likewise.
17271 * sysdeps/sh/configure: Likewise.
17272 * sysdeps/sparc/configure: Likewise.
17273 * sysdeps/unix/sysv/linux/configure: Likewise.
17274 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
17275 * sysdeps/x86_64/configure: Likewise.
17276 * sysdeps/x86_64/preconfigure: Likewise.
17277
36a4953a
AS
172782013-10-29 Andreas Schwab <schwab@suse.de>
17279
17280 * stdio-common/Makefile (tst-swscanf-ENV): Define.
17281
c79a1204
SP
172822013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
17283
dfa1b402
SP
17284 * benchtests/pow-inputs: Add new inputs.
17285
54f73d9c
SP
17286 * benchtests/exp-inputs: Add new inputs.
17287
c79a1204
SP
17288 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
17289 conditional check for return value.
17290 (__cos32): Likewise.
17291
67beb545 172922013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
69f13dbf
AZ
17293
17294 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
17295 to provide a boost for large inputs with word alignment.
17296 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
17297 implementation based on optimized PPC64 strcpy.
17298 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
17299 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
17300 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
17301 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
17302
151659f6
OB
173032013-10-25 Ondřej Bílka <neleai@seznam.cz>
17304
482a077e 17305 [BZ #2801]
151659f6
OB
17306 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
17307
10b0f26b
OB
173082013-10-25 Ondřej Bílka <neleai@seznam.cz>
17309
17310 [BZ #14876]
17311 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
17312 * time/tst-strptime.c (day_tests): Add testcase.
17313
ca42d35e
OB
173142013-10-25 Ondřej Bílka <neleai@seznam.cz>
17315
482a077e 17316 [BZ #14029]
ca42d35e
OB
17317 * manual/pattern.texi: Acknowledge that fnmatch can fail.
17318
52e6d801
FB
173192013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
17320
17321 [BZ #16074]
17322 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
17323 MAP_FAILED on error.
17324
7cbcdb36
SP
173252013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
17326
17327 [BZ #16072]
17328 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
17329 heap for large requests.
17330
894f3f10
AM
173312013-10-25 Aurelien Jarno <aurelien@aurel32.net>
17332
17333 [BZ #9954]
17334 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
17335 result if the result has no associated interface.
17336 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
17337 interface for all 127.X.Y.Z addresses.
17338
b85545a6
CL
173392013-10-24 Chris Leonard <cjl@sugarlabs.org>
17340
17341 * locale/iso-639.def: Add Ligurian (lij)
17342
d1f23d46
OB
173432013-10-21 Ondřej Bílka <neleai@seznam.cz>
17344
17345 [BZ #15825]
17346 * sunrpc/rpc_main.c: Document rpcgen -5.
17347
4db5b08f
MS
173482013-10-19 Michael Stahl <mstahl@redhat.com>
17349
17350 * elf/rtld.c (do_preload): Print the reason why preloading failed.
17351
a471e96a
OB
173522013-10-19 Ondřej Bílka <neleai@seznam.cz>
17353
d1f23d46 17354 [BZ #10278]
a471e96a
OB
17355 * posix/glob.c: Match only directories when trailing slash is present.
17356 * posix/tst-gnuglob.c (my_opendir): Do not open files.
17357 (main): Add testcase.
17358
45c30c61
OB
173592013-10-19 Ondřej Bílka <neleai@seznam.cz>
17360
17361 [BZ #15670]
17362 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
17363
484c12fb
CD
173642013-10-18 Carlos O'Donell <carlos@redhat.com>
17365
3d7dc513
CD
17366 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
17367 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
17368 AUTH_DES and cindex for FIPS 140-2.
17369 (DES Encryption): Add cindex FIPS 46-3.
17370
484c12fb
CD
17371 * locale/locarchive.h (struct locarhandle): Add fname.
17372 * locale/programs/localedef.c (main): Pass ARGV[remaining]
17373 if an optional argument was specified to --list-archive,
17374 otherwise NULL.
17375 * locale/programs/locarchive.c (show_archive_content): Take new
17376 argument fname and pass it via ah.fname to open_archive.
17377 * locale/programs/localedef.h: Update decl.
17378 (open_archive): If AH->fname is non-null, open that file
17379 rather than the default file name, and don't ignore ENOENT.
17380 (create_archive): Set AH.fname to NULL.
17381 (delete_locales_from_archive): Likewise.
17382 (add_locales_to_archive): Likewise.
17383 * locale/programs/locfile.c (write_all_categories): Likewise.
17384
3c8325fb
JM
173852013-10-18 Joseph Myers <joseph@codesourcery.com>
17386 Aldy Hernandez <aldyh@redhat.com>
17387
17388 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
17389 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
17390 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
17391 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
17392 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
17393 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
17394 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
17395 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
17396 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
17397 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
17398 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
17399 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
17400 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
17401 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
17402 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
17403 Likewise.
17404 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
17405 Likewise.
17406 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
17407 Likewise.
17408 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
17409 Likewise.
17410 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
17411 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
17412 Likewise.
17413 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
17414 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
17415 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
17416 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
17417 Likewise.
17418 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
17419 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
17420 * sysdeps/powerpc/preconfigure: Likewise.
17421 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
17422 Likewise.
17423 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
17424 Replace contents of file by #include of <fenv_libc.h>.
17425 * sysdeps/powerpc/soft-fp/sfp-machine.h
17426 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
17427 and <sys/prctl.h>.
17428 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
17429 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
17430 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
17431 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
17432 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
17433 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
17434 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
17435 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
17436 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
17437 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
17438 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
17439 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
17440 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
17441 Allow copysignl PLT reference to be missing.
17442
5abe0682
RS
174432013-10-18 Richard Sandiford <richard@codesourcery.com>
17444 Joseph Myers <joseph@codesourcery.com
17445
17446 [BZ #15948]
17447 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
17448 single character.
17449 (add_to_tablewc): Assert sequence of wide characters is nonempty.
17450
c7738d08
SP
174512013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
17452
17453 * elf/tst-tls-dlinfo.c: Don't include tls.h.
17454 * elf/tst-tls1.c: Likewise.
17455 * elf/tst-tls10.h: Likewise.
17456 * elf/tst-tls14.c: Likewise.
17457 * elf/tst-tls2.c: Likewise.
17458 * elf/tst-tls3.c: Likewise.
17459 * elf/tst-tls4.c: Likewise.
17460 * elf/tst-tls5.c: Likewise.
17461 * elf/tst-tls6.c: Likewise.
17462 * elf/tst-tls7.c: Likewise.
17463 * elf/tst-tls8.c: Likewise.
17464 * elf/tst-tls9.c: Likewise.
17465 * elf/tst-tlsmod1.c: Likewise.
17466 * elf/tst-tlsmod13.c: Likewise.
17467 * elf/tst-tlsmod13a.c: Likewise.
17468 * elf/tst-tlsmod14a.c: Likewise.
17469 * elf/tst-tlsmod16a.c: Likewise.
17470 * elf/tst-tlsmod16b.c: Likewise.
17471 * elf/tst-tlsmod2.c: Likewise.
17472 * elf/tst-tlsmod3.c: Likewise.
17473 * elf/tst-tlsmod4.c: Likewise.
17474 * elf/tst-tlsmod5.c: Likewise.
17475 * elf/tst-tlsmod6.c: Likewise.
17476
0bfcf2c7
OB
174772013-10-18 Ondřej Bílka <neleai@seznam.cz>
17478
17479 [BZ #12486]
17480 * malloc/malloc.c: remove checks for statistics.
17481
264aad1e
OB
174822013-10-17 Ondřej Bílka <neleai@seznam.cz>
17483
17484 [BZ #15277]
17485 * inet/inet_net.c (inet_network): Detect additional invalid strings.
17486 * inet/tst-network.c: Add testcase.
17487
b957ced8
AS
174882013-10-17 Andreas Schwab <schwab@suse.de>
17489
17490 [BZ #15218]
17491 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
17492 to determine canonical name.
17493
c5d5d574
OB
174942013-10-17 Ondřej Bílka <neleai@seznam.cz>
17495
17496 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
17497 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
17498 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
17499 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
17500 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
17501 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
17502 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
17503 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
17504 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
17505 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
17506 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
17507 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
17508 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
17509 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
17510 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
17511 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
17512 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
17513 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
17514 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
17515 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
17516 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
17517 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
17518 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
17519 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
17520 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
17521 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
17522 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
17523 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
17524 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
17525 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
17526 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
17527 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
17528 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
17529 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
17530 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
17531 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
17532 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
17533 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
17534 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
17535 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
17536 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
17537 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
17538 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
17539 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
17540 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
17541 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
17542 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
17543 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
17544 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
17545 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
17546 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
17547 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
17548 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
17549 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
17550 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
17551 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
17552 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
17553 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
17554
e5c2c2d0
JM
175552013-10-17 Joseph Myers <joseph@codesourcery.com>
17556
17557 [BZ #16041]
17558 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
17559 make result into a quiet NaN.
17560
51ca9e29
JM
175612013-10-16 Joseph Myers <joseph@codesourcery.com>
17562
17563 * soft-fp/adddf3.c: Fix horizontal whitespace.
17564 * soft-fp/addsf3.c: Likewise.
17565 * soft-fp/addtf3.c: Likewise.
17566 * soft-fp/divdf3.c: Likewise.
17567 * soft-fp/divsf3.c: Likewise.
17568 * soft-fp/divtf3.c: Likewise.
17569 * soft-fp/double.h: Likewise.
17570 * soft-fp/eqdf2.c: Likewise.
17571 * soft-fp/eqsf2.c: Likewise.
17572 * soft-fp/eqtf2.c: Likewise.
17573 * soft-fp/extenddftf2.c: Likewise.
17574 * soft-fp/extended.h: Likewise.
17575 * soft-fp/extendsfdf2.c: Likewise.
17576 * soft-fp/extendsftf2.c: Likewise.
17577 * soft-fp/extendxftf2.c: Likewise.
17578 * soft-fp/fixdfdi.c: Likewise.
17579 * soft-fp/fixdfsi.c: Likewise.
17580 * soft-fp/fixdfti.c: Likewise.
17581 * soft-fp/fixsfdi.c: Likewise.
17582 * soft-fp/fixsfsi.c: Likewise.
17583 * soft-fp/fixsfti.c: Likewise.
17584 * soft-fp/fixtfdi.c: Likewise.
17585 * soft-fp/fixtfsi.c: Likewise.
17586 * soft-fp/fixtfti.c: Likewise.
17587 * soft-fp/fixunsdfdi.c: Likewise.
17588 * soft-fp/fixunsdfsi.c: Likewise.
17589 * soft-fp/fixunsdfti.c: Likewise.
17590 * soft-fp/fixunssfdi.c: Likewise.
17591 * soft-fp/fixunssfsi.c: Likewise.
17592 * soft-fp/fixunssfti.c: Likewise.
17593 * soft-fp/fixunstfdi.c: Likewise.
17594 * soft-fp/fixunstfsi.c: Likewise.
17595 * soft-fp/fixunstfti.c: Likewise.
17596 * soft-fp/floatdidf.c: Likewise.
17597 * soft-fp/floatdisf.c: Likewise.
17598 * soft-fp/floatditf.c: Likewise.
17599 * soft-fp/floatsidf.c: Likewise.
17600 * soft-fp/floatsisf.c: Likewise.
17601 * soft-fp/floatsitf.c: Likewise.
17602 * soft-fp/floattidf.c: Likewise.
17603 * soft-fp/floattisf.c: Likewise.
17604 * soft-fp/floattitf.c: Likewise.
17605 * soft-fp/floatundidf.c: Likewise.
17606 * soft-fp/floatundisf.c: Likewise.
17607 * soft-fp/floatunditf.c: Likewise.
17608 * soft-fp/floatunsidf.c: Likewise.
17609 * soft-fp/floatunsisf.c: Likewise.
17610 * soft-fp/floatunsitf.c: Likewise.
17611 * soft-fp/floatuntidf.c: Likewise.
17612 * soft-fp/floatuntisf.c: Likewise.
17613 * soft-fp/floatuntitf.c: Likewise.
17614 * soft-fp/fmadf4.c: Likewise.
17615 * soft-fp/fmasf4.c: Likewise.
17616 * soft-fp/fmatf4.c: Likewise.
17617 * soft-fp/gedf2.c: Likewise.
17618 * soft-fp/gesf2.c: Likewise.
17619 * soft-fp/getf2.c: Likewise.
17620 * soft-fp/ledf2.c: Likewise.
17621 * soft-fp/lesf2.c: Likewise.
17622 * soft-fp/letf2.c: Likewise.
17623 * soft-fp/muldf3.c: Likewise.
17624 * soft-fp/mulsf3.c: Likewise.
17625 * soft-fp/multf3.c: Likewise.
17626 * soft-fp/negdf2.c: Likewise.
17627 * soft-fp/negsf2.c: Likewise.
17628 * soft-fp/negtf2.c: Likewise.
17629 * soft-fp/op-1.h: Likewise.
17630 * soft-fp/op-2.h: Likewise.
17631 * soft-fp/op-4.h: Likewise.
17632 * soft-fp/op-8.h: Likewise.
17633 * soft-fp/op-common.h: Likewise.
17634 * soft-fp/quad.h: Likewise.
17635 * soft-fp/single.h: Likewise.
17636 * soft-fp/soft-fp.h: Likewise.
17637 * soft-fp/sqrtdf2.c: Likewise.
17638 * soft-fp/sqrtsf2.c: Likewise.
17639 * soft-fp/sqrttf2.c: Likewise.
17640 * soft-fp/subdf3.c: Likewise.
17641 * soft-fp/subsf3.c: Likewise.
17642 * soft-fp/subtf3.c: Likewise.
17643 * soft-fp/truncdfsf2.c: Likewise.
17644 * soft-fp/trunctfdf2.c: Likewise.
17645 * soft-fp/trunctfsf2.c: Likewise.
17646 * soft-fp/trunctfxf2.c: Likewise.
17647 * soft-fp/unorddf2.c: Likewise.
17648 * soft-fp/unordsf2.c: Likewise.
17649 * soft-fp/unordtf2.c: Likewise.
17650
9ebb0332
JM
176512013-10-15 Joseph Myers <joseph@codesourcery.com>
17652
17653 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
17654 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
17655
4b1a6d8b
OB
176562013-10-15 Ondřej Bílka <neleai@seznam.cz>
17657
17658 * elf/dl-libc.c: Clear initfini list after freeing.
17659
1e145589
JM
176602013-10-14 Joseph Myers <joseph@codesourcery.com>
17661
17662 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
17663 * soft-fp/addsf3.c: Likewise.
17664 * soft-fp/addtf3.c: Likewise.
17665 * soft-fp/divdf3.c: Likewise.
17666 * soft-fp/divsf3.c: Likewise.
17667 * soft-fp/divtf3.c: Likewise.
17668 * soft-fp/double.h: Likewise.
17669 * soft-fp/eqdf2.c: Likewise.
17670 * soft-fp/eqsf2.c: Likewise.
17671 * soft-fp/eqtf2.c: Likewise.
17672 * soft-fp/extenddftf2.c: Likewise.
17673 * soft-fp/extended.h: Likewise.
17674 * soft-fp/extendsfdf2.c: Likewise.
17675 * soft-fp/extendsftf2.c: Likewise.
17676 * soft-fp/extendxftf2.c: Likewise.
17677 * soft-fp/fixdfdi.c: Likewise.
17678 * soft-fp/fixdfsi.c: Likewise.
17679 * soft-fp/fixdfti.c: Likewise.
17680 * soft-fp/fixsfdi.c: Likewise.
17681 * soft-fp/fixsfsi.c: Likewise.
17682 * soft-fp/fixsfti.c: Likewise.
17683 * soft-fp/fixtfdi.c: Likewise.
17684 * soft-fp/fixtfsi.c: Likewise.
17685 * soft-fp/fixtfti.c: Likewise.
17686 * soft-fp/fixunsdfdi.c: Likewise.
17687 * soft-fp/fixunsdfsi.c: Likewise.
17688 * soft-fp/fixunsdfti.c: Likewise.
17689 * soft-fp/fixunssfdi.c: Likewise.
17690 * soft-fp/fixunssfsi.c: Likewise.
17691 * soft-fp/fixunssfti.c: Likewise.
17692 * soft-fp/fixunstfdi.c: Likewise.
17693 * soft-fp/fixunstfsi.c: Likewise.
17694 * soft-fp/fixunstfti.c: Likewise.
17695 * soft-fp/floatdidf.c: Likewise.
17696 * soft-fp/floatdisf.c: Likewise.
17697 * soft-fp/floatditf.c: Likewise.
17698 * soft-fp/floatsidf.c: Likewise.
17699 * soft-fp/floatsisf.c: Likewise.
17700 * soft-fp/floatsitf.c: Likewise.
17701 * soft-fp/floattidf.c: Likewise.
17702 * soft-fp/floattisf.c: Likewise.
17703 * soft-fp/floattitf.c: Likewise.
17704 * soft-fp/floatundidf.c: Likewise.
17705 * soft-fp/floatundisf.c: Likewise.
17706 * soft-fp/floatunsidf.c: Likewise.
17707 * soft-fp/floatunsisf.c: Likewise.
17708 * soft-fp/floatuntidf.c: Likewise.
17709 * soft-fp/floatuntisf.c: Likewise.
17710 * soft-fp/floatuntitf.c: Likewise.
17711 * soft-fp/fmadf4.c: Likewise.
17712 * soft-fp/fmasf4.c: Likewise.
17713 * soft-fp/fmatf4.c: Likewise.
17714 * soft-fp/gedf2.c: Likewise.
17715 * soft-fp/gesf2.c: Likewise.
17716 * soft-fp/getf2.c: Likewise.
17717 * soft-fp/ledf2.c: Likewise.
17718 * soft-fp/lesf2.c: Likewise.
17719 * soft-fp/letf2.c: Likewise.
17720 * soft-fp/muldf3.c: Likewise.
17721 * soft-fp/mulsf3.c: Likewise.
17722 * soft-fp/multf3.c: Likewise.
17723 * soft-fp/negdf2.c: Likewise.
17724 * soft-fp/negsf2.c: Likewise.
17725 * soft-fp/negtf2.c: Likewise.
17726 * soft-fp/op-1.h: Likewise.
17727 * soft-fp/op-2.h: Likewise.
17728 * soft-fp/op-4.h: Likewise.
17729 * soft-fp/op-8.h: Likewise.
17730 * soft-fp/op-common.h: Likewise.
17731 * soft-fp/quad.h: Likewise.
17732 * soft-fp/single.h: Likewise.
17733 * soft-fp/soft-fp.h: Likewise.
17734 * soft-fp/sqrtdf2.c: Likewise.
17735 * soft-fp/sqrtsf2.c: Likewise.
17736 * soft-fp/sqrttf2.c: Likewise.
17737 * soft-fp/subdf3.c: Likewise.
17738 * soft-fp/subsf3.c: Likewise.
17739 * soft-fp/subtf3.c: Likewise.
17740 * soft-fp/truncdfsf2.c: Likewise.
17741 * soft-fp/trunctfdf2.c: Likewise.
17742 * soft-fp/trunctfsf2.c: Likewise.
17743 * soft-fp/trunctfxf2.c: Likewise.
17744 * soft-fp/unorddf2.c: Likewise.
17745 * soft-fp/unordsf2.c: Likewise.
17746 * soft-fp/unordtf2.c: Likewise.
17747
17c48a60
OB
177482013-10-14 Ondřej Bílka <neleai@seznam.cz>
17749
17750 [BZ #15672]
17751 * misc/error.c (error_tail): Fix possible buffer overflow.
17752
cabba934
OB
177532013-10-14 Aurelien Jarno <aurelien@aurel32.net>
17754
17755 [BZ #13028]
17756 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
17757 address.
17758
94bf958a
PM
177592013-10-14 P. J. McDermott <pj@pehjota.net>
17760
17761 [BZ #832]
17762 * elf/ldd.bash.in (try_trace): New function. Delete previous code
17763 testing pipefail option.
17764
71b4dea7
JM
177652013-10-12 Joseph Myers <joseph@codesourcery.com>
17766
17767 * soft-fp/double.h: Indent preprocessor directives inside #if.
17768 * soft-fp/extended.h: Likewise.
17769 * soft-fp/op-2.h: Likewise.
17770 * soft-fp/op-4.h: Likewise.
17771 * soft-fp/op-common.h: Likewise.
17772 * soft-fp/quad.h: Likewise.
17773 * soft-fp/single.h: Likewise.
17774 * soft-fp/soft-fp.h: Likewise.
17775
55602758
YC
177762013-10-12 Yuri Chornoivan <yurchor@ukr.net>
17777
17778 * iconv/iconv_prog.c: Fix typos.
17779 * stdio-common/psiginfo-data.h: Likewise.
17780
9cd83302
RT
177812013-10-12 Reuben Thomas <rrt@sc3d.org>
17782
17783 [BZ #15764]
17784 * locale/setlocale.c: Fix typo.
17785
99fd9f47
JM
177862013-10-12 Joseph Myers <joseph@codesourcery.com>
17787
b7ea74f0
JM
17788 [BZ #16036]
17789 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
17790 signaling NaN arguments.
17791 * soft-fp/unordsf2.c (__unordsf2): Likewise.
17792 * soft-fp/unordtf2.c (__unordtf2): Likewise.
17793
8a509447
JM
17794 [BZ #14910]
17795 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
17796 unordered operands.
17797 * soft-fp/gesf2.c (__gesf2): Likewise.
17798 * soft-fp/getf2.c (__getf2): Likewise.
17799 * soft-fp/ledf2.c (__ledf2): Likewise.
17800 * soft-fp/lesf2.c (__lesf2): Likewise.
17801 * soft-fp/letf2.c (__letf2): Likewise.
17802
98998e9f
JM
17803 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
17804 * soft-fp/eqsf2.c (__eqsf2): Likewise.
17805 * soft-fp/eqtf2.c (__eqtf2): Likewise.
17806 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
17807 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
17808 * soft-fp/fixdfti.c (__fixdfti): Likewise.
17809 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
17810 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
17811 * soft-fp/fixsfti.c (__fixsfti): Likewise.
17812 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
17813 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
17814 * soft-fp/fixtfti.c (__fixtfti): Likewise.
17815 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
17816 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
17817 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
17818 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
17819 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
17820 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
17821 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
17822 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
17823 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
17824 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
17825 * soft-fp/floatdisf.c (__floatdisf): Likewise.
17826 * soft-fp/floatsisf.c (__floatsisf): Likewise.
17827 * soft-fp/floattidf.c (__floattidf): Likewise.
17828 * soft-fp/floattisf.c (__floattisf): Likewise.
17829 * soft-fp/floattitf.c (__floattitf): Likewise.
17830 * soft-fp/floatundidf.c (__floatundidf): Likewise.
17831 * soft-fp/floatundisf.c (__floatundisf): Likewise.
17832 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
17833 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
17834 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
17835 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
17836 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
17837 * soft-fp/gesf2.c (__gesf2): Likewise.
17838 * soft-fp/getf2.c (__getf2): Likewise.
17839 * soft-fp/ledf2.c (__ledf2): Likewise.
17840 * soft-fp/lesf2.c (__lesf2): Likewise.
17841 * soft-fp/letf2.c (__letf2): Likewise.
17842
8edc4a11
JM
17843 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
17844 Undefine and redefine.
17845 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
17846 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
17847 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
17848 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
17849 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
17850 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
17851 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
17852 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
17853 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
17854 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
17855 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
17856 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
17857 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
17858 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
17859 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
17860
8399acaf
JM
17861 [BZ #16032]
17862 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
17863 without decrementing exponent if mantissa >= that for the
17864 denominator, not >.
17865 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
17866 denominator, not >. Decrement exponent in < case instead of
17867 incrementing in >= case.
17868 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
17869 without decrementing exponent if mantissa >= that for the
17870 denominator, not >.
17871
99fd9f47
JM
17872 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
17873 computing saturated result for unsigned overflow.
17874
10e1cf6b
SP
178752013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
17876 Jeff Law <law@redhat.com>
17877
17878 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
17879 (atan2Mp): Add systemtap probe marker.
17880 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
17881 (__ieee754_log): Add systemtap probe marker.
17882 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
17883 (atanMp): Add systemtap probe marker.
17884 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
17885 (tanMp): Add systemtap probe marker.
17886 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
17887 (__slowexp): Add systemtap probe marker.
17888 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
17889 (__slowpow): Add systemtap probe marker.
17890 * manual/probes.texi: Document probes.
17891
3d110c7c
EB
178922013-10-11 Eric Biggers <ebiggers3@gmail.com>
17893
17894 [BZ #15362]
17895 * libio/fileops.c (_IO_new_file_write): Return count of bytes
17896 written.
17897 (_IO_new_file_xsputn): Don't return EOF if nothing has been
17898 written.
17899 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
17900 written to buffer but not flushed.
17901 * libio/iofwrite_u.c: Likewise.
17902 * libio/iopadn.c: Return bytes returned even if EOF was
17903 encountered.
17904 * libio/iowpadn.c: Likewise.
17905 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
17906 if _IO_padn does not write the whole buffer.
17907 [!COMPILE_WPRINTF] (PAD): Likewise.
17908
75b4202a
DM
179092013-10-10 David S. Miller <davem@davemloft.net>
17910
17911 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
17912 directory block.
17913
6c6352e6
JM
179142013-10-10 Joseph Myers <joseph@codesourcery.com>
17915
33b853c3
JM
17916 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
17917 instead of FSF address.
17918 * soft-fp/fixdfti.c: Likewise.
17919 * soft-fp/fixsfti.c: Likewise.
17920 * soft-fp/fixtfti.c: Likewise.
17921 * soft-fp/fixunsdfti.c: Likewise.
17922 * soft-fp/fixunssfti.c: Likewise.
17923 * soft-fp/fixunstfti.c: Likewise.
17924 * soft-fp/floattidf.c: Likewise.
17925 * soft-fp/floattisf.c: Likewise.
17926 * soft-fp/floattitf.c: Likewise.
17927 * soft-fp/floatuntidf.c: Likewise.
17928 * soft-fp/floatuntisf.c: Likewise.
17929 * soft-fp/floatuntitf.c: Likewise.
17930 * soft-fp/trunctfxf2.c: Likewise.
17931
6c6352e6
JM
17932 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
17933 * soft-fp/fixdfti.c: Likewise.
17934 * soft-fp/fixsfti.c: Likewise.
17935 * soft-fp/fixtfti.c: Likewise.
17936 * soft-fp/fixunsdfti.c: Likewise.
17937 * soft-fp/fixunssfti.c: Likewise.
17938 * soft-fp/fixunstfti.c: Likewise.
17939 * soft-fp/floattidf.c: Likewise.
17940 * soft-fp/floattisf.c: Likewise.
17941 * soft-fp/floattitf.c: Likewise.
17942 * soft-fp/floatuntidf.c: Likewise.
17943 * soft-fp/floatuntisf.c: Likewise.
17944 * soft-fp/floatuntitf.c: Likewise.
17945 * soft-fp/trunctfxf2.c: Likewise.
17946
3bf78b71
DM
179472013-10-10 David S. Miller <davem@davemloft.net>
17948
17949 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17950
6f10289e
JM
179512013-10-10 Joseph Myers <joseph@codsourcery.com>
17952
bd878fc0
JM
17953 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
17954 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
17955 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
17956 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
17957 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
17958 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
17959 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
17960
6f10289e
JM
17961 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
17962 for NaNs before doing comparisons on argument.
17963 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
17964 Likewise.
17965
321e2684
WN
179662013-10-10 Will Newton <will.newton@linaro.org>
17967
17968 * malloc/hooks.c (memalign_check): Ensure the value of bytes
17969 passed to _int_memalign does not overflow.
17970
40fefba1
TR
179712013-10-10 Torvald Riegel <triegel@redhat.com>
17972
17973 * scripts/bench.pl: Add include-sources directive.
17974 * benchtests/README: Update documentation.
17975
2ae21ed2
JM
179762013-10-10 Joseph Myers <joseph@codesourcery.com>
17977
dcc2dd3f
JM
17978 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
17979 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
17980 instead of FP_INIT_ROUNDMODE.
17981 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
17982 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
17983
2ae21ed2
JM
17984 [BZ #16034]
17985 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
17986 copy class of input value.
17987 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
17988 not handle exceptions.
17989 * soft-fp/negsf2.c (__negsf2): Likewise.
17990 * soft-fp/negtf2.c (__negtf2): Likewise.
17991 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
17992
cb8f9562
JM
179932013-10-09 Joseph Myers <joseph@codesourcery.com>
17994
17995 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
17996 semicolon. From Linux kernel.
17997
5b60c59d
AB
179982013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
17999
18000 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
18001
b86835ca
YC
180022013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
18003
18004 [BZ #156]
18005 * manual/socket.texi: Added statement about buffer
18006 for gethostbyname2_r.
18007
e7044ea7
OB
180082013-10-08 Ondřej Bílka <neleai@seznam.cz>
18009
18010 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
18011 Use .p2align directive instead, throughout.
18012 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
18013 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
18014 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
18015 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
18016 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
18017 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
18018 * sysdeps/x86_64/strchr.S: Likewise.
18019 * sysdeps/x86_64/strrchr.S: Likewise.
18020
09544cbc
SP
180212013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
18022
88576635
SP
18023 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
18024
e7b2d1dd
SP
18025 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
18026
09544cbc
SP
18027 * sysdeps/generic/math_private.h (__mpsin1): Remove
18028 declaration.
18029 (__mpcos1): Likewise.
18030 (__mpsin): New argument __range_reduce.
18031 (__mpcos): Likewise.
18032 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
18033 (slow): Use __mpsin and __mpcos.
18034 (slow1): Likewise.
18035 (slow2): Likewise.
18036 (sloww): Likewise.
18037 (sloww1): Likewise.
18038 (sloww2): Likewise.
18039 (bsloww): Likewise.
18040 (bsloww1): Likewise.
18041 (bsloww2): Likewise.
18042 (cslow2): Likewise.
18043 (csloww): Likewise.
18044 (csloww1): Likewise.
18045 (csloww2): Likewise.
18046 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
18047 range_reduce. Merge in __mpsin1.
18048 (__mpcos): Likewise.
18049 (__mpsin1): Remove.
18050 (__mpcos1): Likewise.
18051
7602d070
JM
180522013-10-07 Joseph Myers <joseph@codesourcery.com>
18053
18054 * locale/loadlocale.c (_nl_intern_locale_data): Use
18055 LOCFILE_ALIGNED_P.
18056 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
18057 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
18058 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
18059 obstack data is appropriately aligned.
18060 (obstack_int32_grow_fast): Likewise.
18061 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
18062 * locale/programs/locfile.c (add_locale_uint32): Likewise.
18063 (add_locale_uint32_array): Likewise.
18064
a357259b
SP
180652013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
18066
18067 * benchtests/Makefile: Remove ARGLIST and RET variables.
18068 ($(objpfx)bench-%.c): Pass only function name to the script.
18069 * benchtests/README: Update documentation.
18070 * benchtests/acos-inputs: Add new directives.
18071 * benchtests/acosh-inputs: Likewise.
18072 * benchtests/asin-inputs: Likewise.
18073 * benchtests/asinh-inputs: Likewise.
18074 * benchtests/atan-inputs: Likewise.
18075 * benchtests/atanh-inputs: Likewise.
18076 * benchtests/cos-inputs: Likewise.
18077 * benchtests/cosh-inputs: Likewise.
18078 * benchtests/exp-inputs: Likewise.
18079 * benchtests/log-inputs: Likewise.
18080 * benchtests/pow-inputs: Likewise.
18081 * benchtests/rint-inputs: Likewise.
18082 * benchtests/sin-inputs: Likewise.
18083 * benchtests/sinh-inputs: Likewise.
18084 * benchtests/tan-inputs: Likewise.
18085 * benchtests/tanh-inputs: Likewise.
18086 * scripts/bench.pl: Add support for new directives.
18087
9ec1b13d
AM
180882013-10-07 Alan Modra <amodra@gmail.com>
18089
18090 * README: Fix careless merge.
18091
8b7d57cd
AM
180922013-10-05 Alan Modra <amodra@gmail.com>
18093
18094 * NEWS: Mention powerpc64le support and bugs fixed.
18095 * README: Both big-endian and little-endian powerpc64 supported.
18096
7b7bab13
ST
180972013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
18098
57f41c40
AS
18099 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
18100 (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
7b7bab13
ST
18101 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
18102 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
18103
d39baad1
RA
181042013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
18105
18106 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
18107 match prototype.
18108
cd78f7e7
JM
181092013-10-04 Joseph Myers <joseph@codesourcery.com>
18110
29d73d86
JM
18111 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
18112 Move -mhard-float appending from
18113 ports/sysdeps/powerpc/powerpc32/Makefile.
18114 [$(with-fp) = yes] (ASFLAGS): Likewise.
18115 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
18116 * sysdeps/powerpc/nofpu: Move directory from
18117 ports/sysdeps/powerpc/nofpu.
18118 * sysdeps/powerpc/soft-fp: Move directory from
18119 ports/sysdeps/powerpc/soft-fp.
18120 * sysdeps/powerpc/powerpc32/405: Move directory from
18121 ports/sysdeps/powerpc/powerpc32/405.
18122 * sysdeps/powerpc/powerpc32/440: Move directory from
18123 ports/sysdeps/powerpc/powerpc32/440.
18124 * sysdeps/powerpc/powerpc32/464: Move directory from
18125 ports/sysdeps/powerpc/powerpc32/464.
18126 * sysdeps/powerpc/powerpc32/476: Move directory from
18127 ports/sysdeps/powerpc/powerpc32/476.
18128 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
18129 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
18130 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
18131 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
18132 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
18133 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
18134 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
18135 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
18136 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
18137 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
18138 * README: Update for powerpc-*-linux-gnu software floating point
18139 support in libc.
18140
e246b347
JM
18141 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
18142 case to powerpc/powerpc32*.
18143 * sysdeps/unix/sysv/linux/configure: Regenerated.
18144
89c2003e
JM
18145 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
18146 (_FPU_MASK_OM): Define as 0x04.
18147 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
18148 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
18149 0x00c10080.
18150 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
18151 0x0000003c.
18152 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
18153
cd78f7e7
JM
18154 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
18155 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
18156 getcontext_e500.
18157 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
18158 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
18159 setcontext_e500.
18160 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
18161 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
18162 and setcontext_e500.
18163
c755294d
CL
181642013-10-04 Chris Leonard <cjl@sugarlabs,.org>
18165
18166 * locale/iso-3166.def: Update iso-1366.def and related occurrences
18167
e16d221c
SP
181682013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
18169
18170 * manual/threads.texi (Default Thread Attributes): Fix typo.
18171
215c7d43
WN
181722013-10-04 Will Newton <will.newton@linaro.org>
18173
18174 * malloc/Makefile: Add tst-memalign.
18175 * malloc/tst-memalign.c: New file.
18176
27d0461b
WN
18177 * malloc/tst-posix_memalign.c: Add comments.
18178 (do_test): Add comments and call free on all potentially
18179 allocated pointers. Add space after cast.
18180
1bc92709
WN
18181 * malloc/tst-pvalloc.c: Add comments.
18182 (do_test): Add comments and call free on all potentially
18183 allocated pointers. Remove duplicate check for NULL pointer.
18184 Add space after cast.
18185
66a9be9d
WN
18186 * malloc/tst-valloc.c: Add comments.
18187 (do_test): Add comments and call free on all potentially
18188 allocated pointers. Remove duplicate check for NULL pointer.
18189 Add space after cast.
18190
4cb81307
AM
181912013-10-04 Alan Modra <amodra@gmail.com>
18192
18193 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
18194 Use stdint types in rather than __attribute__((mode())).
18195 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
18196
f8e3e9f3
AM
181972013-10-04 Alan Modra <amodra@gmail.com>
18198
18199 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
18200 Correct handling of unaligned relocs for little-endian.
18201 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
18202
8f9ebb08
AM
182032013-10-04 Alan Modra <amodra@gmail.com>
18204
18205 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
18206 * configure: Regenerate.
18207 * nptl/shlib-versions: Powerpc*le starts at 2.18.
18208 * shlib-versions: Likewise.
18209
0edf96c2
AM
182102013-10-04 Alan Modra <amodra@gmail.com>
18211
18212 * string/tester.c (test_memrchr): Increment reported test cycle.
18213
e0f7a380
AM
182142013-10-04 Alan Modra <amodra@gmail.com>
18215
18216 * string/test-memcpy.c (do_one_test): When reporting errors, print
18217 string address and don't overrun end of string.
18218
466b0393
AM
182192013-10-04 Alan Modra <amodra@gmail.com>
18220
18221 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
18222 insrdi. Make better use of reg selection to speed exit slightly.
18223 Schedule entry path a little better. Remove useless "are we done"
18224 checks on entry to main loop. Handle wrapping around zero address.
18225 Correct main loop count. Handle single left-over word from main
18226 loop inline rather than by using loop_small. Remove extra word
18227 case in loop_small caused by wrong loop count. Add little-endian
18228 support.
18229 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
18230 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
18231 cache hint.
18232 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
18233 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
18234 support. Avoid rlwimi.
18235 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
18236
3be87c77
AM
182372013-10-04 Alan Modra <amodra@gmail.com>
18238
18239 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
e3764517 18240 insrdi. Formatting.
3be87c77
AM
18241 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
18242 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
18243 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
18244 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
18245 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
18246 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
18247
759cfef3
AM
182482013-10-04 Alan Modra <amodra@gmail.com>
18249
18250 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
18251 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
18252 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
18253 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
18254 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
18255 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
18256 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
18257 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
18258 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
18259 use of regs. Use power7 mtocrf. Tidy function tails.
18260
fe6e95d7
AM
182612013-10-04 Alan Modra <amodra@gmail.com>
18262
18263 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
18264 Formatting. Consistently use rXXX register defines or rN defines.
18265 Use early exit labels that avoid restoring unused non-volatile regs.
18266 Make cr field use more consistent with rWORDn compares. Rename
18267 regs used as shift registers for unaligned loop, using rN defines
18268 for short lifetime/multiple use regs.
18269 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
18270 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
18271 addi 1,1,64 to pop stack frame. Simplify return value code.
18272 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
18273
664318c3
AM
182742013-10-04 Alan Modra <amodra@gmail.com>
18275
18276 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
18277 support. Correct typos, formatting. Optimize tail. Use insrdi
18278 rather than rlwimi.
18279 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
18280 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
18281 little-endian support. Correct typos.
18282 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
18283 rather than rlwimi.
18284 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
18285 in loop and entry code to keep "and." results.
18286 (strchr): Add little-endian support. Comment. Move cntlzd
18287 earlier in tail.
18288 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
18289
43b84013
AM
182902013-10-04 Alan Modra <amodra@gmail.com>
18291
18292 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
18293 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
18294 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
18295 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
18296
8a7413f9
AM
182972013-10-04 Alan Modra <amodra@gmail.com>
18298
18299 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
18300 (rTMP): Define as r11.
18301 (strcmp): Add little-endian support. Optimise tail.
18302 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
18303 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
18304 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
18305 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
18306 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
18307 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
18308 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
18309
33ee81de
AM
183102013-10-04 Alan Modra <amodra@gmail.com>
18311
18312 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
18313 little-endian support. Remove unnecessary "are we done" tests.
18314 Handle "s" wrapping around zero and extremely large "size".
18315 Correct main loop count. Handle single left-over word from main
18316 loop inline rather than by using small_loop. Correct comments.
18317 Delete "zero" tail, use "end_max" instead.
18318 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
18319
db9b4570
AM
183202013-10-04 Alan Modra <amodra@gmail.com>
18321
18322 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
18323 support. Don't branch over align.
18324 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
18325 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
18326 support. Rearrange tmp reg use to suit. Comment.
18327 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
18328
f7c399cf
AM
183292013-10-04 Alan Modra <amodra@gmail.com>
18330
18331 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
18332
0b2c2ace
AM
183332013-10-04 Alan Modra <amodra@gmail.com>
18334
18335 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
18336 conditional form of branch and link when obtaining pc.
18337 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
18338
02f04a6c
AM
183392013-10-04 Alan Modra <amodra@gmail.com>
18340
18341 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
18342 HIWORD/LOWORD.
18343 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
18344 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
18345
9b874b2f
AM
183462013-10-04 Alan Modra <amodra@gmail.com>
18347
18348 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
18349 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
18350 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
18351 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
18352 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
18353 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
18354 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
18355 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
18356 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
18357 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
18358
be1e5d31
AB
183592013-10-04 Anton Blanchard <anton@au1.ibm.com>
18360 Alistair Popple <alistair@ozlabs.au.ibm.com>
18361 Alan Modra <amodra@gmail.com>
18362
18363 [BZ #15723]
18364 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
18365 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
18366 _dl_hwcap access for little-endian.
18367 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
18368 destroy vmx regs when saving unaligned.
18369 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
18370 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
18371 destroy vmx regs when saving unaligned.
18372
fef13a78
AM
183732013-10-04 Alan Modra <amodra@gmail.com>
18374
18375 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
18376 Don't use a union to pack hi/low value.
18377
76a66d51
AB
183782013-10-04 Anton Blanchard <anton@au1.ibm.com>
18379
18380 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
18381 for little-endian.
18382 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
18383 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
18384 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
18385 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
18386 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
18387
6a31fe7f
AM
183882013-10-04 Alan Modra <amodra@gmail.com>
18389
18390 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
18391 constants to usual value for .cst8 section, and remove redundant
18392 high address load.
18393 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
18394 constant for 0x1p52. Load little-endian words of double from
18395 correct stack offsets.
18396
7b88401f
AM
183972013-10-04 Alan Modra <amodra@gmail.com>
18398
18399 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
18400 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
18401 words of double from correct stack offsets.
18402 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
18403 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
18404 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
18405 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
18406 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
18407 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
18408 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
18409 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
18410 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
18411 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
18412 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
18413 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
18414 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
18415 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
18416 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
18417 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
18418 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
18419
9c008155
AM
184202013-10-04 Alan Modra <amodra@gmail.com>
18421
18422 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
18423 64-bit int/double union.
18424 (_FPU_SETCW): Likewise.
18425 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
18426 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
18427
da13146d
AM
184282013-10-04 Alan Modra <amodra@gmail.com>
18429
18430 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
18431 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
18432
603e8410
AM
184332013-10-04 Alan Modra <amodra@gmail.com>
18434
18435 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
18436 use vector int constants.
18437 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
18438
4a28b3ca
AB
184392013-10-04 Anton Blanchard <anton@au1.ibm.com>
18440
18441 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
18442 array with long long.
18443 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
18444 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
18445 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
18446 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
18447 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
18448 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
18449 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
18450 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
18451 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
18452 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
18453 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
18454 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
18455 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
18456
2ca85d2b
AB
184572013-10-04 Anton Blanchard <anton@au1.ibm.com>
18458
18459 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
18460 (__signbit): Likewise. Correct for little-endian.
18461 (__signbitl): Call __signbit.
18462 (lrint): Correct for little-endian.
18463 (lrintf): Call lrint.
18464
62a728ae
AM
184652013-10-04 Alan Modra <amodra@gmail.com>
18466
18467 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
18468 union 32-bit int array member with 64-bit int array.
18469 (t515, tm256): Double rather than long double.
18470 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
18471
32c301df
AM
184722013-10-04 Alan Modra <amodra@gmail.com>
18473
18474 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
18475 Delete.
18476 (IEEE854_LONG_DOUBLE_BIAS): Delete.
18477 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
18478 version of math_ldbl.h.
18479
650ef4bd
AM
184802013-10-04 Alan Modra <amodra@gmail.com>
18481
18482 [BZ #15734], [BZ #15735]
18483 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
18484 all uses of ieee875 long double macros and unions. Simplify test
18485 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
18486 ldbl_extract_mantissa value for ix,iy exponents. Properly
18487 normalize after ldbl_extract_mantissa, and don't add hidden bit
18488 already handled. Don't treat low word of ieee854 mantissa like
18489 low word of IBM long double and mask off bit when testing for
18490 zero.
18491 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
18492 all uses of ieee875 long double macros and unions. Simplify tests
18493 for 0.0L and inf. Correct double adjustment of k. Delete dead code
18494 adjusting ha,hb. Simplify code setting kld. Delete two600 and
18495 two1022, instead use their values. Recognise that tests for large
18496 "a" and small "b" are mutually exclusive. Rename vars. Comment.
18497 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
18498 Rewrite all uses of ieee875 long double macros and unions. Simplify
18499 test for 0.0L and nan. Correct negation.
18500 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
18501 ieee875 long double macros and unions. Correct output for large
18502 magnitude x. Correct absolute value calculation.
18503 (__erfcl): Likewise.
18504 * math/libm-test.inc: Add tests for errors discovered in IBM long
18505 double versions of fmodl, remainderl, erfl and erfcl.
18506
765714ca
AM
185072013-10-04 Alan Modra <amodra@gmail.com>
18508
18509 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
18510 all uses of ieee854 long double macros and unions. Simplify tests
18511 for long doubles that are fully specified by the high double.
18512 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
18513 Likewise.
18514 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
18515 Remove dead code too.
18516 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
18517 (__ieee754_ynl): Likewise.
18518 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
18519 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
18520 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
18521 Remove dead code too.
18522 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
18523 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
18524 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
18525 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
18526 Simplify.
18527 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
18528 Simplify.
18529 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
18530 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
18531 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
18532 Comment on variable precision.
18533 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
18534 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
18535 Likewise.
18536 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
18537 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
18538 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
18539 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
18540 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
18541
4ebd120c
AM
185422013-10-04 Alan Modra <amodra@gmail.com>
18543
18544 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
18545 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
18546 all uses of ieee854 long double macros and unions.
18547 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
18548 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
18549 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
18550 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
18551 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
18552 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
18553 Likewise.
18554 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
18555 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
18556 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
18557 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
18558 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
18559 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
18560 Simplify sign and nan test too.
18561 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
18562 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
18563 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
18564 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
18565 Likewise.
18566 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
18567 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
18568 Likewise.
18569 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
18570 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
18571 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
18572 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
18573 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
18574 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
18575
1b6adf88
AM
185762013-10-04 Alan Modra <amodra@gmail.com>
18577
18578 * stdio-common/printf_size.c (__printf_size): Don't use
18579 union ieee854_long_double in fpnum union.
18580 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
18581 signbit macro to retrieve sign from long double.
18582 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
18583 retrieve sign from long double.
18584 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
18585 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
18586 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
18587 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
18588 * math/test-misc.c (main): Don't use union ieee854_long_double.
18589
4cf69995
AM
185902013-10-04 Alan Modra <amodra@gmail.com>
18591
18592 [BZ #15680]
18593 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
18594 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
18595 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
18596 calculation. Remove unnecessary test for denormal exponent.
18597 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
18598 Correct handling of denormals. Avoid undefined shift behaviour.
18599 Correct normalisation of low mantissa when low double is denormal.
18600 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
18601 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
18602 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
18603 Correct normalisation of low mantissa. Test for overflow of high
18604 mantissa and normalise.
18605 (ldbl_nearbyint): Use more readable constant for two52.
18606 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
18607 (__mpn_construct_long_double): Fix test for overflow of high
18608 mantissa and correct normalisation. Avoid undefined shift.
18609
9605ca6c
AM
186102013-10-04 Alan Modra <amodra@gmail.com>
18611
18612 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
18613 (union ibm_extended_long_double): Define as an array of ieee754_double.
18614 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
18615 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
18616 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
18617 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
18618 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
18619 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
18620 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
18621 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
18622 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
18623 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
18624 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
18625
975569d0
JM
186262013-10-03 Joseph Myers <joseph@codesourcery.com>
18627
d3d23756
JM
18628 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
18629 page size instead of calling getpagesize.
18630
975569d0
JM
18631 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
18632 (LOCFILE_ALIGN_MASK): Likewise.
18633 (LOCFILE_ALIGN_UP): Likewise.
18634 (LOCFILE_ALIGNED_P): Likewise.
18635 * locale/programs/ld-collate.c (collate_output): Use the new
18636 macros instead of __alignof__ (int32_t).
18637 * locale/weight.h (findidx): Likewise.
18638
b1fe1f2b
OB
186392013-10-03 Ondřej Bílka <neleai@seznam.cz>
18640
18641 [BZ #431]
18642 * manual/string.texi: Fix strncat and wcsncat.
18643
5f855e35
BM
186442013-10-03 Brooks Moses <bmoses@google.com>
18645
18646 [BZ #15915]
18647 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
18648 * Makerules: ...here, and adjust associated comments.
18649
3cef6009
WN
186502013-10-02 Will Newton <will.newton@linaro.org>
18651
18652 * malloc/Makefile: Add tst-pvalloc.
18653 * malloc/tst-pvalloc.c: New file.
18654
7815420b
WN
186552013-10-02 Will Newton <will.newton@linaro.org>
18656
18657 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
18658 improve test coverage.
18659
4868b204
WN
186602013-10-02 Will Newton <will.newton@linaro.org>
18661
18662 * malloc/Makefile: Add tst-posix_memalign.
18663 * malloc/tst-posix_memalign.c: New file.
18664
29c793b3
EB
186652013-10-01 Eric Blake <eblake@redhat.com>
18666
18667 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
18668 Use __THROWNL rather than __THROW on static functions.
18669
fd967522
PM
186702013-09-30 Petr Machata <pmachata@redhat.com>
18671
18672 * elf/elf.h (R_AARCH64_ABS16): New macro.
18673 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
18674 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
18675 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
18676 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
18677 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
18678 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
18679 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
18680 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
18681 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
18682 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
18683 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
18684 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
18685 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
18686 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
18687 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
18688 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
18689 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
18690 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
18691 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
18692 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
18693 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
18694 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
18695 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
18696 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
18697 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
18698 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
18699 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
18700 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
18701 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
18702 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
18703 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
18704 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
18705 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
18706 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
18707 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
18708 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
18709 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
18710 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
18711 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
18712 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
18713 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
18714 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
18715 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
18716 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
18717 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
18718 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
18719 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
18720 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
18721 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
18722 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
18723 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
18724 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
18725 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
18726 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
18727 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
18728 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
18729 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
18730 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
18731 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
18732 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
18733 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
18734 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
18735 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
18736 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
18737 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
18738 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
18739 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
18740 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
18741 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
18742 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
18743 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
18744 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
18745 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
18746 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
18747 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
18748 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
18749 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
18750 (R_AARCH64_TLSDESC_LDR): Likewise.
18751 (R_AARCH64_TLSDESC_ADD): Likewise.
18752 (R_AARCH64_TLSDESC_CALL): Likewise.
18753
b2179107
AS
187542013-09-30 Andreas Schwab <schwab@suse.de>
18755
18756 [BZ #15048]
18757 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
18758 the nss database lookup.
18759 * nscd/initgrcache.c (addinitgroupsX): Likewise.
18760 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
18761
47f28d0a
MF
187622013-09-28 Mike Frysinger <vapier@gentoo.org>
18763
18764 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
18765
187662013-09-28 P. J. McDermott <pj@pehjota.net>
0a834dde
PM
18767
18768 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
18769 ${Bash-specific parameter/pattern/string} parameter expansion.
18770 * sysdeps/unix/make-syscalls.sh: Likewise.
18771
f4518a17
KK
187722013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
18773
18774 * sysdeps/sh/stackguard-macros.h: New file.
18775
dc1a95c7
OB
187762013-09-26 Ondřej Bílka <neleai@seznam.cz>
18777
18778 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
18779 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
18780 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
18781 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
18782 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
18783 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
18784
5ebbff8f
AZ
187852013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18786
18787 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
18788 Fix thread ID register.
18789
4fd2cf9f
JM
187902013-09-25 Joseph Myers <joseph@codesourcery.com>
18791
18792 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
18793 [POSIX || UNIX98]: Require rather than permitting all symbols from
18794 <time.h>.
18795 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
18796 element of struct sched_param.
18797 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
18798 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
18799 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
18800 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
18801 constant.
18802
12c22bc4
OL
188032013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
18804
18805 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
18806 argument calculation.
18807
a03d8ea7
JM
188082013-09-24 Joseph Myers <joseph@codesourcery.com>
18809
18810 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
18811 Expect macro.
18812 [POSIX] (pthread_attr_t): Do not require type.
18813 [POSIX] (pthread_cond_t): Likewise.
18814 [POSIX] (pthread_condattr_t): Likewise.
18815 [POSIX] (pthread_key_t): Likewise.
18816 [POSIX] (pthread_mutex_t): Likewise.
18817 [POSIX] (pthread_mutexattr_t): Likewise.
18818 [POSIX] (pthread_once_t): Likewise.
18819 [POSIX] (pthread_t): Likewise.
18820 [POSIX-based standards] (pthread_atfork): Expect function.
18821
6055173a
JM
188222013-09-24 Joseph Myers <joseph@codesourcery.com>
18823 Richard Sandiford <richard@codesourcery.com>
18824
18825 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
18826 (swap_endianness_p): New extern variable.
18827 (set_big_endian): New inline function.
18828 (maybe_swap_uint32): Likewise.
18829 (maybe_swap_uint32_array): Likewise.
18830 (maybe_swap_uint32_obstack): Likewise.
18831 * locale/programs/locfile.c: Include <stdbool.h>.
18832 (swap_endianness_p): New variable.
18833 (add_locale_uint32): Call maybe_swap_uint32.
18834 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
18835 (write_locale_data): Call maybe_swap_uint32_array.
18836 * locale/programs/ld-collate.c (obstack_int32_grow): Call
18837 maybe_swap_uint32.
18838 (obstack_int32_grow_fast): Likewise.
18839 (output_weightwc): Call maybe_swap_uint32_obstack.
18840 (collate_output): Likewise.
18841 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
18842 (OPT_LITTLE_ENDIAN): Likewise.
18843 (options): Add --little-endian and --big-endian options.
18844 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
18845 * locale/programs/locarchive.c: Include "locfile.h".
18846 (GET): New macro.
18847 (SET): Likewise.
18848 (INC): Likewise.
18849 (create_archive): Use the new macros to access fields of
18850 structures directly mapped from or written to locale archives.
18851 (oldlocrecentcmp): Likewise.
18852 (enlarge_archive): Likewise.
18853 (insert_name): Likewise.
18854 (add_alias): Likewise.
18855 (add_locale): Likewise.
18856 (delete_locales_from_archive): Likewise.
18857 (show_archive_content): Likewise.
18858 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
18859 locale data.
18860
39bf0bb4
RM
188612013-09-24 Roland McGrath <roland@hack.frob.com>
18862
18863 * manual/freemanuals.texi: Updated from (newly) canonical copy at
18864 http://www.gnu.org/doc/freemanuals.texi.
18865 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
18866
f02eed10
WN
188672013-09-24 Will Newton <will.newton@linaro.org>
18868
18869 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
18870 macro.
18871
a3a6c312
JM
188722013-09-23 Joseph Myers <joseph@codesourcery.com>
18873
18874 * locale/hashval.h (compute_hashval): Interpret bytes of key as
18875 unsigned char.
18876
107375ac
MR
188772013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
18878
18879 * manual/threads.texi (POSIX Threads): Fix a typo.
18880
141f3a77
SP
188812013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
18882
303e567a
SP
18883 [BZ #14547]
18884 * string/tst-strcoll-overflow.c: New test case.
18885 * string/Makefile (xtests): Add tst-strcoll-overflow.
18886 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
18887 cache if string sizes may cause integer overflow.
18888
141f3a77
SP
18889 [BZ #14547]
18890 * string/strcoll_l.c (coll_seq): New members rule, idx,
18891 save_idx and back_us.
18892 (get_next_seq_nocache): New function.
18893 (do_compare_nocache): New function.
18894 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
18895 when malloc fails.
18896
c61b4d41
CD
188972013-09-23 Carlos O'Donell <carlos@redhat.com>
18898
0b1f8e35
CD
18899 [BZ #15754]
18900 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
18901 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
18902 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
18903
c61b4d41
CD
18904 [BZ #15754]
18905 * elf/Makefile (tests): Add tst-ptrguard1.
18906 (tests-static): Add tst-ptrguard1-static.
18907 (tst-ptrguard1-ARGS): Define.
18908 (tst-ptrguard1-static-ARGS): Define.
18909 * elf/tst-ptrguard1.c: New file.
18910 * elf/tst-ptrguard1-static.c: New file.
18911 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
18912 * sysdeps/i386/stackguard-macros.h: Likewise.
18913 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
18914 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
18915 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
18916 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
18917 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
18918 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
18919
189202013-09-23 Hector Marco <hecmargi@upv.es>
18921 Ismael Ripoll <iripoll@disca.upv.es>
18922 Carlos O'Donell <carlos@redhat.com>
18923
18924 [BZ #15754]
18925 * sysdeps/generic/stackguard-macros.h: Define
18926 __pointer_chk_guard_local and POINTER_CHK_GUARD.
18927 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
18928 Define __pointer_chk_guard_local.
18929 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
18930 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
18931
f5f4e7b4
VV
189322013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
18933
18934 [BZ #15859]
18935 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
18936
5bb43a43
AS
189372013-09-20 Andreas Schwab <schwab@linux-m68k.org>
18938
18939 * include/string.h (__ffs): Declare as hidden.
18940 * string/ffs.c (__ffs): Define as hidden.
18941 * sysdeps/i386/ffs.c (__ffs): Likewise.
18942 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
18943 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
18944 * sysdeps/s390/ffs.c (__ffs): Likewise.
18945 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
18946
3ea5be54
AO
189472013-09-20 Alexandre Oliva <aoliva@redhat.com>
18948
ffb89e53
AO
18949 * NEWS: Mention malloc probes.
18950
322dea08
AO
18951 * malloc/arena.c (new_heap): New memory_heap_new probe.
18952 (grow_heap): New memory_heap_more probe.
18953 (shrink_heap): New memory_heap_less probe.
18954 (heap_trim): New memory_heap_free probe.
18955 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
18956 (systrim): New memory_sbrk_less probe.
18957 * manual/probes.texi: Document them.
18958
655673f3
AO
18959 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
18960 * manual/probes.texi: Document it.
18961
35fed6f1
AO
18962 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
18963 (__libc_realloc): Add memory_realloc_retry probe.
18964 (__libc_memalign): Add memory_memalign_retry probe.
18965 (__libc_valloc): Add memory_valloc_retry probe.
18966 (__libc_pvalloc): Add memory_pvalloc_retry probe.
18967 (__libc_calloc): Add memory_calloc_retry probe.
18968 * manual/probes.texi: Document them.
18969
6999d38c
AO
18970 * malloc/arena.c (get_free_list): Add probe
18971 memory_arena_reuse_free_list.
18972 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
18973 and memory_arena_reuse.
18974 (arena_get2) [!PER_THREAD]: Likewise.
18975 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
18976 memory_arena_reuse_realloc.
18977 * manual/probes.texi: Document them.
18978
0653427f
AO
18979 * malloc/malloc.c (__libc_free): Add
18980 memory_mallopt_free_dyn_thresholds probe.
18981 (__libc_mallopt): Add multiple memory_mallopt probes.
18982 * manual/probes.texi: Document them.
18983
3ea5be54
AO
18984 * malloc/malloc.c: Include stap-probe.h.
18985 (__libc_mallopt): Add memory_mallopt probe.
18986 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
18987 * manual/probes.texi: New.
18988 * manual/Makefile (chapters): Add probes.
18989 * manual/threads.texi: Set next node.
18990
e35696c3 189912013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
3e181dda 18992
e35696c3
CL
18993 [BZ #15963, #13985]
18994 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
18995 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
18996 Add `Chinese' to `nan' entry name.
18997
4aafb73c
SP
189982013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
18999
19000 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
19001 (POLYNOMIAL): Likewise.
19002 (TAYLOR_SINCOS): Likewise.
19003 (TAYLOR_SLOW): Likewise.
19004 (__sin): Use TAYLOR_SINCOS.
19005 (__cos): Likewise.
19006 (slow): Use TAYLOR_SLOW.
19007 (sloww): Likewise.
19008 (bsloww): Likewise.
19009 (csloww): Likewise.
19010
d84f25c7
LD
190112013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
19012
19013 * stdlib/strtod_l.c: Fix buffer overrun.
19014
5eea0404
SP
190152013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
19016
7849ff93
SP
19017 * benchtests/Makefile (bench): Add sincos.
19018 * benchtests/bench-sincos.c: New file.
19019
cfa3c886
SP
19020 * math/libm-test.inc (cos_test_data): New test inputs.
19021 (sin_test_data): Likewise.
19022
b348e1e3
SP
19023 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
19024 macro.
19025 (__sin): Use it.
19026 (__cos): Likewise.
19027 (slow1): Likewise.
19028 (slow2): Likewise.
19029 (sloww1): Likewise.
19030 (sloww2): Likewise.
19031 (bsloww1): Likewise.
19032 (bsloww2): Likewise.
19033 (cslow2): Likewise.
19034 (csloww1): Likewise.
19035 (csloww2): Likewise.
19036
6cce25f8
SP
19037 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
19038 function.
19039 (__sin): Use it.
19040 (__cos): Likewise.
19041
5eea0404
SP
19042 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
19043 gotos.
19044 (__cos): Likewise.
19045
9c21573c
MR
190462013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
19047
19048 * config.h.in (HAVE_MIPS_NAN2008): New macro.
19049 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
19050 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
19051 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
19052 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
19053 * elf/cache.c (print_entry): Handle the new cache flags.
19054
24d22e65
JM
190552013-09-18 Joseph Myers <joseph@codesourcery.com>
19056 Aldy Hernandez <aldyh@redhat.com>
19057
19058 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
19059 Change condition to [_SOFT_FLOAT].
19060 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
19061 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
19062 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
19063 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
19064 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
19065 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
19066 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
19067 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
19068 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
19069 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
19070 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
19071 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
19072 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
19073 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
19074 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
19075 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
19076 declaration.
19077
d13ef066
JM
190782013-09-18 Joseph Myers <joseph@codesourcery.com>
19079
2e071de0
JM
19080 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
19081 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
19082 (__longjmp): Use LOAD_GP to load saved GPRs.
19083 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
19084 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
19085 (__sigsetjmp): Use SAVE_GP to save GPRs.
19086
d13ef066
JM
19087 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
19088 Do not append -msoft-float.
19089 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
19090
97a0650b
SP
190912013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
19092
19093 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
19094
11ca09e9
JM
190952013-09-17 Joseph Myers <joseph@codesourcery.com>
19096
19097 [BZ #15966]
19098 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
19099 (_FPU_GETCW): Use initial "__" on variable and field names but not
19100 on macro parameter name.
19101 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
19102 parentheses around reference to macro parameter.
19103
08ffcf34
RS
191042013-09-13 Richard Sandiford <richard@codesourcery.com>
19105
19106 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
19107 prototype.
19108 (ctype_startup): Use uint32_t in cast and sizeof for
19109 ctype->charnames.
19110
ae7080d3
JL
191112013-09-11 Jia Liu <proljc@gmail.com>
19112
19113 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
19114 __daddr_t_defined.
19115 [__FreeBSD__]: Likewise.
19116
5905e7b3
OB
191172013-09-11 Ondřej Bílka <neleai@seznam.cz>
19118
19119 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
19120 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
19121 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
19122 (strchr): Remove __strchr_sse42 ifunc selection.
19123 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
19124 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
19125
b987c776
WN
191262013-09-11 Will Newton <will.newton@linaro.org>
19127
19128 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
19129 parameter to RES. Remove hardcoded 1000 value.
19130 * benchtests/bench-skeleton.c (main): Pass RES parameter
19131 to TIMING_INIT and multiply result by 1000.
19132
ddf985af
AZ
191332013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19134
19135 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19136
ffdd3181
AS
191372013-09-11 Andreas Schwab <schwab@suse.de>
19138
19139 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
19140 if not defined.
19141 (O_TMPFILE) [__USE_GNU]: Define.
19142 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
19143 Define.
19144
b73ed247
WN
191452013-09-11 Will Newton <will.newton@linaro.org>
19146
19147 [BZ #15857]
19148 * malloc/malloc.c (__libc_memalign): Check the value of bytes
19149 does not overflow.
19150
55e17aad
WN
191512013-09-11 Will Newton <will.newton@linaro.org>
19152
19153 [BZ #15856]
19154 * malloc/malloc.c (__libc_valloc): Check the value of bytes
19155 does not overflow.
19156
1159a193
WN
191572013-09-11 Will Newton <will.newton@linaro.org>
19158
19159 [BZ #15855]
19160 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
19161 does not overflow.
19162
5905e7b3 191632013-09-10 Ondřej Bílka <neleai@seznam.cz>
c7cabd13
OB
19164
19165 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
19166 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
19167 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
19168 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
19169 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
19170
cdfc721b
AM
191712013-09-10 Allan McRae <allan@archlinux.org>
19172
aa04af00
AM
19173 [BZ #15748]
19174 * manual/arith.texi (Parsing of Floats): Clarify
19175 cross-reference.
19176
cdfc721b
AM
19177 [BZ #15849]
19178 * manual/install.texi (Running make install): Mention
19179 --enable-pt-chown.
19180 * INSTALL: Regenerated.
19181
95e7cf29
MR
191822013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
19183
19184 * csu/init-first.c (_init): Remove the !SHARED condition around
19185 FPU control word initialization.
19186 * elf/dl-support.c (_dl_fpu_control): New variable.
19187 (_dl_aux_init) <AT_FPUCW>: Initialize it.
19188 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
19189 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
19190 * math/test-fpucw-static.c: New file.
19191 * math/test-fpucw-ieee.c: New file.
19192 * math/test-fpucw-ieee-static.c: New file.
19193 * math/Makefile (tests): Add `test-fpucw-ieee' and
19194 `$(tests-static)'.
19195 (tests-static): New variable.
19196 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
19197 dependency to...
19198 [($(build-shared),yes)]
19199 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
19200 ... this.
19201 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
19202 New dependency.
19203
83e43bf0
AM
192042013-09-09 Allan McRae <allan@archlinux.org>
19205
a9f5ce09
AM
19206 [BZ #15939]
19207 * manual/string.texi (Collation Functions): Fix typo in
19208 strcoll example.
19209 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
19210
34829bc2
AM
19211 [BZ #15893]
19212 * stdlib/isomac.c (get_null_defines): Fix memory leak.
19213
3932737d
AM
19214 [BZ #15892]
19215 * libio/memstream.c (open_memstream): Fix memory leak.
19216 * libio/wmemstream.c (open_wmemstream): Likewise.
19217
83e43bf0
AM
19218 [BZ #15895]
19219 * nscd/netgroupcache.c: Fix nesting of ifdefs.
19220
0c66b8e9
WN
192212013-09-09 Will Newton <will.newton@linaro.org>
19222
19223 * malloc/Makefile: Add tst-realloc to tests.
19224 * malloc/tst-realloc.c: New file.
19225
f6b00fd1
AM
192262013-09-09 Allan McRae <allan@archlinux.org>
19227
19228 [BZ #15844]
19229 * COPYING: Update from GNU website to fix FSF address.
19230 * COPYING.LIB: Likewise.
19231
eec55e16
DM
192322013-09-06 David S. Miller <davem@davemloft.net>
19233
19234 * po/zh_TW.po: Update Chinese (traditional) translation from
19235 translation project.
19236
1ecbb381
RS
192372013-09-06 Richard Sandiford <richard@codesourcery.com>
19238 Joseph Myers <joseph@codesourcery.com>
19239
19240 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
19241 "localeinfo.h".
19242 (obstack_chunk_alloc): New macro.
19243 (obstack_chunk_free): Likewise.
19244 (record_offset): New function.
19245 (init_locale_data): Likewise.
19246 (align_locale_data): Likewise.
19247 (add_locale_empty): Likewise.
19248 (add_locale_raw_data): Likewise.
19249 (add_locale_raw_obstack): Likewise.
19250 (add_locale_string): Likewise.
19251 (add_locale_wstring): Likewise.
19252 (add_locale_uint32): Likewise.
19253 (add_locale_uint32_array): Likewise.
19254 (add_locale_char): Likewise.
19255 (start_locale_structure): Likewise.
19256 (end_locale_structure): Likewise.
19257 (start_locale_prelude): Likewise.
19258 (end_locale_prelude): Likewise.
19259 (write_locale_data): Take locale_file structure rather than an
19260 iovec.
19261 * locale/programs/locfile.h: Include "obstack.h".
19262 (struct locale_file): Change to store locale file contents instead
19263 of header.
19264 (init_locale_data): New prototype.
19265 (align_locale_data): Likewise.
19266 (add_locale_empty): Likewise.
19267 (add_locale_raw_data): Likewise.
19268 (add_locale_raw_obstack): Likewise.
19269 (add_locale_string): Likewise.
19270 (add_locale_wstring): Likewise.
19271 (add_locale_uint32): Likewise.
19272 (add_locale_uint32_array): Likewise.
19273 (add_locale_char): Likewise.
19274 (start_locale_structure): Likewise.
19275 (end_locale_structure): Likewise.
19276 (start_locale_prelude): Likewise.
19277 (end_locale_prelude): Likewise.
19278 (write_locale_data): Update prototype.
19279 * locale/programs/3level.h (struct TABLE): Remove result field.
19280 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
19281 Use new locale_file interface.
19282 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
19283 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
19284 * locale/programs/ld-address.c (address_output): Use new
19285 locale_file interface.
19286 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
19287 NO_ADD_LOCALE.
19288 (collate_finish): Don't call collseq_table_finalize.
19289 (collate_output): Use new locale_file interface.
19290 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
19291 in file.
19292 (NO_FINALIZE): Change to NO_ADD_LOCALE.
19293 (TABLE): Move defines earlier in file.
19294 (ELEMENT): Likewise.
19295 (DEFAULT): Likewise.
19296 (wctrans_table_add): Move macro and inline function earlier in
19297 file.
19298 (struct wctype_table): Move type earlier in file.
19299 (add_locale_wctype_table): New static prototype.
19300 (struct locale_ctype_t): Use logical types instead of struct iovec
19301 pointers for members.
19302 (ctype_output): Use new locale_file interface.
19303 (wctype_table_finalize): Change to add_locale_wctype_table. Use
19304 new locale_file interface.
19305 (allocate_arrays): Update for use of new locale_file interface.
19306 * locale/programs/ld-identification.c (identification_output): Use
19307 new locale_file interface.
19308 * locale/programs/ld-measurement.c (measurement_output): Likewise.
19309 * locale/programs/ld-messages.c (messages_output): Likewise.
19310 * locale/programs/ld-monetary.c (monetary_output): Likewise.
19311 * locale/programs/ld-name.c (name_output): Likewise.
19312 * locale/programs/ld-numeric.c (numeric_output): Likewise.
19313 * locale/programs/ld-paper.c (paper_output): Likewise.
19314 * locale/programs/ld-telephone.c (telephone_output): Likewise.
19315 * locale/programs/ld-time.c (time_output): Likewise.
19316
e029e2e5
AZ
193172013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19318
19319 * benchtests/Makefile: Add memrchr benchmark.
19320 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
19321 benchmark as memrchr.
19322 * benchtests/bench-memrchr-ifunc.c: New file.
19323 * benchtests/bench-memrchr.c: New file.
19324
bbf6e8e4
WN
193252013-09-06 Will Newton <will.newton@linaro.org>
19326
19327 * benchtests/Makefile (string-bench): Add memcpy.
19328
6c82a2f8
CD
193292013-09-05 Carlos O'Donell <carlos@redhat.com>
19330 Cong Wang <amwang@redhat.com>
19331
e732c5f0 19332 [BZ #15850]
6c82a2f8
CD
19333 * sysdeps/unix/sysv/linux/bits/in.h
19334 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
19335 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
19336 before __USE_KERNEL_IPV6_DEFS uses.
19337 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
19338 IPPROTO_BEETPH.
19339 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
19340 sockaddr_in6, or ipv6_mreq.
19341
5430fc65
AZ
193422013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19343
19344 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
19345 memory access for final bytes in some large inputs.
19346 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
19347
4660856c
AZ
193482013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19349
19350 * string/test-memrchr.c: New file.
19351 * string/test-memrchr-ifunc.c: New file.
19352 * string/Makefile: Add new memrchr testcase.
19353
bb8ea713
MF
193542013-09-05 Mike Frysinger <vapier@gentoo.org>
19355
19356 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
19357 fanotify_init returns EPERM.
19358
b92a20b5
JM
193592013-09-04 Joseph Myers <joseph@codesourcery.com>
19360
19361 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
19362 errors.
19363 (top level): Treat second token from macro or constant entries for
19364 allowed headers as allowed.
19365 * include/complex.h: Condition internal declarations on
19366 [!_ISOMAC].
19367 * include/fenv.h: Condition include of <stdbool.h> and internal
19368 declarations on [!_ISOMAC].
7447ccd9
CL
19369
193702013-09-04 Chris Leonard <cjl@sugarlabs,.org>
19371
3e181dda 19372 [BZ #15923]
7447ccd9
CL
19373 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
19374
3f2e46a4
JM
193752013-09-04 Joseph Myers <joseph@codesourcery.com>
19376
19377 * configure.in (--enable-versioning): Remove configure option.
19378 (libc_cv_asm_symver_directive): Remove configure test.
19379 (libc_cv_ld_version_script_option): Likewise.
19380 (VERSIONING): Remove variable and AC_SUBST.
19381 (DO_VERSIONING): Remove AC_DEFINE.
19382 * configure: Regenerated.
19383 * config.h.in (DO_VERSIONING): Remove macro.
19384 * Makerules [$(versioning) = yes]: Change conditionals to
19385 [$(build-shared) = yes].
19386 * config.make.in (versioning): Remove variable.
19387 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
19388 [$(build-shared) = yes].
19389 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
19390 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
19391 * elf/Makefile [$(versioning) = yes]: Change conditionals to
19392 [$(build-shared) = yes].
19393 * extra-lib.mk [$(versioning) = yes]: Likewise.
19394 * hurd/Makefile [$(versioning) = yes]: Likewise.
19395 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
19396 [SHARED].
19397 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
19398 [SHARED].
19399 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
19400 [SHARED && !NO_HIDDEN].
19401 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
19402 [SHARED].
19403 [SHARED && DO_VERSIONING]: Likewise..
19404 * libio/Makefile [$(versioning) = yes]: Change conditionals to
19405 [$(build-shared) = yes].
19406 * manual/install.texi (--disable-versioning): Remove
19407 documentation.
19408 * INSTALL: Regenerated.
19409 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
19410 to [SHARED].
19411 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
19412 [$(build-shared) = yes].
19413 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
19414 * sysdeps/i386/i686/multiarch/strstr-c.c
19415 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
19416 [SHARED && !NO_HIDDEN].
19417 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
19418 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
19419 * sysdeps/powerpc/powerpc32/dl-machine.c
19420 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
19421 * sysdeps/powerpc/powerpc32/sysdep.h
19422 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
19423 to [SHARED && PIC && !NO_HIDDEN].
19424 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
19425 conditional to [SHARED].
19426
44558701
WN
194272013-09-04 Will Newton <will.newton@linaro.org>
19428
19429 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
19430 * benchtests/bench-string.h: Include bench-timing.h instead
19431 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
19432 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
19433 call to HP_TIMING_DIFF_INIT.
19434 * benchtests/bench-memccpy.c: Use bench-timing.h macros
19435 instead of hp-timing.h macros.
19436 * benchtests/bench-memchr.c: Likewise.
19437 * benchtests/bench-memcmp.c: Likewise.
19438 * benchtests/bench-memcpy.c: Likewise.
19439 * benchtests/bench-memmem.c: Likewise.
19440 * benchtests/bench-memmove.c: Likewise.
19441 * benchtests/bench-memset.c: Likewise.
19442 * benchtests/bench-rawmemchr.c: Likewise.
19443 * benchtests/bench-strcasecmp.c: Likewise.
19444 * benchtests/bench-strcasestr.c: Likewise.
19445 * benchtests/bench-strcat.c: Likewise.
19446 * benchtests/bench-strchr.c: Likewise.
19447 * benchtests/bench-strcmp.c: Likewise.
19448 * benchtests/bench-strcpy.c: Likewise.
19449 * benchtests/bench-strcpy_chk.c: Likewise.
19450 * benchtests/bench-strlen.c: Likewise.
19451 * benchtests/bench-strncasecmp.c: Likewise.
19452 * benchtests/bench-strncat.c: Likewise.
19453 * benchtests/bench-strncmp.c: Likewise.
19454 * benchtests/bench-strncpy.c: Likewise.
19455 * benchtests/bench-strnlen.c: Likewise.
19456 * benchtests/bench-strpbrk.c: Likewise.
19457 * benchtests/bench-strrchr.c: Likewise.
19458 * benchtests/bench-strspn.c: Likewise.
19459 * benchtests/bench-strstr.c: Likewise.
19460
cae16d66
WN
194612013-09-04 Will Newton <will.newton@linaro.org>
19462
19463 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
19464
ffa3cd7f
JM
194652013-09-03 Joseph Myers <joseph@codesourcery.com>
19466
19467 [BZ #15427]
19468 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
19469 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
19470 * math/libm-test.inc (lgamma_test_data): Add more tests.
19471 * sysdeps/i386/fpu/libm-test-ulps: Update.
19472 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19473
8f02859f
OB
194742013-09-03 Ondřej Bílka <neleai@seznam.cz>
19475
19476 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
19477 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
19478 Add ifunc.
19479 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
19480 Add strcmp-sse2-unaligned
19481 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
19482
18d43716
MF
194832013-09-02 Mike Frysinger <vapier@gentoo.org>
19484
19485 * Versions.def (libc): Add GLIBC_2.19.
19486
ac444012
MF
194872013-09-02 Mike Frysinger <vapier@gentoo.org>
19488
19489 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
19490 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
19491
b7835e32
JM
194922013-09-02 Joseph Myers <joseph@codesourcery.com>
19493
19494 [BZ #14155]
19495 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
19496 intermediate calculations in recurrence.
19497 (__ieee754_ynf): Likewise.
19498 * math/libm-test.inc (jn_test_data): Do not allow spurious
19499 underflow exception. Add more tests.
19500 (yn_test_data): Add more tests.
19501 * sysdeps/i386/fpu/libm-test-ulps: Update.
19502 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19503
8220f4f0
OB
195042013-09-02 Ondřej Bílka <neleai@seznam.cz>
19505
19506 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
19507
f24a6d08
OB
195082013-08-30 Ondřej Bílka <neleai@seznam.cz>
19509
19510 * csu/init-first.c: Fix then/than typos.
19511 * locale/programs/ld-collate.c: Likewise.
19512 * locale/programs/linereader.h: Likewise.
19513 * manual/charset.texi: Likewise.
19514 * manual/filesys.texi: Likewise.
19515 * manual/stdio.texi: Likewise.
19516 * manual/string.texi: Likewise.
19517 * stdlib/fmtmsg.c: Likewise.
19518 * sysdeps/i386/stpncpy.S: Likewise.
19519 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
19520 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
19521 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
19522 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
19523
382466e0
OB
195242013-08-30 Ondřej Bílka <neleai@seznam.cz>
19525
19526 * elf/dl-open.c: Fix typos.
19527 * iconvdata/gbbig5.c: Likewise.
19528 * iconvdata/iso-2022-jp.c: Likewise.
19529 * iconv/gconv_int.h: Likewise.
19530 * iconv/loop.c: Likewise.
19531 * nis/rpcsvc/nis.h: Likewise.
19532 * resolv/ns_name.c: Likewise.
19533 * stdio-common/vfscanf.c: Likewise.
19534 * streams/stropts.h: Likewise.
19535 * sunrpc/rpc_thread.c: Likewise.
19536 * sysdeps/i386/strpbrk.S: Likewise.
19537 * sysdeps/ieee754/k_standard.c: Likewise.
19538 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
19539 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
19540 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
19541 * sysdeps/mach/hurd/profil.c: Likewise.
19542 * sysdeps/s390/dl-procinfo.h: Likewise.
19543 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
19544 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
19545 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
19546 * sysdeps/x86_64/dl-trampoline.S: Likewise.
19547 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
19548
0186c6e9
OB
195492013-08-30 Ondřej Bílka <neleai@seznam.cz>
19550
19551 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
19552 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
19553
d4e16af1
OB
195542013-08-29 Ondřej Bílka <neleai@seznam.cz>
19555
19556 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
19557 aix specific files.
19558 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
19559 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
19560 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
19561 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
19562 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
19563 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
19564 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
19565 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
19566
88335980
TS
195672013-08-29 Thomas Schwinge <thomas@codesourcery.com>
19568 Roland McGrath <roland@hack.frob.com>
19569
19570 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
19571 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
19572
ed479b02
ST
195732013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
19574
19575 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
19576 __executable_start symbol instead of _start.
19577
f1cc4c86
TS
195782013-08-29 Thomas Schwinge <thomas@codesourcery.com>
19579
d821f07c
TS
19580 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
19581 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
19582 Move macros to...
19583 * sysdeps/gnu/ldsodefs.h: ... this new file.
19584
c54290cf
TS
19585 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
19586 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
19587 instead of ELFOSABI_LINUX.
19588
0007fc9b 19589 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
0007fc9b
TS
19590 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
19591 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
19592 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
19593 Likewise.
19594 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
19595 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
19596 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
19597 Likewise.
19598 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
19599 (ibm_extended_long_double): Add ieee_nan member.
19600 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
19601 (do_test): New function.
19602
f1cc4c86
TS
19603 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
19604 TEST_TRUNC.
19605 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
19606 functions, renamed from truncdfsf_test, trunctfsf_test,
19607 trunctfdf_test.
19608 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
19609 functions.
19610 (do_test): Run all these.
19611
6f65e668
OB
196122013-08-29 Ondřej Bílka <neleai@seznam.cz>
19613
19614 * argp/argp-help.c: Fix typos.
19615 * argp/argp-parse.c: Likewise.
19616 * debug/backtracesyms.c: Likewise.
19617 * elf/elf.h: Likewise.
19618 * malloc/malloc.c: Likewise.
19619 * nis/nis_print.c: Likewise.
19620 * resolv/res_comp.c: Likewise.
19621 * stdlib/stdlib.h: Likewise.
19622 * sunrpc/clnt_tcp.c: Likewise.
19623 * sunrpc/clnt_udp.c: Likewise.
19624 * sunrpc/clnt_unix.c: Likewise.
19625 * sysdeps/unix/bsd/ptsname.c: Likewise.
19626 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
19627 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
99541e80
RM
19628 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
19629 Likewise.
19630 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
19631 Likewise.
19632 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
19633 Likewise.
6f65e668
OB
19634 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
19635
3a309239
SP
196362013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
19637
19638 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
19639 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
19640
3b813b29
MF
196412013-08-27 Mike Frysinger <vapier@gentoo.org>
19642
19643 [BZ #15897]
19644 * dlfcn/Makefile (tests): Add bug-dl-leaf.
19645 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
19646 ($(objpfx)bug-dl-leaf): New rule.
19647 ($(objpfx)bug-dl-leaf.so): Likewise.
19648 ($(objpfx)bug-dl-leaf.out): Likewise.
19649 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
19650 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
19651 * dlfcn/bug-dl-leaf.c: New test.
19652 * dlfcn/bug-dl-leaf-lib.c: Likewise.
19653 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
19654 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
19655 (dlclose): Likewise.
19656 (dlmopen): Likewise.
19657
8cc3269f
RM
196582013-08-27 Roland McGrath <roland@hack.frob.com>
19659
7f9d0034
RM
19660 * include/netdb.h [!_ISOMAC]:
19661 Don't include <tls.h>.
19662 (h_errno, __libc_h_errno): Move declaration and macros out of
19663 [_LIBC_REENTRANT].
19664
fb431262
RM
19665 * include/resolv.h [_RESOLV_H_]:
19666 Don't include <tls.h>.
19667 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
19668 * resolv/res_libc.c: Don't include <tls.h>.
19669 (_res): Use __attribute__ ((nocommon)) in place of
19670 __attribute__ ((section (".bss"))).
19671
bd81123a
RM
19672 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
19673 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
19674
c4e42566
RM
19675 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
19676
f890a59b
RM
19677 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
19678 only under [SIOCGIFCONF && SIOCGIFNETMASK].
19679
19680 * resolv/res_mkquery.c: Include <sys/time.h>.
19681
5d1f0a09
RM
19682 * inet/ifreq.c: Moved to ...
19683 * sysdeps/unix/ifreq.c: ... here.
19684 * inet/ifreq.c: New file, true stub version.
19685
6fcf28b3
RM
19686 * socket/sa_len.c: New file.
19687 * socket/Makefile (aux): Add it.
19688 * sysdeps/unix/sysv/linux/Makefile
19689 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
19690 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
19691 and #include <socket/sa_len.c>.
19692 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
19693 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
19694
e041fb8b
RM
19695 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
19696 * bits/socket.h: ... here.
19697
8cc3269f
RM
19698 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
19699 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
19700 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
19701
5d228a43
AS
197022013-08-27 Andreas Schwab <schwab@suse.de>
19703
45b8accc
AS
19704 [BZ #15736]
19705 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
19706 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
19707 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
19708 * string/test-strcasecmp.c (test_main): Run tests in several
19709 locales.
19710 * string/test-strncasecmp.c (test_main): Likewise.
19711
5d228a43
AS
19712 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
19713 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
19714 to __strcasecmp_nonascii and __strncasecmp_nonascii.
19715 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
19716 (__strncasecmp_ssse3) [PIC]: Likewise.
19717
59d112a4
RM
197182013-08-26 Roland McGrath <roland@hack.frob.com>
19719
53234cc3
RM
19720 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
19721
59d112a4
RM
19722 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
19723 instead of explicitly declaring xdecrypt.
19724 * nis/nss_nis/nis-publickey.c: Likewise.
19725
595aba70
SP
197262013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
19727
19728 [BZ #15890]
19729 * nscd/aicache.c: Include res_hconf.h.
19730 (addhstaiX): Initialize res_hconf.
19731
ffabd393
AS
197322013-08-26 Andreas Schwab <schwab@suse.de>
19733
19734 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
19735 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
19736
e0a69f5c
SP
197372013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
19738
19739 * nscd/aicache.c (addhstaiX): Fix indentation.
19740
8c12f01d
MF
197412013-08-25 Mike Frysinger <vapier@gentoo.org>
19742
19743 * configure.ac: Quote $build_pt_chown test.
19744 * configure: Regenerated.
19745
8fe89494
JM
197462013-08-23 Joseph Myers <joseph@codesourcery.com>
19747
19748 [BZ #15532]
19749 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
19750 * math/s_cexpf.c (__cexpf): Likewise.
19751 * math/s_cexpl.c (__cexpl): Likewise.
19752 * math/libm-test.inc (cexp_test_data): Correct expected return
19753 value for NaN + i0. Add another test.
19754
75b181d6
DM
197552013-08-22 David S. Miller <davem@davemloft.net>
19756
19757 * po/ca.po: Update Catalan translation from translation project.
936241e4 19758 * po/uk.po: Add Ukrainian translations from translation project.
75b181d6 19759
acd06bb1
JM
197602013-08-21 Joseph Myers <joseph@codesourcery.com>
19761
19762 [BZ #15797]
19763 * math/s_fdim.c (__fdim): Check for infinite arguments if result
19764 is infinite, not alongside NaN test.
19765 * math/s_fdimf.c (__fdimf): Likewise.
19766 * math/s_fdiml.c (__fdiml): Likewise.
19767 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
19768 errno is unchanged.
19769
c0c3f78a
OB
197702013-08-21 Ondřej Bílka <neleai@seznam.cz>
19771
19772 * argp/argp-help.c: Fix typos.
19773 * crypt/speeds.c: Likewise.
19774 * csu/check_fds.c: Likewise.
19775 * elf/dl-load.c: Likewise.
19776 * elf/dl-open.c: Likewise.
19777 * elf/reldep3.c: Likewise.
19778 * elf/reldep.c: Likewise.
19779 * elf/sprof.c: Likewise.
19780 * iconv/iconv_charmap.c: Likewise.
19781 * iconv/skeleton.c: Likewise.
19782 * iconv/strtab.c: Likewise.
19783 * io/lockf64.c: Likewise.
19784 * libio/libioP.h: Likewise.
19785 * resolv/gai_notify.c: Likewise.
19786 * resolv/ns_name.c: Likewise.
19787 * resolv/ns_samedomain.c: Likewise.
19788 * resolv/res_send.c: Likewise.
19789 * stdlib/random.c: Likewise.
19790 * sunrpc/rpc/xdr.h: Likewise.
19791 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
19792 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
19793 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
19794 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
19795 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
19796 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
19797 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
19798 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
19799 * sysdeps/mach/hurd/check_fds.c: Likewise.
19800 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
19801 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
19802 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
19803 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
19804 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
19805 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
19806 * sysdeps/pthread/aio_notify.c: Likewise.
19807 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
19808 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
19809 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
19810 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
19811 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
19812
46ed1038
LD
198132013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
19814
19815 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
19816 version if bit_Slow_SSE4_2 is set.
19817 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
19818 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
19819
d400dcac
AZ
198202013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19821
19822 [BZ #15867]
19823 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
19824 trampoline stack frame information.
19825 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
19826 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
19827 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
19828 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
19829 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
19830 * sysdeps/unix/sysv/linux/powerpc/init-first.c
19831 (_libc_vdso_platform_setup): Initialize the signal trampolines.
19832 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
19833 sa_flags value.
19834 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
19835 interrupting a syscall and set with option SA_SIGINFO.
19836
42c8fdd8
JM
198372013-08-20 Joseph Myers <joseph@codesourcery.com>
19838
c980f2f4
JM
19839 [BZ #15531]
19840 * math/s_cproj.c (__cproj): Only return an infinity if one part of
19841 argument is infinite.
19842 * math/s_cprojf.c (__cprojf): Likewise.
19843 * math/s_cprojl.c (__cprojl): Likewise.
19844 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
19845 * math/libm-test.inc (cproj_test_data): Add more tests.
19846
0716c4fc
JM
19847 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
19848
42c8fdd8
JM
19849 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
19850 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
19851 size. Use __ffs to determine corresponding shift.
19852
b31469d0
JM
198532013-08-20 Joseph Myers <joseph@codesourcery.com>
19854 Roland McGrath <roland@hack.frob.com>
19855
19856 * Makefile (INSTALL): Remove trailing blank lines from output of
19857 makeinfo.
19858
4e39af6e
AK
198592013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19860
19861 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
19862 Align 32 bit compat elf_greg to 8 bytes.
19863
f315524e
AA
198642013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
19865
19866 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
19867
1326ba1a
SP
198682013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
19869
19870 * string/strcoll_l.c (coll_seq): New structure.
19871 (get_next_seq_cached): New function.
19872 (get_next_seq): New function.
19873 (do_compare): New function.
19874 (STRCOLL): Use GNU style definition. Simplify implementation
19875 by using get_next_seq, get_next_seq_cached and do_compare.
19876
91ce4085
FW
198772013-08-16 Florian Weimer <fweimer@redhat.com>
19878
19879 [BZ #14699]
19880 CVE-2013-4237
19881 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
19882 member.
19883 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
19884 member.
19885 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
19886 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
19887 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
19888 conditional.
19889 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
19890 GETDENTS_64BIT_ALIGNED.
19891 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
19892 * manual/filesys.texi (Reading/Closing Directory): Document
19893 ENAMETOOLONG return value of readdir_r. Recommend readdir more
19894 strongly.
19895 * manual/conf.texi (Limits for Files): Add portability note to
19896 NAME_MAX, PATH_MAX.
19897 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
19898
ca0a6bc4
AS
198992013-08-13 Andreas Schwab <schwab@suse.de>
19900
19901 [BZ #15749]
19902 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
19903 of fabs.
19904 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
19905 LDBL_MAX_EXP >= 16384]: Add tests for it.
19906
6c1fd795
DM
199072013-08-12 David S. Miller <davem@davemloft.net>
19908
19909 * version.h (RELEASE): Set to "development".
19910 (VERSION): Set to "2.18.90".
19911 * NEWS: Add 2.19 section.
19912
31ad488d
DM
199132013-08-03 David S. Miller <davem@davemloft.net>
19914
19915 * po/ko.po: Update Korean translation from translation project.
19916
db24e684
DM
199172013-08-01 David S. Miller <davem@davemloft.net>
19918
19919 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
19920 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
19921 Bilka.
19922
f723285b
DM
199232013-07-30 David S. Miller <davem@davemloft.net>
19924
19925 * po/fr.po: Update French translation from translation project.
19926
3cbc52db
DM
199272013-07-28 David S. Miller <davem@davemloft.net>
19928
30bbc0cc
DM
19929 * po/cs.po: Update Czech translation from translation project.
19930
3cbc52db
DM
19931 * po/sv.po: Update Swedish translation from translation project.
19932
d492e6d0
DM
199332013-07-27 David S. Miller <davem@davemloft.net>
19934
f1a7f492
DM
19935 * po/eo.po: Update Esperanto translation from translation project.
19936
90e62a4a
DM
19937 * po/vi.po: Update Vietnamese translation from translation project.
19938
d492e6d0
DM
19939 * po/de.po: Update German translation from translation project.
19940
d4baa62d
DM
199412013-07-26 David S. Miller <davem@davemloft.net>
19942
641aa7b4
DM
19943 * po/bg.po: Update Bulgarian translation from translation project.
19944
d4baa62d
DM
19945 * po/nl.po: Update Dutch translation from translation project.
19946 * po/pl.po: Update Polish translation from translation project.
19947 * po/ru.po: Update Russian translation from translation project.
19948
61a9dcb9
DM
199492013-07-24 David S. Miller <davem@davemloft.net>
19950
19951 * po/libc.pot: Update.
19952
7b1f8b58
AZ
199532013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19954
19955 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
19956 variable page size.
19957 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
19958 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
19959 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
19960
a8fc7a03
AK
199612013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19962
19963 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
19964
e4608715
CD
199652013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
19966 Andreas Schwab <schwab@suse.de>
19967 Roland McGrath <roland@hack.frob.com>
19968 Joseph Myers <joseph@codesourcery.com>
19969 Carlos O'Donell <carlos@redhat.com>
19970
19971 [BZ #15755]
19972 * config.h.in: Define HAVE_PT_CHOWN.
19973 * config.make.in (build-pt-chown): New variable.
19974 * configure.in (--enable-pt_chown): New configure option.
19975 * configure: Regenerate.
19976 * login/Makefile: Include Makeconfig. Build pt_chown only if
19977 build-pt-chown is enabled.
19978 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
19979 pt_chown to fix pty ownership.
19980 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
19981 CLOSE_ALL_FDS.
19982 * manual/install.texi (Configuring and compiling): Mention
19983 --enable-pt_chown. Add @findex for grantpt.
19984 * INSTALL: Regenerate.
19985
da2d62df
DM
199862013-07-20 David S. Miller <davem@davemloft.net>
19987
19988 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
19989 difference between 32-bit and 64-bit.
19990
d7e06450
CD
199912013-07-15 Carlos O'Donell <carlos@redhat.com>
19992
19993 [BZ #15711]
19994 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
19995 Avoid system header dependency with -ffreestanding.
19996 ($(objpfx)bits/syscall%d): Likewise.
19997
f959cfd7
DM
199982013-07-13 David S. Miller <davem@davemloft.net>
19999
20000 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
20001 underflows from atanl/atan2l due to bug 15319.
20002 (casinh_test_data): Likewise.
20003
c61f8513
DM
200042013-07-07 David S. Miller <davem@davemloft.net>
20005
20006 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
20007
72c90ed0
JA
200082013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
20009
20010 * sysdeps/i386/fpu/libm-test-ulps: Update.
20011 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20012
52dfbe13
SP
200132013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
20014
20015 * configure.in (--enable-lock-elision): Fix message text.
20016 * INSTALL: Regenerate.
20017 * configure: Regenerate.
20018
3f169543
AZ
200192013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20020
20021 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20022
521c6785
AJ
200232013-07-03 Andreas Jaeger <aj@suse.de>
20024
20025 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
20026 define.
20027 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
20028 (ptrace_peeksiginfo_args): Add.
20029 (__ptrace_peeksiginfo_flags): Add.
20030 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
20031 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
20032 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
20033
d2cc15cb
AM
200342013-07-03 Allan McRae <allan@archlinux.org>
20035
20036 * sysdeps/i386/fpu/libm-test-ulps: Update.
20037
3aaeeca7
DM
200382013-07-02 David S. Miller <davem@davemloft.net>
20039
20040 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20041
5314ed1a
MT
200422013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
20043
20044 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20045
67338156
JM
200462013-07-02 Joseph Myers <joseph@codesourcery.com>
20047
20048 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
20049 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20050
1717da59
AK
200512013-07-02 Andi Kleen <ak@linux.intel.com>
20052
20053 * config.h.in (ENABLE_LOCK_ELISION): Add.
20054 * configure.in (--enable-lock-elision): Add option.
20055 * manual/install.texi: Document --enable lock elision.
20056 * configure: Regenerate
20057 * INSTALL: Regenerate.
20058
1c81621c
L
200592013-07-02 H.J. Lu <hongjiu.lu@intel.com>
20060
20061 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
20062 SSE4.2 strcasecmp for libc.a.
20063 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
20064
77f01ab5
JM
200652013-07-02 Joseph Myers <joseph@codesourcery.com>
20066
20067 [BZ #13304]
20068 * soft-fp/op-common.h (_FP_FMA): New macro.
20069 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
20070 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
20071 (_FP_MUL_MEAT_1_imm): ... here.
20072 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
20073 (_FP_MUL_MEAT_1_wide): ... here.
20074 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
20075 (_FP_MUL_MEAT_1_hard): ... here.
20076 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
20077 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
20078 (_FP_MUL_MEAT_2_wide): ... here.
20079 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
20080 (_FP_MUL_MEAT_2_wide_3mul): ... here.
20081 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
20082 (_FP_MUL_MEAT_2_gmp): ... here.
20083 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
20084 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
20085 (_FP_MUL_MEAT_4_wide): ... here.
20086 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
20087 (_FP_MUL_MEAT_4_gmp): ... here.
20088 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
20089 (_FP_WFRACBITS_DW_S): Likewise.
20090 (_FP_WFRACXBITS_DW_S): Likewise.
20091 (_FP_HIGHBIT_DW_S): Likewise.
20092 (FP_FMA_S): Likewise.
20093 (_FP_FRAC_HIGH_DW_S): Likewise.
20094 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
20095 (_FP_WFRACBITS_DW_D): Likewise.
20096 (_FP_WFRACXBITS_DW_D): Likewise.
20097 (_FP_HIGHBIT_DW_D): Likewise.
20098 (FP_FMA_D): Likewise.
20099 (_FP_FRAC_HIGH_DW_D): Likewise.
20100 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
20101 (_FP_WFRACBITS_DW_E): Likewise.
20102 (_FP_WFRACXBITS_DW_E): Likewise.
20103 (_FP_HIGHBIT_DW_E): Likewise.
20104 (FP_FMA_E): Likewise.
20105 (_FP_FRAC_HIGH_DW_E): Likewise.
20106 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
20107 (_FP_WFRACBITS_DW_Q): Likewise.
20108 (_FP_WFRACXBITS_DW_Q): Likewise.
20109 (_FP_HIGHBIT_DW_Q): Likewise.
20110 (FP_FMA_Q): Likewise.
20111 (_FP_FRAC_HIGH_DW_Q): Likewise.
20112 * soft-fp/fmasf4.c: New file.
20113 * soft-fp/fmadf4.c: Likewise.
20114 * soft-fp/fmatf4.c: Likewise.
20115
6308fd9a
LD
201162013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
20117
20118 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
20119 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
20120 Silvermont.
20121 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
20122 macro.
20123 (index_Slow_SSE4_2): Likewise.
20124 (index_Prefer_PMINUB_for_stringop): Likewise.
20125 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
20126 bit_Slow_SSE4_2 is set.
20127 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
20128 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
20129
89cd9569
RA
201302013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
20131
20132 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
20133 rtld_global._dl_hwcap2.
20134 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
20135 POWER8.
20136 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
20137 POWER8 feature descriptions defined in _dl_hwcap2.
20138 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
20139 string handling for POWER8 feature bits.
20140 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
20141 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
20142 _dl_powerpc_cap_flags.
20143 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
20144 * sysdeps/powerpc/rtld-global-offsets.sym
20145 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
20146 _dl_hwcap2 in the rtld_global_ro structure.
20147
1ae8bfe0
RA
201482013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
20149
20150 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
20151 hardware capabilities in support of AT_HWCAP2.
20152 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
20153 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
20154 GLRO(dl_hwcap2).
20155 (_dl_show_auxv): Add support for calling _dl_procinfo to display
20156 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
20157 explicitly the unknown a_type display mechanism is used.
20158 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
20159 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
20160 struct member.
20161 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
20162 to macro prototype for AT_HWCAP2 support.
20163 * sysdeps/i386/dl-procinfo.h: Likewise.
20164 * sysdeps/s390/dl-procinfo.h: Likewise.
20165 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
20166 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
20167 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
20168 return -1 for unknown a_type display fallback.
20169 * sysdeps/sparc/dl-procinfo.h: Likewise.
20170 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
20171 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
20172
8fbec010
JM
201732013-06-28 Joseph Myers <joseph@codesourcery.com>
20174
20175 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
20176 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
20177
0432680e
PY
201782013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
20179
20180 [BZ #12492]
20181 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
20182 mprotect making __stack_prot writable.
20183
ce61a2ad
NF
201842013-06-28 Nathan Froyd <froydnj@codesourcery.com>
20185 Joseph Myers <joseph@codesourcery.com>
20186
20187 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
20188 as being properly aligned.
20189
f91f1c0f
MR
201902013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
20191
3d0f5d0c
MR
20192 * dlfcn/modstatic5.c: New file.
20193 * dlfcn/tststatic5.c: New file.
20194 * dlfcn/Makefile (tests): Add tststatic5.
20195 (tests-static): Likewise.
20196 (modules-names): Add modstatic5.
20197 (tststatic5-ENV): New variable.
20198 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
20199
f91f1c0f
MR
20200 [BZ #15022]
20201 * elf/dl-support.c (_dl_main_map): New variable.
20202 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
20203 (_dl_nns, _dl_load_adds): Set to 1.
20204 (_dl_initial_searchlist): Refer to _dl_main_map.
20205 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
20206 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
20207 call to _dl_get_origin.
20208 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
20209 around call_map.
20210 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
20211 * dlfcn/modstatic3.c: New file.
20212 * dlfcn/tststatic3.c: New file.
20213 * dlfcn/tststatic4.c: New file.
20214 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
20215 (tests-static): Likewise.
20216 (modules-names): Add modstatic3.
20217 (tststatic3-ENV, tststatic4-ENV): New variables.
20218 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
20219 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
20220
cbe7d24b
JM
202212013-06-26 Joseph Myers <joseph@codesourcery.com>
20222
20223 * configure.in (CC): Require GCC version 4.4 or later.
20224 * configure: Regenerated.
20225 * manual/install.texi (Tools for Compilation): Update GCC version
20226 requirement.
20227 * INSTALL: Regenerated.
20228
11b8a0e1
LD
202292013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
20230
20231 [BZ #15674]
bb5bb87c
L
20232 * string/test-memcmp.c (check2): New.
20233 (main): Call check2.
20234
11b8a0e1
LD
20235 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
20236
b0037103
MR
202372013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
20238
20239 [BZ #15022]
20240 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
20241 over to...
20242 (dl_open_worker) [!SHARED]: ... here.
20243
c18c701d
RA
202442013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
20245
20246 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
20247
1d17fa5f
RH
202482013-06-25 Richard Henderson <rth@redhat.com>
20249
20250 * locale/programs/locarchive.c: Include <libc-internal.h>
20251
8fcb833a
JM
202522013-06-25 Joseph Myers <joseph@codesourcery.com>
20253
20254 * manual/texinfo.tex: Update to version 2013-06-21.17, with
20255 trailing whitespace removed.
20256
17db6e8d
MF
202572013-06-24 Mike Frysinger <vapier@gentoo.org>
20258
20259 [BZ #10283]
17db6e8d
MF
20260 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
20261 * locale/programs/locarchive.c: Include libc-mmap.h.
20262 (prepare_address_space): Take two new outputs (the mmap base and len).
20263 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
20264 values.
20265 (create_archive): Declare new mmap base and len values for
20266 prepare_address_space, and store the result in ah.
20267 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
20268 (enlarge_archive): If ah->mmap_base is not NULL, use that and
20269 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
20270 Declare new mmap base and len values for
20271 prepare_address_space, and store the result in new_ah.
20272 (open_archive): Declare new mmap base and len values for
20273 prepare_address_space, and store the result in ah.
20274 (close_archive): If ah->mmap_base is not NULL, use that and
20275 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
20276 * sysdeps/generic/libc-mmap.h: New file.
20277
d605071e
MF
202782013-06-24 Mike Frysinger <vapier@gentoo.org>
20279
20280 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
20281 (ALIGN_UP): Likewise.
20282 (PTR_ALIGN_DOWN): Likewise.
20283 (PTR_ALIGN_UP): Likewise.
20284
2f063a6e
RA
202852013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
20286
20287 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
20288 entry mapped to PPC_PLATFORM_POWER8.
20289 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
20290 POWER8.
20291 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
20292 (_dl_string_platform): Add case for exporting platform position for
20293 POWER8.
20294 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
20295 search path to sysdeps/powerpc/powerpc32/power8 directory.
20296 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
20297 search path to sysdeps/powerpc/powerpc64/power8 directory.
20298 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
20299 power7 directories.
20300 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
20301 power7 directories.
20302
a31ee4b3
SP
203032013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
20304
a74ca98f
SP
20305 * INSTALL: Regenerate.
20306
a31ee4b3
SP
20307 * nscd/connections.c (nscd_init): Fix comment.
20308
695c378f
JM
203092013-06-22 Joseph Myers <joseph@codesourcery.com>
20310
d8412221
JM
20311 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
20312
695c378f
JM
20313 [BZ #15667]
20314 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
20315 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
20316
d1d54715
MR
203172013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
20318
20319 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
20320 DL_DST_REQ_STATIC.
20321 (DL_DST_REQ_STATIC): Remove macro.
20322
8fdda7af
JM
203232013-06-21 Joseph Myers <joseph@codesourcery.com>
20324
20325 [BZ #7006]
20326 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
20327 with a shift of 0 bits.
20328
f3bc5e5a
MR
203292013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
20330
20331 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
20332 $(tststatic-ENV).
20333
be09e8c9
KK
203342013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
20335
20336 [BZ #15655]
20337 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
20338
85c2e611
AZ
203392013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20340
20341 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
20342 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
20343 accepts -fno-tree-loop-distribute-patterns.
20344 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
20345 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
20346 recursive call.
20347 * string/memset.c (memset): Likewise.
20348 * string/test-memmove.c (simple_memmove): Disable loop transformation
20349 to library calls.
20350 * string/test-memset.c (simple_memset): Likewise.
20351 * benchtests/bench-memmove.c (simple_memmove): Likewise.
20352 * benchtests/bench-memset.c (simple_memset): Likewise.
20353 * configure: Regenerated.
20354
c91e0825
JM
203552013-06-20 Joseph Myers <joseph@codesourcery.com>
20356
b8c792af
JM
20357 * math/test-misc.c (main): Ignore fesetround failure when failures
20358 of subsequent rounding tests would be ignored.
20359
c91e0825
JM
20360 [BZ #15654]
20361 * math/fedisblxcpt.c (fedisableexcept): Return 0.
20362 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
20363 * math/fegetenv.c (__fegetenv): Return 0.
20364 * math/fegetexcept.c (fegetexcept): Return 0.
20365 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
20366 FE_TONEAREST.
20367 * math/feholdexcpt.c (feholdexcept): Return 0.
20368 * math/fesetenv.c (__fesetenv): Return 0.
20369 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
20370 argument FE_TONEAREST.
20371 * math/feupdateenv.c (__feupdateenv): Return 0.
20372 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
20373
bfcacbde
RM
203742013-06-18 Roland McGrath <roland@hack.frob.com>
20375
20376 * elf/rtld-Rules (rtld-compile-command.S): New variable.
20377 (rtld-compile-command.s, rtld-compile-command.c): New variables.
20378 ($(objpfx)rtld-%.os rules): Use them.
20379
e55a9b25
AZ
203802013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20381
20382 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
20383 fields.
20384
346d65b3
RM
203852013-06-17 Roland McGrath <roland@hack.frob.com>
20386
12086fb4
RM
20387 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
20388 length of target pattern, then descending length of dependency pattern.
20389 * configure.in (AWK): Require gawk 3.1.2 or newer.
20390 * manual/install.texi (Tools for Compilation): Say that we do.
20391 * configure: Regenerated.
20392
346d65b3
RM
20393 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
20394 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
20395 * scripts/sysd-rules.awk: ... this new script.
20396 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
20397 than a glob-style pattern.
20398
1a846317
JM
203992013-06-17 Joseph Myers <joseph@codesourcery.com>
20400
20401 * math/test-misc.c (main): Do not treat incorrectly rounded
20402 conversions as failure unless ROUNDING_TESTS passes.
20403
8fc75e6f
JM
204042013-06-15 Joseph Myers <joseph@codesourcery.com>
20405
3711a167
JM
20406 [BZ #15631]
20407 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
20408 restore exception state around main square root computation, then
20409 check for inexactness explicitly.
20410
8fc75e6f
JM
20411 * math/libm-test.inc (fma_test_data): Add another test.
20412
61dd6208
SP
204132013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
20414
adf23d2c
SP
20415 * manual/threads.texi (Non-POSIX Extensions): New document
20416 node. Document pthread_getattr_default_np and
20417 pthread_setattr_default_np.
20418
61dd6208
SP
20419 * Versions.def (libpthread): Add GLIBC_2.18.
20420 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
20421 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
20422 Likewise.
20423 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
20424 Likewise.
20425 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
20426 Likewise.
20427 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
20428 Likewise.
20429 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
20430 Likewise.
20431 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
20432 Likewise.
20433 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
20434 Likewise.
20435 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
20436 Likewise.
20437 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
20438 Likewise.
20439
d086fc7b
LD
204402013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
20441
20442 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
20443 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
20444
747ef469
SP
204452013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
20446 H.J. Lu <hjl.tools@gmail.com>
20447
20448 [BZ #15627]
20449 * sysdeps/x86_64/rtld-memset.c: Remove file.
20450 * sysdeps/x86_64/rtld-memset.S: New file.
20451
1b2feed2
JM
204522013-06-14 Joseph Myers <joseph@codesourcery.com>
20453
20454 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
20455 (test_in_one_mode): Take arguments for whether the rounding mode
20456 is supported for each floating-point type.
20457 (do_test): Pass new arguments to test_in_one_mode using
20458 ROUNDING_TESTS.
20459
a58ad3f8
RM
204602013-06-13 Roland McGrath <roland@hack.frob.com>
20461
20462 * posix/tst-waitid.c (do_test): Distinguish different instances of
20463 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
20464 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
20465 before entering the kernel for waitpid.
20466
c204ab28
SP
204672013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
20468
20469 * NEWS: Fix note on clock function precision. Text by Roland
20470 McGrath.
20471
f4a29fba
RM
204722013-06-13 Roland McGrath <roland@hack.frob.com>
20473
20474 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
20475 it into place only when and if the sanity check passes.
20476
1f24b9ad
JM
204772013-06-13 Joseph Myers <joseph@codesourcery.com>
20478
20479 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
20480 output for whether conversion result is exact. Take argument
20481 indicating whether type is IBM long double.
20482 (round_for_all): Change need_exact field to ibm_ld.
20483 * stdlib/tst-strtod-round.c (struct exactness): New type.
20484 (struct test): Change bool ld_ok field to struct exactness exact.
20485 (TEST): Update all definitions for change to field.
20486 (tests): Regenerate array contents.
20487 (test_in_one_mode): Take pointer to new field instead of old ld_ok
20488 field value. Check for IBM long double here.
20489 (do_test): Update calls to test_in_one_mode.
20490
58206c68
SP
204912013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
20492
20493 [BZ #12515]
20494 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
20495 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
20496
2d6f4c5b 204972013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6a97b62a
AZ
20498
20499 [BZ #15605]
20500 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
20501 generated by the compiler on loop optimizations.
20502 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
20503 general definitions.
20504
94f2c076
JM
205052013-06-12 Joseph Myers <joseph@codesourcery.com>
20506
20507 * math/bug-nextafter.c: Include <math-tests.h>.
20508 (main): Only test for exceptions if EXCEPTION_TESTS is true for
20509 the relevant type.
20510 * math/bug-nexttoward.c: Include <math-tests.h>.
20511 (main): Only test for exceptions if EXCEPTION_TESTS is true for
20512 the relevant type.
20513 * math/test-misc.c: Include <math-tests.h>.
20514 (main): Only test for exceptions if EXCEPTION_TESTS is true for
20515 the relevant type.
20516
e0e50a0a
AJ
205172013-06-12 Andreas Jaeger <aj@suse.de>
20518
20519 * po/ia.po: Update Interlingua translation from translation
20520 project.
20521
25061094
SP
205222013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
20523
20524 * include/fenv.h: Include stdbool.h.
20525 (struct rm_ctx): New structure.
20526 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
20527 Define macro.
20528 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
20529 (SET_RESTORE_ROUNDF): Likewise.
20530 (SET_RESTORE_ROUNDL): Likewise.
20531 (SET_RESTORE_ROUND_NOEX): Likewise.
20532 (SET_RESTORE_ROUND_NOEXF): Likewise.
20533 (SET_RESTORE_ROUND_NOEXL): Likewise.
20534 (SET_RESTORE_ROUND_53BIT): Likewise.
20535 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
20536 (libc_feresetround_noexf_ctx): Likewise.
20537 (libc_feresetround_noexl_ctx): Likewise.
20538 (libc_feholdsetround_53bit_ctx): Likewise.
20539 (libc_feresetround_53bit_ctx): Likewise.
20540 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
20541 (libc_feholdexcept_setround_sse_ctx): New function.
20542 (libc_fesetenv_sse_ctx): Likewise.
20543 (libc_feupdateenv_sse_ctx): Likewise.
20544 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
20545 (libc_feholdexcept_setround_387_ctx): Likewise.
20546 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
20547 (libc_feholdsetround_387_prec_ctx): Likewise.
20548 (libc_feholdsetround_387_ctx): Likewise.
20549 (libc_feholdsetround_387_53bit_ctx): Likewise.
20550 (libc_feholdsetround_sse_ctx): Likewise.
20551 (libc_feresetround_sse_ctx): Likewise.
20552 (libc_feresetround_387_ctx): Likewise.
20553 (libc_feupdateenv_387_ctx): Likewise.
20554 (libc_feholdexcept_setroundf_ctx): Define macro.
20555 (libc_fesetenvf_ctx): Likewise.
20556 (libc_feupdateenvf_ctx): Likewise.
20557 (libc_feholdsetroundf_ctx): Likewise.
20558 (libc_feresetroundf_ctx): Likewise.
20559 (libc_feholdexcept_setround_ctx): Likewise.
20560 (libc_fesetenv_ctx): Likewise.
20561 (libc_feupdateenv_ctx): Likewise.
20562 (libc_feholdsetround_ctx): Likewise.
20563 (libc_feresetround_ctx): Likewise.
20564 (libc_feholdexcept_setroundl_ctx): Likewise.
20565 (libc_feupdateenvl_ctx): Likewise.
20566 (libc_feholdsetroundl_ctx): Likewise.
20567 (libc_feresetroundl_ctx): Likewise.
20568 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
20569 (libc_feresetround_53bit_ctx): Likewise.
20570
59b30555
SP
205712013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
20572
20573 * locale/iso-639.def: Convert to UTF-8.
20574
f1d73d30
JM
205752013-06-11 Joseph Myers <joseph@codesourcery.com>
20576
20577 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
20578 (EXCEPTION_TESTS_double): Likewise.
20579 (EXCEPTION_TESTS_long_double): Likewise.
20580 (EXCEPTION_TESTS): Likewise.
20581 * math/libm-test.inc (test_exceptions): Only test exceptions if
20582 EXCEPTION_TESTS (FLOAT).
20583
94aca5e7
SP
205842013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
20585
20586 * benchtests/Makefile (string-bench): Add strcpy_chk and
20587 stpcpy_chk.
20588 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
20589 * benchtests/bench-stpcpy_chk.c: New file.
20590 * benchtests/bench-strcpy_chk-ifunc.c: New file.
20591 * benchtests/bench-strcpy_chk.c: New file.
20592 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
20593 code.
20594 (do_test): Likewise.
20595
fac0c5f2
RA
205962013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
20597
20598 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
20599 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
20600 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
20601 with tabs where appropriate.
20602 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
20603 dl-procinfo.h.
20604 [PPC_PLATFORM_PPC440]: Likewise.
20605 [PPC_PLATFORM_PPC464]: Likewise.
20606 [PPC_PLATFORM_PPC476]: Likewise.
20607 (_dl_string_platform): Add support for detecting ppc405, ppc440,
20608 ppc464, and ppc476 platform strings merging from ports/
20609 dl-procinfo.h.
20610
f22bc486
AS
206112013-06-11 Andreas Schwab <schwab@suse.de>
20612
20613 [BZ #14991]
20614 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
20615 (from_ucs4_idx): Regenerate.
20616 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
20617 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
20618 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
20619 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
20620 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
20621 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
20622 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
20623 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
20624 from FROM_LOOP and TO_LOOP specific macros.
20625 (BODY): Handle combining characters.
20626 * iconvdata/BIG5HKSCS.irreversible: Update.
20627 * iconvdata/BIG5HKSCS.precomposed: New file.
20628 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
20629 characters.
20630 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
20631
c1f75dc3
SP
206322013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
20633
4eacded2
SP
20634 * include/sys/time.h: Fix indentation and add copyright header.
20635
fec799f8
SP
20636 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
20637 (do_test): Likewise.
20638 * string/test-memchr.c (do_one_test): Likewise.
20639 (do_test): Likewise.
20640 * string/test-memcmp.c (do_one_test): Likewise.
20641 (do_test): Likewise.
20642 * string/test-memcpy.c (do_one_test): Likewise.
20643 (do_test): Likewise.
20644 * string/test-memmem.c (do_one_test): Likewise.
20645 (do_test): Likewise.
20646 (do_random_tests): Likewise.
20647 * string/test-memmove.c (do_one_test): Likewise.
20648 (do_test): Likewise.
20649 * string/test-memset.c (do_one_test): Likewise.
20650 (do_test): Likewise.
20651 * string/test-rawmemchr.c (do_one_test): Likewise.
20652 (do_test): Likewise.
20653 * string/test-strcasecmp.c (do_one_test): Likewise.
20654 (do_test): Likewise.
20655 * string/test-strcasestr.c (do_one_test): Likewise.
20656 (do_test): Likewise.
20657 * string/test-strcat.c (do_one_test): Likewise.
20658 (do_test): Likewise.
20659 * string/test-strchr.c (do_one_test): Likewise.
20660 (do_test): Likewise.
20661 * string/test-strcmp.c (do_one_test): Likewise.
20662 (do_test): Likewise.
20663 * string/test-strcpy.c (do_one_test): Likewise.
20664 (do_test): Likewise.
20665 * string/test-string.h: Likewise.
20666 (test_init): Likewise.
20667 * string/test-strlen.c (do_one_test): Likewise.
20668 (do_test): Likewise.
20669 * string/test-strncasecmp.c (do_one_test): Likewise.
20670 (do_test): Likewise.
20671 * string/test-strncat.c (do_one_test): Likewise.
20672 (do_test): Likewise.
20673 * string/test-strncmp.c (do_one_test): Likewise.
20674 (do_test_limit): Likewise.
20675 (do_test): Likewise.
20676 * string/test-strncpy.c (do_one_test): Likewise.
20677 (do_test): Likewise.
20678 * string/test-strnlen.c (do_one_test): Likewise.
20679 (do_test): Likewise.
20680 * string/test-strpbrk.c (do_one_test): Likewise.
20681 (do_test): Likewise.
20682 * string/test-strrchr.c (do_one_test): Likewise.
20683 (do_test): Likewise.
20684 * string/test-strspn.c (do_one_test): Likewise.
20685 (do_test): Likewise.
20686 * string/test-strstr.c (do_one_test): Likewise.
20687 (do_test): Likewise.
20688
97020474
SP
20689 * benchtests/Makefile (string-bench): Add string benchmarks.
20690 * benchtests/bench-bcopy-ifunc.c: New file.
20691 * benchtests/bench-bcopy.c: New file.
20692 * benchtests/bench-bzero-ifunc.c: New file.
20693 * benchtests/bench-bzero.c: New file.
20694 * benchtests/bench-memccpy-ifunc.c: New file.
20695 * benchtests/bench-memccpy.c: New file.
20696 * benchtests/bench-memchr-ifunc.c: New file.
20697 * benchtests/bench-memchr.c: New file.
20698 * benchtests/bench-memcmp-ifunc.c: New file.
20699 * benchtests/bench-memcmp.c: New file.
20700 * benchtests/bench-memmem-ifunc.c: New file.
20701 * benchtests/bench-memmem.c: New file.
20702 * benchtests/bench-memmove-ifunc.c: New file.
20703 * benchtests/bench-memmove.c: New file.
20704 * benchtests/bench-mempcpy-ifunc.c: New file.
20705 * benchtests/bench-mempcpy.c: New file.
20706 * benchtests/bench-memset-ifunc.c: New file.
20707 * benchtests/bench-memset.c: New file.
20708 * benchtests/bench-rawmemchr-ifunc.c: New file.
20709 * benchtests/bench-rawmemchr.c: New file.
20710 * benchtests/bench-stpcpy-ifunc.c: New file.
20711 * benchtests/bench-stpcpy.c: New file.
20712 * benchtests/bench-stpncpy-ifunc.c: New file.
20713 * benchtests/bench-stpncpy.c: New file.
20714 * benchtests/bench-strcasecmp-ifunc.c: New file.
20715 * benchtests/bench-strcasecmp.c: New file.
20716 * benchtests/bench-strcasestr-ifunc.c: New file.
20717 * benchtests/bench-strcasestr.c: New file.
20718 * benchtests/bench-strcat-ifunc.c: New file.
20719 * benchtests/bench-strcat.c: New file.
20720 * benchtests/bench-strchr-ifunc.c: New file.
20721 * benchtests/bench-strchr.c: New file.
20722 * benchtests/bench-strchrnul-ifunc.c: New file.
20723 * benchtests/bench-strchrnul.c: New file.
20724 * benchtests/bench-strcmp-ifunc.c: New file.
20725 * benchtests/bench-strcmp.c: New file.
20726 * benchtests/bench-strcpy-ifunc.c: New file.
20727 * benchtests/bench-strcpy.c: New file.
20728 * benchtests/bench-strcspn-ifunc.c: New file.
20729 * benchtests/bench-strcspn.c: New file.
20730 * benchtests/bench-strlen-ifunc.c: New file.
20731 * benchtests/bench-strlen.c: New file.
20732 * benchtests/bench-strncasecmp-ifunc.c: New file.
20733 * benchtests/bench-strncasecmp.c: New file.
20734 * benchtests/bench-strncat-ifunc.c: New file.
20735 * benchtests/bench-strncat.c: New file.
20736 * benchtests/bench-strncmp-ifunc.c: New file.
20737 * benchtests/bench-strncmp.c: New file.
20738 * benchtests/bench-strncpy-ifunc.c: New file.
20739 * benchtests/bench-strncpy.c: New file.
20740 * benchtests/bench-strnlen-ifunc.c: New file.
20741 * benchtests/bench-strnlen.c: New file.
20742 * benchtests/bench-strpbrk-ifunc.c: New file.
20743 * benchtests/bench-strpbrk.c: New file.
20744 * benchtests/bench-strrchr-ifunc.c: New file.
20745 * benchtests/bench-strrchr.c: New file.
20746 * benchtests/bench-strspn-ifunc.c: New file.
20747 * benchtests/bench-strspn.c: New file.
20748 * benchtests/bench-strstr-ifunc.c: New file.
20749 * benchtests/bench-strstr.c: New file.
20750
c1f75dc3
SP
20751 * benchtests/Makefile: Disable parallel execution of targets.
20752 (string-bench): Add memcpy.
20753 (benchset): New variable to store a list of benchmark sets.
20754 (bench-func): Renamed from bench.
20755 (bench-set): New target.
20756 (bench): Depend on bench-func and bench-set.
20757 * benchtests/README: Add section on benchmark sets.
20758 * benchtests/bench-memcpy-ifunc.c: New file.
20759 * benchtests/bench-memcpy.c: New file.
20760 * benchtests/bench-string.h: New file.
20761
50fd745b
AS
207622013-06-11 Andreas Schwab <schwab@suse.de>
20763
20764 [BZ #15577]
20765 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
20766 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
20767 values in the triple.
20768 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
20769 terminator in the group key.
20770
3ee7e9fe
AJ
207712013-06-11 Andreas Jaeger <aj@suse.de>
20772
20773 * po/zh_TW.po: Update Chinese (traditional) translation from
20774 translation project.
20775
89fb6835
SP
207762013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
20777
20778 * include/time.h (__clock_gettime): Add libc_hidden_proto.
20779 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
20780 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
20781 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
20782 (clock_getcpuclockid): Likewise.
20783 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
20784 Add weak_alias and libc_hidden_def.
20785 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
20786 * rt/clock_gettime.c (clock_gettime): Rename to
20787 __clock_gettime. Add weak_alias and libc_hidden_def.
20788 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
20789 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
20790 __clock_nanosleep. Add weak_alias and libc_hidden_def.
20791 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
20792 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
20793 Likewise.
20794 * rt/clock_settime.c (clock_settime): Rename to
20795 __clock_settime. Add weak_alias and libc_hidden_def.
20796 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
20797
0efa6f8b
JM
207982013-06-10 Joseph Myers <joseph@codesourcery.com>
20799
b8c61b4b
JM
20800 * mach/err_boot.sub: Remove trailing whitespace.
20801 * mach/err_ipc.sub: Likewise.
20802 * mach/err_mach.sub: Likewise.
20803
0efa6f8b
JM
20804 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
20805 (ROUNDING_TESTS_double): Likewise.
20806 (ROUNDING_TESTS_long_double): Likewise.
20807 (ROUNDING_TESTS): Likewise.
20808 * math/libm-test.inc: Include <math-tests.h>.
20809 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
20810 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
20811 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
20812 (IF_ROUND_INIT_FE_UPWARD): Likewise.
20813
50b818bf
SP
208142013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
20815
20816 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
20817 of assigning.
20818
60d2f8f3
JM
208192013-06-08 Joseph Myers <joseph@codesourcery.com>
20820
4902d2c3
JM
20821 * sysdeps/gnu/errlist.awk: Do not generate space at end of
20822 otherwise empty TRANS lines.
20823 * sysdeps/gnu/errlist.c: Regenerated.
20824
60d2f8f3
JM
20825 * catgets/gencat.c (error_print): Use (void) in function
20826 definition.
20827 * crypt/crypt_util.c (__init_des): Likewise.
20828 * crypt/speeds.c (Stop): Likewise.
20829 (main): Likewise.
20830 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
20831 * inet/ruserpass.c (token): Likewise.
20832 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
20833 * intl/localealias.c (extend_alias_table): Likewise.
20834 * intl/plural-exp.c (init_germanic_plural): Likewise.
20835 * libio/fcloseall.c (__fcloseall): Likewise.
20836 * libio/genops.c (_IO_flush_all): Likewise.
20837 (_IO_flush_all_linebuffered): Likewise.
20838 (_IO_cleanup): Likewise.
20839 (_IO_iter_begin): Likewise.
20840 (_IO_iter_end): Likewise.
20841 (_IO_list_lock): Likewise.
20842 (_IO_list_unlock): Likewise.
20843 (_IO_list_resetlock): Likewise.
20844 * libio/getchar.c (getchar): Likewise.
20845 * libio/getchar_u.c (getchar_unlocked): Likewise.
20846 * libio/getwchar.c (getwchar): Likewise.
20847 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
20848 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
20849 * login/getpt.c (__getpt): Likewise.
20850 * login/tst-utmp.c (main): Likewise.
20851 * malloc/hooks.c (__malloc_check_init): Likewise.
20852 * malloc/malloc.c (__malloc_stats): Likewise.
20853 * malloc/mtrace.c (tr_break): Likewise.
20854 (mtrace): Likewise.
20855 (muntrace): Likewise.
20856 * misc/fstab.c (endfsent): Likewise.
20857 * misc/getclktck.c (__getclktck): Likewise.
20858 * misc/getdtsz.c (__getdtablesize): Likewise.
20859 * misc/gethostid.c (gethostid): Likewise.
20860 * misc/getpagesize.c (__getpagesize): Likewise.
20861 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
20862 (__get_nprocs): Likewise.
20863 (__get_phys_pages): Likewise.
20864 (__get_avphys_pages): Likewise.
20865 * misc/getttyent.c (getttyent): Likewise.
20866 (setttyent): Likewise.
20867 (endttyent): Likewise.
20868 * misc/getusershell.c (getusershell): Likewise.
20869 (endusershell): Likewise.
20870 (setusershell): Likewise.
20871 (initshells): Likewise.
20872 * misc/hsearch.c (__hdestroy): Likewise.
20873 * misc/sync.c (sync): Likewise.
20874 * misc/syslog.c (closelog_internal): Likewise.
20875 (closelog): Likewise.
20876 * misc/ttyslot.c (ttyslot): Likewise.
20877 * misc/vhangup.c (vhangup): Likewise.
20878 * posix/fork.c (__fork): Likewise.
20879 * posix/getegid.c (__getegid): Likewise.
20880 * posix/geteuid.c (__geteuid): Likewise.
20881 * posix/getgid.c (__getgid): Likewise.
20882 * posix/getpid.c (__getpid): Likewise.
20883 * posix/getppid.c (__getppid): Likewise.
20884 * posix/getuid.c (__getuid): Likewise.
20885 * posix/pause.c (pause): Likewise.
20886 * posix/setpgrp.c (setpgrp): Likewise.
20887 * posix/setsid.c (__setsid): Likewise.
20888 * posix/test-vfork.c (noop): Likewise.
20889 * resolv/gethnamaddr.c (_endhtent): Likewise.
20890 (_gethtent): Likewise.
20891 (ht_endhostent): Likewise.
20892 (gethostent): Likewise.
20893 (dns_service): Likewise.
20894 * stdlib/drand48.c (drand48): Likewise.
20895 * stdlib/lrand48.c (lrand48): Likewise.
20896 * stdlib/mrand48.c (mrand48): Likewise.
20897 * stdlib/rand.c (rand): Likewise.
20898 * stdlib/random.c (__random): Likewise.
20899 * stdlib/setenv.c (clearenv): Likewise.
20900 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
20901 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
20902 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
20903 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
20904 (__get_nprocs): Likewise.
20905 (__get_phys_pages): Likewise.
20906 (__get_avphys_pages): Likewise.
20907 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
20908 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
20909 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
20910 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
20911 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
20912 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
20913 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
20914 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
20915 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
20916 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
20917 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
20918 * sysdeps/mach/hurd/sync.c (sync): Likewise.
20919 * sysdeps/posix/clock.c (clock): Likewise.
20920 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
20921 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
20922 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
20923 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
20924 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
20925 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
20926 (__get_nprocs_conf): Likewise.
20927 (__get_phys_pages): Likewise.
20928 (__get_avphys_pages): Likewise.
20929 * time/clock.c (clock): Likewise.
20930 * time/tzset.c (__tzname_max): Likewise.
20931
2e09a79a
JM
209322013-06-07 Joseph Myers <joseph@codesourcery.com>
20933
20934 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
20935 (__bswap_32): Do not use "register".
20936 * crypt/crypt.c (_ufc_doit_r): Likewise.
20937 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
20938 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
20939 * gmon/gmon.c (__monstartup): Likewise.
20940 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
20941 * hurd/hurdmalloc.c (more_memory): Likewise.
20942 (malloc): Likewise.
20943 (free): Likewise.
20944 (realloc): Likewise.
20945 (malloc_fork_prepare): Likewise.
20946 (malloc_fork_parent): Likewise.
20947 (malloc_fork_child): Likewise.
20948 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
20949 (_svcauth_des): Likewise.
20950 * inet/inet_lnaof.c (inet_lnaof): Likewise.
20951 * inet/inet_net.c (inet_network): Likewise.
20952 * inet/inet_netof.c (inet_netof): Likewise.
20953 * inet/rcmd.c (__validuser2_sa): Likewise.
20954 * io/fts.c (fts_open): Likewise.
20955 (fts_load): Likewise.
20956 (fts_close): Likewise.
20957 (fts_read): Likewise.
20958 (fts_children): Likewise.
20959 (fts_build): Likewise.
20960 (fts_stat): Likewise.
20961 (fts_sort): Likewise.
20962 (fts_alloc): Likewise.
20963 (fts_lfree): Likewise.
20964 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
20965 (_IO_file_xsgetn): Likewise.
20966 (_IO_file_xsgetn_mmap): Likewise.
20967 * libio/iofopncook.c (_IO_cookie_read): Likewise.
20968 (_IO_cookie_write): Likewise.
20969 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
20970 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
20971 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
20972 * malloc/obstack.c (_obstack_begin): Likewise.
20973 (_obstack_begin_1): Likewise.
20974 (_obstack_newchunk): Likewise.
20975 (_obstack_allocated_p): Likewise.
20976 (obstack_free): Likewise.
20977 (_obstack_memory_used): Likewise.
20978 * misc/getttyent.c (getttynam): Likewise.
20979 (getttyent): Likewise.
20980 (skip): Likewise.
20981 (value): Likewise.
20982 * misc/getusershell.c (initshells): Likewise.
20983 * misc/syslog.c (__vsyslog_chk): Likewise.
20984 * misc/ttyslot.c (ttyslot): Likewise.
20985 * nis/nis_hash.c (__nis_hash): Likewise.
20986 * posix/fnmatch_loop.c (FCT): Likewise.
20987 * posix/getconf.c (print_all): Likewise.
20988 (main): Likewise.
20989 * posix/getopt.c (exchange): Likewise.
20990 * posix/glob.c (globfree): Likewise.
20991 (prefix_array): Likewise.
20992 (__glob_pattern_type): Likewise.
20993 * resolv/arpa/nameser.h (NS_GET16): Likewise.
20994 (NS_GET32): Likewise.
20995 (NS_PUT16): Likewise.
20996 (NS_PUT32): Likewise.
20997 * resolv/gethnamaddr.c (getanswer): Likewise.
20998 (gethostbyname2): Likewise.
20999 (gethostbyaddr): Likewise.
21000 (_gethtent): Likewise.
21001 (_gethtbyname2): Likewise.
21002 (_gethtbyaddr): Likewise.
21003 * resolv/ns_print.c (dst_s_get_int16): Likewise.
21004 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
21005 * resolv/res_init.c (__res_vinit): Likewise.
21006 (net_mask): Likewise.
21007 * resolv/res_mkquery.c (outchar): Likewise.
21008 (PRINT): Likewise.
21009 * stdio-common/printf_fp.c (outchar): Likewise.
21010 (PRINT): Likewise.
21011 * stdio-common/printf_fphex.c (outchar): Likewise.
21012 (PRINT): Likewise.
21013 * stdio-common/printf_size.c (outchar): Likewise.
21014 (PRINT): Likewise.
21015 * stdio-common/test_rdwr.c (main): Likewise.
21016 * stdio-common/tfformat.c (matches): Likewise.
21017 * stdio-common/vfprintf.c (outchar): Likewise.
21018 (printf_unknown): Likewise.
21019 (buffered_vfprintf): Likewise.
21020 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
21021 * stdio-common/xbug.c (AppendToBuffer): Likewise.
21022 (ReadFile): Likewise.
21023 * stdlib/qsort.c (SWAP): Likewise.
21024 (_quicksort): Likewise.
21025 * stdlib/setenv.c (__add_to_environ): Likewise.
21026 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
21027 * stdlib/strtol_l.c (__strtol_l): Likewise.
21028 * stdlib/tst-strtod.c (main): Likewise.
21029 * stdlib/tst-strtol.c (main): Likewise.
21030 * stdlib/tst-strtoll.c (main): Likewise.
21031 * string/bits/string2.h (__strcmp_cc): Likewise.
21032 (__strcmp_cg): Likewise.
21033 (__strcspn_c1): Likewise.
21034 (__strcspn_c2): Likewise.
21035 (__strcspn_c3): Likewise.
21036 (__strspn_c1): Likewise.
21037 (__strspn_c2): Likewise.
21038 (__strspn_c3): Likewise.
21039 (__strsep_1c): Likewise.
21040 (__strsep_2c): Likewise.
21041 (__strsep_3c): Likewise.
21042 * string/memccpy.c (__memccpy): Likewise.
21043 * string/stpcpy.c (__stpcpy): Likewise.
21044 * string/strcmp.c (strcmp): Likewise.
21045 * string/strrchr.c (strrchr): Likewise.
21046 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
21047 Likewise.
21048 * sysdeps/mach/hurd/getcwd.c
21049 (_hurd_canonicalize_directory_name_internal): Likewise.
21050 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
21051 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
21052 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
21053 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
21054 Likewise, in both definitions.
21055 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
21056 definitions.
21057 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
21058 64] (__bswap_64): Likewise.
21059 * time/test_time.c (main): Likewise.
21060 * time/tzfile.c (__tzfile_read): Likewise.
21061 (__tzfile_compute): Likewise.
21062 * time/tzset.c (__tzset_parse_tz): Likewise.
21063 (tzset_internal): Likewise.
21064 (compute_change): Likewise.
21065 * wcsmbs/wcscat.c (__wcscat): Likewise.
21066 * wcsmbs/wcschr.c (wcschr): Likewise.
21067 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
21068 * wcsmbs/wcscspn.c (wcscspn): Likewise.
21069 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
21070 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
21071 * wcsmbs/wcsspn.c (wcsspn): Likewise.
21072 * wcsmbs/wcsstr.c (wcsstr): Likewise.
21073 * wcsmbs/wmemchr.c (wmemchr): Likewise.
21074 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
21075 * wcsmbs/wmemset.c (wmemset): Likewise.
21076
9e54314b
JM
210772013-06-06 Joseph Myers <joseph@codesourcery.com>
21078
21079 * scripts/config.guess: Update to version 2013-05-16.
21080 * scripts/config.sub: Update to version 2013-04-24.
21081 * scripts/install-sh: Update to version 2011-11-20.07.
21082 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
21083 * scripts/move-if-change: Update to version 2012-01-06 07:23.
21084
350635a5
OB
210852013-06-06 Ondřej Bílka <neleai@seznam.cz>
21086
21087 * debug/fgetws_u_chk.c: Fix leading whitespaces.
21088 * elf/sln.c: Likewise.
21089 * hurd/hurd/ioctl.h: Likewise.
21090 * hurd/hurdmalloc.c: Likewise.
21091 * hurd/xattr.c: Likewise.
21092 * include/shlib-compat.h: Likewise.
21093 * inet/ruserpass.c: Likewise.
21094 * libio/iofgets_u.c: Likewise.
21095 * libio/iofgetws_u.c: Likewise.
21096 * locale/programs/ld-identification.c: Likewise.
21097 * locale/programs/ld-time.c: Likewise.
21098 * mach/msg-destroy.c: Likewise.
21099 * nss/nss_files/files-netgrp.c: Likewise.
21100 * resolv/res_data.c: Likewise.
21101 * soft-fp/op-1.h: Likewise.
21102 * soft-fp/op-2.h: Likewise.
21103 * soft-fp/op-4.h: Likewise.
21104 * soft-fp/op-common.h: Likewise.
21105 * stdio-common/printf_fphex.c: Likewise.
21106 * stdlib/strtod_l.c: Likewise.
21107 * sunrpc/rpc/clnt.h: Likewise.
21108 * sysdeps/generic/framestate.c: Likewise.
21109 * sysdeps/i386/bsd-_setjmp.S: Likewise.
21110 * sysdeps/i386/bsd-setjmp.S: Likewise.
21111 * sysdeps/i386/__longjmp.S: Likewise.
21112 * sysdeps/i386/setjmp.S: Likewise.
21113 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
21114 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
21115 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
21116 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
21117 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
21118 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
21119 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
21120 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
21121 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
21122 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
21123 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
21124 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
21125 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
21126 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
21127 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
21128 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
21129 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
21130 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
21131 * sysdeps/ieee754/support.c: Likewise.
21132 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
21133 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
21134 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
21135 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
21136 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
21137 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
21138 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
21139 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
21140 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
21141 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
21142 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
21143 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
21144 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
21145 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
21146 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
21147 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
21148 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
21149 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
21150
44a988af
OB
211512013-06-05 Ondřej Bílka <neleai@seznam.cz>
21152
25506f09 21153 * posix/transbug.c: Remove executable mode.
44a988af 21154
9c84384c
JM
211552013-06-05 Joseph Myers <joseph@codesourcery.com>
21156
21157 * crypt/speeds.c: Remove trailing whitespace.
21158 * dlfcn/default.c: Likewise.
21159 * elf/ifuncdep2.c: Likewise.
21160 * elf/ifuncmain1.c: Likewise.
21161 * elf/ifuncmain1vis.c: Likewise.
21162 * elf/testobj.h: Likewise.
21163 * elf/tst-stackguard1.c: Likewise.
21164 * gmon/sys/gmon.h: Likewise.
21165 * hurd/hurdmsg.c: Likewise.
21166 * hurd/new-fd.c: Likewise.
21167 * hurd/ports-get.c: Likewise.
21168 * iconvdata/ibm1008_420.c: Likewise.
21169 * inet/tst-getni1.c: Likewise.
21170 * inet/tst-getni2.c: Likewise.
21171 * libio/ioungetc.c: Likewise.
21172 * libio/wfiledoalloc.c: Likewise.
21173 * manual/libm-err-tab.pl: Likewise.
21174 * math/w_dremf.c: Likewise.
21175 * misc/ftruncate.c: Likewise.
21176 * posix/bug-glob2.c: Likewise.
21177 * posix/tst-pcre.c: Likewise.
21178 * posix/wait4.c: Likewise.
21179 * resolv/README: Likewise.
21180 * resolv/res_debug.h: Likewise.
21181 * resolv/tst-inet_ntop.c: Likewise.
21182 * setjmp/bug269-setjmp.c: Likewise.
21183 * soft-fp/extended.h: Likewise.
21184 * soft-fp/op-1.h: Likewise.
21185 * soft-fp/op-2.h: Likewise.
21186 * soft-fp/op-4.h: Likewise.
21187 * soft-fp/op-8.h: Likewise.
21188 * soft-fp/testit.c: Likewise.
21189 * stdio-common/bug16.c: Likewise.
21190 * stdlib/random.c: Likewise.
21191 * sunrpc/rpcsvc/rquota.x: Likewise.
21192 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
21193 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
21194 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
21195 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
21196 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
21197 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
21198 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
21199 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
21200 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
21201 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
21202 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
21203 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
21204 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
21205 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
21206 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
21207 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
21208 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
21209 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
21210 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
21211 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
21212 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
21213 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
21214 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
21215 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
21216 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
21217 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
21218 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
21219 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
21220 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
21221 * sysdeps/ieee754/s_lib_version.c: Likewise.
21222 * sysdeps/mach/hurd/check_fds.c: Likewise.
21223 * sysdeps/mach/hurd/getsockname.c: Likewise.
21224 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
21225 * sysdeps/mach/hurd/recvfrom.c: Likewise.
21226 * sysdeps/powerpc/bits/link.h: Likewise.
21227 * sysdeps/powerpc/dl-procinfo.c: Likewise.
21228 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
21229 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
21230 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
21231 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
21232 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
21233 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
21234 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
21235 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
21236 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
21237 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
21238 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
21239 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
21240 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
21241 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
21242 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
21243 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
21244 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
21245 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
21246 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
21247 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
21248 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
21249 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
21250 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
21251 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
21252 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
21253 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
21254 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
21255 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
21256 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
21257 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
21258 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
21259 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
21260 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
21261 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
21262 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
21263 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
21264 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
21265 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
21266 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
21267 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
21268 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
21269 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
21270 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
21271 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
21272 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
21273 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
21274 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
21275 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
21276 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
21277 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
21278 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
21279 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
21280 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
21281 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
21282 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
21283 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
21284 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
21285 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
21286 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
21287 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
21288 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
21289 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
21290 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
21291 * sysdeps/powerpc/sysdep.h: Likewise.
21292 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
21293 * sysdeps/s390/s390-64/sub_n.S: Likewise.
21294 * sysdeps/sh/dl-trampoline.S: Likewise.
21295 * sysdeps/sh/memset.S: Likewise.
21296 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
21297 * sysdeps/sh/strlen.S: Likewise.
21298 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
21299 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
21300 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
21301 * sysdeps/sparc/sparc32/rem.S: Likewise.
21302 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
21303 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
21304 * sysdeps/sparc/sparc32/strchr.S: Likewise.
21305 * sysdeps/sparc/sparc32/udiv.S: Likewise.
21306 * sysdeps/sparc/sparc32/urem.S: Likewise.
21307 * sysdeps/sparc/sparc64/add_n.S: Likewise.
21308 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
21309 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
21310 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
21311 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
21312 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
21313 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
21314 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
21315 * sysdeps/unix/bsd/times.c: Likewise.
21316 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
21317 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
21318 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
21319 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
21320 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
21321 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
21322 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
21323 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
21324 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
21325 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
21326 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
21327 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
21328 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
21329 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
21330 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
21331 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
21332 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
21333 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
21334 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
21335 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
21336 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
21337 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
21338 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
21339 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
21340 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
21341 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
21342 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
21343 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
21344 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
21345 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
21346 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
21347 * sysdeps/x86_64/strcspn.S: Likewise.
21348
869378a5
RA
213492013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
21350
21351 * locale/C-translit.h: Revert #include <stdint.h> because this is a
21352 generated file. Regenerate properly from gen-translit.pl.
21353 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
21354 locale/C-translit.h.
21355
840e2943
AS
213562013-06-05 Andreas Schwab <schwab@suse.de>
21357
21358 [BZ #15100]
21359 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
21360 week as 6 instead of -1.
21361 * time/tst-strptime.c (day_tests): Add test case.
21362
4c60cb0c
SP
213632013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
21364
21365 * sysdeps/generic/math_private.h
21366 (libc_feholdexcept_setround_53bit): Replace with
21367 libc_feholdsetround_53bit.
21368 (libc_feupdateenv_53bit): Replace with
21369 libc_feresetround_53bit.
21370 (SET_RESTORE_ROUND_53BIT): Adjust.
21371
d180203e
SP
213722013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
21373
96df079a
SP
21374 * string/test-strchrnul.c: Add copyright header.
21375
d180203e
SP
21376 * posix/tst-getaddrinfo4.c: Increase test timeout.
21377
8b0ccb2d
CD
213782013-06-03 Carlos O'Donell <carlos@redhat.com>
21379
21380 [BZ #15536]
21381 * math/libm-test.inc (MAX_EXP): Remove
21382 (MIN_EXP): Define.
21383 (ulp): Use MIN_EXP - MANT_DIG.
21384 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
21385
3b3c4d40
CD
213862013-05-31 Carlos O'Donell <carlos@redhat.com>
21387
21388 * po/be.po: Revert last change.
21389 * po/zh_CN.po: Likewise.
21390 * po/header.pot: Likewise.
21391
fab7ce3f
JM
213922013-05-31 Joseph Myers <joseph@codesourcery.com>
21393
21394 * Makefile ($(common-objpfx)linkobj/libc.so): Define
21395 link-libc-deps to empty as target-specific variable.
21396 * Makerules (link-libc-args): New variable.
21397 (libc-for-link): Likewise.
21398 (link-libc-deps): Likewise.
21399 (lib%.so): Depend on $(link-libc-deps). Link with
21400 $(link-libc-args).
21401 (build-module): Link with $(link-libc-args).
21402 (build-module-asneeded): Likewise.
21403 (build-module-helper-objlist): Filter out $(link-libc-deps) from
21404 list of objects.
21405 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
21406 target-specific variable.
21407 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
21408 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
21409 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
21410 libc.
21411 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
21412 libc and ld.so.
21413 ($(objpfx)libpcprofile.so): Likewise.
21414 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
21415 libc_nonshared.a.
21416 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
21417 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
21418 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
21419 $(link-libc-deps).
21420 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
21421 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
21422 * login/Makefile ($(objpfx)libutil.so): Likewise.
21423 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
21424 * math/Makefile ($(objpfx)libm.so): Likewise.
21425 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
21426 $(objpfx)libnsl.so): Define libc-for-link as target-specific
21427 variable instead of depending directly on libc.
21428 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
21429 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
21430 $(link-libc-deps).
21431 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
21432 libc.
21433 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
21434 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
21435 ($(objpfx)libanl.so): Likewise.
21436 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
21437 ld.so.
21438 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
21439 $(link-libc-deps).
21440 * sysdeps/i386/fpu/Makefile: Remove file.
21441 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
21442 ($(objpfx)libm.so): Remove dependency on ld.so.
21443
eca5920c
PF
214442013-05-30 Patsy Franklin <pfrankli@redhat.com>
21445
21446 [BZ # 15553]
21447 * nis/yp_xdr.c (XDRMAXNAME): Define.
21448 (XDRMAXRECORD): Define.
21449 (xdr_domainname): Use XDRMAXNAME.
21450 (xdr_mapname): Likewise.
21451 (xdr_peername): Likewise.
21452 (xdr_keydat): Use XDRMAXRECORD.
21453 (xdr_valdat): Likewise.
21454
214552013-05-30 Jeff Law <law@redhat.com>
96945714
JL
21456
21457 [BZ #14256]
21458 * manual/errno.texi (ESTALE): Update to account for more than
21459 just NFS file systems.
21460 * sysdeps/gnu/errlist.c: Regenerated.
21461
b9375348
SP
214622013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
21463
21464 [BZ #15465]
21465 * elf/Makefile (tests): Add tst-null-argv.
21466 (modules-names): Add tst-null-argv-lib.
21467 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
21468 (tst-null-argv-ENV): Set environment for tst-null-argv.
21469 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
21470 (RTLD_PROGNAME): New macro.
21471 * elf/tst-null-argv.c: New test case.
21472 * elf/tst-null-argv-lib.c: Library for test case.
21473 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
21474 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
21475 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
21476 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
21477 * elf/dl-init.c (call_init): Likewise.
21478 (_dl_init): Likewise.
21479 * elf/dl-load.c (print_search_path): Likewise.
21480 (_dl_map_object): Likewise.
21481 * elf/dl-lookup.c (do_lookup_x): Likewise.
21482 (add_dependency): Likewise.
21483 (_dl_lookup_symbol_x): Likewise.
21484 (_dl_debug_bindings): Likewise.
21485 * elf/dl-open.c (_dl_show_scope): Likewise.
21486 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
21487 * elf/dl-version.c (match_symbol): Likewise.
21488 (_dl_check_map_versions): Likewise.
21489 * elf/rtld.c (dl_main): Likewise.
21490 (print_unresolved): Use RTLD_PROGNAME.
21491 (print_missing_version): Likewise.
21492 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
21493 (elf_machine_rela): Likewise.
21494 * sysdeps/powerpc/powerpc32/dl-machine.c
21495 (__process_machine_rela): Likewise.
21496 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
21497 Likewise.
21498 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
21499 Likewise.
21500 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
21501 Likewise.
21502 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
21503 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
21504 Likewise.
21505 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
21506 Likewise.
21507 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
21508
8a9f20c8
CD
215092013-05-28 Carlos O'Donell <carlos@redhat.com>
21510
21511 * po/be.po: Add descriptive title.
21512 * po/zh_CN.po: Likewise.
21513 * po/header.pot: Likewise.
21514
0e60d68e
MF
215152013-05-28 Mike Frysinger <vapier@gentoo.org>
21516
21517 * locale/programs/locarchive.c (create_archive): Inlucde fname in
21518 error message.
21519 (enlarge_archive): Likewise.
21520
56b672e9
BN
215212013-05-28 Ben North <ben@redfrontdoor.org>
21522
21523 * manual/arith.texi (frexp): It is the magnitude of the return
21524 value which lies in [0.5, 1), not the return value itself.
21525
5e056687
AZ
215262013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21527
21528 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21529
2b66ef5d
TS
215302013-05-26 Thomas Schwinge <thomas@codesourcery.com>
21531
528c2405
TS
21532 * stdio-common/bug26.c (main): Correct fscanf template.
21533
07b4c13d
TS
21534 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
21535 declare _dl_skip_args.
21536
ec9dd97c
TS
21537 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
21538 Don't declare.
21539
2b66ef5d
TS
21540 * manual/platform.texi: Add missing @end deftypefun.
21541
4f8dfe27
JM
215422013-05-24 Joseph Myers <joseph@codesourcery.com>
21543
0323d086
JM
21544 [BZ #15529]
21545 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
21546 bit of mantissa of 2^16382.
21547 * math/libm-test.inc (hypot_test_data): Add more tests.
21548
dd4259b9
JM
21549 * math/libm-test.inc: Add drem and pow10 to list of tested
21550 functions.
21551 (pow10_test): New function.
21552 (drem_test): Likewise.
21553 (drem_test_tonearest): Likewise.
21554 (drem_test_towardzero): Likewise.
21555 (drem_test_downward): Likewise.
21556 (drem_test_upward): Likewise.
21557 (main): Call the new functions.
21558
4f8dfe27
JM
21559 * math/libm-test.inc (finite_test_data): Remove.
21560 (finite_test): Run tests from isfinite_test_data.
21561 (gamma_test_data): Remove.
21562 (gamma_test): Run tests from lgamma_test_data.
21563 * sysdeps/i386/fpu/libm-test-ulps: Update.
21564 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21565
d116b7c4
AZ
215662013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21567
21568 * manual/platform.texi: Add PowerPC PPR function set documentation.
21569 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
21570 implementation.
21571
e96e3767
CD
215722013-05-24 Carlos O'Donell <carlos@redhat.com>
21573
21574 * math/libm-test.inc (MAX_EXP): Define.
21575 (ULPDIFF): Define.
21576 (ulp): New function.
21577 (check_float_internal): Use ULPDIFF.
21578 (cpow_test): Disable failing test.
21579 (check_ulp): Test ulp() implemetnation.
21580 (main): Call check_ulp before starting tests.
21581
b679a606
JM
215822013-05-24 Joseph Myers <joseph@codesourcery.com>
21583
e8bdba36
JM
21584 * math/gen-libm-test.pl (generate_testfile): Do not handle
21585 START_DATA and END_DATA.
21586 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
21587 END_DATA.
21588 (acos_tonearest_test_data): Likewise.
21589 (acos_towardzero_test_data): Likewise.
21590 (acos_downward_test_data): Likewise.
21591 (acos_upward_test_data): Likewise.
21592 (acosh_test_data): Likewise.
21593 (asin_test_data): Likewise.
21594 (asin_tonearest_test_data): Likewise.
21595 (asin_towardzero_test_data): Likewise.
21596 (asin_downward_test_data): Likewise.
21597 (asin_upward_test_data): Likewise.
21598 (asinh_test_data): Likewise.
21599 (atan_test_data): Likewise.
21600 (atanh_test_data): Likewise.
21601 (atan2_test_data): Likewise.
21602 (cabs_test_data): Likewise.
21603 (cacos_test_data): Likewise.
21604 (cacosh_test_data): Likewise.
21605 (carg_test_data): Likewise.
21606 (casin_test_data): Likewise.
21607 (casinh_test_data): Likewise.
21608 (catan_test_data): Likewise.
21609 (catanh_test_data): Likewise.
21610 (cbrt_test_data): Likewise.
21611 (ccos_test_data): Likewise.
21612 (ccosh_test_data): Likewise.
21613 (ceil_test_data): Likewise.
21614 (cexp_test_data): Likewise.
21615 (cimag_test_data): Likewise.
21616 (clog_test_data): Likewise.
21617 (clog10_test_data): Likewise.
21618 (conj_test_data): Likewise.
21619 (copysign_test_data): Likewise.
21620 (cos_test_data): Likewise.
21621 (cos_tonearest_test_data): Likewise.
21622 (cos_towardzero_test_data): Likewise.
21623 (cos_downward_test_data): Likewise.
21624 (cos_upward_test_data): Likewise.
21625 (cosh_test_data): Likewise.
21626 (cosh_tonearest_test_data): Likewise.
21627 (cosh_towardzero_test_data): Likewise.
21628 (cosh_downward_test_data): Likewise.
21629 (cosh_upward_test_data): Likewise.
21630 (cpow_test_data): Likewise.
21631 (cproj_test_data): Likewise.
21632 (creal_test_data): Likewise.
21633 (csin_test_data): Likewise.
21634 (csinh_test_data): Likewise.
21635 (csqrt_test_data): Likewise.
21636 (ctan_test_data): Likewise.
21637 (ctan_tonearest_test_data): Likewise.
21638 (ctan_towardzero_test_data): Likewise.
21639 (ctan_downward_test_data): Likewise.
21640 (ctan_upward_test_data): Likewise.
21641 (ctanh_test_data): Likewise.
21642 (ctanh_tonearest_test_data): Likewise.
21643 (ctanh_towardzero_test_data): Likewise.
21644 (ctanh_downward_test_data): Likewise.
21645 (ctanh_upward_test_data): Likewise.
21646 (erf_test_data): Likewise.
21647 (erfc_test_data): Likewise.
21648 (exp_test_data): Likewise.
21649 (exp_tonearest_test_data): Likewise.
21650 (exp_towardzero_test_data): Likewise.
21651 (exp_downward_test_data): Likewise.
21652 (exp_upward_test_data): Likewise.
21653 (exp10_test_data): Likewise.
21654 (exp2_test_data): Likewise.
21655 (expm1_test_data): Likewise.
21656 (fabs_test_data): Likewise.
21657 (fdim_test_data): Likewise.
21658 (finite_test_data): Likewise.
21659 (floor_test_data): Likewise.
21660 (fma_test_data): Likewise.
21661 (fma_towardzero_test_data): Likewise.
21662 (fma_downward_test_data): Likewise.
21663 (fma_upward_test_data): Likewise.
21664 (fmax_test_data): Likewise.
21665 (fmin_test_data): Likewise.
21666 (fmod_test_data): Likewise.
21667 (fpclassify_test_data): Likewise.
21668 (frexp_test_data): Likewise.
21669 (gamma_test_data): Likewise.
21670 (hypot_test_data): Likewise.
21671 (ilogb_test_data): Likewise.
21672 (isfinite_test_data): Likewise.
21673 (isgreater_test_data): Likewise.
21674 (isgreaterequal_test_data): Likewise.
21675 (isinf_test_data): Likewise.
21676 (isless_test_data): Likewise.
21677 (islessequal_test_data): Likewise.
21678 (islessgreater_test_data): Likewise.
21679 (isnan_test_data): Likewise.
21680 (isnormal_test_data): Likewise.
21681 (issignaling_test_data): Likewise.
21682 (isunordered_test_data): Likewise.
21683 (j0_test_data): Likewise.
21684 (j1_test_data): Likewise.
21685 (jn_test_data): Likewise.
21686 (ldexp_test_data): Likewise.
21687 (lgamma_test_data): Likewise.
21688 (lrint_test_data): Likewise.
21689 (lrint_tonearest_test_data): Likewise.
21690 (lrint_towardzero_test_data): Likewise.
21691 (lrint_downward_test_data): Likewise.
21692 (lrint_upward_test_data): Likewise.
21693 (llrint_test_data): Likewise.
21694 (llrint_tonearest_test_data): Likewise.
21695 (llrint_towardzero_test_data): Likewise.
21696 (llrint_downward_test_data): Likewise.
21697 (llrint_upward_test_data): Likewise.
21698 (log_test_data): Likewise.
21699 (log10_test_data): Likewise.
21700 (log1p_test_data): Likewise.
21701 (log2_test_data): Likewise.
21702 (logb_test_data): Likewise.
21703 (logb_downward_test_data): Likewise.
21704 (lround_test_data): Likewise.
21705 (llround_test_data): Likewise.
21706 (modf_test_data): Likewise.
21707 (nearbyint_test_data): Likewise.
21708 (nextafter_test_data): Likewise.
21709 (nexttoward_test_data): Likewise.
21710 (pow_test_data): Likewise.
21711 (pow_tonearest_test_data): Likewise.
21712 (pow_towardzero_test_data): Likewise.
21713 (pow_downward_test_data): Likewise.
21714 (pow_upward_test_data): Likewise.
21715 (remainder_test_data): Likewise.
21716 (remainder_tonearest_test_data): Likewise.
21717 (remainder_towardzero_test_data): Likewise.
21718 (remainder_downward_test_data): Likewise.
21719 (remainder_upward_test_data): Likewise.
21720 (remquo_test_data): Likewise.
21721 (rint_test_data): Likewise.
21722 (rint_tonearest_test_data): Likewise.
21723 (rint_towardzero_test_data): Likewise.
21724 (rint_downward_test_data): Likewise.
21725 (rint_upward_test_data): Likewise.
21726 (round_test_data): Likewise.
21727 (scalb_test_data): Likewise.
21728 (scalbn_test_data): Likewise.
21729 (scalbln_test_data): Likewise.
21730 (signbit_test_data): Likewise.
21731 (sin_test_data): Likewise.
21732 (sin_tonearest_test_data): Likewise.
21733 (sin_towardzero_test_data): Likewise.
21734 (sin_downward_test_data): Likewise.
21735 (sin_upward_test_data): Likewise.
21736 (sincos_test_data): Likewise.
21737 (sinh_test_data): Likewise.
21738 (sinh_tonearest_test_data): Likewise.
21739 (sinh_towardzero_test_data): Likewise.
21740 (sinh_downward_test_data): Likewise.
21741 (sinh_upward_test_data): Likewise.
21742 (sqrt_test_data): Likewise.
21743 (tan_test_data): Likewise.
21744 (tan_tonearest_test_data): Likewise.
21745 (tan_towardzero_test_data): Likewise.
21746 (tan_downward_test_data): Likewise.
21747 (tan_upward_test_data): Likewise.
21748 (tanh_test_data): Likewise.
21749 (tgamma_test_data): Likewise.
21750 (trunc_test_data): Likewise.
21751 (y0_test_data): Likewise.
21752 (y1_test_data): Likewise.
21753 (yn_test_data): Likewise.
21754 (significand_test_data): Likewise.
21755
b679a606
JM
21756 * math/gen-libm-test.pl (@functions): Remove variable.
21757 (generate_testfile): Don't handle START and END lines.
21758 * math/libm-test.inc (START): New macro.
21759 (END): Likewise.
21760 (END_COMPLEX): Likewise.
21761 (acos_test): Use END macro without arguments.
21762 (acos_test_tonearest): Likewise.
21763 (acos_test_towardzero): Likewise.
21764 (acos_test_downward): Likewise.
21765 (acos_test_upward): Likewise.
21766 (acosh_test): Likewise.
21767 (asin_test): Likewise.
21768 (asin_test_tonearest): Likewise.
21769 (asin_test_towardzero): Likewise.
21770 (asin_test_downward): Likewise.
21771 (asin_test_upward): Likewise.
21772 (asinh_test): Likewise.
21773 (atan_test): Likewise.
21774 (atanh_test): Likewise.
21775 (atan2_test): Likewise.
21776 (cabs_test): Likewise.
21777 (cacos_test): Use END_COMPLEX macro without arguments.
21778 (cacosh_test): Likewise.
21779 (carg_test): Use END macro without arguments.
21780 (casin_test): Use END_COMPLEX macro without arguments.
21781 (casinh_test): Likewise.
21782 (catan_test): Likewise.
21783 (catanh_test): Likewise.
21784 (cbrt_test): Use END macro without arguments.
21785 (ccos_test): Use END_COMPLEX macro without arguments.
21786 (ccosh_test): Likewise.
21787 (ceil_test): Use END macro without arguments.
21788 (cexp_test): Use END_COMPLEX macro without arguments.
21789 (cimag_test): Use END macro without arguments.
21790 (clog_test): Use END_COMPLEX macro without arguments.
21791 (clog10_test): Likewise.
21792 (conj_test): Likewise.
21793 (copysign_test): Use END macro without arguments.
21794 (cos_test): Likewise.
21795 (cos_test_tonearest): Likewise.
21796 (cos_test_towardzero): Likewise.
21797 (cos_test_downward): Likewise.
21798 (cos_test_upward): Likewise.
21799 (cosh_test): Likewise.
21800 (cosh_test_tonearest): Likewise.
21801 (cosh_test_towardzero): Likewise.
21802 (cosh_test_downward): Likewise.
21803 (cosh_test_upward): Likewise.
21804 (cpow_test): Use END_COMPLEX macro without arguments.
21805 (cproj_test): Likewise.
21806 (creal_test): Use END macro without arguments.
21807 (csin_test): Use END_COMPLEX macro without arguments.
21808 (csinh_test): Likewise.
21809 (csqrt_test): Likewise.
21810 (ctan_test): Likewise.
21811 (ctan_test_tonearest): Likewise.
21812 (ctan_test_towardzero): Likewise.
21813 (ctan_test_downward): Likewise.
21814 (ctan_test_upward): Likewise.
21815 (ctanh_test): Likewise.
21816 (ctanh_test_tonearest): Likewise.
21817 (ctanh_test_towardzero): Likewise.
21818 (ctanh_test_downward): Likewise.
21819 (ctanh_test_upward): Likewise.
21820 (erf_test): Use END macro without arguments.
21821 (erfc_test): Likewise.
21822 (exp_test): Likewise.
21823 (exp_test_tonearest): Likewise.
21824 (exp_test_towardzero): Likewise.
21825 (exp_test_downward): Likewise.
21826 (exp_test_upward): Likewise.
21827 (exp10_test): Likewise.
21828 (exp2_test): Likewise.
21829 (expm1_test): Likewise.
21830 (fabs_test): Likewise.
21831 (fdim_test): Likewise.
21832 (finite_test): Likewise.
21833 (floor_test): Likewise.
21834 (fma_test): Likewise.
21835 (fma_test_towardzero): Likewise.
21836 (fma_test_downward): Likewise.
21837 (fma_test_upward): Likewise.
21838 (fmax_test): Likewise.
21839 (fmin_test): Likewise.
21840 (fmod_test): Likewise.
21841 (fpclassify_test): Likewise.
21842 (frexp_test): Likewise.
21843 (gamma_test): Likewise.
21844 (hypot_test): Likewise.
21845 (ilogb_test): Likewise.
21846 (isfinite_test): Likewise.
21847 (isgreater_test): Likewise.
21848 (isgreaterequal_test): Likewise.
21849 (isinf_test): Likewise.
21850 (isless_test): Likewise.
21851 (islessequal_test): Likewise.
21852 (islessgreater_test): Likewise.
21853 (isnan_test): Likewise.
21854 (isnormal_test): Likewise.
21855 (issignaling_test): Likewise.
21856 (isunordered_test): Likewise.
21857 (j0_test): Likewise.
21858 (j1_test): Likewise.
21859 (jn_test): Likewise.
21860 (ldexp_test): Likewise.
21861 (lgamma_test): Likewise.
21862 (lrint_test): Likewise.
21863 (lrint_test_tonearest): Likewise.
21864 (lrint_test_towardzero): Likewise.
21865 (lrint_test_downward): Likewise.
21866 (lrint_test_upward): Likewise.
21867 (llrint_test): Likewise.
21868 (llrint_test_tonearest): Likewise.
21869 (llrint_test_towardzero): Likewise.
21870 (llrint_test_downward): Likewise.
21871 (llrint_test_upward): Likewise.
21872 (log_test): Likewise.
21873 (log10_test): Likewise.
21874 (log1p_test): Likewise.
21875 (log2_test): Likewise.
21876 (logb_test): Likewise.
21877 (logb_test_downward): Likewise.
21878 (lround_test): Likewise.
21879 (llround_test): Likewise.
21880 (modf_test): Likewise.
21881 (nearbyint_test): Likewise.
21882 (nextafter_test): Likewise.
21883 (nexttoward_test): Likewise.
21884 (pow_test): Likewise.
21885 (pow_test_tonearest): Likewise.
21886 (pow_test_towardzero): Likewise.
21887 (pow_test_downward): Likewise.
21888 (pow_test_upward): Likewise.
21889 (remainder_test): Likewise.
21890 (remainder_test_tonearest): Likewise.
21891 (remainder_test_towardzero): Likewise.
21892 (remainder_test_downward): Likewise.
21893 (remainder_test_upward): Likewise.
21894 (remquo_test): Likewise.
21895 (rint_test): Likewise.
21896 (rint_test_tonearest): Likewise.
21897 (rint_test_towardzero): Likewise.
21898 (rint_test_downward): Likewise.
21899 (rint_test_upward): Likewise.
21900 (round_test): Likewise.
21901 (scalb_test): Likewise.
21902 (scalbn_test): Likewise.
21903 (scalbln_test): Likewise.
21904 (signbit_test): Likewise.
21905 (sin_test): Likewise.
21906 (sin_test_tonearest): Likewise.
21907 (sin_test_towardzero): Likewise.
21908 (sin_test_downward): Likewise.
21909 (sin_test_upward): Likewise.
21910 (sincos_test): Likewise.
21911 (sinh_test): Likewise.
21912 (sinh_test_tonearest): Likewise.
21913 (sinh_test_towardzero): Likewise.
21914 (sinh_test_downward): Likewise.
21915 (sinh_test_upward): Likewise.
21916 (sqrt_test): Likewise.
21917 (tan_test): Likewise.
21918 (tan_test_tonearest): Likewise.
21919 (tan_test_towardzero): Likewise.
21920 (tan_test_downward): Likewise.
21921 (tan_test_upward): Likewise.
21922 (tanh_test): Likewise.
21923 (tgamma_test): Likewise.
21924 (trunc_test): Likewise.
21925 (y0_test): Likewise.
21926 (y1_test): Likewise.
21927 (yn_test): Likewise.
21928 (significand_test): Likewise.
21929
bae143d2
OB
219302013-05-24 Ondřej Bílka <neleai@seznam.cz>
21931
21932 [BZ #15381]
21933 * libio/genops.c (_IO_no_init): Initialize wide struct info.
21934
9323d39b
EM
219352013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
21936
d4ea44a0 21937 [BZ #14894]
9323d39b
EM
21938 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
21939 __ppc_mdoio and __ppc_mdoom.
21940 * manual/platform.texi: Document new functions __ppc_yield,
21941 __ppc_mdoio and __ppc_mdoom.
21942
13e23af7
CD
219432013-05-22 Carlos O'Donell <carlos@redhat.com>
21944
21945 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
21946 (main): Mention "tls" pseudo-hwcap is legacy.
21947 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
21948
351fe550
JM
219492013-05-22 Joseph Myers <joseph@codesourcery.com>
21950
21951 * math/gen-libm-test.pl (parse_args): Output only string of
21952 arguments as text for test name, not full call or descriptions of
21953 tests for extra outputs.
21954 (generate_testfile): Do not pass function name to parse_args.
21955 Generate this_func variable from START.
21956 * math/libm-test.inc (struct test_f_f_data): Rename test_name
21957 field to arg_str.
21958 (struct test_ff_f_data): Likewise.
21959 (test_ff_f_data_nexttoward): Likewise.
21960 (struct test_fi_f_data): Likewise.
21961 (struct test_fl_f_data): Likewise.
21962 (struct test_if_f_data): Likewise.
21963 (struct test_fff_f_data): Likewise.
21964 (struct test_c_f_data): Likewise.
21965 (struct test_f_f1_data): Likewise. Remove field extra_name.
21966 (struct test_fF_f1_data): Likewise.
21967 (struct test_ffI_f1_data): Likewise.
21968 (struct test_c_c_data): Rename test_name field to arg_str.
21969 (struct test_cc_c_data): Likewise.
21970 (struct test_f_i_data): Likewise.
21971 (struct test_ff_i_data): Likewise.
21972 (struct test_f_l_data): Likewise.
21973 (struct test_f_L_data): Likewise.
21974 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
21975 and extra2_name.
21976 (COMMON_TEST_SETUP): New macro.
21977 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
21978 (COMMON_TEST_CLEANUP): Likewise.
21979 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
21980 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
21981 macros.
21982 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
21983 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
21984 macros.
21985 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
21986 (RUN_TEST_fff_f): Take argument string. Call new setup and
21987 cleanup macros.
21988 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
21989 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
21990 macros.
21991 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
21992 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
21993 macros.
21994 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
21995 (RUN_TEST_fF_f1): Take argument string. Call new setup and
21996 cleanup macros.
21997 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
21998 (RUN_TEST_fI_f1): Take argument string. Call new setup and
21999 cleanup macros.
22000 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
22001 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
22002 cleanup macros.
22003 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
22004 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
22005 macros.
22006 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
22007 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
22008 macros.
22009 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
22010 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
22011 macros.
22012 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
22013 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
22014 cleanup macros.
22015 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
22016 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
22017 cleanup macros.
22018 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
22019 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
22020 macros.
22021 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
22022 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
22023 cleanup macros.
22024 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
22025 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
22026 macros.
22027 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
22028 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
22029 macros.
22030 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
22031 (RUN_TEST_fFF_11): Take argument string. Call new setup and
22032 cleanup macros.
22033 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
22034
85118d4d
EBM
220352013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
22036
22037 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
22038 to _sifields.sigfault.
22039 (si_addr_lsb): Define new macro.
22040 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
22041 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
22042 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
22043
7a44c18f
CD
220442013-05-03 Carlos O'Donell <carlos at redhat.com>
22045
22046 [BZ #15441]
22047 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
22048 returns -1.
22049 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
22050 null return -1.
22051 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
22052 loading the domain.
22053
b50a7181
JM
220542013-05-22 Joseph Myers <joseph@codesourcery.com>
22055
22056 * math/gen-libm-test.pl (parse_args): Do not include expected
22057 result in test name.
22058 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
22059 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
22060 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
22061 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
22062 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
22063 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22064
051063c8
SP
220652013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
22066
3ce9e010
SP
22067 * benchtests/Makefile: Sort function entries.
22068
051063c8
SP
22069 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
22070 tanh, asinh, acosh, atanh.
22071 * benchtests/acos-inputs: New file.
22072 * benchtests/acosh-inputs: New file.
22073 * benchtests/asin-inputs: New file.
22074 * benchtests/asinh-inputs: New file.
22075 * benchtests/atanh-inputs: New file.
22076 * benchtests/cosh-inputs: New file.
22077 * benchtests/log-inputs: New file.
22078 * benchtests/sinh-inputs: New file.
22079 * benchtests/tanh-inputs: New file.
22080
47c22455
DL
220812013-05-21 Dmitry V. Levin <ldv@altlinux.org>
22082
22083 [BZ #15339]
22084 * posix/tst-getaddrinfo4.c: New test.
22085 * posix/Makefile (tests): Add it.
22086
3d04f5db
SP
220872013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
22088
22089 [BZ #15339]
22090 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
22091 when no services were used.
22092 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
22093 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
22094
d5dd6189
AS
220952013-05-21 Andreas Schwab <schwab@suse.de>
22096
22097 [BZ #15014]
22098 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
22099 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
22100 successful.
22101 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
22102 redundant variable declarations and reallocation of buffer when
22103 parsing as IPv6 address. Always set NSS status when called from
22104 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
22105 buffer too small. Correct computation of needed size.
22106 * nss/Makefile (tests): Add test-digits-dots.
22107 * nss/test-digits-dots.c: New test.
22108
fef94eab
SP
221092013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
22110
22111 * benchtests/Makefile: Remove instructions for adding
22112 benchmark tests.
22113 * benchtests/README: New file to explain how to execute and
22114 enhance the benchmark tests.
22115
e39adf43
AS
221162013-05-21 Andreas Schwab <schwab@suse.de>
22117
22118 [BZ #15493]
22119 * setjmp/Makefile (tests): Add tst-sigsetjmp.
22120 * setjmp/tst-sigsetjmp.c: New test.
22121
b2b671b6
OB
221222013-05-20 Ondřej Bílka <neleai@seznam.cz>
22123
22124 * sysdeps/x86_64/memset.S (memset): New implementation.
22125 (__bzero): Likewise.
22126 (__memset_tail): New function.
22127
2d48b41c
OB
221282013-05-20 Ondřej Bílka <neleai@seznam.cz>
22129
22130 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
22131 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
22132 __memcpy_sse2_unaligned ifunc selection.
22133 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
22134 Add memcpy-sse2-unaligned.S.
22135 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
22136 Add: __memcpy_sse2_unaligned.
22137
f16cc3eb
JM
221382013-05-19 Joseph Myers <joseph@codesourcery.com>
22139
3e694268
JM
22140 [BZ #15490]
22141 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
22142 math_force_eval before restoring floating-point envrionment.
22143 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
22144 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
22145 Likewise.
22146 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
22147 <math_private.h>.
22148 (__nearbyintl): Use math_force_eval before restoring
22149 floating-point environment.
22150 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
22151
db62a907
JM
22152 * math/gen-libm-test.pl (special_functions): Remove.
22153 (parse_args): Don't handle TEST_extra. Handle functions with no
22154 return value.
22155 * math/libm-test.inc (struct test_sincos_data): Replace with
22156 struct test_fFF_11_data.
22157 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
22158 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
22159 (sincos_test_data): Change element type to struct
22160 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
22161 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
22162 RUN_TEST_LOOP_sincos.
22163 * math/README.libm-test: Don't mention special handling of
22164 individual functions.
22165 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
22166 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
22167 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
22168 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
22169 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
22170 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22171
f16cc3eb
JM
22172 * math/gen-libm-test.pl (get_variable): Remove function.
22173 (parse_args): Don't show pointer parameters to call in test
22174 names. Use "extra output N" in test names for extra outputs
22175 rather than naming variables.
22176
3779b5b6
JM
221772013-05-18 Joseph Myers <joseph@codesourcery.com>
22178
2ee094ff
JM
22179 [BZ #15488]
22180 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
22181 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
22182 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
22183 double tests.
22184 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
22185 disable.
22186 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
22187 check_long_double.
22188
3779b5b6
JM
22189 * math/gen-libm-test.pl (@tests): Remove variable.
22190 ($count): Likewise.
22191 (new_test): Remove function.
22192 (show_exceptions): New function.
22193 (special_functions): Use show_exceptions instead of new_test.
22194 (parse_args): Likewise.
22195 (generate_testfile): Pass only function name in generated call to
22196 print_max_error or print_complex_max_error.
22197 (get_ulps): Do not handle complex tests specially.
22198 (output_test): Rename to ...
22199 (get_all_ulps_for_test): ... this. Return a string rather than
22200 printing to a file. Require ulps to be present.
22201 (output_ulps): Generate arrays rather than #defines.
22202 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
22203 (struct ulp_data): New type.
22204 (BUILD_COMPLEX_ULP): Remove macro.
22205 (compare_ulp_data): New function.
22206 (find_ulps): Likewise.
22207 (find_test_ulps): Likewise.
22208 (find_function_ulps): Likewise.
22209 (find_complex_function_ulps): Likewise.
22210 (print_max_error): Determine allowed ulps using
22211 find_function_ulps.
22212 (print_complex_max_error): Determine allowed ulps using
22213 find_complex_function_ulps.
22214 (check_float_internal): Determine max ulps using find_test_ulps.
22215 (check_float): Do not take max_ulp parameter. Update call to
22216 check_float_internal.
22217 (check_complex): Likewise.
22218 (check_int): Do not take max_ulp parameter.
22219 (check_long): Likewise.
22220 (check_bool): Likewise.
22221 (check_longlong): Likewise.
22222 (struct test_f_f_data): Remove max_ulp field.
22223 (struct test_ff_f_data): Likewise.
22224 (struct test_ff_f_data_nexttoward): Likewise.
22225 (struct test_fi_f_data): Likewise.
22226 (struct test_fl_f_data): Likewise.
22227 (struct test_if_f_data): Likewise.
22228 (struct test_fff_f_data): Likewise.
22229 (struct test_c_f_data): Likewise.
22230 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
22231 (struct test_fF_f1_data): Likewise.
22232 (struct test_ffI_f1_data): Likewise.
22233 (struct test_c_c_data): Remove max_ulp field.
22234 (struct test_cc_c_data): Likewise.
22235 (struct test_f_i_data): Likewise.
22236 (struct test_ff_i_data): Likewise.
22237 (struct test_f_l_data): Likewise.
22238 (struct test_f_L_data): Likewise.
22239 (struct test_sincos_data): Likewise.
22240 (RUN_TEST_f_f): Do not handle ulps.
22241 (RUN_TEST_LOOP_f_f): Likewise.
22242 (RUN_TEST_2_f): Likewise.
22243 (RUN_TEST_LOOP_2_f): Likewise.
22244 (RUN_TEST_fff_f): Likewise.
22245 (RUN_TEST_LOOP_fff_f): Likewise.
22246 (RUN_TEST_c_f): Likewise.
22247 (RUN_TEST_LOOP_c_f): Likewise.
22248 (RUN_TEST_f_f1): Likewise.
22249 (RUN_TEST_LOOP_f_f1): Likewise.
22250 (RUN_TEST_fF_f1): Likewise.
22251 (RUN_TEST_LOOP_fF_f1): Likewise.
22252 (RUN_TEST_fI_f1): Likewise.
22253 (RUN_TEST_LOOP_fI_f1): Likewise.
22254 (RUN_TEST_ffI_f1): Likewise.
22255 (RUN_TEST_LOOP_ffI_f1): Likewise.
22256 (RUN_TEST_c_c): Likewise.
22257 (RUN_TEST_LOOP_c_c): Likewise.
22258 (RUN_TEST_cc_c): Likewise.
22259 (RUN_TEST_LOOP_cc_c): Likewise.
22260 (RUN_TEST_f_i): Likewise.
22261 (RUN_TEST_LOOP_f_i): Likewise.
22262 (RUN_TEST_f_i_tg): Likewise.
22263 (RUN_TEST_LOOP_f_i_tg): Likewise.
22264 (RUN_TEST_ff_i_tg): Likewise.
22265 (RUN_TEST_LOOP_ff_i_tg): Likewise.
22266 (RUN_TEST_f_b): Likewise.
22267 (RUN_TEST_LOOP_f_b): Likewise.
22268 (RUN_TEST_f_b_tg): Likewise.
22269 (RUN_TEST_LOOP_f_b_tg): Likewise.
22270 (RUN_TEST_f_l): Likewise.
22271 (RUN_TEST_LOOP_f_l): Likewise.
22272 (RUN_TEST_f_L): Likewise.
22273 (RUN_TEST_LOOP_f_L): Likewise.
22274 (RUN_TEST_sincos): Likewise.
22275 (RUN_TEST_LOOP_sincos): Likewise.
22276
8269107f
JM
222772013-05-17 Joseph Myers <joseph@codesourcery.com>
22278
bb38759d
JM
22279 [BZ #15480]
22280 [BZ #15485]
22281 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
22282 main case of finite arguments, set rounding mode to FE_TONEAREST
22283 and discard exceptions.
22284 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
22285 exceptions.
22286 (remainder_tonearest_test_data): New variable.
22287 (remainder_test_tonearest): New function.
22288 (remainder_towardzero_test_data): New variable.
22289 (remainder_test_towardzero): New function.
22290 (remainder_downward_test_data): New variable.
22291 (remainder_test_downward): New function.
22292 (remainder_upward_test_data): New variable.
22293 (remainder_test_upward): New function.
22294 (main): Call the new test functions.
22295
a00bdcf0
JM
22296 * math/libm-test.inc (struct test_f_f1_data): Remove field
22297 extra_init.
22298 (struct test_fF_f1_data): Likewise.
22299 (struct test_ffI_f1_data): Likewise.
22300 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
22301 based on value of EXTRA_EXPECTED.
22302 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
22303 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
22304 EXTRA_VAR based on value of EXTRA_EXPECTED.
22305 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
22306 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
22307 EXTRA_VAR based on value of EXTRA_EXPECTED.
22308 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
22309 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
22310 EXTRA_VAR based on value of EXTRA_EXPECTED.
22311 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
22312 * math/gen-libm-test.pl (parse_args): Don't output initializers
22313 for extra output values.
22314
de407f79
JM
22315 * math/libm-test.inc (check_int): Expect result to be exactly
22316 equal to expected value and do not handle ulps.
22317 (check_long): Likewise.
22318 (check_longlong): Likewise.
22319
8269107f
JM
22320 * math/libm-test.inc (ceil_test_data): Test for "inexact"
22321 exceptions.
22322 (cimag_test_data): Likewise.
22323 (conj_test_data): Likewise.
22324 (copysign_test_data): Likewise.
22325 (cproj_test_data): Likewise.
22326 (creal_test_data): Likewise.
22327 (fabs_test_data): Likewise.
22328 (fdim_test_data): Likewise.
22329 (finite_test_data): Likewise.
22330 (floor_test_data): Likewise.
22331 (fmax_test_data): Likewise.
22332 (fmin_test_data): Likewise.
22333 (fmod_test_data): Likewise.
22334 (fpclassify_test_data): Likewise.
22335 (frexp_test_data): Likewise.
22336 (ilogb_test_data): Likewise.
22337 (isfinite_test_data): Likewise.
22338 (isgreater_test_data): Likewise.
22339 (isgreaterequal_test_data): Likewise.
22340 (isinf_test_data): Likewise.
22341 (isless_test_data): Likewise.
22342 (islessequal_test_data): Likewise.
22343 (islessgreater_test_data): Likewise.
22344 (isnan_test_data): Likewise.
22345 (isnormal_test_data): Likewise.
22346 (issignaling_test_data): Likewise.
22347 (isunordered_test_data): Likewise.
22348 (ldexp_test_data): Likewise.
22349 (lrint_test_data): Likewise.
22350 (lrint_test_data) [TEST_FLOAT]: Disable one test.
22351 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
22352 (lrint_tonearest_test_data): Test for "inexact" exceptions.
22353 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
22354 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
22355 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
22356 test input.
22357 (lrint_towardzero_test_data): Test for "inexact" exceptions.
22358 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
22359 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
22360 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
22361 that test input.
22362 (lrint_downward_test_data): Test for "inexact" exceptions.
22363 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
22364 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
22365 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
22366 test input.
22367 (lrint_upward_test_data): Test for "inexact" exceptions.
22368 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
22369 test input.
22370 (llrint_test_data): Test for "inexact" exceptions.
22371 (llrint_test_data) [TEST_FLOAT]: Disable one test.
22372 (llrint_tonearest_test_data): Test for "inexact" exceptions.
22373 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
22374 (llrint_towardzero_test_data): Test for "inexact" exceptions.
22375 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
22376 (llrint_downward_test_data): Test for "inexact" exceptions.
22377 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
22378 (llrint_upward_test_data): Test for "inexact" exceptions.
22379 (logb_test_data): Likewise.
22380 (logb_downward_test_data): Likewise.
22381 (nextafter_test_data): Likewise.
22382 (nexttoward_test_data): Likewise.
22383 (remainder_test_data): Likewise.
22384 (remquo_test_data): Likewise.
22385 (scalbn_test_data): Likewise.
22386 (scalbln_test_data): Likewise.
22387 (signbit_test_data): Likewise.
22388 (sqrt_test_data): Likewise.
22389 (significand_test_data): Likewise.
22390
48a18de1
SP
223912013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
22392
22393 [BZ #15424]
22394 * benchtests/bench-modf.c (struct args): Mark arg0 as
22395 volatile.
22396 * scripts/bench.pl: Mark members of struct args as volatile.
22397
13d3b41a
AZ
223982013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22399
68191c1d 22400 [BZ # 15497]
13d3b41a
AZ
22401 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
22402 negative infinity on POWER6 or lower.
22403 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
22404
2848b105
MR
224052013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
22406
22407 [BZ #15442]
22408 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
22409 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
22410 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
22411 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
22412 (_FP_SETQNAN): New macro.
22413 (_FP_SETQNAN_SEMIRAW): Likewise.
22414 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
22415 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
22416 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
22417 (FP_EXTEND): Use _FP_FRAC_SNANP.
22418 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
22419 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
22420 into account.
22421 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
22422 New macro.
22423 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
22424 Likewise.
22425
323e5cb7
JM
224262013-05-16 Joseph Myers <joseph@codesourcery.com>
22427
c58b274f
JM
22428 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
22429 with DIVIDE_BY_ZERO_EXCEPTION.
22430 (gamma_test_data): Likewise.
22431 (lgamma_test_data): Likewise.
22432 (log_test_data): Likewise.
22433 (log10_test_data): Likewise.
22434 (log2_test_data): Likewise.
22435 (tgamma_test_data): Likewise.
22436
0ab34904
JM
22437 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
22438 (acos_test_tonearest): Likewise.
22439 (acos_test_towardzero): Likewise.
22440 (acos_test_downward): Likewise.
22441 (acos_test_upward): Likewise.
22442 (acosh_test): Likewise.
22443 (asin_test): Likewise.
22444 (asin_test_tonearest): Likewise.
22445 (asin_test_towardzero): Likewise.
22446 (asin_test_downward): Likewise.
22447 (asin_test_upward): Likewise.
22448 (asinh_test): Likewise.
22449 (atan_test): Likewise.
22450 (atanh_test): Likewise.
22451 (atan2_test): Likewise.
22452 (cabs_test): Likewise.
22453 (cacos_test): Likewise.
22454 (cacosh_test): Likewise.
22455 (casin_test): Likewise.
22456 (casinh_test): Likewise.
22457 (catan_test): Likewise.
22458 (catanh_test): Likewise.
22459 (cbrt_test): Likewise.
22460 (ccos_test): Likewise.
22461 (ccosh_test): Likewise.
22462 (cexp_test): Likewise.
22463 (clog_test): Likewise.
22464 (clog10_test): Likewise.
22465 (cos_test): Likewise.
22466 (cos_test_tonearest): Likewise.
22467 (cos_test_towardzero): Likewise.
22468 (cos_test_downward): Likewise.
22469 (cos_test_upward): Likewise.
22470 (cosh_test): Likewise.
22471 (cosh_test_tonearest): Likewise.
22472 (cosh_test_towardzero): Likewise.
22473 (cosh_test_downward): Likewise.
22474 (cosh_test_upward): Likewise.
22475 (cpow_test): Likewise.
22476 (csin_test): Likewise.
22477 (csinh_test): Likewise.
22478 (csqrt_test): Likewise.
22479 (ctan_test): Likewise.
22480 (ctan_test_tonearest): Likewise.
22481 (ctan_test_towardzero): Likewise.
22482 (ctan_test_downward): Likewise.
22483 (ctan_test_upward): Likewise.
22484 (ctanh_test): Likewise.
22485 (ctanh_test_tonearest): Likewise.
22486 (ctanh_test_towardzero): Likewise.
22487 (ctanh_test_downward): Likewise.
22488 (ctanh_test_upward): Likewise.
22489 (erf_test): Likewise.
22490 (erfc_test): Likewise.
22491 (exp_test): Likewise.
22492 (exp_test_tonearest): Likewise.
22493 (exp_test_towardzero): Likewise.
22494 (exp_test_downward): Likewise.
22495 (exp_test_upward): Likewise.
22496 (exp10_test): Likewise.
22497 (exp2_test): Likewise.
22498 (expm1_test): Likewise.
22499 (fmod_test): Likewise.
22500 (gamma_test): Likewise.
22501 (hypot_test): Likewise.
22502 (j0_test): Likewise.
22503 (j1_test): Likewise.
22504 (jn_test): Likewise.
22505 (lgamma_test): Likewise.
22506 (log_test): Likewise.
22507 (log10_test): Likewise.
22508 (log1p_test): Likewise.
22509 (log2_test): Likewise.
22510 (logb_test_downward): Likewise.
22511 (pow_test): Likewise.
22512 (pow_test_tonearest): Likewise.
22513 (pow_test_towardzero): Likewise.
22514 (pow_test_downward): Likewise.
22515 (pow_test_upward): Likewise.
22516 (remainder_test): Likewise.
22517 (remquo_test): Likewise.
22518 (sin_test): Likewise.
22519 (sin_test_tonearest): Likewise.
22520 (sin_test_towardzero): Likewise.
22521 (sin_test_downward): Likewise.
22522 (sin_test_upward): Likewise.
22523 (sincos_test): Likewise.
22524 (sinh_test): Likewise.
22525 (sinh_test_tonearest): Likewise.
22526 (sinh_test_towardzero): Likewise.
22527 (sinh_test_downward): Likewise.
22528 (sinh_test_upward): Likewise.
22529 (sqrt_test): Likewise.
22530 (tan_test): Likewise.
22531 (tan_test_tonearest): Likewise.
22532 (tan_test_towardzero): Likewise.
22533 (tan_test_downward): Likewise.
22534 (tan_test_upward): Likewise.
22535 (tanh_test): Likewise.
22536 (tgamma_test): Likewise.
22537 (y0_test): Likewise.
22538 (y1_test): Likewise.
22539 (yn_test): Likewise.
22540
323e5cb7
JM
22541 * math/gen-libm-test.pl (adjust_arg): Remove function.
22542 (special_function): Remove argument $in_func. Only handle
22543 generating output for tables of tests, not inside functions.
22544 (parse_args): Likewise.
22545 (generate_testfile): Remove variable $in_func. Update call to
22546 parse_args.
22547 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
22548 (MINUS_ZERO_INIT): Rename macro to minus_zero.
22549 (PLUS_INFTY_INIT): Rename macro to plus_infty.
22550 (MINUS_INFTY_INIT): Rename macro to minus_infty.
22551 (QNAN_VALUE_INIT): Rename macro to qnan_value.
22552 (MAX_VALUE_INIT): Rename macro to max_value.
22553 (MIN_VALUE_INIT): Rename macro to min_value.
22554 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
22555 (plus_zero): Remove variable.
22556 (minus_zero): Likewise.
22557 (plus_infty): Likewise.
22558 (minus_infty): Likewise.
22559 (qnan_value): Likewise.
22560 (max_value): Likewise.
22561 (min_value): Likewise.
22562 (min_subnorm_value): Likewise.
22563
e054f494
RA
225642013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
22565
22566 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
22567 uint64_t or uint32_t usage.
22568 * crypt/sha256-block.c: Likewise.
22569 * crypt/sha256-crypt.c: Likewise.
22570 * crypt/sha256.c: Likewise.
22571 * crypt/sha512-block.c: Likewise.
22572 * crypt/sha512-crypt.c: Likewise.
22573 * crypt/sha512.c: Likewise.
22574 * debug/backtrace-tst.c: Likewise.
22575 * debug/pcprofiledump.c: Likewise.
22576 * elf/cache.c: Likewise.
22577 * elf/dl-cache.c: Likewise.
22578 * elf/dl-misc.c: Likewise.
22579 * elf/dl-profile.c: Likewise.
22580 * elf/dl-support.c: Likewise.
22581 * elf/ldconfig.c: Likewise.
22582 * elf/sprof.c: Likewise.
22583 * iconv/dummy-repertoire.c: Likewise.
22584 * iconv/iconv_charmap.c: Likewise.
22585 * iconv/skeleton.c: Likewise.
22586 * iconvdata/8bit-generic.c: Likewise.
22587 * iconvdata/cp737.h: Likewise.
22588 * iconvdata/cp775.h: Likewise.
22589 * iconvdata/ibm1008.h: Likewise.
22590 * iconvdata/ibm1025.h: Likewise.
22591 * iconvdata/ibm1046.h: Likewise.
22592 * iconvdata/ibm1097.h: Likewise.
22593 * iconvdata/ibm1112.h: Likewise.
22594 * iconvdata/ibm1122.h: Likewise.
22595 * iconvdata/ibm1123.h: Likewise.
22596 * iconvdata/ibm1124.h: Likewise.
22597 * iconvdata/ibm1129.h: Likewise.
22598 * iconvdata/ibm1130.h: Likewise.
22599 * iconvdata/ibm1132.h: Likewise.
22600 * iconvdata/ibm1133.h: Likewise.
22601 * iconvdata/ibm1137.h: Likewise.
22602 * iconvdata/ibm1140.h: Likewise.
22603 * iconvdata/ibm1141.h: Likewise.
22604 * iconvdata/ibm1142.h: Likewise.
22605 * iconvdata/ibm1143.h: Likewise.
22606 * iconvdata/ibm1144.h: Likewise.
22607 * iconvdata/ibm1145.h: Likewise.
22608 * iconvdata/ibm1146.h: Likewise.
22609 * iconvdata/ibm1147.h: Likewise.
22610 * iconvdata/ibm1148.h: Likewise.
22611 * iconvdata/ibm1149.h: Likewise.
22612 * iconvdata/ibm1153.h: Likewise.
22613 * iconvdata/ibm1154.h: Likewise.
22614 * iconvdata/ibm1155.h: Likewise.
22615 * iconvdata/ibm1156.h: Likewise.
22616 * iconvdata/ibm1157.h: Likewise.
22617 * iconvdata/ibm1158.h: Likewise.
22618 * iconvdata/ibm1160.h: Likewise.
22619 * iconvdata/ibm1161.h: Likewise.
22620 * iconvdata/ibm1162.h: Likewise.
22621 * iconvdata/ibm1163.h: Likewise.
22622 * iconvdata/ibm1164.h: Likewise.
22623 * iconvdata/ibm1166.h: Likewise.
22624 * iconvdata/ibm1167.h: Likewise.
22625 * iconvdata/ibm12712.h: Likewise.
22626 * iconvdata/ibm1390.h: Likewise.
22627 * iconvdata/ibm1399.h: Likewise.
22628 * iconvdata/ibm16804.h: Likewise.
22629 * iconvdata/ibm4517.h: Likewise.
22630 * iconvdata/ibm4899.h: Likewise.
22631 * iconvdata/ibm4909.h: Likewise.
22632 * iconvdata/ibm4971.h: Likewise.
22633 * iconvdata/ibm5347.h: Likewise.
22634 * iconvdata/ibm803.h: Likewise.
22635 * iconvdata/ibm856.h: Likewise.
22636 * iconvdata/ibm901.h: Likewise.
22637 * iconvdata/ibm902.h: Likewise.
22638 * iconvdata/ibm9030.h: Likewise.
22639 * iconvdata/ibm9066.h: Likewise.
22640 * iconvdata/ibm921.h: Likewise.
22641 * iconvdata/ibm922.h: Likewise.
22642 * iconvdata/ibm9448.h: Likewise.
22643 * iconvdata/isiri-3342.h: Likewise.
22644 * iconvdata/jis0201.h: Likewise.
22645 * include/link.h: Likewise.
22646 * include/netdb.h: Likewise.
22647 * inet/check_native.c: Likewise.
22648 * inet/check_pf.c: Likewise.
22649 * inet/getipv4sourcefilter.c: Likewise.
22650 * inet/getnameinfo.c: Likewise.
22651 * inet/getsourcefilter.c: Likewise.
22652 * inet/htonl.c: Likewise.
22653 * inet/setipv4sourcefilter.c: Likewise.
22654 * inet/setsourcefilter.c: Likewise.
22655 * inet/test-inet6_opt.c: Likewise.
22656 * inet/tst-network.c: Likewise.
22657 * locale/C-collate.c: Likewise.
22658 * locale/C-ctype.c: Likewise.
22659 * locale/C-time.c: Likewise.
22660 * locale/C-translit.h: Likewise.
22661 * locale/loadarchive.c: Likewise.
22662 * locale/programs/3level.h: Likewise.
22663 * locale/programs/charmap.c: Likewise.
22664 * locale/programs/charmap.h: Likewise.
22665 * locale/programs/ld-address.c: Likewise.
22666 * locale/programs/ld-collate.c: Likewise.
22667 * locale/programs/ld-ctype.c: Likewise.
22668 * locale/programs/ld-identification.c: Likewise.
22669 * locale/programs/ld-measurement.c: Likewise.
22670 * locale/programs/ld-messages.c: Likewise.
22671 * locale/programs/ld-monetary.c: Likewise.
22672 * locale/programs/ld-name.c: Likewise.
22673 * locale/programs/ld-numeric.c: Likewise.
22674 * locale/programs/ld-paper.c: Likewise.
22675 * locale/programs/ld-telephone.c: Likewise.
22676 * locale/programs/ld-time.c: Likewise.
22677 * locale/programs/linereader.c: Likewise.
22678 * locale/programs/locale.c: Likewise.
22679 * locale/programs/locarchive.c: Likewise.
22680 * locale/programs/locfile.h: Likewise.
22681 * locale/programs/repertoire.c: Likewise.
22682 * locale/programs/simple-hash.c: Likewise.
22683 * locale/programs/simple-hash.h: Likewise.
22684 * malloc/memusage.c: Likewise.
22685 * malloc/memusagestat.c: Likewise.
22686 * nis/nis_defaults.c: Likewise.
22687 * nis/nis_hash.c: Likewise.
22688 * nis/nis_print.c: Likewise.
22689 * nis/nis_xdr.c: Likewise.
22690 * nscd/connections.c: Likewise.
22691 * nscd/hstcache.c: Likewise.
22692 * nscd/nscd_gethst_r.c: Likewise.
22693 * nscd/nscd_getserv_r.c: Likewise.
22694 * nscd/nscd_helper.c: Likewise.
22695 * nscd/servicescache.c: Likewise.
22696 * nss/makedb.c: Likewise.
22697 * nss/nss_db/db-XXX.c: Likewise.
22698 * nss/nss_db/db-initgroups.c: Likewise.
22699 * nss/nss_db/db-netgrp.c: Likewise.
22700 * nss/nss_files/files-network.c: Likewise.
22701 * nss/nss_files/files-parse.c: Likewise.
22702 * posix/bug-regex5.c: Likewise.
22703 * posix/fnmatch_loop.c: Likewise.
22704 * posix/regcomp.c: Likewise.
22705 * posix/regexec.c: Likewise.
22706 * posix/tst-rfc3484-2.c: Likewise.
22707 * posix/tst-rfc3484-3.c: Likewise.
22708 * posix/tst-rfc3484.c: Likewise.
22709 * resolv/nss_dns/dns-canon.c: Likewise.
22710 * resolv/nss_dns/dns-network.c: Likewise.
22711 * resolv/res_init.c: Likewise.
22712 * resolv/res_mkquery.c: Likewise.
22713 * resolv/tst-aton.c: Likewise.
22714 * stdlib/cxa_atexit.c: Likewise.
22715 * stdlib/cxa_finalize.c: Likewise.
22716 * stdlib/gen-fpioconst.c: Likewise.
22717 * stdlib/strtol_l.c: Likewise.
22718 * string/tst-endian.c: Likewise.
22719 * sunrpc/auth_des.c: Likewise.
22720 * sunrpc/clnt_udp.c: Likewise.
22721 * sunrpc/rtime.c: Likewise.
22722 * sunrpc/svcauth_des.c: Likewise.
22723 * sunrpc/xdr.c: Likewise.
22724 * sunrpc/xdr_intXX_t.c: Likewise.
22725 * sunrpc/xdr_rec.c: Likewise.
22726 * sysdeps/generic/ldconfig.h: Likewise.
22727 * sysdeps/generic/ldsodefs.h: Likewise.
22728 * sysdeps/generic/memusage.h: Likewise.
22729 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
22730 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
22731 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
22732 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
22733 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
22734 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
22735 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
22736 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
22737 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
22738 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
22739 * sysdeps/posix/getaddrinfo.c: Likewise.
22740 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
22741 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
22742 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
22743 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
22744 * sysdeps/powerpc/test-gettimebase.c: Likewise.
22745 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
22746 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
22747 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
22748 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
22749 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
22750 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
22751 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
22752 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
22753 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
22754 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
22755 * sysdeps/x86_64/dl-tls.h: Likewise.
22756 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
22757 * time/alt_digit.c: Likewise.
22758 * time/era.c: Likewise.
22759 * wcsmbs/tst-c16c32-1.c: Likewise.
22760
8c75f674
JM
227612013-05-16 Joseph Myers <joseph@codesourcery.com>
22762
22763 * math/libm-test.inc (struct test_sincos_data): New type.
22764 (RUN_TEST_LOOP_sincos): New macro.
22765 (sincos_test_data): New variable.
22766 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
22767
e6e49e59
RH
227682013-05-16 Richard Henderson <rth@redhat.com>
22769
22770 * math/atest-exp2.c (LIMB64): New macro.
22771 (CONSTSZ): New macro.
22772 (mp_exp1, mp_exp_m1, mp_log2): New variables.
22773 (hexdig): Move ...
22774 (print_mpn_fp): ... to function scope.
22775 (read_mpn_hex): Remove.
22776 (get_log2): Remove.
22777 (exp2_mpn): Use mp_log2.
22778 (main): Use mp_exp1.
22779
15c7c18d
JM
227802013-05-16 Joseph Myers <joseph@codesourcery.com>
22781
105a07df
JM
22782 * math/libm-test.inc: Remove comment about not testing "inexact"
22783 exceptions.
22784 (INEXACT_EXCEPTION): New macro.
22785 (NO_INEXACT_EXCEPTION): Likewise.
22786 (INVALID_EXCEPTION_OK): Update value.
22787 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
22788 (OVERFLOW_EXCEPTION_OK): Likewise.
22789 (UNDERFLOW_EXCEPTION_OK): Likewise.
22790 (IGNORE_ZERO_INF_SIGN): Likewise.
22791 (ERRNO_UNCHANGED): Likewise.
22792 (ERRNO_EDOM): Likewise.
22793 (ERRNO_ERANGE): Likewise.
22794 (test_exceptions): Handle testing "inexact" exceptions.
22795 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
22796 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
22797 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
22798 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
22799 INEXACT_EXCEPTION.
22800 (rint_towardzero_test_data): Likewise.
22801 (rint_downward_test_data): Likewise.
22802 (rint_upward_test_data): Likewise.
22803
e9eee333
JM
22804 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
22805 with OVERFLOW_EXCEPTION.
22806 (exp10_test_data): Likewise.
22807 (exp2_test_data): Likewise.
22808 (expm1_test_data): Likewise.
22809 (lgamma_test_data): Likewise.
22810 (pow_test_data): Likewise.
22811 (tgamma_test_data): Likewise.
22812 (yn_test_data): Remove duplicate test of overflow.
22813
1c38ff73
JM
22814 * math/libm-test.inc (struct test_cc_c_data): New type.
22815 (RUN_TEST_LOOP_cc_c): New macro.
22816 (cpow_test_data): New variable.
22817 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
22818
15c7c18d
JM
22819 * math/libm-test.inc (struct test_f_L_data): New type.
22820 (RUN_TEST_LOOP_f_L): New macro.
22821 (llrint_test_data): New variable.
22822 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
22823 (llrint_tonearest_test_data): New variable.
22824 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
22825 (llrint_towardzero_test_data): New variable.
22826 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
22827 (llrint_downward_test_data): New variable.
22828 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
22829 (llrint_upward_test_data): New variable.
22830 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
22831 (llround_test_data): New variable.
22832 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
22833
f137ff13
PC
228342013-05-13 Peter Collingbourne <pcc@google.com>
22835
22836 * math/atest-exp2.c (get_log2): Remove const attribute.
22837
3608cb24
JM
228382013-05-15 Joseph Myers <joseph@codesourcery.com>
22839
22840 * math/libm-test.inc (struct test_f_l_data): New type.
22841 (RUN_TEST_LOOP_f_l): New macro.
22842 (lrint_test_data): New variable.
22843 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
22844 (lrint_tonearest_test_data): New variable.
22845 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
22846 (lrint_towardzero_test_data): New variable.
22847 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
22848 (lrint_downward_test_data): New variable.
22849 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
22850 (lrint_upward_test_data): New variable.
22851 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
22852 (lround_test_data): New variable.
22853 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
22854
39b1f617
PC
228552013-05-15 Peter Collingbourne <pcc@google.com>
22856
1deff3dc
PC
22857 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
22858 (EXTRACT_WORDS64) Use where appropriate.
22859 (INSERT_WORDS64) Likewise.
22860
791f3ba0
PC
22861 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
22862 constraints with x constraints.
22863 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
22864
39b1f617
PC
22865 * malloc/obstack.c (_obstack_compat): Add initializer.
22866
12fba011
EM
228672013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
22868
22869 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
22870 si_trapno and add si_addr_lsb to _sifields.sigfault.
22871 (si_trapno): Remove macro.
22872 (si_addr_lsb): Define new macro.
22873 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
22874
d369f531
JM
228752013-05-15 Joseph Myers <joseph@codesourcery.com>
22876
b861c6c4
JM
22877 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
22878 instead of TEST_f_l.
22879 (llrint_test_tonearest): Likewise.
22880 (llrint_test_towardzero): Likewise.
22881 (llrint_test_downward): Likewise.
22882 (llrint_test_upward): Likewise.
22883 (llround_test): Likewise.
22884
7abeee12
JM
22885 * math/libm-test.inc (struct test_f_i_data): Add comment.
22886 (RUN_TEST_LOOP_f_b): New macro.
22887 (RUN_TEST_LOOP_f_b_tg): Likewise.
22888 (finite_test_data): New variable.
22889 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
22890 (isfinite_test_data): New variable.
22891 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
22892 (isinf_test_data): New variable.
22893 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
22894 (isnan_test_data): New variable.
22895 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
22896 (isnormal_test_data): New variable.
22897 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
22898 (issignaling_test_data): New variable.
22899 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
22900 (signbit_test_data): New variable.
22901 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
22902
cbe8c4d3
JM
22903 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
22904 with INVALID_EXCEPTION.
22905 (acosh_test_data): Likewise.
22906 (asin_test_data): Likewise.
22907 (atanh_test_data): Likewise.
22908 (fmod_test_data): Likewise.
22909 (log_test_data): Likewise.
22910 (log10_test_data): Likewise.
22911 (log2_test_data): Likewise.
22912 (pow_test_data): Likewise.
22913 (sqrt_test_data): Likewise.
22914 (y0_test_data): Likewise.
22915 (y1_test_data): Likewise.
22916 (yn_test_data): Likewise.
22917
5575c0e5
JM
22918 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
22919 function contents.
22920
d369f531
JM
22921 * math/libm-test.inc (struct test_ff_i_data): New type.
22922 (RUN_TEST_LOOP_ff_i_tg): New macro.
22923 (isgreater_test_data): New variable.
22924 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
22925 (isgreaterequal_test_data): New variable.
22926 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
22927 (isless_test_data): New variable.
22928 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
22929 (islessequal_test_data): New variable.
22930 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
22931 (islessgreater_test_data): New variable.
22932 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
22933 (isunordered_test_data): New variable.
22934 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
22935
781fd748
DM
229362013-05-14 David S. Miller <davem@davemloft.net>
22937
22938 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22939
87aa21df
JM
229402013-05-14 Joseph Myers <joseph@codesourcery.com>
22941
5e908270
JM
22942 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
22943
f71172e5
JM
22944 * math/libm-test.inc (struct test_fF_f1_data): Change type of
22945 extra_test to int.
22946 (struct test_f_i_data): Change type of max_ulp to int.
22947
8cfa635a
JM
22948 * math/libm-test.inc (test_ffI_f1_data): New type.
22949 (RUN_TEST_LOOP_ffI_f1): New macro.
22950 (remquo_test_data): New variable.
22951 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
22952
2bcb36b2
JM
22953 * setjmp/tst-setjmp-fp.c: New file.
22954 * setjmp/Makefile (tests): Add tst-setjmp-fp.
22955 (link-libm): New variable.
22956 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
22957
acbd839a
JM
22958 * math/libm-test.inc (struct test_f_i_data): New type.
22959 (RUN_TEST_LOOP_f_i): New macro.
22960 (RUN_TEST_LOOP_f_i_tg): Likewise.
22961 (fpclassify_test_data): New variable.
22962 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
22963 (ilogb_test_data): New variable.
22964 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
22965
e414d745
JM
22966 * math/libm-test.inc (scalbln_test): Correct function name in END
22967 call.
22968
d9c2a0fd
JM
22969 * math/libm-test.inc (struct test_f_f1_data): Add comment.
22970 (RUN_TEST_LOOP_fI_f1): New macro.
22971 (frexp_test_data): New variable.
22972 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
22973
9dc9095d
JM
22974 * math/libm-test.inc (struct test_fF_f1_data): New type.
22975 (RUN_TEST_LOOP_fF_f1): New macro.
22976 (modf_test_data): New variable.
22977 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
22978
87aa21df
JM
22979 * math/libm-test.inc (struct test_f_f1_data): New type.
22980 (RUN_TEST_LOOP_f_f1): New macro.
22981 (gamma_test_data): New variable.
22982 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
22983 (lgamma_test_data): New variable.
22984 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
22985
141af660
CD
229862013-05-13 Carlos O'Donell <carlos@redhat.com>
22987
22988 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
22989 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
22990 (main): Comment "tls" pseudo-hwcap.
22991
6d33265c
JM
229922013-05-13 Joseph Myers <joseph@codesourcery.com>
22993
68fc074c
JM
22994 * math/libm-test.inc (struct test_fl_f_data): New type.
22995 (RUN_TEST_LOOP_fl_f): New variable.
22996 (scalbln_test_data): New variable.
22997 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
22998
243216e1
JM
22999 * math/libm-test.inc (struct test_fi_f_data): New type.
23000 (RUN_TEST_LOOP_fi_f): New macro.
23001 (ldexp_test_data): New variable.
23002 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
23003 (scalbn_test_data): New variable.
23004 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
23005
6a1992e2
JM
23006 * math/libm-test.inc (struct test_c_f_data): New type.
23007 (RUN_TEST_LOOP_c_f): New macro.
23008 (cabs_test_data): New variable.
23009 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
23010 (carg_test_data): New variable.
23011 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
23012 (cimag_test_data): New variable.
23013 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
23014 (creal_test_data): New variable.
23015 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
23016
0e400df5
JM
23017 * math/libm-test.inc (struct test_if_f_data): New type.
23018 (RUN_TEST_LOOP_if_f): New macro.
23019 (jn_test_data): New variable.
23020 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
23021 (yn_test_data): New variable.
23022 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
23023
6d33265c
JM
23024 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
23025
f98ece5f
AZ
230262013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23027
23028 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
23029 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
23030
0f7d347b
SP
230312013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
23032
43fe811b
SP
23033 * benchtests/Makefile (CPPFLAGS-nonlib): Add
23034 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
23035 (bench-deps): Add bench-timing.h.
23036 * benchtests-bench-skeleton.c: Include bench-timing.h.
23037 (main): Use TIMING_* macros instead of clock_gettime.
23038 * benchtests/bench-timing.h: New file.
23039
0f7d347b
SP
23040 [BZ #14582]
23041 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
23042 Renamed from _LIB_VERSION.
23043 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
23044
601a3a5f
JM
230452013-05-12 Joseph Myers <joseph@codesourcery.com>
23046
4f184d30
JM
23047 * math/libm-test.inc (struct test_fff_f_data): New type.
23048 (RUN_TEST_LOOP_fff_f): New macro.
23049 (fma_test_data): New variable.
23050 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
23051 (fma_towardzero_test_data): New variable.
23052 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
23053 (fma_downward_test_data): New variable.
23054 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
23055 (fma_upward_test_data): New variable.
23056 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
23057
08198877
JM
23058 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
23059 (struct test_c_c_data): New type.
23060 (RUN_TEST_LOOP_c_c): New macro.
23061 (cacos_test_data): New variable.
23062 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
23063 (cacosh_test_data): New variable.
23064 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
23065 (casin_test_data): New variable.
23066 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
23067 (casinh_test_data): New variable.
23068 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
23069 (catan_test_data): New variable.
23070 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
23071 (catanh_test_data): New variable.
23072 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
23073 (ccos_test_data): New variable.
23074 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
23075 (ccosh_test_data): New variable.
23076 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
23077 (cexp_test_data): New variable.
23078 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
23079 (clog_test_data): New variable.
23080 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
23081 (clog10_test_data): New variable.
23082 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
23083 (conj_test_data): New variable.
23084 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
23085 (cproj_test_data): New variable.
23086 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
23087 (csin_test_data): New variable.
23088 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
23089 (csinh_test_data): New variable.
23090 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
23091 (csqrt_test_data): New variable.
23092 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
23093 (ctan_test_data): New variable.
23094 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
23095 (ctan_tonearest_test_data): New variable.
23096 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
23097 (ctan_towardzero_test_data): New variable.
23098 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
23099 (ctan_downward_test_data): New variable.
23100 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
23101 (ctan_upward_test_data): New variable.
23102 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
23103 (ctanh_test_data): New variable.
23104 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
23105 (ctanh_tonearest_test_data): New variable.
23106 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
23107 (ctanh_towardzero_test_data): New variable.
23108 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
23109 (ctanh_downward_test_data): New variable.
23110 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
23111 (ctanh_upward_test_data): New variable.
23112 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
23113 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
23114 of BUILD_COMPLEX.
23115
601a3a5f
JM
23116 * math/libm-test.inc (struct test_ff_f_data): New type.
23117 (struct test_ff_f_data_nexttoward): Likewise.
23118 (RUN_TEST_LOOP_2_f): New macro.
23119 (RUN_TEST_LOOP_ff_f): Likewise.
23120 (atan2_test_data): New variable.
23121 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
23122 (copysign_test_data): New variable.
23123 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
23124 (fdim_test_data): New variable.
23125 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
23126 (fmax_test_data): New variable.
23127 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
23128 (fmin_test_data): New variable.
23129 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
23130 (fmod_test_data): New variable.
23131 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
23132 (hypot_test_data): New variable.
23133 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
23134 (nextafter_test_data): New variable.
23135 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
23136 (nexttoward_test_data): New variable.
23137 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
23138 (pow_test_data): New variable.
23139 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
23140 (pow_tonearest_test_data): New variable.
23141 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
23142 (pow_towardzero_test_data): New variable.
23143 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
23144 (pow_downward_test_data): New variable.
23145 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
23146 (pow_upward_test_data): New variable.
23147 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
23148 (remainder_test_data): New variable.
23149 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
23150 (scalb_test_data): New variable.
23151 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
23152 * sysdeps/i386/fpu/libm-test-ulps: Update.
23153
74c57478
JM
231542013-05-11 Joseph Myers <joseph@codesourcery.com>
23155
8329e4da
JM
23156 * math/libm-test.inc (fma_test): Use max_value instead of local
23157 variable fltmax.
23158 (nextafter_test): Likewise.
23159
74c57478
JM
23160 * math/libm-test.inc (acos_towardzero_test_data): New variable.
23161 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
23162 (acos_downward_test_data): New variable.
23163 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
23164 (acos_upward_test_data): New variable.
23165 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
23166 (acosh_test_data): New variable.
23167 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
23168 (asin_test_data): New variable.
23169 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
23170 (asin_tonearest_test_data): New variable.
23171 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
23172 (asin_towardzero_test_data): New variable.
23173 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
23174 (asin_downward_test_data): New variable.
23175 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
23176 (asin_upward_test_data): New variable.
23177 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
23178 (asinh_test_data): New variable.
23179 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
23180 (atan_test_data): New variable.
23181 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
23182 (atanh_test_data): New variable.
23183 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
23184 (cbrt_test_data): New variable.
23185 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
23186 (ceil_test_data): New variable.
23187 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
23188 (cos_test_data): New variable.
23189 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
23190 (cos_tonearest_test_data): New variable.
23191 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
23192 (cos_towardzero_test_data): New variable.
23193 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
23194 (cos_downward_test_data): New variable.
23195 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
23196 (cos_upward_test_data): New variable.
23197 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
23198 (cosh_test_data): New variable.
23199 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
23200 (cosh_tonearest_test_data): New variable.
23201 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
23202 (cosh_towardzero_test_data): New variable.
23203 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
23204 (cosh_downward_test_data): New variable.
23205 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
23206 (cosh_upward_test_data): New variable.
23207 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
23208 (erf_test_data): New variable.
23209 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
23210 (erfc_test_data): New variable.
23211 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
23212 (exp_test_data): New variable.
23213 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
23214 (exp_tonearest_test_data): New variable.
23215 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
23216 (exp_towardzero_test_data): New variable.
23217 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
23218 (exp_downward_test_data): New variable.
23219 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
23220 (exp_upward_test_data): New variable.
23221 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
23222 (exp10_test_data): New variable.
23223 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
23224 (exp2_test_data): New variable.
23225 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
23226 (expm1_test_data): New variable.
23227 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
23228 (fabs_test_data): New variable.
23229 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
23230 (floor_test_data): New variable.
23231 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
23232 (j0_test_data): New variable.
23233 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
23234 (j1_test_data): New variable.
23235 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
23236 (log_test_data): New variable.
23237 (log_test): Run tests with RUN_TEST_LOOP_f_f.
23238 (log10_test_data): New variable.
23239 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
23240 (log1p_test_data): New variable.
23241 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
23242 (log2_test_data): New variable.
23243 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
23244 (logb_test_data): New variable.
23245 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
23246 (logb_downward_test_data): New variable.
23247 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
23248 (nearbyint_test_data): New variable.
23249 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
23250 (rint_test_data): New variable.
23251 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
23252 (rint_tonearest_test_data): New variable.
23253 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
23254 (rint_towardzero_test_data): New variable.
23255 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
23256 (rint_downward_test_data): New variable.
23257 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
23258 (rint_upward_test_data): New variable.
23259 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
23260 (round_test_data): New variable.
23261 (round_test): Run tests with RUN_TEST_LOOP_f_f.
23262 (sin_test_data): New variable.
23263 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
23264 (sin_tonearest_test_data): New variable.
23265 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
23266 (sin_towardzero_test_data): New variable.
23267 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
23268 (sin_downward_test_data): New variable.
23269 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
23270 (sin_upward_test_data): New variable.
23271 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
23272 (sinh_test_data): New variable.
23273 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
23274 (sinh_tonearest_test_data): New variable.
23275 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
23276 (sinh_towardzero_test_data): New variable.
23277 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
23278 (sinh_downward_test_data): New variable.
23279 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
23280 (sinh_upward_test_data): New variable.
23281 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
23282 (sqrt_test_data): New variable.
23283 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
23284 (tan_test_data): New variable.
23285 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
23286 (tan_tonearest_test_data): New variable.
23287 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
23288 (tan_towardzero_test_data): New variable.
23289 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
23290 (tan_downward_test_data): New variable.
23291 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
23292 (tan_upward_test_data): New variable.
23293 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
23294 (tanh_test_data): New variable.
23295 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
23296 (tgamma_test_data): New variable.
23297 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
23298 (trunc_test_data): New variable.
23299 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
23300 (y0_test_data): New variable.
23301 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
23302 (y1_test_data): New variable.
23303 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
23304 (significand_test_data): New variable.
23305 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
23306
7187d844
CG
233072013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
23308
23309 [BZ #12387]
23310 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
23311
f63fae73
PT
233122013-05-10 Pino Toscano <toscano.pino@tiscali.it>
23313
23314 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
23315
8a67a4b3
AJ
233162013-05-10 Andreas Jaeger <aj@suse.de>
23317
23318 [BZ #15448]
23319 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
23320 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
23321
51df539d
JM
233222013-05-10 Joseph Myers <joseph@codesourcery.com>
23323
23324 * math/gen-libm-test.pl (adjust_arg): New function.
23325 (special_functions): Handle generating output in both functions
23326 and arrays.
23327 (parse_args): Likewise.
23328 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
23329 $in_func argument to parse_args.
23330 * math/libm-test.inc (struct test_f_f_data): New type.
23331 (IF_ROUND_INIT_): New macro.
23332 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
23333 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
23334 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
23335 (IF_ROUND_INIT_FE_UPWARD): Likewise.
23336 (ROUND_RESTORE_): Likewise.
23337 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
23338 (ROUND_RESTORE_FE_TONEAREST): Likewise.
23339 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
23340 (ROUND_RESTORE_FE_UPWARD): Likewise.
23341 (RUN_TEST_LOOP_f_f): New macro.
23342 (acos_test_data): New variable.
23343 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
23344 (acos_tonearest_test_data): New variable.
23345 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
23346
5c637fe5
SP
233472013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
23348
23349 * benchtests/bench-skeleton.c (startup): Fix coding style.
23350
ab2b9461
JM
233512013-05-10 Joseph Myers <joseph@codesourcery.com>
23352
23353 [BZ #6809]
23354 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
23355 negative infinity argument.
23356 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
23357 negative infinity argument.
23358 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
23359 negative infinity argument.
23360 * math/libm-test.inc (tgamma_test): Expect errno to be set for
23361 domain errors.
23362
4c0fe6fe
FW
233632013-05-10 Florian Weimer <fweimer@redhat.com>
23364
23365 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
23366 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
23367 * iconv/iconv_prog.c (main): Likewise.
23368 * locale/programs/charmap-dir.c (charmap_readdir)
23369 (fopen_uncompressed): Likewise.
23370 * locale/programs/locfile.c (siblings_uncached)
23371 (write_locale_data): Use lstat64 instead of lstat.
23372 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
23373 stat.
23374
a3375d29
AJ
233752013-05-10 Andreas Jaeger <aj@suse.de>
23376
23377 [BZ #15395]
23378 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
23379 localization.
23380 Include <locale.h>.
23381
36129722
CD
233822013-05-09 Carlos O'Donell <carlos@redhat.com>
23383
23384 * elf/dl-close.c (_dl_close_worker): Add comments.
23385
faa7f811
JM
233862013-05-09 Joseph Myers <joseph@codesourcery.com>
23387
ed41ffef
JM
23388 [BZ #15359]
23389 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
23390 high part of pi/2.
23391 (__ieee754_rem_pio2l): Update comments.
23392
d0213cd0
JM
23393 [BZ #15429]
23394 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
23395 high part of pi/2.
23396 (__ieee754_rem_pio2l): Update comments.
23397
0d3e777a
JM
23398 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
23399 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
23400
24f56066
JM
23401 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
23402 M_PI_4l.
23403
faa7f811
JM
23404 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
23405 (M_PI_34_LOG10El): Likewise.
23406 (M_PI2_LOG10El): Likewise.
23407 (M_PI4_LOG10El): Likewise.
23408 (M_PI_LOG10El): Likewise.
23409
e9a5e0fd
AZ
234102013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23411
23412 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23413
d8cd06db
JM
234142013-05-08 Joseph Myers <joseph@codesourcery.com>
23415
a0d9f9d7
JM
23416 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
23417 (MINUS_ZERO_INIT): Likewise.
23418 (PLUS_INFTY_INIT): Likewise.
23419 (MINUS_INFTY_INIT): Likewise.
23420 (QNAN_VALUE_INIT): Likewise.
23421 (MAX_VALUE_INIT): Likewise.
23422 (MIN_VALUE_INIT): Likewise.
23423 (MIN_SUBNORM_VALUE_INIT): Likewise.
23424 (plus_zero): Initialize with PLUS_ZERO_INIT.
23425 (minus_zero): Initialize with MINUS_ZERO_INIT.
23426 (plus_infty): Initialize with PLUS_INFTY_INIT.
23427 (minus_infty): Initialize with MINUS_INFTY_INIT.
23428 (qnan_value): Initialize with QNAN_VALUE_INIT.
23429 (max_value): Initialize with MAX_VALUE_INIT.
23430 (min_value): Initialize with MIN_VALUE_INIT.
23431 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
23432
ae08db3b
JM
23433 * math/libm-test.inc (RUN_TEST_if_f): New macro.
23434 (jn_test): Use TEST_if_f instead of TEST_ff_f.
23435 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
23436 (yn_test): Use TEST_if_f instead of TEST_ff_f.
23437
f44bf14a
JM
23438 * math/libm-test.inc (RUN_TEST_f_f): New macro.
23439 (RUN_TEST_2_f): Likewise.
23440 (RUN_TEST_ff_f): Likewise.
23441 (RUN_TEST_fi_f): Likewise.
23442 (RUN_TEST_fl_f): Likewise.
23443 (RUN_TEST_fff_f): Likewise.
23444 (RUN_TEST_c_f): Likewise.
23445 (RUN_TEST_f_f1): Likewise.
23446 (RUN_TEST_fF_f1): Likewise.
23447 (RUN_TEST_fI_f1): Likewise.
23448 (RUN_TEST_ffI_f1): Likewise.
23449 (RUN_TEST_c_c): Likewise.
23450 (RUN_TEST_cc_c): Likewise.
23451 (RUN_TEST_f_i): Likewise.
23452 (RUN_TEST_f_i_tg): Likewise.
23453 (RUN_TEST_ff_i_tg): Likewise.
23454 (RUN_TEST_f_b): Likewise.
23455 (RUN_TEST_f_b_tg): Likewise.
23456 (RUN_TEST_f_l): Likewise.
23457 (RUN_TEST_f_L): Likewise.
23458 (RUN_TEST_sincos): Likewise.
23459 * math/gen-libm-test.pl (new_test): Take new argument to indicate
23460 whether to show exceptions. Do not include ");\n" in return
23461 value.
23462 (special_functions): Output call to RUN_TEST_sincos instead of
23463 check_float calls. Update calls to new_test.
23464 (parse_args): Output call to single RUN_TEST_* macro instead of
23465 check_* calls and other assignments. Update calls to new_test.
23466
d8cd06db
JM
23467 [BZ #2546]
23468 [BZ #2560]
23469 [BZ #5159]
23470 [BZ #15426]
23471 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
23472 input to result for tgamma overflow.
23473 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
23474 (gamma_coeff): New variable.
23475 (NCOEFF): New macro.
23476 (gamma_positive): New function.
23477 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
23478 underflow here. Use gamma_positive instead of exp (lgamma) for
23479 other arguments.
23480 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
23481 (gamma_coeff): New variable.
23482 (NCOEFF): New macro.
23483 (gammaf_positive): New function.
23484 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
23485 underflow here. Use gamma_positive instead of exp (lgamma) for
23486 other arguments.
23487 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
23488 (gamma_coeff): New variable.
23489 (NCOEFF): New macro.
23490 (gammal_positive): New function.
23491 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
23492 underflow here. Use gamma_positive instead of exp (lgamma) for
23493 other arguments.
23494 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
23495 (gamma_coeff): New variable.
23496 (NCOEFF): New macro.
23497 (gammal_positive): New function.
23498 (__ieee754_gammal_r): Handle positive infinity, overflow and
23499 underflow here. Handle NaN the same as positive infinity. Remove
23500 check x < 0xffffffff for negative integers. Use gamma_positive
23501 instead of exp (lgamma) for other arguments.
23502 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
23503 (gamma_coeff): New variable.
23504 (NCOEFF): New macro.
23505 (gammal_positive): New function.
23506 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
23507 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
23508 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
23509 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
23510 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
23511 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
23512 * sysdeps/generic/math_private.h (__gamma_productf): New
23513 prototype.
23514 (__gamma_product): Likewise.
23515 (__gamma_productl): Likewise.
23516 * math/Makefile (libm-calls): Add gamma_product.
23517 * math/libm-test.inc (tgamma_test): Add more tests.
23518 * sysdeps/i386/fpu/libm-test-ulps: Update.
23519 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23520
bb7cf681
OB
235212013-05-08 Ondřej Bílka <neleai@seznam.cz>
23522
23523 * benchtests/bench-skeleton.c (main): Preheat CPU.
23524
ba853947
AJ
235252013-05-07 Aurelien Jarno <aurelien@aurel32.net>
23526
23527 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
23528
8347c74c
RM
235292013-05-07 Roland McGrath <roland@hack.frob.com>
23530
23531 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
23532 and _dl_skip_args_internal.
23533
e8dd4791
CD
235342013-05-07 Carlos O'Donell <carlos@redhat.com>
23535
23536 * manual/message.texi (Message Translation): Talk about users.
23537 Message to key mapping impacts design.
23538
c7405830
RM
235392013-05-06 Roland McGrath <roland@hack.frob.com>
23540
a9173057
RM
23541 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
23542
976e2f03
RM
23543 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
23544
9723ffc5
RM
23545 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
23546 * sysdeps/wordsize-64/glob64.c: ... here.
23547
962e6658
RM
23548 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
23549 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
23550 New macros.
23551
ee586a6d
RM
23552 * debug/getlogin_r_chk.c: Moved to ...
23553 * login/getlogin_r_chk.c: ... here.
23554 * debug/Makefile (routines): Move getlogin_r_chk to ...
23555 * login/Makefile (routines): ... here.
23556 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
23557 * login/Versions (libc: GLIBC_2.4): ... here.
23558
355f9165
RM
23559 * io/poll.c (__poll): Renamed from poll.
23560 Add libc_hidden_def.
23561 (poll): Define as weak alias.
23562
bd9ffde6
RM
23563 * debug/ptsname_r_chk.c: Moved to ...
23564 * login/ptsname_r_chk.c: ... here.
23565 * debug/Makefile (routines): Move ptsname_r_chk to ...
23566 * login/Makefile (routines): ... here.
23567 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
23568 * login/Versions (libc: GLIBC_2.4): ... here.
23569
8fb16a04
RM
23570 * posix/getlogin.c: Moved to ...
23571 * login/getlogin.c: ... here.
23572 * posix/getlogin_r.c: Moved to ...
23573 * login/getlogin_r.c: ... here.
23574 * posix/getlogin_r.c: Moved to ...
23575 * login/getlogin_r.c: ... here.
23576 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
23577 * login/Makefile (routines): ... here.
23578 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
23579 * login/Versions (libc: GLIBC_2.0): ... here.
23580
b99b892f
RM
23581 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
23582 (setrlimit): Define as weak alias.
23583
c7405830
RM
23584 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
23585 Call __ names for open, ftruncate, and close.
23586 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
23587 (truncate): Define as weak alias.
23588
5bf96de5
JM
235892013-05-06 Joseph Myers <joseph@codesourcery.com>
23590
9ea3513c
JM
23591 * math/gen-libm-test.pl (parse_args): Initialize x before each
23592 test of frexp, modf and remquo.
23593
5bf96de5
JM
23594 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
23595 test signgam value.
23596
16e616a7
AZ
235972013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23598
23599 [BZ #15418]
23600 [BZ #15419]
23601 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
23602 internal tests.
23603 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
23604
d5e82754
RM
236052013-05-06 Roland McGrath <roland@hack.frob.com>
23606
23607 * elf/dl-writev.h: New file.
23608 * elf/dl-misc.c: Include it.
23609 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
23610 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
23611
a7548d41
JM
236122013-05-04 Joseph Myers <joseph@codesourcery.com>
23613
b7dab1e4
JM
23614 * math/libm-test.inc (noXFails): Remove variable.
23615 (noXPasses): Likewise.
23616 (BUILD_COMPLEX_INT): Remove macro.
23617 (print_screen): Remove xfail argument.
23618 (print_screen_max_error): Likewise.
23619 (update_stats): Likewise.
23620 (print_max_error): Likewise. Update calls to other affected
23621 functions.
23622 (print_complex_max_error): Likewise.
23623 (test_single_exception): Update calls to print_screen.
23624 (test_single_errno): Likewise.
23625 (check_float_internal): Remove xfail argument. Update calls to
23626 other affected functions.
23627 (check_float): Likewise.
23628 (check_complex): Likewise.
23629 (check_int): Likewise.
23630 (check_long): Likewise.
23631 (check_bool): Likewise.
23632 (check_longlong): Likewise.
23633 (main): Don't print noXFails and noXPasses.
23634 * math/gen-libm-test.pl (top level): Don't mention expected
23635 failure handling in comment.
23636 (new_test): Don't handle expected failures.
23637 (parse_args): Don't mention expected failure handling in comment.
23638 (generate_testfile): Don't handle expected failures.
23639 (parse_ulps): Likewise.
23640 (print_ulps_file): Likewise.
23641 (get_failure): Remove function.
23642 (output_test): Don't handle expected failures.
23643 * make/README.libm-test: Don't mention expected failure handling.
23644
a7548d41
JM
23645 * math/libm-test.inc (plus_zero): Make const. Add initializer.
23646 (minus_zero): Likewise.
23647 (plus_infty): Likewise.
23648 (minus_infty): Likewise.
23649 (qnan_value): Likewise.
23650 (max_value): Likewise.
23651 (min_value): Likewise.
23652 (min_subnorm_value): Likewise.
23653 (initialize): Do not initialize those variables dynamically.
23654
60bfd54c
RM
236552013-05-03 Roland McGrath <roland@hack.frob.com>
23656
cc0e6ed8
RM
23657 * io/open.c (__open_2): Moved to ...
23658 * io/open_2.c: ... this new file.
23659 * io/open64.c (__open64_2): Moved to ...
23660 * io/open64_2.c: ... this new file.
23661 * io/openat.c (__openat_2): Moved to ...
23662 * io/openat_2.c: ... this new file.
23663 * io/openat64.c (__openat64_2): Moved to ...
23664 * io/openat64_2.c: ... this new file.
23665 * io/Makefile (routines): Add them.
23666 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
23667 * sysdeps/unix/sysv/linux/open_2.c: File removed.
23668 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
23669 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
23670 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
23671 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
23672 (__openat64): Add hidden_ver.
23673 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
23674 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
23675
60bfd54c
RM
23676 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
23677 Separately conditionalize setting of GLRO(dl_sysinfo) so
23678 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
23679 as well, but the actual setting is only under [NEED_DL_SYSINFO].
23680
83e7640f
AZ
236812013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23682
23683 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
23684 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
23685 definition.
23686 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
23687 * sysdeps/unix/sysv/linux/powerpc/init-first.c
23688 (_libc_vdso_platform_setup): Add __vdso_time initialization.
23689 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
23690 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
23691
d5dc2af3
JM
236922013-05-03 Joseph Myers <joseph@codesourcery.com>
23693
c31a5b1e
JM
23694 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
23695 test signgam value.
23696
d5dc2af3
JM
23697 * math/libm-test.inc (hypot_test): Do not use
23698 IGNORE_ZERO_INF_SIGN.
23699
164fd39d
AJ
237002013-05-03 Andreas Jaeger <aj@suse.de>
23701
23702 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
23703 Linux 3.9.
23704 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
23705 (PF_MAX): Adjust for VSOCK change.
23706
8237f48c
AZ
237072013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23708
23709 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23710
9df02941
CD
237112013-05-02 Carlos O'Donell <carlos@redhat.com>
23712
23713 [BZ #15264]
23714 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
23715 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
23716 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
23717
d422395e
DM
237182013-05-02 David S. Miller <davem@davemloft.net>
23719
23720 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23721
a07c5731
OB
237222013-05-01 Ondřej Bílka <neleai@seznam.cz>
23723
23724 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
23725
1324e37f
RM
237262013-05-01 Roland McGrath <roland@hack.frob.com>
23727
23728 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
23729
0695940b
RS
237302013-05-01 Richard Smith <richard@metafoo.co.uk>
23731
bb5f27ad 23732 [BZ #14952]
0695940b
RS
23733 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
23734 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
23735 Use __attribute__ ((__gnu_inline__)).
23736 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
23737 Don't use __attribute__ ((__gnu_inline__)).
23738
10de07f5
JM
237392013-05-01 Joseph Myers <joseph@codesourcery.com>
23740
23741 [BZ #15423]
23742 * math/s_catan.c (__catan): Handle small real or imaginary part of
23743 input specially to avoid spurious underflow.
23744 * math/s_catanf.c (__catanf): Likewise.
23745 * math/s_catanh.c (__catanh): Likewise.
23746 * math/s_catanhf.c (__catanhf): Likewise.
23747 * math/s_catanhl.c (__catanhl): Likewise.
23748 * math/s_catanl.c (__catanl): Likewise.
23749 * math/libm-test.inc (catan_test): Add more tests.
23750 (catanh_test): Likewise.
23751 * sysdeps/i386/fpu/libm-test-ulps: Update.
23752 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23753
cb4d5414
AZ
237542013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23755
23756 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23757
caf84319
JM
237582013-04-30 Joseph Myers <joseph@codesourcery.com>
23759
23760 [BZ #15416]
23761 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
23762 accurately for denominator in atan2.
23763 * math/s_catanf.c (__catanf): Likewise.
23764 * math/s_catanh.c (__catanh): Likewise.
23765 * math/s_catanhf.c (__catanhf): Likewise.
23766 * math/s_catanhl.c (__catanhl): Likewise.
23767 * math/s_catanl.c (__catanl): Likewise.
23768 * math/libm-test.inc (catan_test): Add more tests.
23769 (catanh_test): Likewise.
23770 * sysdeps/i386/fpu/libm-test-ulps: Update.
23771 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23772
d569c6ee
SP
237732013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
23774
6dbe713d
SP
23775 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
23776
f0ee064b
SP
23777 * benchtests/Makefile (bench): Remove slow benchmarks.
23778 * benchtests/atan-inputs: Add slow benchmark inputs.
23779 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
23780 (BENCH_FUNC): Accept variant offset.
23781 (VARIANT): Define.
23782 * benchtests/bench-skeleton.c (main): Run benchmark for each
23783 variant.
23784 * benchtests/cos-inputs: Add slow benchmark inputs.
23785 * benchtests/exp-inputs: Likewise.
23786 * benchtests/pow-inputs: Likewise.
23787 * benchtests/sin-inputs: Likewise.
23788 * benchtests/slowatan-inputs: Remove.
23789 * benchtests/slowatan.c: Remove.
23790 * benchtests/slowcos-inputs: Remove.
23791 * benchtests/slowcos.c: Remove.
23792 * benchtests/slowexp-inputs: Remove.
23793 * benchtests/slowexp.c: Remove.
23794 * benchtests/slowpow-inputs: Remove.
23795 * benchtests/slowpow.c: Remove.
23796 * benchtests/slowsin-inputs: Remove.
23797 * benchtests/slowsin.c: Remove.
23798 * benchtests/slowtan-inputs: Remove.
23799 * benchtests/slowtan.c: Remove.
23800 * benchtests/tan-inputs: Add slow benchmark inputs.
23801 * scripts/bench.pl: Parse comments and directives.
23802
d569c6ee
SP
23803 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
23804 in CPPFLAGS.
23805 ($(objpfx)bench-%.c): Remove *-ITER.
23806 * benchtests/bench-modf.c: Remove definition of ITER.
23807 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
23808 (main): Loop for DURATION seconds instead of fixed number of
23809 iterations.
23810 * scripts/bench.pl: Don't expect iterations in parameters.
23811
a6a242fe
RM
238122013-04-29 Roland McGrath <roland@hack.frob.com>
23813
23814 * io/fchdir.c (__fchdir): Renamed from fchdir.
23815 (fchdir): Define as weak alias.
23816
f2da7793
JM
238172013-04-29 Joseph Myers <joseph@codesourcery.com>
23818
23819 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
23820 (ERRNO_EDOM): Likewise.
23821 (ERRNO_ERANGE): Likewise.
23822 (noErrnoTests): New variable.
23823 (init_max_error): Set errno to 0.
23824 (test_single_errno): New function.
23825 (test_errno): Likewise.
23826 (check_float_internal): Call test_errno. Set errno to 0.
23827 (check_complex): Refer to errno tests in comment.
23828 (check_int): Call test_errno. Set errno to 0.
23829 (check_long): Likewise.
23830 (check_bool): Likewise.
23831 (check_longlong): Likewise.
23832 (cos_test): Use ERRNO_* flags for errno tests instead of
23833 check_int.
23834 (expm1_test): Likewise.
23835 (fmod_test): Likewise.
23836 (ilogb_test): Likewise.
23837 (lgamma_test): Likewise.
23838 (pow_test): Likewise.
23839 (remainder_test): Likewise.
23840 (sin_test): Likewise.
23841 (tan_test): Likewise.
23842 (yn_test): Likewise.
23843 (initialize): Set errno to 0.
23844 (main): Print number of errno tests.
23845 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
23846
b1a36ceb
AJ
238472013-04-29 Andreas Jaeger <aj@suse.de>
23848
c3ed8088
AJ
23849 [BZ #15084]
23850 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
23851 and RES_USEVC.
23852
f1a24198
AJ
23853 [BZ #15085]
23854 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
23855 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
23856 unimplemented.
23857
9ce3b2cb
AJ
23858 [BZ #15380]
23859 * stdlib/random.c (__initstate): Return NULL if
23860 __initstate fails.
23861
f1a24198 23862 [BZ #15086]
b1a36ceb
AJ
23863 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
23864 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
23865 RES_SNGLKUPREOP.
23866
7e7b6f36
AZ
238672013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23868
23869 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23870
4d14f449
JM
238712013-04-29 Joseph Myers <joseph@codesourcery.com>
23872
23873 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
23874 of individual tests.
23875 (casin_test): Likewise.
23876 (casinh_test): Likewise.
23877
5b4217d7
JM
238782013-04-27 Joseph Myers <joseph@codesourcery.com>
23879
23880 [BZ #15409]
23881 * math/s_catan.c (__catan): Handle arguments with large real or
23882 imaginary part separately without squaring.
23883 * math/s_catanf.c (__catanf): Likewise.
23884 * math/s_catanh.c (__catanh): Likewise.
23885 * math/s_catanhf.c (__catanhf): Likewise.
23886 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
23887 and redefine.
23888 (__catanhl): Handle arguments with large real or imaginary part
23889 separately without squaring.
23890 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
23891 and redefine.
23892 (__catanl): Handle arguments with large real or imaginary part
23893 separately without squaring.
23894 * math/libm-test.inc (catan_test): Add more tests.
23895 (catanh_test): Likewise.
23896 * sysdeps/i386/fpu/libm-test-ulps: Update.
23897 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23898
4220c3ef
AJ
238992013-04-27 Andreas Jaeger <aj@suse.de>
23900
23901 [BZ #15007]
23902 * stdlib/stdlib.h: Update guards for qecvt.
23903 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
23904 <stdlib.h>.
23905
4721b2d1
AM
239062013-04-27 Allan McRae <allan@archlinux.org>
23907
23908 * sysdeps/i386/fpu/libm-test-ulps: Update.
23909
f0302940
JM
239102013-04-26 Joseph Myers <joseph@codesourcery.com>
23911
9457fd95
JM
23912 [BZ #15406]
23913 * math/s_catan.c: Include <float.h>.
23914 (__catan): Ensure underflow exception occurs for underflowed
23915 result.
23916 * math/s_catanf.c: Include <float.h>.
23917 (__catanf): Ensure underflow exception occurs for underflowed
23918 result.
23919 * math/s_catanh.c: Include <float.h>.
23920 (__catanh): Ensure underflow exception occurs for underflowed
23921 result.
23922 * math/s_catanhf.c: Include <float.h>.
23923 (__catanhf): Ensure underflow exception occurs for underflowed
23924 result.
23925 * math/s_catanhl.c: Include <float.h>.
23926 (__catanhl): Ensure underflow exception occurs for underflowed
23927 result.
23928 * math/s_catanl.c: Include <float.h>.
23929 (__catanl): Ensure underflow exception occurs for underflowed
23930 result.
23931 * math/libm-test.inc (catan_test): Add more tests.
23932 (catanh_test): Likewise.
23933
f0302940
JM
23934 [BZ #15405]
23935 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
23936 underflowed result.
23937 * math/s_ccoshf.c (__ccoshf): Likewise.
23938 * math/s_ccoshl.c (__ccoshl): Likewise.
23939 * math/s_csin.c (__csin): Likewise.
23940 * math/s_csinf.c (__csinf): Likewise.
23941 * math/s_csinh.c (__csinh): Likewise.
23942 * math/s_csinhf.c (__csinhf): Likewise.
23943 * math/s_csinhl.c (__csinhl): Likewise.
23944 * math/s_csinl.c (__csinl): Likewise.
23945 * math/libm-test.inc (ccos_test): Add more tests.
23946 (ccosh_test): Likewise.
23947 (csin_test): Likewise.
23948 (csinh_test): Likewise.
23949
aa630f59
AZ
239502013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23951
23952 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
23953 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
23954 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
23955 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
23956 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
23957 powerpc/power5+/fpu folders.
23958 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
23959
23960
1b835983
MT
239612013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
23962
23963 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23964
73709b26
JM
239652013-04-25 Joseph Myers <joseph@codesourcery.com>
23966
23967 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
23968 additions to variable.
23969 [$(config-machine) = x86_64] (modules-names): Likewise.
23970 ($(objpfx)tst-audit3): Remove dependency.
23971 ($(objpfx)tst-audit3.out): Likewise.
23972 ($(objpfx)tst-audit4): Likewise.
23973 ($(objpfx)tst-audit4.out): Likewise.
23974 ($(objpfx)tst-audit5): Likewise.
23975 ($(objpfx)tst-audit5.out): Likewise.
23976 ($(objpfx)tst-audit6): Likewise.
23977 ($(objpfx)tst-audit6.out): Likewise.
23978 ($(objpfx)tst-audit7): Likewise.
23979 ($(objpfx)tst-audit7.out): Likewise.
23980 (tst-audit3-ENV): Remove variable.
23981 (tst-audit4-ENV): Likewise.
23982 (tst-audit5-ENV): Likewise.
23983 (tst-audit6-ENV): Likewise.
23984 (tst-audit7-ENV): Likewise.
23985 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
23986 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
23987 addition to variable.
23988 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
23989 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
23990 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
23991 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
23992 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
23993 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
23994 tst-audit3, tst-audit4 and tst-audit5.
23995 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
23996 tst-audit6 and tst-audit7.
23997 [$(subdir) = elf] (modules-names): Add audit modules for those
23998 tests.
23999 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
24000 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
24001 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
24002 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
24003 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
24004 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
24005 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
24006 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
24007 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
24008 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
24009 [$(subdir) = elf] (tst-audit3-ENV): New variable.
24010 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
24011 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
24012 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
24013 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
24014 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
24015 Likewise.
24016 [$(subdir) = elf && $(config-cflags-avx) = yes]
24017 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
24018 [$(subdir) = elf && $(config-cflags-avx) = yes]
24019 (CFLAGS-tst-auditmod4a.c): Likewise.
24020 [$(subdir) = elf && $(config-cflags-avx) = yes]
24021 (CFLAGS-tst-auditmod4b.c): Likewise.
24022 [$(subdir) = elf && $(config-cflags-avx) = yes]
24023 (CFLAGS-tst-auditmod6b.c): Likewise.
24024 [$(subdir) = elf && $(config-cflags-avx) = yes]
24025 (CFLAGS-tst-auditmod6c.c): Likewise.
24026 [$(subdir) = elf && $(config-cflags-avx) = yes]
24027 (CFLAGS-tst-auditmod7b.c): Likewise.
24028 * elf/tst-audit3.c: Move to ...
24029 * sysdeps/x86_64/tst-audit3.c: ... here.
24030 * elf/tst-audit4.c: Move to ...
24031 * sysdeps/x86_64/tst-audit4.c: ... here.
24032 * elf/tst-audit5.c: Move to ...
24033 * sysdeps/x86_64/tst-audit5.c: ... here.
24034 * elf/tst-audit6.c: Move to ...
24035 * sysdeps/x86_64/tst-audit6.c: ... here.
24036 * elf/tst-audit7.c: Move to ...
24037 * sysdeps/x86_64/tst-audit7.c: ... here.
24038 * elf/tst-auditmod3a.c: Move to ...
24039 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
24040 * elf/tst-auditmod3b.c: Move to ...
24041 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
24042 * elf/tst-auditmod4a.c: Move to ...
24043 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
24044 * elf/tst-auditmod4b.c: Move to ...
24045 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
24046 * elf/tst-auditmod5a.c: Move to ...
24047 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
24048 * elf/tst-auditmod5b.c: Move to ...
24049 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
24050 * elf/tst-auditmod6a.c: Move to ...
24051 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
24052 * elf/tst-auditmod6b.c: Move to ...
24053 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
24054 * elf/tst-auditmod6c.c: Move to ...
24055 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
24056 * elf/tst-auditmod7a.c: Move to ...
24057 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
24058 * elf/tst-auditmod7b.c: Move to ...
24059 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
24060
1ef74943
PP
240612013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
24062
24063 [BZ #15366]
24064 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
24065 define unconditionally.
24066 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
24067 define unconditionally.
24068 (INT8_C, INT16_C, etc.): Likewise.
24069
93fd48c5
MR
240702013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
24071
ae9552cf
MR
24072 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
24073 __ehdr_start with hidden visibility.
24074
93fd48c5
MR
24075 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
24076
418601aa
CD
240772013-04-24 Carlos O'Donell <carlos@redhat.com>
24078
24079 * math/libm-test.inc (cos_test): Use accurate hex constants.
24080 (sincost_test): Likewise.
24081
2f38fbfe
JM
240822013-04-24 Joseph Myers <joseph@codesourcery.com>
24083
5e221800
JM
24084 * math/libm-test.inc (catan_test): Add more tests.
24085 (catanh_test): Likewise.
24086
77f143fd
JM
24087 * math/s_catanf.c (__catanf): Use suffixed floating-point
24088 constants.
24089 * math/s_catanhf.c (__catanhf): Likewise.
24090 * math/s_catanhl.c (__catanhl): Likewise.
24091 * math/s_catanl.c (__catanl): Likewise.
24092
2f38fbfe
JM
24093 [BZ #15394]
24094 * math/s_catan.c (__catan): Calculate imaginary part of result
24095 with log1p not log unless computing log of number close to 0.
24096 * math/s_catanf.c (__catanf): Likewise.
24097 * math/s_catanl.c (__catanl): Likewise.
24098 * math/s_catanh.c (__catanh): Calculate real part of result with
24099 log1p not log unless computing log of number close to 0.
24100 * math/s_catanhf.c (__catanhf): Likewise.
24101 * math/s_catanhl.c (__catanhl): Likewise.
24102 * math/libm-test.inc (catan_test): Add more tests.
24103 (catanh_test): Likewise.
24104 * sysdeps/i386/fpu/libm-test-ulps: Update.
24105 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24106
45d69176
SP
241072013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
24108
24109 * benchtests/Makefile: Mention files in which fast and slow
24110 paths of math functions are implemented.
24111
87f51853
RM
241122013-04-23 Roland McGrath <roland@hack.frob.com>
24113
24114 * sysdeps/posix/timespec_get.c: New file.
24115
3c026539
AZ
241162013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24117
24118 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
24119 POWER.
24120 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
24121 for POWER.
24122 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
24123 powerpc/power5/fpu folders.
24124 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
24125 * benchtests/Makefile: Add modf testcase.
24126 * benchtests/bench-modf.c: New file: Benchmark test for mo
24127
ff491d14
SP
241282013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
24129
24130 [BZ #14888]
24131 * time/Makefile (tests): Add tst-strptime-whitespace.
24132 * time/strptime_l.c (get_number): Use ISSPACE.
24133 (__strptime_internal): Likewise.
24134 * time/tst-strptime-whitespace.c: New test case.
24135
7ed3f4e8
AS
241362013-04-23 Andreas Schwab <schwab@linux-m68k.org>
24137
24138 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
24139 member.
24140 (_nss_files_init): Set it here.
24141
5c95f7b6
HC
241422013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
24143
24144 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
24145 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
24146 unsigned.
24147
d34c9158
JBG
241482013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
24149
24150 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
24151
2169712d
SP
241522013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
24153
24154 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
24155 size just once.
24156
29c5de99
DM
241572013-04-21 David S. Miller <davem@davemloft.net>
24158
24159 * po/ru.po: Update Russion translation from translation project.
24160
ccdad15d
AC
241612013-04-17 Adam Conrad <adconrad@0c3.net>
24162
24163 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
24164 and setfsgid.
24165
0f122b8d
CD
241662013-04-17 Carlos O'Donell <carlos@redhat.com>
24167
5c5b07da 24168 * configure.in: Remove i386 configure warning. Remove i386 case.
0f122b8d 24169 * configure: Regenerate.
5c5b07da 24170 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
0f122b8d
CD
24171 Add example to error message.
24172 * sysdeps/i386/configure: Regenerate.
24173
037714dd
SP
241742013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
24175
24176 * benchtests/Makefile (bench): Add cos, tan, slowcos and
24177 slowtan.
24178 * benchtests/cos-inputs: New file.
24179 * benchtests/slowcos-inputs: New file.
24180 * benchtests/slowcos.c: New file.
24181 * benchtests/slowtan-inputs: New file.
24182 * benchtests/slowtan.c: New file.
24183 * benchtests/tan-inputs: New file.
24184
e913141d
RM
241852013-04-16 Roland McGrath <roland@hack.frob.com>
24186
24187 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
24188 considered kosher.
24189
a2964074
SP
241902013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
24191
4856bcd2
SP
24192 * benchtests/Makefile: Include cppflags-iterator.mk to add
24193 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
24194
a2964074
SP
24195 * Makefile.in (bench-clean): New target.
24196 * benchtests/Makefile (bench-clean): Likewise.
24197
9fbf9aca
DH
241982013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
24199
24200 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
24201
207d1e2a
TS
242022013-04-15 Thomas Schwinge <thomas@codesourcery.com>
24203
24204 * stdio-common/tstdiomisc.c: Fix coding-style violation.
24205
306dfba9
AS
242062013-04-15 Andreas Schwab <schwab@suse.de>
24207
24208 * nscd/grpcache.c (cache_addgr): Properly check for short write.
24209 * nscd/initgrcache.c (addinitgroupsX): Likewise.
24210 * nscd/pwdcache.c (cache_addpw): Likewise.
24211 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
24212 more than recsize.
24213
206a6699
SP
242142013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
24215
24216 * benchtests/Makefile (bench): Write all output to
24217 bench-out.tmp together.
24218
0582f6b3
AS
242192013-04-15 Andreas Schwab <schwab@suse.de>
24220
24221 * nscd/nscd.c (main): Don't fork again after closing files.
24222
acb4325f
SP
242232013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
24224
5cb26d0a
SP
24225 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
24226
acb4325f
SP
24227 * benchtests/Rules (bench-deps): Collect dependencies into a
24228 single variable. Add Makefile to dependencies.
24229 ($(objpfx)bench-%.c): Depend on bench-deps.
24230
47792506
RM
242312013-04-12 Roland McGrath <roland@hack.frob.com>
24232 Xavier Roche <roche+kml2@exalead.com>
24233
24234 [BZ #15361]
24235 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
24236 just that it's a file descriptor.
24237 * manual/llio.texi (Synchronizing AIO Operations): Update description
24238 for EBADF error from aio_fsync.
24239
8fc1bee5
SP
242402013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
24241
24242 * Rules (bench): Move target definition...
24243 * benchtests/Makefile: ... here.
24244
aba5e333
CD
242452013-04-11 Carlos O'Donell <carlos@redhat.com>
24246
24247 * math/libm-test.inc (cos_test): Fix PI/2 test.
24248 (sincos_test): Likewise.
24249 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
24250 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
24251
273cdee8
AS
242522013-04-11 Andreas Schwab <schwab@suse.de>
24253
6ecec3b6
AS
24254 [BZ #13988]
24255 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
24256 accept exponent character only when digits were seen.
24257 * stdio-common/Makefile (tests): Add bug26.
24258 * stdio-common/bug26.c: New file.
24259
273cdee8
AS
24260 [BZ #14293]
24261 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
24262 non-freeable.
24263
8da491f5
SP
242642013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
24265
01dc6df9
SP
24266 * Makeconfig (rtld-prefix): Define built linker prefix.
24267 * Rules (run-bench): Use it.
24268 * math/Makefile (run-regen-ulps): Likewise.
24269
8da491f5
SP
24270 * Rules (bench): Remove eval.
24271
abe7f530
SP
242722013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
24273 Roland McGrath <roland@hack.frob.com>
24274 Ondrej Bilka <neleai@seznam.cz>
24275
24276 [BZ #15346]
24277 * time/getdate.c: Include ctype.h and alloca.h.
24278 (__getdate_r): Trim leading and trailing spaces of input.
24279 * time/tst-getdate.c (tests): Add tests with leading and
24280 trailing spaces.
24281
61c23e62
RM
242822013-04-08 Roland McGrath <roland@hack.frob.com>
24283
24284 [BZ #14280]
24285 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
24286 when computing value.
24287
7208a313
CD
242882013-04-06 Carlos O'Donell <carlos@redhat.com>
24289
085b2d41
CD
24290 * math/README.libm-test (How can I generate "libm-test-ulps"?):
24291 Use testrun.sh to run libm tests.
24292
7208a313
CD
24293 [BZ #15309]
24294 * elf/dl-open.c (dl_open_worker): memset all of seen array.
24295
872c0acd
MM
242962013-04-06 Marko Myllynen <myllynen@redhat.com>
24297
24298 [BZ #15264]
24299 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
24300
26510bdd
CD
243012013-04-06 Carlos O'Donell <carlos@redhat.com>
24302
24303 * Makefile.in (regen-ulps): New target.
24304 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
24305 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
24306 [ifneq (no,$(PERL)] (regen-ulps): New target.
24307 [ifeq (no,$(PERL)] (regen-ulps): New target.
24308 * math/libm-test.inc (ulps_file_name): Define.
24309 (output_dir): New variable.
24310 (options): Add "output-dir" option.
24311 (parse_opt): Handle 'o' case.
24312 (main): If output_dir is non-NULL use it as a prefix
24313 otherwise use "".
24314 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
24315
a01f19c8
CD
243162013-04-06 Carlos O'Donell <carlos@redhat.com>
24317
24318 [BZ #10060, #10062]
24319 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
24320 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
24321 fail configure if __sync_val_compare_and_swap is not inlined.
24322 * sysdeps/i386/configure: Regenerate.
24323 * configure.in: Build for i686 when configured for i386.
24324 * configure: Regenerate.
24325 * README: Remove i386 reference.
24326
b7a329a5
CD
243272013-04-06 Carlos O'Donell <carlos@redhat.com>
24328
24329 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
24330 * sysdeps/s390/s390-64/sysdep.h: Likewise.
24331
bf0f50df
TS
243322013-04-05 Thomas Schwinge <thomas@codesourcery.com>
24333
ee091edf
TS
24334 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
24335 (lmsnanval): New variables.
24336 (F): Add conversion tests.
24337 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
24338 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
24339
a8b792d6
TS
24340 * stdio-common/tstdiomisc.c (F): Properly collect individual
24341 tests' results.
24342
a1cbf437
TS
24343 [BZ #14686, #15336]
24344 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
24345 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
24346 Instead, use input NaN values or generate a qNaN by arithmetic
24347 operation. Also fix bugs to comply with the standard.
24348 * math/libm-test.inc (remainder_test): Add more tests.
24349
8b43a0c9
TS
24350 [BZ #15335, #15342]
24351 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
24352 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
24353 input NaN values or generate a qNaN by arithmetic operation.
24354
d91da4ce
TS
24355 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
24356 unreachable code.
24357
bf0f50df
TS
24358 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
24359 definitions.
24360
05e166c8
JM
243612013-04-03 Joseph Myers <joseph@codesourcery.com>
24362
24363 [BZ #14478]
24364 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
24365 underflowed result.
24366 * math/s_cexpf.c (__cexpf): Likewise.
24367 * math/s_cexpl.c (__cexpl): Likewise.
24368 * math/libm-test.inc (cexp_test): Add more tests.
24369
1cef1b19
AS
243702013-04-03 Andreas Schwab <schwab@suse.de>
24371
24372 [BZ #15330]
24373 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
24374 order arrays from heap if bigger than alloca cutoff.
24375
74d87055
TS
243762013-04-03 Thomas Schwinge <thomas@codesourcery.com>
24377
24378 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
24379 (SNAN_TESTS_double): Refer to GCC PR56831.
24380 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
24381 GCC PR56828.
24382
d755bba4
SP
243832013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
24384
90d5d5bb
SP
24385 * Rules (bench): Move bench.out after the run is complete.
24386
73e0cd5d
SP
24387 * Rules (bench): Echo currently running benchmark.
24388
64aabd4b
SP
24389 * benchtests/Makefile (bench): Add atan and slowatan.
24390 * benchtests/atan-inputs: New file.
24391 * benchtests/slowatan-inputs: New file.
24392 * benchtests/slowatan.c: New file.
24393
c871eccd
SP
24394 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
24395 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
24396 its value.
24397
d755bba4
SP
24398 [BZ #15305]
24399 * sysdeps/unix/sysv/linux/kernel-features.h
24400 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
24401 __ASSUME_XFS_RESTRICTED_CHOWN.
24402 * sysdeps/unix/sysv/linux/pathconf.c
24403 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
24404 Save and restore errno.
24405
52ce4860
JM
244062013-04-02 Joseph Myers <joseph@codesourcery.com>
24407
24408 [BZ #15327]
24409 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
24410 arguments using __kernel_casinh.
24411 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
24412 arguments using __kernel_casinhf.
24413 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
24414 arguments using __kernel_casinhl.
24415 * math/libm-test.inc (cacosh_test): Add more tests.
24416 * sysdeps/i386/fpu/libm-test-ulps: Update.
24417 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24418
81f311c2
SP
244192013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
24420
e7906a47
SP
24421 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
24422 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
24423
92e3664b
SP
24424 * bench/Makefile (bench): Add sin and slowsin.
24425 * benchtests/sin-inputs: New file.
24426 * benchtests/slowsin-inputs: New file.
24427 * benchtests/slowsin.c: New file.
24428
81f311c2
SP
24429 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
24430 (bench): Add slowexp and slowpow.
24431 (exp-ITER): Increase iterations.
24432 (pow-ITER): Likewise.
24433 * benchtests/exp-inputs: Change input.
24434 * benchtests/pow-inputs: Likewise.
24435 * benchtests/slowexp-inputs: New file.
24436 * benchtests/slowexp.c: New file.
24437 * benchtests/slowpow-inputs: New file.
24438 * benchtests/slowpow.c: New file.
24439
ab0f1aa9
AZ
244402013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24441
24442 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
24443 instructions.
24444 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
24445 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
24446 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
24447 * benchtests/Makefile: Add rint benchtest.
24448 * benchtests/rint-inputs: Input for rint benchtest.
24449
57267616
TS
244502013-04-02 Thomas Schwinge <thomas@codesourcery.com>
24451
24452 * Versions.def (libm): Add GLIBC_2.18.
24453 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
24454 hidden libm prototypes.
24455 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
24456 * math/Makefile (libm-calls): Add s_issignaling.
24457 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
24458 __issignalingf, __issignalingl. Adjust all libm.abilist files.
24459 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
24460 declaration.
24461 * math/math.h [__USE_GNU] (issignaling): New macro.
24462 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
24463 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
24464 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
24465 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
24466 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
24467 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
24468 * manual/arith.texi (issignaling): New section.
24469 * manual/libm-err-tab.pl (@all_functions): Update comment.
24470 * math/gen-libm-test.pl (parse_args): Apply special handling for
24471 issignaling.
24472 * math/libm-test.inc (print_float, issignaling_test): New
24473 functions.
24474 (check_float_internal): Add issignaling checks.
24475 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
24476 default definition.
24477 * sysdeps/powerpc/math-tests.h: New file.
24478 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
24479 tests.
24480 * math/test-snan.c (TEST_FUNC): Likewise.
24481
6142896d
DM
244822013-03-30 David S. Miller <davem@davemloft.net>
24483
24484 * po/de.po: Update from translation team.
24485
ccc8cadf
JM
244862013-03-30 Joseph Myers <joseph@codesourcery.com>
24487
24488 [BZ #10357]
24489 * math/k_casinh.c (__kernel_casinh): Handle arguments with
24490 imaginary part less than 1.0 and real part less than 0.5
24491 specially.
24492 * math/k_casinhf.c (__kernel_casinhf): Likewise.
24493 * math/k_casinhl.c (__kernel_casinhl): Likewise.
24494 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
24495 (cacos_test): Add more tests.
24496 (casin_test): Likewise.
24497 (casinh_test): Likewise.
24498 * sysdeps/i386/fpu/libm-test-ulps: Update.
24499 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24500
0f6a8d4b
SP
245012013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
24502
0d1029de
SP
24503 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
24504 ONE with its value.
24505
c2d94018
SP
24506 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
24507 (__pow_mp): Replace ONE and MONE with their values.
24508 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
24509 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
24510 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
24511 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
24512 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
24513 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
24514
27ec37f1
SP
24515 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
24516
a64d7e0e
SP
24517 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
24518 (__pow_mp): Replace ZERO and MZERO with their values.
24519 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
24520 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
24521 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
24522 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
24523 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
24524 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
24525 (__sqr): Likewise.
24526
d26dd3eb
SP
24527 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
24528
0f6a8d4b
SP
24529 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
24530
e57b0c61
RM
245312013-03-28 Roland McGrath <roland@hack.frob.com>
24532
24533 * include/stdlib.h [!SHARED] (__call_tls_dtors):
24534 Declare with __attribute__ ((weak)).
24535 * stdlib/exit.c (__libc_atexit) [!SHARED]:
24536 Call __call_tls_dtors only if it's not NULL.
24537
356b3480
RM
245382013-03-28 Roland McGrath <roland@hack.frob.com>
24539
288f7d79
RM
24540 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
24541 didn't do it already, then set _dl_phdr and _dl_phnum based on the
24542 magic __ehdr_start linker symbol if it's defined.
24543 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
24544 them up here if it was already done.
24545
dc0a0263
RM
24546 * elf/dl-support.c (_dl_phdr): Make pointer to const.
24547 (_dl_aux_init): Use const in cast when setting it.
24548 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
24549 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
24550 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
24551
3d3436ae
RM
24552 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
24553 Declare them here.
24554 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
24555 * csu/libc-tls.c: Nor here.
24556 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
24557
356b3480
RM
24558 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
24559 (__libc_message): Never call vsyslog.
24560
b0f1246a
AM
245612013-03-28 Alan Modra <amodra@gmail.com>
24562
24563 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
24564 Define as empty.
24565 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
24566 Likewise.
24567
fbbe2b9a
AZ
245682013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24569
24570 [BZ #15214]
24571 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
24572 underflow.
24573 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24574
1728ab37
SP
245752013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
24576
7a86be6e
SP
24577 [BZ #15304]
24578 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
24579 Don't add gid passed as argument.
24580
1728ab37
SP
24581 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
24582
3a7182a1
JM
245832013-03-27 Joseph Myers <joseph@codesourcery.com>
24584
24585 [BZ #15307]
24586 * math/k_casinh.c (__kernel_casinh): Handle arguments with
24587 imaginary part between 1.0 and 1.5 and real part less than 0.5
24588 specially.
24589 * math/k_casinhf.c (__kernel_casinhf): Likewise.
24590 * math/k_casinhl.c (__kernel_casinhl): Likewise.
24591 * math/libm-test.inc (cacos_test): Add more tests.
24592 (casin_test): Likewise.
24593 (casinh_test): Likewise.
24594 * sysdeps/i386/fpu/libm-test-ulps: Update.
24595 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24596
6f2e90e7
SP
245972013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
24598
5739f705
SP
24599 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
24600 constants.
24601 (norm): Likewise.
24602 (denorm): Likewise.
24603 (__dbl_mp): Likewise.
24604 (add_magnitudes): Likewise.
24605 (sub_magnitudes): Likewise.
24606 (__add): Likewise.
24607 (__sub): Likewise.
24608 (__mul): Likewise.
24609 (__sqr): Likewise.
24610 (__inv): Likewise.
24611 (__dvd): Likewise.
24612
e375e83d
SP
24613 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
24614 commented code.
24615 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
24616 (__dubcos): Likewise.
24617 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
24618 (__ieee754_acos): Likewise.
24619 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
24620 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
24621 (__exp1): Likewise.
24622 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
24623 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
24624 (log1): Likewise.
24625 (my_log2): Likewise.
24626 (checkint): Likewise.
24627 * sysdeps/ieee754/dbl-64/e_remainder.c
24628 (__ieee754_remainder): Likewise.
24629 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
24630 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
24631 (bsloww): Likewise.
24632 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
24633
6f2e90e7
SP
24634 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
24635 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
24636 MANTISSA_STORE_T to store computations on mantissa. Use
24637 macros for rounding and division.
24638 (denorm): Likewise.
24639 (__dbl_mp): Likewise.
24640 (add_magnitudes): Likewise.
24641 (sub_magnitudes): Likewise.
24642 (__mul): Likewise.
24643 (__sqr): Likewise.
24644 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
24645 powers of two in terms of TWOPOW macro.
24646 (mp_no): Make type of mantissa as MANTISSA_T.
24647 [!RADIXI]: Define RADIXI.
24648 [!TWO52]: Define TWO52.
24649 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
24650
fce14d4e
AZ
246512013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24652
24653 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
24654 llroundl symbol when building for PPC32.
24655
9ad027fb
MW
246562013-03-24 Mark H Weaver <mhw@netris.org>
24657
24658 * manual/arith.texi (Normalization Functions): Fix prototypes for
24659 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
24660
e42a38dd
AZ
246612013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24662
24663 [BZ #13889]
24664 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
24665 high value to check if expl overflow.
24666 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
24667 to check for underflow and overflow.
24668 * math/libm-test.inc: Add exp test.
24669
2e0fb521
DL
246702013-03-21 Dmitry V. Levin <ldv@altlinux.org>
24671
24672 [BZ #11120]
24673 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
24674 with NOT_IN_libc.
24675
b5784d95
AZ
246762013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24677
24678 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
24679 symbol.
24680
5aa4a1a1
TS
246812013-03-21 Thomas Schwinge <thomas@codesourcery.com>
24682
bdef0be7
TS
24683 * math/gen-libm-test.pl (parse_args, special_functions): Properly
24684 wrap blocks consisting of several statements.
24685
5aa4a1a1
TS
24686 * sysdeps/generic/math-tests.h: New file.
24687 * sysdeps/i386/fpu/math-tests.h: Likewise.
24688 * math/test-snan.c: Include it.
24689 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
24690
98c48fe5
JM
246912013-03-21 Joseph Myers <joseph@codesourcery.com>
24692
24693 [BZ #15285]
24694 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
24695 (__ieee754_j0l): Do not improve calculations using cos of twice
24696 input for inputs above LDBL_MAX / 2.0L.
24697 (__ieee754_y0l): Likewise.
24698 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
24699 (__ieee754_j1l): Do not improve calculations using cos of twice
24700 input for inputs above LDBL_MAX / 2.0L.
24701 (__ieee754_y1l): Likewise.
24702 * math/libm-test.inc (j0_test): Add another test.
24703 (j1_test): Likewise.
24704 (y0_test): Likewise.
24705 (y1_test): Likewise.
24706 * sysdeps/i386/fpu/libm-test-ulps: Update.
24707
3775a8bc
SP
247082013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
24709
24710 * Rules ($(objpfx)bench-%.c): Include code from a C source
24711 file.
24712
0a1b2ae6
JM
247132013-03-21 Joseph Myers <joseph@codesourcery.com>
24714
24715 [BZ #15287]
24716 * math/k_casinh.c (__kernel_casinh): Handle arguments with
24717 imaginary part 1.0 and real part less than 0.5 specially.
24718 * math/k_casinhf.c (__kernel_casinhf): Likewise.
24719 * math/k_casinhl.c (__kernel_casinhl): Likewise.
24720 * math/libm-test.inc (cacos_test): Add more tests.
24721 (casin_test): Likewise.
24722 (casinh_test): Likewise.
24723 * sysdeps/i386/fpu/libm-test-ulps: Update.
24724 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24725
b33d4ce4
SP
247262013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
24727
24728 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
24729 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
24730
bef0b507
JM
247312013-03-20 Joseph Myers <joseph@codesourcery.com>
24732
24733 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
24734 * config.make.in (config-cflags-sse4): Remove variable.
24735 (config-cflags-avx): Likewise.
24736 (config-cflags-sse2avx): Likewise.
24737 (config-cflags-novzeroupper): Likewise.
24738 (config-asflags-i686): Likewise.
24739 (have-mfma4): Likewise.
24740 (have-as-vis3): Likewise.
24741 (MIG): Likewise.
24742 * configure.in (MIG): Do not AC_SUBST.
24743 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
24744 (libc_cv_cc_sse4): Do not AC_SUBST.
24745 (libc_cv_cc_avx): Likewise.
24746 (libc_cv_cc_sse2avx): Likewise.
24747 (libc_cv_cc_novzeroupper): Likewise.
24748 (libc_cv_cc_fma4): Likewise.
24749 (libc_cv_as_i686): Likewise.
24750 (libc_cv_sparc_as_vis3): Likewise.
24751 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
24752 LIBC_CONFIG_VAR.
24753 (config-asflags-i686): Likewise.
24754 (config-cflags-avx): Likewise.
24755 (config-cflags-sse2avx): Likewise.
24756 (have-mfma4): Likewise.
24757 (config-cflags-novzeroupper): Likewise.
24758 * sysdeps/mach/configure.in (MIG): Likewise.
24759 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
24760 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
24761 LIBC_CONFIG_VAR.
24762 (config-cflags-avx): Likewise.
24763 (config-cflags-sse2avx): Likewise.
24764 (have-mfma4): Likewise.
24765 (config-cflags-novzeroupper): Likewise.
24766 * configure: Regenerated.
24767 * sysdeps/i386/configure: Likewise.
24768 * sysdeps/mach/configure: Likewise.
24769 * sysdeps/sparc/configure: Likewise.
24770 * sysdeps/x86_64/configure: Likewise.
24771
912cc4b3
RM
247722013-03-20 Roland McGrath <roland@hack.frob.com>
24773
24774 [BZ #14812]
24775 * locale/programs/localedef.c (options): Put N_ translation marker
24776 on argument names, not just descriptions.
24777
04eed2b0
MS
247782013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
24779
24780 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
24781
a065ceff
OB
247822013-03-20 Ondřej Bílka <neleai@seznam.cz>
24783
9bb2a810 24784 [BZ #14176]
a065ceff
OB
24785 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
24786
a600e5ce
RM
247872013-03-19 Roland McGrath <roland@hack.frob.com>
24788
24789 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
24790 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
24791 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
24792 [!BEFORE_ABORT] (before_abort): New function.
24793 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
24794 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
24795 (writev_for_fatal): New function.
24796 (WRITEV_FOR_FATAL): New macro; call that.
24797 (backtrace_and_maps): New function.
24798 (BEFORE_ABORT): New macro; call that.
24799 (struct str_list): Type removed.
24800 (__libc_message, __libc_fatal): Functions removed.
24801 Include <sysdeps/posix/libc_fatal.c> instead.
24802
6b18bea6
JM
248032013-03-19 Joseph Myers <joseph@codesourcery.com>
24804
24805 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
24806 constants.
24807 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
24808 double constants.
24809
aaa8cb4b
AS
248102013-03-19 Andreas Schwab <schwab@suse.de>
24811
44673770
AS
24812 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
24813 * sysdeps/gnu/configure: Regenerate.
24814
aaa8cb4b
AS
24815 * configure.in: Substitute libc_cv_rtlddir.
24816 * configure: Regenerate.
24817 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
24818 * Makeconfig (rtlddir, inst_rtlddir): New variables.
24819 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
24820 * elf/Makefile (install-others, CFLAGS-interp.c)
24821 (ldso_install, common-ldd-rewrite): Likewise.
24822 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
24823 $(inst_slibdir)/$(rtld-installed-name).
24824 * scripts/rellns-sh: Add -p option.
24825 * Makerules (make-shlib-link): Use rellns-sh to get relative name
24826 for source.
24827
d3cfc668
SP
248282013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
24829
24830 * manual/nptl.texi: Renamed to ...
24831 * manual/threads.texi: ... this.
24832 * manual/Makefile (chapters): Update.
24833
0e2b9cdd
RM
248342013-03-18 Roland McGrath <roland@hack.frob.com>
24835
24836 [BZ #14812]
24837 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
24838 on argument names, not just descriptions.
0e2b9cdd
RM
24839 * malloc/memusagestat.c (options): Likewise.
24840 * nss/getent.c (options): Likewise.
63270c24
RM
24841
248422013-03-18 Benno Schulenberg <bensberg@justemail.net>
24843
24844 [BZ #14812]
24845 * iconv/iconv_prog.c (options): Put N_ translation marker
24846 on argument names, not just descriptions.
24847 * iconv/iconvconfig.c (options): Likewise.
0e2b9cdd 24848
b2e1393c
OB
248492013-03-18 Ondrej Bilka <neleai@seznam.cz>
24850
24851 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
24852 implementation which is faster on all x86_64 architectures.
24853 Tested on AMD, Intel Nehalem, SNB, IVB.
24854 * sysdeps/x86_64/strnlen.S: Likewise.
24855
24856 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
24857 Remove all multiarch strlen and strnlen versions.
24858 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
24859 Remove strlen and strnlen related parts.
24860
24861 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
24862 Inline strlen part.
24863 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
24864
24865 * sysdeps/x86_64/multiarch/strlen.S: Remove.
24866 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
24867 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
24868 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
24869 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
24870 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
24871
ec4ff04d
CD
248722013-03-17 Carlos O'Donell <carlos@redhat.com>
24873
24874 * manual/memory.texi (Malloc Tunable Parameters):
24875 Sort parameters alphabetically. Add comments for missing entries.
24876
cd18e90a
DM
248772013-03-17 David S. Miller <davem@davemloft.net>
24878
24879 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24880
2a185d32
JM
248812013-03-16 Joseph Myers <joseph@codesourcery.com>
24882
d2f9799e
JM
24883 [BZ #15283]
24884 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
24885 for arguments at most half maximum finite value.
24886 * math/libm-test.inc (j0_test): Add more tests.
24887 (j1_test): Likewise.
24888 (y0_test): Likewise.
24889 (y1_test): Likewise.
24890 * sysdeps/i386/fpu/libm-test-ulps: Update.
24891 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24892
2a185d32
JM
24893 [BZ #14155]
24894 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
24895 1 / x and functions P and Q for arguments above 0x1p256L.
24896 (__ieee754_y0l): Likewise.
24897 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
24898 (__ieee754_y1l): Likewise.
24899 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
24900 (j1_test): Likewise.
24901 (y0_test): Likewise.
24902 (y1_test): Likewise.
24903
6cbec759
TS
249042013-03-16 Thomas Schwinge <thomas@codesourcery.com>
24905
24906 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
24907 variable.
24908
bc16e260
RM
249092013-03-15 Roland McGrath <roland@hack.frob.com>
24910
aefc9b8c
RM
24911 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
24912 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
24913 zero since it's initialized to EXEC_PAGESIZE.
24914
bc16e260
RM
24915 * sysdeps/unix/sysv/linux/ldsodefs.h
24916 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
24917 * sysdeps/generic/ldsodefs.h: ... here.
24918
a57da955
TS
249192013-03-15 Thomas Schwinge <thomas@codesourcery.com>
24920
af00a34d
TS
24921 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
24922
495ded2c
TS
24923 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
24924 math/test-snan.c.
24925 * math/test-snan.c: Renamed from
24926 sysdeps/powerpc/fpu/test-powerpc-snan.c.
24927 * math/Makefile (tests): Add test-snan.
24928 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
24929 test-powerpc-snan.
24930
777b0332
TS
24931 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
24932 SUFFIX. Initialize qNaN_var with __builtin_nan family of
24933 functions.
24934 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
24935 __builtin_nan family of functions.
24936 * math/libm-test.inc (initialize): Initialize qnan_value with
24937 __builtin_nan family of functions.
24938 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
24939 Remove variables.
24940 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
24941 Remove functions.
24942 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
24943 storage class. Initialize qNaN_var and sNaN_var with
24944 __builtin_nan and __builtin_nans families of functions,
24945 respectively.
24946
64d063b8
TS
24947 * math/libm-test.inc (acosh_test): Also test with qNaN input.
24948 (sqrt_test): Remove duplicate test with qNaN input.
24949 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
24950 (round_test, signbit_test, significand_test): Note missing +/-Inf
24951 as well as qNaN tests.
24952
67e971f1
TS
24953 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
24954 qNaN_var. Fix a few strings, too.
24955 * math/libm-test.inc (nan_value): Rename to qnan_value.
24956 * math/gen-libm-test.pl (%beautify): Adjust to that.
24957 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
24958 * math/test-misc.c (main): Likewise.
24959 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
24960 to __qnan_bytes, and __qnan_union, respectively.
24961 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
24962 Likewise.
24963 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
24964 and lqnanval, respectively.
24965 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
24966 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
24967 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
24968 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
24969
64487e12
TS
24970 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
24971 * math/test-misc.c (main) [__x86_64__]: Enable test for long
24972 doubles.
24973
e015e27b
TS
24974 * math/test-misc.c (main): Fix copy'n'pastos.
24975 * misc/tst-efgcvt.c (special): Likewise.
24976
a57da955
TS
24977 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
24978 Remove declarations.
24979
1e380345
SP
249802013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
24981
24982 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
24983 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
24984 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
24985 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
24986
ef26eece
AZ
249872013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24988
24989 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
24990 macro to return vdso values correctly in IFUNC implementations.
24991 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
24992 Optimization by using IFUNC.
24993
8cfdb7e0
SP
249942013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
24995 Richard Henderson <rth@redhat.com>
24996 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
24997
24998 * Makefile.in (bench): New target.
24999 * NEWS: Mention the benchmark framework.
25000 * Rules (bench): Likewise.
25001 (binaries-bench): Generate binaries for functions to
25002 benchmark.
25003 * benchtests/Makefile: New makefile for benchmark tests.
25004 * benchtests/bench-skeleton.c: New skeleton file for benchmark
25005 programs.
25006 * benchtests/exp-inputs: New input file for EXP function.
25007 * benchtests/pow-inputs: New input file for POW function.
25008 * scripts/bench.pl: New script to generate source files for
25009 benchmark programs.
25010
bcda9880
SP
250112013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
25012
d22ca8cd
SP
25013 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
25014 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
25015 computations on mantissa. Use macros for rounding and
25016 division.
25017 (denorm): Likewise.
25018 (__dbl_mp): Likewise.
25019 (add_magnitudes): Likewise.
25020 (sub_magnitudes): Likewise.
25021 (__mul): Likewise.
25022 (__sqr): Likewise.
25023 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
25024 powers of two in terms of TWOPOW macro.
25025 (mp_no): Make type of mantissa as MANTISSA_T.
25026 [!RADIXI]: Define RADIXI.
25027 [!TWO52]: Define TWO52.
25028 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
25029
bcda9880
SP
25030 * manual/nptl.texi (cindex): Modify threads to pthreads.
25031
06d5adfb
JM
250322013-03-15 Joseph Myers <joseph@codesourcery.com>
25033
25034 * sysdeps/x86_64/preconfigure: Regenerated.
25035
41c7328e
JM
250362013-03-14 Joseph Myers <joseph@codesourcery.com>
25037
25038 [BZ #14155]
25039 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
25040 0x1p28 and above.
25041 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
25042 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
25043 0x1p28 and above.
25044 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
25045 * math/libm-test.inc (j0_test): Do not allow one spurious
25046 underflow exception.
25047 (y1_test): Likewise.
25048
e25cfa60
SP
250492013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
25050
0409959c
SP
25051 * manual/Makefile (chapters): Add nptl.
25052 * manual/debug.texi (Debugging Support): Add link to Threads
25053 chapter.
25054 * manual/nptl.texi: New file.
25055
e25cfa60
SP
25056 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
25057
58a1335e
PB
250582013-03-14 Petr Baudis <pasky@ucw.cz>
25059
25060 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
25061 for non-NULL pointer before the memory validity test. Pointed
25062 out by Holger Brunck <holger.brunck@keymile.com>.
25063
9dc7c64f
AS
250642013-03-13 Andreas Schwab <schwab@suse.de>
25065
25066 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
25067 instead of .os.
25068
54206aa6
JM
250692013-03-13 Joseph Myers <joseph@codesourcery.com>
25070
25071 * timezone/zic.c: Update from tzcode 2013b.
25072
e98cdb38
CD
250732013-03-12 Carlos O'Donell <carlos@redhat.com>
25074
25075 * manual/install.texi (Configuring and compiling):
25076 Mention i686 and i586.
25077 * INSTALL: Regenerate.
25078
9967e003
RM
250792013-03-12 Roland McGrath <roland@hack.frob.com>
25080
25081 * sysdeps/init_array/elf-init.c: New file.
25082 * csu/elf-init.c
25083 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
25084 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
25085
25086 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
25087 __gmon_start__ as global, but as static with a .preinit_array pointer.
25088 * sysdeps/init_array/gmon-start.c: New file. Use that.
25089 * sysdeps/init_array/crti.S: New file, empty except for comments.
25090 * sysdeps/init_array/crtn.S: Likewise.
25091
e6b5a293 250922013-03-11 Ondřej Bílka <neleai@seznam.cz>
80f844c9
OB
25093
25094 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
25095 definining bcopy.
80f844c9
OB
25096 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
25097 Remove Prefer_SSE_for_memop.
25098 * sysdeps/x86_64/multiarch/init-arch.h: Remove
25099 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
25100 HAS_PREFER_SSE_FOR_MEMOP.
80f844c9
OB
25101 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
25102 memset-x86-64.
80f844c9 25103 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
e6b5a293 25104 Remove bzero, memset ifunc support.
80f844c9
OB
25105 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
25106 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
25107 * sysdeps/x86_64/multiarch/memset.S: Likewise.
25108 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
25109
fb6b0fcb
AS
251102013-03-11 Andreas Schwab <schwab@suse.de>
25111
25112 [BZ #15234]
25113 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
25114 by SHLIB_COMPAT.
25115 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
25116 (GLIBC_2.16): Remove pthread_atfork.
25117
3e6bd4b1
PP
251182013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
25119
25120 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
25121 (ptestcases.h): Likewise.
25122
222d7f00
RM
251232013-03-08 Roland McGrath <roland@hack.frob.com>
25124
25125 * Makeconfig ($(common-objpfx)config.status): Depend on
25126 sysdeps/*/preconfigure{,.in} too.
25127
1ba4f030
JM
251282013-03-08 Joseph Myers <joseph@codesourcery.com>
25129
a222d91a
JM
25130 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
25131 (__free_hook): Use void * instead of __malloc_ptr_t.
25132 (__malloc_hook): Likewise.
25133 (__realloc_hook): Likewise.
25134 (__memalign_hook): Likewise.
25135 (__after_morecore_hook): Likewise.
25136 * malloc/arena.c (save_malloc_hook): Likewise.
25137 (save_free_hook): Likewise.
25138 * malloc/hooks.c (malloc_hook_ini): Likewise.
25139 (realloc_hook_ini): Likewise.
25140 (memalign_hook_ini): Likewise.
25141 * malloc/malloc.c (malloc_hook_ini): Likewise.
25142 (realloc_hook_ini): Likewise.
25143 (memalign_hook_ini): Likewise.
25144 (__free_hook): Likewise.
25145 (__malloc_hook): Likewise.
25146 (__realloc_hook): Likewise.
25147 (__memalign_hook): Likewise.
25148 (__libc_malloc): Likewise.
25149 (__libc_free): Likewise.
25150 (__libc_realloc): Likewise.
25151 (__libc_memalign): Likewise.
25152 (__libc_valloc): Likewise.
25153 (__libc_pvalloc): Likewise.
25154 (__libc_calloc): Likewise.
25155 (__posix_memalign): Likewise.
25156 * malloc/morecore.c (__sbrk): Likewise.
25157 (__default_morecore): Likewise.
25158
5cc45e10
JM
25159 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
25160
dd54b864
JM
25161 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
25162 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
25163 __malloc_ptrdiff_t.
25164
1ba4f030
JM
25165 * malloc/malloc.h (__malloc_size_t): Remove macro.
25166 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
25167 __malloc_size_t.
25168 (old_memalign_hook): Likewise.
25169 (old_realloc_hook): Likewise.
25170 (struct hdr): Likewise.
25171 (flood): Likewise.
25172 (mallochook): Likewise.
25173 (memalignhook): Likewise.
25174 (reallochook): Likewise.
25175 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
25176 (tr_old_realloc_hook): Likewise.
25177 (tr_old_memalign_hook): Likewise.
25178 (tr_mallochook): Likewise.
25179 (tr_reallochook): Likewise.
25180 (tr_memalignhook): Likewise.
25181
edf66e57
AZ
251822013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25183
25184 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
25185 default_ldbl_pack and using as default implementation.
25186 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
25187 implementation.
25188 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
25189 redundant definition.
25190 (ldbl_insert_mantissa): Likewise.
25191 (ldbl_canonicalize): Likewise.
25192 (ldbl_nearbyint): Likewise.
25193 (ldbl_pack): Rename to ldbl_pack_ppc.
25194 (ldbl_unpack): Rename to ldbl_unpack_ppc.
25195 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
25196 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
25197
6d9145d8
SP
251982013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
25199
25200 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
25201 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
25202 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
25203 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
25204 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
25205 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
25206 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
25207 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
25208
4dd4e157
AJ
252092013-03-07 Andreas Jaeger <aj@suse.de>
25210
25211 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
25212 bits/mman-linux.h.
25213
adbb8027
SP
252142013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
25215
ce544b5b
SP
25216 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
25217 Include mpa.h and declare __MPEXP.
25218 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
25219 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
25220 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
25221 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
25222 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
25223 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
25224 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
25225
4cc149fd
SP
25226 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
25227 (__slowpow): Use long double EXPL and LOGL functions to
25228 compute POW.
25229 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
25230 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
25231 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
25232 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
25233 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
25234 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
25235
e6ebd4a7
SP
25236 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
25237 intermediate variable to calculate exponent.
25238 (__sqr): Likewise.
25239 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
25240 Likewise.
25241 (__sqr): Likewise.
25242
82a9811d
SP
25243 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
25244 [!NO__SQR]: Define __sqr.
25245 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
25246 and NO__SQR. Remove all code except __mul and __sqr. Include
25247 sysdeps/ieee754/dbl-64/mpa.c.
25248 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
25249
adbb8027
SP
25250 [BZ #12723]
25251 * posix/Makefile (tests): Add tst-pathconf.
25252 * posix/tst-pathconf.c: New test case.
25253 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
25254 _PC_PIPE_BUF.
25255 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
25256
39120df9
PF
252572013-03-06 Patsy Franklin <pfrankli@redhat.com>
25258
25259 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
25260
67525cb8
AJ
252612013-03-06 Andreas Jaeger <aj@suse.de>
25262
664a9ce4
AJ
25263 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
25264 definition via __MAP_ANONYMOUS.
25265
8e39047d
AJ
25266 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
25267 it's not part of Linux headers.
25268
67525cb8
AJ
25269 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
25270 (MAP_HUGE_MASK): Define.
25271
25272 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
25273 Define.
25274 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
25275 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
25276 Define.
25277 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
25278 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
25279 Define.
25280 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
25281 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
25282 Define.
25283 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
25284
25285 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
25286 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
25287 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
25288 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
25289 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
25290 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
25291
25292 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
25293 Handle f2fs.
25294
25295 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
25296 Handle f2fs and efivarfs.
25297
25298 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
25299 f2fs.
25300
25301 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
25302 (EFIVARFS_MAGIC): Add.
25303 (F2FS_LINK_MAX): Add.
25304
e1b42695
PP
253052013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
25306
25307 * stdio-common/vfprintf.c: Replace __builtin_expect with
25308 __glibc_unlikely.
25309
2d67d91a
JM
253102013-03-06 Joseph Myers <joseph@codesourcery.com>
25311
25312 [BZ #13550]
25313 * sysdeps/generic/bp-sym.h: Remove file.
25314 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
25315 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
25316 <bp-sym.h> and <bp-asm.h>.
25317 (__longjmp): Don't use BP_SYM.
25318 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
25319 and <bp-asm.h>.
25320 (memcpy): Don't use BP_SYM.
25321 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
25322 <bp-sym.h> and <bp-asm.h>.
25323 (memcpy): Don't use BP_SYM.
25324 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
25325 <bp-asm.h>.
25326 (memcpy): Don't use BP_SYM.
25327 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
25328 <bp-asm.h>.
25329 (memset): Don't use BP_SYM.
25330 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
25331 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
25332 (__bzero): Don't use BP_SYM.
25333 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
25334 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
25335 * sysdeps/powerpc/powerpc64/power4/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/power4/memcpy.S: Don't include
25340 <bp-sym.h> and <bp-asm.h>.
25341 (memcpy): Don't use BP_SYM.
25342 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
25343 <bp-sym.h> and <bp-asm.h>.
25344 (memset): Don't use BP_SYM.
25345 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
25346 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
25347 (__bzero): Don't use BP_SYM.
25348 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
25349 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
25350 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
25351 <bp-sym.h> and <bp-asm.h>.
25352 (strncmp): Don't use BP_SYM. Remove comment about bounded
25353 pointers.
25354 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
25355 <bp-sym.h> and <bp-asm.h>.
25356 (memcpy): Don't use BP_SYM.
25357 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
25358 <bp-sym.h> and <bp-asm.h>.
25359 (memset): Don't use BP_SYM.
25360 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
25361 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
25362 (__bzero): Don't use BP_SYM.
25363 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
25364 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
25365 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
25366 <bp-sym.h> and <bp-asm.h>.
25367 (__memchr): Don't use BP_SYM.
25368 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
25369 <bp-sym.h> and <bp-asm.h>.
25370 (memcmp): Don't use BP_SYM. Remove comment about bounded
25371 pointers.
25372 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
25373 <bp-sym.h> and <bp-asm.h>.
25374 (memcpy): Don't use BP_SYM.
25375 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
25376 <bp-sym.h> and <bp-asm.h>.
25377 (__mempcpy): Don't use BP_SYM.
25378 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
25379 <bp-sym.h> and <bp-asm.h>.
25380 (__memrchr): Don't use BP_SYM.
25381 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
25382 <bp-sym.h> and <bp-asm.h>.
25383 (memset): Don't use BP_SYM.
25384 (__bzero): Likewise.
25385 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
25386 <bp-sym.h> and <bp-asm.h>.
25387 (__rawmemchr): Don't use BP_SYM.
25388 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
25389 <bp-sym.h> and <bp-asm.h>.
25390 (__STRCMP): Don't use BP_SYM.
25391 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
25392 <bp-sym.h> and <bp-asm.h>.
25393 (strchr): Don't use BP_SYM.
25394 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
25395 <bp-sym.h> and <bp-asm.h>.
25396 (__strchrnul): Don't use BP_SYM.
25397 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
25398 <bp-sym.h> and <bp-asm.h>.
25399 (strlen): Don't use BP_SYM.
25400 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
25401 <bp-sym.h> and <bp-asm.h>.
25402 (strncmp): Don't use BP_SYM. Remove comment about bounded
25403 pointers.
25404 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
25405 <bp-sym.h> and <bp-asm.h>.
25406 (__strnlen): Don't use BP_SYM.
25407 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
25408 <bp-sym.h> and <bp-asm.h>.
25409 (__GI__setjmp): Don't use BP_SYM.
25410 (_setjmp): Likewise.
25411 (__sigsetjmp): Likewise.
25412 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
25413 (L(start_addresses)): Don't use BP_SYM.
25414 (_start): Likewise.
25415 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
25416 <bp-asm.h>.
25417 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
25418 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
25419 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
25420 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
25421 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
25422 <bp-asm.h>.
25423 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
25424 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
25425 about bounded pointers.
25426 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
25427 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
25428 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
25429 <bp-asm.h>.
25430 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
25431 about bounded pointers. Remove GKM FIXME comments.
25432 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
25433 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
25434 <bp-asm.h>.
25435 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
25436 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
25437 Remove GKM FIXME comments.
25438 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
25439 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
25440 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
25441 <bp-asm.h>.
25442 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
25443 about bounded pointers. Remove GKM FIXME comment.
25444 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
25445 and <bp-asm.h>.
25446 (strncmp): Don't use BP_SYM. Remove comment about bounded
25447 pointers.
25448 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
25449 <bp-sym.h> and <bp-asm.h>.
25450 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
25451 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
25452 <bp-sym.h> and <bp-asm.h>.
25453 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
25454 comment.
25455
cdcf361f
PP
254562013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
25457
25458 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
25459 call free(NULL).
25460
3c4a2b15
DM
254612013-03-05 David S. Miller <davem@davemloft.net>
25462
25463 * po/es.po: Update from translation team.
25464
cdcf361f 254652013-03-05 Andreas Jaeger <aj@suse.de>
890b58d3
AJ
25466
25467 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
25468 <bits/mman-linux.h>.
25469 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
25470 is fine.
25471 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
25472 <bits/mman-linux.h> to end of file.
25473 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
25474 is fine.
25475 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
25476 <bits/mman-linux.h> to end of file.
25477 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
25478 is fine.
25479 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
25480 <bits/mman-linux.h> to end of file.
25481
25482 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
25483 (MCL_CURRENT, MCL_FUTURE): Define here.
25484
5f67c04f
AK
254852013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25486
8a4473cc 25487 [BZ #15232]
5f67c04f
AK
25488 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
25489 attribute_hidden.
25490 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
25491
c3e94a95
AK
254922013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25493
25494 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
25495 fourth parameter needed for rt_sigprocmask syscall.
25496 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
25497 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
25498 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
25499 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
25500 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
25501 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
25502
cfb6382a
JM
255032013-03-04 Joseph Myers <joseph@codesourcery.com>
25504
25505 [BZ #13550]
25506 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
25507 comment about bounded pointers.
25508 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
25509 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
25510
539d8e01
AJ
255112013-03-04 Andreas Jaeger <aj@suse.de>
25512
25513 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
25514 common definitions.
25515
25516 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
25517 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
25518 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
25519 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
25520 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
539d8e01
AJ
25521 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
25522
2e167a70 255232013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
e0b780ad
AZ
25524
25525 [BZ #15055]
25526 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
25527 __ieee754_sqrl instead of __sqrl.
25528
68508633
JM
255292013-03-01 Joseph Myers <joseph@codesourcery.com>
25530
25531 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
25532 * sysdeps/powerpc/fpu_control.h: ... here.
25533 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
25534 * sysdeps/powerpc/bits/fenvinline.h: ... here.
25535 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
25536 * sysdeps/powerpc/bits/mathinline.h: ... here.
25537
7775448e
RM
255382013-03-01 Roland McGrath <roland@hack.frob.com>
25539
25540 * elf/dl-hwcaps.c (_dl_important_hwcaps):
25541 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
25542 to just [NEED_DL_SYSINFO_DSO].
25543 * elf/dl-support.c: Likewise.
25544 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
25545 * elf/rtld.c (dl_main): Likewise.
25546 * elf/setup-vdso.h (setup_vdso): Likewise.
25547 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
25548 * sysdeps/unix/sysv/linux/dl-sysdep.c
25549 (_dl_discover_osversion): Likewise.
25550
4e9b5995
CD
255512013-03-01 Carlos O'Donell <carlos@redhat.com>
25552
25553 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
25554 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
25555
e23872c8
SP
255562013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
25557
e5c74c63
SP
25558 * NEWS: Mention libm performance improvements and non-x86 PI
25559 futex support.
25560
e23872c8
SP
25561 * csu/libc-start.c (__pthread_initialize_minimal): Change
25562 function arguments.
25563 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
25564
b5510883
JM
255652013-02-28 Joseph Myers <joseph@codesourcery.com>
25566
25567 [BZ #13550]
25568 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
25569 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
25570 <bp-sym.h> and <bp-asm.h>.
25571 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
25572 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
25573 and <bp-asm.h>.
25574 (memcpy): Don't use BP_SYM.
25575 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
25576 <bp-asm.h>.
25577 (__mpn_add_n): Don't use BP_SYM.
25578 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
25579 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
25580 and <bp-asm.h>.
25581 (__mpn_addmul_1): Don't use BP_SYM.
25582 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
25583 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
25584 <bp-sym.h>.
25585 (_setjmp): Don't use BP_SYM.
25586 (__novmx_setjmp): Likewise.
25587 (__GI__setjmp): Likewise.
25588 (__vmx_setjmp): Likewise.
25589 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
25590 <bp-sym.h>.
25591 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
25592 (__bzero): Don't use BP_SYM.
25593 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
25594 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
25595 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
25596 <bp-sym.h> and <bp-asm.h>.
25597 (memcpy): Don't use BP_SYM.
25598 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
25599 <bp-sym.h> and <bp-asm.h>.
25600 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
25601 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
25602 <bp-sym.h> and <bp-asm.h>.
25603 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
25604 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
25605 <bp-asm.h>.
25606 (__mpn_lshift): Don't use BP_SYM.
25607 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
25608 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
25609 <bp-asm.h>.
25610 (memset): Don't use BP_SYM.
25611 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
25612 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
25613 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
25614 <bp-asm.h>.
25615 (__mpn_mul_1): Don't use BP_SYM.
25616 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
25617 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
25618 <bp-sym.h> and <bp-asm.h>.
25619 (memcmp): Don't use BP_SYM.
25620 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
25621 <bp-sym.h> and <bp-asm.h>.
25622 (memcpy): Don't use BP_SYM.
25623 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
25624 <bp-sym.h> and <bp-asm.h>.
25625 (memset): Don't use BP_SYM.
25626 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
25627 <bp-sym.h> and <bp-asm.h>.
25628 (strncmp): Don't use BP_SYM.
25629 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
25630 <bp-sym.h> and <bp-asm.h>.
25631 (memcpy): Don't use BP_SYM.
25632 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
25633 <bp-sym.h> and <bp-asm.h>.
25634 (memset): Don't use BP_SYM.
25635 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
25636 <bp-sym.h> and <bp-asm.h>.
25637 (__memchr): Don't use BP_SYM.
25638 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
25639 <bp-sym.h> and <bp-asm.h>.
25640 (memcmp): Don't use BP_SYM.
25641 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
25642 <bp-sym.h> and <bp-asm.h>.
25643 (memcpy): Don't use BP_SYM.
25644 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
25645 <bp-sym.h> and <bp-asm.h>.
25646 (__mempcpy): Don't use BP_SYM.
25647 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
25648 <bp-sym.h> and <bp-asm.h>.
25649 (__memrchr): Don't use BP_SYM.
25650 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
25651 <bp-sym.h> and <bp-asm.h>.
25652 (memset): Don't use BP_SYM.
25653 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
25654 <bp-sym.h> and <bp-asm.h>.
25655 (__rawmemchr): Don't use BP_SYM.
25656 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
25657 <bp-sym.h> and <bp-asm.h>.
25658 (__STRCMP): Don't use BP_SYM.
25659 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
25660 <bp-sym.h> and <bp-asm.h>.
25661 (strchr): Don't use BP_SYM.
25662 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
25663 <bp-sym.h> and <bp-asm.h>.
25664 (__strchrnul): Don't use BP_SYM.
25665 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
25666 <bp-sym.h> and <bp-asm.h>.
25667 (strlen): Don't use BP_SYM.
25668 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
25669 <bp-sym.h> and <bp-asm.h>.
25670 (strncmp): Don't use BP_SYM.
25671 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
25672 <bp-sym.h> and <bp-asm.h>.
25673 (__strnlen): Don't use BP_SYM.
25674 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
25675 <bp-asm.h>.
25676 (__mpn_rshift): Don't use BP_SYM.
25677 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
25678 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
25679 <bp-sym.h> and <bp-asm.h>.
25680 (__sigsetjmp): Don't use BP_SYM.
25681 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
25682 (L(start_addresses)): Don't use BP_SYM.
25683 (_start): Likewise.
25684 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
25685 <bp-asm.h>.
25686 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
25687 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
25688 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
25689 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
25690 <bp-asm.h>.
25691 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
25692 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
25693 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
25694 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
25695 <bp-asm.h>.
25696 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
25697 comments.
25698 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
25699 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
25700 <bp-asm.h>.
25701 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
25702 FIXME comments.
25703 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
25704 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
25705 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
25706 <bp-asm.h>.
25707 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
25708 comment.
25709 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
25710 and <bp-asm.h>.
25711 (strncmp): Don't use BP_SYM,
25712 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
25713 <bp-asm.h>.
25714 (__mpn_sub_n): Don't use BP_SYM.
25715 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
25716 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
25717 and <bp-asm.h>.
25718 (__mpn_submul_1): Don't use BP_SYM.
25719 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
25720 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
25721 <bp-sym.h> and <bp-asm.h>.
25722 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
25723 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
25724 <bp-sym.h> and <bp-asm.h>.
25725 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
25726 comment.
25727
8d19fe64
SP
257282013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
25729
25730 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
25731 Use ZK to minimize writes to Z.
25732 (sub_magnitudes): Simplify code a bit.
25733 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
25734 Use ZK to minimize writes to Z.
25735 (sub_magnitudes): Simplify code a bit.
25736
85bd816a
RM
257372013-02-27 Roland McGrath <roland@hack.frob.com>
25738
25739 * csu/gmon-start.c: Add special exception to license text.
25740
b5977bf2
RH
257412013-02-27 Richard Henderson <rth@redhat.com>
25742
25743 * scripts/config.guess: Update from config.git.
25744 * scripts/config.sub: Likewise.
25745
11d6e2f2
SP
257462013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
25747
09c14ed2
SP
25748 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
25749
a688864e
SP
25750 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
25751
6295157a
SP
25752 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
25753
b8de2202
SP
25754 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
25755
11d6e2f2
SP
25756 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
25757
7e80ddb8
RM
257582013-02-26 Roland McGrath <roland@hack.frob.com>
25759
25760 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
25761 [$(build-shared = yes].
7e80ddb8 25762
7da6d9ed
SP
257632013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
25764
45f05884
SP
25765 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
25766 (__mul): Reduce iterations for calculating mantissa.
25767
2236d359
SP
25768 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
25769 MPTWO.
25770 (__mpranred): Likewise.
25771
7da6d9ed
SP
25772 [BZ #15160]
25773 * malloc/memusagestat.c (main): Draw graphs for heap and stack
25774 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
25775
b7688c42
PE
257762013-02-26 Paul Eggert <eggert@cs.ucla.edu>
25777
25778 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
25779 Define __attribute__.
25780
53a5c423
SP
257812013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
25782
25783 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
25784 unused.
25785 * posix/regex_internal.h (__attribute): Remove.
25786 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
25787 (re_string_context_at): Likewise.
25788 (bitset_not): Use __attribute__ and mark function as possibly
25789 unused.
25790 (bitset_merge): Likewise.
25791 (bitset_mask): Likewise.
25792 (re_string_char_size_at): Likewise.
25793 (re_string_wchar_at): Likewise.
25794 (re_string_elem_size_at): Likewise.
25795
60f5a8b5
SP
257962013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
25797
2a983a2e
SP
25798 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
25799 code.
25800 (cc32): Likewise.
25801
e69804d1
SP
25802 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
25803 (__acr): Likewise.
25804 (__cpy): Likewise.
25805 (norm): Likewise.
25806 (denorm): Likewise.
25807 (__dbl_mp): Likewise.
25808 (add_magnitudes): Likewise.
25809 (sub_magnitudes): Likewise.
25810 (__mul): Likewise.
25811 (__inv): Likewise.
25812
2f22a1e8
SP
25813 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
25814 style.
25815
8930ddc7
SP
25816 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
25817 style.
25818
dc60cb11
SP
25819 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
25820 code.
25821
60f5a8b5
SP
25822 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
25823 up changes with default code.
25824 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
25825 Likewise.
25826
b4d1fd33
AM
258272013-02-24 Allan McRae <allan@archlinux.org>
25828
faf6f8bc
AM
25829 * manual/socket.texi (The Internet Namespace): Order menu items
25830 to match that in the file.
25831
b4d1fd33
AM
25832 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
25833 node listing of the info page menu.
25834
2366713d
JM
258352013-02-21 Joseph Myers <joseph@codesourcery.com>
25836
25837 [BZ #13550]
25838 * sysdeps/i386/bp-asm.h: Remove file.
25839 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
25840 (PARMS): Do not use macros from bp-asm.h.
25841 (S1): Likewise.
25842 (S2): Likewise.
25843 (SIZE): Likewise.
25844 (__mpn_add_n): Do not use BP_SYM
25845 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
25846 "bp-asm.h".
25847 (PARMS): Do not use macros from bp-asm.h.
25848 (S1): Likewise.
25849 (SIZE): Likewise.
25850 (__mpn_addmul_1): Do not use BP_SYM
25851 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
25852 "bp-asm.h".
25853 (PARMS): Do not use macros from bp-asm.h.
25854 (SIGMSK): Likewise.
25855 (_setjmp): Likewise. Do not use BP_SYM.
25856 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
25857 "bp-asm.h".
25858 (PARMS): Do not use macros from bp-asm.h.
25859 (SIGMSK): Likewise.
25860 (setjmp): Likewise. Do not use BP_SYM.
25861 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
25862 "bp-asm.h".
25863 (PARMS): Do not use macros from bp-asm.h.
25864 (__frexp): Do not use BP_SYM.
25865 (frexp): Likewise.
25866 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
25867 "bp-asm.h".
25868 (PARMS): Do not use macros from bp-asm.h.
25869 (__frexpf): Do not use BP_SYM.
25870 (frexpf): Likewise.
25871 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
25872 "bp-asm.h".
25873 (PARMS): Do not use macros from bp-asm.h.
25874 (__frexpl): Do not use BP_SYM.
25875 (frexpl): Likewise.
25876 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
25877 "bp-asm.h".
25878 (PARMS): Do not use macros from bp-asm.h.
25879 (__remquo): Do not use BP_SYM.
25880 (remquo): Likewise.
25881 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
25882 "bp-asm.h".
25883 (PARMS): Do not use macros from bp-asm.h.
25884 (__remquof): Do not use BP_SYM.
25885 (remquof): Likewise.
25886 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
25887 "bp-asm.h".
25888 (PARMS): Do not use macros from bp-asm.h.
25889 (__remquol): Do not use BP_SYM.
25890 (remquol): Likewise.
25891 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
25892 "bp-asm.h".
25893 (PARMS): Do not use macros from bp-asm.h.
25894 (DEST): Likewise.
25895 (SRC): Likewise.
25896 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
25897 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
25898 "bp-asm.h".
25899 (PARMS): Do not use macros from bp-asm.h.
25900 (strlen): Do not use BP_SYM.
25901 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
25902 "bp-asm.h".
25903 (PARMS): Do not use macros from bp-asm.h.
25904 (S1): Likewise.
25905 (S2): Likewise.
25906 (SIZE): Likewise.
25907 (__mpn_add_n): Do not use BP_SYM.
25908 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
25909 "bp-asm.h".
25910 (PARMS): Do not use macros from bp-asm.h.
25911 (S1): Likewise.
25912 (SIZE): Likewise.
25913 (__mpn_addmul_1): Do not use BP_SYM.
25914 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
25915 weak_alias.
25916 (bzero): Likewise.
25917 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
25918 "bp-asm.h".
25919 (PARMS): Do not use macros from bp-asm.h.
25920 (S): Likewise.
25921 (SIZE): Likewise.
25922 (__mpn_lshift): Do not use BP_SYM.
25923 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
25924 "bp-asm.h".
25925 (PARMS): Do not use macros from bp-asm.h.
25926 (DEST): Likewise.
25927 (SRC): Likewise.
25928 (LEN): Likewise.
25929 (memcpy): Likewise. Do not use BP_SYM.
25930 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
25931 libc_hidden_def and weak_alias.
25932 (mempcpy): Do not use BP_SYM in weak_alias.
25933 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
25934 "bp-asm.h".
25935 (PARMS): Do not use macros from bp-asm.h.
25936 (DEST): Likewise.
25937 (LEN): Likewise.
25938 [!BZERO_P] (CHR): Likewise.
25939 (memset): Likewise. Do not use BP_SYM.
25940 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
25941 "bp-asm.h".
25942 (PARMS): Do not use macros from bp-asm.h.
25943 (S1): Likewise.
25944 (SIZE): Likewise.
25945 (__mpn_mul_1): Do not use BP_SYM.
25946 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
25947 "bp-asm.h".
25948 (PARMS): Do not use macros from bp-asm.h.
25949 (S): Likewise.
25950 (SIZE): Likewise.
25951 (__mpn_rshift): Do not use BP_SYM.
25952 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
25953 "bp-asm.h".
25954 (PARMS): Do not use macros from bp-asm.h.
25955 (STR): Likewise.
25956 (CHR): Likewise.
25957 (strchr): Likewise. Do not use BP_SYM.
25958 (index): Do not use BP_SYM in weak_alias.
25959 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
25960 "bp-asm.h".
25961 (PARMS): Do not use macros from bp-asm.h.
25962 (DEST): Likewise.
25963 (SRC): Likewise.
25964 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
25965 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
25966 "bp-asm.h".
25967 (PARMS): Do not use macros from bp-asm.h.
25968 (strlen): Do not use BP_SYM.
25969 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
25970 "bp-asm.h".
25971 (PARMS): Do not use macros from bp-asm.h.
25972 (S1): Likewise.
25973 (S2): Likewise.
25974 (SIZE): Likewise.
25975 (__mpn_sub_n): Do not use BP_SYM.
25976 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
25977 "bp-asm.h".
25978 (PARMS): Do not use macros from bp-asm.h.
25979 (S1): Likewise.
25980 (SIZE): Likewise.
25981 (__mpn_submul_1): Do not use BP_SYM.
25982 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
25983 "bp-asm.h".
25984 (PARMS): Do not use macros from bp-asm.h.
25985 (S1): Likewise.
25986 (S2): Likewise.
25987 (SIZE): Likewise.
25988 (__mpn_add_n): Do not use BP_SYM.
25989 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
25990 weak_alias.
25991 (bzero): Likewise.
25992 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
25993 "bp-asm.h".
25994 (PARMS): Do not use macros from bp-asm.h.
25995 (BLK2): Likewise.
25996 (LEN): Likewise.
25997 (memcmp): Do not use BP_SYM.
25998 (bcmp): Do not use BP_SYM in weak_alias.
25999 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
26000 "bp-asm.h".
26001 (PARMS): Do not use macros from bp-asm.h.
26002 (DEST): Likewise.
26003 (SRC): Likewise.
26004 (LEN): Likewise.
26005 (memcpy): Likewise. Do not use BP_SYM.
26006 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
26007 "bp-asm.h".
26008 (PARMS): Do not use macros from bp-asm.h.
26009 (DEST): Likewise.
26010 (SRC): Likewise.
26011 (LEN): Likewise.
26012 (memmove): Likewise. Do not use BP_SYM.
26013 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
26014 "bp-asm.h".
26015 (PARMS): Do not use macros from bp-asm.h.
26016 (DEST): Likewise.
26017 (SRC): Likewise.
26018 (LEN): Likewise.
26019 (__mempcpy): Likewise. Do not use BP_SYM.
26020 (mempcpy): Do not use BP_SYM in weak_alias.
26021 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
26022 "bp-asm.h".
26023 (PARMS): Do not use macros from bp-asm.h.
26024 (DEST): Likewise.
26025 (LEN): Likewise.
26026 [!BZERO_P] (CHR): Likewise.
26027 (memset): Likewise. Do not use BP_SYM.
26028 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
26029 "bp-asm.h".
26030 (PARMS): Do not use macros from bp-asm.h.
26031 (STR2): Likewise.
26032 (strcmp): Do not use BP_SYM.
26033 * sysdeps/i386/i686/strtok.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 (DELIM): Likewise.
26038 [USE_AS_STRTOK_R] (SAVE): Likewise.
26039 (FUNCTION): Likewise. Do not use BP_SYM.
26040 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
26041 aliases.
26042 (strtok_r): Likewise.
26043 (__GI___strtok_r): Likewise.
26044 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
26045 (PARMS): Do not use macros from bp-asm.h.
26046 (S): Likewise.
26047 (SIZE): Likewise.
26048 (__mpn_lshift): Do not use BP_SYM.
26049 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
26050 (PARMS): Do not use macros from bp-asm.h.
26051 (STR): Likewise.
26052 (CHR): Likewise.
26053 (__memchr): Do not use BP_SYM.
26054 (memchr): Do not use BP_SYM in weak_alias.
26055 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
26056 (PARMS): Do not use macros from bp-asm.h.
26057 (BLK2): Likewise.
26058 (LEN): Likewise.
26059 (memcmp): Do not use BP_SYM.
26060 (bcmp): Do not use BP_SYM in weak_alias.
26061 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
26062 (PARMS): Do not use macros from bp-asm.h.
26063 (S1): Likewise.
26064 (SIZE): Likewise.
26065 (__mpn_mul_1): Do not use BP_SYM.
26066 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
26067 "bp-asm.h".
26068 (PARMS): Do not use macros from bp-asm.h.
26069 (STR): Likewise.
26070 (CHR): Likewise.
26071 (__rawmemchr): Do not use BP_SYM.
26072 (rawmemchr): Do not use BP_SYM in weak_alias.
26073 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
26074 (PARMS): Do not use macros from bp-asm.h.
26075 (S): Likewise.
26076 (SIZE): Likewise.
26077 (__mpn_rshift): Do not use BP_SYM.
26078 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
26079 (PARMS): Do not use macros from bp-asm.h.
26080 (SIGMSK): Likewise.
26081 (__sigsetjmp): Likewise. Do not use BP_SYM.
26082 * sysdeps/i386/start.S: Do not include "bp-sym.h".
26083 (_start): Do not use BP_SYM.
26084 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
26085 (PARMS): Do not use macros from bp-asm.h.
26086 (DEST): Likewise.
26087 (SRC): Likewise.
26088 (__stpcpy): Likewise. Do not use BP_SYM.
26089 (stpcpy): Do not use BP_SYM in weak_alias.
26090 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
26091 "bp-asm.h".
26092 (PARMS): Do not use macros from bp-asm.h.
26093 (DEST): Likewise.
26094 (SRC): Likewise.
26095 (LEN): Likewise.
26096 (__stpncpy): Likewise. Do not use BP_SYM.
26097 (stpncpy): Do not use BP_SYM in weak_alias.
26098 * sysdeps/i386/strchr.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 (CHR): Likewise.
26102 (strchr): Likewise. Do not use BP_SYM.
26103 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
26104 "bp-asm.h".
26105 (PARMS): Do not use macros from bp-asm.h.
26106 (STR): Likewise.
26107 (CHR): Likewise.
26108 (__strchrnul): Likewise. Do not use BP_SYM.
26109 (strchrnul): Do not use BP_SYM in weak_alias.
26110 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
26111 "bp-asm.h".
26112 (PARMS): Do not use macros from bp-asm.h.
26113 (STOP): Likewise.
26114 (strcspn): Do not use BP_SYM.
26115 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
26116 "bp-asm.h".
26117 (PARMS): Do not use macros from bp-asm.h.
26118 (STR): Likewise.
26119 (STOP): Likewise.
26120 (strpbrk): Likewise. Do not use BP_SYM.
26121 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
26122 "bp-asm.h".
26123 (PARMS): Do not use macros from bp-asm.h.
26124 (STR): Likewise.
26125 (CHR): Likewise.
26126 (strrchr): Likewise. Do not use BP_SYM.
26127 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
26128 (PARMS): Do not use macros from bp-asm.h.
26129 (SKIP): Likewise.
26130 (strspn): Do not use BP_SYM.
26131 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
26132 (PARMS): Do not use macros from bp-asm.h.
26133 (STR): Likewise.
26134 (DELIM): Likewise.
26135 (SAVE): Likewise.
26136 (FUNCTION): Likewise. Do not use BP_SYM.
26137 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
26138 aliases.
26139 (strtok_r): Likewise.
26140 (__GI___strtok_r): Likewise.
26141 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
26142 (PARMS): Do not use macros from bp-asm.h.
26143 (S1): Likewise.
26144 (S2): Likewise.
26145 (SIZE): Likewise.
26146 (__mpn_sub_n): Do not use BP_SYM.
26147 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
26148 "bp-asm.h".
26149 (PARMS): Do not use macros from bp-asm.h.
26150 (S1): Likewise.
26151 (SIZE): Likewise.
26152 (__mpn_submul_1): Do not use BP_SYM.
26153 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
26154 <bp-sym.h>.
26155 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
26156 and <bp-asm.h>.
26157 (PARMS): Do not use macros from bp-asm.h.
26158 (FLAGS): Likewise.
26159 (PTID): Likewise.
26160 (TLS): Likewise.
26161 (CTID): Likewise.
26162 (__clone): Do not use BP_SYM.
26163 (clone): Do not use BP_SYM in weak_alias.
26164 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
26165 and <bp-asm.h>.
26166 (PARMS): Do not use macros from bp-asm.h.
26167 (LEN): Likewise.
26168 (__mmap64): Do not use BP_SYM.
26169 (mmap64): Do not use BP_SYM in weak_alias.
26170 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
26171 <bp-sym.h> and <bp-asm.h>.
26172 (PARMS): Do not use macros from bp-asm.h.
26173 (__posix_fadvise64_l64): Do not use BP_SYM.
26174 * sysdeps/unix/sysv/linux/i386/semtimedop.S
26175 (PARMS): Do not use macros from bp-asm.h.
26176 (NSOPS): Likewise.
26177 (semtimedop): Do not use BP_SYM.
26178 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
26179 and <bp-asm.h>.
26180
582a3cff
AM
261812013-02-21 Allan McRae <allan@archlinux.org>
26182
26183 * manual/message.texi (Charset conversion in gettext):
26184 Move @end statement to beginning of line.
26185
bab8a695
SP
261862013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
26187
80945231
SP
26188 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
26189 static.
26190 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
26191 Likewise.
26192
bab8a695
SP
26193 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
26194 (denorm): Likewise.
26195 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
26196 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
26197
e21d7aa7
AK
261982013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26199
26200 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
26201 tail-call to the resolved function if pltexit isn't needed.
26202
4c7a4263
SP
262032013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
26204
26205 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
26206 or Y being zero as being unlikely.
26207 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
26208 Likewise.
26209
41f49342
CD
262102013-02-20 Carlos O'Donell <carlos@redhat.com>
26211
26212 * manual/nss.texi (System Databases and Name Service Switch):
26213 Remove frobnicate @pxref.
26214
50022a93
TS
262152013-02-20 Thomas Schwinge <thomas@codesourcery.com>
26216
26217 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
26218 __attribute__ ((unused)) to __attribute__ ((__unused__)).
26219
08cbd996
PM
262202013-02-20 Petr Machata <pmachata@redhat.com>
26221
26222 * elf/elf.h (R_ARM_TARGET1): New macro.
26223 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
26224 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
26225 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
26226 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
26227 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
26228 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
26229 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
26230 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
26231 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
26232 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
26233 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
26234 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
26235 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
26236 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
26237 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
26238 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
26239 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
26240 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
26241 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
26242 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
26243 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
26244 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
26245 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
26246 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
26247 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
26248 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
26249 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
26250 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
26251 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
26252 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
26253 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
26254 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
26255 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
26256 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
26257 (R_ARM_THM_GOT_BREL12): Likewise.
26258 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
26259 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
26260 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
26261 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
26262 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
26263 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
26264 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
26265 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
26266 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
26267
c7b275d6
TS
262682013-02-20 Thomas Schwinge <thomas@codesourcery.com>
26269
26270 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
26271 __attribute_used__ to __attribute__ ((unused)).
26272
20cd7fb3
SP
262732013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
26274
26275 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
26276 powerpc mpa.c.
26277 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
26278 comment formatting.
26279 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
26280
92945b52
JM
262812013-02-19 Joseph Myers <joseph@codesourcery.com>
26282
26283 [BZ #13550]
26284 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
26285 Remove macro.
26286 (ENTER): Remove both macro definitions.
26287 (LEAVE): Likewise.
26288 (CHECK_BOUNDS_LOW): Likewise.
26289 (CHECK_BOUNDS_HIGH): Likewise.
26290 (CHECK_BOUNDS_BOTH): Likewise.
26291 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
26292 (RETURN_BOUNDED_POINTER): Likewise.
26293 (RETURN_NULL_BOUNDED_POINTER): Likewise.
26294 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
26295 (POP_ERRNO_LOCATION_RETURN): Likewise.
26296 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
26297 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
26298 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
26299 macros.
26300 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
26301 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
26302 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
26303 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
26304 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
26305 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
26306 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
26307 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
26308 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
26309 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
26310 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
26311 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
26312 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
26313 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
26314 removed macros.
26315 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
26316 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
26317 macros.
26318 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
26319 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
26320 * sysdeps/i386/i586/memset.S (memset): Likewise.
26321 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
26322 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
26323 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
26324 macros.
26325 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
26326 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
26327 Change uses of L(2) to L(out).
26328 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
26329 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
26330 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
26331 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
26332 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
26333 removed macros.
26334 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
26335 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
26336 macros.
26337 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
26338 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
26339 (RETURN): Do not use macro LEAVE.
26340 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
26341 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
26342 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
26343 * sysdeps/i386/i686/memset.S (memset): Likewise.
26344 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
26345 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
26346 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
26347 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
26348 Likewise.
26349 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
26350 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
26351 L(1_2) and L(1_3) into L(1).
26352 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
26353 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
26354 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
26355 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
26356 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
26357 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
26358 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
26359 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
26360 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
26361 macros.
26362 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
26363 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
26364 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
26365 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
26366 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
26367 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
26368 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
26369 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
26370 * sysdeps/i386/strcspn.S (strcspn): Likewise.
26371 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
26372 * sysdeps/i386/strrchr.S (strrchr): Likewise.
26373 * sysdeps/i386/strspn.S (strspn): Likewise.
26374 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
26375 conditional code.
26376 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
26377 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
26378 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
26379 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
26380 L(1_3) into L(1_1).
26381 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
26382 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
26383 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
26384 macros.
26385 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
26386
2389741a
JJ
263872013-02-19 Jakub Jelinek <jakub@redhat.com>
26388
26389 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
26390 macro.
26391
2016b3cd
SP
263922013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
26393
e4f22324
SP
26394 * math/atest-exp.c (exp_mpn): Remove ROUND.
26395 * math/atest-exp2.c (exp_mpn): Likewise.
26396 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
26397
2016b3cd
SP
26398 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
26399 * stdlib/tst-tls-atexit-lib.c: Likewise.
26400 * stdlib/tst-tls-atexit.c: Likewise.
26401
4be9b544
MF
264022013-02-18 Mike Frysinger <vapier@gentoo.org>
26403
26404 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
26405 and __attribute_alloc_size__.
26406
2f62b9ee
MF
264072013-02-18 Mike Frysinger <vapier@gentoo.org>
26408
26409 * include/programs/xmalloc.h: Change __attribute_alloc_size to
26410 __attribute_alloc_size__.
26411 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
26412 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
26413
6ff444c4
MF
264142013-02-18 Mike Frysinger <vapier@gentoo.org>
26415
26416 * include/programs/xmalloc.h: New file.
26417 * catgets/gencat.c: Include it.
26418 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
26419 * elf/pldd.c: Likewise.
26420 * iconv/iconv_charmap.c: Likewise.
26421 * iconv/iconvconfig.c: Likewise.
26422 * iconv/strtab.c: Likewise.
26423 * locale/programs/locale.c: Likewise.
26424 * locale/programs/localedef.h: Likewise.
26425 * locale/programs/simple-hash.c: Likewise.
26426 * nscd/nscd.h: Likewise.
26427 * nss/makedb.c: Likewise.
26428 * sysdeps/generic/ldconfig.h: Likewise.
26429
be179c8a
SP
264302013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
26431
ba384f6e
SP
26432 * Versions.def: Add GLIBC_2.18.
26433 * include/link.h (struct link_map): New member l_tls_dtor_count.
26434 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
26435 (__call_tls_dtors): Likewise.
26436 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
26437 __cxa_thread_atexit_impl.
26438 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
26439 Likewise.
26440 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
26441 Likewise.
26442 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
26443 Likewise.
26444 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
26445 Likewise.
26446 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
26447 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
26448 Likewise.
26449 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
26450 Likewise.
26451 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
26452 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
26453 Likewise.
26454 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
26455 (tests): Add test case tst-tls-atexit.
26456 (modules-names): Add shared library for tst-tls-atexit.
85891aca 26457 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
ba384f6e
SP
26458 (GLIBC_PRIVATE): Add __call_tls_dtors.
26459 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
26460 for libstdc++.
26461 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
26462 * stdlib/tst-tls-atexit.c: New test case.
26463 * stdlib/tst-tls-atexit-lib.c: New test case.
26464
ffaa74cf 26465 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
ffaa74cf 26466
be179c8a
SP
26467 * elf/Versions (ld): Add _dl_find_dso_for_object.
26468 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
26469 * elf/dl-open.c (_dl_find_dso_for_object): New function.
26470 (dl_open_worker): Use _dl_find_dso_for_object.
26471 * elf/dl-sym.c (do_sym): Likewise.
26472 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
26473
f78b5caa
AK
264742013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26475
26476 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
26477 Syntactic changes only.
26478 (_dl_runtime_profile): Do a tail-call to the resolved function.
26479
29691210
JM
264802013-02-17 Joseph Myers <joseph@codesourcery.com>
26481
26482 [BZ #13550]
26483 * sysdeps/x86_64/bp-asm.h: Remove file.
26484 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
26485 <bp-sym.h> and <bp-asm.h>.
26486 (__clone): Do not use BP_SYM.
26487 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
26488 <bp-sym.h> and <bp-asm.h>.
26489 * sysdeps/unix/x86_64/sysdep.S: Likewise.
26490 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
26491 "bp-asm.h".
26492 (_setjmp): Do not use BP_SYM.
26493 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
26494 "bp-asm.h".
26495 (setjmp): Do not use BP_SYM.
26496 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
26497 libc_hidden_def.
26498 (mempcpy): Do not use BP_SYM in weak_alias.
26499 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
26500 "bp-asm.h".
26501 (strchr): Do not use BP_SYM.
26502 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
26503 "bp-asm.h".
26504 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
26505 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
26506 (_start): Do not use BP_SYM.
26507 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
26508 "bp-asm.h".
26509 (strcat): Do not use BP_SYM.
26510 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
26511 "bp-asm.h".
26512 (STRCMP): Do not use BP_SYM.
26513 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
26514 "bp-asm.h".
26515 (STRCPY): Do not use BP_SYM.
26516 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
26517 "bp-asm.h".
26518 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
26519 "bp-asm.h".
26520 (FUNCTION): Do not use BP_SYM.
26521 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
26522 weak_alias.
26523 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
26524
f238fd19
AJ
265252013-02-17 Andreas Jaeger <aj@suse.de>
26526
26527 * time/Versions: Sort entries.
26528 * string/Versions: Likewise.
26529 * resolv/Versions: Likewise.
26530 * posix/Versions: Likewise.
26531 * iconv/Versions: Likewise.
26532 * elf/Versions: Likewise.
26533 * wcsmbs/Versions: Likewise.
26534
bd07f23c 265352013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4709fe76 26536
22af19f9
SP
26537 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
26538 loop termination condition.
26539
4709fe76
SP
26540 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
26541 variable to calculate EZ.
26542 (__sqr): Likewise.
2d0e0f29
SP
26543
26544 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
26545 the lower precision input.
26546
daaa7713
JM
265472013-02-15 Joseph Myers <joseph@codesourcery.com>
26548
26549 [BZ #13550]
26550 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
26551 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
26552 (run-via-rtld-prefix): Do not handle %-bp tests.
26553 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
26554 (all-object-suffixes): Remove .ob.
26555 (bppfx): Remove variable.
26556 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
26557 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
26558 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
26559 [$(build-bounded) = yes] (libtype.ob): Likewise.
26560 * Makerules (elide-routines.ob): Remove variable.
26561 (do-tests-clean): Do not handle *-bp.out.
26562 (common-mostlyclean): Do not handle *-bp and *-bp.out.
26563 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
26564 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
26565 (tests): Do not include $(tests-bp.out).
26566 (xtests): Do not include $(xtests-bp.out).
26567 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
26568 [$(build-bounded) = yes] ($(addprefix
26569 $(objpfx),$(binaries-bounded))): Remove rule.
26570 ($(objpfx)%-bp.out): Remove rule.
26571 * config.make.in (build-bounded): Remove variable.
26572 * crypt/Makefile [$(build-bounded) = yes]
26573 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
26574 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
26575 append to variable.
26576 [$(build-bounded) = yes] (install-lib): Likewise.
26577 [$(build-bounded) = yes] (generated): Likewise.
26578 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
26579 Remove rule.
26580 * intl/Makefile [$(build-bounded) = yes]
26581 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
26582 * math/Makefile [$(build-bounded) = yes]
26583 ($(tests:%=$(objpfx)%-bp): Likewise.
26584 * misc/Makefile [$(build-bounded) = yes]
26585 ($(objpfx)tst-tsearch-bp): Likewise.
26586 * nptl/Makeconfig (bounded-thread-library): Remove variable.
26587 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
26588 Remove dependency.
26589 * string/Makefile (o-objects.ob): Remove variable.
26590 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
26591 (CFLAGS-.ob): Remove variable.
26592 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
26593 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
26594 both definitions of variable.
26595 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
26596 (ASFLAGS-.ob): Remove variable.
26597
e97ed6dd
JM
265982013-02-14 Joseph Myers <joseph@codesourcery.com>
26599
2bdd4ca6
JM
26600 [BZ #13550]
26601 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
26602 Remove __BOUNDED_POINTERS__ from condition.
26603 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
26604 * string/bits/string2.h [!__NO_STRING_INLINES &&
26605 !__BOUNDED_POINTERS__]: Likewise.
26606 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
26607 Likewise.
26608 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
26609 Remove conditional code.
26610 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
26611 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
26612 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
26613 condition.
26614
e97ed6dd
JM
26615 [BZ #13550]
26616 * csu/libc-start.c: Do not include <bp-sym.h>.
26617 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
26618 * elf/dl-open.c: Do not include <bp-sym.h>.
26619 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
26620 * math/fegetenv.c: Do not include <bp-sym.h>.
26621 (fegetenv): Do not use BP_SYM in versioned symbols.
26622 * nptl/sysdeps/pthread/bits/libc-lockP.h
26623 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
26624 <bp-sym.h>.
26625 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26626 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
26627 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26628 (__pthread_mutex_destroy): Likewise.
26629 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26630 (__pthread_mutex_lock): Likewise.
26631 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26632 (__pthread_mutex_trylock): Likewise.
26633 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26634 (__pthread_mutex_unlock): Likewise.
26635 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26636 (__pthread_mutexattr_init): Likewise.
26637 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26638 (__pthread_mutexattr_destroy): Likewise.
26639 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26640 (__pthread_mutexattr_settype): Likewise.
26641 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26642 (__pthread_rwlock_init): Likewise.
26643 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26644 (__pthread_rwlock_destroy): Likewise.
26645 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26646 (__pthread_rwlock_rdlock): Likewise.
26647 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26648 (__pthread_rwlock_tryrdlock): Likewise.
26649 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26650 (__pthread_rwlock_wrlock): Likewise.
26651 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26652 (__pthread_rwlock_trywrlock): Likewise.
26653 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26654 (__pthread_rwlock_unlock): Likewise.
26655 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26656 (__pthread_key_create): Likewise.
26657 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26658 (__pthread_setspecific): Likewise.
26659 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26660 (__pthread_getspecific): Likewise.
26661 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
26662 Likewise.
26663 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26664 (_pthread_cleanup_push_defer): Likewise.
26665 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26666 (_pthread_cleanup_pop_restore): Likewise.
26667 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26668 (pthread_setcancelstate): Likewise.
26669 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
26670 <bp-sym.h>.
26671 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
26672 (memchr): Do not use BP_SYM in weak_alias.
26673 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
26674 (fegetenv): Do not use BP_SYM in versioned symbols.
26675 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
26676 (fesetenv): Do not use BP_SYM in versioned symbols.
26677 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
26678 (feupdateenv): Do not use BP_SYM in versioned symbols.
26679 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
26680 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
26681 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
26682 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
26683 (open64): Do not use BP_SYM in weak_alias.
26684 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
26685 (fegetenv): Do not use BP_SYM in versioned symbols.
26686 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
26687 (fesetenv): Do not use BP_SYM in versioned symbols.
26688 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
26689 (feupdateenv): Do not use BP_SYM in versioned symbols.
26690 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
26691 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
26692 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
26693 (feraiseexcept): Do not use BP_SYM in versioned symbols.
26694 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
26695 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
26696 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
26697 <bp-sym.h>.
26698 (__libc_start_main): Do not use BP_SYM.
26699
d6752ccd
SP
267002013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
26701
cb57ce60
SP
26702 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
26703 redundant return line.
26704 (norm): Likewise.
26705 (denorm): Likewise.
26706 (dbl_mp): Likewise.
26707 (sub_magnitudes): Likewise.
26708 (__add): Likewise.
26709 (__sub): Likewise.
26710 (__mul): Likewise.
26711 (__inv): Likewise.
26712 (__dvd): Likewise.
26713 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
26714 (norm): Likewise.
26715 (denorm): Likewise.
26716 (dbl_mp): Likewise.
26717 (sub_magnitudes): Likewise.
26718 (__add): Likewise.
26719 (__sub): Likewise.
26720 (__mul): Likewise.
26721 (__inv): Likewise.
26722 (__dvd): Likewise.
26723
f414520d
SP
26724 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
26725 instead of __mul.
26726 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
26727 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
26728 (cc32): Likewise.
26729
d6752ccd
SP
26730 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
26731 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
26732 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
26733 of __mul for squares.
26734 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
26735 function
26736 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
26737 Likewise.
26738 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
26739 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
26740
70d9946a
JM
267412013-02-13 Joseph Myers <joseph@codesourcery.com>
26742
26743 [BZ #13550]
26744 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
26745 code.
26746 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
26747 prototype or function definition. Rename ubp_* variables and
26748 parameters. Remove argv definitions conditional on
26749 [__BOUNDED_POINTERS__].
26750 * debug/backtrace.c (__backtrace): Do not use __unbounded.
26751 * elf/dl-runtime.c (_dl_fixup): Likewise.
26752 * include/set-hooks.h (RUN_HOOK): Likewise.
26753 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
26754 definition.
26755 * string/strcpy.c (strcpy): Do not use __unbounded.
26756 * sysdeps/generic/frame.h (struct layout): Likewise.
26757 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
26758 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
26759 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
26760 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
26761 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
26762 (__backtrace): Likewise.
26763 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
26764 use __ptrvalue.
26765 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
26766 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
26767 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
26768 Likewise.
26769 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
26770 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
26771 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
26772 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
26773 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
26774 Do not use __unbounded.
26775 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
26776 Rename __unboundedrlimits parameter to rlimits in prototype.
26777 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
26778 Do not use __unbounded.
26779 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
26780 not use __ptrvalue.
26781 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
26782 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
26783 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
26784 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
26785 __ptrvalue or __unbounded.
26786 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
26787 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
26788 use __unbounded.
26789 (__new_msgctl): Do not use __ptrvalue.
26790 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
26791 __unbounded.
26792 (__libc_msgrcv): Do not use __ptrvalue.
26793 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
26794 startup_info): Do not use __unbounded.
26795 (__libc_start_main): Likewise. Rename ubp_* variables and
26796 parameters. Remove argv definitions conditional on
26797 [__BOUNDED_POINTERS__].
26798 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
26799 __ptrvalue.
26800 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
26801 use __unbounded.
26802 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
26803 or __ptrvalue.
26804 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
26805 use __unbounded.
26806 (__new_shmctl): Do not use __ptrvalue.
26807 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
26808 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
26809 Likewise.
26810 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
26811 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
26812 (__libc_sigaction): Likewise.
26813 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
26814 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
26815 Likewise.
26816 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
26817
cc7834d6
OB
268182013-02-13 Ondřej Bílka <neleai@seznam.cz>
26819
ffb1ec7b 26820 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
170704c9
OB
26821
26822 * string/mempcpy.c: Implement by calling memcpy.
26823
bdf02814
SP
268242013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
26825
c2af38aa
SP
26826 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
26827
4e92d59e
SP
26828 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
26829 evaluation.
26830
909279a5
SP
26831 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
26832 values in the mantissa.
26833
bdf02814
SP
26834 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
26835 minimize writes to Z.
26836 (sub_magnitudes): Simplify code a bit.
26837
cd525923
RM
268382013-02-12 Roland McGrath <roland@hack.frob.com>
26839
26840 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
26841 from the message. The linker prefixes all warnings with that already.
26842
7e2f0d2d
AS
268432013-02-12 Andreas Schwab <schwab@suse.de>
26844
a445af0b
AS
26845 [BZ #15078]
26846 * posix/regexec.c (extend_buffers): Add parameter min_len.
26847 (check_matching): Pass minimum needed length.
26848 (clean_state_log_if_needed): Likewise.
26849 (get_subexp): Likewise.
26850 * posix/Makefile (tests): Add bug-regex34.
26851 (bug-regex34-ENV): Define.
26852 * posix/bug-regex34.c: New file.
26853
7e2f0d2d
AS
26854 [BZ #11561]
26855 * posix/regcomp.c (parse_bracket_exp): When looking up collating
26856 elements compare against the byte sequence of it, not its name.
26857 * posix/Makefile (tests): Add bug-regex35.
26858 (bug-regex35-ENV): Define.
26859 * posix/bug-regex35.c: New file.
26860
a175b684
TV
268612013-02-11 Tom de Vries <tom@codesourcery.com>
26862
26863 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
26864 comment.
26865 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
26866 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
26867 (CHECK_EOL): Add undef.
26868
310998fe 268692013-02-11 Ondřej Bílka <neleai@seznam.cz>
41eda41d
OB
26870
26871 * bits/stdlib-bsearch.h: New file.
26872 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
310998fe 26873 * stdlib/stdlib.h: Likewise.
41eda41d 26874
8ded91fb
RM
268752013-02-11 Roland McGrath <roland@hack.frob.com>
26876
26877 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
26878 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
26879 declaration.
26880 * manual/search.texi (Array Search Function): Add missing const in
26881 lfind prototype.
26882 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
26883 declaration to use rlim_t.
26884 (Basic Scheduling Functions): Remove erroneous const from
26885 sched_getparam prototype. Remove erroneous * from
26886 sched_get_priority_max and sched_get_priority_min prototypes.
26887 (Resource Usage): Fix summary @comment on vtimes to refer to
26888 sys/vtimes.h rather than vtimes.h.
26889 Add missing *s in vtimes prototype.
26890 (Limits on Resources): Fix ulimit prototype to return long int.
26891 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
26892 prototypes to use long int rather than double.
26893 (BSD Random): Fix initstate and setstate to use char *, not void *.
26894 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
26895 prototype to make second argument 'struct aiocb64 *const[]'.
26896 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
26897 (Status of AIO Operations): Remove erroneous const in aio_return and
26898 aio_return64 prototypes.
26899 (Synchronizing I/O): Fix sync prototype to return void.
26900 * manual/startup.texi (Suboptions): Remove an erroneous const in
26901 getsubopt prototype.
26902 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
26903 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
26904 use size_t rather than int.
26905 (Scanning All Users): Likewise for getpwent_r.
26906 (Setting Groups): Add missing const to setgroups prototype.
26907 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
26908 * manual/socket.texi (Host Names): Fix gethostbyaddr and
26909 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
26910 'const void *' rather than 'const char *'.
26911 (Host Address Functions): Likewise for inet_ntop.
26912 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
26913 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
26914 ssize_t for return value.
26915 (Sending Data): Likewise for send, sendto, sendmsg.
26916 (Socket Option Functions): Add a missing const in setsockopt prototype.
26917 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
26918 use wchar_t for the argument.
26919 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
26920 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
26921 take no arguments.
26922 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
26923 double/float/long double for second argument.
26924 Fix return types of significand, significandf, significandl.
26925 * manual/filesys.texi (Setting Permissions): Use mode_t for second
26926 argument in fchmod prototype.
26927 (File Owner): Use uid_t and gid_t in fchown prototype.
26928 (File Times): Add const to utimes, futimes, and lutimes prototypes.
26929 (Making Special Files): Use mode_t and dev_t in mknod prototype.
26930 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
26931 use 'const struct dirent **' as argument types to CMP function pointer
26932 argument.
26933 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
26934 (File Times): Fix summary magic @comment for struct utimbuf and utime
26935 to refer to utime.h, not time.h.
26936 * manual/string.texi (Argz Functions): Add missing const in
26937 argz_extract and argz_next prototypes.
26938 (Finding Tokens in a String): Likewise for basename.
26939 (String/Array Comparison): Fix typo in wcscasecmp prototype.
26940 (Copying and Concatenation): Fix typo in wmemmove prototype.
26941 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
26942 (Signal Stack): Remove erroneous const in sigstack prototype.
26943 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
26944 prototype.
26945 (Simple Calendar Time): Likewise for stime.
26946 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
26947 prototype.
26948 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
26949 say sys/sysctl.h instead.
26950 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
26951 and vsyslog prototypes.
26952
fe77fe6d
TV
269532013-02-11 Tom de Vries <tom@codesourcery.com>
26954
26955 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
26956 Remove.
26957
3a09b620
RM
269582013-02-11 Roland McGrath <roland@hack.frob.com>
26959
26960 * misc/sys/mman.h: Fix typo in mremap comment.
26961
550a0b89
RM
269622013-02-08 Roland McGrath <roland@hack.frob.com>
26963
26964 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
26965 the '\0' terminator.
26966
a2da1673
JM
269672013-02-08 Joseph Myers <joseph@codesourcery.com>
26968
26969 [BZ #13550]
26970 * debug/segfault.c: Don't include <bp-checks.h>.
26971 * sysdeps/generic/bp-checks.h: Remove file.
26972 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
26973 (__GETDENTS): Don't use CHECK_N.
26974 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
26975 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
26976 (__getgroups): Don't use CHECK_N.
26977 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
26978 (setgroups): Don't use CHECK_N.
26979 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
26980 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
26981 (__libc_msgrcv): Don't use CHECK_N.
26982 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
26983 (__libc_msgsnd): Don't use CHECK_N.
26984 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
26985 <bp-checks.h>.
26986 (__libc_pread): Don't use CHECK_N.
26987 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
26988 include <bp-checks.h>.
26989 (__libc_pread64): Don't use CHECK_N.
26990 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
26991 include <bp-checks.h>.
26992 (__libc_pwrite): Don't use CHECK_N.
26993 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
26994 include <bp-checks.h>.
26995 (__libc_pwrite64): Don't use CHECK_N.
26996 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
26997 <bp-checks.h>.
26998 (__libc_pread): Don't use CHECK_N.
26999 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
27000 include <bp-checks.h>.
27001 (__libc_pread64): Don't use CHECK_N.
27002 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
27003 include <bp-checks.h>.
27004 (__libc_pwrite): Don't use CHECK_N.
27005 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
27006 include <bp-checks.h>.
27007 (__libc_pwrite64): Don't use CHECK_N.
27008 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
27009 (do_pread): Don't use CHECK_N.
27010 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
27011 (do_pread64): Don't use CHECK_N.
27012 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
27013 (do_pwrite): Don't use CHECK_N.
27014 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
27015 (do_pwrite64): Don't use CHECK_N.
27016 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
27017 (__libc_readv): Don't use CHECK_N.
27018 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
27019 (semop): Don't use CHECK_N.
27020 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
27021 <bp-checks.h>.
27022 (semtimedop): Don't use CHECK_N.
27023 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
27024 (__libc_pread): Don't use CHECK_N.
27025 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
27026 <bp-checks.h>.
27027 (__libc_pread64): Don't use CHECK_N.
27028 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
27029 <bp-checks.h>.
27030 (__libc_pwrite): Don't use CHECK_N.
27031 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
27032 <bp-checks.h>.
27033 (__libc_pwrite64): Don't use CHECK_N.
27034 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
27035 <bp-checks.h>.
27036 (__libc_msgrcv): Don't use CHECK_N.
27037 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
27038 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
27039 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
27040 (__libc_writev): Don't use CHECK_N.
27041
b84660a8
RM
270422013-02-08 Roland McGrath <roland@hack.frob.com>
27043
7f3e75f8
RM
27044 * string/strcpy.c: Removed unused variable.
27045
b84660a8
RM
27046 * Makeconfig (+sysdep-includes): Define with := rather than =.
27047 Use an existing include/ subdir of each sysdeps dir before it.
27048
471514d3
CD
270492013-02-08 Carlos O'Donell <carlos@redhat.com>
27050
27051 * nscd/connection.c (register_traced_file): Comment function.
27052 [HAVE_INOTIFY] (union __inev): Define.
27053 [HAVE_INOTIFY] (inotify_check_files): New function.
27054 [HAVE_INOTIFY] (clear_db_cache): Likewise.
27055 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
27056 clear_db_cache.
27057 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
27058
b2d3c3be
CD
270592013-02-08 Carlos O'Donell <carlos@redhat.com>
27060
27061 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
27062 loaded if not already and that a failure is permanent.
27063
b39949d2
CD
270642013-02-08 Carlos O'Donell <carlos@redhat.com>
27065
ddacd1db 27066 [BZ #15006]
b39949d2
CD
27067 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
27068 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
27069
b2c9eff4
JM
270702013-02-08 Joseph Myers <joseph@codesourcery.com>
27071
f3aae3f3
JM
27072 [BZ #13550]
27073 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
27074 (CHECK_1_NULL_OK): Likewise.
27075 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
27076 (__fxstat): Do not use CHECK_1.
27077 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
27078 <bp-checks.h>.
27079 (___fxstat64): Do not use CHECK_1.
27080 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
27081 <bp-checks.h>.
27082 (__fxstatat): Do not use CHECK_1.
27083 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
27084 <bp-checks.h>.
27085 (__fxstatat64): Do not use CHECK_1.
27086 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
27087 <bp-checks.h>.
27088 (__fxstat): Do not use CHECK_1.
27089 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
27090 <bp-checks.h>.
27091 (__fxstatat): Do not use CHECK_1.
27092 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
27093 <bp-checks.h>.
27094 (__getresgid): Do not use CHECK_1.
27095 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
27096 <bp-checks.h>.
27097 (__getresuid): Do not use CHECK_1.
27098 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
27099 <bp-checks.h>.
27100 (__lxstat): Do not use CHECK_1.
27101 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
27102 <bp-checks.h>.
27103 (__old_msgctl): Do not use CHECK_1.
27104 (__new_msgctl): Likewise.
27105 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
27106 <bp-checks.h>.
27107 (__new_setrlimit): Do not use CHECK_1.
27108 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
27109 <bp-checks.h>.
27110 (__old_shmctl): Do not use CHECK_1.
27111 (__new_shmctl): Likewise.
27112 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
27113 <bp-checks.h>.
27114 (__xstat): Do not use CHECK_1.
27115 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
27116 (__lxstat): Do not use CHECK_1.
27117 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
27118 <bp-checks.h>.
27119 (___lxstat64): Do not use CHECK_1.
27120 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
27121 (__old_msgctl): Do not use CHECK_1.
27122 (__new_msgctl): Likewise.
27123 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
27124 <bp-checks.h>.
27125 (__gettimeofday): Do not use CHECK_1.
27126 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
27127 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
27128 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
27129 <bp-checks.h>.
27130 (__gettimeofday): Do not use CHECK_1.
27131 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
27132 (__old_shmctl): Do not use CHECK_1_NULL_OK.
27133 (__new_shmctl): Do not use CHECK_1.
27134 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
27135 <bp-checks.h>.
27136 (do_sigtimedwait): Do not use CHECK_1.
27137 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
27138 <bp-checks.h>.
27139 (do_sigwaitinfo): Do not use CHECK_1.
27140 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
27141 <bp-checks.h>.
27142 (msgctl): Do not use CHECK_1.
27143 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
27144 <bp-checks.h>.
27145 (shmctl): Do not use CHECK_1.
27146 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
27147 (ustat): Do not use CHECK_1.
27148 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
27149 <bp-checks.h>.
27150 (__fxstat): Do not use CHECK_1.
27151 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
27152 <bp-checks.h>.
27153 (__fxstatat): Do not use CHECK_1.
27154 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
27155 <bp-checks.h>.
27156 (__lxstat): Do not use CHECK_1.
27157 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
27158 <bp-checks.h>.
27159 (__xstat): Do not use CHECK_1.
27160 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
27161 (__xstat): Do not use CHECK_1.
27162 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
27163 (___xstat64): Do not use CHECK_1.
27164
b2c9eff4
JM
27165 [BZ #13550]
27166 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
27167 definitions.
27168 (CHECK_BOUNDS_HIGH): Likewise.
27169 * string/strcpy.c: Do not include <bp-checks.h>.
27170 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
27171
f1d70dad
RM
271722013-02-07 Roland McGrath <roland@hack.frob.com>
27173
27174 * nscd/nscd-client.h (__nscd_drop_map_ref):
27175 Add __attribute__ ((unused)).
27176 * nis/nss-nisplus.h (niserr2nss): Likewise.
27177
27178 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
27179 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
27180
27181 * csu/libc-tls.c (init_static_tls, init_slotinfo):
27182 Remove inline keyword.
27183 * include/rounding-mode.h (round_away): Likewise.
27184 * libio/wfileops.c (adjust_wide_data): Likewise.
27185 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
27186 (__m128i_strloadu_tolower): Likewise.
27187 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
27188 (__m128i_strloadu_tolower): Likewise.
27189 * time/mktime.c (ydhms_diff): Likewise.
27190 * locale/elem-hash.h (elem_hash): Likewise.
27191 * locale/setlocale.c (setdata): Likewise.
27192 * posix/regex_internal.h (re_string_char_size_at): Likewise.
27193 (re_string_wchar_at): Likewise.
27194 (bitset_not, bitset_merge, bitset_mask): Likewise.
27195 [!(__GNUC__ > 3)] (inline): Remove macro.
27196 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
27197 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
27198 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
27199 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
27200 * string/memcmp.c (memcmp_bytes): Likewise.
27201 * locale/programs/locarchive.c (compute_hashval): Likewise.
27202 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
27203 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
27204 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
27205 * nss/getent.c (print_rpc, print_protocols): Likewise.
27206 (print_passwd, print_group, print_aliases): Likewise.
27207 * nis/nss-nisplus.h (niserr2nss): Likewise.
27208 * nscd/connections.c (restart_p): Likewise.
27209 Change return type to bool.
27210
eab55bfb
RM
272112013-02-05 Roland McGrath <roland@hack.frob.com>
27212
7bd642f5
RM
27213 * Makeconfig (all-Depend-files): Add existing
27214 $(sorted-subdirs:=/Depend) files.
27215 (all-subdirs): Remove nss.
27216 * sysdeps/unix/inet/Subdirs: Add it here instead.
27217 * hesiod/Depend: New file.
27218
573c29b2
RM
27219 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
27220 instead of calling alloca.
27221
b2e25af0
RM
27222 * io/lseek.c (__lseek): Rename to __libc_lseek.
27223 Define __lseek as an alias.
27224
eab55bfb
RM
27225 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
27226
9a0d1941
CD
272272013-02-04 Carlos O'Donell <carlos@redhat.com>
27228
27229 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
27230 else clause and remove check for non-standard endianness.
27231
b83bbec4
DM
272322013-02-04 David S. Miller <davem@davemloft.net>
27233
27234 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27235
6277fdab
JM
272362013-02-04 Joseph Myers <joseph@codesourcery.com>
27237
27238 [BZ #13550]
27239 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
27240 (__ubp_memchr): Remove prototype.
27241 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
27242 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
27243 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
27244 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
27245 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
27246 Remove alias.
27247 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
27248 (__ubp_memchr): Likewise.
27249 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
27250 (__ubp_memchr): Likewise.
27251 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
27252 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
27253 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
27254 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
27255 CHECK_STRING.
27256 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
27257 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
27258 (__getcwd): Do not use CHECK_STRING.
27259 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
27260 <bp-checks.h>.
27261 (__real_chown): Do not use CHECK_STRING.
27262 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
27263 <bp-checks.h>.
27264 (fchownat): Do not use CHECK_STRING.
27265 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
27266 CHECK_STRING.
27267 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
27268 <bp-checks.h>.
27269 (__lchown): Do not use CHECK_STRING.
27270 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
27271 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
27272 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
27273 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
27274 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
27275 include <bp-checks.h>.
27276 (truncate64): Do not use CHECK_STRING.
27277 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
27278 <bp-checks.h>.
27279 (__real_chown): Do not use CHECK_STRING.
27280 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
27281 <bp-checks.h>.
27282 (__lchown): Do not use CHECK_STRING.
27283 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
27284 <bp-checks.h>.
27285 (__chown): Do not use CHECK_STRING.
27286 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
27287 <bp-checks.h>.
27288 (truncate64): Do not use CHECK_STRING.
27289 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
27290 Likewise.
27291 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
27292 (__xmknod): Do not use CHECK_STRING.
27293 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
27294 <bp-checks.h>.
27295 (__xmknodat): Do not use CHECK_STRING.
27296 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
27297 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
27298
903ae060
AS
272992013-02-04 Andreas Schwab <schwab@suse.de>
27300
27301 [BZ #14142]
27302 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
27303 * include/netdb.h: Likewise for h_errno.
27304 * elf/tst-stackguard1.c: Include <tls.h>.
27305
542f9466
JK
273062013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
27307
27308 * elf/link.h (struct link_map): Extend the l_addr comment.
27309 * include/link.h (struct link_map): Likewise.
27310
e782a927
JM
273112013-02-01 Joseph Myers <joseph@codesourcery.com>
27312
27313 [BZ #13550]
27314 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
27315 (BOUNDED_1): Remove macro.
27316 * debug/backtrace.c: Don't include <bp-checks.h>.
27317 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
27318 (__backtrace): Likewise.
27319 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
27320 <bp-checks.h>.
27321 (__backtrace): Don't use BOUNDED_1.
27322 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
27323 <bp-checks.h>.
27324 (__backtrace): Don't use BOUNDED_1.
27325 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
27326 (__backtrace): Don't use BOUNDED_1.
27327 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
27328 (shmat): Don't use BOUNDED_N.
27329
8cf28c5e
JM
273302013-01-31 Joseph Myers <joseph@codesourcery.com>
27331
3a7ac8a0
JM
27332 [BZ #13550]
27333 * sysdeps/generic/bp-start.h: Remove file.
27334 * csu/libc-start.c: Don't include <bp-start.h>.
27335 (LIBC_START_MAIN): Set up __environ directly instead of using
27336 INIT_ARGV_and_ENVIRON.
27337 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
27338 <bp-start.h>.
27339
f3499f95
JM
27340 [BZ #13550]
27341 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
27342 definitions.
27343 (CHECK_FCNTL): Likewise.
27344 (CHECK_N_PAGES): Likewise.
27345
32a45bea
JM
27346 [BZ #13550]
27347 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
27348 definitions.
27349 (CHECK_SIGSET_NULL_OK): Likewise.
27350 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
27351 <bp-checks.h>.
27352 (sigpending): Don't use CHECK_SIGSET.
27353 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
27354 <bp-checks.h>.
27355 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
27356 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
27357 <bp-checks.h>.
27358 (do_sigsuspend): Don't use CHECK_SIGSET.
27359 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
27360 use CHECK_SIGSET.
27361 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
27362 (do_sigwait): Don't use CHECK_SIGSET.
27363 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
27364 use CHECK_SIGSET.
27365 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
27366 include <bp-checks.h>.
27367 (sigpending): Don't use CHECK_SIGSET.
27368 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
27369 include <bp-checks.h>.
27370 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
27371 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
27372 <bp-checks.h>.
27373 (sigpending): Don't use CHECK_SIGSET.
27374 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
27375 <bp-checks.h>.
27376 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
27377
2e8a5c8c
JM
27378 [BZ #13550]
27379 * sysdeps/generic/bp-semctl.h: Remove file.
27380 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
27381 <bp-checks.h> and <bp-semctl.h>.
27382 (__old_semctl): Don't use CHECK_SEMCTL.
27383 (__new_semctl): Likewise.
27384 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
27385 and <bp-semctl.h>.
27386 (__old_semctl): Don't use CHECK_SEMCTL.
27387 (__new_semctl): Likewise.
27388 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
27389 <bp-checks.h> and <bp-semctl.h>.
27390 (__old_semctl): Don't use CHECK_SEMCTL.
27391 (__new_semctl): Likewise.
27392 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
27393 <bp-checks.h> and <bp-semctl.h>.
27394 (semctl): Don't use CHECK_SEMCTL.
27395
c2d54929
JM
27396 [BZ #13550]
27397 * Makerules (elide-bp-thunks): Remove variable.
27398 (elide-routines.oS): Don't use $(elide-bp-thunks).
27399 (elide-routines.os): Likewise.
27400 (elide-routines.o): Likewise.
27401 (elide-routines.op): Likewise.
27402 (elide-routines.og): Likewise.
27403 (objects): Don't use $(bp-thunks).
27404 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
27405 include.
27406 (common-generated): Do not add s-proto-bp.d.
27407 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
27408 (int): Likewise.
27409 (typ): Likewise.
27410 Do not generate makefile rules for bounded-pointer thunks.
27411 * sysdeps/generic/bp-thunks.h: Remove file.
27412 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
27413 * sysdeps/unix/s-proto-bp.S: Likewise.
27414
8cf28c5e
JM
27415 [BZ #15062]
27416 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
27417 parts of result separately when argument is not close to line from
27418 -i to i and one part of argument is small.
27419 * math/k_casinhf.c (__kernel_casinhf): Likewise.
27420 * math/k_casinhl.c (__kernel_casinhl): Likewise.
27421 * math/libm-test.inc (cacos_test): Add more tests.
27422 (casin_test): Likewise.
27423 (casinh_test): Likewise.
27424 * sysdeps/i386/fpu/libm-test-ulps: Update.
27425 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27426
c4e33b8d
DM
274272013-01-31 David S. Miller <davem@davemloft.net>
27428
27429 * po/de.po: Update from translation team.
27430
3b60b421
MK
274312013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
27432
27433 * time/tzfile.c: Include stdint.h for SIZE_MAX.
27434
bb931195
TS
274352013-01-25 Thomas Schwinge <thomas@codesourcery.com>
27436
b5a5da23
TS
27437 * configure.in (_AC_PROG_CC_C89): New definition.
27438 * configure: Regenerate.
27439
bb931195
TS
27440 * configure.in (AC_PROG_CPP): New definition.
27441 * configure: Regenerate.
27442
8c53a12c
JM
274432013-01-23 Joseph Myers <joseph@codesourcery.com>
27444
27445 * debug/tst-backtrace.h: New file.
27446 * debug/tst-backtrace2.c: Include tst-backtrace.h.
27447 (ret): Remove variable.
27448 (x): Likewise.
27449 (FAIL): Remove macro.
27450 (NO_INLINE): Likewise.
27451 (fn1): Use match function instead of strstr.
27452 * debug/tst-backtrace3.c: Include tst-backtrace.h.
27453 (ret): Remove variable.
27454 (x): Likewise.
27455 (FAIL): Remove macro.
27456 (NO_INLINE): Likewise.
27457 (fn): Use match function instead of strstr.
27458 * debug/tst-backtrace4.c: Include tst-backtrace.h.
27459 (ret): Remove variable.
27460 (x): Likewise.
27461 (FAIL): Remove macro.
27462 (NO_INLINE): Likewise.
27463 (handle_signal): Use match function instead of strstr.
27464 * debug/tst-backtrace5.c: Include tst-backtrace.h.
27465 (ret): Remove variable.
27466 (x): Likewise.
27467 (FAIL): Remove macro.
27468 (NO_INLINE): Likewise.
27469 (handle_signal): Use match function instead of strstr.
27470
4858fa2a
RM
274712013-01-23 Roland McGrath <roland@hack.frob.com>
27472
27473 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
27474
bae8e7f5
DM
274752013-01-23 David S. Miller <davem@davemloft.net>
27476
27477 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
27478 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
27479 argument of CAS if possible.
27480 * sysdeps/sparc/sparc64/bits/atomic.h
27481 (__arch_compare_and_exchange_val_32_acq): Likewise.
27482 (__arch_compare_and_exchange_val_64_acq): Likewise.
27483
9cbbc4ae
PT
274842013-01-23 Pino Toscano <toscano.pino@tiscali.it>
27485
27486 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
27487 * sysdeps/posix/ulimit.c: ... this.
92a601b8 27488 Include <limits.h>.
67b3f58c 27489 * sysdeps/unix/bsd/ulimit.c: Remove file.
9cbbc4ae 27490
5655a0b5
AC
274912013-01-23 Adam Conrad <adconrad@0c3.net>
27492
27493 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
27494 (LDFLAGS-tst-array5): Likewise.
27495
052aff95
JM
274962013-01-23 Joseph Myers <joseph@codesourcery.com>
27497
27498 [BZ #15036]
27499 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
27500 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
27501 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
27502 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
27503
7c1e01aa
DM
275042013-01-21 David S. Miller <davem@davemloft.net>
27505
27506 * sysdeps/sparc/backtrace.c: New file.
27507 * sysdeps/sparc/sparc32/backtrace.h: New file.
27508 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
27509 * sysdeps/sparc/sparc64/backtrace.h: New file.
27510 * sysdeps/sparc/sparc64/backtrace.c: Delete.
27511 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
27512 -funwind-tables.
27513
ab087e0a
AS
275142013-01-21 Andreas Schwab <schwab@suse.de>
27515
27516 [BZ #15020]
27517 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
27518 closed its stdout.
27519
ed689c2f
AS
275202013-01-20 Andreas Schwab <schwab@linux-m68k.org>
27521
27522 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
27523 "mpa2.h".
27524 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
27525
31d470ac
JM
275262013-01-18 Joseph Myers <joseph@codesourcery.com>
27527 Mark Mitchell <mark@codesourcery.com>
27528 Tom de Vries <tom@codesourcery.com>
27529 Paul Pluzhnikov <ppluzhnikov@google.com>
27530
27531 * debug/tst-backtrace2.c: New file.
27532 * debug/tst-backtrace3.c: Likewise.
27533 * debug/tst-backtrace4.c: Likewise.
27534 * debug/tst-backtrace5.c: Likewise.
27535 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
27536 (CFLAGS-tst-backtrace3.c): Likewise.
27537 (CFLAGS-tst-backtrace4.c): Likewise.
27538 (CFLAGS-tst-backtrace5.c): Likewise.
27539 (LDFLAGS-tst-backtrace2): Likewise.
27540 (LDFLAGS-tst-backtrace3): Likewise.
27541 (LDFLAGS-tst-backtrace4): Likewise.
27542 (LDFLAGS-tst-backtrace5): Likewise.
27543 (tests): Add new tests tst-backtrace2, tst-backtrace3,
27544 tst-backtrace4 and tst-backtrace5.
27545
90567f30 275462013-01-18 Anton Blanchard <anton@samba.org>
471a1672
AB
27547 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
27548
27549 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
27550 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
27551 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
27552 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
27553 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
27554 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
27555 "+r" and remove output regs list as redundant. Add explicit inline
27556 asm to specify register of return val to work around compiler codegen
27557 bug. Remove (int) cast on return value. Add return type parameter to
27558 use in macro so that this macro does not truncate return value for
27559 64-bit values.
27560 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
27561 pass to INTERNAL_VSYSCALL_NCS.
27562 (INLINE_VSYSCALL): Add 'long int' as return type to
27563 INTERNAL_VSYSCALL_NCS macro invocation.
27564 (INTERNAL_VSYSCALL): Add 'long int' as return type to
27565 INTERNAL_VSYSCALL_NCS macro invocation.
27566 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
27567
d3b9ea61
SP
275682013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
27569
0b57daeb
SP
27570 [BZ #14496]
27571 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
27572 Fix application of SIMD FP exception mask.
27573
caa99d06
SP
27574 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
27575 mp_no from a power of two.
27576 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
27577 __mpexp_twomm1. Use __pow_mp.
27578
d3b9ea61
SP
27579 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
27580 multiplication.
27581
1dbaee3c
DM
275822013-01-17 David S. Miller <davem@davemloft.net>
27583
27584 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27585
728d7b43
JM
275862013-01-17 Joseph Myers <joseph@codesourcery.com>
27587
27588 [BZ #15023]
27589 * include/complex.h: Condition contents on [!_COMPLEX_H].
27590 (__kernel_casinhf): New prototype.
27591 (__kernel_casinh): Likewise.
27592 (__kernel_casinhl): Likewise.
27593 * math/Makefile (libm_calls): Add k_casinh.
27594 * math/k_casinh.c: New file.
27595 * math/k_casinhf.c: Likewise.
27596 * math/k_casinhl.c: Likewise.
27597 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
27598 finite nonzero arguments.
27599 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
27600 finite nonzero arguments.
27601 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
27602 finite nonzero arguments.
27603 * math/s_casinh.c: Do not include <float.h>.
27604 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
27605 * math/s_casinhf.c: Do not include <float.h>.
27606 (__casinhf): Move code for finite nonzero arguments to
27607 k_casinhf.c.
27608 * math/s_casinhl.c: Do not include <float.h>.
27609 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
27610 redefine.
27611 (__casinhl): Move code for finite nonzero arguments to
27612 k_casinhl.c.
27613 * math/libm-test.inc (cacos_test): Add more tests.
27614 * sysdeps/i386/fpu/libm-test-ulps: Update.
27615 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27616
2a26ef3a
PT
276172013-01-17 Pino Toscano <toscano.pino@tiscali.it>
27618
27619 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
27620 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
27621 [!HAVE_MREMAP]: Remove [defined linux] case.
27622 * malloc/arena.c: Do not include <malloc-sysdep.h>.
27623
a897655d
SP
276242013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
27625
27626 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
27627
881ebe89 276282013-01-17 H.J. Lu <hongjiu.lu@intel.com>
22676eaf
L
27629
27630 * elf/elf.h (R_386_SIZE32): New relocation.
27631 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
27632 R_386_SIZE32.
27633 (elf_machine_rela): Likewise.
27634 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
27635 R_X86_64_SIZE64 and R_X86_64_SIZE32.
27636
59981e9b
JM
276372013-01-17 Joseph Myers <joseph@codesourcery.com>
27638
27639 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
27640 (FP_FAST_FMA): Do not define.
27641 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
27642 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
27643 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
27644 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
27645 !_SOFT_FLOAT]: Likewise.
27646 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
27647 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
27648 value.
27649 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
27650 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
27651 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
27652 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
27653 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
27654 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
27655 file.
27656
cfa8054f
AS
276572013-01-16 Andreas Schwab <schwab@suse.de>
27658
27659 [BZ #14327]
27660 * include/stdlib.h (__mktemp): Add declaration.
27661 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
27662 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
27663
dd930cc5
SP
276642013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
27665
881ebe89
SP
27666 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
27667 definitions.
27668 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
27669 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
27670 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
27671 definitions here.
27672 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
27673 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
27674 definitions.
27675 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
27676 and ONE.
27677 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
27678 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
27679 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
27680 definitions.
27681 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
27682 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
27683 definitions.
27684 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
f93a8d15 27685
dd930cc5
SP
27686 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
27687
c19a9f89
DM
276882013-01-15 David S. Miller <davem@davemloft.net>
27689
1aa61767
DM
27690 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
27691 trunc{,f} to libm-sysdep_routes.
27692 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
27693 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
27694 file.
27695 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
27696 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
27697 file.
27698 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
27699 file.
27700 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
27701 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
27702 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
27703 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
27704 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
27705 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
27706 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
27707 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
27708
c42d5e98
DM
27709 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
27710 nearbyint{,f} to libm-sysdep_routes.
27711 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
27712 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
27713 New file.
27714 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
27715 file.
27716 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
27717 New file.
27718 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
27719 file.
27720 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
27721 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
27722 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
27723 file.
27724 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
27725 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
27726 file.
27727 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
27728 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
27729 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
27730
c19a9f89
DM
27731 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
27732 libc_feholdexcept and libc_fesetenv.
27733
357679d2
MF
277342013-01-15 Mike Frysinger <vapier@gentoo.org>
27735
27736 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
27737
65a82e3d
DM
277382013-01-14 David S. Miller <davem@davemloft.net>
27739
8b954ab9
DM
27740 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
27741 (SPARC_ASM_VIS2_IFUNC): Likewise.
27742 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
27743 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
27744 use of 'siam' instruction.
27745 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
27746 Likewise.
27747 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
27748 Likewise.
27749 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
27750 Likewise.
27751 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
27752 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
27753 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
27754 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
27755 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
27756 file.
27757 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
27758 file.
27759 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
27760 file.
27761 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
27762 file.
27763 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
27764 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
27765 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
27766 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
27767 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
27768 new VIS2 routines.
27769 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
27770 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
27771 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
27772 Likewise.
27773 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
27774 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
27775 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
27776 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
27777 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
27778 routines to libm-sysdep_routines.
27779 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
27780
65a82e3d
DM
27781 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
27782 fdim/fdimf to libm-sysdep_routines.
27783 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
27784 file.
27785 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
27786 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
27787 file.
27788 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
27789 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
27790 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
27791 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
27792 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
27793 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
27794 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
27795
e34ab705
SP
277962013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
27797
2a91b573
SP
27798 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
27799 to optimize copies.
27800
1066a534
SP
27801 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
27802 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
27803 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
27804
e34ab705
SP
27805 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
27806 local variable MPTWO.
27807 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
27808 Likewise.
27809
aba5e596
MF
278102013-01-13 Mike Frysinger <vapier@gentoo.org>
27811
27812 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
27813 GLOB_NOESCAPE.
27814
e557e9e5
MF
278152013-01-13 Mike Frysinger <vapier@gentoo.org>
27816
27817 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
27818
0428cec9
MF
278192013-01-13 Mike Frysinger <vapier@gentoo.org>
27820
27821 * manual/pattern.texi (glob_t): Document gl_flags.
27822 (glob64_t): Likewise.
27823
8794a964
DM
278242013-01-11 David S. Miller <davem@davemloft.net>
27825
66438c3f
RM
27826 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
27827 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
27828 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
32fcb36d
DM
27829 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
27830 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
27831 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
27832 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
27833 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
27834 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
27835 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
27836 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
27837 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
27838 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
27839
4ae4244d
DM
27840 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
27841 sparc V9 rather than using V8 code.
27842 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
27843 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
27844
8794a964
DM
27845 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
27846 Move to...
27847 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
27848 Here.
27849
6270516e
RM
278502013-01-11 Roland McGrath <roland@hack.frob.com>
27851
27852 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
27853 not in the main loop.
27854 * configure: Regenerated.
27855
6a57d931
JM
278562013-01-11 Joseph Myers <joseph@codesourcery.com>
27857
27858 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
27859 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
27860 to just #else.
27861 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
27862 [!__GLIBC_HAVE_LONG_LONG] case.
27863 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
27864 condition to just #else.
27865 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
27866 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
27867 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
27868 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
27869 unconditional.
27870 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
27871 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
27872 #elif condition to just #else.
27873 * sysdeps/unix/sysv/linux/sys/sysmacros.h
27874 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
27875 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
27876 #elif condition to just #else.
27877
0e8529e9
SE
278782013-01-11 Steve Ellcey <sellcey@mips.com>
27879
27880 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
27881 (EF_MIPS_ARCH_64): Fix value.
27882 (EF_MIPS_ARCH_32R2): New.
27883 (EF_MIPS_ARCH_64R2): New.
27884
740b3dbe
L
278852013-01-11 H.J. Lu <hongjiu.lu@intel.com>
27886
27887 * Makeconfig (+link-pie-before-libc): New.
27888 (+link-pie-after-libc): Likewise.
27889 (+link-pie-tests): Likewise.
27890 (+link-pie): Rewritten.
27891 (link-before-libc): Remove $(config-LDFLAGS).
27892 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
27893 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
27894 (config-LDFLAGS): Renamed to ...
27895 (rtld-LDFLAGS): This.
27896 (rtld-tests-LDFLAGS): New macro.
27897 (link-libc-rpath-link): Likewise.
27898 (link-libc-tests-rpath-link): Likewise.
27899 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
27900 (link-libc): Prepand $(link-libc-rpath-link).
27901 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
27902 (test-program-prefix): New macro.
27903 (test-via-rtld-prefix): Likewise.
27904 (test-program-cmd): Likewise.
27905 (host-test-program-cmd): Likewise.
27906 * Makefile ($(common-objpfx)testrun.sh): Replace
27907 $(run-program-prefix) with $(test-program-prefix).
27908 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
27909 $(rtld-LDFLAGS).
27910 ($(common-objpfx)shlib.lds): Likewise.
27911 (build-module-helper): Likewise.
27912 ($(common-objpfx)format.lds): Likewise.
27913 * Rules (binaries-pie-tests): New.
27914 (binaries-pie-notests): Likewise.
27915 (binaries-pie): Rewritten.
27916 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
27917 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
27918 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
27919 (make-test-out): Replace $(host-built-program-cmd) with
27920 $(host-test-program-cmd).
27921 * config.make.in (build-hardcoded-path-in-tests): New variable.
27922 * configure.in (--enable-hardcoded-path-in-tests): New configure
27923 option.
27924 (hardcoded_path_in_tests): New AC_SUBST.
27925 * configure: Regenerated.
27926 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
27927 $(built-program-cmd) with $(test-program-cmd).
27928 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
27929 (test_program_cmd): This.
27930 * elf/Makefile ($(objpfx)order.out): Run test with
27931 $(test-program-prefix).
27932 ($(objpfx)order2.out): Likewise.
27933 ($(objpfx)tst-initorder.out): Likewise.
27934 ($(objpfx)tst-initorder2.out): Likewise.
27935 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
27936 $(test-program-cmd).
27937 ($(objpfx)tst-array1-static.out): Likewise.
27938 ($(objpfx)tst-array2.out): Likewise.
27939 ($(objpfx)tst-array3.out): Likewise.
27940 ($(objpfx)tst-array4.out): Likewise.
27941 ($(objpfx)tst-array5.out): Likewise.
27942 ($(objpfx)tst-array5-static.out): Likewise.
27943 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
27944 $(test-program-cmd).
27945 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
27946 $(run-program-prefix) with $(test-program-prefix).
27947 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
27948 (test_program_prefix): This.
27949 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
27950 $(run-program-prefix) with $(test-program-prefix).
27951 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
27952 (test_program_prefix): This.
27953 * iconvdata/tst-tables.sh: Likewise.
27954 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
27955 $(run-program-prefix) with $(test-program-prefix).
27956 ($(objpfx)tst-translit.out): Likewise.
27957 ($(objpfx)tst-gettext2.out): Likewise.
27958 ($(objpfx)tst-gettext4.out): Likewise.
27959 ($(objpfx)tst-gettext6.out): Likewise.
27960 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
27961 (test_program_prefix): This.
27962 * intl/tst-gettext2.sh: Likewise.
27963 * intl/tst-gettext4.sh Likewise.
27964 * intl/tst-gettext6.sh: Likewise.
27965 * intl/tst-translit.sh: Likewise.
27966 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
27967 with $(test-program-cmd).
27968 * libio/Makefile ($(objpfx)test-freopen.out): Replace
27969 $(run-program-prefix) with $(test-program-prefix).
27970 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
27971 (test_program_prefix): This.
27972 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
27973 $(run-program-prefix) with $(test-program-prefix).
27974 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
27975 (test_program_prefix): This.
27976 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
27977 * posix/Makefile ($(objpfx)globtest.out): Replace
27978 $(run-via-rtld-prefix) and $(test-wrapper) with
27979 $(test-program-prefix) and $(test-via-rtld-prefix).
27980 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
27981 $(test-program-prefix).
27982 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
27983 $(host-test-program-cmd).
27984 (tst-spawn-ARGS): Likewise.
27985 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
27986 $(test-program-prefix).
27987 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
27988 (test_via_rtld_prefix): This.
27989 (test_wrapper): Renamed to ...
27990 (test_program_prefix): This.
27991 (run_program_prefix): Replaced by test_program_prefix.
27992 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
27993 (test_program_prefix): This.
27994 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
27995 with $(host-test-program-cmd).
27996 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
27997 $(run-program-prefix) with $(test-program-prefix).
27998 ($(objpfx)tst-printf.out): Likewise.
27999 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
28000 $(test-program-cmd).
28001 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
28002 (test_program_prefix): This.
28003 * stdio-common/tst-unbputc.sh: Likewise.
28004 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
28005 $(run-program-prefix) with $(test-program-prefix).
28006 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
28007 (test_program_prefix): This.
28008 * string/Makefile ($(objpfx)tst-svc.out): Replace
28009 $(built-program-cmd) with $(test-program-cmd).
28010
c6fe55cf
AJ
280112013-01-11 Andreas Jaeger <aj@suse.de>
28012
28013 [BZ #15003]
28014 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
28015 value. Sync with Linux 3.7.
28016
9e6919c8
DM
280172013-01-10 David S. Miller <davem@davemloft.net>
28018
28019 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
28020 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
28021 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
28022
1c9f1a02
RM
280232013-01-10 Roland McGrath <roland@hack.frob.com>
28024
28025 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
28026 never set.
28027 * configure: Regenerated.
28028
b9de2dde
DM
280292013-01-10 David S. Miller <davem@davemloft.net>
28030
28031 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
28032 sparc V9 rather than using V8 code.
28033 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
28034 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
28035
e7f68ef4
RM
280362013-01-10 Roland McGrath <roland@hack.frob.com>
28037
28038 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
28039 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
28040 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
28041 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
28042 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
28043 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
28044 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
28045 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
28046 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
28047 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
28048 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
28049 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
28050 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
28051 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
28052 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
28053 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
28054 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
28055 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
28056 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
28057 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
28058 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
28059 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
28060 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
28061 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
28062 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
28063 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
28064 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
28065
5a47cc9c
DM
280662013-01-10 David S. Miller <davem@davemloft.net>
28067
28068 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28069
4cf8f209
L
280702013-01-10 H.J. Lu <hongjiu.lu@intel.com>
28071
28072 * posix/Makefile (tests-static): New variable.
28073 (tests): Add $(tests-static).
28074 (tst-exec-static-ARGS): New variable.
28075 (tst-spawn-static-ARGS): Likewise.
28076 * posix/tst-exec-static.c: New file.
28077 * posix/tst-spawn-static.c: Likewise.
28078 * posix/tst-exec.c: Support run directly.
28079 * posix/tst-spawn.c: Likewise.
28080
fed0faa1
JM
280812013-01-10 Joseph Myers <joseph@codesourcery.com>
28082
828beb13
JM
28083 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
28084 long.
28085 * math/bits/mathcalls.h (llrint): Likewise.
28086 (llround): Likewise.
28087 * stdlib/stdlib.h (struct drand48_data): Likewise.
28088 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
28089 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
28090 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
28091 Likewise.
28092 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
28093 Likewise.
28094 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
28095 (elf_greg_t): Likewise.
28096 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
28097 (__jmp_buf): Likewise.
28098 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
28099 definitions.
28100 (llrint): Likewise, for all definitions.
28101 (llrintl): Likewise.
28102
fed0faa1
JM
28103 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
28104 Remove [__GNUC__] condition.
28105 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
28106 condition to just [__USE_ISOC99].
28107 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
28108
1a20cb20
L
281092013-01-10 H.J. Lu <hongjiu.lu@intel.com>
28110
28111 [BZ #14200]
28112 * sysdeps/unix/sysv/linux/x86/bits/environments.h
28113 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
28114 defined.
28115 (_POSIX_V6_ILP32_OFF32): Likewise.
28116 (_XBS5_ILP32_OFF32): Likewise.
28117 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
28118 (__ILP32_OFFBIG_LDFLAGS): Likewise.
28119
751b85f7
SP
281202013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
28121
7490eb81
SP
28122 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
28123
751b85f7
SP
28124 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
28125 doubles __mpexp_twomm1. Adjust usage.
28126 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
28127 Remove.
28128
988197f0
AS
281292013-01-10 Andreas Schwab <schwab@suse.de>
28130
28131 [BZ #14964]
28132 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
28133 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
28134
e83d7298
DM
281352013-01-09 David S. Miller <davem@davemloft.net>
28136
034ed64b 28137 [BZ #15003]
57f41c40
AS
28138 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
28139 (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
28140 (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
28141 (TCP_FASTOPEN): Define.
e83d7298
DM
28142 (tcp_repair_opt): New structure.
28143 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
28144 enum values.
57f41c40
AS
28145 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
28146 (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
28147 (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
e83d7298
DM
28148 (tcp_cookie_transactions): New structure.
28149
d5e0b9bd
AB
281502013-01-09 Anton Blanchard <anton@samba.org>
28151
28152 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
28153 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
28154 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
28155 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
28156
0c07e3ea
JM
281572013-01-09 Joseph Myers <joseph@codesourcery.com>
28158
28159 * include/features.h (__USE_ANSI): Remove.
28160
232f7002
RM
281612013-01-09 Roland McGrath <roland@hack.frob.com>
28162
ad98e30c
RM
28163 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
28164
232f7002
RM
28165 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
28166
950c99ca
SP
281672013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
28168
b5792741
SP
28169 * sysdeps/s390/fpu/libm-test-ulps: Update.
28170
47cf2278
SP
28171 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28172
950c99ca
SP
28173 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
28174 (__acr): Likewise.
28175 (__cpy): Likewise.
28176 (norm): Likewise.
28177 (denorm): Likewise.
28178 (__mp_dbl): Likewise.
28179 (__dbl_mp): Likewise.
28180 (add_magnitudes): Likewise.
28181 (sub_magnitudes): Likewise.
28182 (__add): Likewise.
28183 (__sub): Likewise.
28184 (__mul): Likewise.
28185 (__inv): Likewise.
28186 (__dvd): Likewise.
28187 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
28188 (__acr): Likewise.
28189 (__cpy): Likewise.
28190 (norm): Likewise.
28191 (denorm): Likewise.
28192 (__mp_dbl): Likewise.
28193 (__dbl_mp): Likewise.
28194 (add_magnitudes): Likewise.
28195 (sub_magnitudes): Likewise.
28196 (__add): Likewise.
28197 (__sub): Likewise.
28198 (__mul): Likewise.
28199 (__inv): Likewise.
28200 (__dvd): Likewise.
28201 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
28202 (__acr): Likewise.
28203 (__cpy): Likewise.
28204 (norm): Likewise.
28205 (denorm): Likewise.
28206 (__mp_dbl): Likewise.
28207 (__dbl_mp): Likewise.
28208 (add_magnitudes): Likewise.
28209 (sub_magnitudes): Likewise.
28210 (__add): Likewise.
28211 (__sub): Likewise.
28212 (__mul): Likewise.
28213 (__inv): Likewise.
28214 (__dvd): Likewise.
28215
eede9df9
JM
282162013-01-08 Joseph Myers <joseph@codesourcery.com>
28217
28218 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
28219 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
28220 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
28221 2 && __USE_EXTERN_INLINES]: Likewise.
28222
c40ea3d9
AJ
282232013-01-08 Andreas Jaeger <aj@suse.de>
28224
28225 [BZ# 14985]
28226 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
28227 Remove.
28228 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
28229 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
28230
2ccdea26
AB
282312013-01-07 Anton Blanchard <anton@samba.org>
28232
28233 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
28234 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
28235 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
28236 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
28237 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
28238 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
28239 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
28240 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
28241 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
28242 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
28243 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
28244 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
28245 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
28246 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
28247 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
28248 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
28249 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
28250 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
28251 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
28252 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
28253 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
28254 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
28255 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
28256 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
28257 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
28258 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
28259 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
28260 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
28261 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
28262 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
28263 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
28264 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
28265 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
28266 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
28267 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
28268 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
28269 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
28270 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
28271 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
28272 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
28273 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
28274 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
28275 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
28276
a9708fed
JM
282772013-01-07 Joseph Myers <joseph@codesourcery.com>
28278
375607b9
JM
28279 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
28280 (__MALLOC_PMT): Likewise.
28281 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
28282 [__GNUC__], only on [_LIBC].
28283 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
28284 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
28285 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
28286 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
28287 forward declaration.
28288 (realloc_hook_ini): Likewise.
28289 (memalign_hook_ini): Likewise.
28290 (__libc_memalign): Do not use __MALLOC_PMT in variable
28291 declaration.
28292 (__libc_valloc): Likewise.
28293 (__libc_pvalloc): Likewise.
28294 (__libc_calloc): Likewise.
28295 (__posix_memalign): Likewise.
28296
a9708fed
JM
28297 [BZ #14996]
28298 * math/s_casinh.c: Include <float.h>.
28299 (__casinh): Do not do computation with squaring and square root
28300 for large arguments.
28301 * math/s_casinhf.c: Include <float.h>.
28302 (__casinhf): Do not do computation with squaring and square root
28303 for large arguments.
28304 * math/s_casinhl.c: Include <float.h>.
28305 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
28306 (__casinhl): Do not do computation with squaring and square root
28307 for large arguments.
28308 * math/libm-test.inc (casin_test): Add more tests.
28309 (casinh_test): Likewise.
28310 * sysdeps/i386/fpu/libm-test-ulps: Update.
28311 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28312
afec409a
L
283132013-01-04 H.J. Lu <hongjiu.lu@intel.com>
28314
28315 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
28316 (__x86_64_raw_data_cache_size): Likewise.
28317 (__x86_64_data_cache_size_half): Likewise.
28318 (__x86_64_raw_data_cache_size_half): Likewise.
28319 (__x86_64_shared_cache_size): Likewise.
28320 (__x86_64_raw_shared_cache_size): Likewise.
28321 (__x86_64_shared_cache_size_half): Likewise.
28322 (__x86_64_raw_shared_cache_size_half): Likewise.
28323 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
28324 to ...
28325 (__x86_data_cache_size): This.
28326 (__x86_64_raw_data_cache_size): Renamed to ...
28327 (__x86_raw_data_cache_size): This.
28328 (__x86_64_data_cache_size_half): Renamed to ...
28329 (__x86_data_cache_size_half): This.
28330 (__x86_64_raw_data_cache_size_half): Renamed to ...
28331 (__x86_raw_data_cache_size_half): This.
28332 (__x86_64_shared_cache_size): Renamed to ...
28333 (__x86_shared_cache_size): This.
28334 (__x86_64_raw_shared_cache_size): Renamed to ...
28335 (__x86_raw_shared_cache_size): This.
28336 (__x86_64_shared_cache_size_half): Renamed to ...
28337 (__x86_shared_cache_size_half): This.
28338 (__x86_64_raw_shared_cache_size_half): Renamed to ...
28339 (__x86_raw_shared_cache_size_half): This.
28340 * sysdeps/x86_64/memcpy.S: Updated.
28341 * sysdeps/x86_64/memset.S: Likewise.
28342 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
28343 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
28344 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
28345
0b3986d0
DM
283462013-01-04 David S. Miller <davem@davemloft.net>
28347
28348 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28349
e47686e9
AS
283502013-01-04 Andreas Schwab <schwab@linux-m68k.org>
28351
d643bac1
AS
28352 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
28353 1 to avoid redefinition warning.
28354 (__USE_GNU): Don't define.
28355 (init_signaling_nan): Protoize.
28356
e47686e9
AS
28357 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28358
b18decba
SP
283592013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
28360
fffb407f
SP
28361 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
28362 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
28363 (__cpymn): Likewise.
28364 (norm): Remove commented code.
28365 (denorm): Likewise.
28366 (__mp_dbl): Likewise.
28367 (__inv): Likewise.
28368 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
28369 (__cpymn): Likewise.
28370 (norm): Remove commented code.
28371 (denorm): Likewise.
28372 (__mp_dbl): Likewise.
28373 (__inv): Likewise.
28374
b18decba
SP
28375 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
28376 mp_no value for 1.0 and 2.0.
28377 (norm): Use RADIXI instead of radixi.d.
28378 (denorm): Likewise.
28379 (__mul): Use 0.0 instead of zero.d.
28380 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
28381 mp_no value for 1.0 and 2.0.
28382 (norm): Use RADIXI instead of radixi.d.
28383 (denorm): Likewise.
28384 (__mul): Use 0.0 instead of zero.d.
28385
cdc1c96f
JM
283862013-01-04 Joseph Myers <joseph@codesourcery.com>
28387
28388 [BZ #14994]
28389 * math/s_casinh.c (__casinh): Reduce finite argument to first
28390 quadrant then set signs of results at the end.
28391 * math/s_casinhf.c (__casinhf): Likewise.
28392 * math/s_casinhl.c (__casinhl): Likewise.
28393 * math/libm-test.inc (casin_test): Add more tests.
28394 (casinh_test): Likewise.
28395 * sysdeps/i386/fpu/libm-test-ulps: Update.
28396 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28397
302913e1
SP
283982013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
28399
6420d207
SP
28400 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
28401
a9e48ab4
SP
28402 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
28403
b7837264
SP
28404 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
28405 declarations.
28406 (denorm): Likewise.
28407 (__mp_dbl): Likewise.
28408 (__inv): Likewise.
28409
f8af25d2
SP
28410 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
28411 and adjust the header comment.
28412
302913e1
SP
28413 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
28414 variable name from declaration.
28415
5d7dd1ca
L
284162013-01-03 H.J. Lu <hongjiu.lu@intel.com>
28417
28418 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
28419 Initialize COMMON_CPUID_INDEX_7 element.
28420 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
28421 (CPUID_RTM): Likewise.
28422 (HAS_RTM): Likewise.
28423 (COMMON_CPUID_INDEX_7): New enum.
28424
2f5f40f4
AS
284252013-01-03 Andreas Schwab <schwab@linux-m68k.org>
28426
28427 [BZ #14981]
28428 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
28429 size is zero, record memory as freed.
28430
4056f4a0
AJ
284312013-01-03 Andreas Jaeger <aj@suse.de>
28432
28433 * po/ia.po: Add new Interlingua translation.
28434
ab15736f 284352012-01-03 Allan McRae <allan@archlinux.org>
fd80f0b7
AM
28436
28437 * locale/programs/localedef.c: Fix description of '--posix' flag.
28438
568035b7
JM
284392013-01-02 Joseph Myers <joseph@codesourcery.com>
28440
e6898b8d
JM
28441 * NEWS: Update dates in second copyright notice.
28442 * README: Update copyright dates in example.
28443 * manual/libc.texinfo: Update copyright dates.
28444 * scripts/test-installation.pl: Update copyright date in --version
28445 output.
28446
0e2f9562
JM
28447 * hurd/ctty-input.c: Fix copyright notice formatting.
28448 * hurd/ctty-output.c: Likewise.
28449 * hurd/dtable.c: Likewise.
28450 * hurd/hurd-raise.c: Likewise.
28451 * hurd/hurdprio.c: Likewise.
28452 * hurd/msgportdemux.c: Likewise.
28453 * misc/sys/file.h: Likewise.
28454 * misc/sys/ioctl.h: Likewise.
28455 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
28456 * sysdeps/mach/hurd/chdir.c: Likewise.
28457 * sysdeps/mach/hurd/fchdir.c: Likewise.
28458 * sysdeps/mach/hurd/rename.c: Likewise.
28459 * sysdeps/mach/hurd/rmdir.c: Likewise.
28460 * sysdeps/mach/hurd/seekdir.c: Likewise.
28461 * sysdeps/mach/hurd/setsid.c: Likewise.
28462 * sysdeps/posix/wait3.c: Likewise.
28463
568035b7
JM
28464 * All files with FSF copyright notices: Update copyright dates
28465 using scripts/update-copyrights.
28466 * intl/plural.c: Regenerated.
28467 * locale/programs/charmap-kw.h: Likewise.
28468 * locale/programs/locfile-kw.h: Likewise.
28469
da08f647
SP
284702013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
28471
0f5477af
SP
28472 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
28473 four values.
28474
44e0d4c2
SP
28475 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
28476 calculation loop and add branch prediction.
28477
4d55b4e5
SP
28478 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
28479 check access beyond bounds of m1np.
28480
da08f647
SP
28481 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
28482 MPTWO.
28483 (__inv): Remove local variable MPTWO to use the global
28484 constant.
28485 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
28486 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
28487 variable MPTWO.
28488 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
28489 MP3HALFS static const.
28490
8e051029
DM
284912013-01-01 David S. Miller <davem@davemloft.net>
28492
28493 * po/ca.po: Update from translation team.
28494
f4cf5f2d
JM
284952013-01-01 Joseph Myers <joseph@codesourcery.com>
28496
28497 * scripts/update-copyrights: New file.
28498 * Makeconfig: Reformat copyright notice.
28499 * ctype/ctype.h: Likewise.
28500 * debug/swprintf_chk.c: Likewise.
28501 * elf/dl-cache.c: Likewise.
28502 * elf/dl-debug.c: Likewise.
28503 * elf/dl-object.c: Likewise.
28504 * grp/initgroups.c: Likewise.
28505 * hurd/Makefile: Likewise.
28506 * hurd/hurd/signal.h: Likewise.
28507 * hurd/hurdfault.c: Likewise.
28508 * hurd/hurdioctl.c: Likewise.
28509 * hurd/hurdlookup.c: Likewise.
28510 * hurd/intr-msg.c: Likewise.
28511 * iconv/gconv_open.c: Likewise.
28512 * libio/swprintf.c: Likewise.
28513 * locale/lc-ctype.c: Likewise.
28514 * locale/nl_langinfo.c: Likewise.
28515 * mach/Machrules: Likewise.
28516 * mach/Makefile: Likewise.
28517 * malloc/obstack.h: Likewise.
28518 * manual/Makefile: Likewise.
28519 * manual/tsort.awk: Likewise.
28520 * misc/bits/stab.def: Likewise.
28521 * nis/nis_print_group_entry.c: Likewise.
28522 * nis/nis_table.c: Likewise.
28523 * nis/nss_compat/compat-pwd.c: Likewise.
28524 * nis/nss_compat/compat-spwd.c: Likewise.
28525 * po/Makefile: Likewise.
28526 * posix/fnmatch.c: Likewise.
28527 * posix/regex.h: Likewise.
28528 * resolv/Makefile: Likewise.
28529 * resolv/nss_dns/dns-network.c: Likewise.
28530 * resolv/res_hconf.c: Likewise.
28531 * scripts/gen-sorted.awk: Likewise.
28532 * soft-fp/soft-fp.h: Likewise.
28533 * stdio-common/printf.h: Likewise.
28534 * stdlib/monetary.h: Likewise.
28535 * stdlib/random.c: Likewise.
28536 * stdlib/random_r.c: Likewise.
28537 * sysdeps/generic/Makefile: Likewise.
28538 * sysdeps/gnu/Makefile: Likewise.
28539 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
28540 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
28541 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
28542 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
28543 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
28544 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
28545 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
28546 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
28547 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
28548 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
28549 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
28550 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
28551 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
28552 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
28553 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
28554 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
28555 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
28556 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
28557 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
28558 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
28559 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
28560 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
28561 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
28562 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
28563 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
28564 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
28565 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
28566 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
28567 * sysdeps/mach/hurd/errnos.awk: Likewise.
28568 * sysdeps/mach/hurd/fork.c: Likewise.
28569 * sysdeps/mach/hurd/getcwd.c: Likewise.
28570 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
28571 * sysdeps/mach/hurd/mmap.c: Likewise.
28572 * sysdeps/mach/hurd/utimes.c: Likewise.
28573 * sysdeps/mach/hurd/xmknod.c: Likewise.
28574 * sysdeps/posix/profil.c: Likewise.
28575 * sysdeps/posix/readdir_r.c: Likewise.
28576 * sysdeps/powerpc/bits/mathdef.h: Likewise.
28577 * sysdeps/powerpc/bits/setjmp.h: Likewise.
28578 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
28579 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
28580 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
28581 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
28582 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
28583 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
28584 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
28585 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
28586 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
28587 * sysdeps/pthread/lio_listio.c: Likewise.
28588 * sysdeps/sparc/dl-procinfo.h: Likewise.
28589 * sysdeps/unix/i386/sysdep.S: Likewise.
28590 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
28591 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
28592 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
28593 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
28594 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
28595 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
28596 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
28597 * sysdeps/unix/sysv/linux/speed.c: Likewise.
28598 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
28599 * sysdeps/wordsize-32/divdi3.c: Likewise.
28600 * time/sys/time.h: Likewise.
28601 * wcsmbs/Makefile: Likewise.
28602
0549fbba
DM
286032013-01-01 David S. Miller <davem@davemloft.net>
28604
a141f1a7
DM
28605 * po/fr.po: Update from translation team.
28606
0549fbba
DM
28607 * catgets/gencat.c: Update copyright year.
28608 * csu/version.c: Likewise.
28609 * debug/catchsegv.sh: Likewise.
28610 * debug/pcprofiledump.c: Likewise.
28611 * debug/xtrace.sh: Likewise.
28612 * elf/ldconfig.c: Likewise.
28613 * elf/ldd.bash.in: Likewise.
28614 * elf/pldd.c: Likewise.
28615 * elf/sotruss.ksh: Likewise.
28616 * elf/sprof.c: Likewise.
28617 * iconv/iconv_prog.c: Likewise.
28618 * iconv/iconvconfig.c: Likewise.
28619 * locale/programs/locale.c: Likewise.
28620 * locale/programs/localedef.c: Likewise.
28621 * login/programs/pt_chown.c: Likewise.
28622 * malloc/memusage.sh: Likewise.
28623 * malloc/memusagestat.c: Likewise.
28624 * malloc/mtrace.pl: Likewise.
28625 * nscd/nscd.c: Likewise.
28626 * nss/getent.c: Likewise.
28627 * nss/makedb.c: Likewise.
28628 * posix/getconf.c: Likewise.
28629
18ea052c
SP
286302012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
28631
28632 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
28633 numbers.
28634
9c89fca6
MF
286352012-12-30 Mike Frysinger <vapier@gentoo.org>
28636
28637 * math/bits/mathcalls.h (modf): Use __nonnull.
28638
085ec079
SP
286392012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
28640
28641 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
28642 (split): Use macro CN instead of the bare value.
28643 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
28644 could be used.
28645 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
28646 instead of the bare value.
28647 (power1): Likewise.
28648
6d9f97e1
SP
286492012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
28650
d63f73be
SP
28651 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
28652 __ATAN_TWOM.
28653 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
28654
6d9f97e1
SP
28655 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
28656 their values.
28657 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
28658 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
28659 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
28660 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
28661
4c4febf5
AJ
286622012-12-28 Andreas Jaeger <aj@suse.de>
28663
af5843ef
AJ
28664 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
28665 values are from Linux 3.7.
28666
4c4febf5
AJ
28667 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
28668 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
28669
99136f82
SP
286702012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
28671
2f216c3c 28672 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
91998e44
SP
28673 TRUE case.
28674
99136f82
SP
28675 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
28676 (norm): Likewise.
28677 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
28678 variables with preprocessor constants.
28679 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
28680 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
28681 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
28682
7fffbdff
BH
286832012-12-27 Bruno Haible <bruno@clisp.org>
28684
28685 [BZ #14317]
28686 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
28687 only if needed.
28688
b76eb5f0
SP
286892012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
28690
31a7fe5c
SP
28691 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
28692 and use variable directly.
28693 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
28694
b76eb5f0
SP
28695 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
28696 MPONE.
28697 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
28698 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
28699 variable MPONE.
28700 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
28701 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
28702 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
28703 include directive. Remove local variable MPONE.
28704 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
28705 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
28706 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
28707
2c8bfe7d
DM
287082012-12-25 David S. Miller <davem@davemloft.net>
28709
28710 * version.h (RELEASE): Set to "development".
28711 (VERSION): Set to "2.17.90".
28712 * NEWS: Add 2.18 section.
28713
147d03b0
DM
287142012-12-21 David S. Miller <davem@davemloft.net>
28715
28716 * po/hr.po: Update from translation team.
28717
a8ebb2b9
AK
287182012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28719
28720 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
28721
95b4f1b6
SE
287222012-12-19 Steve Ellcey <sellcey@mips.com>
28723
b2d94007 28724 * NEWS: Mention new memcpy for MIPS.
95b4f1b6 28725
cedb2a90
MS
287262012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
28727
28728 * manual/contrib.texi (Contributors): Spelling correction.
28729
bbf527d6
DM
287302012-12-15 David S. Miller <davem@davemloft.net>
28731
28732 * po/ru.po: Update from translation team.
28733
bc38c906
DM
287342012-12-13 David S. Miller <davem@davemloft.net>
28735
85429b1a
DM
28736 * NEWS: Mention IFUNC testsuite enhancements.
28737
d283e353
DM
28738 * po/pl.po: Update from translation team.
28739 * po/bg.po: Likewise.
28740
bc38c906
DM
28741 * manual/contrib.texi (Contributors): Update entries for Hongjiu
28742 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
28743
a181b0d7
DM
287442012-12-11 David S. Miller <davem@davemloft.net>
28745
4641d57e
DM
28746 * po/sv.po: Update from translation team.
28747
f7bc6495
DM
28748 * po/vi.po: Update from translation team.
28749
6fc9048f
DM
28750 * po/cs.po: Update from translation team.
28751
a181b0d7
DM
28752 * po/de.po: Update from translation team.
28753 * po/eo.po: Likewise.
28754 * po/nl.po: Likewise.
28755
f70bfe80
SP
287562012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
28757
3c8b4190
SP
28758 [BZ #14246]
28759 * manual/argp.texi (Argp Helper Functions): Move node to follow
28760 Argp Parsing State.
28761
f70bfe80
SP
28762 [BZ #14872]
28763 * manual/conf.texi (Limits on File System Capacity): Mention if
28764 terminating null is included in the max size.
28765
188f0adf
AJ
287662012-12-10 Andreas Jaeger <aj@suse.de>
28767
28768 * po/cs.po: Update from translation team.
28769
56e7d3ad
SP
287702012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
28771
28772 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
28773 void pointer and cast to uintptr_t.
28774 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
28775 path.
28776 * sysdeps/s390/s390-64/memcpy.S: Likewise.
28777 * sysdeps/s390/s390-64/memset.S: Likewise.
28778
76f2d2ea 287792012-12-08 Benno Schulenberg <bensberg@justemail.net>
c430c4af
BS
28780
28781 [BZ #14833]
28782 * menual/message.texi (Message Translation): Fix typos.
28783 (Helper programs for gettext): Likewise.
28784
67cbf9a2
AS
287852012-12-07 Andreas Schwab <schwab@linux-m68k.org>
28786
28787 [BZ #14898]
28788 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
28789 Change to -1.
28790
682d0e9a
DM
287912012-12-07 David S. Miller <davem@davemloft.net>
28792
28793 * po/libc.pot: Update.
28794
573cd484
RH
287952012-12-07 Richard Henderson <rth@redhat.com>
28796
7e9da188 28797 [BZ #10114]
573cd484
RH
28798 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
28799 normal/normal case to before the switch.
28800 (_FP_DIV): Likewise.
28801
e933a943
MF
288022012-12-06 Carlos O'Donell <carlos@systemhalted.org>
28803 Mike Frysinger <vapier@gentoo.org>
28804
28805 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
28806 check for __NR_fadvise64_64.
28807
82123268
CM
288082012-12-06 Chris Metcalf <cmetcalf@tilera.com>
28809
28810 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
28811 0, not just to plain "0" as a statement.
28812 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
28813 with cw.
28814
d9814526
JM
288152012-12-06 Joseph Myers <joseph@codesourcery.com>
28816
28817 * NEWS: Use sourceware.org in Bugzilla URL.
28818
7728c574
SP
288192012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
28820
f16946dd
SP
28821 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
28822 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
28823
5704bbcb
SP
28824 * stdio-common/tst-put-error.c (do_test): Add newline to the
28825 padded test to ensure flush.
28826
17aa0516
JL
288272012-12-05 Jeff Law <law@redhat.com>
28828
28829 * sunrpc/etc.rpc (fedfs_admin): Add entry.
28830
363313b5
JM
288312012-12-05 Joseph Myers <joseph@codesourcery.com>
28832
effbd42a
JM
28833 * README: Don't refer to ports add-on as distributed separately.
28834 Mention AArch64 in list of systems supported in the ports add-on.
28835
87600365
JM
28836 * LICENSES: Add more non-FSF copyright and license notices.
28837
a0d7066a
JM
28838 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
28839 ((unused)).
28840
66ca5a5b
JM
28841 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
28842
363313b5
JM
28843 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
28844 10000 as width of padded output.
28845
b37984ad
JM
288462012-12-04 Joseph Myers <joseph@codesourcery.com>
28847
9003570a
JM
28848 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
28849
b37984ad
JM
28850 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
28851 variable LX with __attribute__ ((unused)).
28852 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
28853 Likewise.
28854 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
28855 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
28856 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
28857 with __attribute__ ((unused)).
28858
c8df52ec
DM
288592012-12-04 David S. Miller <davem@abraco.davemloft.net>
28860
28861 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
28862
b3b099af
JM
288632012-12-04 Joseph Myers <joseph@codesourcery.com>
28864
c33aa6e3
JM
28865 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
28866 (CFLAGS-nldbl-acos.c): New variable.
28867 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
28868 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
28869 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
28870 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
28871 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
28872 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
28873 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
28874 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
28875 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
28876 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
28877 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
28878 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
28879 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
28880 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
28881 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
28882 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
28883 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
28884 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
28885 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
28886 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
28887 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
28888 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
28889 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
28890 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
28891 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
28892 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
28893 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
28894 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
28895 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
28896 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
28897 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
28898 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
28899 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
28900 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
28901 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
28902 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
28903 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
28904 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
28905 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
28906 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
28907 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
28908 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
28909 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
28910 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
28911 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
28912 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
28913 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
28914 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
28915 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
28916 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
28917 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
28918 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
28919 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
28920 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
28921 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
28922 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
28923 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
28924 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
28925 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
28926 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
28927 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
28928 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
28929 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
28930 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
28931 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
28932 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
28933 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
28934 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
28935 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
28936 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
28937 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
28938 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
28939 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
28940 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
28941 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
28942 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
28943 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
28944 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
28945 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
28946 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
28947 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
28948 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
28949 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
28950 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
28951 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
28952 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
28953 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
28954 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
28955 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
28956 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
28957 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
28958 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
28959 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
28960 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
28961 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
28962 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
28963 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
28964
20f0018d
JM
28965 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
28966 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
28967
b3b099af
JM
28968 [BZ #14914]
28969 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
28970 whole low double instead of just low 47 bits when splitting values
28971 into two parts.
28972
029264d1
AM
289732012-12-03 Allan McRae <allan@archlinux.org>
28974
28975 * manual/stdio.texi (Predefined Printf Handlers): Remove
28976 @hsep and @vsep usage.
28977
c9d6789e
MF
289782012-12-03 Mike Frysinger <vapier@gentoo.org>
28979
28980 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
28981 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
28982
4b7634a5
JL
289832012-12-03 Jeff Law <law@redhat.com>
28984
28985 * time/sys/time.h (settimeofday): Do not mark TV argument
28986 as __nonnull.
28987
eb6cbd24
MF
289882012-12-01 Mike Frysinger <vapier@gentoo.org>
28989
28990 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
28991 when currently writing and seek to current position when not.
28992 * libio/Makefile (tests): Remove bug-fclose1.
28993 * libio/bug-fclose1.c: Delete.
28994
f638872a
JM
289952012-12-01 Joseph Myers <joseph@codesourcery.com>
28996
28997 * manual/arith.texi (feenableexcept): Fix typo.
28998 (fedisableexcept): Likewise.
28999
48085d14
RM
290002012-11-30 Roland McGrath <roland@hack.frob.com>
29001
29002 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
29003 second, differently-typed declaration, rather than a cast.
29004
1a538b9f
SP
290052012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
29006
29007 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
29008 * include/rpc/svc.h: ... here.
29009
d07f2ff1 290102012-11-30 Aurelien Jarno <aurel32@debian.org>
cc8bb21c
AJ
29011
29012 [BZ #13013]
29013 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
29014 depending n and resplen2 to catch cases where answer
29015 equals answerp2.
29016
c93ec1f0
CD
290172012-11-29 Carlos O'Donell <carlos@systemhalted.org>
29018
29019 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
29020 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
29021
37db69de
MF
290222012-11-29 Mike Frysinger <vapier@gentoo.org>
29023
29024 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
29025
e10c4e4f
RM
290262012-11-29 Roland McGrath <roland@hack.frob.com>
29027
29028 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
29029
2af1b328
JL
290302012-11-28 Jeff Law <law@redhat.com>
29031
29032 [BZ #13761]
29033 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
29034 dataset_temporary. Track alloca usage into alloca_used.
29035 If dataset is large allocate and release it via malloc/free.
29036
111db5b1
FW
290372012-06-04 Florian Weimer <fweimer@redhat.com>
29038
f06cc227 29039 [BZ #14197]
111db5b1
FW
29040 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
29041
dd694abd
DM
290422012-11-28 David S. Miller <davem@davemloft.net>
29043
29044 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29045
9984dd01
JM
290462012-11-28 Joseph Myers <joseph@codesourcery.com>
29047
29048 [BZ #14803]
29049 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
29050 of pi/2 rounded to nearest to 64 bits.
29051 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
29052 nearest to 64 bits.
29053 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
29054 bits.
29055
14bc93a9
JL
290562012-11-28 Jeff Law <law@redhat.com>
29057 Martin Osvald <mosvald@redhat.com>
29058
29059 [BZ #14889]
29060 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
29061 * sunrpc/svc.c: Include time.h.
29062 (__svc_accept_failed): New function.
29063 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
29064 any reason other than EINTR, call __svc_accept_failed.
29065 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
29066 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
29067
e3c6aa3a
AS
290682012-11-28 Andreas Schwab <schwab@suse.de>
29069
29070 * scripts/abilist.awk: Also handle indirect functions in .opd
29071 section.
29072
1bead169
JM
290732012-11-28 Joseph Myers <joseph@codesourcery.com>
29074
29075 [BZ #13881]
29076 * sysdeps/x86/fpu/powl_helper.c: New file.
29077 * sysdeps/x86/fpu/Makefile: Likewise.
29078 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
29079 (p3): New object.
29080 (__ieee754_powl): Use __powl_helper for finite arguments except
29081 integer exponents below 8.
29082 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
29083 (p3): New object.
29084 (__ieee754_powl): Use __powl_helper for finite arguments except
29085 integer exponents below 8.
29086 * math/libm-test.inc (pow_test): Add more tests and enable some
29087 previously disabled tests.
29088 * sysdeps/i386/fpu/libm-test-ulps: Update.
29089 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29090
0817d63d
SP
290912012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
29092 Carlos O'Donell <carlos_odonell@mentor.com>
29093
29094 * nss/makedb.c (is_prime): Assert that input is odd and greater
29095 than 4. Note that fact in a comment too.
29096 (next_prime): Add 4 to input.
29097
de2fd463
SP
290982012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
29099
29100 [BZ #11741]
29101 * libio/Makefile (tests): Add test case tst-fwrite-error.
29102 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
29103 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
29104 * libio/tst-fwrite-error.c: New test case.
29105
c515fb51
L
291062012-11-26 H.J. Lu <hongjiu.lu@intel.com>
29107
29108 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
29109 before casting to void *.
29110 * include/libc-internal.h (__pointer_type): New macro.
29111 (__integer_if_pointer_type_sub): Likewise.
29112 (__integer_if_pointer_type): Likewise.
29113 (cast_to_integer): Likewise.
29114 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
29115 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
29116 before casting to atomic64_t.
29117 (atomic_exchange_acq): Likewise.
29118 (__arch_exchange_and_add_body): Likewise.
29119 (__arch_add_body): Likewise.
29120 (atomic_add_negative): Likewise.
29121 (atomic_add_zero): Likewise.
29122
4cf77aa9
JM
291232012-11-26 Joseph Myers <joseph@codesourcery.com>
29124
29125 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
29126 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
29127 (add_fdes): Likewise.
29128 (linear_search_fdes): Likewise.
29129 (binary_search_unencoded_fdes): Likewise.
29130
d260b3b4
AS
291312012-11-26 Andreas Schwab <schwab@linux-m68k.org>
29132
29133 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
29134
67060746
AC
291352012-11-24 Adam Conrad <adconrad@0c3.net>
29136
29137 * configure.in: Autodetect C++ header directories.
29138 * configure: Regenerated.
29139
800938a1
MF
291402012-11-23 Mike Frysinger <vapier@gentoo.org>
29141
29142 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
29143
4e6e34e6
AS
291442012-11-23 Andreas Schwab <schwab@linux-m68k.org>
29145
29146 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29147
7c7feb47
JM
291482012-11-22 Joseph Myers <joseph@codesourcery.com>
29149
7184dcdf
JM
29150 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
29151 LDBL_MANT_DIG == 106]: Disable some tests.
29152 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
29153 Likewise.
29154 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
29155 Likewise.
29156
0a42601f
JM
29157 [BZ #14871]
29158 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
29159 input for small inputs. Return +/- pi/2 for large inputs.
29160 * math/libm-test.inc (atan_test): Add more tests.
29161
79c9b9fe
JM
29162 * sysdeps/generic/unwind-dw2-fde-glibc.c
29163 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
29164 __attribute__ ((unused)).
29165
c60d3bf2
JM
29166 [BZ #14645]
29167 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
29168 x * y if x and y are nonzero and z is zero.
29169
ef1e0867
JM
29170 [BZ #14811]
29171 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
29172 nonzero exponents with absolute value below 0x1p-117 to +/-
29173 0x1p-117.
29174
1468ded3
JM
29175 [BZ #14869]
29176 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
29177 up arguments below 2**-450, not just those below 2**-500.
29178 * math/libm-test.inc (hypot_test): Add another test.
29179
8e27e3cc
JM
29180 [BZ #14868]
29181 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
29182 Return a+b for ratio over 2**120, not 2**60.
29183 * math/libm-test.inc (hypot_test): Add another test.
29184
c9c0279b
JM
29185 * math/libm-test.inc (clog_test): Use
29186 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
29187 (clog10_test): Likewise.
29188
7c7feb47
JM
29189 [BZ #6778]
29190 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
29191
fff1530e
AS
291922012-11-22 Andreas Schwab <schwab@suse.de>
29193
29194 * sysdeps/i386/fpu/libm-test-ulps: Update.
29195
94558d30
PT
291962012-11-22 Pino Toscano <toscano.pino@tiscali.it>
29197
29198 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
29199 printf output with newline.
29200
7e1be741
L
292012012-11-21 H.J. Lu <hongjiu.lu@intel.com>
29202
6bfea974
L
29203 [BZ #14865]
29204 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
29205 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
29206 -z nodlopen, -z initfirst and -z execstack support.
29207 * configure: Regenerated.
29208
7e1be741
L
29209 * elf/elf.h (DF_1_NODIRECT): New macro.
29210 (DF_1_IGNMULDEF): Likewise.
29211 (DF_1_NOKSYMS): Likewise.
29212 (DF_1_NOHDR): Likewise.
29213 (DF_1_EDITED): Likewise.
29214 (DF_1_NORELOC): Likewise.
29215 (DF_1_SYMINTPOSE): Likewise.
29216 (DF_1_GLOBAUDIT): Likewise.
29217 (DF_1_SINGLETON): Likewise.
29218 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
29219 DT_1_SUPPORTED_MASK bits.
29220 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
29221
105ce2ce
CD
292222012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
29223
29224 * sysdeps/unix/make-syscalls.sh: Document prefixes.
29225
123be9de
TS
292262012-11-20 Thomas Schwinge <thomas@codesourcery.com>
29227
d072f3f7
TS
29228 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
29229 macro.
29230
123be9de
TS
29231 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
29232 (sendmmsg): Move declarations...
29233 * socket/sys/socket.h: ... here.
29234 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
29235 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
29236 include it from...
29237 * socket/recvmmsg.c: ... this new file.
29238 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
29239 (sendmmsg): Rename to __sendmmsg, create weak alias and make
29240 definition of __sendmmsg hidden.
29241 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
29242 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
29243 Move ENOSYS stub into and include it from...
29244 * socket/sendmmsg.c: ... this new file.
29245 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
29246 (sysdep_routines): Move recvmmsg and sendmmsg...
29247 * socket/Makefile (routines): ... here.
29248 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
29249 (GLIBC_PRIVATE): Add __sendmmsg.
29250 * include/sys/socket.h (__sendmmsg): Add declarations.
29251 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
29252 sendmmsg.
29253
cf9a5d18
JM
292542012-11-20 Joseph Myers <joseph@codesourcery.com>
29255
29256 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
29257 variable I1 with __attribute__ ((unused)).
29258 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
29259
ecd4caf9
JM
292602012-11-19 Joseph Myers <joseph@codesourcery.com>
29261
be14d48f
JM
29262 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
29263 DUMMY variables with __attribute__ ((unused)).
29264
ecd4caf9
JM
29265 * bits/byteswap.h: Include <bits/types.h>.
29266 (__bswap_64): Use __uint64_t instead of unsigned long long int.
29267
986cab95
PT
292682012-11-19 Pino Toscano <toscano.pino@tiscali.it>
29269
29270 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
29271 string_t. Do not manually set errno.
29272 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
29273 length with __strnlen. Make sure to both set errno and return it on
29274 failure.
29275
6d33cc9d
DM
292762012-11-19 David S. Miller <davem@davemloft.net>
29277
29278 With help from Joseph Myers.
29279 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
29280 very large arguments properly.
29281 * math/libm-test.inc (atan_test): New tests.
29282 (atan2_test): New tests.
29283 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29284 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29285
ee663277
JM
292862012-11-19 Joseph Myers <joseph@codesourcery.com>
29287
877f2d8e
JM
29288 [BZ #14856]
29289 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
29290 Define to 3.
29291
116fc08a
JM
29292 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
29293 [POSIX] (EADDRNOTAVAIL): Likewise.
29294 [POSIX] (EAFNOSUPPORT): Likewise.
29295 [POSIX] (EALREADY): Likewise.
29296 [POSIX] (ECONNABORTED): Likewise.
29297 [POSIX] (ECONNREFUSED): Likewise.
29298 [POSIX] (ECONNRESET): Likewise.
29299 [POSIX] (EDESTADDRREQ): Likewise.
29300 [POSIX] (EDQUOT): Likewise.
29301 [POSIX] (EHOSTUNREACH): Likewise.
29302 [POSIX] (EIDRM): Likewise.
29303 [POSIX] (EISCONN): Likewise.
29304 [POSIX] (ELOOP): Likewise.
29305 [POSIX] (EMULTIHOP): Likewise.
29306 [POSIX] (ENETDOWN): Likewise.
29307 [POSIX] (ENETUNREACH): Likewise.
29308 [POSIX] (ENOBUFS): Likewise.
29309 [POSIX] (ENODATA): Likewise.
29310 [POSIX] (ENOLINK): Likewise.
29311 [POSIX] (ENOMSG): Likewise.
29312 [POSIX] (ENOPROTOOPT): Likewise.
29313 [POSIX] (ENOSR): Likewise.
29314 [POSIX] (ENOSTR): Likewise.
29315 [POSIX] (ENOTCONN): Likewise.
29316 [POSIX] (ENOTSOCK): Likewise.
29317 [POSIX] (EOPNOTSUPP): Likewise.
29318 [POSIX] (EOVERFLOW): Likewise.
29319 [POSIX] (EPROTO): Likewise.
29320 [POSIX] (EPROTONOSUPPORT): Likewise.
29321 [POSIX] (EPROTOTYPE): Likewise.
29322 [POSIX] (ESTALE): Likewise.
29323 [POSIX] (ETIME): Likewise.
29324 [POSIX] (ETXTBSY): Likewise.
29325 [POSIX] (EWOULDBLOCK): Likewise.
29326 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
29327 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
29328 [POSIX] (SEEK_CUR): Likewise.
29329 [POSIX] (SEEK_END): Likewise.
29330 [POSIX || UNIX98] (mode_t): Do not require.
29331 [POSIX] (off_t): Likewise.
29332 [POSIX] (pid_t): Likewise.
29333 [POSIX] (sys/stat.h): Do not allow header.
29334 [POSIX] (unistd.h): Likewise.
29335 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
29336 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
29337 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
29338 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
29339 require.
29340 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
29341 sigevent): Specify elements.
29342 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
29343 entry.
29344 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
29345 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
29346
a483863f
JM
29347 * conform/data/cpio.h-data [POSIX]: Disable whole file.
29348 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
29349 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
29350 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
29351 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
29352 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
29353 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
29354 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
29355 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
29356 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
29357 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
29358 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
29359 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
29360 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
29361 Likewise.
29362 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
29363 Likewise.
29364 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
29365 Likewise.
29366 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
29367 Likewise.
29368 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
29369 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
29370 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
29371 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
29372 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
29373 Specify lower bound on value.
29374 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
29375 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
29376 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
29377 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
29378 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
29379 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
29380 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
29381 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
29382 value.
29383 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
29384 as optional.
29385 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
29386 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
29387 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
29388 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
29389 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
29390 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
29391 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
29392 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
29393 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
29394 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
29395 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
29396 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
29397 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
29398 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
29399 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
29400 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
29401 entry.
29402 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
29403 optional.
29404 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
29405 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
29406 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
29407 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
29408 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
29409 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
29410 Likewise.
29411 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
29412 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
29413 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
29414 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
29415 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
29416 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
29417 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
29418 as optional.
29419 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
29420 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
29421 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
29422 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
29423 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
29424 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
29425 specify as optional.
29426 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
29427 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
29428 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
29429 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
29430 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
29431 [XPG3] (NL_LANGMAX): Likewise.
29432 [POSIX || XPG3] (NL_MSGMAX): Likewise.
29433 [POSIX || XPG3] (NL_NMAX): Likewise.
29434 [POSIX || XPG3] (NL_SETMAX): Likewise.
29435 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
29436 [XPG3] (NZERO): Likewise.
29437 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
29438 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
29439 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
29440 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
29441 (REG_ERANGE): Expect.
29442 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
29443 optional-constant.
29444 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
29445 Use (void) in prototype.
29446 [POSIX] (*_t): Allow.
29447 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
29448 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
29449 (WRDE_BADVAL): Expect.
29450
5ba924e3
JM
29451 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
29452 expect.
29453 [XPG3 || XPG4] (O_RSYNC): Likewise.
29454 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
29455 Likewise.
29456 [XPG3 || XPG4] (pthread_sigmask): Likewise.
29457 [XPG3 || XPG4] (sigqueue): Likewise.
29458 [XPG3 || XPG4] (sigtimedwait): Likewise.
29459 [XPG3 || XPG4] (sigwaitinfo): Likewise.
29460 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
29461 [XPG3 || XPG4] (vsnprintf): Likewise.
29462 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
29463 Likewise.
29464 [XPG3 || XPG4] (blksize_t): Likewise.
29465 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
29466 Likewise.
29467 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
29468 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
29469 [XPG3 || XPG4] (struct itimerspec): Likewise.
29470 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
29471 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
29472 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
29473 [XPG3 || XPG4] (clockid_t): Likewise.
29474 [XPG3 || XPG4] (timer_t): Likewise.
29475 [XPG3 || XPG4] (clock_getres): Likewise.
29476 [XPG3 || XPG4] (clock_gettime): Likewise.
29477 [XPG3 || XPG4] (clock_settime): Likewise.
29478 [XPG3 || XPG4] (nanosleep): Likewise.
29479 [XPG3 || XPG4] (timer_create): Likewise.
29480 [XPG3 || XPG4] (timer_delete): Likewise.
29481 [XPG3 || XPG4] (timer_gettime): Likewise.
29482 [XPG3 || XPG4] (timer_getoverrun): Likewise.
29483 [XPG3 || XPG4] (timer_settime): Likewise.
29484 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
29485 [XPG3 || XPG4] (getlogin_r): Likewise.
29486 [XPG3 || XPG4] (pread): Likewise.
29487 [XPG3 || XPG4] (pthread_atfork): Likewise.
29488 [XPG3 || XPG4] (pwrite): Likewise.
29489
ee663277
JM
29490 [BZ #14835]
29491 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
29492 <bits/siginfo.h>.
29493
942caa16
PT
294942012-11-19 Pino Toscano <toscano.pino@tiscali.it>
29495
e19af380
PT
29496 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
29497 finalizing MALLSTREAM.
29498
942caa16
PT
29499 * sysdeps/mach/hurd/syncfs.c: New file.
29500
cfde9b46
SP
295012012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
29502
29503 [BZ #14719]
29504 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
29505 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
29506 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
29507 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
29508 (_nss_dns_gethostbyname4_r): Likewise.
29509 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
29510 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
29511
f6da27e5
PH
295122012-11-19 Peng Haitao <penght@cn.fujitsu.com>
29513
29514 [BZ #13763]
29515 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
29516
6665d4a2
SM
295172012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
29518
1f51ee92
SM
29519 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
29520 * elf/cache.c (print_entry): Print ",AArch64" for
29521 FLAG_AARCH64_LIB64
29522
6665d4a2
SM
29523 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
29524 * elf/cache.c (print_entry): Print ",hard-float" for
29525 FLAG_ARM_LIBHF.
29526
05b227bd
DM
295272012-11-18 David S. Miller <davem@davemloft.net>
29528
29529 With help from Joseph Myers.
29530 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
29531 cutoff to 2**-13.
29532 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
29533 cutoff to 2**-25.
29534 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
29535 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
29536 small.
29537 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
29538 * math/libm-test.inc (y0_test): New tests.
29539 (y1_test): New tests.
29540 * sysdeps/i386/fpu/libm-test-ulps: Update.
29541 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29542 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29543
786b0b67
AS
295442012-11-18 Andreas Schwab <schwab@linux-m68k.org>
29545
29546 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
29547 64-bit targets.
29548 * configure: Regenerated.
29549
8e18b86d
DM
295502012-11-17 David S. Miller <davem@davemloft.net>
29551
29552 [BZ #14811]
29553 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
29554 nonzero exponents with absolute value below 0x1p-128 to +/-
29555 0x1p-128.
29556
531f1ae0
JM
295572012-11-17 Joseph Myers <joseph@codesourcery.com>
29558
12df29e2
JM
29559 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
29560
150dc1a0
JM
29561 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
29562
531f1ae0
JM
29563 * posix/getconf-speclist.c: New file.
29564 * posix/posix-envs.def: Likewise.
29565 * posix/confstr.c (START_ENV_GROUP): New macro.
29566 (END_ENV_GROUP): Likewise.
29567 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
29568 (KNOWN_PRESENT_ENV_STRING): Likewise.
29569 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
29570 (UNKNOWN_ENVIRONMENT): Likewise.
29571 (confstr): Include posix-envs.def instead of handling
29572 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
29573 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
29574 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
29575 (END_ENV_GROUP): Likewise.
29576 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
29577 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
29578 (UNKNOWN_ENVIRONMENT): Likewise.
29579 (__sysconf): Include posix-envs.def instead of handling associated
29580 cases directly here.
29581 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
29582 preprocessing getconf-speclist.c rather than running getconf or
29583 generating empty file.
29584
a93f9cbc
PT
295852012-11-16 Pino Toscano <toscano.pino@tiscali.it>
29586
29587 * scripts/check-local-headers.sh: Ignore 'mach' headers.
29588
d64d9f87
AL
295892012-11-16 Andrej Lajovic <natrij@gmail.com>
29590
29591 [BZ #14672]
29592 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
29593
447885eb
DM
295942012-11-16 David S. Miller <davem@davemloft.net>
29595
29596 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
29597 smaller than LDBL_EPSILON/2.0L, just return xm1.
29598
bcbf9830
L
295992012-11-16 H.J. Lu <hongjiu.lu@intel.com>
29600
29601 * elf/tst-array1.c (init): Set constructor priority to 1000.
29602 (fini): Set destructor priority to 1000.
29603 * elf/tst-array2dep.c: Likewise.
29604
2b766585
SP
296052012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
29606
29607 [BZ #11741]
29608 * libio/fileops.c (_IO_new_file_write): Correctly return error.
29609 (_IO_new_file_xsputn): Also return EOF if none of the input
29610 data was written when overflow failed.
29611 * libio/iopadn.c (_IO_padn): Likewise.
29612 * libio/iowpadn.c (_IO_wpadn): Likewise.
29613 * stdio-common/tst-put-error.c: Add copyright notice.
29614 (do_test): Add case for printing padded string.
29615 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
29616 _IO_padn returned error.
29617 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
29618 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
29619 return EOF.
29620
b1848fde
SP
296212012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
29622
29623 * libio/libioP.h: Add comment note that the references to C++
29624 bits are now obsolete.
29625
2fd89785
MS
296262012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
29627
29628 * math/libm-test.inc (check_complex): Use asprintf.
29629
e3ea5409
JM
296302012-11-14 Joseph Myers <joseph@codesourcery.com>
29631
29632 * debug/pcprofiledump.c (print_version): Update copyright year.
29633 * malloc/memusagestat.c (print_version): Likewise.
29634
2e64d265
L
296352012-11-14 H.J. Lu <hongjiu.lu@intel.com>
29636
29637 [BZ #14831]
29638 * elf/Makefile (tests): Add tst-audit8.
29639 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
29640 ($(objpfx)tst-audit8.out): New target.
29641 (tst-audit8-ENV): New variable.
29642 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
29643 audit if l_reloc_result is NULL.
29644 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
29645 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
29646 * elf/tst-audit8.c: New file.
29647
c485e4d2
MS
296482012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
29649
29650 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
29651 * misc/Makefile (CFLAGS-select.c): Define.
29652 * posix/Makefile (CFLAGS-pause.c): Define.
29653
3a0d900a
DM
296542012-11-13 David S. Miller <davem@davemloft.net>
29655
29656 * crypt/Makefile: Move test targets after toplevel Rules
29657 inclusion. Grab any necessary sysdep routines when linking.
29658 * crypt/md5.c (md5_process_block): Remove define, we will always
29659 name it __md5_process_block.
29660 (md5_finish_ctx): Update md5_process_block call.
29661 (md5_stream): Likewise.
29662 (md5_process_bytes): Likewise.
29663 (md5_process_block): Rename to __md5_process_block and move to ...
29664 * crypt/md5-block.c: ... here.
29665 * crypt/sha256.c (sha256_process_block): Move to ...
29666 * crypt/sha256-block.c: ... here.
29667 * crypt/sha512.c (sha512_process_block): Move to ...
29668 * crypt/sha512-block.c: ... here.
29669 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
29670 path.
29671 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
29672 * sysdeps/sparc/sparc64/multiarch/Makefile
29673 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
29674 crypt subdir.
29675 (localedef-aux): Add md5 crypto assembler when in locale subdir.
29676 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
29677 multiarch changes.
29678 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
29679 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
29680 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
29681 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
29682 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
29683 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
29684 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
29685 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
29686 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
29687 file.
29688 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
29689 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
29690 file.
29691 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
29692
8ca89318
JM
296932012-11-13 Joseph Myers <joseph@codesourcery.com>
29694
e27d476a
JM
29695 * timezone/tzselect.ksh: Update from tzcode git revision
29696 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
29697 * timezone/zdump.c: Likewise.
29698 * timezone/zic.c: Likewise.
29699 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
29700 in TZVERSION setting, not $(PKGVERSION).
29701 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
29702 REPORT_BUGS_TO settings.
29703
8ca89318
JM
29704 [BZ #14838]
29705 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
29706 macro.
29707
47594329
MS
297082012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
29709
29710 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
29711 detection to immediately after _FP_ROUND().
29712 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
29713 bits are 0.
29714
640ac3f1
DM
297152012-11-11 David S. Miller <davem@davemloft.net>
29716
29717 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
29718 inttypes.h
29719 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
29720 __close rather than their public counterparts.
29721
3d2577bb
JM
297222012-11-10 Joseph Myers <joseph@codesourcery.com>
29723
29724 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
29725 file.
29726 [UNIX98] (sem_timedwait): Do not expect.
29727 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
29728 [XPG4 || UNIX98] (sockatmark): Do not expect.
29729 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
29730 (clock_getcpuclockid): Do not expect.
29731 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
29732 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
29733 Do not expect.
29734 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
29735 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
29736 [UNIX98] (vwscanf): Likewise.
29737 [UNIX98] (vswscanf): Likewise.
29738
fb1ae1ee
JM
297392012-11-09 Joseph Myers <joseph@codesourcery.com>
29740
9ec6f8bd
JM
29741 * timezone/version.h: Remove file.
29742 * timezone/README: Do not refer to version.h.
29743 * timezone/Makefile ($(objpfx)zic.o): New dependency on
29744 $(objpfx)version.h.
29745 ($(objpfx)zdump.o): Likewise.
c3f81911 29746 ($(objpfx)version.h): New target.
9ec6f8bd 29747
0aa8f8a1
JM
29748 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
29749 2012i.
29750 * timezone/README: Don't mention modification to tzselect.ksh.
29751 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
29752 work on unmodified tzselect.ksh. Substitute version numbers in
29753 tzselect.ksh.
29754
4e87147f
JM
29755 * Makefile (format-me): Remove.
29756 (INSTALL): Adjust indentation. Use commands directly instead of
29757 using $(format-me).
29758
8b748aed
JM
29759 * aclocal.m4 (ACX_PKGVERSION): New macro.
29760 (ACX_BUGURL): Likewise.
29761 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
29762 (PKGVERSION): New AC_DEFINE_UNQUOTED.
29763 (REPORT_BUGS_TO): Likewise.
29764 * configure: Regenerated.
29765 * config.h.in (PKGVERSION): New macro.
29766 (REPORT_BUGS_TO): Likewise.
29767 * config.make.in (PKGVERSION): New variable.
29768 (PKGVERSION_TEXI): Likewise.
29769 (REPORT_BUGS_TO): Likewise.
29770 (REPORT_BUGS_TEXI): Likewise.
29771 * Makefile (format-me): Use -I$(common-objpfx)manual.
29772 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
29773 ($(common-objpfx)manual/%): New target.
29774 (manual/%): Remove target.
29775 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
29776 (print_version): Use PKGVERSION.
29777 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
29778 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
29779 and REPORT_BUGS_TO.
29780 ($(objpfx)xtrace): Likewise.
29781 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
29782 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
29783 (print_version): Use PKGVERSION.
29784 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
29785 (do_version): Use PKGVERSION.
29786 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
29787 REPORT_BUGS_TO.
29788 (common-ldd-rewrite): Likewise.
29789 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
29790 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
29791 (print_version): Use PKGVERSION.
29792 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
29793 * elf/pldd.c (argp_program_bug_address): Remove variable.
29794 (more_help): New function.
29795 (argp): Use more_help.
29796 (print_version): Use PKGVERSION.
29797 * elf/sln.c (main): Use PKGVERSION.
29798 (usage): Use REPORT_BUGS_TO.
29799 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
29800 (top level): Use PKGVERSION.
29801 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
29802 (print_version): Use PKGVERSION.
29803 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
29804 (print_version): Use PKGVERSION.
29805 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
29806 (print_version): Use PKGVERSION.
29807 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
29808 (print_version): Use PKGVERSION.
29809 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
29810 (print_version): Use PKGVERSION.
29811 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
29812 (print_version): Use PKGVERSION.
29813 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
29814 and BUGURL.
29815 ($(objpfx)memusage): Likewise.
29816 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
29817 (do_version): Use PKGVERSION.
29818 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
29819 (print_version): Use PKGVERSION.
29820 * malloc/mtrace.pl ($PACKAGE): Remove variable.
29821 ($PKGVERSION): New variable.
29822 ($REPORT_BUGS_TO): Likewise.
29823 (usage): Use $REPORT_BUGS_TO.
29824 (top level): Use $PKGVERSION.
29825 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
29826 ($(objpfx)pkgvers.texi): New rule.
29827 ($(objpfx)stamp-pkgvers): Likewise.
29828 * manual/install.texi: Include pkgvers.texi.
29829 (--with-pkgversion): Document new configure option.
29830 (--with-bugurl): Likewise.
29831 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
29832 than necessarily for this particular distribution. Use
29833 REPORT_BUGS_TO for where to report bugs.
29834 * INSTALL: Regenerated.
29835 * manual/libc.texinfo: Include pkgvers.texi.
29836 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
29837 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
29838 (print_version): Use PKGVERSION.
29839 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
29840 (print_version): Use PKGVERSION.
29841 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
29842 (print_version): Use PKGVERSION.
29843 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
29844 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
29845 macro.
29846 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
29847 (print_version): Use PKGVERSION.
29848 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
29849 (print_version): Use PKGVERSION.
29850 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
29851 and PKGVERSION.
29852
92e4b6a9
JM
29853 * timezone/checktab.awk: Update from tzcode 2012i.
29854 * timezone/ialloc.c: Likewise.
29855 * timezone/private.h: Likewise.
29856 * timezone/scheck.c: Likewise.
29857 * timezone/tzfile.h: Likewise.
29858 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
29859 (TZVERSION): Hardcode tzcode version number.
29860 * timezone/zdump.c: Update from tzcode 2012i.
29861 * timezone/zic.c: Likewise.
29862 * timezone/version.h: New file.
29863 * timezone/README: Describe version.h. Update upstream location.
29864
9bde902c
JM
29865 [BZ #14824]
29866 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
29867 (mktemp): Enable declaration.
29868 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
29869 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
29870 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
29871 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
29872 Likewise.
29873 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
29874 Likewise.
29875 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
29876 Likewise.
29877 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
29878 Likewise.
29879 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
29880 Likewise.
29881 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
29882 Likewise.
29883
fb1ae1ee
JM
29884 [BZ #14821]
29885 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
29886 offset in buffer as u_int32_t not u_long. Consistently use memcpy
29887 for copies of such integer values.
29888 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
29889 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
29890
2c1adbcb
AJ
298912012-11-09 Andreas Jaeger <aj@suse.de>
29892
29893 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
29894 definitions and declarations that are provided by
29895 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
29896
d0f8457e
AK
298972012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29898
3a235abb 29899 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
d0f8457e
AK
29900 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
29901 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
29902 definition.
29903
57241e26
MS
299042012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
29905
29906 * elf/elf.h: Update comment before AArch64 relocations.
29907
60e8270d
DM
299082012-11-07 David S. Miller <davem@davemloft.net>
29909
29910 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
29911 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
29912 (__start_context): Declare.
29913 (__makecontext_ret): Delete.
29914 (__makecontext): Hook up __start_context instead of
29915 __makecontext_ret.
29916 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
29917 (sysdep_routines): Add __start_context when in stdlib.
29918
0fbb0fbc
JM
299192012-11-07 Joseph Myers <joseph@codesourcery.com>
29920
29921 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
29922 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
29923 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
29924 hardcoded "nm".
29925 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
29926 (READELF): New variable. Use it instead of hardcoded "readelf".
29927
eb48db7e
L
299282012-11-07 H.J. Lu <hongjiu.lu@intel.com>
29929
29930 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
29931 * sysdeps/x86/Makefile: Here.
29932 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
29933 * sysdeps/x86/tst-xmmymm.sh: This.
29934
05bcf62a
JM
299352012-11-07 Joseph Myers <joseph@codesourcery.com>
29936
c4b6cf53
JM
29937 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
29938 expectations.
29939 [UNIX98] (pthread_barrier_t): Do not expect.
29940 [UNIX98] (pthread_barrierattr_t): Likewise.
29941 [UNIX98] (pthread_spinlock_t): Likewise.
29942 [UNIX98] (pthread_barrier_destroy): Likewise.
29943 [UNIX98] (pthread_barrier_init): Likewise.
29944 [UNIX98] (pthread_barrier_wait): Likewise.
29945 [UNIX98] (pthread_barrierattr_destroy): Likewise.
29946 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
29947 [UNIX98] (pthread_barrierattr_init): Likewise.
29948 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
29949 [UNIX98] (pthread_getcpuclockid): Likewise.
29950 [UNIX98] (pthread_mutex_timedlock): Likewise.
29951 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
29952 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
29953 [UNIX98] (pthread_sigmask): Likewise.
29954 [UNIX98] (pthread_spin_destroy): Likewise.
29955 [UNIX98] (pthread_spin_init): Likewise.
29956 [UNIX98] (pthread_spin_lock): Likewise.
29957 [UNIX98] (pthread_spin_trylock): Likewise.
29958 [UNIX98] (pthread_spin_unlock): Likewise.
29959 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
29960 Do not expect.
29961 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
29962 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
29963 [XPG3 || XPG4] (pthread_cond_t): Likewise.
29964 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
29965 [XPG3 || XPG4] (pthread_key_t): Likewise.
29966 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
29967 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
29968 [XPG3 || XPG4] (pthread_once_t): Likewise.
29969 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
29970 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
29971 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
29972 [XPG3 || XPG4] (pthread_t): Likewise.
29973
cbe6e120
JM
29974 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
29975 not expect.
29976 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
29977
1b126443
JM
29978 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
29979 Change function return type to int.
29980
b961a573
JM
29981 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
29982 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
29983 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
29984 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
29985 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
29986 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
29987 [!POSIX] (posix_madvise): Likewise.
29988 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
29989 && !UNIX98].
29990 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
29991 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
29992 (mode_t): Likewise.
29993 (posix_mem_offset): Likewise.
29994 (posix_typed_mem_get_info): Likewise.
29995 (posix_typed_mem_open): Likewise.
29996
9e188909
JM
29997 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
29998 Change condition to [XOPEN2K8].
29999
05bcf62a
JM
30000 * conform/conformtest.pl: Preprocess allow-header data with -x c
30001 instead of from stdin.
30002 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
30003 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
30004 [C99-based standards] (cerfc): Likewise.
30005 [C99-based standards] (cexp2): Likewise.
30006 [C99-based standards] (cexpm1): Likewise.
30007 [C99-based standards] (clog10): Likewise.
30008 [C99-based standards] (clog1p): Likewise.
30009 [C99-based standards] (clog2): Likewise.
30010 [C99-based standards] (clgamma): Likewise.
30011 [C99-based standards] (ctgamma): Likewise.
30012 [C99-based standards] (cerff): Likewise.
30013 [C99-based standards] (cerfcf): Likewise.
30014 [C99-based standards] (cexp2f): Likewise.
30015 [C99-based standards] (cexpm1f): Likewise.
30016 [C99-based standards] (clog10f): Likewise.
30017 [C99-based standards] (clog1pf): Likewise.
30018 [C99-based standards] (clog2f): Likewise.
30019 [C99-based standards] (clgammaf): Likewise.
30020 [C99-based standards] (ctgammaf): Likewise.
30021 [C99-based standards] (cerfl): Likewise.
30022 [C99-based standards] (cerfcl): Likewise.
30023 [C99-based standards] (cexp2l): Likewise.
30024 [C99-based standards] (cexpm1l): Likewise.
30025 [C99-based standards] (clog10l): Likewise.
30026 [C99-based standards] (clog1pl): Likewise.
30027 [C99-based standards] (clog2l): Likewise.
30028 [C99-based standards] (clgammal): Likewise.
30029 [C99-based standards] (ctgammal): Likewise.
30030 * conform/data/inttypes.h-data [C99-based standards]: Include
30031 stdint.h-data. Remove all expectations for stdint.h contents.
30032 [C99-based standards] (PRI*): Do not allow.
30033 [C99-based standards] (SCN*): Likewise.
30034 [C99-based standards] (*_t): Likewise.
30035 [C99-based-standards] (PRId8): Expect macro.
30036 [C99-based-standards] (PRIi8): Likewise.
30037 [C99-based-standards] (PRIo8): Likewise.
30038 [C99-based-standards] (PRIu8): Likewise.
30039 [C99-based-standards] (PRIx8): Likewise.
30040 [C99-based-standards] (PRIX8): Likewise.
30041 [C99-based-standards] (SCNd8): Likewise.
30042 [C99-based-standards] (SCNi8): Likewise.
30043 [C99-based-standards] (SCNo8): Likewise.
30044 [C99-based-standards] (SCNu8): Likewise.
30045 [C99-based-standards] (SCNx8): Likewise.
30046 [C99-based-standards] (PRIdLEAST8): Likewise.
30047 [C99-based-standards] (PRIiLEAST8): Likewise.
30048 [C99-based-standards] (PRIoLEAST8): Likewise.
30049 [C99-based-standards] (PRIuLEAST8): Likewise.
30050 [C99-based-standards] (PRIxLEAST8): Likewise.
30051 [C99-based-standards] (PRIXLEAST8): Likewise.
30052 [C99-based-standards] (SCNdLEAST8): Likewise.
30053 [C99-based-standards] (SCNiLEAST8): Likewise.
30054 [C99-based-standards] (SCNoLEAST8): Likewise.
30055 [C99-based-standards] (SCNuLEAST8): Likewise.
30056 [C99-based-standards] (SCNxLEAST8): Likewise.
30057 [C99-based-standards] (PRIdFAST8): Likewise.
30058 [C99-based-standards] (PRIiFAST8): Likewise.
30059 [C99-based-standards] (PRIoFAST8): Likewise.
30060 [C99-based-standards] (PRIuFAST8): Likewise.
30061 [C99-based-standards] (PRIxFAST8): Likewise.
30062 [C99-based-standards] (PRIXFAST8): Likewise.
30063 [C99-based-standards] (SCNdFAST8): Likewise.
30064 [C99-based-standards] (SCNiFAST8): Likewise.
30065 [C99-based-standards] (SCNoFAST8): Likewise.
30066 [C99-based-standards] (SCNuFAST8): Likewise.
30067 [C99-based-standards] (SCNxFAST8): Likewise.
30068 [C99-based-standards] (PRId16): Likewise.
30069 [C99-based-standards] (PRIi16): Likewise.
30070 [C99-based-standards] (PRIo16): Likewise.
30071 [C99-based-standards] (PRIu16): Likewise.
30072 [C99-based-standards] (PRIx16): Likewise.
30073 [C99-based-standards] (PRIX16): Likewise.
30074 [C99-based-standards] (SCNd16): Likewise.
30075 [C99-based-standards] (SCNi16): Likewise.
30076 [C99-based-standards] (SCNo16): Likewise.
30077 [C99-based-standards] (SCNu16): Likewise.
30078 [C99-based-standards] (SCNx16): Likewise.
30079 [C99-based-standards] (PRIdLEAST16): Likewise.
30080 [C99-based-standards] (PRIiLEAST16): Likewise.
30081 [C99-based-standards] (PRIoLEAST16): Likewise.
30082 [C99-based-standards] (PRIuLEAST16): Likewise.
30083 [C99-based-standards] (PRIxLEAST16): Likewise.
30084 [C99-based-standards] (PRIXLEAST16): Likewise.
30085 [C99-based-standards] (SCNdLEAST16): Likewise.
30086 [C99-based-standards] (SCNiLEAST16): Likewise.
30087 [C99-based-standards] (SCNoLEAST16): Likewise.
30088 [C99-based-standards] (SCNuLEAST16): Likewise.
30089 [C99-based-standards] (SCNxLEAST16): Likewise.
30090 [C99-based-standards] (PRIdFAST16): Likewise.
30091 [C99-based-standards] (PRIiFAST16): Likewise.
30092 [C99-based-standards] (PRIoFAST16): Likewise.
30093 [C99-based-standards] (PRIuFAST16): Likewise.
30094 [C99-based-standards] (PRIxFAST16): Likewise.
30095 [C99-based-standards] (PRIXFAST16): Likewise.
30096 [C99-based-standards] (SCNdFAST16): Likewise.
30097 [C99-based-standards] (SCNiFAST16): Likewise.
30098 [C99-based-standards] (SCNoFAST16): Likewise.
30099 [C99-based-standards] (SCNuFAST16): Likewise.
30100 [C99-based-standards] (SCNxFAST16): Likewise.
30101 [C99-based-standards] (PRId32): Likewise.
30102 [C99-based-standards] (PRIi32): Likewise.
30103 [C99-based-standards] (PRIo32): Likewise.
30104 [C99-based-standards] (PRIu32): Likewise.
30105 [C99-based-standards] (PRIx32): Likewise.
30106 [C99-based-standards] (PRIX32): Likewise.
30107 [C99-based-standards] (SCNd32): Likewise.
30108 [C99-based-standards] (SCNi32): Likewise.
30109 [C99-based-standards] (SCNo32): Likewise.
30110 [C99-based-standards] (SCNu32): Likewise.
30111 [C99-based-standards] (SCNx32): Likewise.
30112 [C99-based-standards] (PRIdLEAST32): Likewise.
30113 [C99-based-standards] (PRIiLEAST32): Likewise.
30114 [C99-based-standards] (PRIoLEAST32): Likewise.
30115 [C99-based-standards] (PRIuLEAST32): Likewise.
30116 [C99-based-standards] (PRIxLEAST32): Likewise.
30117 [C99-based-standards] (PRIXLEAST32): Likewise.
30118 [C99-based-standards] (SCNdLEAST32): Likewise.
30119 [C99-based-standards] (SCNiLEAST32): Likewise.
30120 [C99-based-standards] (SCNoLEAST32): Likewise.
30121 [C99-based-standards] (SCNuLEAST32): Likewise.
30122 [C99-based-standards] (SCNxLEAST32): Likewise.
30123 [C99-based-standards] (PRIdFAST32): Likewise.
30124 [C99-based-standards] (PRIiFAST32): Likewise.
30125 [C99-based-standards] (PRIoFAST32): Likewise.
30126 [C99-based-standards] (PRIuFAST32): Likewise.
30127 [C99-based-standards] (PRIxFAST32): Likewise.
30128 [C99-based-standards] (PRIXFAST32): Likewise.
30129 [C99-based-standards] (SCNdFAST32): Likewise.
30130 [C99-based-standards] (SCNiFAST32): Likewise.
30131 [C99-based-standards] (SCNoFAST32): Likewise.
30132 [C99-based-standards] (SCNuFAST32): Likewise.
30133 [C99-based-standards] (SCNxFAST32): Likewise.
30134 [C99-based-standards] (PRId64): Likewise.
30135 [C99-based-standards] (PRIi64): Likewise.
30136 [C99-based-standards] (PRIo64): Likewise.
30137 [C99-based-standards] (PRIu64): Likewise.
30138 [C99-based-standards] (PRIx64): Likewise.
30139 [C99-based-standards] (PRIX64): Likewise.
30140 [C99-based-standards] (SCNd64): Likewise.
30141 [C99-based-standards] (SCNi64): Likewise.
30142 [C99-based-standards] (SCNo64): Likewise.
30143 [C99-based-standards] (SCNu64): Likewise.
30144 [C99-based-standards] (SCNx64): Likewise.
30145 [C99-based-standards] (PRIdLEAST64): Likewise.
30146 [C99-based-standards] (PRIiLEAST64): Likewise.
30147 [C99-based-standards] (PRIoLEAST64): Likewise.
30148 [C99-based-standards] (PRIuLEAST64): Likewise.
30149 [C99-based-standards] (PRIxLEAST64): Likewise.
30150 [C99-based-standards] (PRIXLEAST64): Likewise.
30151 [C99-based-standards] (SCNdLEAST64): Likewise.
30152 [C99-based-standards] (SCNiLEAST64): Likewise.
30153 [C99-based-standards] (SCNoLEAST64): Likewise.
30154 [C99-based-standards] (SCNuLEAST64): Likewise.
30155 [C99-based-standards] (SCNxLEAST64): Likewise.
30156 [C99-based-standards] (PRIdFAST64): Likewise.
30157 [C99-based-standards] (PRIiFAST64): Likewise.
30158 [C99-based-standards] (PRIoFAST64): Likewise.
30159 [C99-based-standards] (PRIuFAST64): Likewise.
30160 [C99-based-standards] (PRIxFAST64): Likewise.
30161 [C99-based-standards] (PRIXFAST64): Likewise.
30162 [C99-based-standards] (SCNdFAST64): Likewise.
30163 [C99-based-standards] (SCNiFAST64): Likewise.
30164 [C99-based-standards] (SCNoFAST64): Likewise.
30165 [C99-based-standards] (SCNuFAST64): Likewise.
30166 [C99-based-standards] (SCNxFAST64): Likewise.
30167 [C99-based-standards] (PRIdMAX): Likewise.
30168 [C99-based-standards] (PRIiMAX): Likewise.
30169 [C99-based-standards] (PRIoMAX): Likewise.
30170 [C99-based-standards] (PRIuMAX): Likewise.
30171 [C99-based-standards] (PRIxMAX): Likewise.
30172 [C99-based-standards] (PRIXMAX): Likewise.
30173 [C99-based-standards] (SCNdMAX): Likewise.
30174 [C99-based-standards] (SCNiMAX): Likewise.
30175 [C99-based-standards] (SCNoMAX): Likewise.
30176 [C99-based-standards] (SCNuMAX): Likewise.
30177 [C99-based-standards] (SCNxMAX): Likewise.
30178 [C99-based-standards] (PRIdPTR): Likewise.
30179 [C99-based-standards] (PRIiPTR): Likewise.
30180 [C99-based-standards] (PRIoPTR): Likewise.
30181 [C99-based-standards] (PRIuPTR): Likewise.
30182 [C99-based-standards] (PRIxPTR): Likewise.
30183 [C99-based-standards] (PRIXPTR): Likewise.
30184 [C99-based-standards] (SCNdPTR): Likewise.
30185 [C99-based-standards] (SCNiPTR): Likewise.
30186 [C99-based-standards] (SCNoPTR): Likewise.
30187 [C99-based-standards] (SCNuPTR): Likewise.
30188 [C99-based-standards] (SCNxPTR): Likewise.
30189 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
30190 allow.
30191 * conform/data/stdint.h-data: Update comments to clarify
30192 requirements.
30193 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
30194 type.
30195 [C99-based standards] (INT8_MAX): Likewise.
30196 [C99-based standards] (INT16_MIN): Likewise.
30197 [C99-based standards] (INT16_MAX): Likewise.
30198 [C99-based standards] (INT32_MIN): Likewise.
30199 [C99-based standards] (INT32_MAX): Likewise.
30200 [C99-based standards] (INT64_MIN): Likewise.
30201 [C99-based standards] (INT64_MAX): Likewise.
30202 [C99-based standards] (UINT8_MAX): Likewise.
30203 [C99-based standards] (UINT16_MAX): Likewise.
30204 [C99-based standards] (UINT32_MAX): Likewise.
30205 [C99-based standards] (UINT64_MAX): Likewise.
30206 [C99-based standards] (INT_LEAST8_MIN): Likewise.
30207 [C99-based standards] (INT_LEAST8_MAX): Likewise.
30208 [C99-based standards] (INT_LEAST16_MIN): Likewise.
30209 [C99-based standards] (INT_LEAST16_MAX): Likewise.
30210 [C99-based standards] (INT_LEAST32_MIN): Likewise.
30211 [C99-based standards] (INT_LEAST32_MAX): Likewise.
30212 [C99-based standards] (INT_LEAST64_MIN): Likewise.
30213 [C99-based standards] (INT_LEAST64_MAX): Likewise.
30214 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
30215 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
30216 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
30217 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
30218 [C99-based standards] (INT_FAST8_MIN): Likewise.
30219 [C99-based standards] (INT_FAST8_MAX): Likewise.
30220 [C99-based standards] (INT_FAST16_MIN): Likewise.
30221 [C99-based standards] (INT_FAST16_MAX): Likewise.
30222 [C99-based standards] (INT_FAST32_MIN): Likewise.
30223 [C99-based standards] (INT_FAST32_MAX): Likewise.
30224 [C99-based standards] (INT_FAST64_MIN): Likewise.
30225 [C99-based standards] (INT_FAST64_MAX): Likewise.
30226 [C99-based standards] (UINT_FAST8_MAX): Likewise.
30227 [C99-based standards] (UINT_FAST16_MAX): Likewise.
30228 [C99-based standards] (UINT_FAST32_MAX): Likewise.
30229 [C99-based standards] (UINT_FAST64_MAX): Likewise.
30230 [C99-based standards] (INTPTR_MIN): Likewise.
30231 [C99-based standards] (INTPTR_MAX): Likewise.
30232 [C99-based standards] (UINTPTR_MAX): Likewise.
30233 [C99-based standards] (INTMAX_MIN): Likewise.
30234 [C99-based standards] (INTMAX_MAX): Likewise.
30235 [C99-based standards] (UINTMAX_MAX): Likewise.
30236 [C99-based standards] (PTRDIFF_MIN): Likewise.
30237 [C99-based standards] (PTRDIFF_MAX): Likewise.
30238 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
30239 [C99-based standards] (SIZE_MAX): Likewise.
30240 [C99-based standards] (WCHAR_MAX): Likewise.
30241 [C99-based standards] (WINT_MAX): Likewise.
30242 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
30243 constraint on value.
30244 [C99-based standards] (WCHAR_MIN): Likewise.
30245 [C99-based standards] (WINT_MIN): Likewise.
30246 [C99-based standards] (*_t): Allow.
30247 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
30248 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
30249 Include math.h-data and complex.h-data. Remove all expectations
30250 of math.h and complex.h contents.
30251 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
30252 at end of line.
30253 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
30254 (struct tm): Expect tag.
30255 [C99-based-standards] (wcstof): Expect function.
30256 [C99-based-standards] (wcstold): Likewise.
30257 [C99-based-standards] (wcstoll): Likewise.
30258 [C99-based-standards] (wcstoull): Likewise.
30259 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
30260 macro-int-constant. Specify type.
30261 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
30262 constraint on value.
30263 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
30264 Specify type.
30265 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
30266 Specify value.
30267 [ISO C standards]: Do not allow headers.
30268 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
30269 wcs[abcdefghijklmnopqrstuvwxyz]*.
30270 [ISO C standards] (*_t): Do not allow.
30271 * conform/data/wctype.h-data [C99-based standards] (iswblank):
30272 Expect function.
30273 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
30274 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
30275 Specify type.
30276 [ISO C standards]: Do not allow headers.
30277 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
30278 is[abcdefghijklmnopqrstuvwxyz]*.
30279 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
30280 to[abcdefghijklmnopqrstuvwxyz]*.
30281 [ISO C standards] (*_t): Do not allow.
30282 * conform/data/stdalign.h-data: New file.
30283 * conform/data/stdbool.h-data: Likewise.
30284 * conform/data/stdnoreturn.h-data: Likewise.
30285
7514feb8
RM
302862012-11-07 Roland McGrath <roland@hack.frob.com>
30287
30288 [BZ #14815]
30289 * manual/filesys.texi (Directory Entries): Typo fix.
30290 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
30291
19b2ecfc
MS
302922012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
30293
30294 * elf/elf.h (EM_AARCH64): New macro.
30295 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
30296 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
30297 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
30298 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
30299 (R_AARCH64_TLSDESC): Likewise.
30300 (NT_ARM_TLS): Likewise.
30301 (NT_ARM_HW_BREAK): Likewise.
30302 (NT_ARM_HW_WATCH): Likewise.
30303
60e235ee
JM
303042012-11-07 Joseph Myers <joseph@codesourcery.com>
30305
30306 [BZ #14811]
30307 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
30308 (__ieee754_powl): Saturate nonzero exponents with absolute value
30309 below 0x1p-79 to +/- 0x1p-79.
30310 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
30311 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
30312 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
30313 nonzero exponents with absolute value below 0x1p-32 to +/-
30314 0x1p-32.
30315 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
30316 (__ieee754_powl): Saturate nonzero exponents with absolute value
30317 below 0x1p-79 to +/- 0x1p-79.
30318 * math/libm-test.inc (pow_test): Add more tests.
30319
0ab234b7
AK
303202012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30321
30322 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
30323 _dl_s390_cap_flags with kernel. Increase string length.
30324 (_dl_s390_platforms): Add z196 and zEC12.
30325
45832f74
JM
303262012-11-07 Joseph Myers <joseph@codesourcery.com>
30327
30328 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
30329 Change XOPEN21K to XOPEN2K.
30330
19218757
MK
303312012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
30332
30333 * string/memmove.c: Use memcpy when possible.
30334
c5f45721
AJ
303352012-11-06 Andreas Jaeger <aj@suse.de>
30336
30337 * po/eo.po: Update from translation team.
30338
82477c28
JM
303392012-11-06 Joseph Myers <joseph@codesourcery.com>
30340
30341 [BZ #14793]
30342 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
30343 exponent and small x and y exponents, scale x or y up. Increase
30344 by 2 the exponent used in scaling up.
30345 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
30346 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
30347 * math/libm-test.inc (fma_test): Add more tests.
30348 (fma_test_towardzero): Likewise.
30349 (fma_test_downward): Likewise.
30350 (fma_test_upward): Likewise.
30351
99252c8c
JM
303522012-11-05 Joseph Myers <joseph@codesourcery.com>
30353
acfa885f
JM
30354 [BZ #14805]
30355 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
30356 fenv_t *.
30357
99252c8c
JM
30358 [BZ #14801]
30359 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
30360 namespace for names of struct fields.
30361 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
30362 fenv_t fields.
30363 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
30364 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
30365
d6d98dea
ST
303662012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
30367
30368 [BZ #3665]
30369 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
30370
e10bb107
TS
303712012-11-04 Thomas Schwinge <thomas@codesourcery.com>
30372
30373 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
30374 PTR_DEMANGLE.
30375
30376 [BZ #5246]
30377 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
30378 PTR_DEMANGLE.
30379
a0c2940d
JM
303802012-11-04 Joseph Myers <joseph@codesourcery.com>
30381
30382 [BZ #14797]
30383 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
30384 definitely overflow as x * y not x * y + z.
30385 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
30386 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
30387 * math/libm-test.inc (fma_test): Add more tests.
30388 (fma_test_towardzero): Likewise.
30389 (fma_test_downward): Likewise.
30390 (fma_test_upward): Likewise.
30391
b830319d
TS
303922012-11-04 Thomas Schwinge <thomas@codesourcery.com>
30393
30394 [BZ #157]
30395
30396 * include/stub-tag.h: Remove file.
30397 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
30398 '#include' of it.
30399 * manual/maint.texi (Porting): Don't reference it.
30400 * Makerules ($(objpfx)stubs): Likewise.
30401 * dirent/closedir.c: Don't include <stub-tag.h>.
30402 * dirent/dirfd.c: Likewise.
30403 * dirent/fdopendir.c: Likewise.
30404 * dirent/getdents.c: Likewise.
30405 * dirent/getdents64.c: Likewise.
30406 * dirent/opendir.c: Likewise.
30407 * dirent/readdir.c: Likewise.
30408 * dirent/readdir64.c: Likewise.
30409 * dirent/readdir64_r.c: Likewise.
30410 * dirent/readdir_r.c: Likewise.
30411 * dirent/rewinddir.c: Likewise.
30412 * dirent/seekdir.c: Likewise.
30413 * dirent/telldir.c: Likewise.
30414 * gmon/profil.c: Likewise.
30415 * grp/setgroups.c: Likewise.
30416 * inet/if_index.c: Likewise.
30417 * io/access.c: Likewise.
30418 * io/chdir.c: Likewise.
30419 * io/chmod.c: Likewise.
30420 * io/chown.c: Likewise.
30421 * io/close.c: Likewise.
30422 * io/dup.c: Likewise.
30423 * io/dup2.c: Likewise.
30424 * io/dup3.c: Likewise.
30425 * io/euidaccess.c: Likewise.
30426 * io/faccessat.c: Likewise.
30427 * io/fchdir.c: Likewise.
30428 * io/fchmod.c: Likewise.
30429 * io/fchmodat.c: Likewise.
30430 * io/fchown.c: Likewise.
30431 * io/fchownat.c: Likewise.
30432 * io/fcntl.c: Likewise.
30433 * io/flock.c: Likewise.
30434 * io/fstatfs.c: Likewise.
30435 * io/fstatfs64.c: Likewise.
30436 * io/fstatvfs.c: Likewise.
30437 * io/fstatvfs64.c: Likewise.
30438 * io/futimens.c: Likewise.
30439 * io/fxstat.c: Likewise.
30440 * io/fxstat64.c: Likewise.
30441 * io/fxstatat.c: Likewise.
30442 * io/fxstatat64.c: Likewise.
30443 * io/getcwd.c: Likewise.
30444 * io/isatty.c: Likewise.
30445 * io/lchmod.c: Likewise.
30446 * io/lchown.c: Likewise.
30447 * io/link.c: Likewise.
30448 * io/linkat.c: Likewise.
30449 * io/lseek.c: Likewise.
30450 * io/lseek64.c: Likewise.
30451 * io/lxstat64.c: Likewise.
30452 * io/mkdir.c: Likewise.
30453 * io/mkdirat.c: Likewise.
30454 * io/mkfifo.c: Likewise.
30455 * io/mkfifoat.c: Likewise.
30456 * io/open.c: Likewise.
30457 * io/open64.c: Likewise.
30458 * io/openat.c: Likewise.
30459 * io/openat64.c: Likewise.
30460 * io/pipe.c: Likewise.
30461 * io/pipe2.c: Likewise.
30462 * io/poll.c: Likewise.
30463 * io/posix_fadvise.c: Likewise.
30464 * io/posix_fadvise64.c: Likewise.
30465 * io/posix_fallocate.c: Likewise.
30466 * io/posix_fallocate64.c: Likewise.
30467 * io/read.c: Likewise.
30468 * io/readlink.c: Likewise.
30469 * io/readlinkat.c: Likewise.
30470 * io/rmdir.c: Likewise.
30471 * io/sendfile.c: Likewise.
30472 * io/sendfile64.c: Likewise.
30473 * io/statfs.c: Likewise.
30474 * io/statfs64.c: Likewise.
30475 * io/statvfs.c: Likewise.
30476 * io/statvfs64.c: Likewise.
30477 * io/symlink.c: Likewise.
30478 * io/symlinkat.c: Likewise.
30479 * io/ttyname.c: Likewise.
30480 * io/ttyname_r.c: Likewise.
30481 * io/umask.c: Likewise.
30482 * io/unlink.c: Likewise.
30483 * io/unlinkat.c: Likewise.
30484 * io/utime.c: Likewise.
30485 * io/utimensat.c: Likewise.
30486 * io/write.c: Likewise.
30487 * io/xmknod.c: Likewise.
30488 * io/xmknodat.c: Likewise.
30489 * io/xstat.c: Likewise.
30490 * io/xstat64.c: Likewise.
30491 * login/getpt.c: Likewise.
30492 * login/grantpt.c: Likewise.
30493 * login/unlockpt.c: Likewise.
30494 * math/e_acoshl.c: Likewise.
30495 * math/e_acosl.c: Likewise.
30496 * math/e_asinl.c: Likewise.
30497 * math/e_atan2l.c: Likewise.
30498 * math/e_atanhl.c: Likewise.
30499 * math/e_coshl.c: Likewise.
30500 * math/e_expl.c: Likewise.
30501 * math/e_fmodl.c: Likewise.
30502 * math/e_gammal_r.c: Likewise.
30503 * math/e_hypotl.c: Likewise.
30504 * math/e_j0l.c: Likewise.
30505 * math/e_j1l.c: Likewise.
30506 * math/e_jnl.c: Likewise.
30507 * math/e_lgammal_r.c: Likewise.
30508 * math/e_log10l.c: Likewise.
30509 * math/e_log2l.c: Likewise.
30510 * math/e_logl.c: Likewise.
30511 * math/e_powl.c: Likewise.
30512 * math/e_rem_pio2l.c: Likewise.
30513 * math/e_sinhl.c: Likewise.
30514 * math/e_sqrtl.c: Likewise.
30515 * math/fclrexcpt.c: Likewise.
30516 * math/fedisblxcpt.c: Likewise.
30517 * math/feenablxcpt.c: Likewise.
30518 * math/fegetenv.c: Likewise.
30519 * math/fegetexcept.c: Likewise.
30520 * math/fegetround.c: Likewise.
30521 * math/feholdexcpt.c: Likewise.
30522 * math/fesetenv.c: Likewise.
30523 * math/fesetround.c: Likewise.
30524 * math/feupdateenv.c: Likewise.
30525 * math/fgetexcptflg.c: Likewise.
30526 * math/fraiseexcpt.c: Likewise.
30527 * math/fsetexcptflg.c: Likewise.
30528 * math/ftestexcept.c: Likewise.
30529 * math/k_cosl.c: Likewise.
30530 * math/k_rem_pio2l.c: Likewise.
30531 * math/k_sinl.c: Likewise.
30532 * math/k_tanl.c: Likewise.
30533 * math/s_asinhl.c: Likewise.
30534 * math/s_atanl.c: Likewise.
30535 * math/s_cbrtl.c: Likewise.
30536 * math/s_erfl.c: Likewise.
30537 * math/s_expm1l.c: Likewise.
30538 * math/s_log1pl.c: Likewise.
30539 * math/s_tanhl.c: Likewise.
30540 * misc/acct.c: Likewise.
30541 * misc/brk.c: Likewise.
30542 * misc/chflags.c: Likewise.
30543 * misc/chroot.c: Likewise.
30544 * misc/fchflags.c: Likewise.
30545 * misc/fgetxattr.c: Likewise.
30546 * misc/flistxattr.c: Likewise.
30547 * misc/fremovexattr.c: Likewise.
30548 * misc/fsetxattr.c: Likewise.
30549 * misc/fsync.c: Likewise.
30550 * misc/ftruncate.c: Likewise.
30551 * misc/futimes.c: Likewise.
30552 * misc/futimesat.c: Likewise.
30553 * misc/getdomain.c: Likewise.
30554 * misc/getdtsz.c: Likewise.
30555 * misc/gethostid.c: Likewise.
30556 * misc/gethostname.c: Likewise.
30557 * misc/getloadavg.c: Likewise.
30558 * misc/getpagesize.c: Likewise.
30559 * misc/getsysstats.c: Likewise.
30560 * misc/getxattr.c: Likewise.
30561 * misc/gtty.c: Likewise.
30562 * misc/ioctl.c: Likewise.
30563 * misc/lgetxattr.c: Likewise.
30564 * misc/listxattr.c: Likewise.
30565 * misc/llistxattr.c: Likewise.
30566 * misc/lremovexattr.c: Likewise.
30567 * misc/lsetxattr.c: Likewise.
30568 * misc/lutimes.c: Likewise.
30569 * misc/madvise.c: Likewise.
30570 * misc/mincore.c: Likewise.
30571 * misc/mlock.c: Likewise.
30572 * misc/mlockall.c: Likewise.
30573 * misc/mmap.c: Likewise.
30574 * misc/mprotect.c: Likewise.
30575 * misc/msync.c: Likewise.
30576 * misc/munlock.c: Likewise.
30577 * misc/munlockall.c: Likewise.
30578 * misc/munmap.c: Likewise.
30579 * misc/preadv.c: Likewise.
30580 * misc/preadv64.c: Likewise.
30581 * misc/ptrace.c: Likewise.
30582 * misc/pwritev.c: Likewise.
30583 * misc/pwritev64.c: Likewise.
30584 * misc/readv.c: Likewise.
30585 * misc/reboot.c: Likewise.
30586 * misc/remap_file_pages.c: Likewise.
30587 * misc/removexattr.c: Likewise.
30588 * misc/revoke.c: Likewise.
30589 * misc/select.c: Likewise.
30590 * misc/setdomain.c: Likewise.
30591 * misc/setegid.c: Likewise.
30592 * misc/seteuid.c: Likewise.
30593 * misc/sethostid.c: Likewise.
30594 * misc/sethostname.c: Likewise.
30595 * misc/setregid.c: Likewise.
30596 * misc/setreuid.c: Likewise.
30597 * misc/setxattr.c: Likewise.
30598 * misc/sstk.c: Likewise.
30599 * misc/stty.c: Likewise.
30600 * misc/swapoff.c: Likewise.
30601 * misc/swapon.c: Likewise.
30602 * misc/sync.c: Likewise.
30603 * misc/syncfs.c: Likewise.
30604 * misc/syscall.c: Likewise.
30605 * misc/truncate.c: Likewise.
30606 * misc/ualarm.c: Likewise.
30607 * misc/usleep.c: Likewise.
30608 * misc/ustat.c: Likewise.
30609 * misc/utimes.c: Likewise.
30610 * misc/vhangup.c: Likewise.
30611 * misc/writev.c: Likewise.
30612 * posix/_exit.c: Likewise.
30613 * posix/alarm.c: Likewise.
30614 * posix/execve.c: Likewise.
30615 * posix/fexecve.c: Likewise.
30616 * posix/fork.c: Likewise.
30617 * posix/fpathconf.c: Likewise.
30618 * posix/getaddrinfo.c: Likewise.
30619 * posix/getegid.c: Likewise.
30620 * posix/geteuid.c: Likewise.
30621 * posix/getgid.c: Likewise.
30622 * posix/getgroups.c: Likewise.
30623 * posix/getlogin.c: Likewise.
30624 * posix/getlogin_r.c: Likewise.
30625 * posix/getpgid.c: Likewise.
30626 * posix/getpid.c: Likewise.
30627 * posix/getppid.c: Likewise.
30628 * posix/getresgid.c: Likewise.
30629 * posix/getresuid.c: Likewise.
30630 * posix/getsid.c: Likewise.
30631 * posix/getuid.c: Likewise.
30632 * posix/glob64.c: Likewise.
30633 * posix/nanosleep.c: Likewise.
30634 * posix/pathconf.c: Likewise.
30635 * posix/pause.c: Likewise.
30636 * posix/posix_madvise.c: Likewise.
30637 * posix/pread.c: Likewise.
30638 * posix/pread64.c: Likewise.
30639 * posix/pwrite.c: Likewise.
30640 * posix/pwrite64.c: Likewise.
30641 * posix/sched_getaffinity.c: Likewise.
30642 * posix/sched_getp.c: Likewise.
30643 * posix/sched_gets.c: Likewise.
30644 * posix/sched_primax.c: Likewise.
30645 * posix/sched_primin.c: Likewise.
30646 * posix/sched_rr_gi.c: Likewise.
30647 * posix/sched_setaffinity.c: Likewise.
30648 * posix/sched_setp.c: Likewise.
30649 * posix/sched_sets.c: Likewise.
30650 * posix/sched_yield.c: Likewise.
30651 * posix/setgid.c: Likewise.
30652 * posix/setlogin.c: Likewise.
30653 * posix/setpgid.c: Likewise.
30654 * posix/setresgid.c: Likewise.
30655 * posix/setresuid.c: Likewise.
30656 * posix/setsid.c: Likewise.
30657 * posix/setuid.c: Likewise.
30658 * posix/sleep.c: Likewise.
30659 * posix/spawni.c: Likewise.
30660 * posix/sysconf.c: Likewise.
30661 * posix/times.c: Likewise.
30662 * posix/wait.c: Likewise.
30663 * posix/wait3.c: Likewise.
30664 * posix/wait4.c: Likewise.
30665 * posix/waitpid.c: Likewise.
30666 * resolv/gai_sigqueue.c: Likewise.
30667 * resource/getpriority.c: Likewise.
30668 * resource/getrlimit.c: Likewise.
30669 * resource/getrusage.c: Likewise.
30670 * resource/nice.c: Likewise.
30671 * resource/setpriority.c: Likewise.
30672 * resource/setrlimit.c: Likewise.
30673 * resource/ulimit.c: Likewise.
30674 * rt/aio_cancel.c: Likewise.
30675 * rt/aio_fsync.c: Likewise.
30676 * rt/aio_read.c: Likewise.
30677 * rt/aio_sigqueue.c: Likewise.
30678 * rt/aio_suspend.c: Likewise.
30679 * rt/aio_write.c: Likewise.
30680 * rt/clock_getres.c: Likewise.
30681 * rt/clock_gettime.c: Likewise.
30682 * rt/clock_nanosleep.c: Likewise.
30683 * rt/clock_settime.c: Likewise.
30684 * rt/lio_listio.c: Likewise.
30685 * rt/mq_close.c: Likewise.
30686 * rt/mq_getattr.c: Likewise.
30687 * rt/mq_notify.c: Likewise.
30688 * rt/mq_open.c: Likewise.
30689 * rt/mq_receive.c: Likewise.
30690 * rt/mq_send.c: Likewise.
30691 * rt/mq_setattr.c: Likewise.
30692 * rt/mq_timedreceive.c: Likewise.
30693 * rt/mq_timedsend.c: Likewise.
30694 * rt/mq_unlink.c: Likewise.
30695 * rt/shm_open.c: Likewise.
30696 * rt/shm_unlink.c: Likewise.
30697 * rt/timer_create.c: Likewise.
30698 * rt/timer_delete.c: Likewise.
30699 * rt/timer_getoverr.c: Likewise.
30700 * rt/timer_gettime.c: Likewise.
30701 * rt/timer_settime.c: Likewise.
30702 * setjmp/__longjmp.c: Likewise.
30703 * setjmp/setjmp.c: Likewise.
30704 * signal/kill.c: Likewise.
30705 * signal/killpg.c: Likewise.
30706 * signal/raise.c: Likewise.
30707 * signal/sigaction.c: Likewise.
30708 * signal/sigaltstack.c: Likewise.
30709 * signal/sigblock.c: Likewise.
30710 * signal/sigignore.c: Likewise.
30711 * signal/sigintr.c: Likewise.
30712 * signal/signal.c: Likewise.
30713 * signal/sigpause.c: Likewise.
30714 * signal/sigpending.c: Likewise.
30715 * signal/sigqueue.c: Likewise.
30716 * signal/sigreturn.c: Likewise.
30717 * signal/sigset.c: Likewise.
30718 * signal/sigsetmask.c: Likewise.
30719 * signal/sigstack.c: Likewise.
30720 * signal/sigsuspend.c: Likewise.
30721 * signal/sigtimedwait.c: Likewise.
30722 * signal/sigvec.c: Likewise.
30723 * signal/sigwait.c: Likewise.
30724 * signal/sigwaitinfo.c: Likewise.
30725 * signal/sysv_signal.c: Likewise.
30726 * socket/accept.c: Likewise.
30727 * socket/accept4.c: Likewise.
30728 * socket/bind.c: Likewise.
30729 * socket/connect.c: Likewise.
30730 * socket/getpeername.c: Likewise.
30731 * socket/getsockname.c: Likewise.
30732 * socket/getsockopt.c: Likewise.
30733 * socket/isfdtype.c: Likewise.
30734 * socket/listen.c: Likewise.
30735 * socket/recv.c: Likewise.
30736 * socket/recvfrom.c: Likewise.
30737 * socket/recvmsg.c: Likewise.
30738 * socket/send.c: Likewise.
30739 * socket/sendmsg.c: Likewise.
30740 * socket/sendto.c: Likewise.
30741 * socket/setsockopt.c: Likewise.
30742 * socket/shutdown.c: Likewise.
30743 * socket/sockatmark.c: Likewise.
30744 * socket/socket.c: Likewise.
30745 * socket/socketpair.c: Likewise.
30746 * stdio-common/ctermid.c: Likewise.
30747 * stdio-common/cuserid.c: Likewise.
30748 * stdio-common/remove.c: Likewise.
30749 * stdio-common/rename.c: Likewise.
30750 * stdio-common/renameat.c: Likewise.
30751 * stdio-common/tempname.c: Likewise.
30752 * stdlib/getcontext.c: Likewise.
30753 * stdlib/makecontext.c: Likewise.
30754 * stdlib/setcontext.c: Likewise.
30755 * stdlib/swapcontext.c: Likewise.
30756 * stdlib/system.c: Likewise.
30757 * streams/fattach.c: Likewise.
30758 * streams/fdetach.c: Likewise.
30759 * streams/getmsg.c: Likewise.
30760 * streams/getpmsg.c: Likewise.
30761 * streams/putmsg.c: Likewise.
30762 * streams/putpmsg.c: Likewise.
30763 * sysdeps/unix/bsd/getpt.c: Likewise.
30764 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
30765 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
30766 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
30767 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
30768 Likewise.
30769 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
30770 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
30771 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
30772 * sysvipc/msgctl.c: Likewise.
30773 * sysvipc/msgget.c: Likewise.
30774 * sysvipc/msgrcv.c: Likewise.
30775 * sysvipc/msgsnd.c: Likewise.
30776 * sysvipc/semctl.c: Likewise.
30777 * sysvipc/semget.c: Likewise.
30778 * sysvipc/semop.c: Likewise.
30779 * sysvipc/semtimedop.c: Likewise.
30780 * sysvipc/shmat.c: Likewise.
30781 * sysvipc/shmctl.c: Likewise.
30782 * sysvipc/shmdt.c: Likewise.
30783 * sysvipc/shmget.c: Likewise.
30784 * termios/tcdrain.c: Likewise.
30785 * termios/tcflow.c: Likewise.
30786 * termios/tcflush.c: Likewise.
30787 * termios/tcgetattr.c: Likewise.
30788 * termios/tcgetpgrp.c: Likewise.
30789 * termios/tcsendbrk.c: Likewise.
30790 * termios/tcsetattr.c: Likewise.
30791 * termios/tcsetpgrp.c: Likewise.
30792 * time/adjtime.c: Likewise.
30793 * time/clock.c: Likewise.
30794 * time/getitimer.c: Likewise.
30795 * time/gettimeofday.c: Likewise.
30796 * time/setitimer.c: Likewise.
30797 * time/settimeofday.c: Likewise.
30798 * time/stime.c: Likewise.
30799 * time/time.c: Likewise.
30800
308012012-11-04 Pino Toscano <toscano.pino@tiscali.it>
72e182e3 30802
a20492cf
PT
30803 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
30804 /usr/old/bin.
30805
72e182e3
PT
30806 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
30807 instead of spaces.
30808 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
30809
fbeafede
JM
308102012-11-03 Joseph Myers <joseph@codesourcery.com>
30811
5b5b04d6
JM
30812 [BZ #14796]
30813 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
30814 FE_TONEAREST before applying Dekker multiplication and Knuth
30815 addition. Clear inexact exceptions and check for exact zero
30816 results afterwards.
30817 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
30818 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
30819 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
30820 * math/libm-test.inc (fma_test): Add more tests.
30821 (fma_test_towardzero): Likewise.
30822 (fma_test_downward): Likewise.
30823 (fma_test_upward): Likewise.
30824 * sysdeps/generic/math_private.h (default_libc_fesetround): New
30825 function.
30826 (libc_fesetround): New macro.
30827 (libc_fesetroundf): Likewise.
30828 (libc_fesetroundl): Likewise.
30829 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
30830 function.
30831 (libc_fesetround_387): Likewise.
30832 (libc_fesetroundf): New macro.
30833 (libc_fesetround): Likewise.
30834 (libc_fesetroundl): Likewise.
30835 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
30836 function.
30837 (libc_fesetroundf): New macro.
30838 (libc_fesetround): Likewise.
30839 (libc_fesetroundl): Likewise.
30840 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
30841 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
30842 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
30843 libm_hidden_ver.
30844 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
30845 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
30846 libm_hidden_def.
30847 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
30848 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
30849 libm_hidden_ver.
30850 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
30851 libm_hidden_def.
30852
fbeafede
JM
30853 [BZ #3439]
30854 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
30855 integer constant usable in #if and use that to give value to enum
30856 constant.
30857 (FE_DIVBYZERO): Likewise.
30858 (FE_UNDERFLOW): Likewise.
30859 (FE_OVERFLOW): Likewise.
30860 (FE_INVALID): Likewise.
30861 (FE_INVALID_SNAN): Likewise.
30862 (FE_INVALID_ISI): Likewise.
30863 (FE_INVALID_IDI): Likewise.
30864 (FE_INVALID_ZDZ): Likewise.
30865 (FE_INVALID_IMZ): Likewise.
30866 (FE_INVALID_COMPARE): Likewise.
30867 (FE_INVALID_SOFTWARE): Likewise.
30868 (FE_INVALID_SQRT): Likewise.
30869 (FE_INVALID_INTEGER_CONVERSION): Likewise.
30870 (FE_TONEAREST): Likewise.
30871 (FE_TOWARDZERO): Likewise.
30872 (FE_UPWARD): Likewise.
30873 (FE_DOWNWARD): Likewise.
30874 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
30875 (FE_DIVBYZERO): Likewise.
30876 (FE_OVERFLOW): Likewise.
30877 (FE_UNDERFLOW): Likewise.
30878 (FE_INEXACT): Likewise.
30879 (FE_TONEAREST): Likewise.
30880 (FE_DOWNWARD): Likewise.
30881 (FE_UPWARD): Likewise.
30882 (FE_TOWARDZERO): Likewise.
30883 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
30884 (FE_UNDERFLOW): Likewise.
30885 (FE_OVERFLOW): Likewise.
30886 (FE_DIVBYZERO): Likewise.
30887 (FE_INVALID): Likewise.
30888 (FE_TONEAREST): Likewise.
30889 (FE_TOWARDZERO): Likewise.
30890 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
30891 (FE_OVERFLOW): Likewise.
30892 (FE_UNDERFLOW): Likewise.
30893 (FE_DIVBYZERO): Likewise.
30894 (FE_INEXACT): Likewise.
30895 (FE_TONEAREST): Likewise.
30896 (FE_TOWARDZERO): Likewise.
30897 (FE_UPWARD): Likewise.
30898 (FE_DOWNWARD): Likewise.
30899 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
30900 (FE_DIVBYZERO): Likewise.
30901 (FE_OVERFLOW): Likewise.
30902 (FE_UNDERFLOW): Likewise.
30903 (FE_INEXACT): Likewise.
30904 (FE_TONEAREST): Likewise.
30905 (FE_DOWNWARD): Likewise.
30906 (FE_UPWARD): Likewise.
30907 (FE_TOWARDZERO): Likewise.
30908
105ca950
CM
309092012-11-02 Chris Metcalf <cmetcalf@tilera.com>
30910
30911 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
30912
a542b389
AS
309132012-11-03 Andreas Schwab <schwab@linux-m68k.org>
30914
30915 * scripts/cross-test-ssh.sh (command): Use newlines to separate
30916 commands. Quote $PWD.
30917 (blacklist_exports): Don't use remove_newlines. Replace "declare
30918 -x" by "export".
30919 (remove_newlines): Remove.
30920
f62c8abc
L
309212012-11-02 H.J. Lu <hongjiu.lu@intel.com>
30922
30923 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
30924 * stdlib/stdlib.h (atof): Moved to ...
30925 * include/bits/stdlib-float.h: Here. New file.
30926 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
30927 * stdlib/bits/stdlib-float.h: New file.
30928 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
30929 -mno-sse -mno-mmx.
30930 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
30931 <xmmintrin.h>.
30932
0155d5b2
JM
309332012-11-02 Joseph Myers <joseph@codesourcery.com>
30934
a68d0680
JM
30935 * conform/conformtest.pl (@headers): Add fenv.h.
30936 * conform/data/fenv.h-data: New file.
30937 * include/fenv.h [_ISOMAC]: Disable all contents of file except
30938 include of <math/fenv.h>.
30939
caf7f573
JM
30940 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
30941 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
30942 && !UNIX98]. Enables tests for XOPEN2K8.
30943 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
30944 POSIX2008]: Likewise.
30945
6c073ad6
JM
30946 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
30947 (struct rusage): Do not expect type or its members.
30948
0155d5b2
JM
30949 [BZ #3439]
30950 * math/math.h (FP_NAN): Define macro to integer constant usable in
30951 #if and use that to give value to enum constant.
30952 (FP_INFINITE): Likewise.
30953 (FP_ZERO): Likewise.
30954 (FP_SUBNORMAL): Likewise.
30955 (FP_NORMAL): Likewise.
30956
b5dcacb4
AS
309572012-11-02 Andreas Schwab <schwab@linux-m68k.org>
30958
30959 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
30960 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
30961 arguments.
30962
f7934be8
RM
309632012-11-02 Roland McGrath <roland@hack.frob.com>
30964
30965 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
30966 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
30967 autoconf-time if not.
30968 * configure.in: Remove AC_PREREQ.
30969
d7d08bde
TMQMF
309702012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
30971
30972 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
30973 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
30974 of the internal implementation.
30975
dcdae19a
JM
309762012-11-02 Joseph Myers <joseph@codesourcery.com>
30977
30978 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
30979 except include of <misc/sys/syslog.h>.
30980
d6cffd3e
AS
309812012-11-01 Andreas Schwab <schwab@linux-m68k.org>
30982
30983 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
30984 function returns with a NULL context exit with zero.
30985
b3563932
TMQMF
309862012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
30987
30988 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
30989
b288a93d
L
309902012-11-01 H.J. Lu <hongjiu.lu@intel.com>
30991
30992 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
30993 (run_program_cmd): This.
30994 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
30995 (tst_langinfo): New variable. Use it.
30996
a2421a68
SAS
309972012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
30998
30999 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
31000 floating point opcodes.
31001
6f796e1b
TS
310022012-11-01 Thomas Schwinge <thomas@codesourcery.com>
31003
7402596b
TS
31004 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
31005 variable.
31006
d0d4f868
TS
31007 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
31008
6f796e1b
TS
31009 * sysdeps/mach/hurd/powerpc: Remove directory.
31010 * sysdeps/mach/powerpc: Likewise.
31011
4da224a2
AS
310122012-11-01 Andreas Schwab <schwab@linux-m68k.org>
31013
31014 * scripts/check-local-headers.sh: Ignore c++ headers.
31015
341dd673
TS
310162012-11-01 Thomas Schwinge <thomas@codesourcery.com>
31017
31018 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
31019 __libc_cleanup_region_start argument.
31020
473611b2
JM
310212012-11-01 Joseph Myers <joseph@codesourcery.com>
31022
31023 [BZ #14784]
31024 [BZ #14785]
31025 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
31026 x * y using scaling, not as x * y + z.
31027 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
31028 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
31029 * math/libm-test.inc (fma_test): Add more tests.
31030 (fma_test_towardzero): Likewise.
31031 (fma_test_downward): Likewise.
31032 (fma_test_upward): Likewise.
31033
4078da3d
TS
310342012-11-01 Thomas Schwinge <thomas@codesourcery.com>
31035
31036 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
31037
903252aa
JM
310382012-10-31 Joseph Myers <joseph@codesourcery.com>
31039
31040 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
31041 New variable.
31042
cbc818d0
TS
310432012-10-31 Thomas Schwinge <thomas@codesourcery.com>
31044
31045 * rt/tst-shm.c (worker): Correct checking for mmap failure.
31046
5a03cb1e
AS
310472012-10-31 Andreas Schwab <schwab@linux-m68k.org>
31048
31049 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
31050 Fix sort order.
31051 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
31052 Likewise.
31053
90aff2ff
TMQMF
310542012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
31055
31056 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
31057 Fix the order of the list for glibc 2.17.
31058 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
31059 Likewise.
31060
1818fcb7
AS
310612012-10-31 Andreas Schwab <schwab@linux-m68k.org>
31062
31063 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31064
ef82f4da
JM
310652012-10-31 Joseph Myers <joseph@codesourcery.com>
31066
16a0e2ec
JM
31067 [BZ #14610]
31068 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
31069 for low part of x being zero before using __atanl (y).
31070 * math/libm-test.inc (atan2_test): Add another test.
31071
0eb69512
JM
31072 * manual/install.texi (Configuring and compiling): Document
31073 general use of test-wrapper and test-wrapper-env.
31074 * INSTALL: Regenerated.
31075
ef82f4da
JM
31076 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
31077 (__fma): Do not extract and scale down low bits on after-rounding
31078 systems when result rounded to normal precision would have normal
31079 exponent.
31080 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
31081 (__fmal): Do not extract and scale down low bits on after-rounding
31082 systems when result rounded to normal precision would have normal
31083 exponent.
31084 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
31085 (__fmal): Do not extract and scale down low bits on after-rounding
31086 systems when result rounded to normal precision would have normal
31087 exponent.
31088 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
31089 macro.
31090 (fma_test): Add more tests.
31091 (fma_test_towardzero): Likewise.
31092 (fma_test_downward): Likewise.
31093 (fma_test_upward): Likewise.
31094
954ef0d9
L
310952012-10-30 H.J. Lu <hongjiu.lu@intel.com>
31096
31097 * sysdeps/i386/tininess.h: Renamed to ...
31098 * sysdeps/x86/tininess.h: This.
31099 * sysdeps/x86_64/tininess.h: Removed.
31100
df61ffb2
JM
311012012-10-30 Joseph Myers <joseph@codesourcery.com>
31102
31103 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
31104 input. Use $(build-program-cmd).
31105 ($(objpfx)tst-array1-static.out): Likewise.
31106 ($(objpfx)tst-array2.out): Likewise.
31107 ($(objpfx)tst-array3.out): Likewise.
31108 ($(objpfx)tst-array4.out): Likewise.
31109 ($(objpfx)tst-array5.out): Likewise.
31110 ($(objpfx)tst-array5-static.out): Likewise.
31111
01767843
CM
311122012-10-30 Chris Metcalf <cmetcalf@tilera.com>
31113
47cc1490
CM
31114 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
31115 if defined.
31116
01767843
CM
31117 * nss/nsswitch.h (nss_interface_function): Provide new
31118 macro for use with NSS functions.
31119 * grp/initgroups.c: Use new macro.
31120 * nss/getXXbyYY.c: Likewise.
31121 * nss/getXXbyYY_r.c: Likewise.
31122 * nss/getXXent.c: Likewise.
31123 * nss/getXXent_r.c: Likewise.
31124 * sysdeps/posix/getaddrinfo.c: Likewise.
31125
8321aa97
AJ
311262012-10-30 Andreas Jaeger <aj@suse.de>
31127
31128 * po/ru.po: Update Russion translation from translation project.
31129
2a27fd6d
JM
311302012-10-30 Joseph Myers <joseph@codesourcery.com>
31131
8627a232
JM
31132 [BZ #14152]
31133 [BZ #14783]
31134 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
31135 result and shift together with sticky bit instead of replicating
31136 round-to-nearest rounding.
31137 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
31138 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
31139 * math/libm-test.inc (fma_test): Add more tests. Do not permit
31140 missing underflow exceptions.
31141 (fma_test_towardzero): Add more tests.
31142 (fma_test_downward): Likewise.
31143 (fma_test_upward): Likewise.
31144
2a27fd6d
JM
31145 [BZ #14047]
31146 * sysdeps/generic/tininess.h: New file.
31147 * sysdeps/i386/tininess.h: Likewise.
31148 * sysdeps/sh/tininess.h: Likewise.
31149 * sysdeps/x86_64/tininess.h: Likewise.
31150 * stdlib/tst-strtod-underflow.c: Likewise.
31151 * stdlib/tst-tininess.c: Likewise.
31152 * stdlib/strtod_l.c: Include <tininess.h>.
31153 (round_and_return): Do not set errno for exact underflow cases.
31154 Force an underflow exception when setting errno for underflow.
31155 Determine underflow based on rounding to normal precision if
31156 TININESS_AFTER_ROUNDING.
31157 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
31158 ERANGE for exact underflow cases.
31159 * stdlib/Makefile (tests): Add tst-tininess and
31160 tst-strtod-underflow.
31161 ($(objpfx)tst-tininess): Use $(link-libm).
31162 ($(objpfx)tst-strtod-underflow): Likewise.
31163
e7170363
AJ
311642012-10-30 Andreas Jaeger <aj@suse.de>
31165
e5088dc6
AJ
31166 [BZ#14767]
31167 * elf/Makefile (tests): Remove conditional for have-initfini-array
31168 since this is now always required and the variable does not exist
31169 anymore.
31170 (tests-static): Likewise.
31171 (modules-names): Likewise.
31172
e7170363 31173 * po/eo.po: Add Esperanto translation from translation project.
b0988f10
AJ
31174
31175 * elf/tst-array1.c (fini_array): Make writeable so that it can be
31176 merged with constructor/destructor.
31177 (init_array): Likewise.
31178 * elf/tst-array2dep.c (fini_array): Likewise.
31179 (init_array): Likewise.
31180
60457d8a
MF
311812012-10-29 Mike Frysinger <vapier@gentoo.org>
31182
31183 * manual/message.texi: Delete @cartouche tags.
31184
8bece752
PT
311852012-10-29 Pino Toscano <toscano.pino@tiscali.it>
31186
94ce799f
PT
31187 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
31188 EOPNOTSUPP.
31189 * sysdeps/mach/hurd/fsync.c: Likewise.
31190
8bece752
PT
31191 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
31192 [_POSIX_REALTIME_SIGNALS]: Change condition to
31193 [_POSIX_REALTIME_SIGNALS > 0].
31194
86ebe6b1
AJ
311952012-10-27 Andreas Jaeger <aj@suse.de>
31196
31197 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
31198 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
31199 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
31200 [__WORDSIZE != 64]: Likewise.
31201
54399c08
L
312022012-10-26 H.J. Lu <hongjiu.lu@intel.com>
31203
31204 * iconvdata/tst-table.sh: Remove ${SHELL}.
31205 * iconvdata/tst-tables.sh: Likewise.
31206
e2211bed
DM
312072012-10-25 David S. Miller <davem@davemloft.net>
31208
31209 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
31210 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
31211 of strtoull.
31212
f303f97c
DM
31213 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
31214 ifunc-impl-list.c
31215 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
31216 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
31217 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
31218 file.
31219
1e9d84cd
RM
312202012-10-25 Roland McGrath <roland@hack.frob.com>
31221
31222 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
31223 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
31224 __getdirentries.
31225
df381762
JM
312262012-10-25 Joseph Myers <joseph@codesourcery.com>
31227 Jim Blandy <jimb@codesourcery.com>
31228
31229 * scripts/cross-test-ssh.sh: New file.
31230 * manual/install.texi (Configuring and compiling): Document use of
31231 cross-test-ssh.sh.
31232 * INSTALL: Regenerated.
31233
bff64913
PT
312342012-10-25 Pino Toscano <toscano.pino@tiscali.it>
31235
31236 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
31237 EOPNOTSUPP.
31238
25fe8932
JM
312392012-10-25 Joseph Myers <joseph@codesourcery.com>
31240
31241 * Makeconfig (run-program-prefix): Fix comment.
31242
cc1290d0
JM
312432012-10-24 Joseph Myers <joseph@codesourcery.com>
31244 Jim Blandy <jimb@codesourcery.com>
31245
31246 * Makeconfig (test-wrapper): New variable,
31247 (test-wrapper-env): Likewise.
31248 [$(cross-compiling) = yes && $(test-wrapper) != ""]
31249 (run-built-tests): Define to yes.
31250 (run-program-prefix): Use $(test-wrapper).
31251 (built-program-cmd): Likewise.
31252 * Rules (make-test-out): Use $(test-wrapper-env) and
31253 $(host-built-program-cmd).
31254 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
31255 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
31256 tst-pathopt.sh.
31257 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
31258 $(test-wrapper-env) to tst-rtld-load-self.sh.
31259 ($(objpfx)order2.out): Use $(test-wrapper).
31260 ($(objpfx)tst-initorder.out): Likewise.
31261 ($(objpfx)tst-initorder2.out): Likewise.
31262 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
31263 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
31264 (test_wrapper_env): New variable. Use it to run ld.so.
31265 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
31266 Use it to run ld.so.
31267 (test_wrapper_env): Likewise.
31268 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
31269 $(test-wrapper) to run-iconv-test.sh.
31270 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
31271 (ICONV): Use $test_wrapper.
31272 * posix/Makefile ($(objpfx)globtest.out): Pass
31273 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
31274 globtest.sh, not $(run-program-prefix).
31275 * posix/globtest.sh (run_via_rtld_prefix): New variable.
31276 (test_wrapper): Likewise.
31277 (test_wrapper_env): Likewise. Use it to run globtest with HOME
31278 set together with run_via_rtld_prefix.
31279 (run_program_prefix): Define in terms of test_wrapper and
31280 run_via_rtld_prefix.
31281
6e6249d0
RM
312822012-10-24 Roland McGrath <roland@hack.frob.com>
31283
31284 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
31285 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
31286 Targets removed.
31287
31288 [BZ #14743]
31289 * include/time.h: Remove librt_hidden_proto (clock_gettime).
31290 Declare __clock_getres, __clock_gettime, __clock_settime,
31291 __clock_nanosleep, and __clock_getcpuclockid.
31292 * rt/clock_gettime.c: Define __clock_gettime as an alias.
31293 Remove librt_hidden_def (clock_gettime).
31294 * sysdeps/unix/clock_gettime.c: Likewise.
31295 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
31296 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
31297 * rt/clock_getres.c: Define __clock_getres as an alias.
31298 * sysdeps/posix/clock_getres.c: Likewise.
31299 * rt/clock_settime.c: Define __clock_settime as an alias.
31300 * sysdeps/unix/clock_settime.c: Likewise.
31301 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
31302 * sysdeps/unix/clock_nanosleep.c: Likewise.
31303 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
31304 * rt/clock-compat.c: New file.
31305 * rt/Makefile (librt-routines): Add clock-compat and move
31306 $(clock-routines) to ...
31307 (routines): ... here, new variable.
31308 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
31309 Don't add get_clockfreq here.
31310 * rt/Versions (libc: GLIBC_2.17): New version set.
31311 Add clock_* symbols here.
31312 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
31313 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
31314 (GLIBC_2.17): Add clock_* symbols.
31315 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
31316 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
31317 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
31318 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
31319 Likewise.
31320 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
31321 Likewise.
31322 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
31323 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
31324 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
31325 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
31326 * NEWS: Mention the move.
31327
31328 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
31329 Use __open, __read, __close rather than their public counterparts.
31330 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
31331 (__get_clockfreq_via_cpuinfo): Likewise.
31332 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
31333 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
31334
31335 * config.h.in (HAVE_IFUNC): New #undef.
31336 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
31337 was successful.
31338 * configure: Regenerated.
31339
0cae3f4b
MF
313402012-10-24 Mike Frysinger <vapier@gentoo.org>
31341
31342 * configure.in: Move READELF check to start of file.
31343 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
31344 libc_cv_asm_gnu_indirect_function in the process.
31345 * configure: Regenerated.
31346
8175a253
MF
313472012-10-24 Mike Frysinger <vapier@gentoo.org>
31348
31349 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
31350 send the output to /dev/null.
31351 (libc_cv_cc_with_libunwind): Likewise.
31352 (libc_cv_as_noexecstack): Likewise.
31353 * configure: Regenerate.
31354
0708a7d1
JM
313552012-10-24 Joseph Myers <joseph@codesourcery.com>
31356
10b40d85
JM
31357 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
31358
0708a7d1
JM
31359 * posix/globtest.sh (TMPDIR): Do not set.
31360 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
31361 (testout): Likewise.
31362
9fddec1a
AJ
313632012-10-24 Andreas Jaeger <aj@suse.de>
31364
3a8db22f
AJ
31365 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
31366 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
31367 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
31368 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
31369 posix_fadvise64, posix_fallocate64.
31370
9fddec1a
AJ
31371 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
31372 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
31373 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
31374 Likewise.
31375 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
31376 Likewise.
31377 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
31378
31379 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
31380 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
31381 <bits/fcntl-linux.h>.
31382 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
31383
31384 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
31385 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
31386 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
31387 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
31388 [__WORDSIZE != 64]: Likewise.
31389
ebfd1bbd
JM
313902012-10-23 Joseph Myers <joseph@codesourcery.com>
31391
03ac099f
JM
31392 * Makeconfig (run-built-tests): New variable.
31393 * Rules [$(cross-compiling) = yes]: Change condition to
31394 [$(run-built-tests) = no].
31395 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
31396 to [$(run-built-tests) = yes].
31397 * elf/Makefile [$(cross-compiling) = no]: Likewise
31398 * grp/Makefile [$(cross-compiling) = no]: Likewise.
31399 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
31400 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
31401 * intl/Makefile [$(cross-compiling) = no]: Likewise.
31402 * io/Makefile [$(cross-compiling) = no]: Likewise.
31403 * libio/Makefile [$(cross-compiling) = no]: Likewise.
31404 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
31405 * misc/Makefile [$(cross-compiling) = no]: Likewise.
31406 * posix/Makefile [$(cross-compiling) = no]: Likewise.
31407 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
31408 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
31409 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
31410 * string/Makefile [$(cross-compiling) = no]: Likewise.
31411
ebfd1bbd
JM
31412 * posix/Makefile ($(objpfx)globtest.out): Pass
31413 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
31414 $(rtld-installed-name).
31415 * posix/globtest.sh (elf_objpfx): Remove variable.
31416 (rtld_installed_name): Likewise.
31417 (library_path): Likewise.
31418 (run_program_prefix): New variable. Use for running globtest
31419 binary.
31420
166bca24
JB
314212012-10-23 Jim Blandy <jimb@codesourcery.com>
31422 Joseph Myers <joseph@codesourcery.com>
31423
31424 * Makeconfig (host-built-program-cmd): New variable.
31425 * elf/Makefile (tst-stackguard1-ARGS): Use
31426 $(host-built-program-cmd).
31427 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
31428 (tst-spawn-ARGS): Likewise.
31429 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
31430
88866099
JM
314312012-10-23 Joseph Myers <joseph@codesourcery.com>
31432 Jim Blandy <jimb@codesourcery.com>
31433
31434 * Makeconfig (run-via-rtld-prefix): New variable.
31435 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
31436 (built-program-cmd): Likewise.
31437
b4b4c296
AJ
314382012-10-22 Andreas Jaeger <aj@suse.de>
31439
31440 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
31441 __O_RSYNC if it exists, otherwise to O_SYNC.
31442
6fb54a22
JB
314432012-10-22 Jim Blandy <jimb@codesourcery.com>
31444 Joseph Myers <joseph@codesourcery.com>
31445
31446 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
31447 /dev/null.
31448 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
31449 from /dev/null
31450 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
31451 /dev/null.
31452
481b90b9
AJ
314532012-10-22 Andreas Jaeger <aj@suse.de>
31454
2a0e2669
AJ
31455 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
31456 Define always.
31457 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
31458
76e38f9a
AJ
31459 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
31460 bits/fcntl-linux.h.
31461
7cd37b43
AJ
31462 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
31463 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
31464
481b90b9
AJ
31465 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
31466 to __O_LARGEFILE.
31467 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
31468 to __O_LARGEFILE.
31469
aba75984
JB
314702012-10-21 Jim Blandy <jimb@codesourcery.com>
31471 Joseph Myers <joseph@codesourcery.com>
31472
31473 * config.make.in (NM): New variable.
31474
88d4247f
AJ
314752012-10-21 Andreas Jaeger <aj@suse.de>
31476
31477 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
31478 definitions and declarations that are provided by
31479 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
31480
f2eed205
L
314812012-10-20 H.J. Lu <hongjiu.lu@intel.com>
31482
31483 [BZ #14683]
31484 * elf/Makefile (tests-static): Add tst-leaks1-static.
31485 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
31486 ($(objpfx)tst-leaks1-static): New rule.
31487 ($(objpfx)tst-leaks1-static-mem): Likewise.
31488 (tst-leaks1-static-ENV): New macro.
31489 * elf/dl-open.c (dl_open_worker): Check the main application
31490 only if SHARED is defined.
31491 * elf/tst-leaks1-static.c: New file.
31492
335e6931
AJ
314932012-10-20 Andreas Jaeger <aj@suse.de>
31494
31495 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
31496 generic values for Linux.
31497 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
31498 and declarations that are provided by <bits/fcntl-linux.h> and
31499 include <bits/fcntl-linux.h>.
31500 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
31501 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
31502
ac5c94d3
RM
315032012-10-20 Roland McGrath <roland@hack.frob.com>
31504
31505 * io/fcntl.h: Move include of <bits/types.h> to the top and
31506 include it unconditionally.
31507
de54b33a
L
315082012-10-20 H.J. Lu <hongjiu.lu@intel.com>
31509
228cfb01
L
31510 * wcsmbs/Makefile (tests-ifunc): New variable.
31511 (tests): Add $(tests-ifunc).
31512 * wcsmbs/test-wcschr-ifunc.c: New file.
31513 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
31514 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
31515 * wcsmbs/test-wcslen-ifunc.c: Likewise.
31516 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
31517 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
31518
69f07e5f
L
31519 * string/Makefile (tests-ifunc): New variable.
31520 (tests): Add $(tests-ifunc).
31521 * string/test-memccpy.c (TEST_NAME): New macro.
31522 * string/test-memchr.c (TEST_NAME): Likewise.
31523 * string/test-memcmp.c (TEST_NAME): Likewise.
31524 * string/test-memcpy.c (TEST_NAME): Likewise.
31525 * string/test-memmem.c (TEST_NAME): Likewise.
31526 * string/test-memmove.c (TEST_NAME): Likewise.
31527 * string/test-memset.c (TEST_NAME): Likewise.
31528 * string/test-rawmemchr.c (TEST_NAME): Likewise.
31529 * string/test-stpcpy.c (TEST_NAME): Likewise.
31530 * string/test-stpncpy.c (TEST_NAME): Likewise.
31531 * string/test-strcasecmp.c (TEST_NAME): Likewise.
31532 * string/test-strcasestr.c (TEST_NAME): Likewise.
31533 * string/test-strcat.c (TEST_NAME): Likewise.
31534 * string/test-strchr.c (TEST_NAME): Likewise.
31535 * string/test-strcmp.c(TEST_NAME): Likewise.
31536 * string/test-strcpy.c (TEST_NAME): Likewise.
31537 * string/test-strcspn.c (TEST_NAME): Likewise.
31538 * string/test-strlen.c (TEST_NAME): Likewise.
31539 * string/test-strncasecmp.c (TEST_NAME): Likewise.
31540 * string/test-strncmp.c (TEST_NAME): Likewise.
31541 * string/test-strncpy.c (TEST_NAME): Likewise.
31542 * string/test-strnlen.c (TEST_NAME): Likewise.
31543 * string/test-strpbrk.c (TEST_NAME): Likewise.
31544 * string/test-strrchr.c (TEST_NAME): Likewise.
31545 * string/test-strspn.c (TEST_NAME): Likewise.
31546 * string/test-strstr.c (TEST_NAME): Likewise.
31547 * string/test-bcopy-ifunc.c: New file.
31548 * string/test-bzero-ifunc.c: Likewise.
31549 * string/test-memccpy-ifunc.c: Likewise.
31550 * string/test-memchr-ifunc.c: Likewise.
31551 * string/test-memcmp-ifunc.c: Likewise.
31552 * string/test-memcpy-ifunc.c: Likewise.
31553 * string/test-memmem-ifunc.c: Likewise.
31554 * string/test-memmove-ifunc.c: Likewise.
31555 * string/test-mempcpy-ifunc.c: Likewise.
31556 * string/test-memset-ifunc.c: Likewise.
31557 * string/test-rawmemchr-ifunc.c: Likewise.
31558 * string/test-stpcpy-ifunc.c: Likewise.
31559 * string/test-stpncpy-ifunc.c: Likewise.
31560 * string/test-strcasecmp-ifunc.c: Likewise.
31561 * string/test-strcasestr-ifunc.c: Likewise.
31562 * string/test-strcat-ifunc.c: Likewise.
31563 * string/test-strchr-ifunc.c: Likewise.
31564 * string/test-strchrnul-ifunc.c: Likewise.
31565 * string/test-strcmp-ifunc.c: Likewise.
31566 * string/test-strcpy-ifunc.c: Likewise.
31567 * string/test-strcspn-ifunc.c: Likewise.
31568 * string/test-strlen-ifunc.c: Likewise.
31569 * string/test-strncasecmp-ifunc.c: Likewise.
31570 * string/test-strncat-ifunc.c: Likewise.
31571 * string/test-strncmp-ifunc.c: Likewise.
31572 * string/test-strncpy-ifunc.c: Likewise.
31573 * string/test-strnlen-ifunc.c: Likewise.
31574 * string/test-strpbrk-ifunc.c: Likewise.
31575 * string/test-strrchr-ifunc.c: Likewise.
31576 * string/test-strspn-ifunc.c: Likewise.
31577 * string/test-strstr-ifunc.c: Likewise.
31578
de54b33a
L
31579 * debug/Makefile (tests-ifunc): New variable.
31580 (tests): Add $(tests-ifunc).
31581 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
31582 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
31583 * debug/test-stpcpy_chk-ifunc.c: New file.
31584 * debug/test-strcpy_chk-ifunc.c: Likewise.
31585
88481c16
SP
315862012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
31587
31588 [BZ #13601]
31589 * elf/dl-load.c (open_verify): Retry read if the entire ELF
31590 header is not read in.
31591
135948bd
JM
315922012-10-19 Joseph Myers <joseph@codesourcery.com>
31593
89f1c388
JM
31594 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
31595 script to $(SHELL) as $<. Pass $(common-objpfx) to script
31596 directly. Pass built executable to script as
31597 $(built-program-cmd).
31598 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
31599 $testprogram without using LD_LIBRARY_PATH and $ldso.
31600
e40a0d21
JM
31601 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
31602 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
31603 $(rtld-installed-name).
31604 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
31605 (rtld_installed_name): Likewise.
31606 (library_path): Likewise.
31607 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
31608 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
31609 $(run-program-prefix) to tst-tables.sh.
31610 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
31611 it to run tst-table-from and tst-table-to.
31612 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
31613 Pass it to tst-table.sh.
31614 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
31615 $(run-program-prefix) to tst-gettext.sh.
31616 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
31617 tst-translit.sh.
31618 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
31619 tst-gettext2.sh.
31620 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
31621 to run tst-gettext.
31622 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
31623 to run tst-gettext2.
31624 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
31625 to run tst-translit.
31626 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
31627 $(run-program-prefix) to tst-mtrace.sh.
31628 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
31629 to run tst-mtrace.
31630 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
31631 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
31632 $(rtld-installed-name).
31633 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
31634 (rtld_installed_name): Likewise.
31635 (run_program_prefix): New variable. Use it to run wordexp-test.
31636
728e272a
JM
31637 * Makeconfig (ARCH): Remove all definitions.
31638 (machine): Likewise.
31639 [ARCH]: Remove conditional code.
31640 [!objdir]: Give error.
31641 [!objdir] (objpfx): Remove.
31642 [!objdir] (common-objpfx): Likewise.
31643 [!objdir] (common-objdir): Likewise.
31644 * configure.in (config_makefile): Remove. Hardcode Makefile in
31645 AC_CONFIG_FILES call.
31646 * configure: Regenerated.
31647
d528cdcf
JM
31648 [BZ #13888]
31649 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
31650 or TMPDIR.
31651 (testout): Likewise.
31652
135948bd
JM
31653 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
31654 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
31655 $(rtld-installed-name).
31656 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
31657 (rtld_installed_name): Likwise.
31658 (runit): Remove function.
31659 (run_getconf): New variable, Use it for running getconf binary.
31660
38c78296
L
316612012-10-18 H.J. Lu <hongjiu.lu@intel.com>
31662
31663 [BZ #14716]
31664 * string/test-memmem.c (check_result): New function.
31665 (do_one_test): Use it.
31666 (check1): New function.
31667 (test_main): Use it.
31668
d077f65f
MT
316692012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
31670
31671 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
31672
ced52c71
JM
316732012-10-18 Joseph Myers <joseph@codesourcery.com>
31674
31675 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
31676 (_G_LSEEK64): Likewise.
31677 (_G_MMAP64): Likewise.
31678 (_G_FSTAT64): Likewise.
31679 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
31680 (_G_LSEEK64): Likewise.
31681 (_G_MMAP64): Likewise.
31682 (_G_FSTAT64): Likewise.
31683 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
31684 unconditional. Call __mmap64 directly.
31685 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
31686 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
31687 __lseek64 directly.
31688 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
31689 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
31690 __mmap64 directly.
31691 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
31692 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
31693 __lseek64 directly.
31694 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
31695 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
31696 __lseek64 directly.
31697 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
31698 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
31699 __lseek64 directly.
31700 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
31701 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
31702 __fxstat64 directly.
31703 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
31704 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
31705 unconditional.
31706 (freopen64) [!_G_OPEN64]: Remove conditional code.
31707 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
31708 unconditional.
31709 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
31710 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
31711 unconditional.
31712 (ftello64) [!_G_LSEEK64]: Remove conditional code.
31713 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
31714 unconditional.
31715 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
31716 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
31717 unconditional.
31718 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
31719 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
31720 unconditional.
31721 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
31722 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
31723 unconditional.
31724 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
31725 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
31726 unconditional.
31727 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
31728
b741de23
SP
317292012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
31730
31731 [BZ #12140]
31732 * manual/memory.texi (Malloc Tunable Parameters): Add note
31733 about free list pointers overwriting some perturb bytes.
31734 Wording suggested by Roland McGrath.
31735
f9b9d9c9
JM
317362012-10-17 Joseph Myers <joseph@codesourcery.com>
31737
31738 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
31739 (lgamma_test): Likewise.
31740 (tgamma_test): Likewise.
31741
172a631a
FW
317422012-10-16 Florian Weimer <fweimer@redhat.com>
31743
31744 [BZ #14700]
31745 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
31746 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
31747
e9f37252
MK
317482012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
31749
31750 * NEWS: Mention BZ #14716.
31751 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
31752 when removing AVAILABLE1_USES_J macro.
31753
d394eb74
L
317542012-10-12 H.J. Lu <hongjiu.lu@intel.com>
31755
31756 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
31757 (__bswap_64): __uint64_t for unsigned 64-bit int.
31758
ca38dc17
AS
317592012-10-12 Andreas Schwab <schwab@linux-m68k.org>
31760
31761 * include/string.h (memmem): Declare libc hidden alias.
31762 * string/memmem.c (memmem): Define libc hidden alias.
31763 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
31764 __read, __close instead of open, read, close.
31765
9a387d1f
L
317662012-10-11 H.J. Lu <hongjiu.lu@intel.com>
31767
ac49ecaf
L
31768 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
31769 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
31770 global and hidden.
31771 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
31772 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
31773 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
31774 Likewise.
31775 (__rawmemchr_sse2): Likewise.
31776 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
31777 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
31778 (__strchr_sse2): Likewise.
31779 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
31780 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
31781 (__strcasecmp_sse2): Likewise.
31782 (__strncasecmp_sse2): Likewise.
31783 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
31784 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
31785 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
31786 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
31787 (__strrchr_sse2): Likewise.
31788 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
31789 ifunc-impl-list.c.
31790 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
31791 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
31792 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
31793 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
31794 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
31795 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
31796 * sysdeps/x86_64/multiarch/memset.S: Likewise.
31797 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
31798 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
31799 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
31800 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
31801 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
31802 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
31803 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
31804 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
31805 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
31806 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
31807 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
31808 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
31809 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
31810 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
31811 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
31812 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
31813 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
31814 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
31815 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
31816 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
31817 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
31818 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
31819 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
31820
b090e8ea
L
31821 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
31822 global and hidden.
31823 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
31824 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
31825 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
31826 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
31827 Likewise.
31828 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
31829 Likewise.
31830 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
31831 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
31832 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
31833 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
31834 ifunc-impl-list.c.
31835 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
31836 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
31837 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
31838 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
31839 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
31840 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
31841 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
31842 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
31843 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
31844 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
31845 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
31846 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
31847 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
31848 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
31849 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
31850 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
31851 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
31852 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
31853 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
31854 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
31855 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
31856 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
31857 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
31858 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
31859 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
31860 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
31861 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
31862 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
31863 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
31864 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
31865 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
31866 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
31867 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
31868 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
31869 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
31870 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
31871 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
31872 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
31873 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
31874 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
31875 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
31876
11dd4af6
L
31877 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
31878 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
31879 * include/ifunc-impl-list.h: New file.
31880 * misc/ifunc-impl-list.c: Likewise.
31881 * misc/Makefile (routines): Add ifunc-impl-list.
31882 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
31883 * string/test-string.h: Include <ifunc-impl-list.h>.
57f41c40
AS
31884 (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
31885 TEST_NAME]: New variables.
11dd4af6
L
31886 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
31887 are defined.
31888 (test_init): Call __libc_ifunc_impl_list to initialize
31889 func_list if TEST_IFUNC and TEST_NAME are defined.
31890
9a387d1f
L
31891 * string/Makefile (strop-tests): Add bcopy and bzero.
31892 * string/test-bcopy.c: New file.
31893 * string/test-bzero.c: Likewise.
31894 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
31895 defined.
31896 * string/test-memset.c: Support bzero test if TEST_BZERO is
31897 defined.
31898 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
31899 __libc_memmove.
31900 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
31901 __libc_memset.
31902 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
31903 of memset.
31904
472371b9
JM
319052012-10-10 Joseph Myers <joseph@codesourcery.com>
31906
1e4a9536
JM
31907 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
31908 * configure: Regenerated.
31909
d173d12e
JM
31910 * Makeconfig (+link-static-before-libc): Don't include
31911 $(link-static-libc).
31912
472371b9
JM
31913 * libio/libio.h (_IO_pos_t): Remove.
31914
89a3ad0b
AO
319152012-10-10 Alexandre Oliva <aoliva@redhat.com>
31916
31917 * NEWS: Add note about FIPS mode. Wording suggested by Roland
31918 McGrath.
31919
e7451425
AO
319202012-10-10 Alexandre Oliva <aoliva@redhat.com>
31921
31922 * crypt/crypt-entry.c: Include fips-private.h.
31923 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
31924 * crypt/md5c-test.c (main): Tolerate disabled MD5.
31925 * sysdeps/unix/sysv/linux/fips-private.h: New file.
31926 * sysdeps/generic/fips-private.h: New file, dummy fallback.
31927
4ba74a35
AO
319282012-10-10 Alexandre Oliva <aoliva@redhat.com>
31929
31930 * crypt/crypt-private.h: Include stdbool.h.
31931 (_ufc_setup_salt_r): Return bool.
31932 * crypt/crypt-entry.c: Include errno.h.
31933 (__crypt_r): Return NULL with EINVAL for bad salt.
31934 * crypt/crypt_util.c (bad_for_salt): New.
31935 (_ufc_setup_salt_r): Check that salt is long enough and within
31936 the specified alphabet.
31937 * crypt/badsalttest.c: New file.
31938 * crypt/Makefile (tests): Add it.
31939 ($(objpfx)badsalttest): New.
31940
f96f1242
MK
319412012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
31942
31943 * NEWS: Add entry for BZ #14602.
31944
0e8e0c1c
JM
319452012-10-09 Joseph Myers <joseph@codesourcery.com>
31946
31947 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
31948 type-generic.
31949 * math/libm-test.inc: Update comment listing what functions and
31950 macros are tested.
31951 (isgreater_test): New function.
31952 (isgreaterequal_test): Likewise.
31953 (isless_test): Likewise.
31954 (islessequal_test): Likewise.
31955 (islessgreater_test): Likewise.
31956 (isunordered_test): Likewise.
31957 (main): Call the new functions.
31958
273edc5e
RM
319592012-10-09 Roland McGrath <roland@hack.frob.com>
31960
b8493de0
RM
31961 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
31962 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
31963 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
31964 * sysdeps/i386/configure: Regenerated.
31965 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
31966 * sysdeps/mach/configure: Regenerated.
31967 * sysdeps/mach/hurd/configure: Regenerated.
31968 * sysdeps/powerpc/configure: Regenerated.
31969 * sysdeps/powerpc/powerpc32/configure: Regenerated.
31970 * sysdeps/powerpc/powerpc64/configure: Regenerated.
31971 * sysdeps/s390/s390-32/configure: Regenerated.
31972 * sysdeps/s390/s390-64/configure: Regenerated.
31973 * sysdeps/sh/configure: Regenerated.
31974 * sysdeps/sparc/configure: Regenerated.
31975 * sysdeps/unix/sysv/linux/configure: Regenerated.
31976 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
31977 * sysdeps/x86_64/configure: Regenerated.
31978
273edc5e
RM
31979 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
31980 defined. Don't check if MAP is NULL.
31981
c8450f70
JM
319822012-10-09 Joseph Myers <joseph@codesourcery.com>
31983
31984 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
31985 (_G_stat64): Likewise.
31986 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
31987 (_G_stat64): Likewise.
31988 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
31989 instead of struct _G_stat64.
31990 * libio/fileops.c (mmap_remap_check): Likewise.
31991 (decide_maybe_mmap): Likewise.
31992 (_IO_new_file_seekoff): Likewise.
31993 (_IO_file_stat): Likewise.
31994 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
31995 _G_off64_t.
31996 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
31997 instead of struct _G_stat64.
31998 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
31999
57e605ba
MK
320002012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
32001
32002 [BZ #14602]
32003 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
32004 Replace with ...
32005 (CHECK_EOL): New macro.
32006 (two_way_short_needle): Check beginning of haystack for EOL. Use
32007 CHECK_EOL.
32008 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
32009 Replace with CHECK_EOL.
32010 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
32011 Replace with CHECK_EOL.
32012
ef1bb361
JM
320132012-10-08 Joseph Myers <joseph@codesourcery.com>
32014
32015 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
32016 type-generic.
32017 * math/libm-test.inc: Update comment listing what functions and
32018 macros are tested.
32019 (finite_test): New function.
32020 (isinf_test): Likewise.
32021 (isnan_test): Likewise.
32022 (fpclassify_test): Test subnormal input.
32023 (isfinite_test): Likewise.
32024 (isnormal_test): Likewise.
32025 (main): Call the new functions.
32026
55f11534
JN
320272012-10-08 Jonathan Nieder <jrnieder@gmail.com>
32028
32029 [BZ #14660]
32030 * Makerules (%.dynsym): Force C locale when running
32031 $(OBJDUMP) --dynamic-syms.
32032
1ab29350
AS
320332012-10-08 Andreas Schwab <schwab@linux-m68k.org>
32034
32035 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
32036 <stdint.h>.
32037
f1ecb7ef
DM
320382012-10-06 David S. Miller <davem@davemloft.net>
32039
32040 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
32041 upper 32-bits of the length value in %o2 since we use branch-on-register
32042 tests which consider the entire 64-bit register.
32043
5d41d91a
L
320442012-10-06 H.J. Lu <hongjiu.lu@intel.com>
32045
32046 * string/test-strstr.c (check2): Add a test for page boundary.
32047
3baddb72
DM
320482012-10-05 David S. Miller <davem@davemloft.net>
32049
32050 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
32051 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
32052 file.
32053 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
32054 sysdep_routines.
32055 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
32056 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
32057 and bzero when HWCAP_SPARC_CRYPTO is present.
32058
9cee5585
L
320592012-10-05 H.J. Lu <hongjiu.lu@intel.com>
32060
d7e0dab9
L
32061 [BZ #14602]
32062 * string/test-strstr.c (check2): New function.
32063 (test_main): Call check2.
32064
03759f47
L
32065 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
32066 and bug-strchr1.
32067 * string/bug-strcasestr1.c (do_test): Moved to ...
32068 * string/test-strcasestr.c (check1): Here. New function.
32069 (do_one_test): Break out result checking code into ...
32070 (check_result): This. New function.
32071 (do_one_test): Call check_result.
32072 (test_main): Call check1.
32073 * string/bug-strchr1.c (do_test): Moved to ...
32074 * string/test-strchr.c (check1): Here. New function.
32075 (do_one_test): Break out result checking code into ...
32076 (check_result): This. New function.
32077 (do_one_test): Call check_result.
32078 (test_main): Call check1.
32079 * string/bug-strstr1.c (main): Moved to ...
046f153e 32080 * string/test-strstr.c (check1): Here. New function.
03759f47
L
32081 (do_one_test): Break out result checking code into ...
32082 (check_result): This. New function.
32083 (do_one_test): Call check_result.
32084 (test_main): Call check1.
32085 * string/bug-strcasestr1.c: Removed.
32086 * string/bug-strchr1.c: Likewise.
32087 * string/bug-strstr1.c: Likewise.
32088
53cea63e
L
32089 * elf/Makefile (dl-routines): Add hwcaps.
32090 * elf/dl-support.c (_dl_important_hwcaps): Removed.
32091 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
32092 (_dl_important_hwcaps): Moved to ...
32093 * elf/dl-hwcaps.c: Here. New file.
32094 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
32095
9cee5585 32096 [BZ #14557]
bb859b06
L
32097 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
32098 if IS_IN_rtld isn't defined.
32099
9cee5585
L
32100 * elf/dl-support.c (_dl_sysinfo_map): New.
32101 Include "get-dynamic-info.h" and "setup-vdso.h".
32102 (_dl_non_dynamic_init): Call setup_vdso.
32103 * elf/dynamic-link.h: Don't include <assert.h>.
32104 (elf_get_dynamic_info): Moved to ...
32105 * elf/get-dynamic-info.h: Here. New file.
32106 * elf/dynamic-link.h: Include "get-dynamic-info.h".
32107 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
32108 * elf/setup-vdso.h: Here. New file.
32109 * elf/rtld.c: Include "setup-vdso.h".
32110 (dl_main): Call setup_vdso.
32111
23c31b76
JM
321122012-10-05 Joseph Myers <joseph@codesourcery.com>
32113
28234b07
JM
32114 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
32115 creal in comment listing functions tested. List finite, isinf,
32116 isnan, isless, islessequal, isgreater, isgreaterequal,
32117 islessgreater, isunordered, lgamma_r and pow10 as functions and
32118 macros not tested. Mention which functions not tested are aliases
32119 for other functions. Fix typo. Note that signs of NaNs are not
32120 tested.
32121
23c31b76
JM
32122 * scripts/config.guess: Update from config.git.
32123 * scripts/config.sub: Likewise.
32124
9043e228
RM
321252012-10-04 Roland McGrath <roland@hack.frob.com>
32126
32127 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
32128 * misc/madvise.c (madvise): Renamed to __madvise.
32129 Make madvise a weak alias.
32130 * include/sys/mman.h: Declare __madvise.
32131 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
32132 * sysdeps/unix/syscalls.list
32133 (madvise): Make __madvise the strong name, and madvise a weak alias.
32134 * sysdeps/unix/sysv/linux/syscalls.list
32135 (madvise, mmap): Remove redundant entries.
32136 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
32137 * malloc/malloc.c (mtrim): Likewise.
32138 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
32139
f57f8055
RM
321402012-10-03 Roland McGrath <roland@hack.frob.com>
32141
32142 * sysdeps/mach/hurd/dl-cache.c: File removed.
32143 * config.h.in (USE_LDCONFIG): New #undef.
32144 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
32145 * configure: Regenerated.
32146 * elf/Makefile (dl-routines): Add dl-cache only under
32147 [$(use-ldconfig) = yes].
32148 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
32149 cache on [USE_LDCONFIG].
32150 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
32151 [USE_LDCONFIG].
32152 * elf/rtld.c (dl_main): Likewise.
32153
5bb0c10a
PT
321542012-10-03 Pino Toscano <toscano.pino@tiscali.it>
32155
32156 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
32157 _SC_LEVEL4_CACHE_LINESIZE.
32158
010188c6
RM
321592012-10-03 Roland McGrath <roland@hack.frob.com>
32160
32161 * sysdeps/unix/bsd/confstr.h: File removed.
32162
b6c5ec07
AO
321632012-10-02 Alexandre Oliva <aoliva@redhat.com>
32164
32165 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
32166 sys/sdt-config.h.
32167
408223d4
RM
321682012-10-02 Roland McGrath <roland@hack.frob.com>
32169
32170 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
32171 Make 'mapoff' field ElfW(Off) rather than off_t.
32172
bb9510dc
DL
321732012-10-02 Dmitry V. Levin <ldv@altlinux.org>
32174
fc997c6e
DL
32175 * nscd/Makefile: Remove nscd-cflags and all its users.
32176 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
32177 (CFLAGS-nonlib): Add compiler flags for nscd modules.
32178
bb9510dc
DL
32179 [BZ #10631]
32180 * malloc.c (malloc_printerr): Clarify error message.
32181
05699367
L
321822012-10-02 H.J. Lu <hongjiu.lu@intel.com>
32183
32184 [BZ #14648]
32185 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
32186 Set bit_FMA_Usable if FMA is supported.
32187 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
32188 macro.
32189 (bit_FMA4_Usable): Updated.
32190 (index_FMA_Usable): New macro.
32191 (CPUID_FMA): Likewise
32192 (HAS_FMA): Defined with bit_FMA_Usable.
32193
51367701
RM
321942012-10-01 Roland McGrath <roland@hack.frob.com>
32195
32196 * bits/types.h (__swblk_t): Type removed.
32197 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
32198 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
32199 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
32200 (__SWBLK_T_TYPE): Likewise.
32201 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
32202 (__SWBLK_T_TYPE): Likewise.
32203 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
32204 (__SWBLK_T_TYPE): Likewise.
32205 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
32206 (__SWBLK_T_TYPE): Likewise.
32207
4d57bf63 322082012-10-01 Patsy Franklin <pfrankli@redhat.com>
1e9d84cd 32209 Honza Horak <hhorak@redhat.com>
4d57bf63
JL
32210
32211 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
32212 (xdr_mapname): Use YPMAXMAP as maxsize.
32213 (xdr_peername): Use YPMAXPEER as maxsize.
32214 (xdr_keydat): Use YPAXRECORD as maxsize.
32215 (xdr_valdat): Use YPMAXRECORD as maxsize.
32216
93c65d43
RM
322172012-10-01 Roland McGrath <roland@hack.frob.com>
32218
497a03d6
RM
32219 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
32220
93c65d43
RM
32221 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
32222 * csu/init-first.c: ... here.
32223 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
32224 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
32225 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
32226 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
32227 * sysdeps/i386/init-first.c: File removed.
32228 * sysdeps/sh/init-first.c: File removed.
32229
bec749fd
JM
322302012-10-01 Joseph Myers <joseph@codesourcery.com>
32231
32232 [BZ #14645]
32233 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
32234 if x * y might underflow to zero and z is zero.
32235 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
32236 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
32237 * math/libm-test.inc (min_subnorm_value): New variable.
32238 (fma_test): Add more tests.
32239 (fma_test_towardzero): Likewise.
32240 (fma_test_downward): Likewise
32241 (fma_test_upward): Likewise.
32242 (initialize): Set min_subnorm_value.
32243
8ec5b013
JM
322442012-09-29 Joseph Myers <joseph@codesourcery.com>
32245
32246 [BZ #14638]
32247 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
32248 0 + 0.
32249 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
32250 mode for addition resulting in exact zero.
32251 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
32252 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
32253 exact 0 + 0.
32254 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
32255 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
32256 * math/libm-test.inc (fma_test): Add more tests.
32257 (fma_test_towardzero): New function.
32258 (fma_test_downward): Likewise.
32259 (fma_test_upward): Likewise.
32260 (main): Call the new functions.
32261
b1fa802e
DM
322622012-09-28 David S. Miller <davem@davemloft.net>
32263
32264 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
32265
d3b9fd9e
RM
322662012-09-28 Roland McGrath <roland@hack.frob.com>
32267
ea4d37b3
RM
32268 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
32269 instead of SIGALRM.
32270
ac51c949
RM
32271 * sysdeps/gnu/_G_config.h: Moved to ...
32272 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
32273 * sysdeps/mach/hurd/_G_config.h: Moved to ...
32274 * sysdeps/generic/_G_config.h: ... here.
32275
28c195f7
RM
32276 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
32277
848917f9
RM
32278 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
32279
6bacf05b
RM
32280 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
32281 Conditionalize target on [libnss_test1.so-version].
32282
91363dbb
RM
32283 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
32284
cc87f7d8
RM
32285 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
32286 (elfobjdir): Move out of conditionals.
32287
b1c608fe
RM
32288 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
32289 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
32290 (__nss_lookup_function): Conditionalize label remove_from_tree on
32291 [!DO_STATIC_NSS || SHARED], matching its only use.
d3b9fd9e 32292
1d9a6d96
DM
322932012-09-28 David S. Miller <davem@davemloft.net>
32294
32295 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
32296 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
32297 file.
32298 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
32299 sysdep_routines.
32300 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
32301 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
32302 when HWCAP_SPARC_CRYPTO is present.
32303
72581615
PT
323042012-09-28 Pino Toscano <toscano.pino@tiscali.it>
32305
32306 * io/tst-mknodat.c: Create a FIFO instead of a socket.
32307
715a900c
JL
323082012-09-28 Andreas Schwab <schwab@linux-m68k.org>
32309
32310 [BZ #6530]
32311 * stdio-common/vfprintf.c (process_string_arg): Revert
32312 2000-07-22 change.
32313
323142011-09-28 Jonathan Nieder <jrnieder@gmail.com>
32315
32316 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
32317 for testcase.
32318 * stdio-common/tst-sprintf.c: Include <locale.h>
32319 (main): Test sprintf's handling of incomplete multibyte
32320 characters.
32321
9bac1d86
L
323222012-09-28 H.J. Lu <hongjiu.lu@intel.com>
32323
32324 * elf/dl-runtime.c (VERSYMIDX): Removed.
32325 * elf/dl-version.c (VERSYMIDX): Likewise.
32326 * elf/do-rel.h (VERSYMIDX): Likewise.
32327 (VALIDX): Likewise.
32328 * elf/dynamic-link.h (VERSYMIDX): Likewise.
32329 * elf/rtld.c (VALIDX): Likewise.
32330 (ADDRIDX): Likewise.
9bac1d86
L
32331 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
32332 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
32333 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
9c464f9c
L
32334 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
32335 (VALIDX): Likewise.
32336 (ADDRIDX): Likewise.
9bac1d86 32337
b31606c0
PT
323382012-09-28 Pino Toscano <toscano.pino@tiscali.it>
32339
32340 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
32341
11541177
JL
323422012-09-28 Dmitry V. Levin <ldv@altlinux.org>
32343
32344 [BZ #11438]
32345 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
32346 to global scope.
32347 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
32348 addresses are in the same scope as 192.0.2/24.
32349 * posix/gai.conf: Document new scope table defaults.
32350
adb26fae
SP
323512012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
32352
32353 [BZ #5298]
32354 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
32355 for ftell. Compute offsets from write pointers instead.
32356 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
32357
4573c6b0
SP
323582012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
32359
32360 [BZ #14543]
32361 * libio/Makefile (tests): New test case tst-fseek.
32362 * libio/tst-fseek.c: New test case to verify that fseek/ftell
32363 combination works in wide mode.
32364 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
32365 state when the external buffer state changes.
32366
aa9bbfe6
DM
323672012-09-27 David S. Miller <davem@davemloft.net>
32368
32369 [BZ #14376]
32370 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
32371 pass reloc->r_addend in as the 'high' argument to
32372 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
32373
784421e7
DM
32374 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32375
c39bc8b8
PT
323762012-09-28 Pino Toscano <toscano.pino@tiscali.it>
32377
32378 * rt/tst-aio2.c: Include <pthread.h>.
32379 * rt/tst-aio3.c: Likewise.
32380
1ccc2399
SE
323812012-09-27 Steve Ellcey <sellcey@mips.com>
32382
32383 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
32384
31ed4153
L
323852012-09-27 H.J. Lu <hongjiu.lu@intel.com>
32386
25f5f885
L
32387 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
32388 contents on [SHARED].
31ed4153 32389
b7bfe116
MP
323902012-09-26 Marek Polacek <polacek@redhat.com>
32391
32392 [BZ #14530]
32393 [BZ #13741]
32394 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
32395 for C++ and GCC <4.3 as well as for non GCC compilers.
32396
43c4edba
MT
323972012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
32398
32399 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
32400
6a1bf82f
RM
324012012-09-25 Roland McGrath <roland@hack.frob.com>
32402
32403 * Makefile.in (all, install): Declare with .PHONY.
32404 Reported by Michael Hope <michael.hope@linaro.org>.
32405
8ad11b9a
TMQMF
324062012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
32407
32408 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
32409 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
32410 system header.
32411 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
32412 Likewise.
32413 (sydep_routines): Add the new and the internal functions.
32414 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
32415 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
32416 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
32417 (GLIBC_2.17): Add the new function.
32418 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
32419 (GLIBC_2.17): Likewise.
32420 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
32421 (GLIBC_2.17): Likewise.
32422 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
32423 (GLIBC_2.17): Likewise.
32424 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
32425
7e2fca8d
AM
324262012-09-25 Alan Modra <amodra@gmail.com>
32427
32428 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
32429 Add release barrier before setting once_control to say
32430 initialisation is done. Add hints on lwarx. Use macro in
32431 place of isync.
32432 (clear_once_control): Add release barrier.
32433
b87c4b24
JM
324342012-09-25 Joseph Myers <joseph@codesourcery.com>
32435
d032e0d2
JM
32436 [BZ #13629]
32437 * math/s_clog.c (__clog): Handle more values close to |z| = 1
32438 specially.
32439 * math/s_clog10.c (__clog10): Likewise.
32440 * math/s_clog10f.c (__clog10f): Likewise.
32441 * math/s_clog10l.c (__clog10l): Likewise.
32442 * math/s_clogf.c (__clogf): Likewise.
32443 * math/s_clogl.c (__clogl): Likewise.
32444 * math/Makefile (libm-calls): Add x2y2m1.
32445 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
32446 (__x2y2m1): Likewise.
32447 (__x2y2m1l): Likewise.
32448 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
32449 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
32450 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
32451 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
32452 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
32453 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
32454 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
32455 * sysdeps/i386/fpu/libm-test-ulps: Update.
32456 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32457
b87c4b24
JM
32458 [BZ #14621]
32459 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
32460 int as type of variable DEPTH.
32461 (glob): Use size_t instead of int as type of variables NEWCOUNT
32462 and OLD_PATHC.
32463
6d3bf199
LD
324642012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32465
22bf5c17
LD
32466 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
32467 Add s_sincosf-sse2.
32468 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
32469 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
32470 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
32471 macros for using routine as __sincosf_ia32.
32472 Use macro for function declaration and weak_alias.
32473 * sysdeps/i386/fpu/libm-test-ulps: Update.
32474
32475 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
32476 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
32477
32478 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
6d3bf199
LD
32479 subnormal argument.
32480 * math/s_cexpf.c (__cexpf): Likewise.
32481 * math/s_csinf.c (__csinf): Likewise.
32482 * math/s_csinhf.c (__csinhf): Likewise.
32483 * math/s_ctanf.c (__ctanf): Likewise.
32484 * math/s_ctanhf.c (__ctanhf): Likewise.
32485 * math/s_ccosh.c (__ccoshf): Likewise.
32486 * math/s_cexp.c (__cexpl): Likewise.
32487 * math/s_csin.c (__csin): Likewise.
32488 * math/s_csinh.c (__csinh): Likewise.
32489 * math/s_ctan.c (__ctan): Likewise.
32490 * math/s_ctanh.c (ctanh): Likewise.
32491 * math/s_ccoshl.c (__ccoshl): Likewise.
32492 * math/s_cexpl.c (__cexpl): Likewise.
32493 * math/s_csinl.c (__csinl): Likewise.
32494 * math/s_csinhl.c (__csinhl): Likewise.
32495 * math/s_ctanl.c (__ctanl): Likewise.
32496 * math/s_ctanhl.c (__ctanhl): Likewise.
32497
203e5603
JM
324982012-09-25 Joseph Myers <joseph@codesourcery.com>
32499
32500 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
32501 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
32502 (_IO_off_t): Define to __off_t, not _G_off_t.
32503 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
32504 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
32505 (_IO_wint_t): Define to wint_t, not _G_wint_t.
32506 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
32507 type of __dummy and __dummy2 fields.
32508 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
32509 (_G_ssize_t): Likewise.
32510 (_G_off_t): Likewise.
32511 (_G_pid_t): Likewise.
32512 (_G_uid_t): Likewise.
32513 (_G_wchar_t): Likewise.
32514 (_G_wint_t): Likewise.
32515 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
32516 (_G_ssize_t): Likewise.
32517 (_G_off_t): Likewise.
32518 (_G_pid_t): Likewise.
32519 (_G_uid_t): Likewise.
32520 (_G_wchar_t): Likewise.
32521 (_G_wint_t): Likewise.
32522 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
32523 (_G_ssize_t): Likewise.
32524 (_G_off_t): Likewise.
32525 (_G_pid_t): Likewise.
32526 (_G_uid_t): Likewise.
32527 (_G_wchar_t): Likewise.
32528 (_G_wint_t): Likewise.
32529
9fab36eb
SP
325302012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
32531
32532 * malloc/arena.c: Include malloc-sysdep.h.
32533 (shrink_heap): Use check_may_shrink_heap to decide if madvise
32534 is sufficient to shrink the heap or an unmap is needed.
32535 * sysdeps/generic/malloc-sysdep.h: New file. Define
32536 new function check_may_shrink_heap.
32537 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
32538 new function check_may_shrink_heap.
32539
2b4f00d1
SP
325402012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
32541
32542 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
32543 comments.
32544
9a9028b1
DL
325452012-09-24 Dmitry V. Levin <ldv@altlinux.org>
32546
57c69bef
DL
32547 * catgets/test-gencat.sh: Add "set -e".
32548 * elf/tst-pathopt.sh: Likewise.
32549 * grp/tst_fgetgrent.sh: Likewise.
32550 * iconvdata/run-iconv-test.sh: Likewise.
32551 * intl/tst-gettext.sh: Likewise.
32552 * intl/tst-gettext2.sh: Likewise.
32553 * intl/tst-gettext4.sh: Likewise.
32554 * intl/tst-gettext6.sh: Likewise.
32555 * intl/tst-translit.sh: Likewise.
32556 * io/ftwtest-sh: Likewise.
32557 * libio/test-freopen.sh: Likewise.
32558 * malloc/tst-mtrace.sh: Likewise.
32559 * posix/globtest.sh: Likewise.
32560 * posix/tst-getconf.sh: Likewise.
32561 * posix/wordexp-tst.sh: Likewise.
32562 * stdio-common/tst-printf.sh: Likewise.
32563 * stdio-common/tst-unbputc.sh: Likewise.
32564 * stdlib/tst-fmtmsg.sh: Likewise.
32565 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
32566 * catgets/Makefile: Do not specify -e option when running
32567 testsuite shell scripts.
32568 * elf/Makefile: Likewise.
32569 * grp/Makefile: Likewise.
32570 * iconvdata/Makefile: Likewise.
32571 * intl/Makefile: Likewise.
32572 * io/Makefile: Likewise.
32573 * libio/Makefile: Likewise.
32574 * malloc/Makefile: Likewise.
32575 * posix/Makefile: Likewise.
32576 * stdio-common/Makefile: Likewise.
32577 * stdlib/Makefile: Likewise.
32578 * sysdeps/x86_64/Makefile: Likewise.
32579
9a9028b1
DL
32580 * io/ftwtest-sh: Add copyright header.
32581 * posix/globtest.sh: Likewise.
32582 * posix/tst-getconf.sh: Likewise.
32583 * posix/wordexp-tst.sh: Likewise.
32584 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
32585
ced6f16e
L
325862012-09-24 H.J. Lu <hongjiu.lu@intel.com>
32587
94b32c39
L
32588 [BZ #13679]
32589 * Makeconfig (+link): Defined as $(+link-static) if
32590 $(build-shared) isn't yes.
32591 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
32592 isn't yes.
32593 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
32594
189e935b
L
32595 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
32596
ced6f16e
L
32597 [BZ #14562]
32598 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
32599 new chunk size with MALLOC_ALIGN_MASK.
32600
a9f8e53a
JM
326012012-09-24 Joseph Myers <joseph@codesourcery.com>
32602
32603 [BZ #5044]
32604 * stdio-common/printf_fphex.c: Include <stdbool.h> and
32605 <rounding-mode.h>.
32606 (__printf_fphex): Determine rounding using get_rounding_mode and
32607 round_away.
32608 * stdio-common/tst-printf-round.c (struct hex_test): New
32609 structure.
32610 (hex_tests): New variable.
32611 (test_hex_in_one_mode): New function.
32612 (do_test): Also run tests for hex float output.
32613
43153109
JM
326142012-09-21 Joseph Myers <joseph@codesourcery.com>
32615
32616 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
32617 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
32618 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
32619 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
32620 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
32621 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
32622 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
32623 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
32624
8a26625d
JM
326252012-09-20 Joseph Myers <joseph@codesourcery.com>
32626
32627 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
32628 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
32629 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
32630 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
32631
f3fd569c
DL
326322012-09-19 Dmitry V. Levin <ldv@altlinux.org>
32633
32634 [BZ #14579]
32635 * elf/rtld.c (dl_main): Limit the check for self loading to normal
32636 mode only.
32637 * elf/tst-rtld-load-self.sh: New test.
32638 * elf/Makefile: Run it.
32639
63bbedd4
JM
326402012-09-18 Joseph Myers <joseph@codesourcery.com>
32641
32642 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
32643 (tst-writev-ENV): Remove.
32644 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
32645
626f8b6a
CM
326462012-09-17 Chris Metcalf <cmetcalf@tilera.com>
32647
32648 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
32649
b7aaa4d6
JM
326502012-09-17 Joseph Myers <joseph@codesourcery.com>
32651
32652 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
32653 unconditional.
32654 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
32655 Likewise.
32656 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
32657 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
32658 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
32659 Likewise.
32660
65513990
L
326612012-09-14 H.J. Lu <hongjiu.lu@intel.com>
32662
32663 [BZ #14587]
32664 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
32665 * config.make.in (have-cpp-asm-debuginfo): Removed.
32666 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
32667 * configure: Regenerated.
32668
784761be
JM
326692012-09-14 Joseph Myers <joseph@codesourcery.com>
32670
32671 [BZ #5044]
32672 * stdio-common/printf_fp.c: Include <stdbool.h> and
32673 <rounding-mode.h>.
32674 (___printf_fp): Determine rounding using get_rounding_mode and
32675 round_away.
32676 * stdio-common/tst-printf-round.c: New file.
32677 * stdio-common/Makefile (tests): Add tst-printf-round.
32678 (link-libm): New variable.
32679 ($(objpfx)tst-printf-round): Depend in $(link-libm).
32680
9503345f
L
326812012-09-13 H.J. Lu <hongjiu.lu@intel.com>
32682
32683 [BZ #14576]
32684 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
32685 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
32686 Likewise.
32687 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
32688 Likewise.
32689
ad35fc00
JM
326902012-09-13 Joseph Myers <joseph@codesourcery.com>
32691
32692 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
32693 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
32694 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
32695 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
32696
6c9b0f68
JM
326972012-09-12 Joseph Myers <joseph@codesourcery.com>
32698
32699 [BZ #14518]
32700 * include/rounding-mode.h: New file.
32701 * sysdeps/generic/get-rounding-mode.h: Likewise.
32702 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
32703 * stdlib/strtod_l.c: Include <rounding-mode.h>.
32704 (MAX_VALUE): New macro.
32705 (MIN_VALUE): Likewise.
32706 (overflow_value): New function.
32707 (underflow_value): Likewise.
32708 (round_and_return): Use overflow_value and underflow_value to
32709 determine return values in overflow and underflow cases. Use
32710 round_away to determine rounding depending on rounding mode.
32711 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
32712 determine return values in overflow and underflow cases.
32713 * stdlib/tst-strtod-round.c: Include <fenv.h>.
32714 (struct test_results): New structure.
32715 (struct test): Use struct test_results to store expected results
32716 for all rounding modes.
32717 (TEST): Include expected results for all rounding modes.
32718 (test_in_one_mode): New function.
32719 (do_test): Use test_in_one_mode to compute and check results.
32720 Check results for all rounding modes.
32721 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
32722 $(link-libm).
32723
19fcedd5
AM
327242012-12-09 Allan McRae <allan@archlinux.org>
32725
1e9d84cd 32726 * sysdeps/i386/fpu/libm-test-ulps: Update
19fcedd5 32727
8bbfd2f1
JM
327282012-09-11 Joseph Myers <joseph@codesourcery.com>
32729
32730 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
32731 (_G_int32_t): Likewise.
32732 (_G_uint16_t): Likewise.
32733 (_G_uint32_t): Likewise.
32734 (_G_HAVE_BOOL): Likewise.
32735 (_G_HAVE_ATEXIT): Likewise.
32736 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
32737 (_G_HAVE_IO_FILE_OPEN): Likewise.
32738 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
32739 (_G_int32_t): Likewise.
32740 (_G_uint16_t): Likewise.
32741 (_G_uint32_t): Likewise.
32742 (_G_HAVE_BOOL): Likewise.
32743 (_G_HAVE_ATEXIT): Likewise.
32744 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
32745 (_G_HAVE_IO_FILE_OPEN): Likewise.
32746 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
32747 (_G_int32_t): Likewise.
32748 (_G_uint16_t): Likewise.
32749 (_G_uint32_t): Likewise.
32750 (_G_HAVE_BOOL): Likewise.
32751 (_G_HAVE_ATEXIT): Likewise.
32752 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
32753 (_G_HAVE_IO_FILE_OPEN): Likewise.
32754
b1dc5912
L
327552012-09-11 H.J. Lu <hongjiu.lu@intel.com>
32756
32757 * csu/libc-tls.c: Update copyright years.
32758
0e886ef9
JM
327592012-09-10 Joseph Myers <joseph@codesourcery.com>
32760
28361c5e
JM
32761 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
32762 [!_G_USING_THUNKS]: Remove conditional code.
32763 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
32764 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
32765
0e886ef9
JM
32766 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
32767 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
32768 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
32769 (_G_VTABLE_LABEL_PREFIX): Likewise.
32770 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
32771 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
32772 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
32773 (_G_VTABLE_LABEL_PREFIX): Likewise.
32774 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
32775 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
32776 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
32777 (_G_VTABLE_LABEL_PREFIX): Likewise.
32778 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
32779
bcba7aa2
L
327802012-09-10 H.J. Lu <hongjiu.lu@intel.com>
32781
32782 * libio/Makefile: Include ../Makeconfig before tests.
32783 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
32784 only if $(build-shared) is yes.
32785
06585ee8
L
32786 * iconv/gconv_db.c: Update copyright years.
32787
80ccd52c
LD
327882012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32789
32790 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
32791 unwind info if defined PIC. Fix special cases description.
32792 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
32793
32794 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
32795 DP_HI_MASK entry.
32796 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
32797
691bc9c1
L
327982012-09-07 H.J. Lu <hongjiu.lu@intel.com>
32799
3d9b46b3
L
32800 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
32801
de2139a9
L
32802 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
32803 is NULL.
32804
5ca78dd0
L
32805 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
32806 (LDLIBS-tst-chk4): This.
32807 (LDFLAGS-tst-chk5): Renamed to ...
32808 (LDLIBS-tst-chk5): This.
32809 (LDFLAGS-tst-chk6): Renamed to ...
32810 (LDLIBS-tst-chk6): This.
32811 (LDFLAGS-tst-lfschk4): Renamed to ...
32812 (LDLIBS-tst-lfschk4): This.
32813 (LDFLAGS-tst-lfschk5): Renamed to ...
32814 (LDLIBS-tst-lfschk5): This.
32815 (LDFLAGS-tst-lfschk6): Renamed to ...
32816 (LDLIBS-tst-lfschk6): This.
32817
691bc9c1
L
32818 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
32819 on $(common-objpfx)soversions.mk.
32820
65cafb1c
JM
328212012-09-07 Joseph Myers <joseph@codesourcery.com>
32822
32823 [BZ #10014]
32824 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
32825 example host name.
32826
c78ab094
SP
328272012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
32828
32829 * malloc/arena.c (arena_get_retry): New function that gets
32830 another arena for the caller to try its request on.
32831 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
32832 current arena cannot fulfill the request.
32833 (__libc_memalign): Likewise.
32834 (__libc_memalign): Likewise.
32835 (__libc_pvalloc): Likewise.
32836 (__libc_calloc): Likewise.
32837
01f49f59
JT
328382012-09-05 John Tobey <john.tobey@gmail.com>
32839
32840 [BZ #13542]
32841 * manual/arith.texi (Operations on Complex): Fix description
32842 of carg branch cut.
32843
4c23fed5
JM
328442012-09-06 Joseph Myers <joseph@codesourcery.com>
32845
1d3c8572
JM
32846 [BZ #10014]
32847 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
32848 host name.
32849
4c23fed5
JM
32850 [BZ #10038]
32851 * manual/memory.texi (Memory): Make order of menu items match
32852 order of sections.
32853
04570aaa
L
328542012-09-06 H.J. Lu <hongjiu.lu@intel.com>
32855
32856 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
32857 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
32858 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
32859
b80af2f4
L
328602012-09-06 H.J. Lu <hongjiu.lu@intel.com>
32861
32862 * csu/libc-tls.c (static_dtv): Renamed to ...
32863 (_dl_static_dtv): This. Make it global.
32864 (_dl_initial_dtv): Removed.
32865 (__libc_setup_tls): Updated.
32866 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
32867 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
32868 DL_INITIAL_DTV.
32869
2abe9f15
PM
328702012-09-06 Petr Machata <pmachata@redhat.com>
32871
32872 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
32873 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
32874 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
32875 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
32876
0948c3af
L
328772012-09-06 H.J. Lu <hongjiu.lu@intel.com>
32878
32879 [BZ #14545]
32880 * csu/libc-tls.c (_dl_initial_dtv): New variable.
32881 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
32882 freeing dtv[-1].
32883
a5055ad1
L
328842012-09-06 H.J. Lu <hongjiu.lu@intel.com>
32885
32886 [BZ #14544]
32887 * Makeconfig (link-static-before-libc): Replace $(+prector)
32888 with $(+prectorT).
32889 (link-static-after-libc): Replace $(+postctor) with
32890 $(+postctorT).
32891 (link-bounded): Replace $(+prector)/$(+postctor) with
32892 $(+prectorT)/$(+postctorT).
32893 (+prectorT): New macro.
32894 (+postctorT): Likewise.
32895
ed8c2ecd
JM
328962012-09-06 Joseph Myers <joseph@codesourcery.com>
32897
32898 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
32899 (round_str): Handle values above the maximum for IBM long double
32900 as inexact.
32901 * stdlib/tst-strtod-round.c (tests): Regenerated.
32902
14c996c8
AK
329032012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
32904
32905 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
32906 assembler flag.
32907 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
32908 zarch_nohighgprs around the zarch optimized routines.
32909 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
32910 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
32911 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
32912 for zarch.
32913
430d6ce6
DM
329142012-09-05 David S. Miller <davem@davemloft.net>
32915
32916 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32917
57f41c40
AS
32918 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
32919 (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
ff04dda4
DM
32920 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
32921 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
32922 entries.
32923
24d4e01b
AO
329242012-09-05 Alexandre Oliva <aoliva@redhat.com>
32925
32926 * malloc/arena.c: Fold copyright years.
32927 * malloc/mcheck.c, malloc/memusage.c: Likewise.
32928
61d58174
AO
329292012-09-05 Alexandre Oliva <aoliva@redhat.com>
32930
32931 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
32932
20196a5e
AO
329332012-09-05 Alexandre Oliva <aoliva@redhat.com>
32934
32935 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
32936
5c447383
AO
329372012-09-05 Alexandre Oliva <aoliva@redhat.com>
32938
32939 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
32940 change internal state upon failure.
32941
fad64255
AO
329422012-09-05 Alexandre Oliva <aoliva@redhat.com>
32943
32944 * malloc/mcheck.c (mcheck_check_all): Fix typo.
32945 * malloc/memusage.c (mmap): Likewise.
32946 (mmap64, mremap): Likewise. Adjust name in comment.
32947
1ffb8c90
SP
329482012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
32949
32950 * libio/fileops.c: Fix typos in comments.
32951 * libio/oldfileops.c: Likewise.
32952 * libio/wfileops.c: Likewise.
32953
6ef9cc37
SP
329542012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
32955
32956 [BZ #1349]
32957 * malloc/Makefile (tests): Add tst-malloc-usable test case.
32958 (tst-malloc-usable-ENV): Set environment for test case.
32959 * malloc/hooks.c (malloc_check_get_size): New function to get
32960 requested size.
32961 * malloc/malloc.c (musable): Use malloc_check_get_size.
32962 * malloc/tst-malloc-usable.c: New test case.
32963
4d038ae3
AS
329642012-09-05 Andreas Schwab <schwab@linux-m68k.org>
32965
32966 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
32967
c4e85184
AM
329682012-09-05 Allan McRae <allan@archlinux.org>
32969
b9dafc56 32970 [BZ #13966]
c4e85184
AM
32971 * configure.in (CXX_SYSINCLUDES): Use compiler output to
32972 determine header location.
32973 * configure: Regenerated.
32974
e1343020
AS
329752012-09-05 Andreas Schwab <schwab@linux-m68k.org>
32976
32977 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
32978 float format.
32979 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
a0070b7e
AS
32980 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
32981 format.
e1343020
AS
32982 (test): Regenerate.
32983
0a9f1987
DM
329842012-09-04 David S. Miller <davem@davemloft.net>
32985
32986 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
32987 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
32988 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
32989
29237804
FW
329902012-09-04 Florian Weimer <fweimer@redhat.com>
32991
32992 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
32993 failures.
32994
edb3cb88
FW
32995 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
32996
60160d83
JM
329972012-09-04 Joseph Myers <joseph@codesourcery.com>
32998
32999 [BZ #9914]
33000 * libio/iogetdelim.c: Include <limits.h>.
33001 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
33002 + len + 1 would overflow.
33003
bcd6c8dc
AJ
330042012-09-03 Andreas Jaeger <aj@suse.de>
33005
33006 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
33007 * sysdeps/i386/fpu/libm-test-ulps: Update.
33008
4ffffbd2
LD
330092012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
33010
33011 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
33012 Add s_sinf-sse2, s_conf-sse2.
33013
33014 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
33015 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
33016 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
33017 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
33018
33019 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
33020 for using routine as __sinf_ia32.
33021 Use macro for function declaration and weak_alias.
33022 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
33023 for using routine as __cosf_ia32.
33024 Use macro for function declaration and weak_alias.
33025
33026 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
33027 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
33028
33029 * sysdeps/x86_64/fpu/s_sinf.S: New file.
33030 * sysdeps/x86_64/fpu/s_cosf.S: New file.
33031 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
33032
33033 * math/libm-test.inc (cos_test): Add more test cases.
33034 (sin_test): Likewise.
33035 (sincos_test): Likewise.
33036
511fa286
AK
330372012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
33038
33039 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
33040 (IFUNC_RESOLVE): Make pointers to the specialized implementations
33041 hidden.
33042 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
33043
5f30cfec
L
330442012-09-02 H.J. Lu <hongjiu.lu@intel.com>
33045
33046 [BZ #14538]
33047 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
33048 first element of the GOT.
33049 (elf_machine_load_address): Return the difference between
33050 the runtime address of _DYNAMIC and elf_machine_dynamic ().
33051
0786794f
AM
330522012-09-01 Allan McRae <allan@archlinux.org>
33053
5f30cfec
L
33054 [BZ #13412]
33055 * configure.in (AWK): Require gawk version 3.0 or later.
33056 * configure: Regenerated.
0786794f 33057
26889eac
JM
330582012-09-01 Joseph Myers <joseph@codesourcery.com>
33059
33060 * sysdeps/unix/sysv/linux/kernel-features.h
33061 (__ASSUME_POSIX_CPU_TIMERS): Remove.
33062 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
33063 [__NR_clock_getres]: Make code unconditional.
33064 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
33065 (clock_getcpuclockid): Remove code left unreachable by removal of
33066 conditionals.
33067 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
33068 code unconditional.
33069 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
33070 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
33071 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
33072 Make code unconditional.
33073 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
33074 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
33075 * sysdeps/unix/sysv/linux/clock_settime.c
33076 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
33077 conditional code.
33078 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
33079 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
33080
d22e28b0
L
330812012-08-29 H.J. Lu <hongjiu.lu@intel.com>
33082
33083 [BZ #14476]
33084 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
33085 scripts/test-installation.pl.
33086
33087 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
33088 and $ld_so_version if it is set.
33089
050af9c4
SP
330902012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
33091
33092 [BZ #14516]
33093 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
33094 failure if reading from procfs failed.
33095 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
33096
ad845c0b
JM
330972012-08-27 Joseph Myers <joseph@codesourcery.com>
33098
33099 * sysdeps/unix/sysv/linux/kernel-features.h
33100 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
33101 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
33102 Remove conditional code.
33103 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
33104 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
33105 Remove conditional code.
33106 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
33107 * sysdeps/unix/sysv/linux/i386/fxstat.c
33108 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
33109 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
33110 * sysdeps/unix/sysv/linux/i386/fxstatat.c
33111 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
33112 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
33113 * sysdeps/unix/sysv/linux/i386/lxstat.c
33114 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
33115 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
33116 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
33117 Remove conditional code.
33118 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
33119 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
33120 Remove conditional code.
33121 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
33122 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
33123 <kernel-features.h>.
33124 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
33125 Remove.
33126 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
33127 Remove conditional code.
33128 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
33129 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
33130 Remove conditional.
33131
5dbf56af
MF
331322012-08-27 Mike Frysinger <vapier@gentoo.org>
33133
33134 [BZ #5400]
33135 * NEWS: Add fixed bug number.
33136
d6e70f43
JM
331372012-08-27 Joseph Myers <joseph@codesourcery.com>
33138
7efb4737
JM
33139 [BZ #14519]
33140 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
33141 underflowing exponent in case of negative sign.
33142 * stdlib/tst-strtod-round-data: Add more tests.
33143 * stdlib/tst-strtod-round.c (tests): Regenerated.
33144
af92131a
JM
33145 [BZ #3479]
33146 * stdlib/strtod_l.c (NDIG): Remove.
33147 (HEXNDIG): Likewise.
33148 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
33149 smallest representable value.
33150 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
33151 lie within an exact representation of 1/2 ulp of the result.
33152 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
33153 unconditionally.
33154 (TENS_P9_IDX): Define unconditionally.
33155 (TENS_P9_SIZE): Likewise.
33156 (TENS_P10_IDX): Likewise.
33157 (TENS_P10_SIZE): Likewise.
33158 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
33159 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
33160 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
33161 entries for 10^2^13 and 10^2^14.
33162 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
33163 (TENS_P13_IDX): Define.
33164 (TENS_P13_SIZE): Likewise.
33165 (TENS_P14_IDX): Likewise.
33166 (TENS_P14_SIZE): Likewise.
33167 (_fpioconst_pow10): Change array size to
33168 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
33169 unconditional.
33170 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
33171 1024]: Add entries for 10^2^13 and 10^2^14.
33172 [LAST_POW10 > _LAST_POW10]: Remove #error.
33173 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
33174 (_fpioconst_pow10): Change array size to
33175 FPIOCONST_POW10_ARRAY_SIZE.
33176 * stdlib/gen-fpioconst.c: New file.
33177 * stdlib/gen-tst-strtod-round.c: Likewise.
33178 * stdlib/tst-strtod-round-data: Likewise.
33179 * stdlib/tst-strtod-round.c: Likewise.
33180 * stdlib/Makefile (tests): Add tst-strtod-round.
33181
d6e70f43
JM
33182 [BZ #14459]
33183 * stdlib/strtod_l.c: Include <stdint.h>.
33184 (NDEBUG): Do not define.
33185 (round_and_return): Change EXPONENT parameter to type intmax_t.
33186 Rearrange calculations to avoid internal overflow possibilities.
33187 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
33188 Rearrange calculations to avoid internal overflow possibilities.
33189 Assert that number fits inside MPNSIZE limbs.
33190 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
33191 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
33192 calculations and add assertions to avoid internal overflow
33193 possibilities. Add casts to avoid signed/unsigned operations.
33194 * stdlib/tst-strtod-overflow.c: New file.
33195 * stdlib/Makefile (tests): Add tst-strtod-overflow.
33196
1f529f7d
MP
331972012-08-25 Marek Polacek <polacek@redhat.com>
33198
33199 * time/time.h: Fix some typos in comments.
33200
59a629f1
RM
332012012-08-23 Roland McGrath <roland@hack.frob.com>
33202
33203 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
33204 * posix/tst-rfc3484-2.c: Likewise.
33205 * posix/tst-rfc3484-3.c: Likewise.
33206
d3bafbc9
SM
332072012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
33208
33209 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
33210 (EF_ARM_ABI_FLOAT_HARD): Likewise.
33211
4efcc022
JM
332122012-08-23 Joseph Myers <joseph@codesourcery.com>
33213
33214 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
33215 #include of fxstatat64.c.
33216
3cc3ef96
RM
332172012-08-22 Roland McGrath <roland@hack.frob.com>
33218
f04e2132
RM
33219 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
33220 * shadow/getspent_r.c: Likewise.
33221 * shadow/getspnam.c: Likewise.
33222 * shadow/getspnam_r.c: Likewise.
33223 * gshadow/getsgent.c: Likewise.
33224 * gshadow/getsgent_r.c: Likewise.
33225 * gshadow/getsgnam.c: Likewise.
33226 * gshadow/getsgnam_r.c: Likewise.
33227 * inet/getnetbyad.c: Likewise.
33228 * inet/getnetbyad_r.c: Likewise.
33229 * inet/getnetbynm.c: Likewise.
33230 * inet/getnetbynm_r.c: Likewise.
33231 * inet/getnetent.c: Likewise.
33232 * inet/getnetent_r.c: Likewise.
33233 * inet/getproto.c: Likewise.
33234 * inet/getproto_r.c: Likewise.
33235 * inet/getprtent.c: Likewise.
33236 * inet/getprtent_r.c: Likewise.
33237 * inet/getprtname.c: Likewise.
33238 * inet/getprtname_r.c: Likewise.
33239 * inet/getrpcbyname.c: Likewise.
33240 * inet/getrpcbyname_r.c: Likewise.
33241 * inet/getrpcbynumber.c: Likewise.
33242 * inet/getrpcbynumber_r.c: Likewise.
33243 * inet/getrpcent.c: Likewise.
33244 * inet/getrpcent_r.c: Likewise.
33245 * inet/getaliasent.c: Likewise.
33246 * inet/getaliasent_r.c: Likewise.
33247 * inet/getaliasname.c: Likewise.
33248 * inet/getaliasname_r.c: Likewise.
33249 * nscd/getgrgid_r.c: Likewise.
33250 * nscd/getgrnam_r.c: Likewise.
33251 * nscd/gethstbyad_r.c: Likewise.
33252 * nscd/gethstbynm3_r.c: Likewise.
33253 * nscd/getpwnam_r.c: Likewise.
33254 * nscd/getpwuid_r.c: Likewise.
33255 * nscd/getsrvbynm_r.c: Likewise.
33256 * nscd/getsrvbypt_r.c: Likewise.
33257 * nscd/gai.c: Likewise.
33258
c53d909c
RM
33259 * configure.in (build_nscd): New substituted variable, set
33260 by --disable-build-nscd and defaults to $use_nscd.
33261 * configure: Regenerated.
33262 * config.make.in (build-nscd): New substituted variable.
33263 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
33264 Change conditional to require [$(build-nscd) = yes] as well.
33265 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
33266
3cc3ef96
RM
33267 [BZ# 13696]
33268 * configure.in (use_nscd): New substituted variable, set by
33269 --disable-nscd. If enabled, define USE_NSCD.
33270 * configure: Regenerated.
33271 * config.h.in: Add USE_NSCD.
33272 * config.make.in (use-nscd): New substituted variable.
33273 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
33274 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
33275 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
33276 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
33277 (CFLAGS-getgrnam_r.c): Likewise.
33278 (CFLAGS-initgroups.c): Likewise.
33279 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
33280 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
33281 Variables removed.
33282 * inet/getnetgrent_r.c
33283 (nscd_setnetgrent): New function, broken out of ...
33284 (setnetgrent): ... here. Call it.
33285 (innetgr): Conditionalize nscd bits on [USE_NSCD].
33286 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
33287 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
33288 * nscd/Makefile (routines, aux): Move definitions after include of
33289 Makeconfig. Conditionalize on [$(use-nscd) != no].
33290 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
33291 Conditionalize on [USE_NSCD].
33292 (is_nscd, nscd_init_cb): Likewise.
33293 (nss_load_library): Conditionalize init callback on [USE_NSCD].
33294 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
33295 * nss/nss_db/db-init.c: Likewise.
33296 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
33297 [USE_NSCD].
33298 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
33299 (make_request): Use it.
33300 (cache_valid_p): New function.
33301 (__check_pf): Use it.
33302 * NEWS: Add item for --disable-nscd.
33303
07e51550
DL
333042012-08-22 Dmitry V. Levin <ldv@altlinux.org>
33305
33306 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
33307 to support sed >= 4.2.1-20-ga9bf076.
33308 * configure: Regenerated.
33309
35a5b08b
RM
333102012-08-22 Roland McGrath <roland@hack.frob.com>
33311
33312 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
33313 Conditionalize whole body on [IREL].
33314
8479f23a
JL
333152012-08-22 Jeff Law <law@redhat.com>
33316
33317 [BZ #14505]
33318 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
33319 if the family is PF_UNSPEC.
33320
48da0b21
MF
333212012-08-22 Mike Frysinger <vapier@gentoo.org>
33322
33323 * Makerules (lib-version): Rename from V.
33324 (install-lib-nosubdir): Change V to lib-version.
33325
15d0da8c
WS
333262012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
33327
33328 [BZ #14252]
33329 * powerpc32/power6/wcschr.c: New file.
33330 * powerpc32/power6/wcscpy.c: New file.
33331 * powerpc32/power6/wcsrchr.c: New file.
33332 * powerpc64/power6/wcschr.c: New file.
33333 * powerpc64/power6/wcscpy.c: New file.
33334 * powerpc64/power6/wcsrchr.c: New file.
33335
bcca0895
MK
333362012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
33337
33338 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
33339 (two_way_short_needle): Use it.
5a4aaa33
RM
33340 * string/strstr.c (AVAILABLE1_USES_J): Define.
33341 * string/strcasestr.c: Likewise.
99677e57
MK
33342
33343 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
33344 array references.
33345 * string/strcasestr.c (TOLOWER): Make side-effect safe.
33346
400726de
MK
33347 [BZ #11607]
33348 * NEWS: Add an entry.
33349 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
33350 define their defaults.
33351 (two_way_short_needle): Detect end-of-string on-the-fly.
33352 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
33353 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
33354 * string/bug-strcasestr1.c: New test.
33355 * string/Makefile: Run it.
33356
20a71f2c
MK
333572012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
33358
33359 [BZ #11607]
33360 * string/str-two-way.h (two_way_short_needle): Optimize matching of
33361 the first character.
33362
21ad0558
RM
333632012-08-21 Roland McGrath <roland@hack.frob.com>
33364
33365 * csu/elf-init.c (__libc_csu_irel): Function removed.
33366 * csu/libc-start.c (apply_irel): New function.
33367 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
33368
0e1d9911
JM
333692012-08-21 Joseph Myers <joseph@codesourcery.com>
33370
33371 * sysdeps/unix/sysv/linux/kernel-features.h
33372 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
33373 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
33374 <kernel-features.h>.
33375 [__NR_fadvise64_64]: Make code unconditional.
33376 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
33377 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
33378 !__NR_fadvise64_64)]: Likewise.
33379 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
33380 !__NR_fadvise64_64))]: Likewise.
33381 [__NR_fadvise64]: Make code unconditional.
33382 [!__NR_fadvise64]: Remove conditional code.
33383 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
33384 <kernel-features.h>.
33385 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
33386 unconditional.
33387 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
33388 conditional code.
33389 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
33390 not include <kernel-features.h>.
33391 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
33392 unconditional.
33393 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
33394 conditional code.
33395 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
33396 include <kernel-features.h>.
33397 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
33398 unconditional.
33399 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
33400 conditional code.
33401
14a50c9d
WS
334022012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
33403
33404 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
33405 slight instruction rearrangements per scrollpipe analysis.
33406 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
33407
c0f4faf0
RM
334082012-08-20 Roland McGrath <roland@hack.frob.com>
33409
696da859
RM
33410 * manual/syslog.texi (syslog; vsyslog, closelog):
33411 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
33412 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
33413
c0f4faf0
RM
33414 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
33415 DSOCAPS to match condition on defining it.
33416
348363b2
JM
334172012-08-20 Joseph Myers <joseph@codesourcery.com>
33418
a35cbf28
JM
33419 * sysdeps/unix/sysv/linux/kernel-features.h
33420 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
33421 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
33422 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
33423 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
33424 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
33425 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
33426 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
33427 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
33428 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
33429 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
33430
445f7ecd
JM
33431 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
33432 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
33433
348363b2
JM
33434 * sysdeps/unix/sysv/linux/kernel-features.h
33435 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
33436 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
33437 unconditional.
33438 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
33439 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
33440 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
33441 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
33442 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
33443 Make code unconditional.
33444 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
33445 (__mmap64) [!__NR_mmap2]: Likewise.
33446 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
33447 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
33448 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
33449 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
33450 [__NR_mmap2]: Make code unconditional.
33451 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
33452 (__mmap64) [!__NR_mmap2]: Likewise.
33453
bc5bc0e5
AK
334542012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
33455
33456 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
33457
88d506de
AJ
334582012-08-18 Andreas Jaeger <aj@suse.de>
33459
33460 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
33461
493387d2
MF
334622012-08-18 Mike Frysinger <vapier@gentoo.org>
33463
33464 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
33465 * include/unistd.h (__have_sock_cloexec): Likewise.
33466 (__have_pipe2): Likewise.
33467 (__have_dup3): Likewise.
33468
a277af22
MF
334692012-08-18 Mike Frysinger <vapier@gentoo.org>
33470
33471 [BZ #9685]
33472 * include/unistd.h (__have_pipe2): Change define into an extern int.
33473 (__have_dup3): Likewise.
33474 * socket/have_sock_cloexec.c: Include fcntl.h.
33475 (__have_pipe2): New variable.
33476 (__have_dup3): Likewise.
33477
fdab8fd3
MF
334782012-08-17 Mike Frysinger <vapier@gentoo.org>
33479
33480 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
33481
31035e80
MP
334822012-08-17 Marek Polacek <polacek@redhat.com>
33483
33484 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
33485 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
33486
3bd9e993
RM
334872012-08-17 Roland McGrath <roland@hack.frob.com>
33488
c91c505f
RM
33489 * configure.in: Add AC_SUBST for sysheaders.
33490 * configure: Regenerated.
33491 * config.make.in (sysheaders): New substituted variable.
33492
7c6f9d53
RM
33493 * sysdeps/unix/mkfifo.c: Moved ...
33494 * sysdeps/posix/mkfifo.c: ... here.
33495 * sysdeps/unix/mkfifoat.c: Moved ...
33496 * sysdeps/posix/mkfifoat.c: ... here.
33497
33498 * sysdeps/unix/utime.c: Moved ...
33499 * sysdeps/posix/utime.c: ... here.
33500
33501 * sysdeps/unix/time.c: Moved ...
33502 * sysdeps/posix/time.c: ... here.
e3b398f9
RM
33503 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
33504 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7c6f9d53
RM
33505
33506 * sysdeps/unix/nice.c: Moved ...
33507 * sysdeps/posix/nice.c: ... here.
33508
33509 * sysdeps/unix/alarm.c: Moved ...
33510 * sysdeps/posix/alarm.c: ... here.
33511
3bd9e993
RM
33512 * intl/Makefile ($(codeset_mo)): Depend on the input file.
33513
d1f09384
JL
335142012-08-17 Jeff Law <law@redhat.com>
33515
33516 * intl/Makefile (codeset_mo): New variable.
33517 ($(codeset_mo)): New target.
33518 (tst-codeset.out): Depend on that. Remove explicit rule.
33519 (tst-gettext3.out, tst-gettext5.out): Likewise.
33520 (LOCPATH-ENV, tst-codeset-ENV): New variables.
33521 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
33522 * intl/tst-codeset.sh: Remove.
33523 * intl/tst-gettext3.sh: Likewise.
33524 * intl/tst-gettext5.sh: Likewise.
33525
2ae1ae5c
RM
335262012-08-17 Roland McGrath <roland@hack.frob.com>
33527
c31fdb83
RM
33528 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
33529 * sysdeps/unix/syscalls.list: ... here.
33530
a0844057
RM
33531 * sysdeps/posix/getaddrinfo.c
33532 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
33533 (gaiconf_init, gaiconf_reload): Use them.
33534 [!_STATBUF_ST_NSEC]
33535 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
33536 Define using time_t rather than struct timespec.
33537
750c1f2a
RM
33538 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
33539 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
33540 Macros removed.
33541 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
33542 [!NO_THREADS].
33543 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
33544 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
33545 Likewise.
33546
2ae1ae5c
RM
33547 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
33548 __libc_cleanup_push argument.
33549
e66a42f5
RM
33550 * bits/param.h: New file.
33551 * misc/sys/param.h: New file.
33552 * include/sys/param.h: New file.
33553 * misc/Makefile (headers): Add bits/param.h.
33554 * sysdeps/generic/sys/param.h: File removed.
33555 * sysdeps/unix/sysv/linux/bits/param.h: New file.
33556 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
33557 * sysdeps/mach/hurd/bits/param.h: New file.
4078da3d 33558 * sysdeps/mach/hurd/sys/param.h: File removed.
e66a42f5 33559
b7c08a66
RM
33560 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
33561 last change.
33562
b2e1c562
RM
33563 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
33564 [_IO_MTSAFE_IO].
33565 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
33566 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
33567 New macros.
33568
c75ccd4c
RM
33569 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
33570 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
33571 rather than -D_IO_MTSAFE_IO conditionally.
33572 * stdio-common/Makefile (CPPFLAGS): Likewise.
33573 * wcsmbs/Makefile (CPPFLAGS): Likewise.
33574 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
33575 Use $(libio-mtsafe).
33576 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
33577 of -D_IO_MTSAFE_IO.
33578 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
33579 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
33580 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
33581 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
33582 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
33583 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
33584 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
33585 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
33586 (CFLAGS-fread_u_chk.c): Likewise.
33587 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
33588 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
33589 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
33590 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
33591 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
33592 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
33593 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
33594 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
33595 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
33596
33597 * libio/Makefile: Test [$(libc-reentrant) = yes]
33598 instead of [$(filter %REENTRANT, $(defines)) nonempty].
33599
33600 * Makeconfig
33601 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
33602 * sysdeps/pthread/configure: File removed.
33603 * sysdeps/pthread/Makeconfig: New file.
33604 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
33605 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
33606
d9195db8
GB
336072012-08-16 Gary Benson <gbenson@redhat.com>
33608
33609 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
33610 unmapping the first object in a namespace.
33611
86466cd9
RM
336122012-08-16 Roland McGrath <roland@hack.frob.com>
33613
33614 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
33615 (__internal_setnetgrent): ... this. Add internal_function to
33616 definition. Add libc_hidden_def.
33617 (setnetgrent): Update caller.
33618 (internal_endnetgrent): Renamed to ...
33619 (__internal_endnetgrent): ... this. Add internal_function to
33620 definition. Add libc_hidden_def.
33621 (endnetgrent): Update caller.
33622 (internal_getnetgrent_r): Renamed to ...
33623 (__internal_getnetgrent_r): ... this. Add internal_function to
33624 definition. Add libc_hidden_def.
33625 (__getnetgrent_r): Update caller.
33626 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
33627
c3c8283c
JM
336282012-08-16 Joseph Myers <joseph@codesourcery.com>
33629
33630 * stdlib/longlong.h: Update from GCC.
33631
db1ee0a8
RM
336322012-08-16 Roland McGrath <roland@hack.frob.com>
33633
33634 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
33635 on _QL, which is set by umul_ppmm but never used.
33636 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
33637 variables, which are set by GMP macros but never used.
33638 * stdio-common/_itowa.c (_itowa): Likewise.
33639 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
33640 * stdlib/mod_1.c (mpn_mod_1): Likewise.
33641
30f69637
CD
336422012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
33643
33644 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
33645 struct La_sh_regs is not constant.
33646 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
33647 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
33648 and struct La_sparc64_regs are not constant.
33649
93a78ac4
JM
336502012-08-16 Joseph Myers <joseph@codesourcery.com>
33651
33652 * sysdeps/unix/sysv/linux/kernel-features.h
33653 (__ASSUME_POSIX_TIMERS): Remove.
33654 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
33655 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
33656 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
33657 Make code unconditional.
33658 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
33659 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
33660 Make code unconditional.
33661 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
33662 * sysdeps/unix/sysv/linux/clock_nanosleep.c
33663 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
33664 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
33665 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
33666 Make code unconditional.
33667 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
33668 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
33669 (__libc_missing_posix_timers): Remove.
33670
dd924cd7
RM
336712012-08-15 Roland McGrath <roland@hack.frob.com>
33672
4b4f2771
RM
33673 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
33674 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
33675
601c888b
RM
33676 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
33677
176790a7
RM
33678 * elf/dl-sym.c: Include <stdlib.h>.
33679
329bc018
RM
33680 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
33681 constants, which avoids warnings in 32-bit builds.
33682
e04e272d
RM
33683 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
33684 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
33685
952bf94a
RM
33686 * misc/lseek.c: File moved to ...
33687 * io/lseek.c: ... here.
33688
7c99b50a
RM
33689 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
33690
dd924cd7
RM
33691 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
33692 shifting LEN more than 31 bits at once.
33693
b3f479a8
LD
336942012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
33695
33696 [BZ #14195]
8c4ae0d4
RM
33697 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
33698 segmentation fault for a case of two empty input strings.
b3f479a8
LD
33699 * string/test-strncasecmp.c (check1): Renamed to...
33700 (bz12205): ...this.
33701 (bz14195): Add new testcase for two empty input strings and N > 0.
33702 (test_main): Call new testcase, adapt for renamed function.
33703
9c55864e
AJ
337042012-08-15 Andreas Jaeger <aj@suse.de>
33705
33706 [BZ #14090]
33707 * crypt/md5test2.c: New test, based on test supplied by Serge
33708 Belyshev <belyshev@depni.sinp.msu.ru>.
33709 * crypt/Makefile (xtests): Add md5test-giant..
33710 * crypt/Makefile ($(objpfx)md5test-giant): Add.
33711
02dcb6c5
PE
337122012-08-15 Paul Eggert <eggert@cs.ucla.edu>
33713
33714 [BZ #14090]
33715 * crypt/md5.c (md5_process_block): Don't assume the buffer
33716 length is less than 2**32.
33717 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
33718 length is less than 2**64.
33719
a3f95dcc
RM
337202012-08-15 Roland McGrath <roland@hack.frob.com>
33721
be75d758
RM
33722 * string/str-two-way.h: Include <sys/param.h>.
33723 (MAX): Macro removed.
33724
7312ca90
RM
33725 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
33726 Move #define and #undef of memmove to just before and after
33727 including <string.h>.
33728
9a0a5486
RM
33729 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
33730 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
33731 and after including <string.h>. Move declarations of
33732 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
33733 to before #include "string/memmove.c".
33734
67cc348d
RM
33735 * include/dirent.h: Declare __getdirentries.
33736
a3f95dcc
RM
33737 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
33738 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
33739
ca98e171
MF
337402012-08-14 Mike Frysinger <vapier@gentoo.org>
33741
33742 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
33743 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
33744 * sysdeps/i386/configure: Regenerated.
33745 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
33746 STABS_CURRENT_FILE, and STABS_FUN.
33747 (END): Remove call to STABS_FUN_END.
33748 (STABS_CURRENT_FILE1): Delete.
33749 (STABS_CURRENT_FILE): Likewise.
33750 (STABS_FUN): Likewise.
33751 (STABS_FUN_END): Likewise.
33752 (STABS_FUN2): Likewise.
33753 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
33754 * sysdeps/x86_64/configure: Regenerated.
33755
5908bf46
RM
337562012-08-14 Roland McGrath <roland@hack.frob.com>
33757
33758 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 33759 * elf/dl-lookup.c: Likewise.
5908bf46 33760
f2c05b9e
JM
337612012-08-14 Joseph Myers <joseph@codesourcery.com>
33762
33763 * sysdeps/unix/sysv/linux/kernel-features.h
33764 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
33765 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
33766 unconditionally.
33767 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
33768 unconditionally.
33769 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
33770 condition on __ASSUME_CLONE_THREAD_FLAGS.
33771
e11f5155
AJ
337722012-08-14 Andreas Jaeger <aj@suse.de>
33773
33774 * sysdeps/i386/fpu/libm-test-ulps: Update.
33775
51a9ba86
MK
337762012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
33777
2fdd4f78
AJ
33778 * include/atomic.h (atomic_exchange_and_add): Split into ...
33779 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
33780 New atomic macros.
51a9ba86 33781
ba6cba9e
MT
337822012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
33783
33784 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
33785
42443a47
JL
337862012-08-13 Jeff Law <law@redhat.com>
33787
33788 * manual/stdio.texi (snprintf): Clarify handling of the trailing
33789 null byte in the output string.
33790
121dce05
JM
337912012-08-10 Joseph Myers <joseph@codesourcery.com>
33792
33793 * sysdeps/unix/sysv/linux/kernel-features.h
33794 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
33795 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
33796 (__ASSUME_ARG_MAX_STACK_BASED): Define.
33797 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
33798 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
33799 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
33800 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
33801
bf51f568
JL
338022012-08-09 Jeff Law <law@redhat.com>
33803
33804 [BZ #13939]
33805 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
33806 When avoid_arena is set, don't retry in the that arena. Pick the
33807 next one, whatever it might be.
33808 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
33809 (arena_lock): Pass in new parameter to arena_get2.
33810 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
33811 arena_get2.
33812 (__libc_malloc): Unify retrying after main arena failure with
33813 __libc_memalign version.
33814 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
33815
f85fa270
L
338162012-08-09 H.J. Lu <hongjiu.lu@intel.com>
33817
33818 [BZ #14166]
33819 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
33820 to __redirect_strstr.
33821 (__strstr_sse42): Use typeof __redirect_strstr.
33822 (__strstr_ia32): Likewise.
33823 (__libc_strstr): New prototype.
33824 (strstr): Renamed to ...
33825 (__libc_strstr): This.
33826 (strstr): New strong alias of __libc_strstr.
33827 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
33828 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
33829 __redirect_time.
33830 Include <time.h>.
33831 (__libc_time): New prototype.
33832 (time_ifunc): Replace time with __libc_time.
33833 (time): New strong alias and hidden definition of __libc_time.
33834 (__GI_time): Remove strong alias.
33835 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
33836 Include <stddef.h>.
33837 (memmove): Redefined to __redirect_memmove.
33838 (__memmove_sse2): Use typeof __redirect_memmove.
33839 (__memmove_ssse3): Likewise.
33840 (__memmove_ssse3_back): Likewise.
33841 (__libc_memmove): New prototype.
33842 (memmove): Renamed to ...
33843 (__libc_memmove): This.
33844 (memmove): New strong alias of __libc_memmove.
33845
33b4a91e
MS
338462012-08-08 Mark Salter <msalter@redhat.com>
33847
33848 * elf/elf.h
33849 (R_MN10300_TLS_GD): Define.
33850 (R_MN10300_TLS_LD): Likewise.
33851 (R_MN10300_TLS_LDO): Likewise.
33852 (R_MN10300_TLS_GOTIE): Likewise.
33853 (R_MN10300_TLS_IE): Likewise.
33854 (R_MN10300_TLS_LE): Likewise.
33855 (R_MN10300_TLS_DTPMOD): Likewise.
33856 (R_MN10300_TLS_DTPOFF): Likewise.
33857 (R_MN10300_TLS_TPOFF): Likewise.
33858 (R_MN10300_SYM_DIFF): Likewise.
33859 (R_MN10300_ALIGN): Likewise.
33860 (R_MN10300_NUM): Update.
33861
b36137f1
JM
338622012-08-08 Joseph Myers <joseph@codesourcery.com>
33863
33864 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
33865 Remove.
33866
cdd915fd
RM
338672012-08-08 Roland McGrath <roland@hack.frob.com>
33868
a2433aac
RM
33869 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
33870
cdd915fd
RM
33871 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
33872 sysdeps/unix -> sysdeps/posix move.
33873 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
33874
bf9b740a
AM
338752012-08-07 Allan McRae <allan@archlinux.org>
33876
33877 [BZ #14303]
33878 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
33879 (SUNOS_CPP): Likewise.
33880 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
33881 not found.
33882 (open_input): Call CPP using execvp.
33883
93df14ee
JM
338842012-08-07 Joseph Myers <joseph@codesourcery.com>
33885
33886 * sysdeps/unix/sysv/linux/kernel-features.h
33887 (__ASSUME_PROT_GROWSUPDOWN): Remove.
33888 (__ASSUME_NO_CLONE_DETACHED): Likewise.
33889 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
33890 (__ASSUME_WAITID_SYSCALL): Likewise.
33891 * sysdeps/unix/sysv/linux/dl-execstack.c
33892 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
33893 code unconditional.
33894 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
33895 conditional code.
33896 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
33897 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
33898 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
33899 code.
33900 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
33901 unconditional.
33902 [__ASSUME_WAITID_SYSCALL]: Likewise.
33903 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
33904
d34689de
RM
339052012-08-07 Roland McGrath <roland@hack.frob.com>
33906
a281decc
RM
33907 * sysdeps/unix/closedir.c: Renamed to ...
33908 * sysdeps/posix/closedir.c: ... here.
33909 * sysdeps/unix/dirfd.c: Renamed to ...
33910 * sysdeps/posix/dirfd.c: ... here.
33911 * sysdeps/unix/dirstream.h: Renamed to ...
33912 * sysdeps/posix/dirstream.h: ... here.
33913 * sysdeps/unix/fdopendir.c: Renamed to ...
33914 * sysdeps/posix/fdopendir.c: ... here.
33915 * sysdeps/unix/opendir.c: Renamed to ...
33916 * sysdeps/posix/opendir.c: ... here.
33917 * sysdeps/unix/readdir.c: Renamed to ...
33918 * sysdeps/posix/readdir.c: ... here.
33919 * sysdeps/unix/readdir_r.c: Renamed to ...
33920 * sysdeps/posix/readdir_r.c: ... here.
33921 * sysdeps/unix/rewinddir.c: Renamed to ...
33922 * sysdeps/posix/rewinddir.c: ... here.
33923 * sysdeps/unix/seekdir.c: Renamed to ...
33924 * sysdeps/posix/seekdir.c: ... here.
33925 * sysdeps/unix/telldir.c: Renamed to ...
33926 * sysdeps/posix/telldir.c: ... here.
33927 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
33928 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
33929 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
33930 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
33931
22895b47
RM
33932 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
33933 * bits/fcntl.h: ... here.
33934
707a53b6
RM
33935 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
33936 not 0.
33937 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
33938 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
33939 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
33940 (struct flock): Move l_start, l_len to the beginning.
33941 Use __pid_t for l_pid.
33942 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
33943 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
33944 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
33945 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
33946 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
33947 [__USE_LARGEFILE64] (struct flock64): New type.
33948 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
33949
f0bd3e25
RM
33950 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
33951 * bits/dirent.h: ... here.
33952
d34689de
RM
33953 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
33954 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
33955
6dad2c06
JM
339562012-08-07 Joseph Myers <joseph@codesourcery.com>
33957
33958 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
33959 Change from 2.6.0 to 2.6.16.
33960 * sysdeps/unix/sysv/linux/configure: Regenerated.
33961 * sysdeps/unix/sysv/linux/kernel-features.h
33962 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
33963 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
33964 version.
33965 (__ASSUME_UTIMES): Likewise.
33966 (__ASSUME_CLONE_STOPPED): Remove.
33967 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
33968 architectures, not kernel version.
33969 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
33970 (__ASSUME_NO_CLONE_DETACHED): Likewise.
33971 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
33972 (__ASSUME_WAITID_SYSCALL): Likewise.
33973 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
33974 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
33975 * README: State 2.6.16 as minimum Linux kernel version. Do not
33976 refer to older versions.
33977
03af9520
RM
339782012-08-06 Roland McGrath <roland@hack.frob.com>
33979
8e49df1d
RM
33980 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
33981 Define alphasort64 as an alias.
33982 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
33983 Define versionsort64 as an alias.
33984 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
33985 Define scandir64 as an alias.
33986 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
33987 Define scandirat64 as an alias.
33988 * dirent/alphasort64.c (alphasort64):
33989 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
33990 * dirent/versionsort64.c: Likewise.
33991 * dirent/scandir64.c: Likewise.
33992 * dirent/scandirat64.c: Likewise.
33993 * sysdeps/wordsize-64/alphasort.c: File removed.
33994 * sysdeps/wordsize-64/alphasort64.c: File removed.
33995 * sysdeps/wordsize-64/scandir.c: File removed.
33996 * sysdeps/wordsize-64/scandir64.c: File removed.
33997 * sysdeps/wordsize-64/scandirat.c: File removed.
33998 * sysdeps/wordsize-64/scandirat64.c: File removed.
33999 * sysdeps/wordsize-64/versionsort.c: File removed.
34000 * sysdeps/wordsize-64/versionsort64.c: File removed.
34001 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
34002 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
34003 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
34004 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
34005 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
34006 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
34007 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
34008 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
34009
34010 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
34011 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
34012 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
34013 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
34014 [defined __arch64__ || defined __sparcv9]
34015 (__INO_T_MATCHES_INO64_T): New macro.
34016 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
34017 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
34018 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
34019 * sysdeps/unix/sysv/linux/bits/dirent.h
34020 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
34021 (_DIRENT_MATCHES_DIRENT64): New macro.
34022
03af9520
RM
34023 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
34024 Define lockf64 as an alias.
34025 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
34026 Define fseeko64 as an alias.
34027 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
34028 Define ftello64 as an alias.
34029 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
34030 Define _IO_fgetpos64 and fgetpos64 as aliases.
34031 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
34032 Define _IO_fsetpos64 and fsetpos64 as aliases.
34033 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
34034 Conditionalize body on this.
34035 * libio/fseeko64.c: Likewise.
34036 * libio/ftello64.c: Likewise.
34037 * libio/iofgetpos64.c: Likewise.
34038 * libio/iofsetpos64.c: Likewise.
34039 * sysdeps/wordsize-64/lockf.c: File removed.
34040 * sysdeps/wordsize-64/lockf64.c: File removed.
34041 * sysdeps/wordsize-64/fseeko.c: File removed.
34042 * sysdeps/wordsize-64/fseeko64.c: File removed.
34043 * sysdeps/wordsize-64/ftello.c: File removed.
34044 * sysdeps/wordsize-64/ftello64.c: File removed.
34045 * sysdeps/wordsize-64/iofgetpos.c: File removed.
34046 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
34047 * sysdeps/wordsize-64/iofsetpos.c: File removed.
34048 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
34049 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
34050 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
34051 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
34052 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
34053 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
34054 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
34055 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
34056 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
34057 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
34058 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
34059
34060 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
34061 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
34062 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
34063 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
34064 [defined __arch64__ || defined __sparcv9]
34065 (__OFF_T_MATCHES_OFF64_T): New macro.
34066 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
34067 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
34068 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
34069 (__OFF_T_MATCHES_OFF64_T): New macro.
34070
c5757acd
L
340712012-08-06 H.J. Lu <hongjiu.lu@intel.com>
34072
34073 * stdlib/secure-getenv.c (__secure_getenv): Replace
34074 GLIBC_2_16 with GLIBC_2_17.
34075
3a31811e
L
340762012-08-06 H.J. Lu <hongjiu.lu@intel.com>
34077
34078 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
34079 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
34080
faa2bccb
DM
340812012-08-03 David S. Miller <davem@davemloft.net>
34082
34083 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34084
85fe1997
JM
340852012-08-03 Joseph Myers <joseph@codesourcery.com>
34086
34087 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
34088 Remove.
34089 (__ASSUME_CORRECT_SI_PID): Likewise.
34090 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
34091 (__ASSUME_TMPFS_NAME): Likewise.
34092 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
34093 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
34094 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
34095 (HAVE_AUX_SECURE): Make definition unconditional.
34096 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
34097 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
34098
4f75b7a0
RM
340992012-08-03 Roland McGrath <roland@hack.frob.com>
34100
34101 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
34102 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
34103 * sysdeps/mach/hurd/eloop-threshold.h: New file.
34104 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
34105 __eloop_threshold instead of SYMLOOP_MAX.
34106
34107 * sysdeps/generic/eloop-threshold.h: New file.
34108 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
34109 of MAXSYMLINKS.
34110 * elf/chroot_canon.c (chroot_canon): Likewise.
34111
7aab07e4
JM
341122012-08-03 Joseph Myers <joseph@codesourcery.com>
34113
34114 [BZ #13717]
34115 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
34116 Change to 2.6.0 everywhere.
34117 * sysdeps/unix/sysv/linux/configure: Regenerated.
34118 * sysdeps/unix/sysv/linux/kernel-features.h
34119 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
34120 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
34121 kernel versions.
34122 (__ASSUME_POSIX_TIMERS): Define unconditionally.
34123 (__ASSUME_FUTEX_REQUEUE): Remove.
34124 (__ASSUME_STATFS64): Define unconditionally.
34125 (__ASSUME_AT_SECURE): Likewise.
34126 (__ASSUME_CORRECT_SI_PID): Likewise.
34127 (__ASSUME_TGKILL): Define without depending on kernel version for
34128 i386.
34129 (__ASSUME_UTIMES): Likewise.
34130 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
34131 kernel version.
34132 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
34133 (__ASSUME_TMPFS_NAME): Likewise.
34134 * README: Update reference to Linux kernel versions.
34135
b67e9372
MP
341362012-08-02 Marek Polacek <polacek@redhat.com>
34137
1f529f7d 34138 [BZ# 14150]
b67e9372
MP
34139 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
34140 libc_cv_asm_type_prefix with %.
34141 * configure: Regenerated.
d2441631
RM
34142 * include/libc-symbols.h: Remove comment about
34143 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
34144 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
34145 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
34146 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
34147 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
34148 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
34149 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
34150 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
34151 * elf/tst-unique2mod1.c: Likewise.
34152 * elf/tst-unique1mod2.c: Likewise.
34153 * elf/tst-unique1mod1.c: Likewise.
34154 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
34155 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
34156 Replace ASM_TYPE_DIRECTIVE with .type.
34157 * sysdeps/s390/s390-64/sysdep.h: Likewise.
34158 * sysdeps/i386/sysdep.h: Likewise.
34159 * sysdeps/x86_64/sysdep.h: Likewise.
34160 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
34161 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
34162 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 34163 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
34164 * sysdeps/powerpc/powerpc32/sysdep.h:
34165 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
34166 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
34167 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
34168 * sysdeps/i386/fpu/e_powf.S: Likewise.
34169 * sysdeps/i386/fpu/e_expl.S: Likewise.
34170 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
34171 * sysdeps/i386/fpu/e_acosh.S: Likewise.
34172 * sysdeps/i386/fpu/e_pow.S: Likewise.
34173 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
34174 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
34175 * sysdeps/i386/fpu/s_expm1.S: Likewise.
34176 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
34177 * sysdeps/i386/fpu/e_log2.S: Likewise.
34178 * sysdeps/i386/fpu/e_log2l.S: Likewise.
34179 * sysdeps/i386/fpu/e_scalb.S: Likewise.
34180 * sysdeps/i386/fpu/e_powl.S: Likewise.
34181 * sysdeps/i386/fpu/e_log10f.S: Likewise.
34182 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
34183 * sysdeps/i386/fpu/e_logl.S: Likewise.
34184 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
34185 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
34186 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
34187 * sysdeps/i386/fpu/e_log2f.S: Likewise.
34188 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
34189 * sysdeps/i386/fpu/e_log.S: Likewise.
34190 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
34191 * sysdeps/i386/fpu/e_logf.S: Likewise.
34192 * sysdeps/i386/fpu/e_log10l.S: Likewise.
34193 * sysdeps/i386/fpu/e_atanh.S: Likewise.
34194 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
34195 * sysdeps/i386/fpu/e_log10.S: Likewise.
34196 * sysdeps/i386/fpu/s_frexp.S: Likewise.
34197 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
34198 * sysdeps/i386/fpu/s_asinh.S: Likewise.
34199 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
34200 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
34201 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
34202 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
34203 * sysdeps/i386/i686/strtok.S: Likewise.
34204 * sysdeps/i386/i386-mcount.S: Likewise.
34205 * sysdeps/i386/strtok.S: Likewise.
34206 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
34207 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
34208 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
34209 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
34210 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
34211 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
34212 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
34213 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
34214 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
34215 * sysdeps/x86_64/_mcount.S: Likewise.
34216 * sysdeps/x86_64/strtok.S: Likewise.
34217 * sysdeps/sh/_mcount.S: Likewise.
34218
2747bf9a
RM
342192012-08-01 Roland McGrath <roland@hack.frob.com>
34220
34221 * libio/iofopen.c: Include <fcntl.h>.
34222 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
34223 (_IO_fopen64, fopen64): Define as aliases.
34224 * libio/iofopen64.c: Include <fcntl.h>.
34225 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
34226 Conditionalize body on this.
34227 * sysdeps/wordsize-64/iofopen.c: File removed.
34228 * sysdeps/wordsize-64/iofopen64.c: File removed.
34229
3fb791b8
MP
342302012-08-01 Marek Polacek <polacek@redhat.com>
34231
34232 * libc/Makeconfig: Use elf in place of binfmt-subdir.
34233 Use dlfcn directly instead of a variable.
34234 (binfmt-subdir): Do not define.
34235 (dlfcn): Likewise.
34236
a9f1039f
JM
342372012-08-01 Joseph Myers <joseph@codesourcery.com>
34238
23bddc06
JM
34239 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
34240 Remove all definitions.
34241 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
34242 <kernel-features.h>.
34243 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
34244 (miss_F_GETOWN_EX): Remove all definitions.
34245 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
34246 macro definition.
34247 [!__ASSUME_FCNTL64]: Remove conditional code.
34248 [__ASSUME_FCNTL64]: Make code unconditional.
34249 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
34250 <kernel-features.h>.
34251 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
34252 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
34253 (lockf64) [__NR_fcntl64]: Make code unconditional.
34254 (lockf64) [__ASSUME_FCNTL64]: Likewise.
34255
a9f1039f
JM
34256 * sysdeps/unix/sysv/linux/kernel-features.h
34257 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
34258 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
34259 Make code unconditional.
34260 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
34261 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
34262 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
34263 [__NR_vfork]: Make code unconditional.
34264 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
34265 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
34266 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
34267 [__NR_vfork]: Make code unconditional.
34268 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
34269 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
34270
09c0ee5f
RM
342712012-08-01 Roland McGrath <roland@hack.frob.com>
34272
48aec5b9
RM
34273 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
34274 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
34275
cd97c966
RM
34276 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
34277 Define mkstemp64 as an alias.
3f55550c
RM
34278 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
34279 Define mkstemps64 as an alias.
cd97c966
RM
34280 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
34281 Define mkostemp64 as an alias.
b8625cfc
RM
34282 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
34283 Define mkostemps64 as an alias.
cd97c966
RM
34284 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
34285 Conditionalize body on this.
34286 * misc/mkostemp64.c: Likewise.
b8625cfc 34287 * misc/mkostemps64.c: Likewise.
3f55550c 34288 * misc/mkstemps64.c: Likewise.
cd97c966
RM
34289 * sysdeps/wordsize-64/mkstemp64.c: File removed.
34290 * sysdeps/wordsize-64/mkostemp64.c: File removed.
34291 * sysdeps/wordsize-64/mkostemp.c: File removed.
34292 * sysdeps/wordsize-64/mkstemp.c: File removed.
34293 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
34294 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
34295 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
34296 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
34297
09c0ee5f
RM
34298 [BZ #14138]
34299 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
34300 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
34301 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
34302 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
34303
34304 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
34305 compat_symbol macros from <shlib-compat.h> rather than the underlying
34306 default_symbol_version and symbol_version macros, so that DEFAULT
34307 lines in shlib-versions are respected.
34308 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
34309
7e66ee51
FW
343102012-08-01 Florian Weimer <fweimer@redhat.com>
34311
34312 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
34313 Declare with warn_unused_result.
34314 (setgid, setregid, setegid, setresgid): Likewise.
34315 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
34316 Likewise.
34317 * WUR-REPORT: Remove set*id functions.
34318
d2a54255
PT
343192012-07-31 Pino Toscano <toscano.pino@tiscali.it>
34320
34321 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
34322
7ecdb005
RM
343232012-07-31 Roland McGrath <roland@hack.frob.com>
34324
b4180a5e 34325 [BZ #10191]
789bd351
RM
34326 * include/sys/socket.h (__libc_accept, __libc_accept4):
34327 Add attribute_hidden.
34328 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
34329
40ce302d
RM
34330 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
34331 use of PTR_MANGLE.
34332 * inet/getnetgrent_r.c (setup): Likewise.
34333
7ecdb005
RM
34334 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
34335
e2eabb2c
DM
343362012-07-31 David S. Miller <davem@davemloft.net>
34337
34338 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34339
d0419dbf
JM
343402012-07-31 Joseph Myers <joseph@codesourcery.com>
34341
34342 [BZ #13629]
34343 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
34344 value between 1.0 and 2.0 and smaller part has absolute value less
34345 than 1.0.
34346 * math/s_clog10.c (__clog10): Likewise.
34347 * math/s_clog10f.c (__clog10f): Likewise.
34348 * math/s_clog10l.c (__clog10l): Likewise.
34349 * math/s_clogf.c (__clogf): Likewise.
34350 * math/s_clogl.c (__clogl): Likewise.
34351 * math/libm-test.inc (clog_test): Add more tests.
34352 (clog10_test): Likewise.
34353 * sysdeps/i386/fpu/libm-test-ulps: Update.
34354 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34355
2bc13872
FW
343562012-07-31 Florian Weimer <fweimer@redhat.com>
34357
34358 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
34359 Exit with zero in case no suitable GID is found, and write a
34360 message to standard error.
34361
bea9b193
RM
343622012-07-30 Roland McGrath <roland@hack.frob.com>
34363
34364 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
34365 rather than to 1.
34366 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
34367 (MAXPATHLEN): Removed.
34368 (NOGROUP, NODEV): New macros.
34369 (setbit, clrbit, isset, isclr): New macros.
34370 (howmany, roundup, powerof2): New macros.
34371 (DEV_BSIZE): New macro.
34372
34373 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
34374 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
34375
34376 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
34377 definition on [!__NO_LONG_DOUBLE_MATH].
34378
34379 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
34380 PTR_MANGLE and PTR_DEMANGLE.
34381
34382 * socket/accept4.c (accept4): Rename to __libc_accept4.
34383 Define accept4 as a weak alias.
34384
34385 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
34386 on [_DIRENT_HAVE_D_TYPE].
34387 * io/ftw.c (ftw_dir): Likewise.
34388
34389 * io/xmknod.c (__xmknod): Don't check PATH for being null.
34390
34391 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
34392
34393 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
34394 Use the BSD numbers rather than the arbitrary ones we had.
34395 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
34396 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
34397 (SIGXCPU, SIGXFSZ): New macros.
34398 (_NSIG): Now 32.
34399
34400 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
34401 initializer on [_LIBC_REENTRANT].
34402
34403 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
34404 definitions inside [_POSIX_MAPPED_FILES].
34405
34406 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
34407
34408 * dirent/opendir.c: Include <fcntl.h>.
34409
34410 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
34411 (__libc_getspecific): Likewise.
34412 (__libc_key_create): Likewise.
34413
34414 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
34415 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
34416 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
34417 (tmpfile64): Define as alias.
34418 * sysdeps/wordsize-64/tmpfile.c: File removed.
34419 * sysdeps/wordsize-64/tmpfile64.c: File removed.
34420 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
34421 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
34422
34423 * stdio-common/vfscanf.c: Include <stdbool.h>.
34424 * nss/makedb.c: Likewise.
34425 * stdio-common/_i18n_number.h: Likewise.
34426 * argp/argp-help.c: Likewise.
34427 * posix/wordexp.c: Likewise.
34428 * sysdeps/posix/spawni.c: Likewise.
34429 * nss/nss_files/files-initgroups.c: Likewise.
34430 * stdio-common/reg-modifier.c: Include <stdlib.h>.
34431 * nss/nss_files/files-initgroups.c: Likewise.
34432 * nss/nss_db/db-netgrp.c: Likewise.
34433 * nss/nss_db/db-initgroups.c: Likewise.
34434 * io/fchmodat.c: Include <sys/stat.h>.
34435
34436 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
34437 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
34438
34439 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
34440 [HAVE_MMAP].
34441
34442 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
34443 Add multiple inclusion protection.
34444
e5abc686
DM
344452012-07-27 David S. Miller <davem@davemloft.net>
34446
34447 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34448
815e6fa3
GB
344492012-07-27 Gary Benson <gbenson@redhat.com>
34450
34451 [BZ #14298]
34452 * elf/rtld.c: Include <stap-probe.h>.
34453 (dl_main): Added static probes "init_start" and "init_complete".
34454 * elf/dl-load.c: Include <stap-probe.h>.
34455 (lose): Take new parameter "nsid".
34456 Added static probe "map_failed".
34457 (_dl_map_object_from_fd): Pass namespace id to lose.
34458 Added static probe "map_start".
34459 (open_verify): Pass namespace id to lose.
34460 * elf/dl-open.c: Include <stap-probe.h>.
34461 (dl_open_worker) Added static probes "map_complete", "reloc_start"
34462 and "reloc_complete".
34463 * elf/dl-close.c: Include <stap-probe.h>.
34464 (_dl_close_worker): Added static probes "unmap_start" and
34465 "unmap_complete".
34466 * elf/rtld-debugger-interface.txt: New file documenting the above.
34467
9f98c16c
RM
344682012-07-26 Roland McGrath <roland@hack.frob.com>
34469
34470 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
34471 rather than a string variable.
34472 * sunrpc/rpc_main.c (h_output): Likewise.
34473 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
34474
f3c22df3
PT
344752012-07-26 Pino Toscano <toscano.pino@tiscali.it>
34476
34477 * inet/check_native.c: New file.
34478
3129cfc6
JM
344792012-07-26 Joseph Myers <joseph@codesourcery.com>
34480
da865e95
JM
34481 [BZ #13629]
34482 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
34483 if larger part has absolute value 1.0.
34484 * math/s_clog10.c (__clog10): Likewise.
34485 * math/s_clog10f.c (__clog10f): Likewise.
34486 * math/s_clog10l.c (__clog10l): Likewise.
34487 * math/s_clogf.c (__clogf): Likewise.
34488 * math/s_clogl.c (__clogl): Likewise.
34489 * math/libm-test.inc (clog_test): Add more tests.
34490 (clog10_test): Likewise.
34491 * sysdeps/i386/fpu/libm-test-ulps: Update.
34492 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34493
3129cfc6
JM
34494 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
34495 (pltexit): Likewise.
34496 (La_regs): Likewise.
34497 (La_retval): Likewise.
34498 (int_retval): Likewise.
34499 Update #error for removed macros to refer only to definitions in
34500 tst-audit.h.
34501 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
34502 macro.
34503 (pltexit): Likewise.
34504 (La_regs): Likewise.
34505 (La_retval): Likewise.
34506 (int_retval): Likewise.
34507 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
34508 macro.
34509 (pltexit): Likewise.
34510 (La_regs): Likewise.
34511 (La_retval): Likewise.
34512 (int_retval): Likewise.
34513 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
34514 macro.
34515 (pltexit): Likewise.
34516 (La_regs): Likewise.
34517 (La_retval): Likewise.
34518 (int_retval): Likewise.
34519 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
34520 macro.
34521 (pltexit): Likewise.
34522 (La_regs): Likewise.
34523 (La_retval): Likewise.
34524 (int_retval): Likewise.
34525 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
34526 macro.
34527 (pltexit): Likewise.
34528 (La_regs): Likewise.
34529 (La_retval): Likewise.
34530 (int_retval): Likewise.
34531 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
34532 macro.
34533 (pltexit): Likewise.
34534 (La_regs): Likewise.
34535 (La_retval): Likewise.
34536 (int_retval): Likewise.
34537 * sysdeps/generic/tst-audit.h: Update comment to refer only to
34538 macro definitions in tst-audit.h.
34539 * sysdeps/i386/tst-audit.h: New file.
34540 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
34541 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
34542 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
34543 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
34544 * sysdeps/sh/tst-audit.h: Likewise.
34545 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
34546 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
34547 * sysdeps/x86_64/tst-audit.h: Likewise.
34548
bfc07087
AJ
345492012-07-26 Andreas Jaeger <aj@suse.de>
34550
b1b2aaf8
AJ
34551 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
34552 ptrace.
34553
34554 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
34555 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
34556 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
34557 PTRACE_O_MASK.
34558 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
34559 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
34560 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
34561
bfc07087
AJ
34562 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
34563 value.
34564
34565 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
34566 _sigsys.
34567 (si_call_addr, si_syscall, si_arch): Define new macro.
34568 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
34569 _sigsys.
34570 (si_call_addr, si_syscall, si_arch): Define new marcro.
34571 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
34572 _sigsys.
34573 (si_call_addr, si_syscall, si_arch): Define new macro.
34574 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
34575 _sigsys.
34576 (si_call_addr, si_syscall, si_arch): Define new macro.
34577
89b4b02f
JM
345782012-07-25 Joseph Myers <joseph@codesourcery.com>
34579
34580 [BZ #13717]
34581 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
34582 Change to 2.4.21 where previously 2.4.1.
34583 * sysdeps/unix/sysv/linux/configure: Regenerated.
34584 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
34585 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
34586 Linux kernel version.
34587 (__ASSUME_STD_AUXV): Remove.
34588 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
34589 kernel version.
34590 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
34591 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
34592 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
34593 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
34594 (__ASSUME_NETLINK_SUPPORT): Likewise.
34595 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
34596 (__no_netlink_support): Remove conditional definition.
34597 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
34598 Remove.
34599 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
34600 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
34601 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
34602 (if_nameindex_ioctl): Remove.
34603 (if_nameindex_netlink): Do not handle __no_netlink_support.
34604 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
34605 code.
34606 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
34607 Remove conditional code.
34608 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
34609 code.
34610 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
34611 unconditional.
34612 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
34613 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
34614 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
34615 Remove.
34616 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
34617 [!__ASSUME_STD_AUXV]: Remove conditional code.
34618 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
34619 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
34620 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
34621 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
34622 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
34623 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
34624 code.
34625 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
34626 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
34627 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
34628 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
34629 conditional code.
34630 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
34631 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
34632 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
34633 code.
34634 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
34635 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
34636 conditional code.
34637 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
34638 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
34639 code unconditional.
34640 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
34641 conditional code.
34642 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
34643 unconditional.
34644 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
34645 conditional code.
34646 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
34647 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
34648 unconditional.
34649 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
34650 conditional code.
34651 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
34652 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
34653 code unconditional.
34654 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
34655 conditional code.
34656 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
34657 unconditional.
34658 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
34659 conditional code.
34660 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
34661 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
34662 code unconditional.
34663 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
34664 conditional code.
34665 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
34666 unconditional.
34667 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
34668 conditional code.
34669
842a39cd
AS
346702012-07-25 Andreas Schwab <schwab@linux-m68k.org>
34671
34672 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
34673 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
34674 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
34675 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
34676 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
34677 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
34678 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
34679 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
34680 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
34681 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
34682 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
34683 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
34684 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
34685 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
34686 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
34687 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
34688 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
34689 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
34690 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
34691 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
34692 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
34693 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
34694 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
34695
84b3fd84
FW
346962012-07-25 Florian Weimer <fweimer@redhat.com>
34697
34698 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
34699 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
34700 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
34701 Introduce __libc_secure_getenv.
0c7936d5
FW
34702 * stdlib/Versions (2.17): Add secure_getenv
34703 (GLIBC_PRIVATE): Add __libc_secure_getenv.
34704 * stdlib/secure-getenv.c: Rename __secure_getenv to
34705 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
34706 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
34707 * stdlib/tst-secure-getenv.c: New.
34708 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
34709 * manual/startup.texi (Environment Access): Document
34710 secure_getenv.
84b3fd84
FW
34711 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
34712 __libc_secure_getenv.
34713 * inet/ruserpass.c (ruserpass): Likewise.
34714 * malloc/mtrace.c (mtrace): Likewise.
34715 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 34716 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
34717 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
34718 * sysdeps/posix/tempname.c: Likewise. Evaluate
34719 HAVE_SECURE_GETENV.
34720 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 34721 __secure_getenv to __libc_secure_getenv.
84b3fd84 34722 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
34723 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
34724 Likewise.
34725 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
34726 Likewise.
34727 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
34728 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
34729 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
34730 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
34731 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
34732 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
34733 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 34734
56e49b71
JM
347352012-07-25 Joseph Myers <joseph@codesourcery.com>
34736
34737 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
34738 (struct La_i86_retval): Likewise.
34739 (struct La_x86_64_regs): Likewise.
34740 (struct La_x86_64_retval): Likewise.
34741 (struct La_x32_regs): Likewise.
34742 (struct La_x32_retval): Likewise.
34743 (struct La_ppc32_regs): Likewise.
34744 (struct La_ppc32_retval): Likewise.
34745 (struct La_ppc64_regs): Likewise.
34746 (struct La_ppc64_retval): Likewise.
34747 (struct La_sh_regs): Likewise.
34748 (struct La_sh_retval): Likewise.
34749 (struct La_s390_32_regs): Likewise.
34750 (struct La_s390_32_retval): Likewise.
34751 (struct La_s390_64_regs): Likewise.
34752 (struct La_s390_64_retval): Likewise.
34753 (struct La_sparc32_regs): Likewise.
34754 (struct La_sparc32_retval): Likewise.
34755 (struct La_sparc64_regs): Likewise.
34756 (struct La_sparc64_retval): Likewise.
34757 (struct audit_ifaces): Remove architecture-specific pltenter and
34758 pltexit members.
34759 * sysdeps/i386/ldsodefs.h: New file.
34760 * sysdeps/powerpc/ldsodefs.h: Likewise.
34761 * sysdeps/s390/ldsodefs.h: Likewise.
34762 * sysdeps/sh/ldsodefs.h: Likewise.
34763 * sysdeps/sparc/ldsodefs.h: Likewise.
34764 * sysdeps/x86_64/ldsodefs.h: Likewise.
34765
354691b7
MP
347662012-07-25 Marek Polacek <polacek@redhat.com>
34767
34768 [BZ #6808]
34769 * math/libm-test.inc (yn_test): Add another test.
34770 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
34771 to ERANGE when the result is +-Inf.
34772 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
34773 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
34774 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
34775 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
34776
bf9e2071
JM
347772012-07-24 Joseph Myers <joseph@codesourcery.com>
34778
34779 * conform/data/time.h-data (NULL): Use macro-constant. Require
34780 equal to 0.
34781 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
34782 clock_t.
34783 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
34784
57633811
TS
347852012-07-23 Thomas Schwinge <thomas@codesourcery.com>
34786
34787 * configure.in <sysdeps resolving>: Correct printing
34788 Implies_before.
34789 * configure: Regenerate.
34790
c23c33b0
TS
347912012-07-22 Thomas Schwinge <thomas@codesourcery.com>
34792
34793 * math/w_ilogb.c: Include <limits.h>.
34794 * math/w_ilogbl.c: Likewise.
34795
b5982523
JM
347962012-07-20 Joseph Myers <joseph@codesourcery.com>
34797
34798 * manual/lang.texi (__va_copy): Document primarily as ISO C99
34799 va_copy. Document allowing for unavailable va_copy only as
34800 pre-C99 compatibility.
34801 * manual/string.texi (Copying and Concatenation): Use va_copy
34802 instead of __va_copy in concat example.
34803
ac4ea442
PT
348042012-07-20 Pino Toscano <toscano.pino@tiscali.it>
34805
34806 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
34807 (__sendto): Use create_address_port. Initialize APORT and deallocate
34808 it if not null.
34809
f98eafbd
PT
34810 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
34811 with O_NOLINK passed to __file_name_lookup.
34812
898c7aab
PT
34813 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
34814 with O_NOLINK passed to __file_name_lookup.
34815
0ced335a
PT
34816 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
34817 negative N or less than NGIDS.
34818
b3404dbd
PT
34819 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
34820 type to string_t. Set ERANGE as errno and return it if NAME is not big
34821 enough. Use memcpy instead of strncpy.
34822
0f48659e
JM
348232012-07-20 Joseph Myers <joseph@codesourcery.com>
34824
34825 * elf/Makefile (check-data): Remove.
34826 (localplt.data): New vpath directive.
34827 ($(objpfx)check-localplt.out): Use localplt.data from vpath
34828 instead of $(check-data).
34829 * scripts/data/localplt-generic.data: Move to ...
34830 * sysdeps/generic/localplt.data: ... here.
34831 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
34832 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
34833 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
34834 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
34835 ... here.
34836 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
34837 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
34838 ... here.
34839 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
34840 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
34841 ... here.
34842 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
34843 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
34844 ... here.
34845 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
34846 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
34847 ... here.
34848 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
34849 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
34850 ... here.
34851
d37cbdaa
AZ
348522012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34853
34854 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
34855 PPC32 and PPC64 files.
34856 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
34857 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
34858
46f85fc2
AK
348592012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
34860
34861 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
34862 __makecontext_ret to ...
34863 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
34864 ... here and call exit if uc_link is NULL. New file.
34865 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
34866 __makecontext_ret.S.
34867 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
34868 __makecontext_ret to ...
34869 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
34870 ... here and call exit if uc_link is NULL. New file.
34871 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
34872 __makecontext_ret.S.
34873
08f43f9b
AK
348742012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
34875
34876 * elf/elf.h (R_390_IRELATIVE): New definition.
34877 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
34878 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
34879 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
34880 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
34881 (elf_machine_lazy_rel): Likewise.
34882 * sysdeps/s390/dl-irel.h: New file.
34883 * sysdeps/s390/s390-64/memcpy.S: New asm code.
34884 * sysdeps/s390/s390-64/memset.S: New asm code.
34885 * sysdeps/s390/s390-64/memcmp.S: New asm code.
34886 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
34887 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
34888 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
34889 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
34890 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
34891 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
34892 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
34893 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
34894 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
34895 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
34896 * sysdeps/s390/s390-32/memcpy.S: New asm code.
34897 * sysdeps/s390/s390-32/memset.S: New asm code.
34898 * sysdeps/s390/s390-32/memcmp.S: New asm code.
34899
3b05db33
MP
349002012-07-17 Marek Polacek <polacek@redhat.com>
34901
34902 [BZ #14349]
34903 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
34904 * sysdeps/s390/s390-64/configure.in: Likewise.
34905 * sysdeps/sparc/configure.in: Likewise.
34906 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
34907 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
34908 * sysdeps/i386/configure.in: Likewise.
34909 * sysdeps/x86_64/configure.in: Likewise.
34910 * sysdeps/sh/configure.in: Likewise.
34911 * sysdeps/s390/s390-32/configure: Regenerated.
34912 * sysdeps/s390/s390-64/configure: Likewise.
34913 * sysdeps/x86_64/configure: Likewise.
34914 * sysdeps/sh/configure: Likewise.
34915 * sysdeps/powerpc/powerpc64/configure: Likewise.
34916 * sysdeps/powerpc/powerpc32/configure: Likewise.
34917 * sysdeps/sparc/configure: Likwise.
34918 * sysdeps/i386/configure: Likewise.
34919
a66877c6
MP
34920 * elf/dl-open.c: Comment fixes.
34921
cfc82fd8
JM
349222012-07-17 Joseph Myers <joseph@codesourcery.com>
34923
bd29910a
JM
34924 * Makefile [CXX] (check-data): Remove.
34925 [CXX] (c++-types.data): New vpath directive.
34926 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
34927 vpath. Do not allow for C++ type data being missing.
34928 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
34929 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
34930 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
34931 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
34932 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
34933 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
34934 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
34935 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
34936 ... here.
34937 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
34938 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
34939 ... here.
34940 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
34941 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
34942 ... here.
34943 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
34944 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
34945 ... here.
34946 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
34947 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
34948 ... here.
34949 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
34950 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
34951 ... here.
34952 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
34953 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
34954 ... here.
34955 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
34956 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
34957
cfc82fd8
JM
34958 * elf/tls-macros.h (TLS_LE): Move architecture-specific
34959 definitions to architecture-specific files.
34960 (TLS_IE): Likewise.
34961 (TLS_LD): Likewise.
34962 (TLS_GD): Likewise.
34963 * sysdeps/i386/tls-macros.h: New file.
34964 * sysdeps/powerpc/tls-macros.h: Likewise.
34965 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
34966 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
34967 * sysdeps/sh/tls-macros.h: Likewise.
34968 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
34969 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
34970 * sysdeps/x86_64/tls-macros.h: Likewise.
34971
f7db3170
TS
349722012-07-17 Thomas Schwinge <thomas@codesourcery.com>
34973
07cbfc23
TS
34974 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
34975 zero value for regular exit case.
34976
f7db3170
TS
34977 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
34978 (__start_context): Preserve zero value for regular exit case.
34979
dc97c227
TS
349802012-07-17 Thomas Schwinge <thomas@codesourcery.com>
34981 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
34982
34983 * manual/setjmp.texi (setcontext): Clarify normal process
34984 termination when uc_link is the null pointer.
34985 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
34986 exit call.
34987
d0cd7d02
AS
349882012-07-16 Andreas Schwab <schwab@linux-m68k.org>
34989
34990 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
34991 preprocessor. Test for each exception mask separately.
34992
dd318934
AJ
349932012-07-16 Andreas Jaeger <aj@suse.de>
34994
34995 * po/ru.po: Update from translation team.
34996
8048311a
JM
349972012-07-15 Joseph Myers <joseph@codesourcery.com>
34998
34999 * conform/data/string.h-data (NULL): Use macro-constant. Require
35000 equal to 0.
35001 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
35002 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
35003 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
35004 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
35005 [ISO || ISO99 || ISO11] (*_t): Do not allow.
35006
b637d46e
AJ
350072012-07-13 Andreas Jaeger <aj@suse.de>
35008
35009 * po/fr.po: Update from translation team.
35010
541428fe
MP
350112012-07-12 Marek Polacek <polacek@redhat.com>
35012
35013 [BZ #14173]
35014 * math/libm-test.inc (yn_test): Add test for BZ #14173.
35015 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
35016 loop condition.
35017
ec332e94
JM
350182012-07-12 Joseph Myers <joseph@codesourcery.com>
35019
35020 [BZ #13717]
35021 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
35022 Change to 2.4.1 where previously 2.4.0.
35023 * sysdeps/unix/sysv/linux/configure: Regenerated.
35024 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
35025 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
35026 version.
35027 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
35028 (__ASSUME_AT_CLKTCK): Remove.
35029 (__ASSUME_AT_PAGESIZE): Likewise.
35030 (__ASSUME_AT_XID): Likewise.
35031 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
35032 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
35033 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
35034 unconditionally.
35035 (HAVE_AUX_PAGESIZE): Likewise.
35036 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
35037 [__ASSUME_AT_CLKTCK]: Make code unconditional.
35038 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
35039
7b6e99be
JB
350402012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
35041
35042 [BZ #14307]
35043 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
35044 the temporary buffer used to invoke __gethostbyname2_r,
35045 __gethostbyaddr_r and gethostbyname4_r to make room for struct
35046 host_data / struct gaih_addrtuple.
35047 * resolv/nss_dns/dns-host.c (global scope): Move definition of
35048 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
35049 header file nss/nsswitch.h.
35050 * nss/nsswitch.h (global scope): Add definition of implementation
35051 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
35052 resolv/nss_dns/dns-host.c).
35053
608404eb
AJ
350542012-07-11 Andreas Jaeger <aj@suse.de>
35055
35056 * po/fr.po: Update from translation team.
35057
71220aca
AJ
35058 * po/sv.po: Update from translation team
35059 * po/fr.po: Another update from translation team.
35060
28cfe843
AZ
350612012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35062
35063 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
35064 for subnormals or multiply small sinh result by itself.
35065 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
35066 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35067
6b90f981
DM
350682012-07-11 David S. Miller <davem@davemloft.net>
35069
35070 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35071
c6825772
AS
350722012-07-10 Andreas Schwab <schwab@linux-m68k.org>
35073
35074 [BZ #14347]
35075 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
35076 (INTERNAL_MARK): Shift it here.
35077
7b8e0d49
MP
350782012-07-10 Marek Polacek <polacek@redhat.com>
35079
35080 [BZ #14151]
35081 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
35082 libc_cv_asm_global_directive with .globl.
35083 * configure: Regenerated.
35084 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
35085 with .globl.
35086 * sysdeps/i386/configure: Regenerated.
35087 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
35088 with .globl.
35089 * sysdeps/x86_64/configure: Regenerated.
35090 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
35091 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
35092 * elf/tst-unique2mod2.c: Likewise.
35093 * elf/tst-unique2mod1.c: Likewise.
35094 * elf/tst-unique1mod2.c: Likewise.
35095 * elf/tst-unique1mod1.c: Likewise.
35096 * sysdeps/s390/s390-32/sysdep.h: Likewise.
35097 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
35098 * sysdeps/s390/s390-64/sysdep.h: Likewise.
35099 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
35100 * sysdeps/mach/sysdep.h: Likewise.
35101 * sysdeps/i386/sysdep.h: Likewise.
35102 * sysdeps/i386/i386-mcount.S: Likewise.
35103 * sysdeps/x86_64/_mcount.S: Likewise.
35104 * sysdeps/x86_64/sysdep.h: Likewise.
35105 * sysdeps/sh/_mcount.S: Likewise.
35106 * sysdeps/sh/sysdep.h: Likewise.
35107 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
35108 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
35109 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
35110 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
35111 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
35112 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
35113 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
35114 * locale/localeinfo.h: Likewise.
35115 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
35116 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
35117
6c55cda3
RM
351182012-07-09 Roland McGrath <roland@hack.frob.com>
35119
35120 [BZ #14336]
35121 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
35122 system".
35123 * manual/message.texi (The Uniforum approach): Likewise.
35124 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
35125 (glibc iconv Implementation): Likewise.
35126
638a572e
JM
351272012-07-09 Joseph Myers <joseph@codesourcery.com>
35128
35129 [BZ #14337]
35130 * math/s_clog.c (__clog): Avoid scaling a value down where that
35131 could result in underflow.
35132 * math/s_clog10.c (__clog10): Likewise.
35133 * math/s_clog10f.c (__clog10f): Likewise.
35134 * math/s_clog10l.c (__clog10l): Likewise.
35135 * math/s_clogf.c (__clogf): Likewise.
35136 * math/s_clogl.c (__clogl): Likewise.
35137 * math/libm-test.inc (clog_test): Add more tests.
35138 (clog10_test): Likewise.
35139 * sysdeps/i386/fpu/libm-test-ulps: Update.
35140 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35141
261f4859
AS
351422012-07-06 Andreas Schwab <schwab@linux-m68k.org>
35143
0abaf3e4
AS
35144 [BZ #14283]
35145 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
35146 by 7 not 8 to examine high bit of fractional part.
35147
261f4859
AS
35148 [BZ #14042]
35149 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
35150 for call to __mcount_internal.
35151 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
35152 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
35153 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
35154
f17ac40d
JM
351552012-07-06 Joseph Myers <joseph@codesourcery.com>
35156
9ad63c23
JM
35157 [BZ #14154]
35158 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
35159 approximation for values within 0x1p-13f of an odd multiple of
35160 pi/4.
35161 * math/libm-test.inc (tan_test): Do not allow spurious underflow
35162 exception. Add more tests.
35163 * sysdeps/i386/fpu/libm-test-ulps: Update.
35164
f17ac40d
JM
35165 [BZ #6778]
35166 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
35167 inputs and return -1 for them. Do not check for +Inf in case not
35168 reachable for +Inf.
35169 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
35170 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
35171 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
35172 and return -1 for them. Do not check for +Inf in case not
35173 reachable for +Inf.
35174 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
35175 define.
35176 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
35177 and return -1 for them. Do not check for +Inf in case not
35178 reachable for +Inf.
35179 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
35180 spurious underflow.
35181 * sysdeps/i386/fpu/libm-test-ulps: Update.
35182 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35183
fb21f89b
MF
351842012-07-06 Mike Frysinger <vapier@gentoo.org>
35185
35186 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
35187
cdfe2c5e
JM
351882012-07-05 Joseph Myers <joseph@codesourcery.com>
35189
35190 [BZ #14157]
35191 [BZ #14331]
35192 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
35193 could result in spurious underflow. Scale down values above
35194 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
35195 * math/s_csqrtf.c (__csqrtf): Likewise.
35196 * math/s_csqrtl.c (__csqrtl): Likewise.
35197 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
35198 spurious underflow.
35199 * sysdeps/i386/fpu/libm-test-ulps: Update.
35200 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35201
70d35b67
AS
352022012-07-04 Andreas Schwab <schwab@linux-m68k.org>
35203
704bc459
AS
35204 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
35205 xopen-msg.sed.
35206 * catgets/xopen-msg.awk: New file.
35207 * catgets/xopen-msg.sed: Removed.
35208
70d35b67
AS
35209 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
35210 po2text.sed.
35211 * intl/po2test.awk: New file.
35212 * intl/po2test.sed: Removed.
35213
ca61cf32
JM
352142012-07-04 Joseph Myers <joseph@codesourcery.com>
35215
35216 [BZ #14328]
35217 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
35218 or multiply small sinh result by itself.
35219 * math/s_ctanf.c (__ctanf): Likewise.
35220 * math/s_ctanh.c (__ctanh): Likewise.
35221 * math/s_ctanhf.c (__ctanhf): Likewise.
35222 * math/s_ctanhl.c (__ctanhl): Likewise.
35223 * math/s_ctanl.c (__ctanl): Likewise.
35224 * math/libm-test.inc (ctan_test_tonearest): New function.
35225 (ctan_test_towardzero): Likewise.
35226 (ctan_test_downward): Likewise.
35227 (ctan_test_upward): Likewise.
35228 (ctanh_test_tonearest): Likewise.
35229 (ctanh_test_towardzero): Likewise.
35230 (ctanh_test_downward): Likewise.
35231 (ctanh_test_upward): Likewise.
35232 (main): Call these new functions.
35233 * sysdeps/i386/fpu/libm-test-ulps: Update.
35234 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35235
ca48a46a
MF
352362012-07-03 Mike Frysinger <vapier@gentoo.org>
35237
35238 * .gitignore: Delete /ports entry.
35239
9d63d37d
AJ
352402012-07-03 Andreas Jaeger <aj@suse.de>
35241
35242 * po/bg.po: Update from translation team.
35243 * po/cs.po: Likewise.
35244 * po/de.po: Likewise.
35245 * po/hr.po: Likewise.
35246 * po/nl.pl: Likewise.
35247 * po/pl.po: Likewise.
35248 * po/vi.po: Likewise.
35249
370ca3d2
JM
352502012-07-03 Joseph Myers <joseph@codesourcery.com>
35251
95f5a9a8
JM
35252 * Makeconfig [!+link] (+link-before-libc): New variable.
35253 [!+link] (+link-after-libc): Likewise.
35254 [!+link] (+link-tests): Likewise.
35255 [!+link] (+link): Define in terms of $(+link-before-libc) and
35256 $(+link-after-libc).
35257 [!+link-static] (+link-static-before-libc): New variable.
35258 [!+link-static] (+link-static-after-libc): Likewise.
35259 [!+link-static] (+link-static-tests): Likewise.
35260 [!+link-static] (+link-static): Define in terms of
35261 $(+link-static-before-libc) and $(+link-static-after-libc).
35262 [build-shared] (link-libc-before-gnulib): New variable.
35263 [build-shared] (link-libc-tests): Likewise.
35264 [build-shared] (link-libc): Define in terms of
35265 $(link-libc-before-gnulib).
35266 [!build-shared] (link-libc-tests): New variable.
35267 (link-libc-static-tests): New variable.
35268 [!gnulib] (gnulib-arch): New variable.
35269 [!gnulib] (gnulib-tests): Likewise.
35270 [!gnulib] (static-gnulib-arch): Likewise.
35271 [!gnulib] (static-gnulib-tests): Likewise.
35272 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
35273 Define with "=" instead of ":=".
35274 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
35275 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
35276 * Rules (binaries-all-notests): New variable.
35277 (binaries-all-tests): Likewise.
35278 (binaries-static-notests): Likewise.
35279 (binaries-static-tests): Likewise.
35280 (binaries-all): Define using $(binaries-all-notests) and
35281 $(binaries-all-tests).
35282 (binaries-static): Define using $(binaries-static-notests) and
35283 $(binaries-static-tests).
35284 (binaries-shared-tests): New variable.
35285 (binaries-shared-notests): Likewise.
35286 (binaries-shared): Remove variable.
35287 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
35288 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
35289 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
35290 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
35291 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
35292 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
35293 * elf/Makefile (sln-modules): New variable.
35294 (extra-objs): Add $(sln-modules:=.o).
35295 (ldconfig-modules): Add static-stubs.
35296 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
35297 * elf/static-stubs.c: New file.
35298
7a845b2c
JM
35299 [BZ #14283]
35300 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
35301 by 7 not 8 to examine high bit of fractional part. Use volatile
35302 variables when splitting into final array of floats if
35303 __FLT_EVAL_METHOD__ != 0.
35304 * math/libm-test.inc (cos_test): Add another test.
35305 (sin_test): Likewise.
35306 * sysdeps/i386/fpu/libm-test-ulps: Update.
35307
e2283f38
JM
35308 [BZ #14273]
35309 * math/libm-test.inc (cosh_test): Add more tests.
35310
370ca3d2
JM
35311 * version.h (RELEASE): Set to "development".
35312 (VERSION): Set to "2.16.90".
35313
ee9247c3
CD
353142012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
35315
35316 * NEWS: Update copyright. Remove last-updated date.
35317 Mention math library bug fixes and timezone data changes.
35318 * README: Mention GNU/Hurd, x32, and HPPA support status.
35319
4648c381
TS
353202012-06-28 Thomas Schwinge <thomas@codesourcery.com>
35321
35322 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
35323
aac78a43
AJ
353242012-06-27 Andreas Jaeger <aj@suse.de>
35325
35326 * manual/contrib.texi (Contributors): Add Samuel Thibault.
35327
ed3dbfad
AJ
353282012-06-25 Andreas Jaeger <aj@suse.de>
35329
35330 * sysdeps/s390/fpu/libm-test-ulps: Update.
35331
4d0ee855
AS
353322012-06-23 Andreas Schwab <schwab@linux-m68k.org>
35333 Thomas Schwinge <thomas@codesourcery.com>
35334
35335 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
35336 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
35337 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
35338 fanotify_mark.
35339
af1bce34
TS
353402012-06-23 Thomas Schwinge <thomas@codesourcery.com>
35341
a9fa33ba
TS
35342 * sysdeps/mach/start.c: Remove file.
35343 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
35344 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
35345 * sysdeps/sh/init-first.c: Likewise.
35346
58f902b8
TS
35347 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
35348 registers for frame unwinding purposes, add CFI directives.
35349 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
35350 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
35351 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
35352 Likewise.
35353
1518f58b
TS
35354 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
35355 __fortify_fail returning.
35356 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
35357
db9b5059
TS
35358 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
35359 sysdeps/sh/____longjmp_chk.S.
35360 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
35361 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
35362 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
35363 (gen-as-const-headers): Append sigaltstack-offsets.sym.
35364
967705fe
TS
35365 * sysdeps/sh/abort-instr.h: New file.
35366 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
35367 process in case exit returns.
35368
a9def8c4
TS
35369 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
35370 initialize the GOT register before use.
35371
2a649725
TS
35372 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
35373 calculation of ARGC > 4.
35374
af1bce34
TS
35375 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
35376 meaningful names to some local labels.
35377
d230f50a
KK
353782012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
35379 Kaz Kojima <kkojima@rr.iij4u.or.jp>
35380
35381 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
35382 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
35383 (__arch_compare_and_exchange_val_16_acq): Likewise.
35384 (__arch_compare_and_exchange_val_32_acq): Likewise.
35385 (atomic_exchange_and_add): Fix gUSA sequence.
35386 (atomic_add): Likewise.
35387 (atomic_add_negative): Likewise.
35388 (atomic_add_zero): Likewise.
35389 (atomic_bit_test_set): Likewise.
35390
0479b305
AS
353912012-06-22 Andreas Schwab <schwab@redhat.com>
35392
35393 [BZ #13579]
35394 * include/link.h (struct link_map): Add l_free_initfini.
35395 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
35396 l_initfini.
35397 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
35398 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
35399 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
35400 set.
35401
0e3933b9
CD
354022012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
35403
35404 * configure.in: Use AC_LANG_SOURCE.
35405 * configure: Regenerate.
35406
4248b1b1
RM
354072012-06-22 Roland McGrath <roland@hack.frob.com>
35408
35409 * configure.in (libc_cv_localstatedir): New substituted variable.
35410 * configure: Regenerated.
35411 * config.make.in (localstatedir): New variable, substituted from
35412 libc_cv_localstatedir.
35413 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
35414 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
35415 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
35416 * sysdeps/gnu/configure: Regenerated.
35417
006dd861
JL
354182012-06-21 Jeff Law <law@redhat.com>
35419
35420 [BZ #14277]
35421 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
35422 free. Simplify list management for _LIBC case.
35423
79662d42
JM
354242012-06-21 Joseph Myers <joseph@codesourcery.com>
35425
b7abb4bf
JM
35426 [BZ #14273]
35427 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
35428 Clear sign bit of 64-bit integer value before comparing against
35429 overflow value.
35430
79662d42
JM
35431 * sysdeps/mach/configure: Regenerated.
35432
1f150908
L
354332012-06-21 H.J. Lu <hongjiu.lu@intel.com>
35434
35435 [BZ #14278]
35436 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
35437
28363bbf
JL
354382012-06-21 Jeff Law <law@redhat.com>
35439
35440 [BZ #13882]
35441 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
35442 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 35443 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
35444 * elf/dl-open.c (dl_open_worker): Likewise.
35445
09615db4
CD
354462012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
35447
35448 * scripts/list-sources.sh: Scan PORTS for translations.
35449 * po/libc.pot: Regenerated.
35450
2174c6dd
AJ
354512012-06-21 Andreas Jaeger <aj@suse.de>
35452
35453 [BZ #12194]
35454 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
35455 warning.
35456 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
35457 * bits/byteswap-16.h (__bswap_16): Likewise.
35458 * bits/byteswap.h (__bswap_constant_16): Likewise.
35459
3ee947b1
L
354602012-06-18 H.J. Lu <hongjiu.lu@intel.com>
35461
35462 [BZ #14117]
a2f34833
L
35463 * sysdeps/i386/fpu_control.h: Removed.
35464 * sysdeps/x86_64/fpu_control.h: Moved to ...
35465 * sysdeps/x86/fpu_control.h: Here.
35466
3ee947b1
L
35467 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
35468 (_FPU_SETCW): Likewise.
35469
ed1825f8
L
354702012-06-15 H.J. Lu <hongjiu.lu@intel.com>
35471
25f1282a
L
35472 [BZ #14117]
35473 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
35474 * sysdeps/x86/fpu/bits/mathinline.h: This.
35475 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
35476
ed1825f8
L
35477 [BZ #14050]
35478 [BZ #14117]
35479 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
35480 functions if __x86_64__ is defined.
35481
36d54b74
CLT
354822012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
35483
35484 * string/endian.h: Add !__ASSEMBLER__ condition for including
35485 conversion interfaces.
35486
10285c21
JM
354872012-06-15 Joseph Myers <joseph@codesourcery.com>
35488
35489 [BZ #14241]
35490 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
35491 of ABS(x) in calculating zero to negative powers other than odd
35492 integers.
35493 * math/libm-test.inc (pow_test): Add more tests.
35494
06c5abbd
AJ
354952012-06-15 Andreas Jaeger <aj@suse.de>
35496
35497 * manual/contrib.texi (Contributors): Update entry of Liubov
35498 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
35499 Machado Filho.
35500
a3aeac40
CH
355012012-06-15 Cyril Hrubis <metan@ucw.cz>
35502
35503 * string/string.h: Add __wur to GNU version of strerror_r.
35504
49bdf4c1
L
355052012-06-14 H.J. Lu <hongjiu.lu@intel.com>
35506
35507 [BZ #14229]
35508 * string/Makefile (tests): Add tst-strtok_r.
35509 * string/tst-strtok_r.c: New file.
35510 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
35511 RAX_LP/RDX_LP on SAVE_PTR.
35512
834f9b8d
RM
355132012-06-14 Roland McGrath <roland@hack.frob.com>
35514
35515 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
35516
75fa1921
JM
355172012-06-14 Joseph Myers <joseph@codesourcery.com>
35518
35519 * libm_test.inc (csqrt_test): Allow more spurious underflow
35520 exceptions.
35521 (j0_test): Likewise.
35522 (j1_test): Likewise.
35523 (y0_test): Likewise.
35524 (y1_test): Likewise.
35525
771766df
CD
355262012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
35527
35528 * po/Makefile (libc.pot): Use UTF-8 charset.
35529
ceb9e56b
PP
355302012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
35531
35532 [BZ #14210]
35533 Suppress sign-conversion warning from FD_SET.
35534 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
35535 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
35536 not unsigned long int.
35537 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
35538
ddb28975
L
355392012-06-12 H.J. Lu <hongjiu.lu@intel.com>
35540
35541 [BZ #14050]
35542 [BZ #14117]
35543 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
35544 __extern_always_inline instead of __extern_inline.
35545 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
35546 (__signbit): Likewise.
35547 (__signbitl): Support C++ namespace.
35548 (lrintf): New inline function.
35549 (lrint): Likewise.
35550 (llrintf): Likewise.
35551 (llrint): Likewise.
35552 (fmaxf): Likewise.
35553 (fmax): Likewise.
35554 (fminf): Likewise.
35555 (fmin): Likewise.
35556 (rint): Likewise.
35557 (rintf): Likewise.
35558 (ceil): Likewise.
35559 (ceilf): Likewise.
35560 (floor): Likewise.
35561 (floorf): Likewise.
35562 (nearbyint): Likewise.
35563 (nearbyintf): Likewise.
35564
d7b4fb26
TS
355652012-06-12 Thomas Schwinge <thomas@codesourcery.com>
35566
35567 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
35568 non-default versions.
35569
eb55f5c2
RM
355702012-06-11 Roland McGrath <roland@hack.frob.com>
35571
35572 [BZ #14218]
35573 * manual/argp.texi (Argp): Reword argp_parse description slightly.
35574
366af02c
TS
355752012-06-09 Thomas Schwinge <thomas@codesourcery.com>
35576
99ff6e5c
TS
35577 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
35578 (FE_UPWARD, FE_DOWNWARD): Don't define.
35579 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
35580 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
35581
366af02c
TS
35582 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
35583 reading it.
35584 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
35585 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
35586
793ea851
KK
355872012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
35588
35589 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
35590 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
35591 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
35592 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
35593
a728a38f
L
355942012-06-06 H.J. Lu <hongjiu.lu@intel.com>
35595
35596 [BZ #14117]
c08010c7
L
35597 * sysdeps/i386/fpu/bits/fenv.h: Removed.
35598 * sysdeps/i386/fpu/Implies: New file.
35599 * sysdeps/x86_64/fpu/Implies: Likewise.
35600 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
35601 * sysdeps/x86/fpu/bits/fenv.h: This.
35602
a728a38f
L
35603 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
35604 __SSE_MATH__.
35605
6e230d11
SP
356062012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
35607
35608 [BZ #14134]
35609 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
35610 character 0xffff that matches the last element of the
35611 conversion table.
35612
1b671feb
AZ
356132012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35614
35615 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
35616 fmodl commit.
35617
6043738b
AZ
356182012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35619
35620 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
35621 values higher than 25.6283.
35622
34ae0b32
AZ
356232012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35624
35625 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
35626 subnormal exponent extraction and add some __builtin_expect.
35627 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
35628 Fix for subnormal mantissa calculation.
35629
1214ec8f
MF
356302012-06-04 Mike Frysinger <vapier@gentoo.org>
35631
35632 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
35633 cpu2 is -1 and errno is not ENOSYS.
35634
f3d1f93c
L
356352012-06-04 H.J. Lu <hongjiu.lu@intel.com>
35636
35637 [BZ #14117]
0e4a3cd7
L
35638 * sysdeps/i386/i486/bits/string.h: Renamed to ...
35639 * sysdeps/x86/bits/string.h: This.
35640 * sysdeps/x86_64/bits/string.h: Removed.
35641
6704c645
L
35642 * sysdeps/i386/i486/bits/string.h: Define inline functions only
35643 if not compiling for x86-64, but compiling for >= i486.
35644
48495318
L
35645 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
35646 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
35647
14adcbfc
L
35648 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
35649 New macro from Linux kernel 3.4.0.
35650 (FP_XSTATE_MAGIC2): Likewise.
35651 (FP_XSTATE_MAGIC2_SIZE): Likewise.
35652 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
35653 (struct _fpx_sw_bytes): New struct.
35654 (struct _xsave_hdr): Likewise.
35655 (struct _ymmh_state): Likewise.
35656 (struct _xstate): Likewise.
35657
68e408ab
L
35658 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
35659 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
35660 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
35661 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
35662 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
35663 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
35664
f3d1f93c
L
35665 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
35666 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
35667 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
35668 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
35669 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
35670 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
35671
d9dc34cd
TMQMF
356722012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
35673
35674 [BZ #13743]
35675 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
35676 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
35677 (sysdep_headers): Include sys/platform/ppc.h.
35678 * sysdeps/powerpc/test-gettimebase.c: Test for
35679 __ppc_get_timebase() to catch future ISA opcode/insn changes.
35680 * manual/Makefile (appendices): Include platform.texi.
35681 * manual/contrib.texi (Contributors): Update @node pointers.
35682 * manual/maint.texi (Maintenance): Likewise.
35683 (Platform): New node.
35684 * manual/platform.texi: New file. Document the new features.
35685
4af3879c
SP
356862012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
35687 Jakub Jelinek <jakub@redhat.com>
35688
35689 [BZ #14188]
35690 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
35691 where __builtin_expect is unavailable.
35692
2fd6ff13
DM
356932012-06-03 David S. Miller <davem@davemloft.net>
35694
35695 * stdlib/longlong.h: Updated from GCC.
35696
173f7220
AS
356972012-06-02 Andreas Schwab <schwab@linux-m68k.org>
35698
35699 [BZ #14042]
35700 * sysdeps/powerpc/powerpc32/mcount.c: New file.
35701 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
35702 __mcount_internal.
35703 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
35704 (GLIBC_2.16): Likewise.
35705
f34a1c6f
L
357062012-06-01 H.J. Lu <hongjiu.lu@intel.com>
35707
35708 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
35709
88a4576f
JM
357102012-06-01 Joseph Myers <joseph@codesourcery.com>
35711
ea32bcdd
JM
35712 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
35713 (default-abi): New variable.
35714 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
35715 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
35716 variable.
35717 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
35718 Likewise.
35719 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
35720 Likewise.
35721 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
35722 Likewise.
35723
88a4576f
JM
35724 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
35725 definition. Document in comment.
35726
402fe938
DM
357272012-06-01 David S. Miller <davem@davemloft.net>
35728
35729 * stdlib/longlong.h: Updated from GCC.
35730
3553723f
L
357312012-06-01 H.J. Lu <hongjiu.lu@intel.com>
35732
35733 [BZ #14117]
3bd872c4
L
35734 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
35735 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
35736 sys/debugreg.h sys/io.h here.
35737 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
35738 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
35739 sys/io.h.
35740 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
35741 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
35742 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
35743 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
35744 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
35745 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
35746
3553723f
L
35747 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
35748 Define only if __x86_64__ is defined.
35749
4842e4fe
JM
357502012-06-01 Joseph Myers <joseph@codesourcery.com>
35751
c5bfe3d5
JM
35752 [BZ #14048]
35753 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
35754 Use int64_t for variable i.
35755 * math/libm-test.inc (fmod_test): Add more tests.
35756
4842e4fe
JM
35757 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
35758 z computation is not scheduled after fetestexcept.
35759 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
35760 Use math_force_eval instead of asm to ensure calculation scheduled
35761 before exception test.
35762 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
35763 Ensure a1 + u.d computation is not scheduled after fetestexcept.
35764
efb73488
AJ
357652012-06-01 Aurelien Jarno <aurelien@aurel32.net>
35766
35767 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
35768 computation is not scheduled after fetestexcept.
35769
29bcce7c
L
357702012-06-01 H.J. Lu <hongjiu.lu@intel.com>
35771
35772 [BZ #14117]
35773 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
35774 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
35775
73a68f94
AZ
357762012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35777
35778 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
35779 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
35780
67b6df78
L
357812012-05-31 H.J. Lu <hongjiu.lu@intel.com>
35782
edf2933a 35783 [BZ #14117]
ebc64a18
L
35784 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
35785 <bits/wordsize.h>.
35786 (__WCHAR_MIN): Support __WORDSIZE == 64.
35787 (__WCHAR_MAX): Likewise.
35788
edf2933a
L
35789 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
35790 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
35791
57c6cf40
L
35792 [BZ #14183]
35793 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
35794 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
35795
67b6df78 35796 [BZ #14117]
8eb6281e
L
35797 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
35798 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
35799
aac639f4
L
35800 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
35801 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
35802
67b6df78
L
35803 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
35804 Defined to 1 if __x86_64__ isn't defined.
35805 (_STAT_VER_LINUX_OLD): New.
35806 (st_atime): Remove duplicate.
35807 (st_mtime): Likewise.
35808 (st_ctime): Likewise.
35809
1c2cfe81
DM
358102012-05-31 David S. Miller <davem@davemloft.net>
35811
35812 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
35813 entries.
35814
5be8418c
AS
358152012-06-01 Andreas Schwab <schwab@linux-m68k.org>
35816
e7725326
AS
35817 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
35818 gen-libm-test.pl.
35819
5be8418c
AS
35820 [BZ #14132]
35821 * elf/dl-reloc.c: Include <_itoa.h>.
35822 (_dl_reloc_bad_type): Remove use of INTUSE.
35823 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
35824 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
35825 * stdio-common/psiginfo.c (psiginfo): Likewise.
35826 * stdio-common/psignal.c (psignal): Likewise.
35827 * string/strsignal.c (strsignal): Likewise.
35828 * include/signal.h (_sys_siglist): Declare hidden proto.
35829 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
35830 INTVARDEF with libc_hidden_data_def.
35831 * stdio-common/itoa-udigits.c: Likewise.
35832 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
35833 (_itoa_lower_digits_internal): Remove declaration.
35834 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
35835 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
35836 (_sys_sigabbrev_internal): Remove aliases.
35837 (_sys_siglist): Define hidden alias.
35838
507352f1
MT
358392012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
35840
35841 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
35842 bits/sysctl.h.
35843
42bbb1c3
L
358442012-05-31 H.J. Lu <hongjiu.lu@intel.com>
35845
35846 [BZ #14117]
6bd784b6
L
35847 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
35848 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
35849
8bca20f0
L
35850 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
35851 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
35852 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
35853 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
35854 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
35855 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
35856
f9e890a9
L
35857 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
35858 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
35859 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
35860
471101a1
L
35861 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
35862 with __addr.
35863 (insw): Likewise.
35864 (insl): Likewise.
35865 (outsb): Likewise.
35866 (outsw): Likewise.
35867 (outsl): Likewise.
35868
6451c862
L
35869 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
35870 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
35871 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
35872
a254b8c9
L
35873 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
35874 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
35875 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
35876 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
35877 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
35878 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
35879
b8dfdd92
L
35880 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
35881 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
35882
578cd270
L
35883 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
35884 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
35885
de662f5f
L
35886 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
35887 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
35888 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
35889
25653439
L
35890 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
35891 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
35892 to ...
35893 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
35894
6bad24a0
L
35895 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
35896 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
35897 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
35898
42bbb1c3
L
35899 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
35900 for x86-64.
35901 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
35902
2d10d547
JM
359032012-05-31 Joseph Myers <joseph@codesourcery.com>
35904
35905 * math/math.h (M_El): Use two more decimal places.
35906 (M_LOG2El): Likewise.
35907 (M_LOG10El): Likewise.
35908 (M_LN2l): Likewise.
35909 (M_LN10l): Likewise.
35910 (M_PIl): Likewise.
35911 (M_PI_2l): Likewise.
35912 (M_PI_4l): Likewise.
35913 (M_1_PIl): Likewise.
35914 (M_2_PIl): Likewise.
35915 (M_2_SQRTPIl): Likewise.
35916 (M_SQRT2l): Likewise.
35917 (M_SQRT1_2l): Likewise.
35918
f230c29b
DM
359192012-05-31 David S. Miller <davem@davemloft.net>
35920
35921 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
35922 values between float registers.
35923 * sysdeps/sparc/sparc64/memset.S: Likewise.
35924 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
35925
fed806c3
MF
359262012-05-31 Mike Frysinger <vapier@gentoo.org>
35927
35928 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
35929 -D_FORTIFY_SOURCE=1.
35930 (CPPFLAGS-tst-longjmp_chk.c): Define.
35931 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
35932 (CPPFLAGS-tst-longjmp_chk2.c): Define.
35933 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
35934 CFLAGS-tst-wchar-h.c.
35935
30917259
MP
359362012-05-31 Marek Polacek <polacek@redhat.com>
35937
35938 [BZ #14132]
35939 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
35940 __endmntent_internal): Remove declaration.
35941 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
35942 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
35943 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
35944
1c58d5dc
DM
359452012-05-30 David S. Miller <davem@davemloft.net>
35946
35947 * sysdeps/sparc/sparc32/soft-fp/q_util.c
35948 (___Q_simulate_exceptions): Use real FP ops rather than writing
35949 into the %fsr.
35950 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
35951 Likewise.
35952
7dc00e0d
L
359532012-05-30 H.J. Lu <hongjiu.lu@intel.com>
35954
35955 [BZ #14117]
0bd53985
L
35956 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
35957 * sysdeps/x86/bits/xtitypes.h: This.
35958
3a257e66
L
35959 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
35960 * sysdeps/x86/bits/wordsize.h: This.
35961
62f62904
L
35962 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
35963 * sysdeps/x86/bits/huge_vall.h: This.
35964
404fe9d9
L
35965 * sysdeps/i386/bits/select.h: Removed.
35966 * sysdeps/x86_64/bits/select.h: Renamed to ...
35967 * sysdeps/x86/bits/select.h: This.
35968
d48d0446
L
35969 * sysdeps/i386/bits/setjmp.h: Removed.
35970 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
35971 * sysdeps/x86/bits/setjmp.h: This.
35972
7dc00e0d
L
35973 * sysdeps/i386/bits/mathdef.h: Removed.
35974 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
35975 * sysdeps/x86/bits/mathdef.h: This.
35976
03277f8f
AS
359772012-05-30 Andreas Schwab <schwab@linux-m68k.org>
35978
35979 [BZ #14132]
35980 * include/sys/socket.h (__connect_internal)
35981 (__libc_sa_len_internal): Remove declaration.
35982 (__connect, __libc_sa_len): Declare hidden_proto.
35983 (SA_LEN): Remove use of INTUSE.
35984 * socket/connect.c: Add libc_hidden_def.
35985 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
35986 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
35987 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
35988 alias.
35989 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
35990 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
35991 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
35992 of adding _internal alias.
35993
13764867
L
359942012-05-30 H.J. Lu <hongjiu.lu@intel.com>
35995
35996 [BZ #14117]
6bd97696
L
35997 * sysdeps/i386/bits/link.h: Removed.
35998 * sysdeps/i386/bits/linkmap.h: Likewise.
35999 * sysdeps/x86_64/bits/link.h: Renamed to ...
36000 * sysdeps/x86/bits/link.h: This.
36001 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
36002 * sysdeps/x86/bits/linkmap.h: This.
36003
f726f0bb
L
36004 * sysdeps/i386/bits/endian.h: Removed.
36005 * sysdeps/x86_64/bits/endian.h: Renamed to ...
36006 * sysdeps/x86/bits/endian.h: This.
36007
13764867
L
36008 * sysdeps/i386/bits/byteswap.h: Removed.
36009 * sysdeps/i386/bits/byteswap-16.h: Likewise.
36010 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
36011 * sysdeps/x86/bits/byteswap.h: This.
36012 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
36013 * sysdeps/x86/bits/byteswap-16.h: This.
36014 * sysdeps/i386/Implies: Add x86.
36015 * sysdeps/x86_64/Implies: Likewise.
36016
ae251b0b
DM
360172012-05-30 David S. Miller <davem@davemloft.net>
36018
36019 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
36020 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
36021 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
36022 (FP_TRAPPING_EXCEPTIONS): Define.
36023 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
36024 (FP_TRAPPING_EXCEPTIONS): Define.
36025 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
36026 subnormals only when inexact has been signalled or underflow
36027 exceptions are enabled.
36028 (_FP_PACK_CANONICAL): Likewise.
36029
d5c90867
L
360302012-05-30 H.J. Lu <hongjiu.lu@intel.com>
36031
36032 [BZ #14183]
36033 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
36034 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
36035
63f1549e
RH
360362012-05-30 Richard Henderson <rth@twiddle.net>
36037
8d8f2279
RH
36038 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
36039 with #ifndef NOT_IN_libc.
36040
63f1549e
RH
36041 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
36042 marked to avoid plt entry.
36043
0ab0291b
L
360442012-05-30 H.J. Lu <hongjiu.lu@intel.com>
36045
36046 [BZ #14112]
36047 * Makeconfig (default-abi): New macro.
36048 (abi-includes): Likewise.
36049 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
36050 $(abi-$(default-abi)-lib-soname) for soname if defined.
36051 ($(common-objpfx)gnu/lib-names.stmp): Generate from
36052 abi-variants.
36053 * Makefile (installed-stubs): Likewise.
36054 * include/stubs-biarch.h: Removed.
36055 * scripts/lib-names.awk: Only handle one library at a time.
36056 * scripts/soversions.awk: Remove WORDSIZE support.
36057 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
36058 entries.
36059 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
36060 Removed.
36061 (syscall-list-default-condition): Likewise.
36062 (syscall-list-default-condition): Likewise.
36063 (syscall-list-includes): Likewise.
36064 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
36065 syscall-list-* with abi-*. Handle undefined abi-variants.
36066 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
36067 * sysdeps/unix/sysv/linux/i386/Implies: New file.
36068 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
36069 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
36070 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
36071 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
36072 Removed.
36073 (syscall-list-32-options): Likewise.
36074 (syscall-list-32-condition): Likewise.
36075 (syscall-list-64-options): Likewise.
36076 (syscall-list-64-condition): Likewise.
36077 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
36078 macro.
36079 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
36080 Renamed to ...
36081 (abi-*): This.
36082 (abi-64-ld-soname): New macro.
36083 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
36084 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
36085 Renamed to ...
36086 (abi-*): This.
36087 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
36088 * sysdeps/x86_64/x32/shlib-versions: Likewise.
36089
4da0431d
JM
360902012-05-30 Joseph Myers <joseph@codesourcery.com>
36091
3a85279c
JM
36092 * sysdeps/unix/sysv/linux/kernel-features.h
36093 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
36094 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
36095 include <kernel-features.h>.
36096 [!__NR_ftruncate64]: Remove conditional code.
36097 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
36098 [__NR_ftruncate64]: Make code unconditional.
36099 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
36100 * sysdeps/unix/sysv/linux/truncate64.c: Do not
36101 include <kernel-features.h>.
36102 [!__NR_ftruncate64]: Remove conditional code.
36103 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
36104 [__NR_ftruncate64]: Make code unconditional.
36105 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
36106 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
36107 include <kernel-features.h>.
36108 [!__NR_ftruncate64]: Remove conditional code.
36109 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
36110 [__NR_ftruncate64]: Make code unconditional.
36111 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
36112 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
36113 include <kernel-features.h>.
36114 [!__NR_ftruncate64]: Remove conditional code.
36115 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
36116 [__NR_ftruncate64]: Make code unconditional.
36117 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
36118
4da0431d
JM
36119 * configure.in (libc_cv_fpie): Weaken to a compile test using
36120 LIBC_TRY_CC_OPTION.
36121 * configure: Regenerated.
36122
11ef492c
AK
361232012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
36124
36125 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
36126 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
36127 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
36128 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
36129 Refreshed.
36130 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
36131 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
36132 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
36133 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
36134 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
36135 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
36136 Refreshed.
36137
d66ef399
DM
361382012-05-27 David S. Miller <davem@davemloft.net>
36139
36140 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
36141 (___Q_zero): New.
36142 (__Q_simulate_exceptions): Return void. Change to simulate
36143 exceptions by writing into the %fsr.
36144 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
36145 (__Qp_handle_exceptions): Likewise.
36146 (numbers): Delete.
36147 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
36148 __Qp_handle_exceptions.
36149 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
36150 __Qp_handle_exceptions.
36151 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
36152 as unused and give dummy FP_RND_NEAREST initializer.
36153 (FP_INHIBIT_RESULTS): Define.
36154 (___Q_simulate_exceptions): Update declaration.
36155 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
36156 formatting.
36157 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
36158 as unused and give dummy FP_RND_NEAREST initializer.
36159 (__Qp_handle_exceptions): Update declaration.
36160 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
36161 formatting.
36162
04fb54b5
TS
361632012-05-27 Thomas Schwinge <thomas@codesourcery.com>
36164
36165 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
36166 the temporary FPU control word.
36167 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
36168 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
36169 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
36170 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
36171 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
36172 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
36173 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
36174 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
36175 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
36176 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
36177 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
36178
3f99608f
KK
361792012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
36180
36181 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
36182 fields.
36183
65a4de4e
CLT
361842012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
36185
36186 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
36187 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
36188 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
36189 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
36190 Likewise.
36191 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
36192 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
36193 Likewise.
36194
15749d40
UD
361952012-05-27 Ulrich Drepper <drepper@gmail.com>
36196
36197 * po/h.po: Update from translation team.
36198
25dbcb27
AS
361992012-05-26 Andreas Schwab <schwab@linux-m68k.org>
36200
3d3f8e55
AS
36201 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
36202
25dbcb27
AS
36203 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
36204 handling of denormals.
36205 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
36206 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
36207 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
36208 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
36209 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
36210 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
36211 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
36212 Likewise.
36213
7ad47a80 362142012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
36215
36216 [BZ #14152]
36217 * math/libm-test.inc (fma_test): Don't always expect underflow
36218 exception.
36219
9c6ea9fa
SP
362202012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
36221
36222 [BZ #12416]
36223 * elf/tst-execstack.c: Include stackinfo.h.
36224 (do_test): Adjust test case to ensure that pthread_getattr_np
36225 behaviour remains the same after marking stack executable.
36226
a8239222
JM
362272012-05-25 Joseph Myers <joseph@codesourcery.com>
36228
36229 * sysdeps/unix/sysv/linux/kernel-features.h
36230 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
36231 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
36232 kernel-features.h.
36233 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
36234 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
36235 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
36236 kernel-features.h.
36237 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
36238 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
36239
918b5606
L
362402012-05-25 H.J. Lu <hongjiu.lu@intel.com>
36241
36242 * configure.in: Define the default includes to being none.
36243 * configure: Regenerated.
36244
3a097cc7
RM
362452012-05-25 Roland McGrath <roland@hack.frob.com>
36246
8422c9a5
RM
36247 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
36248 * sysdeps/x86_64/setjmp.S: Likewise.
36249 * sysdeps/i386/bsd-setjmp.S: Likewise.
36250 * sysdeps/i386/bsd-_setjmp.S: Likewise.
36251 * sysdeps/i386/setjmp.S: Likewise.
36252 * sysdeps/i386/__longjmp.S: Likewise.
36253 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
36254 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
36255
3a097cc7
RM
36256 * include/stap-probe.h: New file.
36257 * configure.in: Handle --enable-systemtap.
36258 * configure: Regenerated.
36259 * config.h.in (USE_STAP_PROBE): New #undef.
36260 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
36261 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
36262 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
36263
21708942
JM
362642012-05-25 Joseph Myers <joseph@codesourcery.com>
36265
36266 [BZ #13717]
36267 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
36268 to 2.4.0 where earlier.
36269 * sysdeps/unix/sysv/linux/configure: Regenerated.
36270 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
36271 <kernel-features.h>.
36272 [__ASSUME_32BITUIDS]: Make code unconditional.
36273 [!__ASSUME_32BITUIDS]: Remove conditional code.
36274 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
36275 <kernel-features.h>.
36276 [__ASSUME_32BITUIDS]: Make code unconditional.
36277 [!__ASSUME_32BITUIDS]: Remove conditional code.
36278 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
36279 [__ASSUME_32BITUIDS]: Make code unconditional.
36280 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
36281 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
36282 <kernel-features.h>.
36283 [__ASSUME_32BITUIDS]: Make code unconditional.
36284 [!__ASSUME_32BITUIDS]: Remove conditional code.
36285 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
36286 <kernel-features.h>.
36287 [__ASSUME_32BITUIDS]: Make code unconditional.
36288 [!__ASSUME_32BITUIDS]: Remove conditional code.
36289 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
36290 <kernel-features.h>.
36291 [__ASSUME_32BITUIDS]: Make code unconditional.
36292 [!__ASSUME_32BITUIDS]: Remove conditional code.
36293 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
36294 <kernel-features.h>.
36295 [__ASSUME_32BITUIDS]: Make code unconditional.
36296 [!__ASSUME_32BITUIDS]: Remove conditional code.
36297 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
36298 <kernel-features.h>.
36299 [__ASSUME_32BITUIDS]: Make code unconditional.
36300 [!__ASSUME_32BITUIDS]: Remove conditional code.
36301 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
36302 <kernel-features.h>.
36303 [__ASSUME_32BITUIDS]: Make code unconditional.
36304 [!__ASSUME_32BITUIDS]: Remove conditional code.
36305 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
36306 <kernel-features.h>.
36307 [__ASSUME_32BITUIDS]: Make code unconditional.
36308 [!__ASSUME_32BITUIDS]: Remove conditional code.
36309 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
36310 <kernel-features.h>.
36311 [__ASSUME_32BITUIDS]: Make code unconditional.
36312 [!__ASSUME_32BITUIDS]: Remove conditional code.
36313 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
36314 <kernel-features.h>.
36315 [__ASSUME_32BITUIDS]: Make code unconditional.
36316 [!__ASSUME_32BITUIDS]: Remove conditional code.
36317 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
36318 <kernel-features.h>.
36319 [__ASSUME_32BITUIDS]: Make code unconditional.
36320 [!__ASSUME_32BITUIDS]: Remove conditional code.
36321 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
36322 <kernel-features.h>.
36323 [__NR_setresgid] (__setresgid): Do not declare.
36324 [__ASSUME_32BITUIDS]: Make code unconditional.
36325 [!__ASSUME_32BITUIDS]: Remove conditional code.
36326 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
36327 <kernel-features.h>.
36328 [__NR_setresuid] (__setresuid): Do not declare.
36329 [__ASSUME_32BITUIDS]: Make code unconditional.
36330 [!__ASSUME_32BITUIDS]: Remove conditional code.
36331 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
36332 <kernel-features.h>.
36333 [__ASSUME_32BITUIDS]: Make code unconditional.
36334 [!__ASSUME_32BITUIDS]: Remove conditional code.
36335 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
36336 <kernel-features.h>.
36337 [__ASSUME_32BITUIDS]: Make code unconditional.
36338 [!__ASSUME_32BITUIDS]: Remove conditional code.
36339 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
36340 <kernel-features.h>.
36341 [__ASSUME_32BITUIDS]: Make code unconditional.
36342 [!__ASSUME_32BITUIDS]: Remove conditional code.
36343 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
36344 <kernel-features.h>.
36345 [__ASSUME_32BITUIDS]: Make code unconditional.
36346 [!__ASSUME_32BITUIDS]: Remove conditional code.
36347 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
36348 <kernel-features.h>.
36349 [__ASSUME_32BITUIDS]: Make code unconditional.
36350 [!__ASSUME_32BITUIDS]: Remove conditional code.
36351 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
36352 <kernel-features.h>.
36353 [__ASSUME_32BITUIDS]: Make code unconditional.
36354 [!__ASSUME_32BITUIDS]: Remove conditional code.
36355 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
36356 <kernel-features.h>.
36357 [__ASSUME_32BITUIDS]: Make code unconditional.
36358 [!__ASSUME_32BITUIDS]: Remove conditional code.
36359 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
36360 <kernel-features.h>.
36361 [__ASSUME_32BITUIDS]: Make code unconditional.
36362 [!__ASSUME_32BITUIDS]: Remove conditional code.
36363 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
36364 <kernel-features.h>.
36365 [__ASSUME_32BITUIDS]: Make code unconditional.
36366 [!__ASSUME_32BITUIDS]: Remove conditional code.
36367 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
36368 <kernel-features.h>.
36369 [__ASSUME_32BITUIDS]: Make code unconditional.
36370 [!__ASSUME_32BITUIDS]: Remove conditional code.
36371 * sysdeps/unix/sysv/linux/kernel-features.h
36372 (__ASSUME_SETRESUID_SYSCALL): Remove.
36373 (__ASSUME_SETRESGID_SYSCALL): Likewise.
36374 (__ASSUME_32BITUIDS): Likewise.
36375 (__ASSUME_LDT_WORKS): Likewise.
36376 (__ASSUME_O_DIRECTORY): Likewise.
36377 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
36378 architecture but not kernel version.
36379 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
36380 (__ASSUME_MMAP2_SYSCALL): Likewise.
36381 (__ASSUME_STAT64_SYSCALL): Likewise.
36382 (__ASSUME_IPC64): Likewise.
36383 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
36384 <kernel-features.h>.
36385 [__ASSUME_32BITUIDS]: Make code unconditional.
36386 [!__ASSUME_32BITUIDS]: Remove conditional code.
36387 * sysdeps/unix/sysv/linux/opendir.c: Do not include
36388 <kernel-features.h>.
36389 [__ASSUME_O_DIRECTORY]: Make code unconditional.
36390 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
36391 132096]: Remove conditional code.
36392 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
36393 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
36394 <kernel-features.h>.
36395 [__ASSUME_32BITUIDS]: Make code unconditional.
36396 [!__ASSUME_32BITUIDS]: Remove conditional code.
36397 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
36398 <kernel-features.h>.
36399 [__ASSUME_32BITUIDS]: Make code unconditional.
36400 [!__ASSUME_32BITUIDS]: Remove conditional code.
36401 * sysdeps/unix/sysv/linux/setegid.c: Do not include
36402 <kernel-features.h>.
36403 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
36404 unconditional.
36405 (__setresgid): Do not declare.
36406 [__ASSUME_32BITUIDS]: Make code unconditional.
36407 [!__ASSUME_32BITUIDS]: Remove conditional code.
36408 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
36409 <kernel-features.h>.
36410 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
36411 unconditional.
36412 (__setresuid): Do not declare.
36413 [__ASSUME_32BITUIDS]: Make code unconditional.
36414 [!__ASSUME_32BITUIDS]: Remove conditional code.
36415 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
36416 <kernel-features.h>.
36417 [__ASSUME_32BITUIDS]: Make code unconditional.
36418 [!__ASSUME_32BITUIDS]: Remove conditional code.
36419 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
36420 <kernel-features.h>.
36421 [__ASSUME_32BITUIDS]: Make code unconditional.
36422 [!__ASSUME_32BITUIDS]: Remove conditional code.
36423
a386f1cc
RH
364242012-05-25 Richard Henderson <rth@twiddle.net>
36425
36426 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
36427 dl_hwcap to ifunc resolver.
36428 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
36429 elf_ifunc_invoke.
36430 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
36431 dl_hwcap to ifunc resolver.
36432 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
36433
b6550497
JM
364342012-05-24 Joseph Myers <joseph@codesourcery.com>
36435
36436 [BZ #14153]
36437 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
36438 for |x| <= 2**-26, not 2**-57.
36439 * math/libm-test.inc (acos_test): Do not allow spurious underflow
36440 exception.
36441
b0bc23a1
JL
364422012-05-24 Jeff Law <law@redhat.com>
36443
36444 * stdio-common/Makefile (tests): Add bug25.
36445 * stdio-common/bug25.c: New test.
36446
347c92e9
L
364472012-05-24 H.J. Lu <hongjiu.lu@intel.com>
36448
36449 [BZ #13576]
36450 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
36451 multiple of MALLOC_ALIGNMENT in size.
36452 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
36453
6bcc8b3f
JM
364542012-05-24 Joseph Myers <joseph@codesourcery.com>
36455
36456 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
36457 Require >= 256.
36458 (FILENAME_MAX): Use macro-int-constant.
36459 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
36460 (_IOFBF): Use macro-int-constant.
36461 (_IOLBF): Likewise.
36462 (_IONBF): Likewise.
36463 (SEEK_CUR): Likewise.
36464 (SEEK_END): Likewise.
36465 (SEEK_SET): Likewise.
36466 (TMP_MAX): Likewise.
36467 (EOF): Use macro-int-constant. Require < 0.
36468 (NULL): Use macro-constant. Require == 0.
36469 (stdin): Require type to be FILE *.
36470 (stdout): Likewise.
36471 (stderr): Likewise.
36472 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
36473 macro-int-constant.
36474 (EXIT_SUCCESS): Likewise.
36475 (NULL): Use macro-constant. Require == 0.
36476 (RAND_MAX): Use macro-int-constant.
36477 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
36478 [C99-based standards] (strtof): Require function.
36479 [C99-based standards] (strtold): Likewise.
36480 [C99-based standards] (strtoll): Likewise.
36481 [C99-based standards] (strtoull): Likewise.
36482 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
36483 [ISO || ISO99 || ISO11] (limits.h): Likewise.
36484 [ISO || ISO99 || ISO11] (math.h): Likewise.
36485 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
36486 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
36487 [ISO || ISO99 || ISO11] (*_t): Do not allow.
36488
d18ea0c5
AS
364892012-05-24 Andreas Schwab <schwab@linux-m68k.org>
36490
36491 [BZ #14132]
56d25bb8
AS
36492 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
36493 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
36494 * intl/dgettext.c (DCGETTEXT): Likewise.
36495 * intl/gettext.c (DCGETTEXT): Likewise.
36496 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
36497 * posix/regex_internal.h (gettext): Likewise.
36498 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
36499 Remove declaration.
36500 * include/argz.h (__argz_count_internal)
36501 (__argz_stringify_internal): Remove declaration.
36502 (__argz_count, __argz_stringify): Declare hidden proto.
36503 * intl/dcgettext.c: Remove use of INTDEF.
36504 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
36505 * string/argz-stringify.c: Likewise.
36506 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
36507 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
36508 Declare hidden proto.
d18ea0c5
AS
36509 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
36510 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
36511 Declare hidden proto.
36512 * include/stdio.h (__asprintf_internal): Don't declare.
36513 (__asprintf): Don't define as macro. Declare hidden proto.
36514 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
36515 (__fsetlocking): Declare hidden proto.
36516 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
36517 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
36518 hidden proto.
36519 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
36520 (_IO_setlinebuf): Remove use of INTUSE.
36521 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
36522 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
36523 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
36524 Remove declaration.
36525 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
36526 (_IO_do_flush): Remove use of INTUSE.
36527 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
36528 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
36529 (_IO_adjust_column, _IO_least_wmarker)
36530 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
36531 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
36532 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
36533 (_IO_default_doallocate, _IO_wdefault_doallocate)
36534 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
36535 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
36536 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
36537 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
36538 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
36539 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
36540 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
36541 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
36542 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
36543 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
36544 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
36545 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
36546 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
36547 proto.
36548 (_IO_flush_all_internal, _IO_adjust_column_internal)
36549 (_IO_default_uflow_internal, _IO_default_finish_internal)
36550 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
36551 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
36552 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
36553 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
36554 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
36555 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
36556 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
36557 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
36558 (_IO_file_close_internal, _IO_file_close_it_internal)
36559 (_IO_file_underflow_internal, _IO_file_overflow_internal)
36560 (_IO_file_init_internal, _IO_file_attach_internal)
36561 (_IO_file_fopen_internal, _IO_file_read_internal)
36562 (_IO_file_sync_internal, _IO_file_seek_internal)
36563 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
36564 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
36565 (_IO_str_underflow_internal, _IO_str_overflow_internal)
36566 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
36567 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
36568 (_IO_list_all_internal, _IO_link_in_internal)
36569 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
36570 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
36571 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
36572 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
36573 (_IO_do_write_internal, _IO_padn_internal)
36574 (_IO_getline_info_internal, _IO_getline_internal)
36575 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
36576 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
36577 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
36578 (_IO_vfscanf_internal, _IO_vfprintf_internal)
36579 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
36580 (_IO_init_internal, _IO_un_link_internal): Don't declare.
36581 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
36582 with libc_hidden_ver, remove use of INTUSE.
36583 * libio/genops.c: Likewise.
36584 * libio/freopen.c: Likewise.
36585 * libio/freopen64.c: Likewise.
36586 * libio/iofclose.c: Likewise.
36587 * libio/iofdopen.c: Likewise.
36588 * libio/iofflush.c: Likewise.
36589 * libio/iofflush_u.c: Likewise.
36590 * libio/iofgets.c: Likewise.
36591 * libio/iofgets_u.c: Likewise.
36592 * libio/iofopen.c: Likewise.
36593 * libio/iofopncook.c: Likewise.
36594 * libio/iofread.c: Likewise.
36595 * libio/iofread_u.c: Likewise.
36596 * libio/ioftell.c: Likewise.
36597 * libio/iofwrite.c: Likewise.
36598 * libio/iogetline.c: Likewise.
36599 * libio/iogets.c: Likewise.
36600 * libio/iogetwline.c: Likewise.
36601 * libio/iopadn.c: Likewise.
36602 * libio/iopopen.c: Likewise.
36603 * libio/ioseekoff.c: Likewise.
36604 * libio/ioseekpos.c: Likewise.
36605 * libio/iosetbuffer.c: Likewise.
36606 * libio/iosetvbuf.c: Likewise.
36607 * libio/ioungetc.c: Likewise.
36608 * libio/ioungetwc.c: Likewise.
36609 * libio/iovdprintf.c: Likewise.
36610 * libio/iovsprintf.c: Likewise.
36611 * libio/iovsscanf.c: Likewise.
36612 * libio/memstream.c: Likewise.
36613 * libio/obprintf.c: Likewise.
36614 * libio/oldfileops.c: Likewise.
36615 * libio/oldiofclose.c: Likewise.
36616 * libio/oldiofdopen.c: Likewise.
36617 * libio/oldiofopen.c: Likewise.
36618 * libio/oldiopopen.c: Likewise.
36619 * libio/oldstdfiles.c: Likewise.
36620 * libio/putc.c: Likewise.
36621 * libio/setbuf.c: Likewise.
36622 * libio/setlinebuf.c: Likewise.
36623 * libio/stdfiles.c: Likewise.
36624 * libio/strops.c: Likewise.
36625 * libio/vasprintf.c: Likewise.
36626 * libio/vscanf.c: Likewise.
36627 * libio/vsnprintf.c: Likewise.
36628 * libio/vswprintf.c: Likewise.
36629 * libio/wfiledoalloc.c: Likewise.
36630 * libio/wfileops.c: Likewise.
36631 * libio/wgenops.c: Likewise.
36632 * libio/wmemstream.c: Likewise.
36633 * libio/wstrops.c: Likewise.
36634 * libio/__fpurge.c: Likewise.
36635 * libio/__fsetlocking.c: Likewise.
36636 * assert/assert.c: Likewise.
36637 * debug/fgets_chk.c: Likewise.
36638 * debug/fgets_u_chk.c: Likewise.
36639 * debug/fread_chk.c: Likewise.
36640 * debug/fread_u_chk.c: Likewise.
36641 * debug/gets_chk.c: Likewise.
36642 * debug/obprintf_chk.c: Likewise.
36643 * debug/vasprintf_chk.c: Likewise.
36644 * debug/vdprintf_chk.c: Likewise.
36645 * debug/vsnprintf_chk.c: Likewise.
36646 * debug/vsprintf_chk.c: Likewise.
36647 * malloc/mtrace.c: Likewise.
36648 * misc/error.c: Likewise.
36649 * misc/syslog.c: Likewise.
36650 * stdio-common/asprintf.c: Likewise.
36651 * stdio-common/fxprintf.c: Likewise.
36652 * stdio-common/getw.c: Likewise.
36653 * stdio-common/isoc99_fscanf.c: Likewise.
36654 * stdio-common/isoc99_scanf.c: Likewise.
36655 * stdio-common/isoc99_vfscanf.c: Likewise.
36656 * stdio-common/isoc99_vscanf.c: Likewise.
36657 * stdio-common/isoc99_vsscanf.c: Likewise.
36658 * stdio-common/printf-prs.c: Likewise.
36659 * stdio-common/printf_fp.c: Likewise.
36660 * stdio-common/printf_fphex.c: Likewise.
36661 * stdio-common/printf_size.c: Likewise.
36662 * stdio-common/putw.c: Likewise.
36663 * stdio-common/scanf.c: Likewise.
36664 * stdio-common/sprintf.c: Likewise.
36665 * stdio-common/tmpfile.c: Likewise.
36666 * stdio-common/vfprintf.c: Likewise.
36667 * stdio-common/vfscanf.c: Likewise.
36668 * stdlib/strfmon_l.c: Likewise.
36669 * sunrpc/openchild.c: Likewise.
36670 * sunrpc/xdr_stdio.c: Likewise.
36671 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
36672 * sysdeps/mach/hurd/tmpfile.c: Likewise.
36673
d6c33fda
RM
366742012-05-24 Roland McGrath <roland@hack.frob.com>
36675
c1487492
RM
36676 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
36677
36678 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
36679 in the third column, to generate for the shared library an IFUNC
36680 that uses _dl_vdso_vsym.
36681 * Makerules (COMPILE.c, compile-stdin.c): New variables.
36682 * Makeconfig (object-suffixes-noshared): New variable.
36683
36684 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
36685 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
36686 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
36687 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
36688
d6c33fda
RM
36689 [BZ #14132]
36690 * include/sys/time.h (__gettimeofday): Remove macro.
36691 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
36692 * time/gettimeofday.c (__gettimeofday): Remove #undef.
36693 Remove INTDEF.
36694 (__gettimeofday): Add libc_hidden_def.
36695 (gettimeofday): Add libc_hidden_weak.
36696 * sysdeps/mach/gettimeofday.c: Likewise.
36697 * sysdeps/posix/gettimeofday.c: Likewise.
36698 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
36699 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
36700 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
36701 (__gettimeofday_internal): Remove strong_alias.
36702 (__gettimeofday): Add libc_hidden_def.
36703 (gettimeofday): Add libc_hidden_weak.
36704 * sysdeps/unix/syscalls.list (gettimeofday):
36705 Remove __gettimeofday_internal alias.
36706
b5a2bbe6
L
367072012-05-24 Daniel Jacobowitz <drow@false.org>
36708 H.J. Lu <hongjiu.lu@intel.com>
36709
36710 [BZ #12495]
36711 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
36712 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
36713 (largebin_index_32_big): New.
36714 (largebin_index): Use it for 16-byte alignment.
36715 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
36716 correction with front_misalign.
36717
cfba4fda
L
367182012-05-24 H.J. Lu <hongjiu.lu@intel.com>
36719
7f907421
L
36720 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
36721 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
36722 Likewise.
36723 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
36724 Likewise.
36725 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
36726 Likewise.
36727 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
36728 Likewise.
36729 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
36730 Likewise.
36731 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
36732 Likewise.
36733 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
36734 Likewise.
36735 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
36736 Likewise.
36737 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
36738 Likewise.
36739 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
36740 Likewise.
36741 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
36742 Likewise.
36743 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
36744 Likewise.
36745
cfba4fda
L
36746 * scripts/data/c++-types-x32-linux-gnu.data: New file.
36747 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
36748
80bad0cc
JM
367492012-05-24 Joseph Myers <joseph@codesourcery.com>
36750
7a25eb06
JM
36751 [BZ #10846]
36752 [BZ #14036]
36753 * math/libm-test.inc (exp_test): Add test from bug 14036.
36754 (pow_test): Add test from bug 10846.
36755
795405f9
JM
36756 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
36757 and other flags.
36758 (special_function): Do not include flags in test name.
36759 (parse_args): Likewise.
36760 * sysdeps/i386/fpu/libm-test-ulps: Update.
36761 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
36762 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
36763 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
36764 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36765
80bad0cc
JM
36766 * math/gen-libm-test.pl (%beautify): Add entries for underflow
36767 exceptions.
36768 * math/libm-test.inc ("Philosophy"): Update comment about
36769 exception testing.
36770 (UNDERFLOW_EXCEPTION): New macro.
36771 (UNDERFLOW_EXCEPTION_OK): Likewise.
36772 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
36773 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
36774 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
36775 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
36776 (INVALID_EXCEPTION_OK): Update value.
36777 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
36778 (OVERFLOW_EXCEPTION_OK): Likewise.
36779 (IGNORE_ZERO_INF_SIGN): Likewise.
36780 (test_exceptions): Handle underflow exceptions.
36781 (acos_test): Update for underflow exception expectations.
36782 (cexp_test): Likewise.
36783 (clog_test): Likewise.
36784 (clog10_test): Likewise.
36785 (csqrt_test): Likewise.
36786 (ctan_test): Likewise.
36787 (ctanh_test): Likewise.
36788 (exp_test): Likewise.
36789 (exp10_test): Likewise.
36790 (exp2_test): Likewise.
36791 (expm1_test): Likewise.
36792 (fma_test): Likewise.
36793 (j0_test): Likewise.
36794 (jn_test): Likewise.
36795 (nexttoward_test): Likewise.
36796 (pow_test): Likewise.
36797 (scalbn_test): Likewise.
36798 (scalbln_test): Likewise.
36799 (tan_test): Likewise.
36800 (y1_test): Likewise.
36801 * sysdeps/i386/fpu/libm-test-ulps: Update.
36802 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36803
9e0e3d0b
DM
368042012-05-23 David S. Miller <davem@davemloft.net>
36805
36806 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
36807 (__libc_sigaction): Remove unused local variables.
36808
ccd0a08f
L
368092012-05-23 H.J. Lu <hongjiu.lu@intel.com>
36810
36811 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
36812
62bdf9a6
PE
368132012-05-23 Paul Eggert <eggert@cs.ucla.edu>
36814
f8591f80
PE
36815 mktime: avoid signed integer overflow
36816 * time/mktime.c (__mktime_internal): Do not mishandle the case
36817 where diff == INT_MIN.
36818
94c7d826
PE
36819 mktime: simplify computation of average
36820 * time/mktime.c (ranged_convert): Use new time_t_avg function
36821 instead of rolling our own (probably-slower) code.
36822
ce73d683
PE
36823 mktime: do not assume signed right shift propagates sign bit
36824 * time/mktime.c (isdst_differ): New static function.
36825 (__mktime_internal): No need to normalize tm_isdst now.
36826 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
36827 tm_isdst values.
36828
72a22e59
PE
36829 mktime: merge another wrapv change from gnulib
36830 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
36831 from some compilers.
36832
68605433
PE
36833 mktime: remove incorrect attempt at unusual arithmetics
36834 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
36835 The code didn't really work on such machines anyway.
36836 (TYPE_MINIMUM): Assume two's complement.
36837 (twos_complement_arithmetic): Verify that long_int and time_t
36838 are two's complement (or unsigned, in the latter case).
36839
03cf7fe3
PE
36840 mktime: check signed shifts on long_int and time_t, too
36841 * time/mktime.c (SHR): Check that shifts work as desired
36842 on the types long_int and time_t too, as SHR is used on
36843 such types.
36844
f04dfbc2
PE
36845 mktime: do not assume 'long' is wide enough
36846 * time/mktime.c (verify): Move decl up.
36847 (long_int): New type.
36848 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
36849 to remove assumption in the code that 'long' is wide enough to
36850 store year values. This assumption is not true on x32 and on
36851 some non-glibc platforms.
36852
62bdf9a6
PE
36853 mktime: merge wrapv change from gnulib
36854 * time/mktime.c (WRAPV): New macro.
36855 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
36856 (guess_time_tm, __mktime_internal): Do not assume that signed
36857 integer overflow wraps around; modern compilers generate code
36858 where this assumption is no longer valid.
36859
5e292e4f
L
368602012-05-23 H.J. Lu <hongjiu.lu@intel.com>
36861
36862 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
36863 Replace "jmp L(pseudo_end)" with "ret".
36864 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
36865 Likewise.
36866
8caf8c87
AJ
368672012-05-23 Andreas Jaeger <aj@suse.de>
36868
36869 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
36870 * sysdeps/unix/sysv/linux/poll.c: Remove file.
36871
1a09dc56
AJ
368722012-05-23 Andreas Jaeger <aj@suse.de>
36873 Maximilian Attems <max@stro.at>
36874
36875 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
36876 New macros.
36877
1c87aba0
L
368782012-05-23 H.J. Lu <hongjiu.lu@intel.com>
36879
36880 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
36881 code so that pseudo_end is just ret and the stack pointer is
36882 correct also for static library in error case.
36883
40e45bd5
JM
368842012-05-23 Joseph Myers <joseph@codesourcery.com>
36885
c2670533
JM
36886 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
36887 move to syscalls.list.
36888 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
36889 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
36890 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
36891 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
36892
40e45bd5
JM
36893 * manual/install.texi (Running make install): Do not mention Linux
36894 kernel version for which pt_chown is not needed.
36895 (Linux): Do not mention problems with nscd with 2.0 kernels.
36896 * INSTALL: Regenerated.
36897
be08eda5
AJ
368982012-05-23 Andreas Jaeger <aj@suse.de>
36899
36900 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
36901 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
36902 macro.
36903 * sysdeps/unix/sysv/linux/s390/bits/mman.h
36904 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
36905 * sysdeps/unix/sysv/linux/sh/bits/mman.h
36906 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
36907 * sysdeps/unix/sysv/linux/i386/bits/mman.h
36908 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
36909 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
36910 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
36911 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
36912 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
36913 * sysdeps/unix/sysv/linux/bits/in.h
36914 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
36915
a6a056bb
RM
369162012-05-22 Roland McGrath <roland@hack.frob.com>
36917
36918 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
36919 (PREPARE_VERSION): Just use assert instead, it will be elided
36920 under [NDEBUG] anyway.
36921
c9009328
L
369222012-05-22 H.J. Lu <hongjiu.lu@intel.com>
36923
36924 * sysdeps/unix/sysv/linux/Makefile: Include
36925 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 36926 (sysdep_routines): Remove sysctl.
c9009328
L
36927 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
36928 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
36929 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
36930 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
36931 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
36932
73338355
AJ
369332012-05-22 Andreas Jaeger <aj@suse.de>
36934
36935 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
36936 that pseudo_end is just ret and the stack pointer is correct also
36937 for static library in error case.
36938
d44638b0
PP
369392012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
36940
36941 [BZ #14122]
36942 * nss/nsswitch.c (defconfig_entries): New variable.
36943 (__nss_database_lookup): Don't leak defconfig entries.
36944 (nss_parse_service_list): Don't leak on error paths.
36945 (free_database_entries): New function.
36946 (free_defconfig): New function.
36947 (free_mem): Move common code to free_database_entries.
36948
31a39bd8
L
369492012-05-22 H.J. Lu <hongjiu.lu@intel.com>
36950
da0331a8
L
36951 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
36952 Add arch_prctl.
36953 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
36954
31a39bd8
L
36955 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
36956 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
36957 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
36958 New macro.
36959 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
36960 (INTERNAL_SYSCALL_TYPES): Likewise.
36961 (LOAD_ARGS_TYPES_[1-6]): Likewise.
36962 (LOAD_REGS_TYPES_[1-6]): Likewise.
36963 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
36964 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
36965
45470df3
AZ
369662012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36967
36968 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
36969 copysignl for GLIBC_2_0.
36970 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
36971 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
36972 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
36973 logbl for GLIBC_2_0.
36974 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
36975 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
36976
98a61bcb
L
369772012-05-22 H.J. Lu <hongjiu.lu@intel.com>
36978
a4f6e481
L
36979 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
36980 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
36981
f63d5db6
L
36982 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
36983 Use "neg %eax".
36984
98a61bcb
L
36985 * time/mktime.c: Update copyright years.
36986
95770f14
PE
369872012-05-22 Paul Eggert <eggert@cs.ucla.edu>
36988
6226efbd
PE
36989 mktime: merge comment-quoting-style change from gnulib
36990 * time/mktime.c: Quote 'like this' in comments.
36991 The GNU coding standards suggest that we no longer quote `like this',
36992 as "`" and "'" are typically rendered asymmetrically nowadays.
36993 The typical gnulib style is to quote 'like this' when quoting
36994 code, and "like this" when quoting English.
36995
b99e4f78
PE
36996 * time/mktime.c (compile-command): Add "-I.".
36997
643e01e6
PE
36998 mktime: merge mktime-internal.h change from gnulib
36999 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
37000
2554247d
PE
37001 mktime: merge time_r change from gnulib
37002 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
37003
826dd0ab
PE
37004 mktime: merge DEBUG change from gnulib
37005 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
37006 case system <time.h> has a #define.
37007
bd83aabe
PE
37008 mktime: merge <sys/types.h> change from gnulib
37009 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
37010 since <time.t> is now guaranteed to define time_t.
37011
95770f14
PE
37012 mktime: merge HAVE_CONFIG_H change from gnulib
37013 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
37014
5e1a27a9
L
370152012-05-22 H.J. Lu <hongjiu.lu@intel.com>
37016
0e44a77e
L
37017 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
37018 Use "neg %eax".
37019
5e1a27a9
L
37020 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
37021 __rlim_t cast.
37022 (struct rusage): Use anonymous union to pad each field to
37023 __syscall_slong_t.
37024
46259bec
DM
370252012-05-21 David S. Miller <davem@davemloft.net>
37026
37027 * Makefules (o-iterator): Remove .s cases.
37028 (compile-command.s): Delete.
37029 (COMPILE.s): Delete.
37030 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
37031
59f0c22e
JM
370322012-05-21 Joseph Myers <joseph@codesourcery.com>
37033
37034 * configure.in (libc_cv_predef_stack_protector): Only consider
37035 "foobar" and "__stack_chk_fail" lines in libc_undefs.
37036 * configure: Regenerated.
37037
20c07380
L
370382012-05-21 H.J. Lu <hongjiu.lu@intel.com>
37039
bbb3154b
L
37040 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
37041 New macro. Use R*LP on int and pointer.
37042 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
37043 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
37044 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
37045 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
37046
20c07380
L
37047 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
37048 [__WORDSIZE_TIME64_COMPAT32] instead of
37049 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
37050 (struct utmp): Likewise.
37051 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
37052 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
37053 Renamed to ...
37054 (__WORDSIZE_TIME64_COMPAT32): This.
37055 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
37056 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
37057 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
37058 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
37059 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
37060 (__WORDSIZE_TIME64_COMPAT32): New macro.
37061
d8d1017e
AJ
370622012-05-21 Andreas Jaeger <aj@suse.de>
37063
37064 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
37065 only if [SHARED]. Add prototype for __wcschr_ia32.
37066
6c7fb145
RM
370672012-05-21 Roland McGrath <roland@hack.frob.com>
37068
37069 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
37070 of %rbp unmolested in the jmp_buf while mangling the low bits.
37071 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
37072 unmolested high bits of %rbp while demangling the low bits.
37073 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
37074
66274218
AJ
370752012-05-21 Andreas Jaeger <aj@suse.de>
37076
07c58f8f
AJ
37077 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
37078 * sunrpc/svc_simple.c: Use it for registerrpc.
37079 * sunrpc/xcrypt.c: Use it for passwd2des.
37080
66274218
AJ
37081 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
37082
61f65140
L
370832012-05-21 H.J. Lu <hongjiu.lu@intel.com>
37084
37085 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
37086 Don't define if [__SYSCALL_WORDSIZE != 32].
37087 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
37088 New macro.
37089
5fefb436
AJ
370902012-05-21 Bruno Haible <bruno@clisp.org>
37091 Andreas Jaeger <aj@suse.de>
37092
37093 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
37094 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
37095 inptr and inend for must_buffer_ch.
37096 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
37097 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
37098 * stdio-common/Makefile (tests): Remove bug15.
37099 (bug15-ENV): Remove macro.
37100 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
37101 anymore.
37102
d8e272ab
AJ
371032012-05-19 Andreas Jaeger <aj@suse.de>
37104 Roland McGrath <roland@hack.frob.com>
37105
37106 * manual/contrib.texi: Completely rewritten. It contains now an
37107 alphabetical list of contributors and their contributions.
37108
4a56a162
RH
371092012-05-21 Richard Henderson <rth@twiddle.net>
37110
37111 * misc/getauxval.c (__getauxval): Use unsigned long int.
37112 * misc/sys/auxv.h: Include <sys/cdefs.h>.
37113 (getauxval): Use unsigned long int.
37114
d024d23c
L
371152012-05-21 H.J. Lu <hongjiu.lu@intel.com>
37116
37117 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
37118
cbc00a03
RM
371192012-05-21 Roland McGrath <roland@hack.frob.com>
37120
37121 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
37122 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
37123 __alignof__ (long double).
37124
478143fa
AZ
371252012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37126
37127 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37128
c7683a6d
RH
371292012-05-20 Richard Henderson <rth@twiddle.net>
37130
37131 * misc/getauxval.c: New file.
37132 * misc/sys/auxv.h: New file.
37133 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
37134 (routines): Add getauxval.
37135 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
37136 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
37137 * elf/dl-sysdep.c (_dl_auxv): Remove.
37138 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
37139 * elf/dl-support.c (_dl_auxv): New variable.
37140 (_dl_aux_init): Initialize it.
37141 * manual/startup.texi (Auxiliary Vector): New node.
37142 * sysdeps/generic/bits/hwcap.h: New file.
37143 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
37144 * sysdeps/powerpc/sysdep.h: ... here. Include it.
37145 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
37146 * sysdeps/sparc/sysdep.h: ... here. Include it.
37147 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
37148 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
37149 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
37150 Update.
c7683a6d
RH
37151 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
37152 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
37153 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
37154 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
37155 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
37156 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
37157 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
37158 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
37159
a6f1845d
AZ
371602012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37161
37162 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37163
cbcbe830
DM
371642012-05-19 David S. Miller <davem@davemloft.net>
37165
37166 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37167
e0b16cc2
JM
371682012-05-19 Joseph Myers <joseph@codesourcery.com>
37169
37170 [BZ #14123]
37171 * math/s_ccosh.c: Include <float.h>
37172 (__ccosh): Avoid internal overflow calculating sinh and cosh
37173 values before multiplying by sin and cos values.
37174 * math/s_ccoshf.c: Likewise.
37175 * math/s_ccoshl.c: Likewise.
37176 * math/s_csin.c: Likewise.
37177 * math/s_csinf.c: Likewise.
37178 * math/s_csinl.c: Likewise.
37179 * math/s_csinh.c: Likewise.
37180 * math/s_csinhf.c: Likewise.
37181 * math/s_csinhl.c: Likewise.
37182 * math/libm-test.inc (ccos_test): Add more tests.
37183 (ccosh_test): Likewise.
37184 (csin_test): Likewise.
37185 (csinh_test): Likewise.
37186 * sysdeps/i386/fpu/libm-test-ulps: Update.
37187 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37188
6ad13e08
L
371892012-05-19 H.J. Lu <hongjiu.lu@intel.com>
37190
f66f0ce8
L
37191 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
37192 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
37193
6ad13e08
L
37194 * sysdeps/x86_64/x32/_itoa.h: Add comment.
37195
b1d072a7
JM
371962012-05-19 Joseph Myers <joseph@codesourcery.com>
37197
37198 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
37199 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
37200 * sysdeps/powerpc/soft-fp/Versions: Likewise.
37201 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
37202 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
37203 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
37204 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
37205 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
37206 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
37207 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
37208 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
37209 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
37210 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
37211 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
37212 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
37213 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
37214 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
37215 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
37216 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
37217 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
37218 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
37219 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
37220 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
37221 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
37222 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
37223 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
37224 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
37225 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
37226 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
37227 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
37228 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
37229
9eae47cb
AJ
372302012-05-18 Andreas Jaeger <aj@suse.de>
37231
37232 * csu/.gitignore: Delete.
37233
bb07f69f
L
372342012-05-18 H.J. Lu <hongjiu.lu@intel.com>
37235
37236 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
37237 (timex): Use __syscall_slong_t.
37238
e6bdb741
AJ
372392012-05-18 Andreas Jaeger <aj@suse.de>
37240 Carlos O'Donell <carlos_odonell@mentor.com>
37241
37242 * manual/install.texi (Configuring and compiling): Update
37243 description about files modified in the source directory.
d6c33fda 37244 * INSTALL: Regenerated.
e6bdb741 37245
1b74487e
L
372462012-05-18 H.J. Lu <hongjiu.lu@intel.com>
37247
37248 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
37249 value. Use "or" to set return value to -1.
37250 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
37251 negate return value.
37252
a88b64b9
TMQMF
372532012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
37254
57f41c40
AS
37255 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
37256 (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
a88b64b9
TMQMF
37257 failure if the compiler has Graphite support disabled.
37258 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
37259 Likewise.
57f41c40
AS
37260 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
37261 (CFLAGS-memmove.c): Likewise.
a88b64b9
TMQMF
37262 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
37263 Likewise.
37264
3707636e
L
372652012-05-18 H.J. Lu <hongjiu.lu@intel.com>
37266
610b8622
L
37267 * sysdeps/x86_64/x32/_itoa.h: New file.
37268
7cd195df
L
37269 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
37270 getdents system call only if kernel and user dirents have the
37271 same d_ino and d_off.
37272
94b07d20
L
37273 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
37274 LLONG_MAX != LONG_MAX.
37275 (_itoa_word): Use _ITOA_WORD_TYPE on value.
37276 (_fitoa_word): Likewise.
37277
18298070
L
37278 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
37279 years.
37280 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
37281 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
37282 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
37283
553c7ea4
L
37284 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
37285 include <bits/wordsize.h>. Check __x86_64__ instead of
37286 __WORDSIZE.
37287 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
37288 if __x86_64__ is defined. Use anonymous union on fpstate.
37289
3707636e
L
37290 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
37291 anonymous union.
37292
b53ef01a
AS
372932012-05-18 Andreas Schwab <schwab@linux-m68k.org>
37294
37fb1dc0
AS
37295 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
37296 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
37297 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
37298 Refer to _rtld_local_ro instead of _rtld_global_ro.
37299 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
37300 Likewise.
37301 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
37302 Likewise.
37303 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
37304 Likewise.
37305 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
37306 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
37307 of _rtld_global, and rtld_progname instead of _dl_argv[0].
37308
b53ef01a
AS
37309 * sysdeps/powerpc/powerpc32/dl-machine.c
37310 (__elf_machine_runtime_setup) [PROF]: Don't reference
37311 _dl_prof_resolve.
37312
7a185db2
AJ
373132012-05-18 Andreas Jaeger <aj@suse.de>
37314
37315 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
37316 function only available for GCCs before 3.4 since GCC 3.4
37317 introduced a builtin.
37318 (lrint): Likewise.
37319 (llrintf): Likewise.
37320 (llrint): Likewise.
37321 (fmaxf): Likewise.
37322 (fmax): Likewise.
37323 (fminf): Likewise.
37324 (fmin): Likewise.
37325 (rint): Likewise.
37326 (rintf): Likewise.
37327 (nearbyint): Likewise.
37328 (nearbyintf): Likewise.
37329 (ceil): Likewise.
37330 (ceilf): Likewise.
37331 (floor): Likewise.
37332 (floorf): Likewise.
37333
3e5aef87
L
373342012-05-17 H.J. Lu <hongjiu.lu@intel.com>
37335
428bd707
L
37336 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
37337 on both fields and cast pointer to __syscall_ulong_t.
37338
3e5aef87
L
37339 * bits/types.h (__fsword_t): New type.
37340 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
37341 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
37342 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
37343 (__FSWORD_T_TYPE): Likewise.
37344 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
37345 (__FSWORD_T_TYPE): Likewise.
37346 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
37347 (__FSWORD_T_TYPE): Likewise.
37348 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
37349 (__FSWORD_T_TYPE): Likewise.
37350 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
37351 __SWORD_TYPE with __fsword_t.
37352 (statfs64): Likewise.
37353
1ba7c3dc
DM
373542012-05-17 David S. Miller <davem@davemloft.net>
37355
37356 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
37357
59910343
AJ
373582012-05-17 Andreas Jaeger <aj@suse.de>
37359
37360 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
37361 warning.
37362
2e4c1e9e
L
373632012-05-17 H.J. Lu <hongjiu.lu@intel.com>
37364
37365 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
37366
de7f5ce7
AJ
373672012-05-17 Andreas Jaeger <aj@suse.de>
37368
37369 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
37370 when it is used.
37371
286abc3d
CM
373722012-05-17 Chris Metcalf <cmetcalf@tilera.com>
37373
37374 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
37375
477cc68e
L
373762012-05-17 H.J. Lu <hongjiu.lu@intel.com>
37377
37378 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
37379 * sysdeps/x86_64/tst-mallocalign1.c: New file.
37380
1a0994f5
CD
373812012-05-17 Andreas Jaeger <aj@suse.de>
37382 Carlos O'Donell <carlos_odonell@mentor.com>
37383
37384 [BZ #14059]
37385 * sysdeps/x86_64/multiarch/init-arch.h
37386 (bit_YMM_Usable): Rename to...
37387 (bit_AVX_Usable): ... this.
37388 (bit_FMA4_Usable): New macro.
37389 (bit_XMM_state): New macro.
37390 (bit_YMM_state): New macro.
37391 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
37392 [__ASSEMBLER__] (index_AVX_Usable): ... this.
37393 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
37394 (CPUID_OSXSAVE): New macro.
37395 (CPUID_AVX): New macro.
37396 (CPUID_FMA4): New macro.
37397 (index_YMM_Usable): Rename to...
37398 (index_AVX_Usable): ... this.
37399 (HAS_AVX): Use HAS_ARCH_FEATURE.
37400 (HAS_FMA4): Likewise.
37401 (HAS_YMM_USABLE): Remove.
37402 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
37403 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
37404 are present.
37405 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
37406 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
37407 * sysdeps/x86_64/multiarch/Makefile: Likewise.
37408 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
37409 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
37410
0af797de
CM
374112012-05-17 Chris Metcalf <cmetcalf@tilera.com>
37412
37413 * math/libm-test.c: Support platforms without multiple rounding modes.
37414 * math/bug-nextafter.c: Support platforms without FP exceptions.
37415 * math/bug-nexttoward.c: Likewise.
37416 * math/test-fenv.c: Likewise.
37417 * math/test-misc.c: Likewise.
37418 * stdlib/bug-getcontext.c: Likewise.
37419
e39745ff
AJ
374202012-05-17 Andreas Jaeger <aj@suse.de>
37421
37422 * manual/examples/search.c (critter_cmp): Change signature to
37423 avoid warnings.
37424 * manual/string.texi (Collation Functions): Likewise.
37425
48970aba
L
374262012-05-16 H.J. Lu <hongjiu.lu@intel.com>
37427
37428 * bits/types.h: Fold copyright years.
37429 * bits/typesizes.h: Likewise.
37430 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
37431 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
37432 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
37433 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
37434 * time/time.h: Likewise.
37435
bedee953
PP
374362012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
37437
37438 [BZ #208]
37439 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
37440 in instead of returning them. Return void.
37441 (__libc_mallinfo): Accumulate over all arenas.
37442 (__malloc_stats): Adjust for change in int_mallinfo interface.
37443
61653dfb
RM
374442012-05-16 Roland McGrath <roland@hack.frob.com>
37445
30b99d79
RM
37446 [BZ #10375]
37447 * configure.in (NM): Add AC_CHECK_TOOL for it.
37448 (libc_extra_cflags): New substituted variable.
37449 Check for -fstack-protector being used implicitly.
37450 * configure: Regenerated.
37451 * config.make.in (config-extra-cflags): New variable,
37452 gets @libc_extra_cflags@.
37453 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
37454
61653dfb
RM
37455 [BZ #10375]
37456 * configure.in: Check for _FORTIFY_SOURCE being predefined.
37457 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
37458 * configure: Regenerated.
37459 * config.make.in (CPPUNDEFS): New substituted variable.
37460 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
37461 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
37462 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
37463
661768bb
L
374642012-05-16 H.J. Lu <hongjiu.lu@intel.com>
37465
37466 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
37467 (mq_attr): Use __syscall_slong_t.
37468
d4261567
L
374692012-05-16 H.J. Lu <hongjiu.lu@intel.com>
37470
37471 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
37472 Check __x86_64__ instead of __WORDSIZE.
37473 (_STAT_VER_LINUX): Likewise.
37474 (stat): Check __x86_64__ instead of __WORDSIZE. Use
37475 __syscall_ulong_t and __syscall_slong_t.
37476 (stat64): Likewise.
37477
cf3ff365
L
374782012-05-16 H.J. Lu <hongjiu.lu@intel.com>
37479
37480 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
37481
76cf3e4d
L
374822012-05-16 H.J. Lu <hongjiu.lu@intel.com>
37483
37484 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
37485
a637753a
L
374862012-05-16 H.J. Lu <hongjiu.lu@intel.com>
37487
37488 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
37489 __syscall_ulong_t.
37490
d5e05119
L
37491 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
37492 include <bits/wordsize.h>. Check __x86_64__ instead of
37493 __WORDSIZE.
37494 (greg_t): Use "__extension__ long long int" if __x86_64__ is
37495 defined.
37496 (mcontext_t): Replace "unsigned long" with "unsigned long long".
37497
f62ee380
L
37498 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
37499 include <bits/wordsize.h>. Check __x86_64__ instead of
37500 __WORDSIZE.
37501 (user_regs_struct): Use "__extension__ unsigned long long"
37502 instead of "unsigned long" if __x86_64__ is defined.
37503 (user): Likewise. Pad after pointer field if __ILP32__ is
37504 defined.
37505
4e124ced
JM
375062012-05-16 Joseph Myers <joseph@codesourcery.com>
37507
6a3951a0
JM
37508 * configure.in (makeinfo): Require version 4.5 or later. Allow
37509 versions 5 to 9.
37510 * configure: Regenerated.
37511 * manual/install.texi (texinfo): Increase version requirement to
37512 4.5 or later.
37513 * INSTALL: Regenerated.
37514
4e124ced
JM
37515 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
37516
953ca31a
L
375172012-05-16 H.J. Lu <hongjiu.lu@intel.com>
37518
37519 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
37520
617aca05
L
37521 * sysdeps/x86_64/x32/ffs.c: New file.
37522
5762f7ae
L
37523 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
37524 __syscall_ulong_t.
37525 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
37526 defined. Use __syscall_ulong_t.
37527 (shminfo): Use __syscall_ulong_t.
37528 (shm_info): Likewise.
37529
a26b6856
L
37530 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
37531 __syscall_ulong_t.
37532
cb2b9ef7
L
37533 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
37534 <bits/wordsize.h>.
37535 (msgqnum_t): Use __syscall_ulong_t.
37536 (msglen_t): Likewise.
37537 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
37538 __syscall_ulong_t.
37539
34683bb0
L
37540 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
37541 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
37542
84a68786
L
37543 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
37544
48baa5f1
L
37545 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
37546 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
37547
180be88b
L
37548 * sysvipc/sys/msg.h (msgbuf): Replace long int with
37549 __syscall_slong_t.
37550
5e90c8ad
L
37551 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
37552 include <bits/wordsize.h>. Check __x86_64__ instead of
37553 __WORDSIZE.
37554
23dfb58b
L
37555 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
37556 "unsigned long long int" if __x86_64__ is defined.
37557 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
37558
ce5d54b0
L
37559 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
37560 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
37561 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
37562
13dc9eac
L
37563 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
37564 <stdint.h>.
37565 (GET_PC): Cast to uintptr_t first.
37566 (GET_FRAME): Likewise.
37567 (GET_STACK): Likewise.
37568
a7895d15
L
37569 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
37570 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
37571 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
37572 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
37573 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
37574 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
37575 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
37576 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
37577 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
37578 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
37579 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
37580 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
37581 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
37582 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
37583 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
37584 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
37585 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
37586 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
37587 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
37588 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
37589 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
37590 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
37591 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
37592 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
37593 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
37594 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
37595 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
37596 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
37597 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
37598
656416c9
AS
375992012-05-16 Andreas Schwab <schwab@linux-m68k.org>
37600
5bd66283
AS
37601 * Makerules (+depfiles): Also collect depfiles from .oS in
37602 $(extra-objs).
37603 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
37604 .oS, $(libnldbl-routines)).
37605
656416c9
AS
37606 * Makerules (native-compile-mkdep-flags): Define.
37607 * sunrpc/Makefile (extra-objs): Add $(addprefix
37608 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
37609 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
37610 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
37611 calling $(make-target-directory).
37612
a46f2169
L
376132012-05-15 H.J. Lu <hongjiu.lu@intel.com>
37614
37615 * bits/types.h (__snseconds_t): Removed.
37616 * time/time.h (struct timespec): Replace __snseconds_t with
37617 __syscall_slong_t.
37618 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
37619 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
37620 Likewise.
37621 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
37622 (__SNSECONDS_T_TYPE): Likewise.
37623 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
37624 (__SNSECONDS_T_TYPE): Likewise.
37625 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
37626 (__SNSECONDS_T_TYPE): Likewise.
37627
6af6528b
L
376282012-05-15 H.J. Lu <hongjiu.lu@intel.com>
37629
37630 * sysdeps/mach/hurd/bits/typesizes.h
37631 (__SYSCALL_SLONG_TYPE): New macro.
37632 (__SYSCALL_ULONG_TYPE): Likewise.
37633
de986b56
L
376342012-05-15 H.J. Lu <hongjiu.lu@intel.com>
37635
37636 * bits/types.h (__syscall_slong_t): New type.
37637 (__syscall_ulong_t): Likewise.
37638
37639 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
37640 (__SYSCALL_ULONG_TYPE): Likewise.
37641 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
37642 (__SYSCALL_SLONG_TYPE): Likewise.
37643 (__SYSCALL_ULONG_TYPE): Likewise.
37644 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
37645 (__SYSCALL_SLONG_TYPE): Likewise.
37646 (__SYSCALL_ULONG_TYPE): Likewise.
37647 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
37648 (__SYSCALL_SLONG_TYPE): Likewise.
37649 (__SYSCALL_ULONG_TYPE): Likewise.
37650
85736dc7
L
376512012-05-15 H.J. Lu <hongjiu.lu@intel.com>
37652
37653 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
37654 Add sigaltstack-offsets.sym.
37655 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
37656 <sigaltstack-offsets.h>.
37657 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
37658 longjmp_msg pointer.
37659 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
37660 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
37661 signal stack.
37662 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
37663
cc03b296
JM
376642012-05-15 Joseph Myers <joseph@codesourcery.com>
37665
a9538892
JM
37666 * elf/stackguard-macros.h: Remove file.
37667 * sysdeps/generic/stackguard-macros.h: New file.
37668 * sysdeps/i386/stackguard-macros.h: Likewise.
37669 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
37670 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
37671 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
37672 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
37673 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
37674 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
37675 * sysdeps/x86_64/stackguard-macros.h: Likewise.
37676 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
37677 <elf/stackguard-macros.h>.
37678
cc03b296
JM
37679 [BZ #14109]
37680 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
37681 __aligned__ in attribute.
37682 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
37683 (gregset_t): Likewise.
37684
93171016
L
376852012-05-15 H.J. Lu <hongjiu.lu@intel.com>
37686
37687 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
37688 * sysdeps/x86_64/64/Implies-after: Here. New file.
37689 * sysdeps/x86_64/x32/Implies-after: New file.
37690
d86813a0
L
376912012-05-15 H.J. Lu <hongjiu.lu@intel.com>
37692
37693 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
37694 and access return value for _dl_profile_fixup. Use R10_LP to
37695 load frame size.
37696
2953ec75
L
376972012-05-15 H.J. Lu <hongjiu.lu@intel.com>
37698
37699 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
37700
3b550e9e
L
377012012-05-15 H.J. Lu <hongjiu.lu@intel.com>
37702
37703 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
37704 * sysdeps/x86_64/x32/sysdep.h: New file.
37705
eda41706
L
377062012-05-15 H.J. Lu <hongjiu.lu@intel.com>
37707
37708 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
37709 * sysdeps/x86_64/setjmp.S: Likewise.
37710
9ea01d93
AZ
377112012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37712
37713 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
37714 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
37715 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
37716 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
37717 remove unused global constant.
37718
02a91938
CM
377192012-05-15 Chris Metcalf <cmetcalf@tilera.com>
37720
37721 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
37722 include of <not-cancel.h>.
37723
6540185f
RM
377242012-05-15 Roland McGrath <roland@hack.frob.com>
37725
37726 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
37727
509072a0
AJ
377282012-05-15 Jeff Law <law@redhat.com>
37729 Andreas Jaeger <aj@suse.de>
37730
37731 [BZ #13594]
37732 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
37733 out from...
37734 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
37735 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
37736 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
37737 code changing __hst_map_handle.map.
37738
ba75122d
RM
377392012-05-15 Roland McGrath <roland@hack.frob.com>
37740
37741 * configure.in (sysnames): Look for Implies-before and Implies-after
37742 files.
37743 * configure: Regenerated.
37744
890d8bd8
L
377452012-05-15 H.J. Lu <hongjiu.lu@intel.com>
37746
37747 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
37748 8-byte data alignment with LP_SIZE alignment.
37749
f6ee6623
L
377502012-05-15 H.J. Lu <hongjiu.lu@intel.com>
37751
37752 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
37753 into R10_LP.
37754
ea2626f6
L
377552012-05-15 H.J. Lu <hongjiu.lu@intel.com>
37756
37757 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
37758
085f715e
L
377592012-05-15 H.J. Lu <hongjiu.lu@intel.com>
37760
37761 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
37762 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
37763 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
37764 Likewise.
37765 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
37766
be8498fc
L
377672012-05-15 H.J. Lu <hongjiu.lu@intel.com>
37768
37769 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
37770 (stackinfo_sub_sp): Likewise.
37771
70bc83b9
L
377722012-05-15 H.J. Lu <hongjiu.lu@intel.com>
37773
37774 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
37775 RAX_LP.
37776
9bc0b730
L
377772012-05-15 H.J. Lu <hongjiu.lu@intel.com>
37778
37779 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
37780 into R*_LP.
37781
6d2850e7
L
377822012-05-15 H.J. Lu <hongjiu.lu@intel.com>
37783
37784 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
37785 sizes into R*_LP.
37786
3cb84561
L
377872012-05-15 H.J. Lu <hongjiu.lu@intel.com>
37788
37789 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
37790
54e2ed81
L
377912012-05-15 H.J. Lu <hongjiu.lu@intel.com>
37792
37793 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
37794 into R11_LP and load __x86_64_shared_cache_size_half into
37795 R8_LP.
37796
8a17f349
L
377972012-05-15 H.J. Lu <hongjiu.lu@intel.com>
37798
37799 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
37800 R8_LP.
37801
777b1eea
AZ
378022012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37803
37804 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
37805 logb for POWER7.
37806 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
37807 logbf for POWER7.
37808 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
37809 logbl for POWER7.
37810 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
37811 powerpc32/power7/fpu/s_logb.c via #include.
37812 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
37813 powerpc32/power7/fpu/s_logbf.c via #include.
37814 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
37815 powerpc32/power7/fpu/s_logbl.c via #include.
37816
d20d4ac2
JM
378172012-05-15 Joseph Myers <joseph@codesourcery.com>
37818
37819 * README.libm: Remove file.
37820
6cdef1ab
L
378212012-05-14 H.J. Lu <hongjiu.lu@intel.com>
37822
37823 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
37824 count for x32. Use R*_LP and omit operand-size suffix.
37825
0b254d8f
L
378262012-05-14 H.J. Lu <hongjiu.lu@intel.com>
37827
37828 * shlib-versions: Move x86_64-.*-linux.* entries to ...
37829 * sysdeps/x86_64/64/shlib-versions: Here. New file.
37830 * sysdeps/x86_64/x32/shlib-versions: New file.
37831
ceb809dc
RM
378322012-05-14 Roland McGrath <roland@hack.frob.com>
37833
37834 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
37835 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
37836 Use _dl_fatal_printf instead.
37837
37f1abd4
JM
378382012-05-14 Joseph Myers <joseph@codesourcery.com>
37839
37840 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
37841 set if not set by the user. Do not allow for being unset.
37842 * sysdeps/unix/sysv/linux/configure: Regenerated.
37843
11de3a33
L
378442012-05-14 H.J. Lu <hongjiu.lu@intel.com>
37845
37846 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
37847 the `q' suffix from lea and replace .quad with ASM_ADDR.
37848
e02f153a
L
378492012-05-14 H.J. Lu <hongjiu.lu@intel.com>
37850
37851 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
37852 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
37853 instead of $17.
37854 (PTR_DEMANGLE): Likewise.
37855
520ae0fd
L
378562012-05-14 H.J. Lu <hongjiu.lu@intel.com>
37857
37858 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
37859 (LP_OP): Likewise.
37860 (ASM_ADDR): Likewise.
37861 (RAX_LP): Likewise.
37862 (RBP_LP): Likewise.
37863 (RBX_LP): Likewise.
37864 (RCX_LP): Likewise.
37865 (RDI_LP): Likewise.
37866 (RSI_LP): Likewise.
37867 (RSP_LP): Likewise.
37868 (R8_LP): Likewise.
37869 (R9_LP): Likewise.
37870 (R10_LP): Likewise.
37871 (R10_LP): Likewise.
37872 (R11_LP): Likewise.
37873 (R12_LP): Likewise.
37874 (R13_LP): Likewise.
37875 (R14_LP): Likewise.
37876 (R15_LP): Likewise.
37877
b985be81
L
378782012-05-14 H.J. Lu <hongjiu.lu@intel.com>
37879
37880 * sysdeps/x86_64/x32/dl-machine.h: New file.
37881
6a4888ff
AJ
378822012-05-14 Andreas Jaeger <aj@suse.de>
37883
37884 * manual/Makefile (subdir): Remove export of subdir.
37885 (all): Remove target.
37886 (.PHONY): Remove all from list.
37887 (mkinstalldirs): Remove.
37888 (.PHONY): Remove installdirs from list.
37889 ($(inst_infodir)/libc.info): Use make-target-directory.
37890 (installdirs): Remove.
37891 (subdir_%): Remove.
37892 (glibc-targets): Remove.
37893 (lib): Remove.
37894 (stubs): Remove.
37895 ($(objpfx)stubs ../po/manual.pot): Remove.
37896 ($(objpfx)stamp%): Remove.
37897 (make-target-directory): Remove.
37898 (subdir_install): Remove.
37899 (routines): Remove.
37900 (aux): Remove.
37901 (sources): Remove.
37902 (objects): Remove.
37903 (headers): Remove.
37904
37905 [BZ #13750]
37906 * manual/.gitignore: Remove, it's not needed anymore.
37907 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
37908 all files in it.
37909 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
37910 directory.
37911 (texis): Renamed to $(objpfx)texis.
37912 (texis-path): New, contains path to generated files.
37913 (chapters.%): Use texis-path for complete path, add extra argument
37914 libc-texinfo.sh.
37915 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
37916 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
37917 (summary,texi, stamp-summary): Use complete path of
37918 files. Generate files in build dir.
37919 (dir-add.texi): Build in build dir.
37920 (libm-err.texi,stamp-libm-err): Likewise.
37921 (version.texi, stamp-version): Likewise.
37922 (.%c.texi): Likewise.
37923 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
37924 (mostlyclean): Remove target.
37925 (realclean): Remove target.
37926 (generated): Add new variable with contents from mostlyclean and
37927 realclean, remove entries duplicated in common-mostlyclean, add
37928 stamp-libm-err and stamp-version.
37929 (generated-dirs): Add libc directory.
37930 ($(inst_infodir)/libc.info): Install files from build dir.
37931
37932 * manual/install.texi (Configuring and compiling): Adjust since
37933 the info files are not part of the tar ball anymore.
37934
7ac77294
AJ
379352012-05-14 Andreas Jaeger <aj@suse.de>
37936
37937 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
37938 variable.
37939
ffb7875d
JM
379402012-05-14 Joseph Myers <joseph@codesourcery.com>
37941
37942 [BZ #13717]
37943 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
37944 to 2.2.0 where earlier.
37945 * sysdeps/unix/sysv/linux/configure: Regenerated.
37946 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
37947 Remove conditional code.
37948 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
37949 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
37950 Remove conditional code.
37951 [!__NR_lchown]: Likewise.
37952 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
37953 [__NR_lchown]: Likewise.
37954 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
37955 comment referencing __ASSUME_LCHOWN_SYSCALL.
37956 * sysdeps/unix/sysv/linux/i386/sigaction.c
37957 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
37958 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
37959 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
37960 Remove conditional code.
37961 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
37962 (__protocol_available): Remove #if 0 code.
37963 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
37964 conditional code.
37965 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
37966 * sysdeps/unix/sysv/linux/kernel-features.h
37967 (__ASSUME_GETCWD_SYSCALL): Don't define.
37968 (__ASSUME_REALTIME_SIGNALS): Likewise.
37969 (__ASSUME_PREAD_SYSCALL): Likewise.
37970 (__ASSUME_PWRITE_SYSCALL): Likewise.
37971 (__ASSUME_POLL_SYSCALL): Likewise.
37972 (__ASSUME_LCHOWN_SYSCALL): Likewise.
37973 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
37974 non-SPARC.
37975 (__ASSUME_SIOCGIFNAME): Don't define.
37976 (__ASSUME_MSG_NOSIGNAL): Likewise.
37977 (__ASSUME_SENDFILE): Define unconditionally.
37978 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
37979 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
37980 conditional code.
37981 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
37982 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
37983 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
37984 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
37985 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
37986 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
37987 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
37988 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
37989 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
37990 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
37991 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
37992 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
37993 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
37994 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
37995 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
37996 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
37997 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
37998 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
37999 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
38000 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
38001 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
38002 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
38003 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
38004 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
38005 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
38006 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
38007 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
38008 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
38009 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
38010 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
38011 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
38012 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
38013 Remove conditional code.
38014 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
38015 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
38016 Remove conditional code.
38017 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
38018 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
38019 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
38020 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
38021 Remove conditional code.
38022 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
38023 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
38024 Remove conditional code.
38025 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
38026 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
38027 Remove conditional code.
38028 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
38029 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
38030 Remove conditional code.
38031 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
38032 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
38033 Remove conditional code.
38034 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
38035 * sysdeps/unix/sysv/linux/sh/pwrite64.c
38036 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
38037 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
38038 * sysdeps/unix/sysv/linux/sigaction.c
38039 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
38040 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
38041 * sysdeps/unix/sysv/linux/sigpending.c
38042 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
38043 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
38044 * sysdeps/unix/sysv/linux/sigprocmask.c
38045 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
38046 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
38047 * sysdeps/unix/sysv/linux/sigsuspend.c
38048 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
38049 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
38050 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
38051 (__libc_missing_rt_sigs): Remove.
38052 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
38053 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
38054 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
38055 Remove conditional code.
38056 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
38057 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
38058 return 1.
38059 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
38060 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
38061 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
38062 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
38063
1bfb7291
AJ
380642012-05-14 Andreas Jaeger <aj@suse.de>
38065
caae5a81
AJ
38066 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
38067 it's not used in glibc.
38068 (__coshm1): Likewise.
38069 (__acosh1p): Likewise.
38070 (__sgn): Likewise.
38071
1bfb7291
AJ
38072 * manual/string.texi (Copying and Concatenation): Add missing
38073 variable in concat example.
38074 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
38075
c044d724
L
380762012-05-14 H.J. Lu <hongjiu.lu@intel.com>
38077
144c5467 38078 [BZ #14103]
c044d724
L
38079 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
38080 __builtin_clzl with __builtin_clzll.
38081
2523c62b
L
380822012-05-14 H.J. Lu <hongjiu.lu@intel.com>
38083
38084 [BZ #14104]
38085 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
38086 libc_freeres_ptr.
38087
d7bb4c42
LD
380882012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38089
38090 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
38091 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
38092 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
38093 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
38094
9dc4e1fb
MF
380952012-05-14 Mike Frysinger <vapier@gentoo.org>
38096
38097 * NEWS: Update ia64 info.
38098
c7df0112
AS
380992012-05-12 Andreas Schwab <schwab@linux-m68k.org>
38100
38101 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
38102 used as bcopy.
38103
dc70356c
TS
381042012-05-12 Thomas Schwinge <thomas@codesourcery.com>
38105
38106 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
38107 * sysdeps/unix/syscalls.list (dup3): Likewise.
38108 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
38109 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
38110
9fb1a21f
L
381112012-05-11 H.J. Lu <hongjiu.lu@intel.com>
38112
38113 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
38114 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
38115
4822a2a5
L
381162012-05-11 H.J. Lu <hongjiu.lu@intel.com>
38117
38118 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
38119 thread pointer.
38120 (TLS_IE): Use mov/add instead of movq/addq to load thread
38121 pointer.
38122 (TLS_GD_PREFIX): New.
38123 (TLS_GD): Use it.
38124
842b81d6
DM
381252012-05-11 David S. Miller <davem@davemloft.net>
38126
38127 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
38128 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
38129 (_FPU_SETCW): Likewise.
38130
1cf463cd
L
381312012-05-10 H.J. Lu <hongjiu.lu@intel.com>
38132
38133 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
38134 is 32-byte aligned.
38135
60cc4a18
AS
381362012-05-11 Andreas Schwab <schwab@linux-m68k.org>
38137
38138 [BZ #11837]
38139 * iconvdata/gb18030.c: Update tables.
38140 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
38141 characters specially.
38142 (BODY for TO_LOOP): Add encoding of missing ranges.
38143
febb44a4
TS
381442012-05-11 Thomas Schwinge <thomas@codesourcery.com>
38145
38146 [BZ #13673]
38147 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
38148 * sysdeps/mach/hurd/dup3.c: Likewise.
38149 * sysdeps/mach/hurd/readlinkat.c: Likewise.
38150 * sysdeps/powerpc/memmove.c:: Likewise.
38151
0a10fb9e
L
381522012-05-10 H.J. Lu <hongjiu.lu@intel.com>
38153
38154 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
38155 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
38156
df8a552f
L
381572012-05-10 H.J. Lu <hongjiu.lu@intel.com>
38158
38159 * elf/elf.h (R_X86_64_RELATIVE64): New.
38160 (R_X86_64_NUM): Updated.
38161 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
38162 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
38163 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
38164 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
38165 tst-quad1pie tst-quad2pie
38166 (modules-names): Add tst-quadmod1 tst-quadmod2.
38167 ($(objpfx)tst-quad1): New dependency.
38168 ($(objpfx)tst-quad2): Likewise.
38169 ($(objpfx)tst-quad1pie): Likewise.
38170 ($(objpfx)tst-quad2pie): Likewise.
38171 * sysdeps/x86_64/tst-quad1.c: New file.
38172 * sysdeps/x86_64/tst-quad1pie.c: New file.
38173 * sysdeps/x86_64/tst-quad2.c: Likewise.
38174 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
38175 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
38176 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
38177 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
38178 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
38179
f34d6f84
ST
381802012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
38181
f42d41d1
ST
38182 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
38183 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
38184 * streams/stropts.h (t_scalar_t): Define type.
38185
3c3571fc
ST
38186 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
38187 (_PATH_PRESERVE): Set to "/var/lib".
38188 (_PATH_RWHODIR): Set to "/var/spool/rwho".
38189
61f06bd3
ST
38190 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
38191 instead of int.
38192
918d4d71
ST
38193 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
38194 if __dir_mkfile succeeded.
38195
f34d6f84
ST
38196 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
38197 checking for _hurd_dtablesize. Unlock it right after having
38198 finished _hurd_dtable allocation.
38199
10589b4a
TS
382002012-05-10 Thomas Schwinge <thomas@schwinge.name>
38201
674cdbc7
TS
38202 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
38203 * sysdeps/mach/hurd/configure: Regenerated.
38204 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
38205 special-casing to...
38206 * sysdeps/gnu/configure.in: ... this new file.
38207 * sysdeps/unix/sysv/linux/configure: Regenerated.
38208 * sysdeps/gnu/configure: New generated file.
38209
8e41b99f
TS
38210 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
38211 for Linux: use nsec instead of usec, as well as:
38212 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
38213 members of type struct timespec.
38214 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
38215 New macros.
38216 (struct stat64): Likewise.
38217 (_STATBUF_ST_NSEC): New macro.
38218 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
38219
10589b4a
TS
38220 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
38221 __strtoul_internal rather than strtoul.
38222
63643c85
PT
382232012-05-10 Pino Toscano <toscano.pino@tiscali.it>
38224
38225 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
38226 and reject them.
38227
3faebe6a
ST
382282012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
38229
38230 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
38231 which preserves existing values.
38232 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
38233
c6474b07
PT
382342012-05-10 Pino Toscano <toscano.pino@tiscali.it>
38235
38236 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
38237 TIMEOUT values. Return EINVAL for NFDS values either negative or
38238 greater than FD_SETSIZE.
38239
1043890b
ST
382402012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
38241
38242 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
38243 allocated, call __vm_protect to finish enabling the existing space, and
38244 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
38245 allocate the remainder.
38246
37ed8b9b
PT
382472012-05-10 Pino Toscano <toscano.pino@tiscali.it>
38248
38249 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
38250 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
38251
db653660
ST
382522012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
38253
37ed8b9b
PT
38254 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
38255 sysdeps/mach/hurd/readlink.c.
b29d4053 38256
db653660
ST
38257 * posix/tst-sysconf.c (posix_options): Only use
38258 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
38259 _POSIX_SYNCHRONIZED_IO when they are defined
38260 * sysdeps/mach/hurd/bits/posix_opt.h:
38261 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
38262 (_XOPEN_REALTIME): Undefine macro.
38263 (_XOPEN_REALTIME_THREADS): Undefine macro.
38264 (_XOPEN_SHM): Undefine macro.
38265 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
38266 macro to -1.
38267 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
38268 macro to -1.
38269 (_POSIX_ASYNC_IO): Undefine macro.
38270 (_POSIX_PRIORITIZED_IO): Undefine macro.
38271 (_POSIX_SPIN_LOCKS): Define macro to -1.
38272
ee16e894
ST
38273 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
38274 SA_NODEFER, SA_RESETHAND.
38275 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
38276 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
38277 F_DUPFD_CLOEXEC.
38278
6103ae3b
TS
382792012-05-10 Thomas Schwinge <thomas@schwinge.name>
38280
38281 * elf/Makefile (pldd-modules): Define unconditionally.
38282
80b4e5f3
TS
382832012-05-10 Thomas Schwinge <thomas@schwinge.name>
38284
38285 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
38286
edadcbd6
ST
382872012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
38288
38289 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
38290 Return ENOENT when name is empty.
38291 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
38292
80694780
TS
382932012-05-10 Thomas Schwinge <thomas@schwinge.name>
38294
1792c087
TS
38295 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
38296
80694780
TS
38297 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
38298
6b645f0d
ST
382992012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
38300
80694780
TS
38301 Fix mlock in all cases except non-readable pages.
38302 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
38303 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 38304
6b645f0d
ST
38305 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
38306 (__mkdir): When path is `/', just fail with EEXIST.
38307 * sysdeps/mach/hurd/mkdirat.c: Likewise.
38308
e468f8a3
TS
383092012-05-10 Thomas Schwinge <thomas@schwinge.name>
38310
38311 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
38312 <sys/uio.h> (for writev).
38313 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
38314 and <sys/param.h> (for MIN).
38315
a4186cff
PT
383162012-05-10 Pino Toscano <toscano.pino@tiscali.it>
38317
38318 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
38319 REQUESTED_TIME. Properly set the remaining time and return EINTR
38320 if interrupted.
38321
510bbf14
TS
383222012-05-10 Thomas Schwinge <thomas@schwinge.name>
38323
38324 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
38325 Depend on against $(link-rpcuserlibs).
38326
5d5722e8
ST
383272012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
38328
a4186cff
PT
38329 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
38330 (__libc_stack_end): Do not use attribute_relro.
38331 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
38332 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 38333 to libthread-provided value.
a4186cff
PT
38334 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
38335 attribute_relro.
5d5722e8 38336
37233df9
TS
383372012-05-10 Thomas Schwinge <thomas@schwinge.name>
38338
be971a2b
TS
38339 [BZ #3748]
38340 * bits/libc-lock.h (__libc_once_get): New macro.
38341 * sysdeps/mach/bits/libc-lock.h: Likewise.
38342 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
38343 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
38344 instead of using implementation details.
38345
37233df9
TS
38346 * libio/fileops.c: Unconditionally include <kernel-features.h>.
38347 * libio/freopen.c: Likewise.
38348 * libio/freopen64.c: Likewise.
38349 * misc/syslog.c: Likewise.
38350 * nscd/connections.c: Likewise.
38351 * nscd/netgroupcache.c: Likewise.
38352 * sysdeps/posix/getcwd.c: Likewise.
38353
38de94a5
RM
383542012-05-10 Roland McGrath <roland@hack.frob.com>
38355
38356 * math/w_ilogbf.c: Add #include <limits.h>.
38357
67530489
ST
383582012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
38359
a4186cff 38360 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
38361 path instead of returning without unlocking.
38362
67530489
ST
38363 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
38364 immediate-write ioctls.
38365 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
38366
5aa3a74a
TS
383672012-05-10 Thomas Schwinge <thomas@schwinge.name>
38368
18bad2ae
TS
38369 * sysdeps/mach/hurd/i386/init-first.c (init): Use
38370 __builtin_frame_address instead of making assumptions about the
38371 location of the return address relative to DATA. Force early load of
38372 the return address.
38373 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
38374 __builtin_frame_address.
38375
5aa3a74a
TS
38376 dup3 for GNU Hurd.
38377 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
38378 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
38379 implement dup3 and do some further code clean-ups.
38380 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
38381 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
38382
ecd0de9a
ST
383832012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
38384
cd9fa985
ST
38385 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
38386
a4186cff
PT
38387 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
38388 HURD_CRITICAL_END around holding _hurd_dtable_lock.
38389 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
38390 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
38391 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
38392 d->port.lock.
802ca5a5 38393
a4186cff
PT
38394 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
38395 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
38396 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 38397
bcf55240
TS
383982012-05-10 Thomas Schwinge <thomas@schwinge.name>
38399
6960eb42
TS
38400 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
38401 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
38402 definitions.
38403
eb43375f
TS
38404 accept4 for GNU Hurd.
38405 * include/sys/socket.h (__libc_accept4): New prototype.
38406 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
38407 to implement __libc_accept4.
38408 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
38409 __libc_accept4.
38410 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
38411
bcf55240
TS
38412 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
38413 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
38414 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
38415 signal-defines.sym.
38416
6178c55b
ST
384172012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
38418
a4186cff 38419 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 38420
6f080c2f
TS
384212012-05-10 Thomas Schwinge <thomas@schwinge.name>
38422
38423 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
38424 assertion on O_CLOEXEC flag.
38425 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
38426 * hurd/intern-fd.c: Likewise.
38427 * hurd/port2fd.c: Likewise.
38428
bcfe3a54
ST
384292012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
38430
38431 [BZ #3906]
38432 * bits/in.h (IPV6_PKTINFO): Define new macro.
38433 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
38434
89c9aa49
AZ
384352012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38436
38437 [BZ #13954]
38438 [BZ #13955]
38439 [BZ #13956]
38440 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
38441 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
38442 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
38443 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
38444 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
38445 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
38446 * math/libm-test.inc (logb_test) : Additional logb tests.
38447
021db4be
AJ
384482012-05-09 Andreas Schwab <schwab@linux-m68k.org>
38449 Andreas Jaeger <aj@suse.de>
38450
38451 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
38452 * configure: Regenerated.
38453 * config.h.in (LINK_OBSOLETE_RPC): New macro.
38454 * config.make.in (link-obsolete-rpc): New substituted variable.
38455 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
38456 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
38457 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
38458 (shared-only-routines): Don't set it under [link-obsolete-rpc],
38459 so that libc.a contains the symbols.
38460 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
38461 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
38462 * sunrpc/auth_none.c: Likewise.
38463 * sunrpc/auth_unix.c: Likewise.
38464 * sunrpc/authdes_prot.c: Likewise.
38465 * sunrpc/authuxprot.c: Likewise.
38466 * sunrpc/clnt_gen.c: Likewise.
38467 * sunrpc/clnt_perr.c: Likewise.
38468 * sunrpc/clnt_raw.c: Likewise.
38469 * sunrpc/clnt_simp.c: Likewise.
38470 * sunrpc/clnt_tcp.c: Likewise.
38471 * sunrpc/clnt_udp.c: Likewise.
38472 * sunrpc/clnt_unix.c: Likewise.
38473 * sunrpc/des_crypt.c: Likewise.
38474 * sunrpc/des_soft.c: Likewise.
38475 * sunrpc/get_myaddr.c: Likewise.
38476 * sunrpc/key_call.c: Likewise.
38477 * sunrpc/key_prot.c: Likewise.
38478 * sunrpc/netname.c: Likewise.
38479 * sunrpc/pm_getmaps.c: Likewise.
38480 * sunrpc/pm_getport.c: Likewise.
38481 * sunrpc/pmap_clnt.c: Likewise.
38482 * sunrpc/pmap_prot.c: Likewise.
38483 * sunrpc/pmap_prot2.c: Likewise.
38484 * sunrpc/pmap_rmt.c: Likewise.
38485 * sunrpc/publickey.c: Likewise.
38486 * sunrpc/rpc_cmsg.c: Likewise.
38487 * sunrpc/rpc_common.c: Likewise.
38488 * sunrpc/rpc_dtable.c: Likewise.
38489 * sunrpc/rpc_prot.c: Likewise.
38490 * sunrpc/rpc_thread.c: Likewise.
38491 * sunrpc/rtime.c: Likewise.
38492 * sunrpc/svc.c: Likewise.
38493 * sunrpc/svc_auth.c: Likewise.
38494 * sunrpc/svc_raw.c: Likewise.
38495 * sunrpc/svc_run.c: Likewise.
38496 * sunrpc/svc_tcp.c: Likewise.
38497 * sunrpc/svc_udp.c: Likewise.
38498 * sunrpc/svc_unix.c: Likewise.
38499 * sunrpc/svcauth_des.c: Likewise.
38500 * sunrpc/xcrypt.c: Likewise.
38501 * sunrpc/xdr.c: Likewise.
38502 * sunrpc/xdr_array.c: Likewise.
38503 * sunrpc/xdr_float.c: Likewise.
38504 * sunrpc/xdr_intXX_t.c: Likewise.
38505 * sunrpc/xdr_mem.c: Likewise.
38506 * sunrpc/xdr_rec.c: Likewise.
38507 * sunrpc/xdr_ref.c: Likewise.
38508 * sunrpc/xdr_sizeof.c: Likewise.
38509 * sunrpc/xdr_stdio.c: Likewise.
38510
b5c086a2
RM
385112012-05-10 Roland McGrath <roland@hack.frob.com>
38512
38513 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
38514 change. Update copyright years.
38515
6d74dd09
JM
385162012-05-10 Joseph Myers <joseph@codesourcery.com>
38517
38518 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
38519
28e72501
MK
385202012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
38521 Joseph Myers <joseph@codesourcery.com>
38522 Paul Pluzhnikov <ppluzhnikov@google.com>
38523
38524 [BZ #14012]
38525 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
38526 requiring rpcgen.
38527 [cross-compiling] (extra-libs): Likewise.
38528 [cross-compiling] (extra-libs-others): Likewise.
38529 [cross-compiling] (librpcsvc-routines): Likewise.
38530 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
38531 [cross-compiling] (omit-deps): Likewise.
38532 (sunrpc-CPPFLAGS): New variable.
38533 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
38534 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
38535 (cross-rpcgen-objs): New variable.
38536 (extra-objs): Append $(cross-rpcgen-objs).
38537 ($(cross-rpcgen-objs)): New rule.
38538 ($(objpfx)cross-rpcgen): Likewise.
38539 (rpcgen-cmd): Define to use $(built-program-file). Expand
38540 comment.
38541 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
38542 ($(objpfx)x%.stmp): Likewise.
38543 * sunrpc/proto.h [IS_IN_build] (_): Define.
38544 [IS_IN_build] (_libc_intl_domainname): Likewise.
38545
c8c59454
L
385462012-05-10 H.J. Lu <hongjiu.lu@intel.com>
38547
38548 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
38549 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
38550 and R_X86_64_TPOFF64.
38551
6f27cd16
JM
385522012-05-10 Joseph Myers <joseph@codesourcery.com>
38553
38554 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
38555 sysdeps/unix/sysv/syscalls.list.
38556 (stime): Likewise.
38557 (utime): Likewise.
38558 * sysdeps/unix/sysv/syscalls.list: Remove file.
38559
02467e1c
PE
385602012-05-10 Paul Eggert <eggert@cs.ucla.edu>
38561
38562 [BZ #3440]
38563 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
38564 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
38565 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
38566 (__LC_IDENTIFICATION): Make these macros useful in #if
38567 expressions, as required by C99.
38568
da392631
AS
385692012-05-10 Andreas Schwab <schwab@linux-m68k.org>
38570
38571 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
38572 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
38573 after this.
38574
8115f29b
L
385752012-05-09 H.J. Lu <hongjiu.lu@intel.com>
38576
38577 * stdlib/longlong.h: Updated from GCC.
38578
bdd74070
AJ
385792012-05-09 Andreas Jaeger <aj@suse.de>
38580
edfe0dbe
AJ
38581 * nscd/nscd.c (run_modes): Make named enum, reorder so that
38582 default is first entry.
38583 (run_mode): Set type.
38584 (main): Remove informal message about syslog.
38585 (options): Fix typo.
38586
bcfe3a54
ST
38587 [BZ #14053]
38588 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 38589 to asm.
bcfe3a54
ST
38590 (lrint): Likewise.
38591 (llrintf): Likewise.
38592 (llrint): Likewise.
38593 (rint): Likewise.
38594 (rintf): Likewise.
38595 (nearbyint): Likewise.
38596 (nearbyintf): Likewise.
bdd74070 38597
91d8d69e
AJ
385982012-05-09 Andreas Jaeger <aj@suse.de>
38599 Pedro Alves <palves@redhat.com>
38600
38601 * nscd/nscd.c (run_mode): Use enum.
38602 (main): Cleanup coding style issue.
38603
bb90b80b
AJ
386042012-05-09 Alexandre Oliva <aoliva@redhat.com>
38605 Andreas Jaeger <aj@suse.de>
38606
bcfe3a54
ST
38607 * nscd/nscd.c (go_background): Replaced with...
38608 (run_mode): ... this.
bb90b80b 38609 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
38610 (options): Add -F --foreground.
38611 (main): Implement it.
38612 (parse_opt): Parse it.
bb90b80b 38613
1a4b75a1
AJ
386142012-05-09 Andreas Jaeger <aj@suse.de>
38615
38616 [BZ #14083]
38617 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
38618 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
38619 -Wconversion warning.
38620 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
38621 Likewise.
38622
b1cc2472
JM
386232012-05-09 Joseph Myers <joseph@codesourcery.com>
38624
38625 * conform/data/locale.h-data (NULL): Use macro-constant. Require
38626 == 0.
38627 (LC_ALL): Use macro-int-constant.
38628 (LC_COLLATE): Likewise.
38629 (LC_CTYPE): Likewise.
38630 (LC_MESSAGES): Likewise.
38631 (LC_MONETARY): Likewise.
38632 (LC_NUMERIC): Likewise.
38633 (LC_TIME): Likewise.
38634 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
38635 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
38636 [ISO || ISO99 || ISO11] (*_t): Do not allow.
38637 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
38638 Specify type.
38639 [C99-based standards] (float_t): Expect type.
38640 [C99-based standards] (double_t): Expect type.
38641 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
38642 type.
38643 [C99-based standards] (HUGE_VALL): Likewise.
38644 [C99-based standards] (INFINITY): Likewise.
38645 [C99-based standards] (NAN): Likewise.
38646 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
38647 [C99-based standards] (FP_NAN): Likewise.
38648 [C99-based standards] (FP_NORMAL): Likewise.
38649 [C99-based standards] (FP_SUBNORMAL): Likewise.
38650 [C99-based standards] (FP_ZERO): Likewise.
38651 [C99-based standards] (FP_FAST_FMA): Use
38652 optional-macro-int-constant. Specify type. Require == 1.
38653 [C99-based standards] (FP_FAST_FMAF): Likewise.
38654 [C99-based standards] (FP_FAST_FMAL): Likewise.
38655 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
38656 [C99-based standards] (FP_ILOGBNAN): Likewise.
38657 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
38658 Specify type.
38659 [C99-based standards] (MATH_ERREXCEPT): Likewise.
38660 [C99-based standards] (math_errhandling): Specify type.
38661 [ISO99 || ISO11] (signgam): Do not allow.
38662 [non-C99-based standards] (copysignf): Do not allow.
38663 [non-C99-based standards] (exp2f): Likewise.
38664 [non-C99-based standards] (log2f): Likewise.
38665 [non-C99-based standards] (modff): Allow.
38666 [non-C99-based standards] (erff): Do not allow.
38667 [non-C99-based standards] (erfcf): Likewise.
38668 [non-C99-based standards] (gammaf): Likewise.
38669 [non-C99-based standards] (hypotf): Likewise.
38670 [non-C99-based standards] (j0f): Likewise.
38671 [non-C99-based standards] (j1f): Likewise.
38672 [non-C99-based standards] (jnf): Likewise.
38673 [non-C99-based standards] (lgammaf): Likewise.
38674 [non-C99-based standards] (tgammaf): Likewise.
38675 [non-C99-based standards] (y0f): Likewise.
38676 [non-C99-based standards] (y1f): Likewise.
38677 [non-C99-based standards] (ynf): Likewise.
38678 [non-C99-based standards] (isnanf): Likewise.
38679 [non-C99-based standards] (acoshf): Likewise.
38680 [non-C99-based standards] (asinhf): Likewise.
38681 [non-C99-based standards] (atanhf): Likewise.
38682 [non-C99-based standards] (cbrtf): Likewise.
38683 [non-C99-based standards] (expm1f): Likewise.
38684 [non-C99-based standards] (ilogbf): Likewise.
38685 [non-C99-based standards] (log1pf): Likewise.
38686 [non-C99-based standards] (logbf): Likewise.
38687 [non-C99-based standards] (nextafterf): Likewise.
38688 [non-C99-based standards] (remainderf): Likewise.
38689 [non-C99-based standards] (rintf): Likewise.
38690 [non-C99-based standards] (scalbf): Likewise.
38691 [non-C99-based standards] (copysignl): Likewise.
38692 [non-C99-based standards] (exp2l): Likewise.
38693 [non-C99-based standards] (log2l): Likewise.
38694 [non-C99-based standards] (modfl): Allow.
38695 [non-C99-based standards] (erfl): Do not allow.
38696 [non-C99-based standards] (erfcl): Likewise.
38697 [non-C99-based standards] (gammal): Likewise.
38698 [non-C99-based standards] (hypotl): Likewise.
38699 [non-C99-based standards] (j0l): Likewise.
38700 [non-C99-based standards] (j1l): Likewise.
38701 [non-C99-based standards] (jnl): Likewise.
38702 [non-C99-based standards] (lgammal): Likewise.
38703 [non-C99-based standards] (tgammal): Likewise.
38704 [non-C99-based standards] (y0l): Likewise.
38705 [non-C99-based standards] (y1l): Likewise.
38706 [non-C99-based standards] (ynl): Likewise.
38707 [non-C99-based standards] (isnanl): Likewise.
38708 [non-C99-based standards] (acoshl): Likewise.
38709 [non-C99-based standards] (asinhl): Likewise.
38710 [non-C99-based standards] (atanhl): Likewise.
38711 [non-C99-based standards] (cbrtl): Likewise.
38712 [non-C99-based standards] (expm1l): Likewise.
38713 [non-C99-based standards] (ilogbl): Likewise.
38714 [non-C99-based standards] (log1pl): Likewise.
38715 [non-C99-based standards] (logbl): Likewise.
38716 [non-C99-based standards] (nextafterl): Likewise.
38717 [non-C99-based standards] (remainderl): Likewise.
38718 [non-C99-based standards] (rintl): Likewise.
38719 [non-C99-based standards] (scalbl): Likewise.
38720 [ISO || ISO99 || ISO11] (*_t): Do not allow.
38721 [non-C99-based standards] (FP_*): Do not allow.
38722 [C99-based standards] (FP_*): Change to
38723 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
38724 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
38725 allow.
38726 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
38727 (SIG_ERR): Likewise.
38728 [X/Open-based standards] (SIG_HOLD): Likewise.
38729 (SIG_IGN): Likewise.
38730 (SIGABRT): Use macro-int-constant. Specify type. Require
38731 positive value.
38732 (SIGFPE): Likewise.
38733 (SIGILL): Likewise.
38734 (SIGINT): Likewise.
38735 (SIGSEGV): Likewise.
38736 (SIGTER): Likewise.
38737 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
38738 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
38739 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
38740 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
38741 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
38742 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
38743 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
38744 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
38745 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
38746 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
38747 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
38748 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
38749 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
38750 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
38751 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
38752 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
38753 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
38754 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
38755 [X/Open-based standards] (SIGTRAP): Likewise.
38756 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
38757 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
38758 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
38759 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
38760 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
38761 allow.
38762
b9f1922d
IW
387632012-05-08 Ian Wienand <ianw@vmware.com>
38764
38765 [BZ #14080]
38766 * time/tzset.c (__tzset_parse_tz): Update default rules for
38767 daylight time changes in the Energy Policy Act of 2005.
38768
1db86e88
AJ
387692012-05-09 Andreas Jaeger <aj@suse.de>
38770
38771 [BZ #13983]
38772 * elf/ldconfig.c (parse_conf): Change string to make clear that
38773 ldconfig only issued a warning if ld.so.conf does not exist.
38774
dee4a4e3
DM
387752012-05-08 David S. Miller <davem@davemloft.net>
38776
ee0db190
DM
38777 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
38778 movxtod instead of popping the value on the stack.
38779
dee4a4e3
DM
38780 * sysdeps/sparc/fpu/libm-test-ulps: Update.
38781
6a43ec98
CD
387822012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
38783
38784 * config.h.in: Add HAVE_ARM_PCS_VFP.
38785
05c2c961
RMG
387862012-05-08 Roland Mc Grath <roland@hack.frob.com>
38787
bcfe3a54
ST
38788 [BZ #13979]
38789 * include/features.h: Warn if user requests __FORTIFY_SOURCE
38790 checking but the checks are disabled for any reason.
05c2c961 38791
4b30f61a
L
387922012-05-08 H.J. Lu <hongjiu.lu@intel.com>
38793
38794 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
38795 and ELF64_R_TYPE with ELFW(R_TYPE).
38796
eee2bc67
JM
387972012-05-08 Joseph Myers <joseph@codesourcery.com>
38798
7ea5391a
JM
38799 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
38800 (ulimit): Likewise.
38801
eee2bc67
JM
38802 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
38803 (settimeofday): Likewise.
38804
abb66a67
MF
388052012-05-08 Mike Frysinger <vapier@gentoo.org>
38806
38807 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
38808 a struct th_u2 inside the union, and move tu_block/tu_code into
38809 a new th_u3 union of tu_block/tu_code inside of that. Move
38810 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
38811 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
38812 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
38813 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
38814 (th_stuff): Change to th_u1.tu_stuff.
38815 (th_data): Define.
38816 (th_msg): Change to th_u1.th_u2.tu_data.
38817
7f18b530
DM
388182012-05-07 David S. Miller <davem@davemloft.net>
38819
05760585
DM
38820 * sysdeps/sparc/fpu/libm-test-ulps: Update.
38821
7f18b530
DM
38822 [BZ #14074]
38823 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
38824 (SETUP_PIC_REG): Use it.
38825 (SETUP_PIC_REG_LEAF): Use it.
38826
495fd99f
JM
388272012-05-07 Joseph Myers <joseph@codesourcery.com>
38828
38829 [BZ #13885]
38830 [BZ #13923]
38831 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
38832 USE_AS_EXPM1L.
38833 (EXPL_FINITE): Likewise.
38834 (FLDLOG): Likewise.
38835 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
38836 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
38837 e_expl.S.
38838 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
38839 USE_AS_EXPM1L.
38840 (EXPL_FINITE): Likewise.
38841 (FLDLOG): Likewise.
38842 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
38843 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
38844 e_expl.S.
38845 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
38846 test of -max_value argument for long double.
38847 * sysdeps/i386/fpu/libm-test-ulps: Update.
38848 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38849
6693d694
DM
388502012-05-06 David S. Miller <davem@davemloft.net>
38851
38852 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
38853 quad soft-float symbols whose references which are compiler
38854 generated.
38855 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
38856
6c23e11c
JM
388572012-05-06 Joseph Myers <joseph@codesourcery.com>
38858
d8b82cad
JM
38859 [BZ #13884]
38860 [BZ #13914]
38861 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
38862 USE_AS_EXP10L.
38863 (EXPL_FINITE): Likewise.
38864 (FLDLOG): Likewise.
38865 (c0): Likewise.
38866 (c1): Likewise.
38867 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
38868 Adjust comments for base varying.
38869 (__expl_finite): Change alias to EXPL_FINITE.
38870 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
38871 e_expl.S.
38872 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
38873 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
38874 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
38875 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
38876 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
38877 USE_AS_EXP10L.
38878 (EXPL_FINITE): Likewise.
38879 (FLDLOG): Likewise.
38880 (c0): Likewise.
38881 (c1): Likewise.
38882 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
38883 Adjust comments for base varying.
38884 (__expl_finite): Change alias to EXPL_FINITE.
38885 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
38886 tests for bugs.
38887 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
38888
6c23e11c
JM
38889 [BZ #14064]
38890 * math/libm-test.inc (check_float_internal): Correct ulp
38891 calculation for subnormal expected results.
38892
29ba805c
AJ
388932012-05-06 Andreas Jaeger <aj@suse.de>
38894
38895 * Makeconfig (+math-flags): New, set to -frounding-math.
38896 (+cflags): Add +math-flags so that all of glibc gets compiled with
38897 it.
38898
38899 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
38900
7b17aeda
JM
389012012-05-05 Joseph Myers <joseph@codesourcery.com>
38902
5779f134
JM
38903 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
38904 Disable one test.
38905
41498f4d
JM
38906 [BZ #13787]
38907 [BZ #13922]
38908 [BZ #14036]
38909 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
38910 (__ieee754_expl): Allow for and saturate large arguments.
38911 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
38912 (u_threshold): Likewise.
38913 (__exp): Call __ieee754_exp before checking for overflow and
38914 underflow.
38915 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
38916 (u_threshold): Likewise.
38917 (__expf): Call __ieee754_expf before checking for overflow and
38918 underflow.
38919 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
38920 (u_threshold): Likewise.
38921 (__expl): Call __ieee754_expl before checking for overflow and
38922 underflow.
38923 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
38924 (__ieee754_expl): Allow for and saturate large arguments.
38925 * math/libm-test.inc (exp_test): Add another test. Do not allow
38926 missing overflow exception on overflow.
38927 (expm1_test): Do not allow missing overflow exception on overflow.
38928
6698b8bf
JM
38929 * sysdeps/i386/fpu/e_expl.c: Move to ...
38930 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
38931 rather than using inline asm.
38932 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
38933 * sysdeps/x86_64/fpu/e_expl.S: Copy from
38934 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
38935
7b17aeda
JM
38936 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
38937 (nice): Likewise.
38938 (poll): Likewise.
38939 (signal): Likewise.
38940 (time): Likewise.
38941 (times): Likewise.
38942
f7c85819
JM
389432012-05-04 Joseph Myers <joseph@codesourcery.com>
38944
38945 * sysdeps/unix/syscalls.list (adjtime): Add entry from
38946 sysdeps/unix/common/syscalls.list.
38947 (fchmod): Likewise.
38948 (fchown): Likewise.
38949 (ftruncate): Likewise.
38950 (getrusage): Likewise.
38951 (gettimeofday): Likewise.
38952 (setpgid): Likewise.
38953 (setregid): Likewise.
38954 (setreuid): Likewise.
38955 (sigaction): Likewise.
38956 (truncate): Likewise.
38957 (vhangup): Likewise.
38958 * sysdeps/unix/common/syscalls.list: Remove file.
38959 * sysdeps/unix/bsd/Implies: Don't include unix/common.
38960 * sysdeps/unix/sysv/linux/Implies: Likewise.
38961
336270d0
L
389622012-05-04 H.J. Lu <hongjiu.lu@intel.com>
38963
38964 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
38965 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
38966 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
38967 Moved to ...
38968 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
38969 Here.
38970 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
38971 to ...
38972 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
38973 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
38974 to ...
38975 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
38976 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
38977 to ...
38978 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
38979 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
38980 to ...
38981 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
38982 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
38983 to ...
38984 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
38985 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
38986 to ...
38987 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
38988 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
38989 to ...
38990 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
38991 Here.
38992 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
38993 to ...
38994 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
38995 Here.
38996 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
38997 to ...
38998 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
38999 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
39000 Moved to ...
39001 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
39002 Here.
39003 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
39004 to ...
39005 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
39006
d128e450
JM
390072012-05-04 Joseph Myers <joseph@codesourcery.com>
39008
fa8ee516
JM
39009 * sysdeps/unix/common/bits/dirent.h: Remove file.
39010 * sysdeps/unix/common/bits/fcntl.h: Likewise.
39011
d128e450
JM
39012 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
39013 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
39014 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
39015 * sysdeps/unix/bsd/isatty.c: Likewise.
39016 * sysdeps/unix/bsd/tcdrain.c: Likewise.
39017 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
39018 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
39019
ff8faaf0 390202012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 39021
62881be4 39022 [BZ #13563]
31dc8730
AZ
39023 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
39024 long double comparison inaccuracies.
39025 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
39026 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39027
6fef930c
AS
390282012-05-04 Andreas Schwab <schwab@linux-m68k.org>
39029
39030 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
39031 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
39032
8f203e6c
JM
390332012-05-04 Joseph Myers <joseph@codesourcery.com>
39034
39035 [BZ #14049]
39036 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
39037 nonzero digits before rounding a hex value.
39038 * stdlib/tst-strtod.c (tests): Add another test.
39039
5197d9c2
AK
390402012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
39041
39042 * sysdeps/s390/fpu/libm-test-ulps: Update.
39043
f0c1dedf
AJ
390442012-05-03 Andreas Jaeger <aj@suse.de>
39045
39046 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
39047 does not get optimized out.
39048 (malloc_opt_barrier): New.
39049
a65ef2ae 390502012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 39051 Roland McGrath <roland@hack.frob.com>
a65ef2ae 39052
2b942cb7 39053 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 39054 intermediate file deletion.
2b942cb7 39055 (generated): Add .symlist files.
a65ef2ae 39056
54b71e02
JM
390572012-05-03 Joseph Myers <joseph@codesourcery.com>
39058
39059 [BZ #13775]
39060 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
39061 Redirect under this condition.
39062 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
39063 [__USE_GNU] (__dprintf_chk): Not under this condition.
39064 [__USE_GNU] (__vdprintf_chk): Likewise.
39065 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
39066 under this condition.
39067 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
39068 [__USE_XOPEN2K8] (dprintf): Define under this condition.
39069 [__USE_XOPEN2K8] (vdprintf): Likewise.
39070 [__USE_GNU] (__dprintf_chk): Not under this condition.
39071 [__USE_GNU] (__vdprintf_chk): Likewise.
39072 [__USE_GNU] (dprintf): Likewise.
39073 [__USE_GNU] (vdprintf): Likewise.
39074
d3dfcc41
RM
390752012-05-03 Roland McGrath <roland@hack.frob.com>
39076
39077 * elf/Makefile (common-generated): Set this instead of generated for
39078 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
39079 $(all-built-dso)-derived lists.
39080
7ac30cc5
AJ
390812012-05-03 Andreas Jaeger <aj@suse.de>
39082
0c51e550
AJ
39083 * sysdeps/i386/fpu/libm-test-ulps: Update.
39084
7ac30cc5
AJ
39085 * FAQ: Removed.
39086 * FAQ.in: Likewise.
39087 * scripts/gen-FAQ.pl: Likewise.
39088 * manual/install.texi (Installation): Point to online location of
39089 FAQ.
39090 * Makefile (files-for-dist): Remove FAQ.
39091 (FAQ): Remove.
39092
d4c2917f
AM
390932012-05-02 Allan McRae <allan@archlinux.org>
39094
39095 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
39096 (LDFLAGS-reldepmod5.so): Likewise.
39097 (LDFLAGS-reldep6mod1.so): Likewise.
39098 (LDFLAGS-reldep6mod4.so): Likewise.
39099 (LDFLAGS-reldep8mod3.so): Likewise.
39100 (LDFLAGS-unload4mod1.so): Likewise.
39101 (LDFLAGS-unload4mod2.so): Likewise.
39102 (LDFLAGS-tst-initorder): Likewise.
39103 (LDFLAGS-tst-initordera2.so): Likewise.
39104 (LDFLAGS-tst-initordera3.so): Likewise.
39105 (LDFLAGS-tst-initordera4.so): Likewise.
39106 (LDFLAGS-tst-initorderb2.so): Likewise.
39107 (LDFLAGS-noload): Likewise.
39108 (LDFLAGS-next): Likewise.
39109 (LDFLAGS-order2mod1.so): Likewise.
39110 (LDFLAGS-order2mod2.so): Likewise.
39111 (LDFLAGS-tst-initorder2): Likewise.
39112 (LDFLAGS-tst-initorder2a.so): Likewise.
39113 (LDFLAGS-tst-initorder2b.so): Likewise.
39114 (LDFLAGS-tst-initorder2c.so): Likewise.
39115 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
39116
d77f993f
DM
391172012-05-02 David S. Miller <davem@davemloft.net>
39118
39119 * sysdeps/sparc/fpu/libm-test-ulps: Update.
39120
171a70b4
PP
391212012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
39122
39123 [BZ #14055]
39124 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
39125
0be196ad
AJ
391262012-05-02 Andreas Jaeger <aj@suse.de>
39127
39128 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
39129 since we manipulate rounding mode.
39130 (CPPFLAGS-test-idouble.c): Likewise.
39131 (CPPFLAGS-test-ifloat.c): Likewise.
39132 (CFLAGS-test-ldouble.c): Likewise.
39133 (CFLAGS-test-double.c): Likewise.
39134 (CFLAGS-test-float.c): Likewise.
39135 (CFLAGS-test-misc.c): Likewise.
39136 (CFLAGS-test-test-fenv.c): Likewise.
39137
4f9d04aa
AZ
391382012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39139
2b942cb7
RM
39140 [BZ #2550]
39141 [BZ #2570]
39142 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
39143 comparisons to determine direction to adjust input.
4f9d04aa 39144
82a79e7d
RM
391452012-05-01 Roland McGrath <roland@hack.frob.com>
39146
f5a01ca9
RM
39147 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
39148 output to the target.
39149
90fe4186
RM
39150 * scripts/localplt.awk: New file.
39151 * elf/Makefile ($(objpfx)check-localplt): Target removed.
39152 (check-localplt-CFLAGS): Variable removed.
39153 ($(all-built-dso:=.jmprel)): New static pattern rule.
39154 (generated): Add those targets.
39155 (localplt-built-dso): New variable.
39156 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
39157
39158 * elf/check-localplt.c: File removed.
39159
82397ed6
RM
39160 * scripts/check-execstack.awk: New file.
39161 * elf/Makefile ($(objpfx)check-execstack): Target removed.
39162 (check-execstack-CFLAGS): Variable removed.
39163 ($(objpfx)check-execstack.h): Target removed.
39164 ($(objpfx)execstack-default): New target.
39165 (generated): Add that instead of check-execstack.h.
39166 ($(all-built-dso:=.phdr)): New static pattern rule.
39167 (generated): Add those targets.
39168 * elf/check-execstack.c: File removed.
39169
82a79e7d
RM
39170 * scripts/check-textrel.awk: New file.
39171 * elf/Makefile ($(objpfx)check-textrel): Target removed.
39172 (check-textrel-CFLAGS): Variable removed.
39173 (all-built-dso): Use := to define.o
39174 ($(all-built-dso:=.dyn)): New static pattern rule.
39175 (generated): Add those targets.
39176 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
39177 * config.make.in (READELF): New substituted variable.
39178 * elf/check-textrel.c: File removed.
39179
62fde54f 391802012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 39181
615605c9
JM
39182 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
39183 allow.
39184 * conform/data/ctype.h-data [C99-based standards] (isblank):
39185 Expect function.
39186 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
39187 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
39188 [ISO || ISO99 || ISO11] (*_t): Do not allow.
39189 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
39190 Specify type. Require positive value.
39191 (EILSEQ): Likewise.
39192 (ERANGE): Likewise.
39193 [ISO || POSIX] (EILSEQ): Do not expect.
39194 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
39195 Specify type. Require positive value.
39196 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
39197 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
39198 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
39199 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
39200 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
39201 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
39202 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
39203 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
39204 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
39205 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
39206 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
39207 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
39208 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
39209 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
39210 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
39211 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
39212 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
39213 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
39214 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
39215 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
39216 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
39217 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
39218 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
39219 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
39220 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
39221 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
39222 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
39223 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
39224 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
39225 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
39226 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
39227 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
39228 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
39229 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
39230 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
39231 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
39232 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
39233 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
39234 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
39235 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
39236 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
39237 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
39238 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
39239 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
39240 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
39241 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
39242 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
39243 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
39244 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
39245 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
39246 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
39247 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
39248 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
39249 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
39250 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
39251 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
39252 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
39253 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
39254 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
39255 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
39256 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
39257 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
39258 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
39259 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
39260 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
39261 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
39262 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
39263 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
39264 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
39265 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
39266 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
39267 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
39268 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
39269 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
39270 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
39271 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
39272 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
39273 Require >= 2.
39274 (FLT_ROUNDS): Expect as macro, not constant.
39275 (FLT_MANT_DIG): Use macro-int-constant.
39276 (DBL_MANT_DIG): Likewise.
39277 (LDBL_MANT_DIG): Likewise.
39278 (FLT_DIG): Likewise.
39279 (DBL_DIG): Likewise.
39280 (LDBL_DIG): Likewise.
39281 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
39282 (DBL_MIN_EXP): Likewise.
39283 (LDBL_MIN_EXP): Likewise.
39284 (FLT_MAX_EXP): Use macro-int-constant.
39285 (DBL_MAX_EXP): Likewise.
39286 (LDBL_MAX_EXP): Likewise.
39287 (FLT_MAX_10_EXP): Likewise.
39288 (DBL_MAX_10_EXP): Likewise.
39289 (LDBL_MAX_10_EXP): Likewise.
39290 (FLT_MAX): Use macro-constant.
39291 (DBL_MAX): Likewise.
39292 (LDBL_MAX): Likewise.
39293 (FLT_EPSILON): Use macro-constant. Give upper bound.
39294 (DBL_EPSILON): Likewise.
39295 (LDBL_EPSILON): Likewise.
39296 (FLT_MIN): Likewise.
39297 (DBL_MIN): Likewise.
39298 (LDBL_MIN): Likewise.
39299 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
39300 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
39301 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
39302 [ISO11] (FLT_HAS_SUBNORM): Likewise.
39303 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
39304 [ISO11] (DBL_DECIMAL_DIG): Likewise.
39305 [ISO11] (FLT_DECIMAL_DIG): Likewise.
39306 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
39307 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
39308 [ISO11] (FLT_TRUE_MIN): Likewise.
39309 [ISO11] (LDBL_TRUE_MIN): Likewise.
39310 [ISO || ISO99 || ISO11] (*_t): Do not allow.
39311 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
39312 (SCHAR_MIN): Use macro-int-constant. Specify type.
39313 (SCHAR_MAX): Likewise.
39314 (UCHAR_MAX): Likewise.
39315 (CHAR_MIN): Likewise.
39316 (CHAR_MAX): Likewise.
39317 (MB_LEN_MAX): Use macro-int-constant.
39318 (SHRT_MIN): Use macro-int-constant. Specify type.
39319 (SHRT_MAX): Likewise.
39320 (USHRT_MAX): Likewise.
39321 (INT_MAX): Likewise.
39322 (INT_MIN): Use macro-int-constant. Specify type. Make upper
39323 bound negative.
39324 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
39325 bound with "U".
39326 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
39327 bound with "L".
39328 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
39329 bound negative. Suffix upper bound with "L".
39330 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
39331 bound with "UL".
39332 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
39333 Specify type.
39334 [C99-based standards] (LLONG_MAX): Likewise.
39335 [C99-based standards] (ULLONG_MAX): Likewise.
39336 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
39337 == 0.
39338 [ISO11] (max_align_t): Require type.
39339 [ISO || ISO99 || ISO11] (*_t): Do not allow.
39340
c9140a62
JM
39341 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
39342 from $CFLAGS, without defining away __attribute__ calls.
39343 (checknamespace): Use $CFLAGS_namespace.
39344
9af0bf29
JM
39345 * conform/conformtest.pl (@keywords): Only include C99 keywords
39346 for standards based on C99 or C11.
39347
343222a2
JM
39348 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
39349 Disable tests.
39350 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
39351 UNIX98]: Likewise.
39352
661f8cf0
JM
39353 * conform/conformtest.pl: Handle "macro-int-constant" and test for
39354 usability of symbols in #if.
39355
ee74b9cb
JM
39356 * conform/conformtest.pl: If macro or constant types start
39357 "promoted:", expect the symbol to be of the following type
39358 promoted by the integer promotions.
62fde54f 39359
aafc49b3
JM
39360 * conform/conformtest.pl: Parse all "constant" and "macro" lines
39361 in one place. Also handle "macro-constant".
39362
fefdf574
JM
39363 * conform/conformtest.pl: Only accept expected macro values with
39364 "==". Parse all "macro" lines in one place.
39365 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
39366
f2d922fe
JM
39367 * conform/conformtest.pl: Handle braced types on "constant" lines
39368 instead of handling "typed-constant".
39369 * conform/data/signal.h-data: Use "constant" instead of
39370 "typed-constant".
39371
d22956c9
JM
39372 * conform/conformtest.pl: Handle "optional-" at start of lines in
39373 one place rather than duplicating several cases. Handle each
39374 format of "macro" line with initial "optional-".
39375
028e2e38
JM
39376 * conform/conformtest.pl: Only accept expected constant or
39377 optional-constant values with "==". Parse all "constant" lines in
39378 one place. Parse all "optional-constant" lines in one place.
39379 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
39380 * conform/data/fmtmsg.h-data: Likewise.
39381 * conform/data/netinet/in.h-data: Likewise.
39382 * conform/data/tar.h-data: Likewise.
39383 * conform/data/limits.h-data: Use "==" form on "constant" and
39384 "optional-constant" lines.
39385
1b8f2850
JM
39386 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
39387 Use -std=c99 for XOPEN2K.
39388 (@knownproblems): Remove.
39389 (newtoken): Don't check %isknown.
39390
a05a144b
JM
39391 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
39392 Do not expect macro.
39393 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
39394 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
39395 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
39396 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
39397 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
39398 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
39399 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
39400 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
39401 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
39402 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
39403 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
39404 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
39405 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
39406 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
39407 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
39408 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
39409 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
39410 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
39411 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
39412 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
39413 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
39414 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
39415 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
39416 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
39417 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
39418 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
39419 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
39420 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
39421 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
39422 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
39423 [XPG3] (acosh): Likewise.
39424 [XPG3] (asinh): Likewise.
39425 [XPG3] (atanh): Likewise.
39426 [XPG3] (cbrt): Likewise.
39427 [XPG3] (expm1): Likewise.
39428 [XPG3] (ilogb): Likewise.
39429 [XPG3] (log1p): Likewise.
39430 [XPG3] (logb): Likewise.
39431 [XPG3] (nextafter): Likewise.
39432 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
39433 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
39434 [XPG3] (remainder): Likewise.
39435 [XPG3] (rint): Likewise.
39436 [XPG3 || XPG4 || UNIX98] (round): Likewise.
39437 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
39438 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
39439 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
39440 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
39441 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
39442 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
39443 [UNIX98 || XOPEN2K] (scalb): Expect.
39444 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
39445 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
39446 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
39447 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
39448 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
39449 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
39450 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
39451 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
39452 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
39453 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
39454 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
39455 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
39456 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
39457 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
39458 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
39459 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
39460 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
39461 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
39462 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
39463 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
39464 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
39465 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
39466 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
39467 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
39468 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
39469 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
39470 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
39471 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
39472 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
39473 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
39474 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
39475 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
39476 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
39477 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
39478 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
39479 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
39480 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
39481 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
39482 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
39483 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
39484 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
39485 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
39486 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
39487 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
39488 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
39489 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
39490 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
39491 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
39492 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
39493 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
39494 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
39495 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
39496 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
39497 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
39498 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
39499 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
39500 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
39501 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
39502 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
39503 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
39504 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
39505 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
39506 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
39507 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
39508 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
39509 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
39510 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
39511 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
39512 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
39513 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
39514 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
39515 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
39516 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
39517 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
39518 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
39519 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
39520 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
39521 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
39522 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
39523 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
39524 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
39525 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
39526 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
39527 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
39528 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
39529 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
39530 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
39531 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
39532 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
39533 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
39534 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
39535 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
39536 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
39537 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
39538 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
39539 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
39540 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
39541 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
39542 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
39543 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
39544 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
39545 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
39546 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
39547 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
39548 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
39549 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
39550 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
39551 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
39552 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
39553 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
39554 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
39555 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
39556 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
39557 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
39558 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
39559 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
39560 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
39561 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
39562 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
39563 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
39564 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
39565 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
39566 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
39567 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
39568 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
39569 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
39570 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
39571 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
39572 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
39573 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
39574 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
39575 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
39576 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
39577 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
39578 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
39579 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
39580 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
39581
73c5ebe3
JM
39582 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
39583 _XOPEN_SOURCE_EXTENDED for XPG4.
39584
39c33b6c
JM
39585 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
39586
62fde54f
JM
39587 * Makeconfig (localtime): Remove variable.
39588 (inst_localtime-file): Likewise.
39589
0741d64c
AS
395902012-05-01 Andreas Schwab <schwab@linux-m68k.org>
39591
39592 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
39593 Update.
39594 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
39595 Update.
39596 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
39597 Update.
39598 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
39599 Update.
39600 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
39601 Update.
39602 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
39603 Update.
39604 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
39605 Update.
39606 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
39607 Update.
39608 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
39609 Update.
39610
7cb029ee
JM
396112012-05-01 Joseph Myers <joseph@codesourcery.com>
39612
39613 [BZ #2550]
39614 [BZ #2570]
39615 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
39616 comparisons to determine direction to adjust input.
39617 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
39618 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
39619 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
39620 Likewise.
39621 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
39622 Likewise.
39623 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
39624 Likewise.
39625 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
39626 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
39627 Likewise.
39628 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
39629 Likewise.
39630 * math/libm-test.inc (nexttoward_test): Add more tests.
39631
412bd966
AS
396322012-05-01 Andreas Schwab <schwab@linux-m68k.org>
39633
39634 [BZ #14040]
39635 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
39636 in version GLIBC_2.1, not GLIBC_2.0.
39637 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
39638 Likewise.
39639
9568c0c2
JM
396402012-04-30 Joseph Myers <joseph@codesourcery.com>
39641
adfbc8ac
JM
39642 [BZ #13942]
39643 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
39644 (1 - x) * (1 + x).
39645 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
39646 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
39647 * math/libm-test.inc (acos_test): Add more tests.
39648 (asin_test): Likewise.
39649 * sysdeps/i386/fpu/libm-test-ulps: Update.
39650 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39651
5ba3cc69
JM
39652 [BZ #14034]
39653 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
39654 of square root.
39655 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
39656 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
39657 * math/libm-test.inc (acos_test_tonearest): New function.
39658 (acos_test_towardzero): Likewise.
39659 (acos_test_downward): Likewise.
39660 (acos_test_upward): Likewise.
39661 (asin_test_tonearest): Likewise.
39662 (asin_test_towardzero): Likewise.
39663 (asin_test_downward): Likewise.
39664 (asin_test_upward): Likewise.
39665 (main): Call the new functions.
39666 * sysdeps/i386/fpu/libm-test-ulps: Update.
39667 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
39668
9568c0c2
JM
39669 [BZ #13884]
39670 [BZ #13924]
39671 * math/e_exp10.c: Include <float.h>.
39672 (__ieee754_exp10): Handle underflow here rather than multiplying
39673 large negative argument by M_LN10.
39674 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
39675 of __ieee754_expf.
39676 * math/e_exp10l.c: Include <float.h>.
39677 (__ieee754_exp10l): Handle underflow here rather than multiplying
39678 large negative argument by M_LN10l.
39679 * math/libm-test.inc (exp10_test): Add another test. Do not allow
39680 spurious overflow exception on underflow.
39681
5ac3ea17
MP
396822012-04-29 Marek Polacek <polacek@redhat.com>
39683
39684 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
39685 (__fortify_function): New macro.
39686 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
39687 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
39688 __extern_always_inline.
39689 * libio/bits/stdio2.h: Likewise.
39690 * libio/bits/stdio.h: Likewise.
39691 * string/string.h: Likewise.
39692 * string/bits/string3.h: Likewise.
39693 * include/stdio.h: Likewise.
39694 * stdlib/bits/stdlib.h: Likewise.
39695 * stdlib/stdlib.h: Likewise.
39696 * rt/bits/mqueue2.h: Likewise.
39697 * rt/mqueue.h: Likewise.
39698 * posix/bits/unistd.h: Likewise.
39699 * posix/unistd.h: Likewise.
39700 * io/bits/poll2.h: Likewise.
39701 * io/bits/fcntl2.h: Likewise.
39702 * io/fcntl.h: Likewise.
39703 * io/sys/poll.h: Likewise.
39704 * misc/bits/syslog.h: Likewise.
39705 * misc/bits/syslog-ldbl.h: Likewise.
39706 * misc/sys/syslog.h: Likewise.
39707 * socket/bits/socket2.h: Likewise.
39708 * socket/sys/socket.h: Likewise.
39709 * debug/tst-chk1.c: Likewise.
39710 * wcsmbs/bits/wchar2.h: Likewise.
39711 * wcsmbs/bits/wchar-ldbl.h: Likewise.
39712 * wcsmbs/wchar.h: Likewise.
39713
ecf0ebfb
AJ
397142012-04-29 Andreas Jaeger <aj@suse.de>
39715
39716 * Makerules (tests): Remove enable-check-abi protection.
39717 (check-abi-warn): Remove.
39718 (check-abi-%): Remove check-abi-warn usage.
39719
39720 * configure.in: Remove check-abi configure option.
39721 * configure: Regenerated.
39722 * config.make.in (enable-check-abi): Remove.
39723
6d5c57fa
AS
397242012-04-28 Andreas Schwab <schwab@linux-m68k.org>
39725
24c5d07e 39726 [BZ #14033]
ded5180a
AS
39727 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
39728 double functions to double *_finite functions.
39729
7e0d315d
AS
39730 [BZ #13941]
39731 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
39732 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
39733 LDBL_MIN_EXP.
39734 * stdio-common/Makefile (tests): Add tst-sprintf3.
39735 * stdio-common/tst-sprintf3.c: New file.
39736
6d5c57fa
AS
39737 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
39738 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
39739
0749ff8b
JM
397402012-04-28 Joseph Myers <joseph@codesourcery.com>
39741
39742 * conform/conformtest.pl: Remove duplicate typed-constant
39743 handling.
39744
8dbd5d7b
DM
397452012-04-28 David S. Miller <davem@davemloft.net>
39746
39747 * Makerules (%.abilist): Add vpath on sysdep_dirs.
39748 (check-abi-%): Remove AWK script prerequisite and explicit
39749 abilist directory.
39750 (check-abi): Rewrite to just diff the symlist with the abilist.
39751 (config-tls, config-abi-config): Delete, no longer used.
39752 (update-abi-%): Remove AWK script and explicit abilist directory.
39753 (update-abi): Rewrite to simply compare and conditionally copy the
39754 symlist and the sysdep abilist file. Remove update-abi-config
39755 checks.
39756 * abilist/ld.abilist: Remove.
39757 * abilist/libBrokenLocale.abilist: Remove.
39758 * abilist/libanl.abilist: Remove.
39759 * abilist/libcrypt.abilist: Remove.
39760 * abilist/libdl.abilist: Remove.
39761 * abilist/librt.abilist: Remove.
39762 * abilist/libthread_db.abilist: Remove.
39763 * abilist/libutil.abilist: Remove.
39764 * scripts/extract-abilist.awk: Remove.
39765 * scripts/merge-abilist.awk: Remove.
39766 * sysdeps/generic/libcidn.abilist: New file.
39767 * sysdeps/generic/libnss_compat.abilist: New file.
39768 * sysdeps/generic/libnss_db.abilist: New file.
39769 * sysdeps/generic/libnss_dns.abilist: New file.
39770 * sysdeps/generic/libnss_files.abilist: New file.
39771 * sysdeps/generic/libnss_hesiod.abilist: New file.
39772 * sysdeps/generic/libnss_nis.abilist: New file.
39773 * sysdeps/generic/libnss_nisplus.abilist: New file.
39774 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
39775 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
39776 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
39777 file.
39778 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
39779 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
39780 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
39781 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
39782 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
39783 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
39784 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
39785 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
39786 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
39787 file.
39788 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
39789 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
39790 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
39791 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
39792 file.
39793 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
39794 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
39795 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
39796 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
39797 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
39798 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
39799 file.
39800 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
39801 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
39802 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
39803 file.
39804 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
39805 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
39806 New file.
39807 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
39808 New file.
39809 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
39810 New file.
39811 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
39812 New file.
39813 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
39814 New file.
39815 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
39816 New file.
39817 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
39818 New file.
39819 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
39820 New file.
39821 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
39822 New file.
39823 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
39824 New file.
39825 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
39826 New file.
39827 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
39828 New file.
39829 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
39830 New file.
39831 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
39832 file.
39833 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
39834 New file.
39835 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
39836 New file.
39837 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
39838 file.
39839 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
39840 New file.
39841 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
39842 New file.
39843 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
39844 file.
39845 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
39846 New file.
39847 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
39848 New file.
39849 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
39850 New file.
39851 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
39852 New file.
39853 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
39854 New file.
39855 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
39856 New file.
39857 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
39858 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
39859 file.
39860 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
39861 New file.
39862 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
39863 file.
39864 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
39865 file.
39866 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
39867 file.
39868 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
39869 file.
39870 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
39871 file.
39872 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
39873 New file.
39874 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
39875 file.
39876 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
39877 file.
39878 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
39879 New file.
39880 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
39881 file.
39882 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
39883 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
39884 file.
39885 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
39886 New file.
39887 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
39888 file.
39889 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
39890 file.
39891 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
39892 file.
39893 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
39894 file.
39895 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
39896 file.
39897 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
39898 New file.
39899 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
39900 file.
39901 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
39902 file.
39903 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
39904 New file.
39905 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
39906 file.
39907 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
39908 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
39909 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
39910 file.
39911 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
39912 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
39913 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
39914 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
39915 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
39916 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
39917 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
39918 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
39919 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
39920 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
39921 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
39922 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
39923 file.
39924 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
39925 New file.
39926 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
39927 file.
39928 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
39929 file.
39930 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
39931 file.
39932 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
39933 file.
39934 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
39935 file.
39936 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
39937 New file.
39938 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
39939 New file.
39940 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
39941 file.
39942 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
39943 New file.
39944 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
39945 file.
39946 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
39947 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
39948 file.
39949 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
39950 New file.
39951 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
39952 file.
39953 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
39954 file.
39955 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
39956 file.
39957 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
39958 file.
39959 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
39960 file.
39961 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
39962 New file.
39963 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
39964 New file.
39965 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
39966 file.
39967 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
39968 New file.
39969 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
39970 file.
39971
41d73a1b
JM
399722012-04-28 Joseph Myers <joseph@codesourcery.com>
39973
39974 * conform/conformtest.pl: Fix typo in handling typed-constant from
39975 allow-header.
39976
28aeeda4
JM
399772012-04-27 Joseph Myers <joseph@codesourcery.com>
39978
adae8f5e
JM
39979 * README: Cut down references to pre-2.6 Linux kernels and
39980 Linuxthreads. Update lists of configurations in libc and ports
39981 and sort alphabetically. Say "or newer" with Linux kernel version
39982 requirements.
39983
28aeeda4
JM
39984 * config.h.in [IS_IN_build]: Allow compiling without optimization.
39985
a462cb63
RA
399862012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
39987
39988 [BZ #887]
39989 * math/libm-test.inc (logb_test_downward): New test to expose
39990 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
39991 rounding mode.
39992
6ad3493e
JM
399932012-04-27 Joseph Myers <joseph@codesourcery.com>
39994
39995 [BZ #14027]
39996 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
39997 to be done.
39998 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
39999 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
40000
2ce4f015
JM
400012012-04-26 Joseph Myers <joseph@codesourcery.com>
40002
5aeb141a
JM
40003 * sysdeps/unix/i386/brk.S: Remove file.
40004 * sysdeps/unix/i386/dl-brk.S: Likewise.
40005 * sysdeps/unix/i386/pipe.S: Likewise.
40006 * sysdeps/unix/i386/sigreturn.S: Likewise.
40007 * sysdeps/unix/i386/syscall.S: Likewise.
40008 * sysdeps/unix/i386/vfork.S: Likewise.
40009 * sysdeps/unix/i386/wait.S: Likewise.
40010
7143acae
JM
40011 * sysdeps/unix/common/tcsendbrk.c: Move to ...
40012 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
40013
2ce4f015
JM
40014 * configure.in (arm*-none*): Do not allow without
40015 --enable-hacker-mode.
40016 (netbsd*): Remove case setting base_os.
40017 (386bsd*): Likewise.
40018 (freebsd*): Likewise.
40019 (bsdi*): Likewise.
40020 (osf*): Likewise.
40021 (sunos*): Likewise.
40022 (ultrix*): Likewise.
40023 (newsos*): Likewise.
40024 (dynix*): Likewise.
40025 (*bsd*): Likewise.
40026 (sysv*): Likewise.
40027 (isc*): Likewise.
40028 (esix*): Likewise.
40029 (sco*): Likewise.
40030 (minix*): Likewise.
40031 (irix4*): Likewise.
40032 (irix6*): Likewise.
40033 (solaris[2-9]*): Likewise.
40034 (none): Likewise.
40035 * configure: Regenerated.
40036
0ac229c8
AZ
400372012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40038
40039 [BZ #11521]
40040 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
40041 overflow or cancellation in calculating denominator.
40042 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
40043 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
40044 down expression to avoid unexpected rounding in newer GCCs.
40045 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
40046
33f244f4
DM
400472012-04-26 David S. Miller <davem@davemloft.net>
40048
40049 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
40050 long-double compat symbols.
40051 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
40052 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
40053 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
40054 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
40055 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
40056 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
40057 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
40058 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
40059 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
40060 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
40061 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
40062 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
40063 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
40064
cfa1f3e8
DM
400652012-04-25 David S. Miller <davem@davemloft.net>
40066
40067 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
40068 HWCAP_* values only after the memory barriers have been defined.
40069 (atomic_full_barrier): Define.
40070 (atomic_read_barrier): Define.
40071 (atomic_write_barrier): Define.
40072
6e236b92
SP
400732012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
40074
40075 * shlib-versions: Add libgcc_s version information.
40076 * sysdeps/generic/libgcc_s.h: Remove.
40077 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
40078 libgcc_s.h.
40079 * sysdeps/gnu/unwind-resume.c: Likewise.
40080 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
40081
aab39a09
DM
400822012-04-25 David S. Miller <davem@davemloft.net>
40083
40084 * sysdeps/unix/sparc/brk.S: Delete.
40085 * sysdeps/unix/sparc/dl-brk.S: Delete.
40086 * sysdeps/unix/sparc/pipe.S: Delete.
40087 * sysdeps/unix/sparc/sysdep.S: Delete.
40088 * sysdeps/unix/sparc/sysdep.h: Delete.
40089 * sysdeps/unix/sparc/vfork.S: Delete.
57f41c40
AS
40090 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
40091 (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
40092 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
40093 (ret_ERRVAL, r0, r1, MOVE): Define.
aab39a09
DM
40094 (JUMPTARGET): Remove.
40095 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
40096 sysdeps/unix/sparc/sysdep.h
40097 (ENTRY, END): Remove.
40098 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
40099
a3cc4f48
JM
401002012-04-25 Joseph Myers <joseph@codesourcery.com>
40101
2ed8cda2
JM
40102 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
40103 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
40104 -DIS_IN_build.
40105
35d76d59
JM
40106 * timezone/README: Update upstream location and email address for
40107 tzcode and tzdata.
40108 * timezone/zdump.c: Update from tzcode 2012b.
40109 * timezone/zic.c: Likewise.
40110
a3cc4f48
JM
40111 * configure.in (libc_cv_as_needed): Remove test.
40112 * configure: Regenerated.
40113 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
40114 conditional definition.
40115 [$(have-as-needed) != yes] (no-as-needed): Likewise.
40116 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
40117 * config.make.in (have-as-needed): Remove variable.
40118
ceab42c3
SP
401192012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
40120 Paul Pluzhnikov <ppluzhnikov@google.com>
40121
40122 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
40123 strings correctly.
40124
3ce2865f
CLT
401252012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
40126
40127 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
40128 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
40129 * sysdeps/sh/strlen.S: Likewise.
40130
f37e0d68
JM
401312012-04-24 Joseph Myers <joseph@codesourcery.com>
40132
ae186e9a
JM
40133 * sysdeps/unix/fork.S: Remove file.
40134 * sysdeps/unix/i386/fork.S: Likewise.
40135 * sysdeps/unix/sparc/fork.S: Likewise.
40136
b96914af
JM
40137 * sysdeps/unix/system.c: Remove file.
40138 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
40139
f37e0d68
JM
40140 * sysdeps/unix/getegid.S: Remove file.
40141 * sysdeps/unix/geteuid.S: Likewise.
40142
87ef29ca
RM
401432012-04-24 Roland McGrath <roland@hack.frob.com>
40144
83bcd236
RM
40145 * scripts/check-localplt.awk: New file.
40146 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
40147 of diff.
40148 * scripts/data/localplt-generic.data: Add a comment.
40149
87ef29ca
RM
40150 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
40151 NODE when __dir_mkfile failed.
40152 * sysdeps/mach/hurd/symlinkat.c: Likewise.
40153 Reported by Ludovic Courtès <ludo@gnu.org>.
40154
e5a6e567
AJ
401552012-04-24 Andreas Jaeger <aj@suse.de>
40156
40157 * Makerules (common-clean): Also remove gen-as-const-headers
40158 files.
40159
c1820385
JM
401602012-04-24 Joseph Myers <joseph@codesourcery.com>
40161
40162 * Makerules (native-compile): Do not change working directory for
40163 build. Use $(OUTPUT_OPTION) in command.
40164 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
40165
94e02fc4
AZ
401662012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40167
40168 [BZ #13886]
40169 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
40170 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
40171 * math/libm-test.inc (floor_test): Add more tests.
40172 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
40173
3a533ca3
JM
401742012-04-24 Joseph Myers <joseph@codesourcery.com>
40175
940ab4b3
JM
40176 * sysdeps/unix/getdents.c: Remove file.
40177 * sysdeps/unix/sysv/getdents.c: Likewise.
40178 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
40179
90e037bd
JM
40180 * sysdeps/unix/syscalls.list (madvise): Add syscall from
40181 sysdeps/unix/mman/syscalls.list.
40182 (mmap): Likewise.
40183 (mprotect): Likewise.
40184 (msync): Likewise.
40185 (munmap): Likewise.
40186 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
40187 * sysdeps/unix/mman/syscalls.list: Remove.
40188 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
40189
3a533ca3
JM
40190 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
40191 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
40192 * configure: Regenerated.
40193 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
40194 $(libgcc_s_suffix).
40195 * config.make.in (libgcc_s_suffix): Remove variable.
40196
1ad743de
JM
401972012-04-23 Joseph Myers <joseph@codesourcery.com>
40198
4ad451e2
JM
40199 * sysdeps/unix/sysv/gethostname.c: Move to ...
40200 * sysdeps/posix/gethostname.c: ... here.
40201
5e37ce39
JM
40202 * sysdeps/unix/execve.S: Remove file.
40203
1ad743de
JM
40204 * sysdeps/unix/_exit.S: Remove file.
40205
4e681b5b
AJ
402062012-04-23 Andreas Jaeger <aj@suse.de>
40207
40208 [BZ #13739]
40209 * manual/Makefile: Remove make dist support, there's no
40210 need for a stand-alone documentation tar ball.
40211 (TEXI2DVI): Define always, it's not in Makeconfig.
40212 (dist): Removed.
40213 (tar-it): Removed.
40214 (edition): Removed.
40215 (glibc-doc-$(edition).tar): Removed
40216 (%.Z): Removed.
40217 (%.gz): Removed.
40218 (%.uu): Removed.
40219 (ETAGS): Remove, it's in Makeconfig.
40220 (move-if-change): Remove, it's in Makeconfig.
40221
38686a03 402222012-04-23 Paul Eggert <eggert@cs.ucla.edu>
c0baea34
PE
40223
40224 [BZ #13970]
40225 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
40226 (strtod, strtof, strtold, strtol, strtoul, strtoq)
40227 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
40228 (strtod_l, strtof_l, strtold_l): Remove __wur.
40229 It is not necessarily an error to ignore strtol's return value.
40230 One can reliably look at the stored endptr to decide whether
40231 the number had valid syntax.
40232
7c0616fa
AJ
402332012-04-21 Andreas Jaeger <aj@suse.de>
40234
803cb6b7 40235 [BZ #13739]
7c0616fa
AJ
40236 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
40237
b0fe253f
JM
402382012-04-21 Joseph Myers <joseph@codesourcery.com>
40239
40240 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
40241 * sysdeps/unix/sysv/Versions: Remove file.
40242
8280f22d
MT
402432012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
40244
40245 [BZ #13927]
40246 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
40247
75ce411f 402482012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
40249
40250 [BZ #7064]
40251 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
40252 version from __vm86.
40253
097d59fa
JM
402542012-04-20 Joseph Myers <joseph@codesourcery.com>
40255
a90f3bcb
JM
40256 * sysdeps/unix/common/lxstat.c: Remove file.
40257 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
40258
edc7ea78
JM
40259 * sysdeps/unix/sysv/Makefile: Remove file.
40260
cb78c221
JM
40261 * sysdeps/unix/sysv/direct.h: Remove file.
40262
efa6a45f
JM
40263 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
40264 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
40265 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
40266 * sysdeps/unix/sysv/bits/signum.h: Likewise.
40267 * sysdeps/unix/sysv/bits/stat.h: Likewise.
40268 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
40269 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
40270
9c9f2d0c
JM
40271 * sysdeps/unix/sysv/setrlimit.c: Remove file.
40272
4541c83b
JM
40273 * sysdeps/unix/xmknod.c: Remove file.
40274 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
40275
f5d153a0
JM
40276 * sysdeps/unix/sysv/settimeofday.c: Remove file.
40277
aa746595
JM
40278 * sysdeps/unix/sysv/i386/time.S: Remove file.
40279
cce5905e
JM
40280 * sysdeps/unix/fxstat.c: Remove file.
40281 * sysdeps/unix/xstat.c: Likewise.
40282 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
40283
37fa3841
JM
40284 * sysdeps/unix/sysv/sigaction.c: Remove file.
40285
ff1962a3
JM
40286 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
40287 (sysdep_headers): Remove variable.
40288 [termio.h not in sysdep_headers] (generated): Likewise.
40289 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
40290 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
40291 * sysdeps/unix/sysv/tcdrain.c: Likewise.
40292 * sysdeps/unix/sysv/tcflow.c: Likewise.
40293 * sysdeps/unix/sysv/tcflush.c: Likewise.
40294 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
40295 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
40296 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
40297 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
40298 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
40299
e7740d31
JM
40300 * sysdeps/unix/siglist.c: Remove file.
40301
ee06f18b
JM
40302 * sysdeps/unix/getppid.S: Remove file.
40303
097d59fa
JM
40304 * sysdeps/unix/mkdir.c: Remove file.
40305 * sysdeps/unix/rmdir.c: Likewise.
40306
ff3d51ec
AS
403072012-04-19 Andreas Schwab <schwab@linux-m68k.org>
40308
40309 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
40310 ERR_MAX value.
40311 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
40312 errlist-compat value.
40313
50f81fd7
DM
403142012-04-18 David S. Miller <davem@davemloft.net>
40315
40316 * sysdeps/generic/memcopy.h (reg_char): Delete.
40317 * debug/strcat_chk.c: Use char, not reg_char.
40318 * debug/strcpy_chk.c: Likewise.
40319 * debug/strncat_chk.c: Likewise.
40320 * debug/strncpy_chk.c: Likewise.
40321 * string/memchr.c: Likewise.
40322 * string/memrchr.c: Likewise.
40323 * string/rawmemchr.c: Likewise.
40324 * string/strcat.c: Likewise.
40325 * string/strchr.c: Likewise.
40326 * string/strchrnul.c: Likewise.
40327 * string/strcmp.c: Likewise.
40328 * string/strcpy.c: Likewise.
40329 * string/strncat.c: Likewise.
40330 * string/strncmp.c: Likewise.
40331 * string/strncpy.c: Likewise.
40332
8ff41c46
WS
403332012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
40334
40335 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
40336 __builtin_memcopy is called when src and dest ranges are known to not
40337 overlap.
40338
6b652f46
WS
403392012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
40340
40341 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
40342 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
40343 fwd_align_merge macro call.
40344 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
40345 bwd_align_merge macro call.
40346 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
40347
b282631e
WS
403482012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
40349
40350 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
40351 bwd_align_merge macros.
40352 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
40353 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
40354 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
40355
95aa737c
DM
403562012-04-18 David S. Miller <davem@davemloft.net>
40357
40358 * sysdeps/sparc/sparc64/memcopy.h: Delete.
40359
7a99a614
AJ
403602012-04-18 Andreas Jaeger <aj@suse.de>
40361
40362 [BZ# 6794]
40363 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
40364 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
40365 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
40366
40367 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
40368 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
40369 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
40370
40371 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
40372 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
40373 Adjust for changed ldbl-128 files.
40374
40375 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
40376 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
40377 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
40378
e5270c23
DM
403792012-04-17 David S. Miller <davem@davemloft.net>
40380
40381 * sysdeps/sparc/sparc32/memcopy.h: Delete.
40382
fb5e92c9
AS
403832012-04-17 Andreas Schwab <schwab@linux-m68k.org>
40384
40385 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
40386 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
40387 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
40388 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
40389 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
40390 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
40391
76da7265
AZ
403922012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40393
40394 [BZ #6794]
40395 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
40396 * math/libm-test.inc: Add ilogb errno and exception tests.
40397 * math/w_ilogb.c: New file: ilogb wrapper.
40398 * math/w_ilogbf.c: New file: ilogbf wrapper.
40399 * math/w_ilogbl.c: New file: ilogbl wrapper.
40400 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
40401 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
40402 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
40403 exception being thrown with 0.0 as argument.
40404 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
40405 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
40406 exception being thrown with 0.0 as argument.
40407 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
40408 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
40409 exception being thrown with 0.0 as argument.
40410 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
40411 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
40412 exception being thrown with 0.0 as argument.
40413 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
40414 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 40415 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
40416 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
40417 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
40418 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
40419 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
40420 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
40421 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
40422
0396e69d
PB
404232012-04-17 Petr Baudis <pasky@ucw.cz>
40424
40425 * include/sys/uio.h: Change __vector to __iovec to avoid clash
40426 with altivec.
40427
750b5926
MP
404282012-04-16 Marek Polacek <polacek@redhat.com>
40429
40430 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
40431
751728a1
MP
404322012-04-16 Marek Polacek <polacek@redhat.com>
40433
40434 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
40435 operands of fdivp instruction.
40436
34a27407
L
404372012-04-13 H.J. Lu <hongjiu.lu@intel.com>
40438
40439 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
40440 * elf/tst-auditmod3b.c: Likewise.
40441 * elf/tst-auditmod4b.c: Likewise.
40442 * elf/tst-auditmod5b.c: Likewise.
40443 * elf/tst-auditmod6b.c: Likewise.
40444 * elf/tst-auditmod6c.c: Likewise.
40445 * elf/tst-auditmod7b.c: Likewise.
40446 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
40447 * sysdeps/x86_64/preconfigure.in: Likewise.
40448 * sysdeps/x86_64/preconfigure: Regenerated.
40449
7e73e17d
L
404502012-04-13 H.J. Lu <hongjiu.lu@intel.com>
40451
40452 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
40453 __ILP32__.
40454
c7a6ab72
AB
404552012-04-13 Antoine Balestrat <merkil33@gmail.com>
40456
40457 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
40458 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
40459
a9e8e0e0
CL
404602012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
40461
40462 [BZ #13973]
40463 * locale/iso-639.def: Fix gl language name. Spotted by
40464 Yaron Shahrabani.
40465
ec98af7d
RM
404662012-04-12 Roland McGrath <roland@hack.frob.com>
40467
40468 [BZ #2074]
40469 * libio/libio.h (__io_write_fn): Update comment.
40470
247c3ede
PB
404712012-04-12 Petr Baudis <pasky@ucw.cz>
40472
40473 [BZ #2074]
40474 * stdio.texi (Hook Functions): The user provided writer function
40475 is not allowed to return -1.
40476
55939d6d
DM
404772012-04-11 David S. Miller <davem@davemloft.net>
40478
40479 * sysdeps/sparc/fpu/libm-test-ulps: Update.
40480
90020f5a
MF
404812012-04-11 Mike Frysinger <vapier@gentoo.org>
40482
40483 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
40484 Add a leading slash to rtkaio.
40485
288f9098
JM
404862012-04-11 Jim Meyering <meyering@redhat.com>
40487
90020f5a
MF
40488 [BZ #11959]
40489 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
40490 It is not necessarily an error to ignore fwrite's return
40491 value. One can reliably use ferror to test for errors after
40492 the fact.
288f9098 40493
4be2b570
L
404942012-04-10 H.J. Lu <hongjiu.lu@intel.com>
40495
40496 * bits/types.h (__snseconds_t): New type.
40497 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
40498
40499 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
40500 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
40501 (__SNSECONDS_T_TYPE): Likewise.
40502 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
40503 (__SNSECONDS_T_TYPE): Likewise.
40504 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
40505 (__SNSECONDS_T_TYPE): Likewise.
40506
288f9098 405072012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
40508
40509 [BZ #2636]
40510 * manual/time.texi (Processor Time): Return type of times is
40511 elapsed real time since an arbitrary point in the past.
40512 (CPU Time): Move CLK_TCK from here...
40513 (Processor Time): ...to here. Correct description.
40514 * manual/conf.texi (Constants for Sysconf): Correct description of
40515 _SC_CLK_TCK.
40516
d7dd4413
DM
405172012-04-10 David S. Miller <davem@davemloft.net>
40518
40519 [BZ #13967]
40520 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
40521 where the is a gap between DT_REL(A) and DT_JMPREL.
40522
b46068fc
L
405232012-04-10 H.J. Lu <hongjiu.lu@intel.com>
40524
40525 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
40526 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
40527 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
40528
73d65cc3
SP
405292012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
40530
40531 * elf/dl-support.c (_dl_inhibit_cache): New variable.
40532 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
40533 (dl_main): Handle --inhibit-cache.
40534 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
40535 _dl_inhibit_cache.
40536 * elf/dl-load.c (_dl_map_object): Use it.
40537 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
40538
bcc8d661
JM
405392012-04-09 Joseph Myers <joseph@codesourcery.com>
40540
8f9a2fae
JM
40541 [BZ #13872]
40542 * sysdeps/i386/fpu/e_powl.S (p78): New object.
40543 (__ieee754_powl): Saturate large exponents rather than testing for
40544 overflow of y*log2(x).
40545 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
40546 * math/libm-test.inc (pow_test): Do not permit spurious overflow
40547 exceptions.
40548
bcc8d661
JM
40549 [BZ #11521]
40550 * math/s_ctan.c: Include <float.h>.
40551 (__ctan): Avoid internal overflow or cancellation in calculating
40552 denominator.
40553 * math/s_ctanf.c: Likewise.
40554 * math/s_ctanl.c: Likewise.
40555 * math/s_ctanh.c: Likewise.
40556 * math/s_ctanhf.c: Likewise.
40557 * math/s_ctanhl.c: Likewise.
40558 * math/libm-test.inc (ctan_test): Add more tests.
40559 (ctanh_test): Likewise.
40560 * sysdeps/i386/fpu/libm-test-ulps: Update.
40561 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40562
823fbbb4
AJ
405632012-04-09 Andreas Jaeger <aj@suse.de>
40564
03879793
AJ
40565 [BZ #6894]
40566 * manual/filesys.texi (Directory Entries): Mention that d_namlen
40567 is an optional BSD extension.
40568
823fbbb4
AJ
40569 [BZ #10254]
40570 * manual/stdio.texi (Opening Streams): Document additional fopen
40571 parameters.
40572
8de131cb
RM
405732012-04-09 Roland McGrath <roland@hack.frob.com>
40574
40575 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
40576 %eax without telling the compiler.
40577
c0ed9d7d
CD
405782012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
40579
40580 [BZ # 13963]
40581 * manual/install.texi: Use sourceware.org.
40582
c483f6b4
JM
405832012-04-09 Joseph Myers <joseph@codesourcery.com>
40584
d7dd9453
JM
40585 [BZ #13873]
40586 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
40587 (__ieee754_pow): Generate overflow and underflow using huge*huge
40588 and tiny*tiny rather than just returning constant infinity or zero
40589 for large exponents.
40590 * math/libm-test.inc (pow_test): Require overflow exceptions for
40591 applicable cases of large exponents.
40592
c483f6b4
JM
40593 [BZ #706]
40594 * sysdeps/i386/fpu/e_pow.S (p10): New object.
40595 (__ieee754_pow): Use iterative multiplication algorithm only for
40596 integer exponents with absolute value below 1024. Check for odd
40597 integer exponents when using algorithm for real exponents.
40598 * math/libm-test.inc (pow_test): Add more tests.
40599 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
40600
d2de7579
JM
406012012-04-08 Joseph Myers <joseph@codesourcery.com>
40602
40603 [BZ #13705]
40604 * math/libm-test.inc (exp_test): Do not allow overflow exception
40605 on underflow test.
40606
f77f1232
AJ
406072012-04-08 Aurelien Jarno <aurelien@aurel32.net>
40608
40609 [BZ #13705]
40610 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
40611 instead of __kernel_standard_f.
40612
3884932b
MF
406132012-04-08 Mike Frysinger <vapier@gentoo.org>
40614
40615 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
40616 * sysdeps/x86_64/memset_chk.S: Likewise.
40617
54472e9c
AJ
406182012-04-08 Andreas Jaeger <aj@suse.de>
40619
6ab0fbfc
AJ
40620 [BZ #10153]
40621 * manual/startup.texi (Environment Access): Describe return value
40622 for putenv and setenv.
40623
61efba8c
AJ
40624 [BZ #6895]
40625 * manual/filesys.texi (Directory Entries): Add description for
40626 DT_LNK.
40627
95c3f29a
AJ
40628 [BZ #6890]
40629 * manual/filesys.texi (Directory Entries): Clarify that it's file
40630 system not operating system in the description of DT_UNKNOWN.
40631
54472e9c
AJ
40632 [BZ #6578]
40633 * manual/syslog.texi (closelog): Fix reference, it's openlog.
40634
624254b1
SC
406352012-04-08 Stephen Compall <s11@member.fsf.org>
40636
40637 [BZ #6649]
40638 * manual/llio.texi (Opening and Closing Files): Add cross
40639 reference to explain mode argument.
40640
1e4920e0
MF
406412012-04-07 Mike Frysinger <vapier@gentoo.org>
40642
40643 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
40644 * sysdeps/x86_64/memset_chk.S: Likewise.
40645
5ed848f3
DM
406462012-04-07 David S. Miller <davem@davemloft.net>
40647
40648 * elf/elf.h (R_SPARC_WDISP10): Define.
40649 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
40650 R_SPARC_SIZE32.
40651 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
40652 R_SPARC_SIZE64 and R_SPARC_H34.
40653
96154cd8
CD
406542012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
40655
40656 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
40657 conditions and remove no longer applicable assertion.
40658
9904dc47
L
406592012-04-06 H.J. Lu <hongjiu.lu@intel.com>
40660
40661 * bits/byteswap.h: Include <features.h>.
40662 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
40663 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
40664
f8887d0a
L
406652012-04-06 H.J. Lu <hongjiu.lu@intel.com>
40666
40667 * bits/byteswap.h (__bswap_16): Removed.
40668 Include <bits/byteswap-16.h> to get __bswap_16.
40669 * sysdeps/i386/bits/byteswap.h: Likewise.
40670 * sysdeps/s390/bits/byteswap.h: Likewise.
40671 * sysdeps/x86_64/bits/byteswap.h: Likewise.
40672 * bits/byteswap-16.h: New file.
40673 * sysdeps/i386/bits/byteswap-16.h: Likewise.
40674 * sysdeps/s390/bits/byteswap-16.h: Likewise.
40675 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
40676 * string/Makefile (headers): Add bits/byteswap-16.h.
40677
62470f60
PP
406782012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
40679
40680 [BZ #13895]
40681 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
40682 extra indirection.
40683 * nss/Makefile (tests-static, tests): Add tst-nss-static.
40684 * nss/tst-nss-static.c: New.
40685
4dad7bab
RM
406862012-04-06 Robert Millan <rmh@gnu.org>
40687
40688 [BZ #6486]
40689 * manual/llio.texi (File Position Primitive): lseek
40690 refers to WHENCE when it really means OFFSET.
40691
e9142a17
AJ
406922012-04-06 Andreas Jaeger <aj@suse.de>
40693
2c040eff
AJ
40694 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
40695 strncmp declarations.
40696
e9142a17
AJ
40697 * abilist/libc.abilist: Add __poll and __ppoll.
40698
ff9f1c5f
DM
406992012-04-05 David S. Miller <davem@davemloft.net>
40700
dcd2ae90
DM
40701 * scripts/check-local-headers.sh: Accept a host triplet in the
40702 path matched by the exclude regexp.
40703
993eb054
DM
40704 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
40705 definition.
40706 * sysdeps/powerpc/powerpc32/dl-machine.h
40707 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
40708 * sysdeps/s390/s390-32/dl-machine.h
40709 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
40710 * sysdeps/sparc/sparc32/dl-machine.h
40711 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
40712 * sysdeps/sparc/sparc64/dl-machine.h
40713 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
40714
ff9f1c5f
DM
40715 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
40716 lazy binding.
48e2e132 40717 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
40718 undefined symbol errors.
40719
48e2e132 40720 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
40721 DT_NEEDED entries.
40722
e80d6f94
MM
407232012-04-05 Michael Matz <matz@suse.de>
40724
40725 [BZ #13592]
40726 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
40727
349fa79f
AJ
407282012-04-05 Andreas Jaeger <aj@suse.de>
40729
40730 [BZ #13908]
40731 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
40732 comment.
40733
f402708f
KK
407342012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
40735
40736 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
40737 which ROUND is no valid rounding mode.
40738
2ecccfc9
KK
407392012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
40740
40741 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
40742 read again.
40743 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
40744
8a53f50f
KK
407452012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
40746
40747 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
40748 an exception using FPU order intentionally.
40749
407502012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
40751
40752 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
40753 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
40754 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
40755 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
40756
d653abb7
SJ
407572012-04-05 Simon Josefsson <simon@josefsson.org>
40758
40759 [BZ #12340]
40760 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
40761 EINVAL when BUFLEN is too smal.
40762
c3b1bf7d
TS
407632012-04-05 Thomas Schwinge <thomas@codesourcery.com>
40764
40765 [BZ #13553]
40766 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
40767 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
40768
b1aa60f3
AJ
407692012-04-03 Andreas Jaeger <aj@suse.de>
40770
c3b1bf7d 40771 [BZ #13938]
67f60a26
AJ
40772 * manual/setjmp.texi (System V contexts): Fix sentence.
40773
b1aa60f3
AJ
40774 [BZ #13926]
40775 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
40776 New macro for this case.
40777 [!__GNUC__] (__bswap_64): New inline function for this case.
40778 * sysdeps/x86_64/bits/byteswap.h: Likewise.
40779 * bits/byteswap.h: Likewise.
40780 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
40781 ull, guard with __GLIBC_HAVE_LONG_LONG.
40782
40783 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
40784 __GLIBC_HAVE_LONG_LONG.
40785
40786 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
40787 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
40788
39c59c35
TMQMF
407892012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
40790
40791 [BZ #13691]
40792 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
40793 inptr and inend, rather than using last_ch.
40794
135ffda8
DM
407952012-04-02 David S. Miller <davem@davemloft.net>
40796
40797 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
40798 * stdio-common/printf-parse.h (read_int): Change return type to
40799 'int', return -1 on INT_MAX overflow.
40800 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
40801 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
40802 overflows INT_MAX. Check for overflow of in-format-string precision
40803 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
40804 SIZE_MAX not INT_MAX for integer overflow test.
40805 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
40806 skip the construct in the format string but do not record anything.
40807 * stdio-common/bug22.c: Adjust to test both width/prevision
40808 INT_MAX overflow as well as total length INT_MAX overflow. Check
40809 explicitly for proper errno values.
40810
228c019e
TS
408112012-04-02 Thomas Schwinge <thomas@codesourcery.com>
40812
302cadd3
TS
40813 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
40814 CHAR_MAX.
40815 * string/test-strcmp.c [! WIDE]: Likewise.
40816 * time/tst-mktime2.c: Likewise for INT_MAX.
40817 * string/test-string.h: #include <sys/param.h> for MIN.
40818
228c019e
TS
40819 * csu/init-first.c (__libc_init_first): Call __ctype_init.
40820 * sysdeps/i386/init-first.c (init): Likewise.
40821 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
40822 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
40823 * sysdeps/sh/init-first.c (init): Likewise.
40824
cfa633f5
UD
408252012-04-01 Ulrich Drepper <drepper@gmail.com>
40826
40827 * po/ru.po: Update from translation team.
d1635ef8 40828 * po/vi.po: Likewise.
cfa633f5 40829
6cd0a5ea
SP
408302012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
40831
40832 * resolv/nss_dns/dns-host.c: Merge copyright years.
40833
4b43400f
LD
408342012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
40835
40836 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
40837 Optimize memcpy with prefetch if
40838 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
40839 src, dst pointers have unequal 16 byte alignments.
40840
48c41d04
SP
408412012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
40842
40843 [BZ #13928]
40844 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
40845 from a CNAME entry and return the minimum ttl for the query.
40846 (gaih_getanswer_slice): Likewise.
40847
b8dc394d
JL
408482012-03-30 Jeff Law <law@redhat.com>
40849
40850 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
40851 due to long keys.
40852 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
40853 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
40854
2f5a5ed0
JL
40855 * resolv/nss_dns/dns-host.c: Update copyright year.
40856
1d39e359
UD
408572012-03-30 Ulrich Drepper <drepper@gmail.com>
40858
c030f70c 40859 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 40860 requests to save a system call. Fix check that all bytes are sent.
c030f70c 40861
1d39e359
UD
40862 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
40863 comments for sendmmsg.
40864
408652012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
40866
40867 [BZ #13691]
40868 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
40869 with only 1 character between 0x0041 and 0x01b0.
40870 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
40871 * wcsmbs/tst-mbsnrtowcs.c: New file.
40872
20fde227
DM
408732012-03-29 David S. Miller <davem@davemloft.net>
40874
40875 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
40876 small copies by hand.
40877
984a4237
JL
408782012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
40879
40880 [BZ #13761]
57f41c40
AS
40881 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
40882 (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
40883 group memberships.
984a4237 40884
18c9d62b
DM
408852012-03-28 David S. Miller <davem@davemloft.net>
40886
88d85d4f
DM
40887 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
40888 that branches into memcpy.
40889 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
40890 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
40891 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
40892 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
40893 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
40894 bits.
40895 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
40896 implementation too.
40897 * sysdeps/sparc/mempcpy.S: New file.
40898
e5aa83e1
DM
40899 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
40900 the IFUNC routine in the libc case.
40901 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
40902
88570753
DM
40903 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
40904 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
40905 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
40906 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
40907 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
40908 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
40909 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
40910 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
40911
249d7567
DM
40912 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
40913 loop to 256 bytes instead of 64 bytes and fix test signedness.
40914
18c9d62b
DM
40915 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
40916 * sysdeps/sparc/sparc32/Makefile: rather than here...
40917 * sysdeps/sparc/sparc64/Makefile: and here.
40918
05f3d1f6
UD
409192012-03-28 Ulrich Drepper <drepper@gmail.com>
40920
40921 * malloc/mallocbug.c: Avoid warnings about unused variables.
40922
86ae07a8
JL
409232012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
40924
40925 [BZ #13760]
40926 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
40927 in the right place. Discard and retry query if response is
40928 larger than input buffer size.
40929
41bf21a1
JM
409302012-03-28 Joseph Myers <joseph@codesourcery.com>
40931
d6270972
JM
40932 [BZ #369]
40933 [BZ #2678]
40934 [BZ #3866]
40935 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
40936 x for large integer exponent.
40937 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
40938 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
40939 sign of result as needed afterwards.
40940 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
40941 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
40942 result for underflowing pow the same as for overflow.
40943 (__kernel_standard_l): Handle powl overflow and underflow here
40944 rather than calling __kernel_standard.
40945 * math/libm-test.inc (pow_test): Add more tests.
40946
414fca03 40947 [BZ #3868]
41bf21a1
JM
40948 [BZ #13879]
40949 [BZ #13910]
40950 [BZ #13911]
40951 [BZ #13912]
40952 [BZ #13913]
40953 [BZ #13915]
40954 [BZ #13916]
40955 [BZ #13917]
40956 [BZ #13918]
40957 [BZ #13919]
40958 [BZ #13920]
40959 [BZ #13921]
40960 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
40961 * sysdeps/ieee754/k_standard.c: Include <float.h>.
40962 (__kernel_standard_l): New function.
40963 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
40964 __kernel_standard.
40965 * math/w_acosl.c (__acosl): Likewise.
40966 * math/w_asinl.c (__asinl): Likewise.
40967 * math/w_atan2l.c (__atan2l): Likewise.
40968 * math/w_atanhl.c (__atanhl): Likewise.
40969 * math/w_coshl.c (__coshl): Likewise.
40970 * math/w_exp10l.c (__exp10l): Likewise.
40971 * math/w_exp2l.c (__exp2l): Likewise.
40972 * math/w_fmodl.c (__fmodl): Likewise.
40973 * math/w_hypotl.c (__hypotl): Likewise.
40974 * math/w_j0l.c (__j0l, __y0l): Likewise.
40975 * math/w_j1l.c (__j1l, __y1l): Likewise.
40976 * math/w_jnl.c (__jnl, __ynl): Likewise.
40977 * math/w_lgammal.c (__lgammal): Likewise.
40978 * math/w_log10l.c (__log10l): Likewise.
40979 * math/w_log2l.c (__log2l): Likewise.
40980 * math/w_logl.c (__logl): Likewise.
40981 * math/w_powl.c (__powl): Likewise.
40982 * math/w_remainderl.c (__remainderl): Likewise.
40983 * math/w_scalbl.c (sysv_scalbl): Likewise.
40984 * math/w_sinhl.c (__sinhl): Likewise.
40985 * math/w_sqrtl.c (__sqrtl): Likewise.
40986 * math/w_tgammal.c (__tgammal): Likewise.
40987 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
40988 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
40989 * math/libm-test.inc (acos_test): Add more tests.
40990 (acosh_test): Likewise.
40991 (asin_test): Likewise.
40992 (atanh_test): Likewise.
40993 (exp_test): Likewise.
40994 (exp10_test): Likewise.
40995 (exp2_test): Likewise.
40996 (expm1_test): Likewise.
40997 (lgamma_test): Likewise.
40998 (log_test): Likewise.
40999 (log10_test): Likewise.
41000 (log1p_test): Likewise.
41001 (log2_test): Likewise.
41002 (pow_test): Do not allow some spurious overflow exceptions.
41003 (sqrt_test): Add more tests.
41004 (tgamma_test): Likewise.
41005 (y0_test): Likewise.
41006 (y1_test): Likewise.
41007 (yn_test): Likewise.
41008
dd62fda6
AB
410092012-03-27 Anton Blanchard <anton@samba.org>
41010
41011 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
41012 MAP_HUGETLB.
41013 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
41014 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
41015 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
41016
1e3cdfda
AJ
410172012-03-27 David S. Miller <davem@davemloft.net>
41018
b855ab85
DM
41019 * conform/Makefile: Run run-conformtest.sh using $(BASH).
41020
1e3cdfda
AJ
41021 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
41022 have-as-vis3 check.
41023
410242012-03-27 Andreas Jaeger <aj@suse.de>
41025
41026 * sysdeps/x86_64/elf/configure.in: Moved to ...
41027 * sysdeps/x86_64/configure.in: ... here.
41028 * sysdeps/x86_64/elf/start.S: Moved to ...
41029 * sysdeps/x86_64/start.S: ... here.
41030 * sysdeps/x86_64/elf/configure: Delete.
41031
41032 * sysdeps/x86_64/configure.in: Merge contents from
41033 sysdeps/i386/configure.in (without i686 check).
41034
41035 * sysdeps/i386/elf/Versions: Merge into ...
41036 * sysdeps/i386/Versions: ... this.
41037 * sysdeps/i386/elf/Versions: Delete file.
41038 * sysdeps/i386/elf/start.S: Moved to ...
41039 * sysdeps/i386/start.S: ...here.
41040 * sysdeps/i386/elf/configure.in: Merge into...
41041 * sysdeps/i386/configure.in: ...here.
41042 * sysdeps/i386/elf/configure.in: Delete file.
41043 * sysdeps/i386/elf/configure: Delete file.
41044
41045 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
41046 * debug/backtracesyms.c: ... here.
41047 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
41048 * debug/backtracesymsfd.c: ... here.
41049 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
41050 * sysdeps/generic/ifunc-sel.h: ... here.
41051
41052 * sysdeps/unix/i386/start.c: Delete file.
41053 * sysdeps/unix/sparc/start.c: Delete file.
41054 * sysdeps/unix/start.c: Delete file.
41055
41056 * sysdeps/sh/elf/configure.in: Moved to ...
41057 * sysdeps/sh/configure.in: ... here.
41058 * sysdeps/sh/elf/start.S: Moved to ...
41059 * sysdeps/sh/start.S: ... here.
41060 * sysdeps/sh/elf/configure: Delete file.
41061
41062 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
41063 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
41064 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
41065 * sysdeps/powerpc/powerpc64/entry.h: ... here.
41066 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
41067 * sysdeps/powerpc/powerpc64/start.S: here.
41068 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
41069 * sysdeps/powerpc/powerpc64/Makefile: ... this.
41070 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
41071 * sysdeps/powerpc/powerpc64/configure.in: ... this.
41072 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
41073
41074 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
41075 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
41076 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
41077 * sysdeps/powerpc/powerpc32/start.S: ... here.
41078 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
41079 * sysdeps/powerpc/powerpc32/configure.in: ... this.
41080 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
41081
41082 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
41083 * sysdeps/powerpc/ifunc-sel.h: ... here.
41084 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
41085 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
41086
41087 * sysdeps/sparc/elf/configure.in: Moved to ...
41088 * sysdeps/sparc/configure.in: ... here.
41089 * sysdeps/sparc/elf/configure: Delete file.
41090 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
41091 * sysdeps/sparc/sparc32/start.S: ... here.
41092 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
41093 * sysdeps/sparc/sparc64/start.S: ... here.
41094 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
41095 * sysdeps/sparc/sparc32/Makefile: ... this.
41096 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
41097 * sysdeps/sparc/sparc64/Makefile: ... this.
41098
41099 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
41100 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
41101 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
41102 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
41103 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
41104 * sysdeps/s390/s390-32/setjmp.S: ... here.
41105 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
41106 * sysdeps/s390/s390-32/configure.in: ... here.
41107 * sysdeps/s390/s390-32/elf/configure: Delete file.
41108 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
41109 * sysdeps/s390/s390-32/start.S: ... here.
41110
41111 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
41112 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
41113 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
41114 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
41115 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
41116 * sysdeps/s390/s390-64/setjmp.S: ... here.
41117 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
41118 * sysdeps/s390/s390-64/configure.in: ... here
41119 * sysdeps/s390/s390-64/elf/configure: Delete file.
41120 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
41121 * sysdeps/s390/s390-64/start.S: ... here.
41122 * sysdeps/s390/s390-64/elf/configure: Delete.
41123
41124 * configure.in: Remove support for elf directories in sysdeps.
41125
41126 * configure: Regenerated.
41127 * sysdeps/i386/configure: Regenerated.
41128 * sysdeps/powerpc/powerpc32/configure: Regenerated.
41129 * sysdeps/powerpc/powerpc64/configure: Regenerated.
41130 * sysdeps/s390/s390-32/configure: Regenerated.
41131 * sysdeps/s390/s390-64/configure: Regenerated.
41132 * sysdeps/sh/configure: Regenerated.
41133 * sysdeps/sparc/configure: Regenerated.
41134 * sysdeps/x86_64/configure: Regenerated.
41135
a3f61311
AS
411362012-03-26 Andreas Schwab <schwab@linux-m68k.org>
41137
c876e002
AS
41138 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41139
a3f61311
AS
41140 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
41141 denormal result into account.
41142
ac4c54f0
RM
411432012-03-25 Roland McGrath <roland@hack.frob.com>
41144
41145 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
41146 Reported by Allan McRae <allan@archlinux.org>.
41147
6a9b9c02
JL
411482012-03-23 Jeff Law <law@redhat.com>
41149
41150 * nss/getnssent.c (__nss_getent): Fix typo.
41151
4c42a0c1
DM
411522012-03-23 David S. Miller <davem@davemloft.net>
41153
41154 * sysdeps/sparc/fpu/libm-test-ulps: Update.
41155
1532c7ac
L
411562012-03-23 H.J. Lu <hongjiu.lu@intel.com>
41157
41158 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
41159 to pad to uint64_t for each field.
41160 (dl_tls_index): Replace unsigned long with uint64_t.
41161
3ff42526
PP
411622012-03-23 Daniel Jacobowitz <dmj@google.com>
41163 Paul Pluzhnikov <ppluzhnikov@google.com>
41164
41165 [BZ #6528]
41166 * grp/Makefile (otherlibs): Don't set it.
41167 * inet/Makefile (otherlibs): Likewise.
41168 * login/Makefile (otherlibs): Likewise.
41169 * nscd/Makefile (otherlibs): Likewise.
41170 * posix/Makefile (otherlibs): Likewise.
41171 * pwd/Makefile (otherlibs): Likewise.
41172 * rt/Makefile (otherlibs): Likewise.
41173 * sunrpc/Makefile (otherlibs): Likewise.
41174 * nss/Makefile (otherlibs): Likewise.
41175 Add libnss_files to routines and static-only-routines.
41176 ($(objpfx)getent): Remove rule.
41177 * resolv/Makefile: Add libnss_dns and libresolv to routines and
41178 static-only-routines.
41179
7c69cd14
JM
411802012-03-22 Joseph Myers <joseph@codesourcery.com>
41181
41182 [BZ #13892]
41183 * math/s_cexp.c: Include <float.h>.
41184 (__cexp): Handle exp result overflowing not necessarily
41185 overflowing both real and imaginary parts of result.
41186 * math/s_cexpf.c: Likewise.
41187 * math/s_cexpl.c: Likewise.
41188 * math/libm-test.inc (cexp_test): Add more tests.
41189 * sysdeps/i386/fpu/libm-test-ulps: Update.
41190 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41191
81b035fe
L
411922012-03-22 H.J. Lu <hongjiu.lu@intel.com>
41193
41194 * include/link.h (ELFW): New macro.
41195 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
41196 Replace ELF64_R_TYPE with ELFW(R_TYPE).
41197
1da7940c
L
411982012-03-22 H.J. Lu <hongjiu.lu@intel.com>
41199
41200 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
41201 with uint64_t.
41202
b749dbb9
L
412032012-03-22 H.J. Lu <hongjiu.lu@intel.com>
41204
41205 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
41206 declaration.
41207 (struct La_x32_retval): Likewise.
41208
2ff87f3f
L
412092012-03-22 H.J. Lu <hongjiu.lu@intel.com>
41210
41211 * sysdeps/x86_64/preconfigure.in: New file.
41212 * sysdeps/x86_64/preconfigure: New generated file.
41213
c0df8e69
JM
412142012-03-22 Joseph Myers <joseph@codesourcery.com>
41215
48e44791
JM
41216 [BZ #13824]
41217 * math/e_exp2l.c: Include <float.h>.
41218 (__ieee754_exp2l): Handle overflow and underflow cases
41219 separately. Only pass fractional part of argument to
41220 __ieee754_expl.
41221 * math/libm-test.inc (exp2_test): Add more tests.
41222
c0df8e69
JM
41223 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
41224 negating x to take absolute value.
41225 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
41226 Likewise.
41227 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
41228 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
41229 Likewise.
41230 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
41231 computing low part if x was negated.
41232 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
41233
c8e43ba7
L
412342012-03-21 H.J. Lu <hongjiu.lu@intel.com>
41235
41236 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
41237 la_x32_gnu_pltexit.
41238 (pltexit): Cast int_retval to ptrdiff_t.
41239 * elf/tst-auditmod3b.c: Likewise.
41240 * elf/tst-auditmod4b.c: Likewise.
41241 * elf/tst-auditmod5b.c: Likewise.
41242 * elf/tst-auditmod6b.c: Likewise.
41243 * elf/tst-auditmod6c.c: Likewise.
41244 * elf/tst-auditmod7b.c: Likewise.
41245
41246 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
41247 and x32_gnu_pltexit.
41248
41249 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
41250 __ELF_NATIVE_CLASS.
41251 (La_x32_regs): New macro.
41252 (La_x32_retval): Likewise.
41253 (la_x32_gnu_pltenter): New function prototype.
41254 (la_x32_gnu_pltexit): Likewise.
41255
7998fa78
AS
412562012-03-21 Andreas Schwab <schwab@linux-m68k.org>
41257
dcb33988
AS
41258 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
41259 exponent.
41260
233fc563
AS
41261 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41262
7998fa78
AS
41263 * configure.in (libc_cv_cc_nofma): Check for option to disable
41264 generation of FMA instructions.
41265 * configure: Regenerate.
41266 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
41267 * sysdeps/ieee754/dbl-64/Makefile: New file.
41268 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
41269 Remove brandred-fma4.
41270 (CFLAGS-brandred-fma4.c): Remove.
41271 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
41272 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
41273 define.
41274 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
41275 define.
41276
8e95c99a
L
412772012-03-21 H.J. Lu <hongjiu.lu@intel.com>
41278
41279 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
41280 LLONG_MAX != LONG_MAX.
41281 (_itoa_word): Use _ITOA_WORD_TYPE on value.
41282 (_fitoa_word): Likewise.
41283 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
41284 LLONG_MAX != LONG_MAX.
41285 * stdio-common/_itowa.h: Include <_itoa.h>.
41286 (_itowa_word): Use _ITOA_WORD_TYPE on value.
41287 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
41288 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
41289 only if not defined.
41290 (_ITOA_WORD_TYPE): Likewise.
41291 (_itoa_word): Use _ITOA_WORD_TYPE on value.
41292 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
41293
6f4db457
DM
412942012-03-21 David S. Miller <davem@davemloft.net>
41295
41296 * sysdeps/sparc/fpu/libm-test-ulps: Update.
41297
7785fe5a
L
412982012-03-21 H.J. Lu <hongjiu.lu@intel.com>
41299
41300 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
41301 of x86_64 when setting libc_cv_slibdir, libdir and
41302 libc_cv_localedir.
41303 * sysdeps/unix/sysv/linux/configure: Regenerated.
41304
4535cd55
JM
413052012-03-21 Joseph Myers <joseph@codesourcery.com>
41306
41307 * manual/lang.texi (Old Varargs): Remove section.
41308 (How Variadic): Update menu.
41309 (va_start): Do not mention varargs.h.
41310
17228132
TS
413112012-03-21 Thomas Schwinge <thomas@codesourcery.com>
41312 Joseph Myers <joseph@codesourcery.com>
41313
41314 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
41315 link test.
41316 * configure: Regenerated.
41317
8149f976
TS
413182012-03-21 Thomas Schwinge <thomas@codesourcery.com>
41319
05f3d1f6
UD
41320 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
41321 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
41322 conformtest.pl
8149f976 41323
1a4ac776
JM
413242012-03-21 Joseph Myers <joseph@codesourcery.com>
41325
be22ce65
JM
41326 * NOTES: Remove.
41327 * Makefile (files-for-dist): Remove NOTES.
41328 (NOTES): Remove rule.
41329 * README: Don't refer to NOTES.
41330 * manual/creature.texi: Don't include macros.texi.
41331 * manual/intro.texi (creature.texi): Remove comment referring to
41332 NOTES.
41333
40b601fb
JM
41334 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
41335 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
41336 * configure: Regenerated.
41337 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
41338 LIBC_TRY_CC_OPTION.
41339 (libc_cv_as_i686): Likewise.
41340 (libc_cv_cc_avx): Likewise.
41341 (libc_cv_cc_sse2avx): Likewise.
41342 (libc_cv_cc_fma4): Likewise.
41343 (libc_cv_cc_novzeroupper): Likewise.
41344 * sysdeps/i386/configure: Regenerated.
41345
1a4ac776
JM
41346 [BZ #13883]
41347 * sysdeps/i386/fpu/s_cexp.S: Remove.
41348 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
41349 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
41350 * math/libm-test.inc (cexp_test): Add more tests.
41351 * sysdeps/i386/fpu/libm-test-ulps: Update.
41352 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41353
a458e7fe
AM
413542012-03-21 Allan McRae <allan@archlinux.org>
41355
41356 * timezone/Makefile: Do not install iso3166.tab and zone.tab
41357
0cb7efc5
JM
413582012-03-21 Joseph Myers <joseph@codesourcery.com>
41359
41360 [BZ #13871]
41361 * math/w_exp2.c: Do not include <float.h>.
41362 (o_threshold, u_threshold): Remove.
41363 (__exp2): Calculate result before checking finiteness and calling
41364 __kernel_standard.
41365 * math/w_exp2f.c: Likewise.
41366 * math/w_exp2l.c: Likewise.
41367 * math/libm-test.inc (exp2_test): Require overflow exception for
41368 1e6 input.
2460d3aa
JM
41369
41370 [BZ #3866]
41371 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
41372 range of signed 64-bit integers before using fistpll. Remove
41373 checks for whether integers fit in mantissa bits.
41374 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
41375 the range of signed 32-bit integers before using fistpl. Remove
41376 checks for whether integers fit in mantissa bits.
41377 * sysdeps/i386/fpu/e_powl.S (p64): New object.
41378 (__ieee754_powl): Test for y outside the range of signed 64-bit
41379 integers before using fistpll. Reduce 64-bit values to 63-bit
41380 ones as needed.
41381 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
41382 divide-by-zero is raised for zero to large negative powers.
41383 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
41384 (__ieee754_powl): Test for y outside the range of signed 64-bit
41385 integers before using fistpll. Reduce 64-bit values to 63-bit
41386 ones as needed.
41387 * math/libm-test.inc (pow_test): Add more tests.
41388
eb96ffb0
L
413892012-03-20 H.J. Lu <hongjiu.lu@intel.com>
41390
41391 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
41392 <stdio-common/_itoa.h>.
41393 * debug/segfault.c: Likewise.
41394 * elf/dl-cache.c: Likewise.
41395 * elf/dl-minimal.c: Likewise.
41396 * elf/dl-misc.c: Likewise.
41397 * elf/dl-sysdep.c: Likewise.
41398 * elf/dl-version.c: Likewise.
41399 * elf/rtld.c: Likewise.
41400 * hurd/hurdsock.c: Likewise.
41401 * hurd/lookup-retry.c: Likewise.
41402 * malloc/malloc.c: Likewise.
41403 * malloc/mtrace.c: Likewise.
41404 * nscd/nscd_getgr_r.c: Likewise.
41405 * nscd/nscd_getpw_r.c: Likewise.
41406 * nscd/nscd_getserv_r.c: Likewise.
41407 * posix/getopt_init.c: Likewise.
41408 * posix/wordexp.c: Likewise.
41409 * stdio-common/_itoa.c: Likewise.
41410 * stdio-common/printf_fphex.c: Likewise.
41411 * stdio-common/vfprintf.c: Likewise.
41412 * string/_strerror.c: Likewise.
41413 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
41414 * sysdeps/i386/i686/hp-timing.h: Likewise.
41415 * sysdeps/mach/_strerror.c: Likewise.
41416 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
41417 * sysdeps/mach/hurd/sethostid.c: Likewise.
41418 * sysdeps/mach/hurd/xmknodat.c: Likewise.
41419 * sysdeps/mach/xpg-strerror.c: Likewise.
41420 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
41421 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
41422 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
41423 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
41424 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
41425 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
41426 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
41427 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
41428 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
41429 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
41430 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
41431 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
41432 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
41433 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
41434 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
41435 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
41436 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
41437 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
41438 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
41439 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
41440 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
41441
41442 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
41443
41444 * stdio-common/_itoa.h: Moved to ...
41445 * sysdeps/generic/_itoa.h: Here.
41446
41447 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
41448
41449 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
41450 instead of "_itoa.h" and "_itowa.h".
41451 * stdio-common/vfprintf.: Likewise.
41452
d1af992d
L
414532012-03-20 H.J. Lu <hongjiu.lu@intel.com>
41454
41455 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
41456 <bits/wordsize.h>.
41457 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
41458 (__signbit): Likwise.
41459 (llrintf): Likwise.
41460 (llrint): Likwise.
41461
114883e0
L
414622012-03-20 H.J. Lu <hongjiu.lu@intel.com>
41463
41464 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
41465 __WORDSIZE != 64.
41466
c135cc1b
JM
414672012-03-20 Joseph Myers <joseph@codesourcery.com>
41468
41469 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
41470 OVERFLOW_EXCEPTION_OK.
41471 * math/libm-test.inc ("Philosophy"): Update comment about
41472 exception testing.
41473 (OVERFLOW_EXCEPTION): Define.
41474 (OVERFLOW_EXCEPTION_OK): Likewise.
41475 (INVALID_EXCEPTION_OK): Renumber.
41476 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
41477 (IGNORE_ZERO_INF_SIGN): Likewise.
41478 (test_exceptions): Handle FE_OVERFLOW.
41479 (exp10_test): Expect overflow exceptions.
41480 (exp2_test): Likewise.
41481 (expm1_test): Likewise.
41482 (nextafter_test): Likewise.
41483 (pow_test): Likewise.
41484 (scalbn_test): Likewise.
41485 (scalbln_test): Likewise.
41486
95443d88
L
414872012-03-19 H.J. Lu <hongjiu.lu@intel.com>
41488
41489 * sysdeps/x86_64/bits/atomic.h
41490 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
41491 64bit integer.
41492 (atomic_exchange_acq): Likewise.
41493 (__arch_exchange_and_add_body): Likewise.
41494 (__arch_add_body): Likewise.
41495 (atomic_add_negative): Likewise.
41496 (atomic_add_zero): Likewise.
41497
490df6c4
L
414982012-03-19 H.J. Lu <hongjiu.lu@intel.com>
41499
c2722551 41500 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
41501 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
41502
5e52b189
L
415032012-03-19 H.J. Lu <hongjiu.lu@intel.com>
41504
41505 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
41506 Check __x86_64__ instead of __WORDSIZE.
41507
a9879d4c
L
415082012-03-19 H.J. Lu <hongjiu.lu@intel.com>
41509
41510 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
41511
5df98260
DM
415122012-03-19 David S. Miller <davem@davemloft.net>
41513
e1497744
DM
41514 * sysdeps/sparc/fpu/libm-test-ulps: Update.
41515
5df98260
DM
41516 * sysdeps/sparc/fpu/fenv_private.h: New file.
41517 * sysdeps/sparc/fpu/math_private.h: Use it.
41518 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
41519 Remove.
57f41c40 41520 (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
5df98260
DM
41521 (libc_feholdexcept_setroundl): Remove.
41522 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
41523 Remove.
41524 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
41525 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
41526
b4c35121
L
415272012-03-19 H.J. Lu <hongjiu.lu@intel.com>
41528
41529 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
41530 int64_t instead of long int.
41531 (INSERT_WORDS64): Likwise.
41532
56965fd7
L
415332012-03-19 H.J. Lu <hongjiu.lu@intel.com>
41534
41535 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
41536 _Unwind_GetCFA return to _Unwind_Ptr first.
41537
83d1aec8
JM
415382012-03-19 Joseph Myers <joseph@codesourcery.com>
41539
1897ad44
JM
41540 [BZ #13629]
41541 * math/s_clog.c: Include <float.h>.
41542 (__clog): Scale large or subnormal inputs.
41543 * math/s_clogf.c: Likewise.
41544 * math/s_clogl.c: Likewise.
41545 * math/s_clog10.c: Include <float.h>.
41546 (M_LOG10_2): Define.
41547 (__clog10): Scale large or subnormal inputs.
41548 * math/s_clog10f.c: Likewise.
41549 * math/s_clog10l.c: Likewise.
41550 * math/libm-test.inc (clog_test): Add more tests.
41551 (clog10_test): Likewise.
41552 * sysdeps/i386/fpu/libm-test-ulps: Update.
41553 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41554
7726d6a9
JM
41555 [BZ #11451]
41556 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
41557 x and y.
41558 * math/libm-test.inc (atan2_test): Add another test.
41559
83d1aec8
JM
41560 * Makerules (common-objdir-compile): Remove.
41561 * sysdeps/unix/Makefile (config-generated): Do not add
41562 $(unix-generated) to variable.
41563 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
41564 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
41565 Remove rule.
41566 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
41567 Likewise.
41568 [generic bits/local_lim.h] (before-compile): Do not append to
41569 variable.
41570 [generic bits/local_lim.h] (common-generated): Likewise.
41571 [generic sys/param.h] (before-compile): Do not append to variable.
41572 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
41573 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
41574 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
41575 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
41576 include.
41577 [generic sys/param.h] (sys/param.h-includes): Remove variable.
41578 [generic sys/param.h] (sys/param.h-includes): Remove rule.
41579 [generic sys/param.h] ($(addprefix
41580 $(common-objpfx),$(sys/param.h-includes))): Likewise.
41581 [generic sys/param.h] (common-generated): Do not append to
41582 variable.
41583 [generic sys/param.h] (sysdep_headers): Likewise.
41584 [generic bits/errno.h] (before-compile): Do not append to
41585 variable.
41586 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
41587 rule.
41588 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
41589 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
41590 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
41591 [generic bits/errno.h] (common-generated): Do not append to
41592 variable.
41593 [generic bits/ioctls.h] (before-compile): Do not append to
41594 variable.
41595 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
41596 rule.
41597 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
41598 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
41599 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
41600 rule.
41601 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
41602 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
41603 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
41604 [generic bits/ioctls.h] (common-generated): Do not append to
41605 variable.
41606 [generic sys/syscall.h] (syscall.h): Remove variable.
41607 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
41608 rule.
41609 [generic sys/syscall.h] (before-compile): Do not append to
41610 variable.
41611 [generic sys/syscall.h] (common-generated): Likewise.
41612 * sysdeps/unix/errnos-tmpl.c: Remove file.
41613 * sysdeps/unix/errnos.awk: Likewise.
41614 * sysdeps/unix/ioctls-tmpl.c: Likewise.
41615 * sysdeps/unix/ioctls.awk: Likewise.
41616 * sysdeps/unix/mk-local_lim.c: Likewise.
41617 * sysdeps/unix/snarf-ioctls: Likewise.
41618
4851a949
RH
416192012-03-19 Richard Henderson <rth@twiddle.net>
41620
bd37f2ee
RH
41621 * sysdeps/i386/fpu/fenv_private.h: New file.
41622 * sysdeps/i386/fpu/math_private.h: Use it.
41623 (math_opt_barrier, math_force_eval): Remove.
41624 (libc_feholdexcept_setround_53bit): Remove.
41625 (libc_feupdateenv_53bit): Remove.
41626 * sysdeps/x86_64/fpu/math_private.h: Likewise.
41627 (math_opt_barrier, math_force_eval): Remove.
41628 (libc_feholdexcept): Remove.
41629 (libc_feholdexcept_setround): Remove.
41630 (libc_fetestexcept, libc_fesetenv): Remove.
41631 (libc_feupdateenv_test): Remove.
41632 (libc_feupdateenv, libc_feholdsetround): Remove.
41633 (libc_feresetround): Remove.
41634
d0adc922
RH
41635 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
41636 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
41637
0fe0f1f8
RH
41638 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
41639 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
41640 (libc_feupdateenv_testl): New.
41641 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
41642 (libc_feupdateenv_testf): New.
41643 (libc_feupdateenv): Use libc_feupdateenv_test.
41644 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
41645 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
41646
eb92c487
RH
41647 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
41648 (libc_feholdsetroundf, libc_feholdsetroundl): New.
41649 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
41650 (libc_feresetround_noex): New.
41651 (libc_feresetround_noexf): New.
41652 (libc_feresetround_noexl): New.
41653 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
41654 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
41655 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
41656 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
41657 SET_RESTORE_ROUND.
41658 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
41659 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
41660 (__cos): Likewise.
41661 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
41662 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
41663 SET_RESTORE_ROUND_NOEX.
41664 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
41665 SET_RESTORE_ROUND_NOEXF.
41666 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
41667 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
41668 (libc_feholdsetroundf): New.
41669 (libc_feresetround, libc_feresetroundf): New.
41670
7d2e8012
RH
41671 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
41672 (libc_feholdexcept_setround_53bit): Convert from macro to function.
41673 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
41674
b4dabbb4
RH
41675 * sysdeps/generic/math_private.h: Include <fenv.h>.
41676 (default_libc_feholdexcept): New.
41677 (default_libc_feholdexcept_setround): New.
41678 (default_libc_fesetenv, default_libc_feupdateenv): New.
41679 (libc_feholdexcept): Only define if undefined.
41680 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
41681 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
41682 (libc_feholdexcept_setroundl): Likewise.
41683 (libc_feholdexcept_setround_53bit): Likewise.
41684 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
41685 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
41686 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
41687 (libc_feupdateenv_53bit): Likewise.
41688 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
41689 (libc_feholdexcept): Convert from macro to inline function.
41690 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
41691 (libc_fesetenv, libc_feupdateenv): Likewise.
41692
4851a949
RH
41693 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
41694 not previously defined.
41695 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
41696 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
41697 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
41698 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
41699 * sysdeps/ieee754/flt-32/math_private.h: New file.
41700 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
41701 math_private.h below SET_FLOAT_WORD.
41702 (__isnan, __isinf_ns, __finite): Remove.
41703 (__isnanf, __isinf_nsf, __finitef): Remove.
41704
e79d442e
AS
417052012-03-18 Andreas Schwab <schwab@linux-m68k.org>
41706
41707 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41708
90b80344
DM
417092012-03-17 David S. Miller <davem@davemloft.net>
41710
41711 [BZ #6471]
41712 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
41713 for 2.16.
41714
edc21804
DM
417152012-03-16 David S. Miller <davem@davemloft.net>
41716
77e927af
DM
41717 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
41718 warnings.
41719
374976dd
DM
41720 [BZ #6471]
41721 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
41722 properly.
41723 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
41724 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
41725 sysdep_routines when subdir is sysvipc.
41726 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
41727 __getshmlba helper.
41728
edc21804
DM
41729 * sysdeps/sparc/fpu/libm-test/ulps: Update.
41730
473c3ef3
L
417312012-03-16 H.J. Lu <hongjiu.lu@intel.com>
41732
41733 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
41734 [__LP64__].
41735
eb0f39b6
L
417362012-03-16 H.J. Lu <hongjiu.lu@intel.com>
41737
41738 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
41739 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
41740 (__lround): Renamed to ...
41741 (__llround): This. Replace long int with long long int.
41742 Define lround functions as aliases of llround functions.
41743 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
41744
6b6cd74b
L
417452012-03-16 H.J. Lu <hongjiu.lu@intel.com>
41746
41747 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
41748 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
41749 adresses to uintptr_t. Replace "long int" and "unsigned long
41750 int" with "greg_t" on va_arg.
41751
f1a77b01
L
417522012-03-16 H.J. Lu <hongjiu.lu@intel.com>
41753
41754 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
41755 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
41756
41757 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
41758 Move e_machine check before EI_CLASS check. Handle x32
41759 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
41760 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
41761 SKIP_EM_IA_64 and include
41762 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
41763
41764 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
41765 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
41766 (add_system_dir): New macro.
41767
41768 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
41769 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
41770
11b90b9f
JM
417712012-03-16 Joseph Myers <joseph@codesourcery.com>
41772
c36e1d23
JM
41773 [BZ #2551]
41774 [BZ #2552]
41775 [BZ #2553]
41776 [BZ #2554]
41777 [BZ #2562]
41778 [BZ #2563]
41779 [BZ #2565]
41780 [BZ #2566]
41781 [BZ #2576]
41782 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
41783 (y0): Likewise.
41784 * math/w_j0f.c (j0f): Likewise.
41785 (y0f): Likewise.
41786 * math/w_j0l.c (__j0l): Likewise.
41787 (__y0l): Likewise.
41788 * math/w_j1.c (j1): Likewise.
41789 (y1): Likewise.
41790 * math/w_j1f.c (j1f): Likewise.
41791 (y1f): Likewise.
41792 * math/w_j1l.c (__j1l): Likewise.
41793 (__y1l): Likewise.
41794 * math/w_jn.c (jn): Likewise.
41795 (yn): Likewise.
41796 * math/w_jnf.c (jnf): Likewise.
41797 (ynf): Likewise.
41798 * math/w_jnl.c (__jnl): Likewise.
41799 (__ynl): Likewise.
41800 * math/libm-test.inc (j0_test): Add more tests.
41801 (j1_test): Likewise.
41802 (jn_test): Likewise. Add trailing semicolon to existing test.
41803 (y0_test): Likewise.
41804 (y1_test): Likewise.
41805 * sysdeps/i386/fpu/libm-test-ulps: Update.
41806 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41807
11b90b9f
JM
41808 [BZ #13851]
41809 [BZ #13854]
41810 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
41811 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
41812 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
41813 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
41814 (__tanl): Set errno for infinite argument.
41815 * sysdeps/i386/fpu/mptan.c: Remove.
41816 * sysdeps/i386/fpu/s_tan.S: Likewise.
41817 * sysdeps/i386/fpu/s_tanl.S: Likewise.
41818 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
41819 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
41820 * math/libm-test.inc (tan_test): Add more tests and enable more
41821 tests for double and long double.
41822 * sysdeps/i386/fpu/libm-test-ulps: Update.
41823 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41824
6a1bd2a1
JK
418252012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
41826
41827 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
41828 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
41829
10a803e0
RM
418302012-03-16 Roland McGrath <roland@hack.frob.com>
41831
41832 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
41833 * configure.in: Use it for both main tree and add-ons.
41834 * configure: Regenerated.
41835
f196c7f7
L
418362012-03-16 H.J. Lu <hongjiu.lu@intel.com>
41837
41838 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
41839
8848d99d
JM
418402012-03-16 Joseph Myers <joseph@codesourcery.com>
41841
96cbe7f4
JM
41842 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
41843 in comment.
41844
8848d99d
JM
41845 [BZ #13851]
41846 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
41847 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
41848 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
41849 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
41850 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
41851 infinite argument.
41852 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
41853 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
41854 != 0 for prec == 2.
41855 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
41856 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
41857 * sysdeps/i386/fpu/s_cosl.S: Likewise.
41858 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
41859 * sysdeps/i386/fpu/s_sinl.S: Likewise.
41860 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
41861 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
41862 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
41863 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
41864 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
41865 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
41866 * math/libm-test.inc (cos_test): Add more tests and enable more
41867 tests for long double.
41868 (sin_test): Likewise.
41869 (sincos_test): Likewise.
41870 * sysdeps/i386/fpu/libm-test-ulps: Update.
41871 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41872
dd7f4703
DM
418732012-03-16 David S. Miller <davem@davemloft.net>
41874
41875 * sysdeps/sparc/fpu/math_private.h: New file.
41876
006f1daa
DM
418772012-03-15 David S. Miller <davem@davemloft.net>
41878
c0c83bc8
DM
41879 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
41880 file.
e6a62e18 41881 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
41882 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
41883 file.
e6a62e18
DM
41884 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
41885 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
41886 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
41887 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
41888 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
41889 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
41890 sysdep routines.
41891 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
41892
88cb87d9
DM
41893 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
41894 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
41895
006f1daa 41896 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
41897 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
41898 sparc-ifunc.h
006f1daa 41899 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
41900 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
41901 Likewise.
41902 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
41903 Likewise.
006f1daa
DM
41904 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
41905 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
41906 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
41907 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
41908 Likewise.
006f1daa
DM
41909 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
41910 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
41911 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
41912 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
41913 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
41914 Likewise.
41915 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
41916 Likewise.
006f1daa
DM
41917 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
41918 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
41919 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
41920 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
41921 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
41922 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
41923 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
41924 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
41925 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
41926 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
41927 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
41928 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
41929 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
41930 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
41931 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
41932 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
41933 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
41934 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
41935 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
41936 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
41937 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
41938 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
41939 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
41940 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
41941
11e0098e
AS
419422012-03-15 Andreas Schwab <schwab@linux-m68k.org>
41943
41944 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
41945 scaling.
41946 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41947
e85b09d0
AJ
419482012-03-15 Andreas Jaeger <aj@suse.de>
41949
41950 [BZ #13852]
41951 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
41952 ieee754/flt-32 implementation for sin, cos and sincos.
41953 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
41954 * sysdeps/i386/fpu/s_cosf.S: Likewise.
41955 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
41956 * sysdeps/i386/fpu/s_sinf.S: Likewise.
41957 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
41958 ieee754/flt-32 implementation for tan.
41959
41960 * math/libm-test.inc (cos_test): Enable some large input tests for
41961 float as well
41962 (sin_test): Likewise.
41963 (sincos_test): Likewise.
41964 (tan_test): Add tests for large input.
41965
41966 * sysdeps/i386/fpu/libm-test-ulps: Update.
41967
81c64153
AJ
419682012-03-15 Andreas Jaeger <aj@suse.de>
41969
41970 [BZ #13658]
41971 * math/libm-test.inc (cos_test): Add more test cases.
41972 (sin_test): Likewise.
41973 (sincos_test): Likewise.
41974
7bbfa5c6
AJ
419752012-03-15 Andreas Jaeger <aj@suse.de>
41976
41977 [BZ #13837]
41978 * math/libm-test.inc (cos_test): Add a test case for large input
41979 value.
41980 (sin_test): Likewise.
41981 (sincos_test): Likewise.
41982
57f41c40
AS
419832012-03-15 Andreas Jaeger <aj@suse.de>
41984 Joseph Myers <joseph@codesourcery.com>
7bbfa5c6
AJ
41985
41986 [BZ #13658]
0671f479 41987 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
41988 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
41989 * sysdeps/i386/fpu/branred.c: Likewise.
41990 * sysdeps/i386/fpu/dosincos.c: Likewise.
41991 * sysdeps/i386/fpu/mpa.c: Likewise.
41992 * sysdeps/i386/fpu/s_cos.S: Likewise.
41993 * sysdeps/i386/fpu/s_sin.S: Likewise.
41994 * sysdeps/i386/fpu/s_sincos.S: Likewise.
41995 * sysdeps/i386/fpu/sincos32.c: Likewise.
41996
41997 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
41998 Define.
41999 (libc_feupdateenv_53bit): Define.
42000 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
42001 Define.
42002 (libc_feupdateenv_53bit): Define.
42003
42004 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
42005 53 bit (without extend i386 double precision).
42006
42007 * math/libm-test.inc (sincos_test): Add tests for large input.
42008 (sin): Likewise.
42009 (cos): Likewise.
42010
42011 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
42012
9cad04ea
AS
420132012-03-15 Andreas Schwab <schwab@linux-m68k.org>
42014
42015 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42016
f7062b9a
DM
420172012-03-15 David S. Miller <davem@davemloft.net>
42018
42019 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
42020 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
42021 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
42022 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
42023 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
42024 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
42025 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
42026 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
42027 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
42028 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
42029 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
42030 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
42031 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
42032 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
42033 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
42034 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
42035 file.
f7062b9a 42036 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
42037 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
42038 file.
f7062b9a 42039 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
42040 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
42041 file.
f7062b9a 42042 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
42043 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
42044 file.
f7062b9a
DM
42045 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
42046 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
42047 fmin/fmax sysdep routines.
42048 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
42049
7bd951ff
DM
420502012-03-14 David S. Miller <davem@davemloft.net>
42051
559398ab
DM
42052 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
42053 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
42054 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
42055 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
42056 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
42057 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
42058 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
42059 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
42060 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
42061 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
42062 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
42063 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
42064 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
42065 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
42066 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
42067 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
42068 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
42069 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
42070 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
42071 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
42072 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
42073 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
42074 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
42075 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
42076 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
42077 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
42078 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
42079 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
42080 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
42081 routines.
42082 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
42083 file.
559398ab 42084 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
42085 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
42086 file.
559398ab 42087 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
42088 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
42089 file.
559398ab 42090 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
42091 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
42092 file.
559398ab 42093 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
42094 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
42095 file.
559398ab 42096 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
42097 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
42098 file.
42099 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
42100 file.
42101 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
42102 file.
42103 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
42104 file.
42105 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
42106 New file.
42107 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
42108 file.
42109 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
42110 file.
559398ab 42111 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
42112 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
42113 file.
559398ab 42114 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
42115 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
42116 file.
559398ab 42117 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
42118 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
42119 file.
559398ab 42120 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
42121 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
42122 VIS3 routines.
559398ab
DM
42123
42124 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
42125 New file.
42126
5a1c1e32
DM
42127 * sysdeps/sparc/fpu/libm-test-ulps: Update.
42128
eae47a36
DM
42129 * sysdeps/sparc/configure.in: New file.
42130 * sysdeps/sparc/configure: Generate.
42131 * configure.in (libc_cv_sparc_as_vis3): Substitute.
42132 * configure: Regenerate.
42133 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
42134 * config.make.in (have-as-vis3): New.
42135 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
42136 available use -Av9d instead of -Av9a.
42137 * sysdeps/sparc/sparc64/Makefile: Likewise.
42138 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
42139 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
42140 New file.
42141 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
42142 file.
42143 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
42144 New file.
42145 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
42146 file.
eae47a36
DM
42147 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
42148 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
42149 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
42150 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
42151 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
42152
c0c83bc8
DM
42153 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
42154 fzeros/fnegs to load 0x80000000 into a float register instead of
42155 using the stack.
7bd951ff
DM
42156 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
42157
bd951ccb
JM
421582012-03-14 Joseph Myers <joseph@codesourcery.com>
42159
42160 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
42161 bits/syscall.h.
42162 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
42163 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
42164 ($(inst_includedir)/bits/syscall.h): Remove rule.
42165 ($(objpfx)bits/syscall.d): Include instead of
42166 $(objpfx)syscall-list.d.
42167 (generated): Change syscall-list.h and syscall-list.d to
42168 bits/syscall.h and bits/syscall.d.
42169
bb4e6db2
RM
421702012-03-14 Roland McGrath <roland@hack.frob.com>
42171
42172 [BZ #13846]
42173 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
42174
aa4a2ae1
JM
421752012-03-14 Joseph Myers <joseph@codesourcery.com>
42176
e456826d
JM
42177 [BZ #13841]
42178 * math/s_csqrt.c: Include <float.h>.
42179 (__csqrt): Scale large or subnormal inputs.
42180 * math/s_csqrtf.c: Likewise.
42181 * math/s_csqrtl.c: Likewise.
42182 * math/libm-test.inc (csqrt_test): Add more tests.
42183 * sysdeps/i386/fpu/libm-test-ulps: Update.
42184 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42185
aa4a2ae1
JM
42186 [BZ #13840]
42187 * math/libm-test.inc (hypot_test): Add more tests.
42188
7c10fd35
DM
421892012-03-13 David S. Miller <davem@davemloft.net>
42190
42191 [BZ #13840]
42192 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
42193 double-precision for the calculation instead of scaling.
42194
f453b98b
JM
421952012-03-13 Joseph Myers <joseph@codesourcery.com>
42196
42197 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
42198 manipulate bits before adding and subtracting TWO52[sx].
42199 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
42200 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
42201 Likewise.
42202 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
42203
09a3453f
DM
422042012-03-13 David S. Miller <davem@davemloft.net>
42205
8e59da90
DM
42206 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
42207 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
42208 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
42209 rtld-global-offsets.h
42210 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
42211
2a8ab7f2
DM
42212 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
42213 large parameters.
42214
10f62770
DM
42215 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
42216
5f0bdb18
DM
42217 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
42218 'err' in the ifdef scope in which it is actually used.
42219
09a3453f
DM
42220 * nss/nss_db/db-init.c: Include string.h
42221
b4b2eb5e
DM
422222012-03-12 David S. Miller <davem@davemloft.net>
42223
98bb2f1c
DM
42224 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
42225 masking out of the most significant byte of random value used.
42226 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
42227 Fix coding style in previous change.
42228
b4b2eb5e
DM
42229 * sysdeps/unix/sysv/linux/kernel-features.h
42230 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
42231 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
42232 expression.
42233 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
42234 later.
42235
6e226b09
DM
422362012-03-11 David S. Miller <davem@davemloft.net>
42237
a1bcbd40
DM
42238 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
42239 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
42240 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
42241 for 'resultvar' otherwise things get truncated on 64-bit.
42242
cb9d6174
DM
42243 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
42244 Fix masking out of the most significant byte of random value used.
42245
6e226b09
DM
42246 * sysdeps/sparc/fpu/libm-test-ulps: Update.
42247
058c132d
AS
422482012-03-10 Andreas Schwab <schwab@linux-m68k.org>
42249
42250 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42251
2d2cd515
DM
422522012-03-09 David S. Miller <davem@davemloft.net>
42253
42254 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
42255 variables with appropriate CPP guards.
57f41c40
AS
42256 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
42257 from the frame pointer, not the stack pointer. Correct layout
42258 comments. Fix test on resulting framesize and the management of
42259 the outregs buffer for pltexit. Preserve floating point return
42260 values across _dl_call_pltexit call.
2d2cd515
DM
42261 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
42262 framesize and the management of the outregs buffer for pltexit.
42263 Preserve floating point return values across _dl_call_pltexit
42264 call.
57f41c40
AS
42265 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
42266 (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
42267 (la_sparc64_gnu_pltexit): New functions.
2d2cd515
DM
42268 (print_exit): Fix format string for return register value.
42269
9a07f9d0
JM
422702012-03-10 Joseph Myers <joseph@codesourcery.com>
42271
42272 * sunrpc/Makefile (others): Add rpcgen.
42273 ($(objpfx)rpcgen): Remove special build rule and dependency on
42274 libc.
42275 * sunrpc/rpcgen.c: New file.
42276
547b5e30
PE
422772012-03-09 Paul Eggert <eggert@cs.ucla.edu>
42278
c524201a
PE
42279 [BZ #13673]
42280 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
42281 * stdio-common/bug-vfprintf-nargs.c: Likewise.
42282 * sysdeps/i386/crti.S: Likewise.
42283 * sysdeps/i386/crtn.S: Likewise.
42284 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
42285 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
42286 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
42287 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
42288 * sysdeps/sh/crti.S: Likewise.
42289 * sysdeps/sh/crtn.S: Likewise.
42290 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
42291
7b6235f2
PE
42292 [BZ #13673]
42293 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
42294 with URL.
42295 * locale/programs/locfile-kw.gperf: Likewise.
42296 * locale/programs/charmap-kw.h: Regenerated.
42297 * locale/programs/locfile-kw.h: Likewise.
42298
547b5e30
PE
42299 [BZ #13673]
42300 * intl/plural.y: Replace FSF snail mail address with URL.
42301 * intl/plural.c: Regenerated.
42302
5f0a5dae
RH
423032012-03-09 Richard Henderson <rth@twiddle.net>
42304
42305 * include/math_private.h: Remove file.
42306 * math/math_private.h: Move file ...
42307 * sysdeps/generic/math_private.h: ... here.
42308
b8c03620
RH
42309 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
42310 * sysdeps/powerpc/fpu/math_private.h: Likewise.
42311 * sysdeps/x86_64/fpu/math_private.h: Likewise.
42312
4e234f5d 42313 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
42314 and <math_private.h>.
42315 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
42316 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
42317 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
42318 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
42319 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
42320 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
42321 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
42322 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
42323 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
42324 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
42325 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
42326 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
42327 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
42328 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
42329 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
42330 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
42331 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
42332 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
42333 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
42334 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
42335 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
42336 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
42337 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
42338 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
42339 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
42340 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
42341 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
42342 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
42343 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
42344 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
42345 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
42346 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
42347 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
42348 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
42349 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
42350 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
42351 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
42352 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
42353 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
42354 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
42355 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
42356 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
42357 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
42358 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
42359 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
42360 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
42361 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
42362 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
42363 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
42364 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
42365 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
42366 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
42367 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
42368 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
42369 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
42370 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
42371 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
42372 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
42373 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
42374 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
42375 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
42376 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
42377 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
42378 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
42379 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
42380 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
42381 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
42382 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
42383 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
42384 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
42385 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
42386 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
42387 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
42388 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
42389 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
42390 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
42391 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
42392 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
42393 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
42394 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
42395 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
42396 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
42397 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
42398 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
42399 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
42400 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
42401 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
42402 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
42403 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
42404 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
42405 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
42406 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
42407 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
42408 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
42409 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
42410 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
42411 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
42412 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
42413 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
42414 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
42415 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
42416 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
42417 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
42418 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
42419 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
42420 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
42421 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
42422 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
42423 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
42424 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
42425 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
42426 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
42427 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
42428 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
42429 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
42430 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
42431 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
42432 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
42433 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
42434 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
42435 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
42436 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
42437 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
42438 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
42439 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
42440 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
42441 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
42442 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
42443 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
42444 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
42445 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
42446 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
42447 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
42448 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
42449 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
42450 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
42451 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
42452 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
42453 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
42454 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
42455 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
42456 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
42457 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
42458 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
42459 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
42460 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
42461 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
42462 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
42463 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
42464 * sysdeps/ieee754/k_standard.c: Likewise.
42465 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
42466 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
42467 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
42468 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
42469 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
42470 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
42471 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
42472 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
42473 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
42474 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
42475 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
42476 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
42477 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
42478 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
42479 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
42480 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
42481 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
42482 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
42483 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
42484 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
42485 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
42486 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
42487 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
42488 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
42489 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
42490 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
42491 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
42492 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
42493 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
42494 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
42495 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
42496 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
42497 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
42498 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
42499 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
42500 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
42501 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
42502 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
42503 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
42504 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
42505 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
42506 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
42507 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
42508 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
42509 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
42510 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
42511 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
42512 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
42513 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
42514 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
42515 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
42516 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
42517 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
42518 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
42519 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
42520 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
42521 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
42522 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
42523 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
42524 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
42525 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
42526 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
42527 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
42528 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
42529 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
42530 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
42531 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
42532 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
42533 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
42534 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
42535 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
42536 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
42537 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
42538 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
42539 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
42540 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
42541 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
42542 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
42543 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
42544 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
42545 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
42546 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
42547 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
42548 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
42549 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
42550 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
42551 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
42552 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
42553 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
42554 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
42555 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
42556 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
42557 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
42558 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
42559 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
42560 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
42561 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
42562 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
42563 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
42564 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
42565 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
42566 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
42567 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
42568 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
42569 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
42570 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
42571 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
42572 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
42573 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
42574 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
42575 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
42576 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
42577 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
42578 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
42579 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
42580 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
42581 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
42582 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
42583 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
42584 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
42585 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
42586 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
42587 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
42588 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
42589 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
42590 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
42591 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
42592 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
42593 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
42594 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
42595 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
42596 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
42597 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
42598 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
42599 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
42600 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
42601 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
42602 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
42603 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
42604 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
42605 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
42606 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
42607 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
42608 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
42609 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
42610 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
42611 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
42612 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
42613 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
42614 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
42615 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
42616 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
42617 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
42618 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
42619 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
42620 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
42621 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
42622 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
42623 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
42624 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
42625 * sysdeps/ieee754/s_lib_version.c: Likewise.
42626 * sysdeps/ieee754/s_matherr.c: Likewise.
42627 * sysdeps/ieee754/s_signgam.c: Likewise.
42628 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
42629 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
42630 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
42631 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
42632 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
42633 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
42634 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
42635 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
42636 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
42637 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
42638 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
42639 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
42640 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
42641 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
42642 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
42643 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
42644 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
42645 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
42646 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
42647 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
42648 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 42649
1991fa03
JM
426502012-03-09 Joseph Myers <joseph@codesourcery.com>
42651
42652 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
42653 * sunrpc/rpc_main.c: Likewise.
42654 * sunrpc/rpc_svcout.c: Likewise.
42655
60d6f5a6
DM
426562012-03-09 David S. Miller <davem@davemloft.net>
42657
42658 * include/math_private.h: New file.
42659
4962050e
JM
426602012-03-09 Joseph Myers <joseph@codesourcery.com>
42661
02a6f887
JM
42662 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
42663 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
42664 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
42665 from <bits/socket_type.h>.
42666 (enum __socket_type): Don't define here.
42667 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
42668 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
42669 bits/socket_type.h.
42670
c6e013c1
JM
42671 [BZ #13566]
42672 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
42673 checking __USE_GNU.
42674
4962050e
JM
42675 * Makerules ($(inst_includedir)/%.h): New rule.
42676 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
42677 (install-others): Remove variable setting.
42678 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
42679
38842f45
RH
426802012-03-08 Richard Henderson <rth@twiddle.net>
42681
67bb6da6
RH
42682 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
42683 from macro to inline function; merge with the
42684 !__LIBC_INTERNAL_MATH_INLINES version.
42685 (__ieee754_sqrtf): Likewise.
42686
15194b4b
RH
42687 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
42688 to inline function.
42689 (__rintf, __floor, __floorf): Likewise.
42690
64e21ede
RH
42691 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
42692 macro to inline function.
42693 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
42694
38842f45
RH
42695 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
42696 not <math/math_private.h>.
42697
c64bf5fe
DM
426982012-03-08 David S. Miller <davem@davemloft.net>
42699
42700 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
42701 copyright year.
42702 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
42703
82d86f28
TS
427042012-03-08 Thomas Schwinge <thomas@codesourcery.com>
42705
42706 * resolv/gai_misc.c (handle_requests): Fix struct timespec
42707 normalization.
42708 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
42709 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
42710
aea5d727
UD
427112012-03-08 Ulrich Drepper <drepper@gmail.com>
42712
42713 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
42714 be defined individually, they must be defined as a block. Define
42715 S for printing a string instead of hidint the different by using a
42716 macro for adding the 'l'.
42717 * stdio-common/tst-fphex-wide.c: Adjust.
42718
70bca0a3
MP
427192012-03-07 Marek Polacek <polacek@redhat.com>
42720
42721 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
42722
65b81130
MP
427232012-03-08 Marek Polacek <polacek@redhat.com>
42724
42725 [BZ #13806]
42726 * stdio-common/Makefile (tests): Add tst-fphex-wide.
42727 * stdio-common/tst-fphex.c: Define a few macros to make the
42728 test reusable. Use them.
42729 * stdio-common/tst-fphex-wide.c: New file.
42730
07037eeb
JM
427312012-03-08 Joseph Myers <joseph@codesourcery.com>
42732
a7a93d50
JM
42733 [BZ #6911]
42734 * manual/macros.texi (gnusystems): New macro.
42735 (nongnusystems): Likewise.
42736 (gnulinuxhurdsystems): Likewise.
42737 (gnuhurdsystems): Likewise..
42738 (gnulinuxsystems): Likewise.
42739 * manual/charset.texi: Use new macros or @theglibc{} to refer to
42740 variants of the GNU system, not "GNU system".
42741 * manual/conf.texi: Likewise.
42742 * manual/errno.texi: Likewise. Update example of errno macro
42743 expansion.
42744 * manual/filesys.texi: Likewise.
42745 (getumask): Document as specific to GNU/Hurd.
42746 * manual/install.texi: Likewise. Reword some references to
42747 GNU/Linux.
42748 * manual/intro.texi: Likewise.
42749 * manual/io.texi: Likewise.
42750 (File Name Portability): Detail which constraints are inapplicable
42751 to all GNU systems and which are only inapplicable to GNU/Hurd.
42752 * manual/job.texi: Likewise.
42753 * manual/llio.texi: Likewise.
42754 (O_NOCTTY): Document as present on GNU/Linux.
42755 * manual/maint.texi: Likewise.
42756 * manual/memory.texi: Likewise.
42757 * manual/pattern.texi: Likewise.
42758 * manual/pipe.texi: Likewise.
42759 * manual/process.texi: Likewise.
42760 * manual/resource.texi: Likewise.
42761 (RUSAGE_CHILDREN): Remove statement about specifying a particular
42762 child on GNU/Hurd.
42763 * manual/setjmp.texi: Likewise.
42764 * manual/signal.texi: Likewise.
42765 * manual/startup.texi: Likewise.
42766 * manual/stdio.texi: Likewise.
42767 * manual/terminal.texi: Likewise.
42768 (ONLCR): Document as POSIX.
42769 (OXTABS): Document availability on GNU/Linux as XTABS.
42770 (ONOEOT): Document availability separately from other bits.
42771 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
42772 * manual/time.texi: Likewise.
42773 * manual/users.texi: Likewise.
42774 * INSTALL: Regenerated.
42775 * sysdeps/gnu/errlist.c: Regenerated.
42776
07037eeb
JM
42777 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
42778 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
42779 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
42780 puts.
42781 * configure: Regenerated.
42782
d1d3431a
JM
427832012-03-07 Joseph Myers <joseph@codesourcery.com>
42784
af6a1e37
JM
42785 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
42786 default includes instead of AC_HEADER_CHECK.
42787 * sysdeps/i386/configure: Regenerated.
42788
d1d3431a
JM
42789 [BZ #10716]
42790 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
42791 * math/s_cacoshf.c (__cacoshf): Likewise.
42792 * math/s_cacoshl.c (__cacoshl): Likewise.
42793 * math/s_casinh.c (__casinh): Set signs of result from argument.
42794 * math/s_casinhf.c (__casinhf): Likewise.
42795 * math/s_casinhl.c (__casinhl): Likewise.
42796 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
42797 (casinh_test): Add more tests.
42798 * sysdeps/i386/fpu/libm-test-ulps: Update.
42799 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42800
482ff4da
UD
428012012-03-07 Ulrich Drepper <drepper@gmail.com>
42802
872fda05
UD
42803 * po/zh_TW.po: Update from translation team.
42804
a4300c7a
UD
42805 * login/Makefile (distribute): Remove variable.
42806 * catgets/Makefile: Likewise.
42807 * mach/Makefile: Likewise.
42808 * malloc/Makefile: Likewise.
42809 * misc/Makefile: Likewise.
42810 * iconv/Makefile: Likewise.
42811 * nscd/Makefile: Likewise.
42812 * hurd/Makefile: Likewise.
42813 * manual/Makefile: Likewise.
42814 * locale/Makefile: Likewise.
42815 * intl/Makefile: Likewise.
42816 * conform/Makefile: Likewise.
42817 * nss/Makefile: Likewise.
42818 * time/Makefile: Likewise.
42819 * soft-fp/Makefile: Likewise.
42820 * dirent/Makefile: Likewise.
42821 * gmon/Makefile: Likewise.
42822 * po/Makefile: Likewise.
42823 * rt/Makefile: Likewise.
42824 * socket/Makefile: Likewise.
42825 * math/Makefile: Likewise.
42826 * signal/Makefile: Likewise.
42827 * debug/Makefile: Likewise.
42828 * elf/Makefile: Likewise.
42829 * timezone/Makefile: Likewise.
42830 * stdlib/Makefile: Likewise.
42831 * iconvdata/Makefile: Likewise.
42832 * sunrpc/Makefile: Likewise.
42833 * io/Makefile: Likewise.
42834 * argp/Makefile: Likewise.
42835 * inet/Makefile: Likewise.
42836 * hesiod/Makefile: Likewise.
42837 * grp/Makefile: Likewise.
42838 * csu/Makefile: Likewise.
42839 * wctype/Makefile: Likewise.
42840 * crypt/Makefile: Likewise.
42841 * libio/Makefile: Likewise.
42842 * string/Makefile: Likewise.
42843 * nis/Makefile: Likewise.
42844 * resolv/Makefile: Likewise.
42845 * stdio-common/Makefile: Likewise.
42846 * wcsmbs/Makefile: Likewise.
42847 * dlfcn/Makefile: Likewise.
42848 * posix/Makefile: Likewise.
42849
3b7c4e74 42850 [BZ #6959]
482ff4da
UD
42851 * timezone/Makefile: Don't install timezone files, just the programs
42852 and scripts.
42853
f72ed77d
UD
428542012-03-06 Ulrich Drepper <drepper@gmail.com>
42855
a000466f
UD
42856 * nss/databases.def: Add missing gshadow entry.
42857
f72ed77d
UD
42858 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
42859
a53b7a4e
MP
428602012-03-06 Marek Polacek <polacek@redhat.com>
42861
42862 [BZ #13726]
42863 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
42864 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
42865 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
42866 * stdio-common/tst-long-dbl-fphex.c: New file.
42867
e9258400
DM
428682012-03-06 David S. Miller <davem@davemloft.net>
42869
42870 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
42871 (set_obp_int): New function.
42872 (get_obp_int): New function.
42873 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
42874 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
42875 Avoid unused variable warnings on 'val' and use builtin_expect.
42876 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
42877 __builtin_expect.
e9258400
DM
42878 (INLINE_CLONE_SYSCALL): Likewise.
42879
3bd2c723
DM
428802012-03-05 David S. Miller <davem@davemloft.net>
42881
42882 * sysdeps/sparc/fpu/libm-test-ulps: Update.
42883
bbb78d03
AS
428842012-03-05 Andreas Schwab <schwab@linux-m68k.org>
42885
884c5db4
AS
42886 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42887
bbb78d03
AS
42888 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
42889 only for |x| >= 40.
42890 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
42891
1c9f702a 428922012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
42893
42894 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
42895 Replace gettimeofday with __vdso_gettimeofday.
42896
7be16f82
RM
42897 * sysdeps/unix/sysv/linux/x86_64/init-first.c
42898 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
42899 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
42900
42901 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
42902 time with __vdso_time.
42903
ed58a00f
JM
429042012-03-05 Joseph Myers <joseph@codesourcery.com>
42905
42906 * manual/lang.texi (size_t): Note types to which size_t may be
42907 equivalent with the GNU C Library, but do not describe when
42908 differences between them are significant.
42909
30ee4ced
AJ
429102012-03-05 Andreas Jaeger <aj@suse.de>
42911
42912 * sysdeps/i386/fpu/libm-test-ulps: Update.
42913
b7cd39e8
JM
429142012-03-05 Joseph Myers <joseph@codesourcery.com>
42915
42916 [BZ #3976]
42917 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
42918 (__ieee754_pow): Save and restore rounding mode and use
42919 round-to-nearest for main computations.
42920 * math/libm-test.inc (pow_test_tonearest): New function.
42921 (pow_test_towardzero): Likewise.
42922 (pow_test_downward): Likewise.
42923 (pow_test_upward): Likewise.
42924 (main): Call the new functions.
42925 * sysdeps/i386/fpu/libm-test-ulps: Update.
42926 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
42927
42928 [BZ #3976]
42929 * math/libm-test.inc (cosh_test_tonearest): New function.
42930 (cosh_test_towardzero): Likewise.
42931 (cosh_test_downward): Likewise.
42932 (cosh_test_upward): Likewise.
42933 (sinh_test_tonearest): Likewise.
42934 (sinh_test_towardzero): Likewise.
42935 (sinh_test_downward): Likewise.
42936 (sinh_test_upward): Likewise.
42937 (main): Call the new functions.
42938 * sysdeps/i386/fpu/libm-test-ulps: Update.
42939 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42940
6c6a98c9
TV
429412012-03-05 Tom de Vries <tom@codesourcery.com>
42942
42943 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
42944 default stack guard is set in last bytes.
42945 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
42946
21bb2d2e 429472012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 42948
21bb2d2e 42949 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 42950
21bb2d2e
AJ
42951 [BZ #13656]
42952 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
42953 possibly allocate from heap instead of stack.
42954 * stdio-common/bug-vfprintf-nargs.c: New file.
42955 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 42956
c6922934
AS
429572012-03-03 Andreas Schwab <schwab@linux-m68k.org>
42958
42959 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42960
bc957d53
MP
429612012-03-03 Marek Polacek <polacek@redhat.com>
42962
42963 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
42964 * math/math_private.h: Likewise.
42965 * stdlib/tst-strtod.c: Likewise.
42966 * sysdeps/i386/i486/bits/atomic.h: Likewise.
42967 * sysdeps/x86_64/bits/atomic.h: Likewise.
42968
6358490d
DM
429692012-03-02 David S. Miller <davem@davemloft.net>
42970
42971 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
42972 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
42973 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
42974 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
42975 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
42976 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
42977 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
42978 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
42979
01ae168d
RM
429802012-03-02 Roland McGrath <roland@hack.frob.com>
42981
d9a17c07
RM
42982 [BZ #13792]
42983 * manual/examples/README: New file, says the example source files
42984 can be used under GPL>=2.
42985 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
42986 line containing just "*/".
42987 * manual/examples/add.c: Add copyright header (GPL>=2).
42988 * manual/examples/argp-ex1.c: Likewise.
42989 * manual/examples/argp-ex2.c: Likewise.
42990 * manual/examples/argp-ex3.c: Likewise.
42991 * manual/examples/argp-ex4.c: Likewise.
42992 * manual/examples/atexit.c: Likewise.
42993 * manual/examples/db.c: Likewise.
42994 * manual/examples/dir.c: Likewise.
42995 * manual/examples/dir2.c: Likewise.
42996 * manual/examples/execinfo.c: Likewise.
42997 * manual/examples/filecli.c: Likewise.
42998 * manual/examples/filesrv.c: Likewise.
42999 * manual/examples/fmtmsgexpl.c: Likewise.
43000 * manual/examples/genpass.c: Likewise.
43001 * manual/examples/inetcli.c: Likewise.
43002 * manual/examples/inetsrv.c: Likewise.
43003 * manual/examples/isockad.c: Likewise.
43004 * manual/examples/longopt.c: Likewise.
43005 * manual/examples/memopen.c: Likewise.
43006 * manual/examples/memstrm.c: Likewise.
43007 * manual/examples/mkfsock.c: Likewise.
43008 * manual/examples/mkisock.c: Likewise.
43009 * manual/examples/mygetpass.c: Likewise.
43010 * manual/examples/pipe.c: Likewise.
43011 * manual/examples/popen.c: Likewise.
43012 * manual/examples/rprintf.c: Likewise.
43013 * manual/examples/search.c: Likewise.
43014 * manual/examples/select.c: Likewise.
43015 * manual/examples/setjmp.c: Likewise.
43016 * manual/examples/sigh1.c: Likewise.
43017 * manual/examples/sigusr.c: Likewise.
43018 * manual/examples/stpcpy.c: Likewise.
43019 * manual/examples/strdupa.c: Likewise.
43020 * manual/examples/strftim.c: Likewise.
43021 * manual/examples/strncat.c: Likewise.
43022 * manual/examples/subopt.c: Likewise.
43023 * manual/examples/swapcontext.c: Likewise.
43024 * manual/examples/termios.c: Likewise.
43025 * manual/examples/testopt.c: Likewise.
43026 * manual/examples/testpass.c: Likewise.
43027 * manual/examples/timeval_subtract.c: Likewise.
43028
01ae168d
RM
43029 [BZ #13792]
43030 * manual/time.texi (Elapsed Time): Move timeval_subtract example
43031 function to ...
43032 * manual/timeval_subtract.c.texi: ... here, new file.
43033
49efa33d
DM
430342012-03-02 David S. Miller <davem@davemloft.net>
43035
43036 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
43037
28afd92d
JM
430382012-03-02 Joseph Myers <joseph@codesourcery.com>
43039
804360ed
JM
43040 [BZ #3976]
43041 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
43042 (__sin): Save and restore rounding mode and use round-to-nearest
43043 for all computations.
43044 (__cos): Save and restore rounding mode and use round-to-nearest
43045 for all computations.
43046 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
43047 <fenv.h>.
43048 (tan): Save and restore rounding mode and use round-to-nearest for
43049 all computations.
43050 * math/libm-test.inc (cos_test_tonearest): New function.
43051 (cos_test_towardzero): Likewise.
43052 (cos_test_downward): Likewise.
43053 (cos_test_upward): Likewise.
43054 (sin_test_tonearest): Likewise.
43055 (sin_test_towardzero): Likewise.
43056 (sin_test_downward): Likewise.
43057 (sin_test_upward): Likewise.
43058 (tan_test_tonearest): Likewise.
43059 (tan_test_towardzero): Likewise.
43060 (tan_test_downward): Likewise.
43061 (tan_test_upward): Likewise.
43062 (main): Call the new functions.
43063 * sysdeps/i386/fpu/libm-test-ulps: Update.
43064 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43065
a6d06d7b
JM
43066 [BZ #10135]
43067 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
43068 small n, then large n, before computing and testing k+n.
43069 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
43070 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
43071 Likewise.
43072 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
43073 Likewise.
43074 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
43075 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
43076 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
43077 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
43078 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
43079 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
43080 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
43081 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
43082 * math/libm-test.inc (scalbn_test): Add more tests.
43083 (scalbln_test): Likewise.
43084
07e12bb3
JM
43085 * manual/filesys.texi (mode_t): Describe constraints on size and
43086 signedness, not exact equivalence to a particular type.
43087 (ino_t): Likewise.
43088 (ino64_t): Likewise.
43089 (dev_t): Likewise.
43090 (nlink_t): Likewise.
43091 (blkcnt_t): Likewise.
43092 (blkcnt64_t): Likewise.
43093 * manual/llio.texi (off_t): Likewise.
43094
28afd92d
JM
43095 [BZ #3976]
43096 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
43097 (__ieee754_exp): Save and restore rounding mode and use
43098 round-to-nearest for all computations.
43099 * math/libm-test.inc (exp_test_tonearest): New function.
43100 (exp_test_towardzero): Likewise.
43101 (exp_test_downward): Likewise.
43102 (exp_test_upward): Likewise.
43103 (main): Call the new functions.
43104 * sysdeps/i386/fpu/libm-test-ulps: Update.
43105 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43106
b1eeb65d
CD
431072012-03-01 Chris Demetriou <cgd@google.com>
43108
43109 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
43110 have predictable order.
43111
53362a4b
DM
431122012-03-01 David S. Miller <davem@davemloft.net>
43113
3c969083
DM
43114 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
43115
759707de
DM
43116 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
43117 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
43118 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
43119 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
43120
dfdb8ff2
DM
43121 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
43122 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
43123 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
43124 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
43125 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
43126 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
43127 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
43128 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
43129 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
43130
ead89f96
DM
43131 * sysdeps/sparc/fpu/libm-test-ulps: Update.
43132
7f66bd07
DM
43133 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
43134 * sysdeps/sparc/fpu/libm-test-ulps: to here.
43135 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
43136
53362a4b
DM
43137 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
43138 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
43139 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
43140 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
43141 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
43142 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
43143 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
43144 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
43145 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
43146 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
43147 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
43148 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
43149 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
43150 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
43151 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
43152 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
43153 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
43154 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
43155 * sysdeps/sparc/elf/configure: Regenerated.
43156
7b1902cb
JM
431572012-03-01 Joseph Myers <joseph@codesourcery.com>
43158
bec039bc
JM
43159 * configure.in (AS, LD): Require binutils 2.20 or later.
43160 * configure: Regenerated.
43161 * manual/install.texi (Tools for Compilation): Give binutils 2.20
43162 as required minimum version.
43163 * INSTALL: Regenerated.
43164
7b1902cb
JM
43165 [BZ #2541]
43166 [BZ #4108]
43167 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
43168 before squaring exponent.
43169 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
43170 bottom long double and 27 bits of top long double before squaring
43171 exponent.
43172 * math/libm-test.inc (erfc_test): Add more tests.
43173 * sysdeps/i386/fpu/libm-test-ulps: Update.
43174 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
43175 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43176
f775c276
KT
431772012-03-01 Kai Tietz <ktietz@redhat.com>
43178
43179 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
43180 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
43181 containing bit-fields.
43182 * soft-fp/extended.h (_FP_UNION_E): Likewise.
43183 * soft-fp/single.h (_FP_UNION_S): Likewise.
43184 * soft-fp/double.h (_FP_UNION_D): Likewise.
43185
5b8a4d4a
JM
431862012-02-29 Joseph Myers <joseph@codesourcery.com>
43187
0bab47b6
JM
43188 [BZ #13786]
43189 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
43190 not include ../strcmp.S.
43191 [USE_AS_STRNCASECMP_L]: Likewise.
43192 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
43193 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
43194 * sysdeps/i386/i686/multiarch/strncase_l-c.c
43195 (__strncasecmp_l_ia32): Define as alias to
43196 __strncasecmp_l_nonascii.
43197
0fcad3e2
JM
43198 [BZ #5794]
43199 * math/libm-test.inc (expm1_test): Add test for bug 5794.
43200 * sysdeps/i386/fpu/libm-test-ulps: Update.
43201 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43202
5b8a4d4a
JM
43203 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
43204 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43205
8fdceb2e
JL
432062012-02-29 Jeff Law <law@redhat.com>
43207
43208 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
43209 out of bounds read.
43210
1f393a11
MP
432112012-02-29 Marek Polacek <polacek@redhat.com>
43212
43213 [BZ #13706]
43214 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
43215 * elf/Makefile: Add rules to run tst-unused-dep.out.
43216
8847f037
DM
432172012-02-28 David S. Miller <davem@davemloft.net>
43218
43219 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
43220 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
43221 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
43222 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
43223 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
43224 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
43225
169d7f11
JM
432262012-02-29 Joseph Myers <joseph@codesourcery.com>
43227
43228 * math/libm-test.inc (llround_test): Move one test from
43229 lround_test. Use TEST_f_L in moved test.
43230 (lround_test): Move misplaced test to llround_test. Add testcase
43231 from bug 2561.
43232
39adf059
UD
432332012-02-28 Ulrich Drepper <drepper@gmail.com>
43234
43235 * sysdeps/x86_64/fpu/e_expf.S: New file.
43236 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
43237
71b5d1c5
SB
432382012-02-28 Stanislav Brabec <sbrabec@suse.cz>
43239
43240 [BZ #13637]
43241 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
43242 of remain_len that may cause incomplete multi-byte character and
43243 false match.
43244 * posix/bug-regex33.c: New file.
43245 * posix/Makefile (tests): Add bug-regex33.
43246
1f77f049
JM
432472012-02-28 Joseph Myers <joseph@codesourcery.com>
43248
43249 * manual/macros.texi: New file.
43250 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
43251 * manual/libc.texinfo: Include macros.texi.
43252 * manual/creatute.texi: Likewise.
43253 * manual/install.texi: Likewise.
43254 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
43255 @glibcadj{} in references to the GNU C Library.
43256 * manual/charset.texi: Likewise.
43257 * manual/conf.texi: Likewise.
43258 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
43259 when not using those macros.
43260 * manual/creature.texi: Likewise.
43261 * manual/crypt.texi: Likewise.
43262 * manual/errno.texi: Likewise.
43263 * manual/filesys.texi: Likewise.
43264 * manual/header.texi: Likewise.
43265 * manual/install.texi: Likewise.
43266 * manual/intro.texi: Likewise.
43267 * manual/io.texi: Likewise.
43268 * manual/job.texi: Likewise.
43269 * manual/lang.texi: Likewise.
43270 * manual/libc.texiinfo: Likewise.
43271 * manual/llio.texi: Likewise.
43272 * manual/locale.texi: Likewise.
43273 * manual/maint.texi: Likewise.
43274 * manual/math.texi: Likewise.
43275 * manual/memory.texi: Likewise.
43276 * manual/message.texi: Likewise.
43277 * manual/nss.texi: Likewise.
43278 * manual/pattern.texi: Likewise.
43279 * manual/process.texi: Likewise.
43280 * manual/resource.texi: Likewise.
43281 * manual/search.texi: Likewise.
43282 * manual/setjmp.texi: Likewise.
43283 * manual/signal.texi: Likewise.
43284 * manual/socket.texi: Likewise.
43285 * manual/startup.texi: Likewise.
43286 * manual/stdio.texi: Likewise.
43287 * manual/string.texi: Likewise.
43288 * manual/sysinfo.texi: Likewise.
43289 * manual/syslog.texi: Likewise.
43290 * manual/terminal.texi: Likewise.
43291 * manual/time.texi: Likewise.
43292 * manual/users.texi: Likewise.
43293 * INSTALL: Regenerated.
43294 * NOTES: Regenerated.
d40c5d54 43295 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 43296
450bf206
AS
432972012-02-28 Andreas Schwab <schwab@linux-m68k.org>
43298
43299 * include/dirent.h: Include <dirstream.h> before
43300 <dirent/dirent.h>.
43301
741a235b
DM
433022012-02-28 David S. Miller <davem@davemloft.net>
43303
43304 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
43305 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
43306 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
43307 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
43308
d6b5aa58
DM
433092012-02-27 David S. Miller <davem@davemloft.net>
43310
1aff59a3
DM
43311 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
43312 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
43313 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
43314 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
43315
d6b5aa58
DM
43316 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
43317 frame pointer instead of stack pointer relative arg slot.
43318 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
43319 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
43320 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
43321
433f48bf
CD
433222012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
43323
43324 [BZ #3992]
43325 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
43326
d674b76d
DM
433272012-02-27 David S. Miller <davem@davemloft.net>
43328
43329 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
43330 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
43331 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
43332 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
43333 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
43334 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
43335 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
43336 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
43337
0e7727f7
JM
433382012-02-27 Joseph Myers <joseph@codesourcery.com>
43339
43340 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
43341 later. Allow versions 5-9.
43be4ca2 43342 * configure: Regenerated.
0e7727f7
JM
43343 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
43344 required minimum version and 4.6 as recommended version. Do not
43345 mention bugs in GCC 2.7 and 2.8.
43be4ca2 43346 * INSTALL: Regenerated.
0e7727f7 43347
a78bc654
DM
433482012-02-27 David S. Miller <davem@davemloft.net>
43349
428d5830
DM
43350 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
43351 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
43352 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
43353 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
43354 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
43355 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
43356 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
43357 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
43358
a78bc654
DM
43359 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
43360 manipulate bits before adding and subtracting TWO112[sx].
43361 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
43362
4579f81c
RM
433632012-02-27 Roland McGrath <roland@hack.frob.com>
43364
36c8acb4
RM
43365 [BZ #13775]
43366 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
43367 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
43368 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
43369 being in POSIX, because they are in 1003.1-2008.
43370
84ad622b
RM
43371 * rt/tst-aio.c: Include <fcntl.h>.
43372 * rt/tst-aio7.c: Likewise.
43373 * rt/tst-aio64.c: Likewise.
43374
4579f81c
RM
43375 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
43376
abd923db
JM
433772012-02-27 Joseph Myers <joseph@codesourcery.com>
43378
43379 * manual/install.texi (--with-headers): Describe headers as
43380 interface headers, not private headers.
43381 (Specific advice for GNU/Linux systems): Describe use of headers
43382 from "make headers_install", not private headers from older
43383 kernels.
43be4ca2 43384 * INSTALL: Regenerated.
abd923db
JM
43385 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
43386 Change to 2.6.19.
43387 * sysdeps/unix/sysv/linux/configure: Regenerated.
43388
6664049b
JM
43389 * manual/llio.texi (fclean): Remove documentation.
43390
bb8b6697
JM
43391 * manual/Makefile (libc-texi-generated): New variable. Include
43392 version.texi.
43393 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
43394 $(libc-texi-generated), not duplicated list of files.
43395 (version.texi, stamp-version): New rules.
43396 (realclean): Remove $(libc-texi-generated), not individual files
43397 from that list. Do not remove dir-add.texinfo.
43398 * manual/libc.texinfo: Comment out uses of edition numbers and
43399 references to printed manual. Remove last-updated dates.
43400 (EDITION): Comment out.
43401 (ISBN): Likewise.
43402 (VERSION, UPDATED): Remove.
43403 (version.texi): Include.
43404
12e5c3b9
AS
434052012-02-27 Andreas Schwab <schwab@linux-m68k.org>
43406
43407 * sysdeps/posix/spawni.c: Include <signal.h>.
43408 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
43409 * sysdeps/pthread/aio_fsync.c: Likewise.
43410
4efeffc1 434112012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 43412
ba63ba08
UD
43413 * conform/Makefile (tests): Run only when not cross-compiling and
43414 when fast-check is not defined.
43415
d94a4670
UD
43416 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
43417 * conform/data/limits.h-data: Fixes for POSIX2008.
43418 * conform/run-conformtest.sh: Run all tests.
43419 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
43420 headers.
43421 * include/bits/dlfcn.h: Likewise.
43422 * include/langinfo.h: Likewise.
43423 * include/monetary.h: Likewise.
43424 * include/sys/poll.h: Likewise.
43425
43426 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
43427 for __USE_GNU.
43428 * posix/spawn.h: Define __need_sigset_t.
43429 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
43430 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
43431 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
43432 to get sigevent_t only.
43433 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
43434 only for __USE_GNU.
43435 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
43436 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
43437 process_vm_writev only for __USE_GNU.
43438 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
43439
43440 * conform/Makefile: For now ignore errors from run-conformtest.
43441 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
43442 POSIX to avoid namespace pollution. Don't prepend headers.
43443 * conform/data/aio.h-data: Fixes for POSIX testing.
43444 * conform/data/fcntl.h-data: Likewise.
43445 * conform/data/glob.h-data: Likewise.
43446 * conform/data/grp.h-data: Likewise.
43447 * conform/data/pthread.h-data: Likewise.
43448 * conform/data/pwd.h-data: Likewise.
43449 * conform/data/signal.h-data: Likewise.
43450 * conform/data/spawn.h-data: Likewise.
43451 * conform/data/stdio.h-data: Likewise.
43452 * conform/data/stdlib.h-data: Likewise.
43453 * conform/data/stropts.h-data: Likewise.
43454 * conform/data/sys/mman.h-data: Likewise.
43455 * conform/data/sys/stat.h-data: Likewise.
43456 * conform/data/sys/types.h-data: Likewise.
43457 * conform/data/sys/wait.h-data: Likewise.
43458 * conform/data/time.h-data: Likewise.
43459 * conform/data/unistd.h-data: Likewise.
43460 * conform/data/utime.h-data: Likewise.
43461
43462 * io/sys/stat.h: fchmod was always in POSIX.
43463 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
43464 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
43465 * rt/aio.h: Define __need_timespec before including <time.h>.
43466 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
43467 struct. Add forward declaration of pthread_attr_t and use it in
43468 sigevent.
43469 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
43470 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
43471 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
43472 always remove CLK_TCK definition.
43473
c20105c3
AS
434742012-02-26 Andreas Schwab <schwab@linux-m68k.org>
43475
43476 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
43477
7a270350
UD
434782012-02-25 Ulrich Drepper <drepper@gmail.com>
43479
31341567
UD
43480 * conform/run-conformtest.sh: New file.
43481 * conform/Makefile: Run run-conformtest for tests.
43482 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
43483 support.
43484
43485 * conform/data/uchar.h-data: New file.
43486 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
43487 * conform/data/arpa/inet.h-data: Likewise.
43488 * conform/data/assert.h-data: Likewise.
43489 * conform/data/complex.h-data: Likewise.
43490 * conform/data/cpio.h-data: Likewise.
43491 * conform/data/ctype.h-data: Likewise.
43492 * conform/data/dirent.h-data: Likewise.
43493 * conform/data/dlfcn.h-data: Likewise.
43494 * conform/data/errno.h-data: Likewise.
43495 * conform/data/fcntl.h-data: Likewise.
43496 * conform/data/float.h-data: Likewise.
43497 * conform/data/fmtmsg.h-data: Likewise.
43498 * conform/data/fnmatch.h-data: Likewise.
43499 * conform/data/ftw.h-data: Likewise.
43500 * conform/data/glob.h-data: Likewise.
43501 * conform/data/grp.h-data: Likewise.
43502 * conform/data/iconv.h-data: Likewise.
43503 * conform/data/inttypes.h-data: Likewise.
43504 * conform/data/langinfo.h-data: Likewise.
43505 * conform/data/libgen.h-data: Likewise.
43506 * conform/data/limits.h-data: Likewise.
43507 * conform/data/locale.h-data: Likewise.
43508 * conform/data/math.h-data: Likewise.
43509 * conform/data/monetary.h-data: Likewise.
43510 * conform/data/mqueue.h-data: Likewise.
43511 * conform/data/ndbm.h-data: Likewise.
43512 * conform/data/net/if.h-data: Likewise.
43513 * conform/data/netdb.h-data: Likewise.
43514 * conform/data/netinet/in.h-data: Likewise.
43515 * conform/data/nl_types.h-data: Likewise.
43516 * conform/data/poll.h-data: Likewise.
43517 * conform/data/pthread.h-data: Likewise.
43518 * conform/data/pwd.h-data: Likewise.
43519 * conform/data/regex.h-data: Likewise.
43520 * conform/data/sched.h-data: Likewise.
43521 * conform/data/search.h-data: Likewise.
43522 * conform/data/semaphore.h-data: Likewise.
43523 * conform/data/setjmp.h-data: Likewise.
43524 * conform/data/signal.h-data: Likewise.
43525 * conform/data/spawn.h-data: Likewise.
43526 * conform/data/stdarg.h-data: Likewise.
43527 * conform/data/stdio.h-data: Likewise.
43528 * conform/data/stdlib.h-data: Likewise.
43529 * conform/data/string.h-data: Likewise.
43530 * conform/data/strings.h-data: Likewise.
43531 * conform/data/stropts.h-data: Likewise.
43532 * conform/data/sys/ipc.h-data: Likewise.
43533 * conform/data/sys/mman.h-data: Likewise.
43534 * conform/data/sys/msg.h-data: Likewise.
43535 * conform/data/sys/resource.h-data: Likewise.
43536 * conform/data/sys/select.h-data: Likewise.
43537 * conform/data/sys/sem.h-data: Likewise.
43538 * conform/data/sys/shm.h-data: Likewise.
43539 * conform/data/sys/socket.h-data: Likewise.
43540 * conform/data/sys/stat.h-data: Likewise.
43541 * conform/data/sys/statvfs.h-data: Likewise.
43542 * conform/data/sys/time.h-data: Likewise.
43543 * conform/data/sys/timeb.h-data: Likewise.
43544 * conform/data/sys/times.h-data: Likewise.
43545 * conform/data/sys/types.h-data: Likewise.
43546 * conform/data/sys/uio.h-data: Likewise.
43547 * conform/data/sys/un.h-data: Likewise.
43548 * conform/data/sys/utsname.h-data: Likewise.
43549 * conform/data/sys/wait.h-data: Likewise.
43550 * conform/data/syslog.h-data: Likewise.
43551 * conform/data/tar.h-data: Likewise.
43552 * conform/data/termios.h-data: Likewise.
43553 * conform/data/utime.h-data: Likewise.
43554 * conform/data/utmpx.h-data: Likewise.
43555 * conform/data/varargs.h-data: Likewise.
43556 * conform/data/wchar.h-data: Likewise.
43557 * conform/data/wctype.h-data: Likewise.
43558 * conform/data/wordexp.h-data: Likewise.
43559
43560 * include/stropts.h: New file.
43561 * include/uchar.h: New file.
43562 * include/aio.h: Changes to allow conformtest.pl to use the headers.
43563 * include/assert.h: Likewise.
43564 * include/ctype.h: Likewise.
43565 * include/dirent.h: Likewise.
43566 * include/dlfcn.h: Likewise.
43567 * include/fcntl.h: Likewise.
43568 * include/fnmatch.h: Likewise.
43569 * include/glob.h: Likewise.
43570 * include/grp.h: Likewise.
43571 * include/libio.h: Likewise.
43572 * include/locale.h: Likewise.
43573 * include/math.h: Likewise.
43574 * include/net/if.h: Likewise.
43575 * include/netdb.h: Likewise.
43576 * include/netinet/in.h: Likewise.
43577 * include/pthread.h: Likewise.
43578 * include/pwd.h: Likewise.
43579 * include/regex.h: Likewise.
43580 * include/sched.h: Likewise.
43581 * include/search.h: Likewise.
43582 * include/setjmp.h: Likewise.
43583 * include/signal.h: Likewise.
43584 * include/stdio.h: Likewise.
43585 * include/stdlib.h: Likewise.
43586 * include/string.h: Likewise.
43587 * include/sys/cdefs.h: Likewise.
43588 * include/sys/mman.h: Likewise.
43589 * include/sys/msg.h: Likewise.
43590 * include/sys/resource.h: Likewise.
43591 * include/sys/select.h: Likewise.
43592 * include/sys/socket.h: Likewise.
43593 * include/sys/stat.h: Likewise.
43594 * include/sys/statvfs.h: Likewise.
43595 * include/sys/time.h: Likewise.
43596 * include/sys/times.h: Likewise.
43597 * include/sys/uio.h: Likewise.
43598 * include/sys/utsname.h: Likewise.
43599 * include/sys/wait.h: Likewise.
43600 * include/termios.h: Likewise.
43601 * include/time.h: Likewise.
43602 * include/ulimit.h: Likewise.
43603 * include/unistd.h: Likewise.
43604 * include/utime.h: Likewise.
43605 * include/wchar.h: Likewise.
43606 * include/wctype.h: Likewise.
43607 * include/wordexp.h: Likewise.
43608
43609 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
43610
7a270350
UD
43611 * time/time.h: TIME_UTC must be a macro.
43612 Make timespec_get available for ISO C11 only as well.
43613
7724defc
UD
436142012-02-24 Ulrich Drepper <drepper@gmail.com>
43615
43616 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
43617 Reported by Peng Haitao <penght@cn.fujitsu.com>.
43618
6b1d1d46
JM
436192012-02-24 Joseph Myers <joseph@codesourcery.com>
43620
43621 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 43622
0f8bbd69
JM
436232012-02-24 Joseph Myers <joseph@codesourcery.com>
43624
43625 * manual/texinfo.tex: Update to version 2012-01-19.16.
43626
66ab80bc
JM
436272012-02-24 Joseph Myers <joseph@codesourcery.com>
43628
43629 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
43630
74981cc5
RM
436312012-02-24 Roland McGrath <roland@hack.frob.com>
43632
ee968201
RM
43633 [BZ #13738]
43634 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
43635 * manual/fdl-1.3.texi: New file.
43636 * manual/fdl-1.1.texi: File removed.
43637
74981cc5
RM
43638 [BZ #13738]
43639 * manual/libc.texinfo (FDL_VERSION): New @set.
43640 Use it for mention of FDL in cover text.
43641 (Documentation License): Use it in @include file name.
43642
7bb764bc
JM
436432012-02-22 Joseph Myers <joseph@codesourcery.com>
43644 Roland McGrath <roland@hack.frob.com>
43645
43646 [BZ #5461]
57f41c40
AS
43647 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
43648 (not LONG_LONG_MAX and LONG_LONG_MIN.
7bb764bc
JM
43649 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
43650 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
43651 name.
43652 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
43653
6cbeae47
JM
436542012-02-22 Joseph Myers <joseph@codesourcery.com>
43655
43656 [BZ #2547]
43657 [BZ #11365]
43658 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
43659 manipulate bits before adding and subtracting TWO23[sx].
43660 * math/libm-test.inc (nearbyint_test): Add more tests.
43661
fe45ce09
JM
436622012-02-22 Joseph Myers <joseph@codesourcery.com>
43663
43664 [BZ #2548]
43665 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
43666 bits before adding and subtracting TWO23[sx].
43667 * math/libm-test.inc (rint_test): Add more tests.
43668 (rint_test_tonearest): Likewise.
43669 (rint_test_towardzero): Likewise.
43670 (rint_test_downward): Likewise.
43671 (rint_test_upward: Likewise.
43672
ff3b3d82
JM
436732012-02-22 Joseph Myers <joseph@codesourcery.com>
43674
43675 [BZ #10110]
43676 * include/stdc-predef.h: New file. Extracted from features.h.
43677 * include/features.h: Include stdc-predef.h.
43678 * Makefile (headers): Add stdc-predef.h.
43679 * CONFORMANCE (Compiler limitations): Update.
43680
ef0aab35
JM
436812012-02-22 Joseph Myers <joseph@codesourcery.com>
43682
43683 * manual/libc.texinfo (VERSION, UPDATED): Revert.
43684
58639409
DM
436852012-02-21 David S. Miller <davem@davemloft.net>
43686
43687 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
43688 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
43689
c0e70b25
DM
436902012-02-20 David S. Miller <davem@davemloft.net>
43691
43692 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
43693 using a normal save/restore sequence, rather than allocating a
43694 dummy stack frame just to store a frame pointer and restore.
43695 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
43696
fb06851d
JM
436972012-02-21 Joseph Myers <joseph@codesourcery.com>
43698
43699 * manual/install.texi: Fix stray word in line-wrapped comment.
43700
7a8b71c3
DM
437012012-02-20 David S. Miller <davem@davemloft.net>
43702
d510c123
DM
43703 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
43704 both binutils and gcc support GOTDATA.
43705
0722d7c2
DM
43706 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
43707 "rd %pc" in the PIC register setup sequences.
43708
3d2b3019
DM
43709 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
43710 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
43711 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
43712 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
43713 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
43714 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
43715 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
43716 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
43717 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
43718 (SYSCALL_ERROR_HANDLER): Likewise.
43719 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
43720 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
43721 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
43722 (SYSCALL_ERROR_HANDLER): Likewise.
43723
c80098a9
DM
43724 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
43725 (HAVE_GCC_GOTDATA): New.
43726 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
43727 relocation support in both binutils and gcc.
43728 * sysdeps/sparc/elf/configure: Regenerate.
43729
3a2545a0
DM
43730 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
43731 * sysdeps/sparc/sparc32/elf/configure: Delete.
43732 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
43733 * sysdeps/sparc/sparc64/elf/configure: Delete.
43734 * sysdeps/sparc/elf/configure.in: New file.
43735 * sysdeps/sparc/elf/configure: Generate.
43736
7a8b71c3
DM
43737 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
43738 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
43739 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
43740 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
43741 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
43742
f1e86fca
JM
437432012-02-21 Joseph Myers <joseph@codesourcery.com>
43744
43745 * manual/install.texi: Do not mention specific glibc version
43746 numbers.
43747 * manual/libc.texinfo (VERSION, UPDATED): Update.
43748 (@copying): Use @copyright{} and range of years.
43749
0e7dfaef
JM
437502012-02-21 Joseph Myers <joseph@codesourcery.com>
43751
43752 [BZ #13695]
43753 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
43754 [crti.S not in sysdirs] (generated): Do not append.
43755 [crti.S not in sysdirs] (omit-deps): Likewise.
43756 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
43757 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
43758 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
43759 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
43760 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
43761 Likewise.
43762 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
43763 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
43764 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
43765 * csu/defs.awk: Remove file.
43766 * sysdeps/generic/initfini.c: Likewise.
43767 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
43768 variable.
43769 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
43770 Likewise.
43771
599af3ca
JM
437722012-02-20 Joseph Myers <joseph@codesourcery.com>
43773
43774 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
43775 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
43776 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
43777 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
43778 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
43779 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
43780 <bits/epoll.h>.
43781 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
43782 (__EPOLL_PACKED): Define to empty if not defined by
43783 <bits/epoll.h>.
43784 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
43785 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
43786 bits/epoll.h.
43787
0e499750
JM
437882012-02-20 Joseph Myers <joseph@codesourcery.com>
43789
43790 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
43791 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
43792 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
43793 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
43794 <bits/timerfd.h>.
43795 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
43796 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
43797 bits/timerfd.h.
43798
5ad91f6e
JM
437992012-02-20 Joseph Myers <joseph@codesourcery.com>
43800
43801 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
43802 in C locale.
43803 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
43804 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
43805 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
43806 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43807
06b99b02
AJ
438082012-02-20 Aurelien Jarno <aurelien@aurel32.net>
43809
43810 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
43811 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
43812
7638c0fd
AS
438132012-02-19 Andreas Schwab <schwab@linux-m68k.org>
43814
43815 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
43816 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
43817 defined.
43818 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
43819 Likewise.
43820 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
43821 entry for 2.16.
43822
92221550
AJ
438232012-02-19 Aurelien Jarno <aurelien@aurel32.net>
43824
43825 * math/w_acos.c: Use non-signaling floating-point comparisons.
43826 * math/w_acosf.c: Likewise.
43827 * math/w_acosh.c: Likewise.
43828 * math/w_acoshf.c: Likewise.
43829 * math/w_acoshl.c: Likewise.
43830 * math/w_acosl.c: Likewise.
43831 * math/w_asin.c: Likewise.
43832 * math/w_asinf.c: Likewise.
43833 * math/w_asinl.c: Likewise.
43834 * math/w_atanh.c: Likewise.
43835 * math/w_atanhf.c: Likewise.
43836 * math/w_atanhl.c: Likewise.
43837 * math/w_exp2.c: Likewise.
43838 * math/w_exp2f.c: Likewise.
43839 * math/w_exp2l.c: Likewise.
43840 * math/w_j0.c: Likewise.
43841 * math/w_j0f.c: Likewise.
43842 * math/w_j0l.c: Likewise.
43843 * math/w_j1.c: Likewise.
43844 * math/w_j1f.c: Likewise.
43845 * math/w_j1l.c: Likewise.
43846 * math/w_jn.c: Likewise.
43847 * math/w_jnf.c: Likewise.
43848 * math/w_log.c: Likewise.
43849 * math/w_log10.c: Likewise.
43850 * math/w_log10f.c: Likewise.
43851 * math/w_log10l.c: Likewise.
43852 * math/w_log2.c: Likewise.
43853 * math/w_log2f.c: Likewise.
43854 * math/w_log2l.c: Likewise.
43855 * math/w_logf.c: Likewise.
43856 * math/w_logl.c: Likewise.
43857 * math/w_sqrt.c: Likewise.
43858 * math/w_sqrtf.c: Likewise.
43859 * math/w_sqrtl.c: Likewise.
43860 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
43861 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
43862 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
43863 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
43864 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
43865
ebaf36eb
JM
438662012-02-19 Joseph Myers <joseph@codesourcery.com>
43867
43868 [BZ #9739]
43869 * manual/string.texi (strnlen): Use correct parameter name in
43870 equivalent expression.
43871
71c254a6
JM
438722012-02-19 Joseph Myers <joseph@codesourcery.com>
43873
43874 [BZ #11174]
43875 * manual/users.texi (seteuid): Consistently use neweuid for
43876 argument name.
43877
16d2c631
JM
438782012-02-19 Joseph Myers <joseph@codesourcery.com>
43879
43880 [BZ #13704]
43881 * manual/nss.texi (Services in the NSS configuration): Correct
43882 list of services in example configuration file.
43883
cd837b09
NB
438842012-02-19 Nick Bowler <nbowler@draconx.ca>
43885
43886 [BZ #11322]
43887 * manual/arith.texi: Remove statements about negative zero
43888 behaving identically to zero.
43889
02c4bbad
JM
438902012-02-18 Joseph Myers <joseph@codesourcery.com>
43891
43892 [BZ #5993]
43893 * manual/install.texi: Do not document upgrading from libc5.
43894
366842e7
JM
438952012-02-18 Joseph Myers <joseph@codesourcery.com>
43896
43897 [BZ #4596]
43898 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
43899
dd54084d
DM
439002012-02-18 David S. Miller <davem@davemloft.net>
43901
43902 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
43903 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
43904 %o7 across the call.
43905 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
43906 instead.
43907 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
43908 SETUP_PIC_REG_LEAF.
43909 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
43910 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
43911 * sysdeps/sparc/crtn.S: Likewise.
43912
2bcc53a3
UD
439132012-02-17 Ulrich Drepper <drepper@gmail.com>
43914
43915 * aout/Makefile: Remove.
43916
09c093b5
RK
439172012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
43918
43919 [BZ #13058]
43920 * manual/examples/argp-ex1.c (main): Format definition in GNU
43921 style.
43922 * manual/examples/argp-ex2.c (main): Likewise.
43923 * manual/examples/argp-ex3.c (main): Likewise.
43924 * manual/examples/argp-ex4.c (main): Likewise.
43925 * manual/examples/longopt.c (main): Use new-style prototype
43926 definition.
43927 * manual/examples/strncat.c (main): Specify return type and use
43928 (void) for arguments.
43929 * manual/examples/subopt.c (main): Use char **argv argument.
43930
2ee633a2
JM
439312012-02-17 Joseph Myers <joseph@codesourcery.com>
43932
43933 [BZ #5077]
43934 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
43935 rounding modes.
43936
0520adde
FB
439372012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
43938
43939 [BZ #6907]
43940 * manual/string.texi (strchr): Change when strchrnul is
43941 recommended.
43942
3f4081cd
DGM
439432012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
43944
43945 [BZ #174]
43946 * manual/locale.texi (setlocale): Document LOCPATH.
43947
d1b10e78
JM
439482012-02-17 Joseph Myers <joseph@codesourcery.com>
43949
43950 [BZ #10210]
43951 * manual/process.texi (execle): Move @dots{} before last argument.
43952
79c6869c
PB
439532012-02-17 Paul Bolle <pebolle@tiscali.nl>
43954
43955 [BZ #12047]
43956 * manual/charset.texi (Generic Charset Conversion): Fix typo
43957 (LC_TYPE -> LC_CTYPE).
43958
cc6e48bc
NB
439592012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
43960
43961 [BZ #5805]
43962 * manual/arith.texi (scalbn): Use @var{} on parameter names.
43963 (scalbnf): Likewise.
43964 (scalbnl): Likewise.
43965 (scalbln): Likewise.
43966 (scalblnf): Likewise.
43967 (scalblnl): Likewise.
43968 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
43969 (vwarnx): Likewise.
43970 (verr): Likewise.
43971 (verrx): Likewise.
43972 * manual/filesys.texi (telldir): Use braces around return type.
43973 * manual/llio.texi (mmap): Add space after comma.
43974 (mmap64): Likewise.
43975 * manual/math.texi (jn): Use @var{} on parameter names.
43976 (jnf): Likewise.
43977 (jnl): Likewise.
43978 (yn): Likewise.
43979 (ynf): Likewise.
43980 (ynl): Likewise.
43981 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
43982 line.
43983 * manual/resource.texi (ulimit): Use @dots{} instead of literal
43984 "...".
43985 (sched_get_priority_min): Remove semicolon on @deftypefun line.
43986 (sched_get_priority_max): Likewise.
43987 * manual/signal.texi (sigvec): Add space after comma.
43988 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
43989 names.
43990 (if_indextoname): Likewise.
43991 (if_freenameindex): Likewise.
43992 (sendto): Use ',' instead of '.' in prototype.
43993 * manual/startup.texi (syscall): Use @dots{} instead of literal
43994 "...".
43995 * manual/stdio.texi (__fpending): Separate initial words of
43996 paragraph from @deftypefun line.
43997 * manual/syslog.texi (syslog): Use @dots{} instead of literal
43998 "...".
43999 (vsyslog): Use @var{} on parameter names.
44000 * manual/terminal.texi (stty): Use @var{} on parameter names.
44001 * manual/users.texi (getutmp): Use @var{} on parameter names.
44002 (getutmpx): Likewise.
44003
5b23062f
JM
440042012-02-17 Joseph Myers <joseph@codesourcery.com>
44005
44006 [BZ #6884]
44007 * manual/stdio.texi (fopen): Fix typos in description of
44008 ",ccs=STRING".
44009
8dee4833
AJ
440102012-02-17 Aurelien Jarno <aurelien@aurel32.net>
44011
44012 [BZ #4026]
44013 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
44014 get clock_id definition.
44015
9078ce93
TS
440162012-02-17 Thomas Schwinge <thomas@schwinge.name>
44017
44018 [BZ #4822]
44019 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
44020 (madvise): Cast every argument to void on its own.
44021
3835c55f
JM
440222012-02-17 Joseph Myers <joseph@codesourcery.com>
44023
44024 [BZ #9902]
44025 * manual/startup.texi (Exit Status): Fix typo.
44026
35c47e37
JM
440272012-02-17 Joseph Myers <joseph@codesourcery.com>
44028
44029 [BZ #10140]
44030 * manual/examples/argp-ex1.c: Include <stdlib.h>.
44031 * manual/examples/argp-ex2.c: Likewise.
44032 * manual/examples/argp-ex3.c: Likewise.
44033
e3b69ca7
RH
440342012-02-16 Richard Henderson <rth@redhat.com>
44035
44036 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
44037 * sysdeps/s390/s390-32/initfini.c: Remove.
44038 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
44039 * sysdeps/s390/s390-64/initfini.c: Remove.
44040
df83af67
KK
440412012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
44042
44043 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
44044 compiler output for sysdeps/generic/initfini.c.
44045 * sysdeps/sh/elf/initfini.c: Remove file.
44046
f63f3380
DM
440472012-02-16 David S. Miller <davem@davemloft.net>
44048
fb59b3a4
DM
44049 [BZ #11494]
44050 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
44051
f63f3380
DM
44052 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
44053 * sysdeps/sparc/crti.S: New file.
44054 * sysdeps/sparc/crtn.S: New file.
44055 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
44056 * sysdeps/sparc/sparc64/Makefile: Likewise.
44057
df6a4a4a
MF
440582012-02-15 Mike Frysinger <vapier@gentoo.org>
44059
6dd8f3dc 44060 [BZ #3335]
df6a4a4a
MF
44061 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
44062
1cac7236
RM
440632012-02-15 Roland McGrath <roland@hack.frob.com>
44064
d2c736f8
RM
44065 [BZ #4822]
44066 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
44067
1cac7236
RM
44068 * mach/devstream.c (cookie_io_functions_t): Macro removed.
44069 (write, read, close): Likewise.
44070 Patch by Aurelien Jarno <aurelien@aurel32.net>.
44071
8e475601
JM
440722012-02-15 Joseph Myers <joseph@codesourcery.com>
44073
44074 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
44075 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
44076 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
44077 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
44078 <bits/signalfd.h>.
44079 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
44080 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
44081 bits/signalfd.h.
44082
ed656b40
MP
440832012-02-14 Marek Polacek <polacek@redhat.com>
44084
44085 * sysdeps/x86_64/crti.S: New file.
44086 * sysdeps/x86_64/crtn.S: New file.
44087 * sysdeps/x86_64/elf/initfini.c: Remove file.
44088
2a979d3a
JM
440892012-02-13 Joseph Myers <joseph@codesourcery.com>
44090
44091 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
44092 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
44093 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
44094 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
44095 <bits/inotify.h>.
44096 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
44097 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
44098 bits/inotify.h.
44099
2a418ac3
JM
441002012-02-13 Joseph Myers <joseph@codesourcery.com>
44101
44102 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
44103 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
44104 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
44105 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
44106 <bits/eventfd.h>.
44107 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
44108 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
44109 bits/eventfd.h.
44110
fb779be7
TS
441112012-02-10 Thomas Schwinge <thomas@codesourcery.com>
44112
e19e83c5
RM
44113 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
44114 __feraiseexcept instead of feraiseexcept.
7c35ffed 44115
fb779be7
TS
44116 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
44117 nanosleep invocations.
44118 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
44119 strings, and add error checking for a nanosleep invocations.
44120
59ba27a6
PE
441212012-02-09 Paul Eggert <eggert@cs.ucla.edu>
44122
44123 Replace FSF snail mail address with URLs, as per GNU coding standards.
44124 Most of the snail mail addresses were wrong anyway, and omitting
44125 them makes the source code easier to maintain. Almost all of the
44126 changes are to license notices and to locale LC_IDENTIFICATION
44127 addresses, except for this one:
44128 * manual/libc.texinfo: In "Published by", give the FSF's URL,
44129 not its snail mail address.
44130
57b957eb
RH
441312012-02-09 Richard Henderson <rth@twiddle.net>
44132
af850b1c
RH
44133 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
44134 of kernel-features.h.
44135
57b957eb
RH
44136 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
44137
6b73181a
MP
441382012-02-08 Marek Polacek <polacek@redhat.com>
44139
44140 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
44141 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
44142 * sysdeps/gnu/_G_config.h: Likewise.
44143 * sysdeps/generic/_G_config.h: Likewise.
44144
26ecc33a
AS
441452012-02-08 Andreas Schwab <schwab@linux-m68k.org>
44146
6c6dbc63
AS
44147 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
44148 tests.
44149 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44150
e216c012
AS
44151 * sysdeps/powerpc/powerpc32/crti.S: New file.
44152 * sysdeps/powerpc/powerpc32/crtn.S: New file.
44153 * sysdeps/powerpc/powerpc64/crti.S: New file.
44154 * sysdeps/powerpc/powerpc64/crtn.S: New file.
44155
26ecc33a
AS
44156 * Makeconfig (have-initfini): Don't set.
44157 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
44158 * configure.in (nopic_initfini): Don't substitute.
44159 * config.h.in (HAVE_INITFINI): Don't #undef.
44160 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
44161 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
44162
3add8e13
JM
441632012-02-08 Joseph Myers <joseph@codesourcery.com>
44164
44165 Support crti.S and crtn.S provided directly by architectures.
44166 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
44167 [crti.S in sysdirs] (omit-deps): Likewise.
44168 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
44169 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
44170 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
44171 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
44172 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
44173 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
44174 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
44175 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
44176 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
44177 compiler output for sysdeps/generic/initfini.c.
44178 * sysdeps/i386/elf/Makefile: Remove file.
44179 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
44180
a22f12b4
MP
441812012-02-07 Marek Polacek <polacek@redhat.com>
44182
44183 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
44184 * sysdeps/gnu/_G_config.h: Likewise.
44185 * sysdeps/mach/hurd/_G_config.h: Likewise.
44186
148cf100
MP
441872012-02-07 Marek Polacek <polacek@redhat.com>
44188
44189 * math/Makefile (tests): Add tst-CMPLX2.
44190 * math/tst-CMPLX2.c: New file.
44191
cfdc0dd7
AS
441922012-02-07 Andreas Schwab <schwab@linux-m68k.org>
44193
84ba42c4
AS
44194 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
44195
cfdc0dd7
AS
44196 * math/libm-test.inc (jn_test): Add missing L suffix.
44197
622c86f4
MP
441982012-02-06 Marek Polacek <polacek@redhat.com>
44199
44200 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
44201 * sysdeps/i386/fpu/e_powf.S: Likewise.
44202 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
44203 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
44204 * sysdeps/i386/fpu/e_acosh.S: Likewise.
44205 * sysdeps/i386/fpu/e_pow.S: Likewise.
44206 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
44207 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
44208 * sysdeps/i386/fpu/s_expm1.S: Likewise.
44209 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
44210 * sysdeps/i386/fpu/e_log2.S: Likewise.
44211 * sysdeps/i386/fpu/e_log2l.S: Likewise.
44212 * sysdeps/i386/fpu/e_scalb.S: Likewise.
44213 * sysdeps/i386/fpu/e_powl.S: Likewise.
44214 * sysdeps/i386/fpu/s_log1p.S: Likewise.
44215 * sysdeps/i386/fpu/e_log10f.S: Likewise.
44216 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
44217 * sysdeps/i386/fpu/e_logl.S: Likewise.
44218 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
44219 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
44220 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
44221 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
44222 * sysdeps/i386/fpu/e_log2f.S: Likewise.
44223 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
44224 * sysdeps/i386/fpu/e_log.S: Likewise.
44225 * sysdeps/i386/fpu/s_cexp.S: Likewise.
44226 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
44227 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
44228 * sysdeps/i386/fpu/e_logf.S: Likewise.
44229 * sysdeps/i386/fpu/e_log10l.S: Likewise.
44230 * sysdeps/i386/fpu/e_atanh.S: Likewise.
44231 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
44232 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
44233 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
44234 * sysdeps/i386/fpu/e_log10.S: Likewise.
44235 * sysdeps/i386/fpu/s_frexp.S: Likewise.
44236 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
44237 * sysdeps/i386/fpu/s_asinh.S: Likewise.
44238 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
44239 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
44240 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
44241 * sysdeps/i386/asm-syntax.h: Likewise.
44242 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
44243 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
44244 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
44245 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
44246 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
44247 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
44248 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
44249 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
44250 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
44251 * sysdeps/powerpc/sysdep.h: Likewise.
44252 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
44253 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
44254
d4a54ac6
JM
442552012-02-06 Joseph Myers <joseph@codesourcery.com>
44256
44257 [BZ #411]
44258 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
44259
314054ea
JM
442602012-02-06 Joseph Myers <joseph@codesourcery.com>
44261
44262 * sysdeps/i386/sysdep.h: Include <features.h>.
44263 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
44264 version.
44265
d8e0ca50
JM
442662012-02-05 Joseph Myers <joseph@codesourcery.com>
44267
44268 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
44269 Define.
44270 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
44271 LOAD_PIC_REG_STR.
44272
b1da7dd9
JM
442732012-02-03 Joseph Myers <joseph@codesourcery.com>
44274
44275 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
44276 (SETUP_PIC_REG): Use GET_PC_THUNK.
44277 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
44278 macro.
44279
9a1d9254
JM
442802012-02-03 Joseph Myers <joseph@codesourcery.com>
44281
44282 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
44283 for non-PIC compilation.
44284 (SETUP_PIC_REG): Add .p2align directive.
44285 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
44286 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
44287 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
44288 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
44289 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
44290 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
44291 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
44292 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
44293 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
44294 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
44295 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
44296 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
44297 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
44298 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
44299 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
44300 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
44301 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
44302 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
44303 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
44304 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
44305 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
44306 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
44307 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
44308 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
44309 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
44310 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
44311 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
44312 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
44313 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
44314 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
44315 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
44316 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
44317 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
44318 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
44319 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
44320 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
44321 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
44322 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
44323 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
44324 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
44325 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
44326
65dc3b75
JM
443272012-02-03 Joseph Myers <joseph@codesourcery.com>
44328
44329 * math/tst-CMPLX.c: Include <stdio.h>.
44330
d55bf177
JM
443312012-01-31 Joseph Myers <joseph@codesourcery.com>
44332
44333 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
44334 float.
44335 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
44336 * sysdeps/sparc/bits/mathdef.h: Likewise.
44337
69db4f8f
MP
443382012-01-31 Marek Polacek <polacek@redhat.com>
44339
44340 * libio/libio.h: Don't define _PARAMS.
44341 * locale/programs/config.h: Don't define PARAMS.
44342 * stdlib/strtol_l.c: Likewise.
44343 (__strtol_l): Remove PARAMS from the prototype.
44344
41b81892
UD
443452012-01-31 Ulrich Drepper <drepper@gmail.com>
44346
3b49edc0
UD
44347 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
44348 names. Just use the correct names. Remove unnecessary wrapper
44349 functions.
44350 * malloc/arena.c: Likewise.
44351 * malloc/hooks.c: Likewise.
44352
41b81892
UD
44353 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
44354 ARENA_TEST says not to. Simplify test for creation of a new arena.
44355 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
44356
27a25b6e
UD
443572012-01-30 Ulrich Drepper <drepper@gmail.com>
44358
44359 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
44360 into tail calls.
44361 (update_get_addr): New function.
44362 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
44363 GET_ADDR_MODULE parameter.
44364
c8a89e7d
JM
443652012-01-30 Joseph Myers <joseph@codesourcery.com>
44366
44367 * crypt/cert.c: Remove __STDC__ conditionals.
44368 * crypt/crypt-entry.c: Likewise.
44369 * crypt/crypt_util.c: Likewise.
44370 * libio/filedoalloc.c: Likewise.
44371 * libio/fileops.c: Likewise.
44372 * libio/genops.c: Likewise.
44373 * libio/iofclose.c: Likewise.
44374 * libio/iofdopen.c: Likewise.
44375 * libio/iofopen.c: Likewise.
44376 * libio/iofopen64.c: Likewise.
44377 * libio/iogetdelim.c: Likewise.
44378 * libio/iopopen.c: Likewise.
44379 * libio/obprintf.c: Likewise.
44380 * libio/oldfileops.c: Likewise.
44381 * libio/oldiofclose.c: Likewise.
44382 * libio/oldiofdopen.c: Likewise.
44383 * libio/oldiofopen.c: Likewise.
44384 * libio/oldiopopen.c: Likewise.
44385 * libio/wfiledoalloc.c: Likewise.
44386 * libio/wgenops.c: Likewise.
44387 * locale/programs/xmalloc.c: Likewise.
44388 * misc/syslog.c: Likewise.
44389 * stdio-common/xbug.c: Likewise.
44390 * string/memchr.c: Likewise.
44391 * string/memcmp.c: Likewise.
44392 * string/memrchr.c: Likewise.
44393 * string/rawmemchr.c: Likewise.
44394 * sysdeps/posix/getcwd.c: Likewise.
44395 * time/strftime_l.c: Likewise.
44396
3b100462
JM
443972012-01-30 Joseph Myers <joseph@codesourcery.com>
44398
44399 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
44400 * config.make.in (config-cflags-sse2avx): Define.
44401 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
44402 Fix typo.
44403
607998af
CM
444042012-01-29 Chris Metcalf <cmetcalf@tilera.com>
44405
44406 * scripts/config.guess: Update from upstream config git repository.
44407 * scripts/config.sub: Likewise.
44408
3601428f
CM
444092012-01-28 Chris Metcalf <cmetcalf@tilera.com>
44410
3ac8b282
CM
44411 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
44412 (EM_NUM): Update.
44413 (R_TILEPRO_*, R_TILEGX_*): New macros.
44414
e034841e
CM
44415 * scripts/firstversions.awk: Fix bug in version range handling.
44416
540d7568
CM
44417 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
44418
3601428f
CM
44419 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
44420
463de862
CM
44421 * include/sys/epoll.h: New file.
44422 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
44423 libc_hidden_def.
44424
73139a76
UD
444252012-01-28 Ulrich Drepper <drepper@gmail.com>
44426
96bc5b45
UD
44427 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
44428 Avoid unnecessary __WORDSIZE == 64 test.
44429 (fmaxf): Use VEX format if possible.
44430 (fmax): Likewise.
44431 (fminf): Likewise.
44432 (fmin): Likewise.
44433
56f6f6a2
UD
44434 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
44435 * math/math_private.h: Remove libc_fegetround* and
44436 libc_fesetround*.
44437 * sysdeps/i386/configure.in: Check for -msse2avx.
44438 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
44439 also if SSE2AVX is defined.
44440 Remove libc_fegetround* and libc_fesetround*.
44441 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
44442 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
44443 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
44444 of HAS_YMM_USABLE.
44445 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
44446 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
44447 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
44448 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
44449 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
44450
73139a76
UD
44451 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
44452
d73f93a4
AZ
444532012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
44454
44455 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
44456 size is not set.
44457 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
44458
6ee65ed6
UD
444592012-01-27 Ulrich Drepper <drepper@gmail.com>
44460
44461 [BZ #13618]
44462 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
44463 relocation.
44464 * Makeconfig (libm): Define.
44465 * elf/Makefile: Add rules to build and run tst-relsort1.
44466 * elf/tst-relsort1.c: New file.
44467 * elf/tst-relsort1mod1.c: New file.
44468 * elf/tst-relsort1mod2.c: New file.
44469
8db21882
JM
444702012-01-27 Joseph Myers <joseph@codesourcery.com>
44471
44472 * math/s_ldexp.c: Remove __STDC__ conditionals.
44473 * math/s_ldexpf.c: Likewise.
44474 * math/s_ldexpl.c: Likewise.
44475 * math/s_nextafter.c: Likewise.
44476 * math/s_nexttowardf.c: Likewise.
44477 * math/s_significand.c: Likewise.
44478 * math/s_significandf.c: Likewise.
44479 * math/s_significandl.c: Likewise.
44480 * math/w_jnl.c: Likewise.
44481 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
44482 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
44483 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
44484 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
44485 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
44486 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
44487 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
44488 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
44489 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
44490 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
44491 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
44492 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
44493 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
44494 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
44495 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
44496 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
44497 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
44498 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
44499 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
44500 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
44501 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
44502 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
44503 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
44504 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
44505 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
44506 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
44507 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
44508 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
44509 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
44510 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
44511 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
44512 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
44513 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
44514 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
44515 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
44516 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
44517 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
44518 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
44519 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
44520 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
44521 * sysdeps/ieee754/k_standard.c: Likewise.
44522 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
44523 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
44524 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
44525 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
44526 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
44527 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
44528 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
44529 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
44530 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
44531 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
44532 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
44533 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
44534 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
44535 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
44536 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
44537 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
44538 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
44539 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
44540 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
44541 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
44542 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
44543 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
44544 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
44545 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
44546 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
44547 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
44548 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
44549 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
44550 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
44551 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
44552 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
44553 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
44554 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
44555 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
44556 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
44557 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
44558 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
44559 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
44560 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
44561 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
44562 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
44563 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
44564 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
44565 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
44566 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
44567 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
44568 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
44569 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
44570 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
44571 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
44572 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
44573 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
44574 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
44575 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
44576 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
44577 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
44578 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
44579 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
44580 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
44581 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
44582 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
44583 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
44584 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
44585 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
44586 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
44587 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
44588 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
44589 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
44590 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
44591 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
44592 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
44593 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
44594 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
44595 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
44596 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
44597 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
44598 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
44599 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
44600 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
44601 * sysdeps/ieee754/s_matherr.c: Likewise.
44602 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
44603 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
44604 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
44605 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
44606
965a54a4
JM
446072012-01-26 Joseph Myers <joseph@codesourcery.com>
44608
44609 * crypt/md5.h: Remove __STDC__ conditionals.
44610 * libio/libioP.h: Likewise.
44611 * locale/programs/config.h: Likewise.
44612 * sysdeps/generic/sysdep.h: Likewise.
44613 * sysdeps/i386/asm-syntax.h: Likewise.
44614 * sysdeps/s390/asm-syntax.h: Likewise.
44615 * sysdeps/unix/sysdep.h: Likewise.
44616 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
44617 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
44618
7071ad79
JM
446192012-01-26 Joseph Myers <joseph@codesourcery.com>
44620
44621 * libio/libio.h: Remove __STDC__ conditionals.
44622 * malloc/obstack.h: Likewise.
44623 * math/complex.h: Likewise.
44624 * math/math.h: Likewise.
44625 * sysdeps/generic/_G_config.h: Likewise.
44626 * sysdeps/gnu/_G_config.h: Likewise.
44627 * sysdeps/mach/hurd/_G_config.h: Likewise.
44628 * sysdeps/powerpc/bits/mathdef.h: Likewise.
44629 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
44630 * sysdeps/sparc/bits/mathdef.h: Likewise.
44631
afc5ed09
UD
446322012-01-26 Ulrich Drepper <drepper@gmail.com>
44633
44634 [BZ #13583]
44635 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 44636 Clean up HAS_* macros.
afc5ed09 44637 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
44638 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
44639 possible.
44640 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
44641 HAS_AVX.
44642 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
44643 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
44644 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
44645 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
44646 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 44647
bdb6de1d
JM
446482012-01-25 Joseph Myers <joseph@codesourcery.com>
44649
44650 * elf/tst-unique3.cc (gets): Remove declaration.
44651 * elf/tst-unique3lib.cc (gets): Likewise.
44652 * elf/tst-unique3lib2.cc (gets): Likewise.
44653 * elf/tst-unique4.cc (gets): Likewise.
44654
b15549e6
UD
446552012-01-24 Ulrich Drepper <drepper@gmail.com>
44656
44657 * include/stdio.h: Add C++ protection. Add gets declarations and
44658 definitions.
44659 * debug/tst-chk1.c: Don't declare gets here.
44660 * stdio-common/tst-gets.c: Likewise.
44661
a037381f
JM
446622012-01-24 Joseph Myers <joseph@codesourcery.com>
44663
44664 * posix/glob: Remove directory.
44665
f1d4aa75
JM
446662012-01-24 Joseph Myers <joseph@codesourcery.com>
44667
44668 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
44669
81c0c964
PT
446702012-01-22 Pino Toscano <toscano.pino@tiscali.it>
44671
44672 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
44673 of the non-standard EPFNOSUPPORT.
44674
0ea698ae
ST
446752011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
44676
44677 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
44678 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
44679 ANYWHERE set to 1 only on KERN_NO_SPACE error.
44680
d220b117
UD
446812012-01-21 Ulrich Drepper <drepper@gmail.com>
44682
44683 * wcsmbs/uchar.h: Test __STDC_VERSION__.
44684
3e1aa84e
UD
446852012-01-20 Ulrich Drepper <drepper@gmail.com>
44686
44687 * nscd/aicache.c (addhstaiX): Do not cache negative results of
44688 transient errors.
44689 * nscd/grpcache.c (cache_addgr): Likewise.
44690 * nscd/hstcache.c (cache_addhst): Likewise.
44691 * nscd/initgrcache.c (addinitgroupsX): Likewise.
44692 * nscd/pwdcache.c (cache_addpw): Likewise.
44693 * nscd/servicescache.c (cache_addserv): Likewise.
44694
400aa020
UD
446952012-01-16 Ulrich Drepper <drepper@gmail.com>
44696
d77e7869
UD
44697 * malloc/malloc.c: Various cleanups.
44698 * malloc/hooks.c: Likewise.
44699
400aa020
UD
44700 * stdlib/Makefile (tests): Add bug-fmtmsg1.
44701 * stdlib/bug-fmtmsg1.c: New file.
44702
44703 * stdlib/fmtmsg.c (init): Add missing unlock.
44704 Patch by Peng Haitao <penght@cn.fujitsu.com>.
44705
e0a309cf
MP
447062012-01-12 Marek Polacek <polacek@redhat.com>
44707
44708 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
44709 and _GNU_SOURCE.
44710
929d11c7
WS
447112012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
44712
44713 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
44714 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
44715 macro to ensure uniqueness of label name.
44716 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
44717 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
44718
41d0e869
UD
447192012-01-11 Ulrich Drepper <drepper@gmail.com>
44720
0cc5ed3b
UD
44721 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
44722
41d0e869
UD
44723 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
44724 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
44725 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
44726 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
44727
a47a831a
UD
447282012-01-10 Ulrich Drepper <drepper@gmail.com>
44729
daa891c0
UD
44730 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
44731
44732 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
44733 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
44734 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
44735
e58ef0f2
UD
44736 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
44737
a47a831a 44738 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
44739 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
44740 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 44741 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
44742
44743 * math/bits/math-finite.h: Add ldexp support.
44744
a0bfc9c7
MP
447452012-01-10 Marek Polacek <polacek@redhat.com>
44746
44747 * locale/programs/localedef.h (show_archive_content): Add noreturn
44748 attribute.
44749
d6e97a1d
UD
447502012-01-09 Ulrich Drepper <drepper@gmail.com>
44751
44752 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
44753
d5835c26
UD
447542012-01-08 Ulrich Drepper <drepper@gmail.com>
44755
e5f484c6
UD
44756 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
44757
d5835c26
UD
44758 * io/Makefile (headers): Add bits/poll2.h.
44759
d1f741e9
WS
447602011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
44761
44762 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
44763 typo #include statement.
44764
ec09c1c4
UD
447652012-01-08 Ulrich Drepper <drepper@gmail.com>
44766
44767 * include/sys/cdefs.h: Define __attribute_alloc_size.
44768 * catgets/gencat.c: Add alloc_size attribute and apply consistently
44769 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
44770 * elf/pldd.c: Likewise.
44771 * iconv/iconv_charmap.c: Likewise.
44772 * iconv/iconvconfig.c: Likewise.
44773 * iconv/strtab.c: Likewise.
44774 * locale/programs/locale.c: Likewise.
44775 * locale/programs/localedef.h: Likewise.
44776 * locale/programs/simple-hash.c: Likewise.
44777 * nscd/nscd.h: Likewise.
44778 * nss/makedb.c: Likewise.
44779 * sysdeps/generic/ldconfig.h: Likewise.
44780 * locale/programs/localedef.c: Remove xmalloc prototype.
44781 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
44782
20b38e03
PP
447832012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
44784
44785 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
44786 appropriate.
44787
a0da5fe1
UD
447882012-01-08 Ulrich Drepper <drepper@gmail.com>
44789
1d5a644a 44790 * math/Makefile (tests): Add tst-CMPLX.
669704fd 44791 * math/tst-CMPLX.c: New file.
1d5a644a 44792
8784a6db
UD
44793 * math/complex.h (CMPLXL): Fix typo.
44794
d9a216c0
UD
44795 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
44796 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
44797 GLIBC_2.16.
44798 * debug/tst-chk1.c: Add poll and ppoll tests.
44799 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
44800 * include/sys/poll.h: Add hidden proto for ppoll.
44801 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
44802 * sysdeps/mach/hurd/ppoll.c: Likewise.
44803 * io/ppoll.c: Likewise.
44804 * debug/poll_chk.c: New file.
44805 * debug/ppoll_chk.c: New file.
44806 * include/bits/poll2.h: New file.
44807 * io/bits/poll2.h: New file.
44808
ac097f5c
UD
44809 [BZ #1350]
44810 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
44811
2119dcfa
UD
44812 * configure.in: static is always set to yes. Remove.
44813 * config.make.in: Don't set build-static.
44814 * Makeconfig: Remove use of build-static.
44815 * dlfcn/Makefile: Likewise.
44816 * elf/Makefile: Likewise.
44817 * math/Makefile: Likewise.
44818 * misc/Makefile: Likewise.
44819 * nptl/Makefile: Likewise.
44820 * sysdeps/mach/hurd/Makefile: Likewise.
44821
121766a9
UD
44822 * configure.in: PWD_P is not used anymore.
44823 * config.make.in: Remove PWD_P entry.
44824
51a1d39c 44825 * configure.in: Remove last remnants of RANLIB.
8720d066 44826 No need to check for signed size_t anymore.
215f4bdc
UD
44827 Don't set libc_commonpagesize and libc_relro_required here for Alpha
44828 and IA-64.
3857022a 44829 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
44830 * aclocal.m4: Likewise.
44831
d3ed7225
UD
44832 * wcsmbs/mbrtoc16.c: Implement using towc function.
44833 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
44834 * wcsmbs/wcsmbsload.c: Likewise.
44835 * iconv/gconv_simple.c: Likewise.
44836 * iconv/gconv_int.h: Likewise.
44837 * iconv/gconv_builtin.h: Likewise.
44838 * iconv/iconv_prog.c: Remove CHAR16 handling.
44839
44840 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
44841
44842 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
44843
a0da5fe1
UD
44844 * configure.in: Remove --with-elf and --enable-bounded options.
44845 Dont set base_machine for ia64. More non-ELF conditions removed.
44846 Remove testing and setting of leading underscore information.
44847 * config.make.in (build-bounded): Set to no.
44848 * config.h.in: Remove NO_UNDERSCORES entry.
44849 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
44850 them.
44851 * csu/start.c: Remove !NO_UNDERSCORE code.
44852 * locale/localeinfo.h: Likewise.
44853 * sysdeps/generic/machine-gmon.h: Likewise.
44854 * sysdeps/generic/sysdep.h: Likewise.
44855 * sysdeps/i386/sysdep.h: Likewise.
44856 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
44857 * sysdeps/mach/sysdep.h: Likewise.
44858 * sysdeps/s390/s390-32/sysdep.h: Likewise.
44859 * sysdeps/s390/s390-64/sysdep.h: Likewise.
44860 * sysdeps/sh/sysdep.h: Likewise.
44861 * sysdeps/sparc/sparc32/alloca.S: Likewise.
44862 * sysdeps/unix/i386/sysdep.S: Likewise.
44863 * sysdeps/unix/sparc/start.c: Likewise.
44864 * sysdeps/unix/sparc/sysdep.S: Likewise.
44865 * sysdeps/unix/sparc/sysdep.h: Likewise.
44866 * sysdeps/unix/start.c: Likewise.
44867 * sysdeps/unix/x86_64/sysdep.S: Likewise.
44868 * sysdeps/x86_64/sysdep.h: Likewise.
44869
df78418a
UD
448702012-01-07 Ulrich Drepper <drepper@gmail.com>
44871
a784e502
UD
44872 [BZ #13553]
44873 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
44874 for non-gcc.
44875 * argp/argp-fmtstream.h: Use const instead __const.
44876 * argp/argp.h: Likewise.
44877 * assert/assert.h: Likewise.
44878 * bits/fenv.h: Likewise.
44879 * bits/sched.h: Likewise.
44880 * bits/sigset.h: Likewise.
44881 * bits/sigthread.h: Likewise.
44882 * catgets/nl_types.h: Likewise.
44883 * conform/data/pthread.h-data: Likewise.
44884 * crypt/crypt-private.h: Likewise.
44885 * crypt/crypt.h: Likewise.
44886 * crypt/crypt_util.c: Likewise.
44887 * ctype/ctype.h: Likewise.
44888 * debug/execinfo.h: Likewise.
44889 * debug/mbsnrtowcs_chk.c: Likewise.
44890 * debug/mbsrtowcs_chk.c: Likewise.
44891 * debug/wcsnrtombs_chk.c: Likewise.
44892 * debug/wcsrtombs_chk.c: Likewise.
44893 * debug/wcstombs_chk.c: Likewise.
44894 * dirent/dirent.h: Likewise.
44895 * dlfcn/dlfcn.h: Likewise.
44896 * elf/neededtest4.c: Likewise.
44897 * grp/grp.h: Likewise.
44898 * gshadow/gshadow.h: Likewise.
44899 * iconv/gconv.h: Likewise.
44900 * iconv/gconv_int.h: Likewise.
44901 * iconv/gconv_simple.c: Likewise.
44902 * iconv/iconv.h: Likewise.
44903 * iconv/loop.c: Likewise.
44904 * iconv/skeleton.c: Likewise.
44905 * include/aio.h: Likewise.
44906 * include/aliases.h: Likewise.
44907 * include/argz.h: Likewise.
44908 * include/arpa/inet.h: Likewise.
44909 * include/assert.h: Likewise.
44910 * include/dirent.h: Likewise.
44911 * include/dlfcn.h: Likewise.
44912 * include/execinfo.h: Likewise.
44913 * include/fcntl.h: Likewise.
44914 * include/fenv.h: Likewise.
44915 * include/glob.h: Likewise.
44916 * include/grp.h: Likewise.
44917 * include/libintl.h: Likewise.
44918 * include/mntent.h: Likewise.
44919 * include/netdb.h: Likewise.
44920 * include/pwd.h: Likewise.
44921 * include/rpc/netdb.h: Likewise.
44922 * include/sched.h: Likewise.
44923 * include/search.h: Likewise.
44924 * include/shadow.h: Likewise.
44925 * include/signal.h: Likewise.
44926 * include/stdio.h: Likewise.
44927 * include/stdlib.h: Likewise.
44928 * include/string.h: Likewise.
44929 * include/sys/socket.h: Likewise.
44930 * include/sys/stat.h: Likewise.
44931 * include/sys/statfs.h: Likewise.
44932 * include/sys/statvfs.h: Likewise.
44933 * include/sys/syslog.h: Likewise.
44934 * include/sys/time.h: Likewise.
44935 * include/sys/uio.h: Likewise.
44936 * include/time.h: Likewise.
44937 * include/unistd.h: Likewise.
44938 * include/utmp.h: Likewise.
44939 * include/wchar.h: Likewise.
44940 * include/wctype.h: Likewise.
44941 * inet/aliases.h: Likewise.
44942 * inet/arpa/inet.h: Likewise.
44943 * inet/netinet/ether.h: Likewise.
44944 * inet/netinet/in.h: Likewise.
44945 * intl/libintl.h: Likewise.
44946 * io/bits/fcntl2.h: Likewise.
44947 * io/fcntl.h: Likewise.
44948 * io/ftw.h: Likewise.
44949 * io/sys/poll.h: Likewise.
44950 * io/sys/stat.h: Likewise.
44951 * io/sys/statfs.h: Likewise.
44952 * io/sys/statvfs.h: Likewise.
44953 * io/utime.h: Likewise.
44954 * libio/bits/stdio.h: Likewise.
44955 * libio/bits/stdio2.h: Likewise.
44956 * libio/libio.h: Likewise.
44957 * libio/libioP.h: Likewise.
44958 * libio/stdio.h: Likewise.
44959 * locale/lc-ctype.c: Likewise.
44960 * locale/locale.h: Likewise.
44961 * login/utmp.h: Likewise.
44962 * malloc/arena.c: Likewise.
44963 * malloc/malloc.c: Likewise.
44964 * malloc/malloc.h: Likewise.
44965 * malloc/mcheck.c: Likewise.
44966 * malloc/mtrace.c: Likewise.
44967 * math/bits/mathcalls.h: Likewise.
44968 * math/fenv.h: Likewise.
44969 * math/math_private.h: Likewise.
44970 * misc/bits/error.h: Likewise.
44971 * misc/bits/syslog.h: Likewise.
44972 * misc/err.h: Likewise.
44973 * misc/error.h: Likewise.
44974 * misc/fstab.h: Likewise.
44975 * misc/mntent.h: Likewise.
44976 * misc/regexp.h: Likewise.
44977 * misc/search.h: Likewise.
44978 * misc/sgtty.h: Likewise.
44979 * misc/sys/mman.h: Likewise.
44980 * misc/sys/syslog.h: Likewise.
44981 * misc/sys/uio.h: Likewise.
44982 * misc/sys/xattr.h: Likewise.
44983 * misc/ttyent.h: Likewise.
44984 * nis/rpcsvc/ypclnt.h: Likewise.
44985 * nss/nss.h: Likewise.
44986 * posix/bits/unistd.h: Likewise.
44987 * posix/fnmatch.h: Likewise.
44988 * posix/glob.h: Likewise.
44989 * posix/sched.h: Likewise.
44990 * posix/spawn.h: Likewise.
44991 * posix/sys/wait.h: Likewise.
44992 * posix/unistd.h: Likewise.
44993 * posix/wordexp.h: Likewise.
44994 * pwd/pwd.h: Likewise.
44995 * resolv/netdb.h: Likewise.
44996 * resource/sys/resource.h: Likewise.
44997 * rt/aio.h: Likewise.
44998 * rt/bits/mqueue2.h: Likewise.
44999 * rt/mqueue.h: Likewise.
45000 * shadow/shadow.h: Likewise.
45001 * signal/signal.h: Likewise.
45002 * socket/send.c: Likewise.
45003 * socket/sendto.c: Likewise.
45004 * socket/sys/socket.h: Likewise.
45005 * stdio-common/printf.h: Likewise.
45006 * stdlib/bits/stdlib.h: Likewise.
45007 * stdlib/fmtmsg.h: Likewise.
45008 * stdlib/monetary.h: Likewise.
45009 * stdlib/stdlib.h: Likewise.
45010 * stdlib/ucontext.h: Likewise.
45011 * streams/stropts.h: Likewise.
45012 * string/argz.h: Likewise.
45013 * string/bits/string2.h: Likewise.
45014 * string/string.h: Likewise.
45015 * string/strings.h: Likewise.
45016 * sunrpc/rpc/auth.h: Likewise.
45017 * sunrpc/rpc/auth_des.h: Likewise.
45018 * sunrpc/rpc/clnt.h: Likewise.
45019 * sunrpc/rpc/netdb.h: Likewise.
45020 * sunrpc/rpc/pmap_clnt.h: Likewise.
45021 * sunrpc/rpc/xdr.h: Likewise.
45022 * sysdeps/generic/inttypes.h: Likewise.
45023 * sysdeps/generic/net/if.h: Likewise.
45024 * sysdeps/generic/sys/swap.h: Likewise.
45025 * sysdeps/gnu/net/if.h: Likewise.
45026 * sysdeps/gnu/utmpx.h: Likewise.
45027 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
45028 * sysdeps/i386/i486/bits/string.h: Likewise.
45029 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
45030 * sysdeps/s390/bits/string.h: Likewise.
45031 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
45032 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
45033 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
45034 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
45035 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
45036 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
45037 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
45038 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
45039 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
45040 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
45041 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
45042 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
45043 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
45044 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
45045 * sysdeps/unix/sysv/linux/readv.c: Likewise.
45046 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
45047 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
45048 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
45049 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
45050 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
45051 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
45052 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
45053 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
45054 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
45055 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
45056 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
45057 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
45058 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
45059 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
45060 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
45061 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
45062 * sysvipc/sys/ipc.h: Likewise.
45063 * sysvipc/sys/msg.h: Likewise.
45064 * sysvipc/sys/sem.h: Likewise.
45065 * sysvipc/sys/shm.h: Likewise.
45066 * termios/termios.h: Likewise.
45067 * time/sys/time.h: Likewise.
45068 * time/time.h: Likewise.
45069 * wcsmbs/bits/wchar2.h: Likewise.
45070 * wcsmbs/uchar.h: Likewise.
45071 * wcsmbs/wchar.h: Likewise.
45072 * wctype/wctype.h: Likewise.
45073
0269750c
UD
45074 [BZ #13551]
45075 * Makeconfig: Remove all but ELF support including AIX support.
45076 * Makerules: Likewise.
45077 * config.h.in: Likewise.
45078 * config.make.in: Likewise.
45079 * configure: Likewise.
45080 * configure.in: Likewise.
45081 * csu/Makefile: Likewise.
45082 * csu/version.c: Likewise.
45083 * debug/Makefile: Likewise.
45084 * dlfcn/Makefile: Likewise.
45085 * elf/Makefile: Likewise.
45086 * extra-lib.mk: Likewise.
45087 * iconv/Makefile: Likewise.
45088 * include/libc-symbols.h: Likewise.
45089 * include/shlib-compat.h: Likewise.
45090 * resolv/Makefile: Likewise.
45091 * resolv/res_libc.c: Likewise.
45092 * rt/Makefile: Likewise.
45093 * sysdeps/i386/asm-syntax.h: Likewise.
45094 * sysdeps/i386/sysdep.h: Likewise.
45095 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
45096 * sysdeps/mach/sysdep.h: Likewise.
45097 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
45098 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
45099 * sysdeps/s390/asm-syntax.h: Likewise.
45100 * sysdeps/s390/s390-32/sysdep.h: Likewise.
45101 * sysdeps/s390/s390-64/sysdep.h: Likewise.
45102 * sysdeps/sh/sysdep.h: Likewise.
45103 * sysdeps/unix/sparc/sysdep.h: Likewise.
45104 * sysdeps/wordsize-32/divdi3.c: Likewise.
45105 * sysdeps/x86_64/sysdep.h: Likewise.
45106
00bbd29b
UD
45107 * argp/Versions: Remove _argp_unlock_xxx.
45108
45109 [BZ #13559]
45110 * abilist/ld.abilist: Update. Adjust for removal of tls option.
45111 * abilist/libBrokenLocale.abilist: Likewise.
45112 * abilist/libanl.abilist: Likewise.
45113 * abilist/libc.abilist: Likewise.
45114 * abilist/libcrypt.abilist: Likewise.
45115 * abilist/libdl.abilist: Likewise.
45116 * abilist/libm.abilist: Likewise.
45117 * abilist/libnsl.abilist: Likewise.
45118 * abilist/libpthread.abilist: Likewise.
45119 * abilist/libresolv.abilist: Likewise.
45120 * abilist/librt.abilist: Likewise.
45121 * abilist/libthread_db.abilist: Likewise.
45122 * abilist/libutil.abilist: Likewise.
45123 * abilist/libnss_db.abilist: New file.
45124
45125 * scripts/abilist.awk: Add support for indirect functions.
45126
a2693a0e
UD
45127 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
45128
3f05895f
UD
45129 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
45130
ecb6fb48
UD
45131 * shlib-versions: Remove entries for ports architectures.
45132
664f8cb9
UD
45133 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
45134 files in ports.
45135 * elf/stackguard-macros.h: Remove support for IA-64.
45136 * elf/tst-auditmod1.c: Likewise.
45137 * sysdeps/generic/ldsodefs.h: Likewise.
45138
7ae81d88
UD
45139 * sysdeps/unix/sysv/linux/configure.in: Ports should define
45140 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
45141 configure files.
45142
bdeba135
UD
45143 [BZ #13552]
45144 * configure.in: Remove --enable-omitfp support.
45145 * FAQ.in: Adjust.
45146 * config.make.in: Likewise.
45147 * Makeconfig: Likewise.
45148 * manual/install.texi: Likewise.
45149
d75a0a62
UD
45150 In case anyone cares, the IA-64 architecture could move to ports.
45151 * sysdeps/ia64/*: Removed.
45152 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 45153 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 45154
dcc9756b
UD
45155 [BZ #13555]
45156 * configure.in: Remove entries for unsupported architectures.
45157
d3761ebc 45158 [BZ #13533]
9954432e
UD
45159 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
45160 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
45161 routines.
45162 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
45163 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
45164 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
45165 fall back to using wcrtomb.
45166 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
45167 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
45168 renaming.
45169 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
45170 * wcsmbs/tst-c16c32-1.c: New file.
45171
45172 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
45173 local variable.
45174
c3a87236
UD
45175 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
45176
28926a1b
UD
45177 * elf/tst-unique3.cc: Add explicit declaration of gets.
45178 * elf/tst-unique3lib.cc: Likewise.
45179 * elf/tst-unique3lib2.cc: Likewise.
45180 * elf/tst-unique4.cc: Likewise.
45181
df78418a
UD
45182 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
45183
8ecd6b2a
JM
451842012-01-06 Joseph Myers <joseph@codesourcery.com>
45185
45186 [BZ #13566]
45187 * assert/assert.h (static_assert): Don't define for C++.
45188 * libio/stdio.h (gets): Do declare for C++ <= C++11.
45189 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
45190
9f115170
UD
451912012-01-03 Ulrich Drepper <drepper@gmail.com>
45192
5e0d0300
UD
45193 * iconv/loop.c (single loop): Fix assertion in storing of
45194 remaining bytes.
45195
9f115170
UD
45196 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
45197
81fb02b0
UD
451982012-01-01 Ulrich Drepper <drepper@gmail.com>
45199
45200 * posix/getconf.c: Update copyright year.
45201 * nss/getent.c: Likewise.
a316c1f6 45202 * nss/makedb.c: Likewise.
81fb02b0
UD
45203 * iconv/iconvconfig.c: Likewise.
45204 * iconv/iconv_prog.c: Likewise.
45205 * elf/ldconfig.c: Likewise.
a316c1f6
UD
45206 * elf/pldd.c: Likewise.
45207 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
45208 * catgets/gencat.c: Likewise.
45209 * csu/version.c: Likewise.
45210 * elf/ldd.bash.in: Likewise.
45211 * elf/sprof.c (print_version): Likewise.
45212 * locale/programs/locale.c: Likewise.
45213 * locale/programs/localedef.c: Likewise.
a316c1f6 45214 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
45215 * nscd/nscd.c (print_version): Likewise.
45216 * debug/xtrace.sh: Likewise.
45217 * malloc/memusage.sh: Likewise.
45218 * malloc/mtrace.pl: Likewise.
45219 * debug/catchsegv.sh: Likewise.
45220
2ba92745
JJ
452212011-12-30 Jakub Jelinek <jakub@redhat.com>
45222
45223 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
45224 pure attribute.
45225
dadebdae
UD
452262011-12-24 Ulrich Drepper <drepper@gmail.com>
45227
d3761ebc 45228 [BZ #13533]
db6af3eb
UD
45229 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
45230 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
45231 transformations.
45232 * iconv/gconv_int.h: Likewise.
45233 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
45234 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
45235 from libc for GLIBC_2.16.
45236 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
45237 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
45238 * wcsmbs/uchar.h: Really define mbstate_t.
45239 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
45240 * wcsmbs/c16rtomb.c: New file.
45241 * wcsmbs/mbrtoc16.c: New file.
45242 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
45243 for C/POSIX locale.
45244 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
45245 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
45246
dadebdae
UD
45247 * wcsmbs/wchar.h: Add missing __restrict.
45248
67371b56
UD
452492011-12-23 Ulrich Drepper <drepper@gmail.com>
45250
74033a25
UD
45251 [BZ #13532]
45252 * time/Makefile (routines): Add timespec_get.
45253 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
45254 * time/time.h: Define TIME_UTC and declare timespec_get. Define
45255 timespec for ISO C11.
45256 * time/timespec_get.c: New file.
45257 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
45258 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
45259
380d7e87
UD
45260 [BZ #13531]
45261 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
45262 * stdlib/stdlib.h: Declare aligned_alloc.
45263 * Versions.def: Add GLIBC_2.16 for libc.
45264 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
45265
4e9e7a35
UD
45266 [BZ 13527]
45267 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
45268 ISO C11.
45269
380d7e87 45270 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
45271 code.
45272
03a71829
UD
45273 [BZ #13528]
45274 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
45275
839e283e
UD
45276 [BZ #13529]
45277 * assert/assert.h (static_assert): Define.
45278
ce5294e2 45279 * version.h: Update for 2.16 development version.
90fa7312 45280
8d44e150 45281 [BZ #13526]
d7809905
UD
45282 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
45283 _ISOC11_SOURCE.
45284
c0da14cd
UD
45285 * version.h (RELEASE): Bump for 2.15 release.
45286 * include/features.h (__GLIBC_MINOR__): Bump to 15.
45287
530a3249
MP
45288 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
45289 Patch by Marek Polacek <mpolacek@redhat.com>.
45290
67371b56
UD
45291 * bits/byteswap.h: Protect long long constants with __extension__.
45292 * sysdeps/i386/bits/byteswap.h: Likewise.
45293 * sysdeps/ia64/bits/byteswap.h: Likewise.
45294 * sysdeps/s390/bits/byteswap.h: Likewise.
45295 * sysdeps/x86_64/bits/byteswap.h: Likewise.
45296
15db4de1
LD
452972011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
45298
45299 [BZ #13540]
bbe315ea
LD
45300 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
45301 destination buffer.
15db4de1
LD
45302 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
45303
2b2596b1
MP
453042011-12-23 Marek Polacek <polacek@redhat.com>
45305
45306 * elf/dl-addr.c (determine_info): Add inline keyword.
45307 * elf/tst-auditmod4b.c (check_avx): Likewise.
45308 * elf/tst-auditmod6b.c (check_avx): Likewise.
45309 * elf/tst-auditmod6c.c (check_avx): Likewise.
45310 * elf/tst-auditmod7b.c (check_avx): Likewise.
45311
70c6c246
UD
453122011-12-23 Ulrich Drepper <drepper@gmail.com>
45313
45314 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
45315 !__SSE_MATH__.
45316
c044cf14
LD
453172011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
45318
15db4de1 45319 [BZ #13540]
c044cf14
LD
45320 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
45321 processing for last bytes.
45322
6b13d9d9
BH
453232011-08-06 Bruno Haible <bruno@clisp.org>
45324
d455f537
BH
45325 [BZ #13061]
45326 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
45327 U+0385, not to U+1FEE.
45328
6b13d9d9
BH
45329 [BZ #13062]
45330 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
45331 entry for U+00A5 U+0301.
45332
db910efd
UD
453332011-12-22 Ulrich Drepper <drepper@gmail.com>
45334
27deeafc
UD
45335 [BZ #13166]
45336 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
45337 buffer for the output is too small.
45338
aed9d171
UD
45339 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
45340 optimization.
45341
db910efd
UD
45342 [BZ #13185]
45343 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
45344 SSE flags if possible.
45345
2bd779ae
LD
453462011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
45347
e7f9dac3 45348 [BZ #13540]
2bd779ae
LD
45349 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
45350 processing for last bytes.
45351
154bfc16
JM
453522011-12-22 Joseph Myers <joseph@codesourcery.com>
45353
45354 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
45355 (syscall-list-default-options, syscall-list-default-condition)
45356 (syscall-list-includes): Define.
45357 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
45358 list of ABIs and options and #if conditions for each ABI. Do not
45359 handle common syscalls between ABIs specially.
45360 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
45361 Remove.
45362 (syscall-list-variants, syscall-list-32bit-options)
45363 (syscall-list-32bit-condition, syscall-list-64bit-options)
45364 (syscall-list-64bit-condition): Define.
45365 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
45366 (syscall-list-variants, syscall-list-32bit-options)
45367 (syscall-list-32bit-condition, syscall-list-64bit-options)
45368 (syscall-list-64bit-condition): Define.
45369 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
45370 Remove.
45371 (syscall-list-variants, syscall-list-32bit-options)
45372 (syscall-list-32bit-condition, syscall-list-64bit-options)
45373 (syscall-list-64bit-condition): Define.
45374 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
45375 Remove.
45376 (syscall-list-variants, syscall-list-32bit-options)
45377 (syscall-list-32bit-condition, syscall-list-64bit-options)
45378 (syscall-list-64bit-condition): Define.
45379
21eaf3a5
UD
453802011-12-22 Ulrich Drepper <drepper@gmail.com>
45381
16c6f992
UD
45382 * locale/iso-639.def: Add brx entry.
45383
41043168
UD
45384 [BZ #13328]
45385 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
45386 Proposed by Mariusz_Cukr <marcukr@op.pl>.
45387
21eaf3a5
UD
45388 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
45389 __feraiseexcept_renamed.
45390
e3a851a2
UD
453912011-12-21 Ulrich Drepper <drepper@gmail.com>
45392
4920765e
UD
45393 [BZ #13538]
45394 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
45395 EPOLLET with unsigned values.
45396 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
45397 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
45398
e3a851a2
UD
45399 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
45400 to large cancellation.
45401 * math/s_cacoshf.c: Likewise.
45402 * math/s_cacoshl.c: Likewise.
45403
b27e24b8
RK
454042011-11-18 Richard B. Kreckel <kreckel@ginac.de>
45405
45406 [BZ #13305]
aebefeee 45407 [BZ #12786]
b27e24b8
RK
45408 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
45409 * math/s_cacoshf.c: Likewise.
45410 * math/s_cacoshl.c: Likewise.
45411
ee190f67
UD
454122011-12-21 Ulrich Drepper <drepper@gmail.com>
45413
45414 [BZ #13439]
45415 * iconv/gconv.h: Define __GCONV_SWAP.
45416 * iconvdata/unicode.c: The swap bit must be stored in __flags.
45417 * iconvdata/utf-16.c: Likewise.
45418 * iconvdata/utf-32.c: Likewise.
45419
707f25df
AS
454202011-12-21 Andreas Schwab <schwab@linux-m68k.org>
45421
45422 [BZ #13524]
45423 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
45424 numerator after shifting it by one limb.
45425
d2daaa1e
RÁE
454262011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
45427
45428 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
45429 under [__USE_EXTERN_INLINES].
45430
a4647e72
UD
454312011-12-17 Ulrich Drepper <drepper@gmail.com>
45432
45433 [BZ #13446]
45434 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
45435
f0b264f1
AZ
454362011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
45437
45438 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
45439 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
45440 optimized code.
45441 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
45442 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
45443 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
45444 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
45445 for strncasecmp/strncasecmp_l compilation.
45446 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
45447 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
45448
8ef4f244
MP
454492011-12-08 Marek Polacek <mpolacek@redhat.com>
45450
45451 [BZ #13484]
45452 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
45453 of __asm__.
45454
97ac2654
UD
454552011-12-17 Ulrich Drepper <drepper@gmail.com>
45456
45457 [BZ #13506]
45458 * time/tzfile.c (__tzfile_read): Check values from file header.
45459
91d2a845
WS
454602011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
45461
45462 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
45463 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
45464 * powerpc/powerpc32/dl-start.S: Likewise.
45465 * powerpc/powerpc32/elf/start.S: Likewise.
45466 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
45467 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
45468 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
45469 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
45470 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
45471 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
45472 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
45473 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
45474 * powerpc/powerpc32/fpu/s_round.S: Likewise.
45475 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
45476 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
45477 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
45478 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
45479 * powerpc/powerpc32/memset.S: Likewise.
45480 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
45481 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
45482 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
45483 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
45484 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
45485 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
45486 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
45487 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
45488 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
45489 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
45490 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
45491 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
45492 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
45493
a1267ba1
AZ
454942011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
45495
45496 * math/libm-test.inc: Added more nearbyint tests.
45497 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
45498 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
45499 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
45500 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
45501
ad8ac1bd
RL
455022011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
45503
45504 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
45505 FD_CLOEXEC.
45506
1d3e4b61
UD
455072011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
45508
45509 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
45510 Add wcscpy-ssse3 wcscpy-c.
45511 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
45512 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
45513 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
45514 * sysdeps/x86_64/wcschr.S: New file.
45515 * sysdeps/x86_64/wcsrchr.S: New file.
45516 * string/test-strcmp.c: Remove checking of wcscmp function for
45517 wrong alignments.
45518 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
45519 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
45520 wcsrchr-sse2 wcsrchr-c.
45521 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
45522 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
45523 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
45524 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
45525 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
45526 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
45527 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
45528 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
45529 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
45530 * wcsmbc/wcschr.c (WCSCHR): New macro.
45531
5b330a2d
UD
455322011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
45533
45534 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
45535 * wcsmbs/test-wcsrchr.c: New file.
45536 * string/test-strrchr.c: Add wcsrchr support.
45537 (WIDE): New macro.
45538 * wcsmbs/test-wcscpy.c: New file.
45539 * string/test-strcpy.c: Add wcscpy support.
45540 (WIDE): New macro.
26428b7c 45541
f039c043
UD
455422011-12-10 Ulrich Drepper <drepper@gmail.com>
45543
45544 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
45545 the inner loop.
45546
850fb039
AS
455472011-12-06 Andreas Schwab <schwab@linux-m68k.org>
45548
45549 [BZ #13472]
45550 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
45551
4efbd5cb
UD
455522011-12-04 Ulrich Drepper <drepper@gmail.com>
45553
52ff5dd0 45554 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 45555 Minor optimizations.
52ff5dd0 45556
4efbd5cb
UD
45557 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
45558 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
45559 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
45560
8a426e12
UD
455612011-12-03 Ulrich Drepper <drepper@gmail.com>
45562
aff2453d
UD
45563 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
45564 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
45565 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
45566 for gcc to avoid warnings.
45567 * inet/Makefile (tests): Add tst-checks.
45568 * inet/tst-checks.c: New file.
45569
45570 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
45571 warning.
45572
45573 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
45574 __wmemcmp_sse2.
45575
45576 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
45577 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
45578
8a426e12
UD
45579 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
45580
9bea3473
UD
455812011-12-02 Ulrich Drepper <drepper@gmail.com>
45582
3a965496
UD
45583 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
45584 problem.
45585
9bea3473
UD
45586 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
45587
f101631b
UD
455882011-11-29 Joseph Myers <joseph@codesourcery.com>
45589
45590 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
45591 conditional on GCC version.
45592 (__arch_compare_and_exchange_val_8_acq)
45593 (__arch_compare_and_exchange_val_16_acq)
45594 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
45595 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
45596 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
45597
a98275aa
UD
455982011-12-02 Joseph Myers <joseph@codesourcery.com>
45599
45600 * sysdeps/sh/backtrace.c: New file.
45601
d4cc29a2
AS
456022011-12-02 Andreas Schwab <schwab@redhat.com>
45603
45604 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
45605 parenthesis.
45606
6257af2d
AS
456072011-12-01 Andreas Schwab <schwab@redhat.com>
45608
45609 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
45610 falling back to utime.
45611
b5f44c1a
AS
456122011-11-30 Andreas Schwab <schwab@redhat.com>
45613
45614 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
45615 expectations for float.
45616
f3a6cc0a
AS
456172011-11-29 Andreas Schwab <schwab@redhat.com>
45618
45619 * locale/weight.h (findidx): Add parameter len.
45620 * locale/weightwc.h (findidx): Likewise.
45621 * posix/fnmatch_loop.c (FCT): Adjust caller.
45622 * posix/regcomp.c (build_equiv_class): Likewise.
45623 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
45624 * posix/regexec.c (check_node_accept_bytes): Likewise.
45625 * string/strcoll_l.c (STRCOLL): Likewise.
45626 * string/strxfrm_l.c (STRXFRM): Likewise.
45627
9d65ea3a
UD
456282011-11-17 Ulrich Drepper <drepper@gmail.com>
45629
45630 * Makefile.in: Remove CVSOPT handling.
45631 * configure.in: Remove use of AC_REVISION.
45632 * iconvdata/Makefile (distribute): No need to filter out CVS.
45633 * scripts/list-sources.sh: Remove CVS, subversion and monotone
45634 handling.
45635
5583a086
AS
456362011-11-16 Andreas Schwab <schwab@redhat.com>
45637
45638 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
45639 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
45640 [USE_AS_STRNCASECMP_L]: Likewise.
45641 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
45642 NO_TLS_DIRECT_SEG_REFS.
45643 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
45644 Fix argument offsets for non-PIC.
45645 [USE_AS_STRNCASECMP_L]: Likewise.
45646 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
45647 NO_TLS_DIRECT_SEG_REFS.
45648
d62a8200
UD
456492011-11-15 Ulrich Drepper <drepper@gmail.com>
45650
9d65ea3a 45651 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
45652 O_CLOEXEC.
45653 * locale/loadlocale.c (_nl_load_locale): Likewise.
45654
09f93bd3
AS
456552011-11-15 Andreas Schwab <schwab@redhat.com>
45656
446514f9
AS
45657 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
45658 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
45659 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
45660 (SYSCALL_GETTIME): Set errno on error.
45661
09f93bd3
AS
45662 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
45663 count references to noai6ai_cached.
45664
312be3f9
UD
456652011-11-15 Ulrich Drepper <drepper@gmail.com>
45666
45667 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
45668
45669 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
45670 FD_CLOEXEC for /proc/self/maps.
45671
45672 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
45673 FD_CLOEXEC for /proc/meminfo.
45674
45675 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
45676 gai.conf.
45677
45678 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
45679 FD_CLOEXEC for given file.
45680
45681 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
45682
45683 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
45684 FD_CLOEXEC for /etc/hosts.
45685 (_gethtent): Likewise.
45686
45687 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
45688
45689 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
45690 cancellation and set FD_CLOEXEC for /etc/netgroup.
45691
45692 * nss/nss_files/files-key.c (search): Don't allow cancellation when
45693 reading /etc/publickey.
45694
45695 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
45696 allow cancellation when reading /etc/group.
45697
45698 * nss/nss_files/files-alias.c (internal_setent): Don't allow
45699 cancellation.
45700 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
45701
45702 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
45703 when using data file.
45704
45705 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
45706
45707 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
45708 (write_nis_obj): Use "c" and "e" in fopen.
45709
45710 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
45711
45712 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
45713
45714 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
45715
45716 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
45717
45718 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
45719 locale.alias.
45720
45721 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
45722
45723 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
45724
45725 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
45726
45727 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
45728 file parsing and set FD_CLOEXEC.
45729
82af0fa8
UD
457302011-11-14 Ulrich Drepper <drepper@gmail.com>
45731
45732 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
45733
a5fb313c
AS
457342011-11-14 Andreas Schwab <schwab@redhat.com>
45735
45736 * malloc/arena.c (arena_get2): Don't call reused_arena when
45737 _int_new_arena failed.
45738
6abf3465
UD
457392011-11-14 Ulrich Drepper <drepper@gmail.com>
45740
45741 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
45742 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
45743 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
45744 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
45745 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
45746 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
45747 to compile strcasecmp and strncasecmp.
45748 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
45749 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
45750
45751 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
45752
76e3966e
UD
457532011-11-13 Ulrich Drepper <drepper@gmail.com>
45754
45755 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
45756 locale-defines.sym to gen-as-const-headers.
45757 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
45758 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
45759 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
45760 to compile strcasecmp and strncasecmp.
45761 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
45762 strcasecmp_l and strncasecmp_l.
45763 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
45764 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
45765 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
45766 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
45767 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
45768 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
45769 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
45770 * sysdeps/i386/i686/multiarch/strncase.S: New file.
45771 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
45772 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
45773 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
45774
ab26144e
UD
457752011-11-12 Ulrich Drepper <drepper@gmail.com>
45776
7edb22ef
UD
45777 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
45778 result of SYSDEP_GETTIME_CPU to retval.
45779 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
45780 parameter list to macro. Remove trailing semicolon. Adjust users.
45781
9694fc44
UD
45782 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
45783 variable.
45784
8ad89ef8
UD
45785 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
45786 mantissa words.
45787 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
45788
0c822ef9
UD
45789 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
45790 from unused variable.
45791
874e0564
UD
45792 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
45793 DWARF definitions.
45794 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
45795 for assembling.
45796
3a2edc79
UD
45797 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
45798 over namespaces.
45799
f3c2577f
UD
45800 * sunrpc/rpc_prot.c (rejected): Fix case value.
45801
294ce126
UD
45802 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
45803 unsigned long long int to avoid warnings in shift.
45804
5e2b63c6
UD
45805 * posix/regex_internal.c (re_string_reconstruct): Actually use result
45806 of use of trans.
45807 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
45808 variable tmp.
45809
e7f4b08e
UD
45810 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
45811 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
45812 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
45813
ab26144e
UD
45814 * nis/nis_table.c (nis_list): Use variable of correct type for
45815 result of __follow_path call.
45816
8a6d5255
AZ
458172011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
45818
45819 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
45820 of math functions ceil, trunc, floor, round, and sqrt, when
45821 avaliable on the platform.
45822 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
45823 name clash.
45824 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
45825 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
45826 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
45827
aaddc98c
MP
458282011-10-30 Marek Polacek <mpolacek@redhat.com>
45829
45830 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
45831 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
45832
95b7042b
RM
458332011-11-11 Roland McGrath <roland@hack.frob.com>
45834
45835 * include/unistd.h: Fix __readlink return type.
45836 Reported by Chris Metcalf <cmetcalf@tilera.com>.
45837
57769839
UD
458382011-11-11 Ulrich Drepper <drepper@gmail.com>
45839
45840 * stdlib/ucontext.h: Undo last change for makecontext.
45841
edc5984d
AS
458422011-11-11 Andreas Schwab <schwab@redhat.com>
45843
98591e58
AS
45844 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
45845
edc5984d
AS
45846 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
45847 * setjmp/setjmp.h: Mark functions as non-leaf.
45848 * setjmp/bits/setjmp2.h: Likewise.
45849 * stdlib/ucontext.h: Likewise.
45850
77cdc054
AS
458512011-11-10 Andreas Schwab <schwab@redhat.com>
45852
45853 * malloc/arena.c (_int_new_arena): Don't increment narenas.
45854 (reused_arena): Don't check arena limit.
45855 (arena_get2): Atomically check arena limit.
45856
fe72eebd
UD
458572011-11-08 Ulrich Drepper <drepper@gmail.com>
45858
5f078c32
UD
45859 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
45860 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
45861
fe72eebd
UD
45862 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
45863 instructions.
45864
ae1bc2fa
AS
458652011-11-07 Andreas Schwab <schwab@redhat.com>
45866
7583a88d
AS
45867 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
45868 handler when locking.
45869
ae1bc2fa
AS
45870 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
45871 Fix size of allocated buffer.
45872
10fb0bfa
AS
458732011-11-04 Andreas Schwab <schwab@redhat.com>
45874
998832a4
AS
45875 [BZ #10103]
45876 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
45877 declarations for long double functions.
45878 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
45879
10fb0bfa
AS
45880 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
45881
3d7ba52b
AS
458822011-11-03 Andreas Schwab <schwab@redhat.com>
45883
a9ae54a1
AS
45884 * nscd/nscd.c (main): Don't start AVC thread until credentials are
45885 installed.
45886
3d7ba52b
AS
45887 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
45888 is disabled.
45889
bc8db248
ST
458902011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
45891
45892 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
45893
45b96dd6
AS
458942011-11-01 Andreas Schwab <schwab@linux-m68k.org>
45895
647776f6
AS
45896 * include/alloca.h (stackinfo_alloca_round): Define.
45897 (extend_alloca): Use it.
45898 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
45899 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
45900 here.
45901
d91a8b93
AS
45902 * scripts/check-local-headers.sh: Ignore libaudit.h.
45903
45b96dd6
AS
45904 * nscd/Makefile (extra-objs): Make recursively expanded.
45905
432d41ce
UD
459062011-11-01 Ulrich Drepper <drepper@gmail.com>
45907
34372fc6
UD
45908 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
45909 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
45910
fadb59f8
UD
45911 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
45912 * posix/tst-rfc3484-2.c: Likewise.
45913 * posix/tst-rfc3484-3.c: Likewise.
45914
78239589
UD
45915 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
45916 process_vm_writev.
45917 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
45918 process_vm_writev.
45919 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
45920 process_vm_writev from libc using GLIBC_2.15 version.
45921
432d41ce
UD
45922 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
45923
02f9c6cf
PP
459242011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
45925
45926 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
45927 stack usage.
45928
3a2c0242
UD
459292011-10-31 Ulrich Drepper <drepper@gmail.com>
45930
f4ec4833
UD
45931 [BZ #13367]
45932 * nss/getent.c (initgroups_keys): Show error message in case no group
45933 names are given.
45934
3a2c0242
UD
45935 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
45936 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
45937 __bump_nl_timestamp.
45938 * nscd/connections (nscd_init): When host database is served open
45939 netlink socket and request notification about configuration changes.
45940 (main_loop_poll): Track netlink file descriptor and bump timestamp
45941 in case data becomes available.
45942 (main_loop_epoll): Likewise.
45943 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
45944 (database_pers_head): Add extra_data fileds.
45945 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
45946 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
45947 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
45948 Adjust caller.
45949 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
45950 in6ai data, call __free_in6ai.
45951 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
45952 Add -DHAVE_NETLINK.
45953 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
45954 interface information. Reuse previous data if netlink timestamp
45955 is not changed.
45956 (__bump_nl_timestamp): New function.
45957 (__free_in6ai): New function.
45958
636064eb
UD
459592011-10-30 Ulrich Drepper <drepper@gmail.com>
45960
45961 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
45962 close_not_cancel_no_status here.
45963 (__check_pf): Reorganize code a bit to not call close twice if OOM.
45964
9beb2334
UD
459652011-10-29 Ulrich Drepper <drepper@gmail.com>
45966
6ef76f3b
UD
45967 [BZ #13276]
45968 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
45969 return value.
45970
0ffc4f3e 45971 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
45972 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
45973 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
45974
cb95113e
UD
459752011-07-03 Andreas Jaeger <aj@suse.de>
45976
45977 [BZ #10709]
45978 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
45979 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
45980 * math/libm-test.inc (sin_test): Add test case.
45981
a1b560ff
UD
459822011-10-29 Ulrich Drepper <drepper@gmail.com>
45983
c9aaface
UD
45984 [BZ #13337]
45985 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
45986 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
45987
d272e7f1
UD
45988 * elf/chroot_canon.c (chroot_canon): Cleanups.
45989
1bc33071
UD
45990 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
45991
1760874d
TJ
45992 [BZ #13335]
45993 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
45994 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
45995
51d91b18
UD
45996 * string/test-strchr.c: Make usable for strchrnul testing.
45997 * string/test-strchrnul.c: New file.
45998 * string/Makefile (strop-tests): Add strchrnul.
45999
a1b560ff 46000 * po/it.po: Update from translation team.
b611fb81 46001 * po/es.po: Likewise.
a1b560ff 46002
a5b81e1f
UD
460032011-10-28 Ulrich Drepper <drepper@gmail.com>
46004
fd52bc6d
UD
46005 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
46006 the three constants needed as parameters. Drop the others.
46007 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
46008 __m128i_strloadu_tolower.
52e4b9eb
UD
46009 Create and initialize variable zero and use it in all the places
46010 where _mm_setzero_si128 was used.
fd52bc6d 46011
a5b81e1f
UD
46012 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
46013 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
46014 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
46015 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
46016 anymore.
46017 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
46018 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
46019 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
46020 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
46021 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
46022 __mpranred, __mptan.
46023 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
46024 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
46025 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
46026 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
46027 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
46028 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
46029 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
46030 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
46031 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
46032
b4343346
AS
460332011-10-28 Andreas Schwab <schwab@redhat.com>
46034
0c92d8a8
AS
46035 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
46036 redefine if SHARED.
46037 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
46038
b4343346
AS
46039 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
46040 wide char related routines to wcsmbs subdir.
46041
3871f58f
AS
460422011-10-27 Andreas Schwab <schwab@redhat.com>
46043
46044 [BZ #13344]
46045 * misc/sys/cdefs.h (__THROWNL): Define.
46046 * posix/unistd.h: Use __THREADNL instead of __THREAD
46047 for memory synchronization functions.
46048
94d44d9f
RM
460492011-10-26 Roland McGrath <roland@hack.frob.com>
46050
21b64b15 46051 [BZ #13349]
94d44d9f
RM
46052 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
46053 doesn't exist.
46054 * manual/stdio.texi (Obstack Streams): Node removed.
46055
f6ce9294
AS
460562011-10-26 Andreas Schwab <schwab@redhat.com>
46057
80479147
AS
46058 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
46059 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
46060 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
46061
f6ce9294
AS
46062 * math/math_private.h (math_force_eval): Allow non-addressable
46063 arguments.
46064 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
46065
618280a1
UD
460662011-10-25 Ulrich Drepper <drepper@gmail.com>
46067
e0016b11
UD
46068 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
46069 file is not needed.
46070
46071 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
46072 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
46073 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
46074 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
46075 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
46076 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
46077 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
46078 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
46079 Add AVX variants.
46080 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
46081 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
46082 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
46083 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
46084 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
46085 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
46086 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
46087 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
46088 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
46089 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
46090 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
46091 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
46092 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
46093 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
46094 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
46095 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
46096 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
46097 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
46098 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
46099
46100 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
46101 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
46102
618280a1
UD
46103 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
46104 place. Use VEX encoding when compiling for AVX.
46105
37822576
AS
461062011-10-25 Andreas Schwab <schwab@redhat.com>
46107
1f1e1947
AS
46108 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
46109 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
46110
37822576
AS
46111 * string/test-strchr.c (do_test): Don't generate NUL bytes.
46112
31ea014d
UD
461132011-10-25 Ulrich Drepper <drepper@gmail.com>
46114
d7826aa1 46115 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 46116 useless if() expression.
d7826aa1
UD
46117 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
46118 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
46119 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
46120 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
46121 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
46122 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
46123 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
46124 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
46125 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
46126 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
46127 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
46128 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
46129 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
46130 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
46131 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
46132 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
46133 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
46134 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
46135 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
46136
31ea014d
UD
46137 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
46138
16437fec
AS
461392011-10-25 Andreas Schwab <schwab@redhat.com>
46140
46141 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
46142 condition.
46143 * elf/dl-fini.c (_dl_sort_fini): Likewise.
46144
31d3cc00
UD
461452011-10-25 Ulrich Drepper <drepper@gmail.com>
46146
46147 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
46148 .text section. Avoid duplicate constants.
46149 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
46150 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
46151 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
46152 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
46153 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
46154 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
46155 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
46156 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
46157 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
46158 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
46159 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
46160 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
46161 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
46162 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
46163 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
46164 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
46165 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
46166 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
46167 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
46168 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
46169 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
46170 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
46171 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
46172 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
46173 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
46174 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
46175 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
46176 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
46177 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
46178 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
46179 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
46180 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
46181 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
46182 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
46183 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
46184 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
46185 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
46186 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
46187 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
46188 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
46189 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
46190 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
46191 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
46192 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
46193 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
46194
58985aa9
UD
461952011-10-24 Ulrich Drepper <drepper@gmail.com>
46196
202c9deb
UD
46197 * sysdeps/x86_64/dla.h: Move to ...
46198 * sysdeps/x86_64/fpu/dla.h: ...here.
46199 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
46200 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 46201
af968f62
UD
46202 * config.make.in: Add have-mfma4 entry.
46203 * configure.in: Substitute libc_cv_cc_fma4.
46204 * math/Makefile (dbl-only-routines): Add sincostab.
46205 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
46206 Use __sincostab not sincos.
46207 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
46208 name is a macro.
46209 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
46210 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
46211 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
46212 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
46213 using __copysign.
46214 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
46215 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
46216 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
46217 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
46218 and __inv.
46219 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
46220 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
46221 __copysign.
46222 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
46223 define aliases when function name is a macro.
46224 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
46225 sysdeps/ieee754/dbl-64/sincos.tbl.
46226 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
46227 fma4-enabled routines.
46228 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
46229 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
46230 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
46231 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
46232 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
46233 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
46234 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
46235 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
46236 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
46237 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
46238 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
46239 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
46240 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
46241 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
46242 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
46243 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
46244 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
46245 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
46246 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
46247 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
46248 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
46249 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
46250 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
46251 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
46252 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
46253 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
46254 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
46255 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
46256 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
46257 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
46258
58985aa9
UD
46259 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
46260 rename.
46261 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
46262 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
46263 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
46264 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
46265 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
46266 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
46267 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
46268 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
46269
a201fbcf
AS
462702011-10-24 Andreas Schwab <schwab@redhat.com>
46271
46272 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
46273
fc2ee42a
LD
462742011-10-23 Ulrich Drepper <drepper@gmail.com>
46275
bb3129bd
UD
46276 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
46277
0275fff8
UD
46278 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
46279 prediction.
46280 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
46281
2fa2ae85
UD
46282 * string/strnlen.c: Don't define STRNLEN, reverse logic.
46283 Remove unused variable magic_bits.
46284 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
46285
fc2ee42a
LD
46286 * string/strnlen.c: Define and use STRNLEN macro.
46287 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
46288 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
46289 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
46290 * wcsmbs/wcslen.c: Define and use WCSLEN.
46291 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
46292 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
46293 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
46294 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
46295 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
46296 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
46297 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
46298
ce7dd29f
LD
462992011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
46300
46301 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
46302 strnlen-sse2-no-bsf.
46303 Rename strlen-no-bsf to strlen-sse2-no-bsf.
46304 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
46305 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
46306 Add strnlen support.
46307 (USE_AS_STRNLEN): New macro.
46308 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
46309 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
46310 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
46311 * sysdeps/x86_64/wcslen.S: New file.
46312
979c70a3
MZ
463132011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
46314
46315 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
46316 XMM-moves are used for copying on small sizes.
46317
2d09f82f
LD
463182011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
46319
46320 * wcsmbs/Makefile (strop-tests): Add wcschr.
46321 * wcsmbs/test-wcschr.c: New file.
46322 * string/test-strchr.c: Update.
46323 Add wcschr support.
46324 (WIDE): New macro.
46325
619fccca
LD
463262011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
46327
2d09f82f 46328 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
46329 * wcsmbs/test-wcslen.c: New file.
46330 * string/test-strlen.c: Update.
46331 Add wcslen support.
46332 (WIDE): New macro.
46333
09f699ea
UD
463342011-10-23 Ulrich Drepper <drepper@gmail.com>
46335
46336 * po/it.po: Update from translation team.
46337
95584d3b
LD
463382011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
46339
46340 * sysdeps/x86_64/wcscmp.S: Update.
46341 Fix wrong comparison semantics.
46342 wcscmp shall use signed comparison not unsigned.
46343 Don't use substraction to avoid overflow bug.
46344 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
46345 * wcsmbc/wcscmp.c: Likewise.
46346 * string/test-strcmp.c: Likewise.
46347 Add new tests to check cases with negative values.
46348
c8b3296b
UD
463492011-10-23 Ulrich Drepper <drepper@gmail.com>
46350
46351 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
46352 * sysdeps/x86_64/dla.h: ...here. New file.
46353 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
46354 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
46355 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
46356 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
46357 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
46358 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
46359 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
46360 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
46361 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
46362
246ad57a
AS
463632011-10-23 Andreas Schwab <schwab@linux-m68k.org>
46364
46365 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
46366 __ynl_finite aliases.
46367
a1a87169
UD
463682011-10-22 Ulrich Drepper <drepper@gmail.com>
46369
0d355eb7
UD
46370 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
46371
a1a87169
UD
46372 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
46373 define DLA_FMA.
46374 [DLA_FMA] (EMULV): Use DLA_FMA.
46375 [DLA_FMA] (MUL12): Use EMULV.
46376 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
46377 that are not needed.
46378 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
46379 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
46380 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
46381 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
46382 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
46383 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
46384 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
46385
ee2aafe0
AS
463862011-10-22 Andreas Schwab <schwab@linux-m68k.org>
46387
46388 * math/s_nan.c: Undef __nan.
46389 * math/s_nanf.c: Undef __nanf.
46390 * math/s_nanl.c: Undef __nanl.
46391 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
46392 "math_private.h".
46393
bc62c2fb
UD
463942011-10-22 Ulrich Drepper <drepper@gmail.com>
46395
77425c63
UD
46396 * math/s_catan.c: Add branch predictions.
46397 * math/s_catanf.c: Likewise.
46398 * math/s_catanh.c: Likewise.
46399 * math/s_catanhf.c: Likewise.
46400 * math/s_catanhl.c: Likewise.
46401 * math/s_catanl.c: Likewise.
46402 * math/s_cexp.c: Likewise.
46403 * math/s_cexpf.c: Likewise.
46404 * math/s_cexpl.c: Likewise.
46405 * math/s_clog.c: Likewise.
46406 * math/s_clog10.c: Likewise.
46407 * math/s_clog10f.c: Likewise.
46408 * math/s_clog10l.c: Likewise.
46409 * math/s_clogf.c: Likewise.
46410 * math/s_clogl.c: Likewise.
46411 * math/s_csqrt.c: Likewise.
46412 * math/s_csqrtf.c: Likewise.
46413 * math/s_csqrtl.c: Likewise.
46414 * math/s_ctanf.c: Likewise.
46415 * math/s_ctanh.c: Likewise.
46416 * math/s_ctanhf.c: Likewise.
46417 * math/s_ctanhl.c: Likewise.
46418 * math/s_ctanl.c: Likewise.
46419
bc62c2fb
UD
46420 * math/math_private.h: Define __nan, __nanf, __nanl.
46421 * math/s_cacosh.c: Include <math_private.h>.
46422 * math/s_cacoshl.c: Likewise.
46423 * math/s_casinh.c: Likewise.
46424 * math/s_casinhf.c: Likewise.
46425 * math/s_casinhl.c: Likewise.
46426 * math/s_ccos.c: Rely entire on ccosh.
46427 * math/s_ccosf.c: Rely entire on ccoshf.
46428 * math/s_ccosl.c: Rely entirely on ccoshl.
46429 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
46430 Remove tests for FE_INVALID.
46431 * math/s_ccoshf.c: Likewise.
46432 * math/s_ccoshl.c: Likewise.
46433 * math/s_csin.c: Likewise.
46434 * math/s_csinf.c: Likewise.
46435 * math/s_csinh.c Likewise.
46436 * math/s_csinhf.c: Likewise.
46437 * math/s_csinhl.c: Likewise.
46438 * math/s_csinl.c: Likewise.
46439 * math/s_ctan.c: Likewise.
46440 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
46441 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
46442 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
46443
8ec250a4
UD
464442011-10-21 Ulrich Drepper <drepper@gmail.com>
46445
c196fed8
UD
46446 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
46447 compilation problems.
46448
8ec250a4
UD
46449 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
46450 __builtin_expect.
46451
8d4f46c6
UD
464522011-10-20 Ulrich Drepper <drepper@gmail.com>
46453
ed72b654
UD
46454 * sysdeps/i386/configure.in: Test for -mfma4 option.
46455 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
46456 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
46457 COMMON_CPUID_INDEX_80000001.
46458 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
46459 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
46460 use it if FMA3 is not supported.
46461 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
46462
8d4f46c6
UD
46463 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
46464 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
46465
d45c60c2
AS
464662011-10-20 Andreas Schwab <schwab@redhat.com>
46467
46468 [BZ #12892]
46469 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
46470 it would create a cycle with a link time dependency.
46471
d9a4d2ab
UD
464722011-10-19 Ulrich Drepper <drepper@gmail.com>
46473
855d1560
UD
46474 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
46475 instruction.
46476 * string/Makefile (strop-tests): Add rawmemchr.
46477 * string/test-rawmemchr.c: New file.
46478
d9a4d2ab
UD
46479 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
46480 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
46481 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
46482 when compiling str{,n}casecmp and when AVX is available. Hook up
46483 new optimized code in initializers.
46484
8f3b1ffe
AS
464852011-10-19 Andreas Schwab <schwab@redhat.com>
46486
46487 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
46488 __feraiseexcept instead of feraiseexcept.
46489
d38f1dba
UD
464902011-10-18 Ulrich Drepper <drepper@gmail.com>
46491
d9a8d0ab
UD
46492 * math/math_private.h: Define defaults for libc_fetestexcept and
46493 libc_feupdateenv.
46494 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
46495 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
46496 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
46497 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
46498 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
46499 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
46500 libc_fetestexcept and libc_feupdateenv.
46501
4855e3dd
UD
46502 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
46503 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
46504 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
46505 * sysdeps/x86_64/fpu/math_private.h: Define special version of
46506 libc_feholdexcept_setround.
46507
581d30e3
UD
46508 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
46509 Add s_nearbyint-c and s_nearbyintf-c.
46510 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
46511 nearbyintf inlines.
46512 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
46513 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
46514 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
46515 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
46516
d38f1dba
UD
46517 * math/math_private.h: Define defaults for libc_fegetround,
46518 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
46519 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
46520 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
46521 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
46522 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
46523 standard functions.
46524 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
46525 Remove comments and hacks for old compiler versions.
46526 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
46527 libc_fegetround, libc_fesetround, libc_feholdexcept, and
46528 libc_feholdexceptl.
46529
caa6c9d8
AS
465302011-10-18 Andreas Schwab <schwab@redhat.com>
46531
46532 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
46533 (__feraiseexcept_renamed): Add __NTH.
46534 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
46535 namespace violations.
46536
97c066e6
UD
465372011-10-17 Ulrich Drepper <drepper@gmail.com>
46538
99ce7b04
UD
46539 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
46540
1004d182
UD
46541 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
46542
228a984d
UD
46543 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
46544 recently added interfaces.
46545 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
46546
c8553a6a
UD
46547 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
46548 about macro parameter expansion.
46549
ed22dcf6
UD
46550 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
46551 __NO_MATH_INLINES is defined. Cleanups.
46552
46553 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
46554 and __floorf is target has SSE4.1.
46555 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
46556 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
46557 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
46558 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
46559
b171c137
UD
46560 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
46561 name.
46562 (floorf): Likewise.
46563
97c066e6
UD
46564 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
46565
629f62ef
AS
465662011-10-17 Andreas Schwab <schwab@redhat.com>
46567
49a43d80
AS
46568 * misc/sys/cdefs.h: Fix last change.
46569
629f62ef
AS
46570 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
46571 database lookup.
46572
e453f6cd
UD
465732011-10-16 Ulrich Drepper <drepper@gmail.com>
46574
aa78043a
UD
46575 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
46576
ad0f5cad
UD
46577 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
46578 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
46579 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
46580 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
46581 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
46582 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
46583 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
46584 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
46585 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
46586 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
46587 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
46588 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
46589 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
46590 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
46591 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
46592 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
46593 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
46594 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
46595 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
46596 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
46597 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
46598 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
46599
46600 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
46601 ceil, ceilf, floor, floorf.
46602
46603 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
46604 Perform IRELATIVE relocations last.
46605
e453f6cd
UD
46606 * elf/do-rel.h: Add another parameter nrelative, replacing the
46607 local variable with the same name. Change name of the function
46608 to end in Rel or Rela (uppercase).
46609 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
46610 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
46611 elf_dynamic_do_##reloc function.
46612
fd5bdc09
UD
466132011-10-15 Ulrich Drepper <drepper@gmail.com>
46614
79b195b5
UD
46615 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
46616 is sufficient, at least on modern CPUs.
46617
d4a28569
UD
46618 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
46619
b61099b5
UD
46620 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
46621 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
46622
bcf01e6d
UD
46623 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
46624 __expl_finite.
46625 * math/bits/math-finite.h: Add entries for exp.
46626 * math/e_expl.c: Add __*_finite alias.
46627 * sysdeps/i386/fpu/e_exp.S: Likewise.
46628 * sysdeps/i386/fpu/e_expf.S: Likewise.
46629 * sysdeps/i386/fpu/e_expl.c: Likewise.
46630 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
46631 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
46632 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
46633 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
46634 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
46635 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
46636 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
46637
ba1a0d59
UD
46638 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
46639 is sufficient, at least on modern CPUs.
46640
fd5bdc09
UD
46641 * ctype/ctype-info.c (__ctype_init): Define.
46642 * include/ctype.h (__ctype_init): Declare.
46643 (__ctype_b_loc): The variable is always initialized.
46644 (__ctype_toupper_loc): Likewise.
46645 (__ctype_tolower_loc): Likewise.
46646 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
46647 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
46648
7872cfb0
AS
466492011-10-15 Andreas Schwab <schwab@linux-m68k.org>
46650
b468825a
AS
46651 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
46652
7872cfb0
AS
46653 * configure.in: Also look in $cxxmachine/include for C++ system
46654 headers.
46655
be13f7bf
LD
466562011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
46657
46658 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
46659 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
46660 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
46661 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
46662 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
46663 (USE_AS_WMEMCMP): New macro.
46664 Fixing indents.
46665 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
46666 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
46667 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
46668 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
46669 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
46670 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
46671 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
46672 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
46673 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
46674 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
46675 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
46676 (USE_AS_WMEMCMP): New macro.
46677 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
46678 * sysdeps/string/test-memcmp.c: Update.
46679 Fix simple_wmemcmp.
46680 Add new tests.
46681 * wcsmbs/wmemcmp.c: Update.
46682 (WMEMCMP): New macro.
46683 Fix overflow bug.
46684
556a2007
AJ
466852011-10-12 Andreas Jaeger <aj@suse.de>
46686
46687 [BZ #13268]
46688 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
46689
538faaa7
UD
466902011-10-15 Ulrich Drepper <drepper@gmail.com>
46691
ab6737ff
UD
46692 * libio/iofwide.c (do_length): Avoid warning.
46693
538faaa7
UD
46694 * ctype/ctype.h (__isctype_f): Add missing __THROW.
46695
396a21b1
UD
466962011-10-14 Ulrich Drepper <drepper@gmail.com>
46697
cdf2901f
UD
46698 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
46699
38ad40ce
UD
46700 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
46701 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
46702 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
46703 * sysdeps/i386/i686/fpu/e_log.S: New file.
46704 * sysdeps/i386/i686/fpu/e_logf.S: New file.
46705 * sysdeps/i386/i686/fpu/e_logl.S: New file.
46706
396a21b1
UD
46707 * ctype/ctype.h: Add support for inlined isXXX functions when
46708 compiling C++ code.
46709
6b1f68c9
AS
467102011-10-14 Andreas Schwab <schwab@redhat.com>
46711
349290c0
AS
46712 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
46713
6b1f68c9
AS
46714 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
46715
f2282d42
RM
467162011-10-13 Roland McGrath <roland@hack.frob.com>
46717
46718 [BZ #13291]
46719 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
46720
5298ffa8
AS
467212011-10-13 Andreas Schwab <schwab@redhat.com>
46722
714fad23
AS
46723 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
46724 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
46725 feraiseexcept.
46726
81dcc7fb
AS
46727 * sysdeps/x86_64/memrchr.S: Check for zero size.
46728
5298ffa8
AS
46729 * string/stratcliff.c: Add memrchr tests.
46730
951fbcec
LD
467312011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
46732
46733 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
46734 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
46735 rawmemchr-sse2 rawmemchr-sse2-bsf.
46736 * sysdeps/i386/i686/multiarch/memchr.S: New file.
46737 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
46738 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
46739 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
46740 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
46741 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
46742 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
46743 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
46744 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
46745 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
46746 * string/memrchr.c (MEMRCHR): New macro.
46747
0ac5ae23
UD
467482011-10-12 Ulrich Drepper <drepper@gmail.com>
46749
46750 Add integration with gcc's -ffinite-math-only and optimize wrapper
46751 functions in libm.
46752 * Versions.def: Define GLIBC_2.15 version for libm.
46753 * math/Makefile (headers): Add bits/math-finite.h.
46754 * math/bits/math-finite.h: New file.
46755 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
46756 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
46757 * math/e_acoshl.c: Add __*_finite alias.
46758 * math/e_acosl.c: Likewise.
46759 * math/e_asinl.c: Likewise.
46760 * math/e_atan2l.c: Likewise.
46761 * math/e_atanhl.c: Likewise.
46762 * math/e_coshl.c: Likewise.
46763 * math/e_exp10.c: Likewise.
46764 * math/e_exp10f.c: Likewise.
46765 * math/e_exp10l.c: Likewise.
46766 * math/e_exp2l.c: Likewise.
46767 * math/e_fmodl.c: Likewise.
46768 * math/e_gammal_r.c: Likewise.
46769 * math/e_hypotl.c: Likewise.
46770 * math/e_j0l.c: Likewise.
46771 * math/e_j1l.c: Likewise.
46772 * math/e_jnl.c: Likewise.
46773 * math/e_lgammal_r.c: Likewise.
46774 * math/e_log10l.c: Likewise.
46775 * math/e_log2l.c: Likewise.
46776 * math/e_logl.c: Likewise.
46777 * math/e_powl.c: Likewise.
46778 * math/e_sinhl.c: Likewise.
46779 * math/e_sqrtl.c: Likewise.
46780 * math/e_scalb.c: Completely rewritten and optimized.
46781 * math/e_scalbf.c: Likewise.
46782 * math/e_scalbl.c: Likewise.
46783 * math/w_acos.c: Likewise.
46784 * math/w_acosf.c: Likewise.
46785 * math/w_acosl.c: Likewise.
46786 * math/w_acosh.c: Likewise.
46787 * math/w_acoshf.c: Likewise.
46788 * math/w_acoshl.c: Likewise.
46789 * math/w_asin.c: Likewise.
46790 * math/w_asinf.c: Likewise.
46791 * math/w_asinl.c: Likewise.
46792 * math/w_atan2.c: Likewise.
46793 * math/w_atan2f.c: Likewise.
46794 * math/w_atan2l.c: Likewise.
46795 * math/w_atanh.c: Likewise.
46796 * math/w_atanhf.c: Likewise.
46797 * math/w_atanhl.c: Likewise.
46798 * math/w_exp10.c: Likewise.
46799 * math/w_exp10f.c: Likewise.
46800 * math/w_exp10l.c: Likewise.
46801 * math/w_fmod.c: Likewise.
46802 * math/w_fmodf.c: Likewise.
46803 * math/w_fmodl.c: Likewise.
46804 * math/w_j0.c: Likewise.
46805 * math/w_j0f.c: Likewise.
46806 * math/w_j0l.c: Likewise.
46807 * math/w_j1.c: Likewise.
46808 * math/w_j1f.c: Likewise.
46809 * math/w_j1l.c: Likewise.
46810 * math/w_jn.c: Likewise.
46811 * math/w_jnf.c: Likewise.
46812 * math/w_log.c: Likewise.
46813 * math/w_logf.c: Likewise.
46814 * math/w_logl.c: Likewise.
46815 * math/w_log10.c: Likewise.
46816 * math/w_log10f.c: Likewise.
46817 * math/w_log10l.c: Likewise.
46818 * math/w_log2.c: Likewise.
46819 * math/w_log2f.c: Likewise.
46820 * math/w_log2l.c: Likewise.
46821 * math/w_pow.c: Likewise.
46822 * math/w_powf.c: Likewise.
46823 * math/w_powl.c: Likewise.
46824 * math/w_remainder.c: Likewise.
46825 * math/w_remainderf.c: Likewise.
46826 * math/w_remainderl.c: Likewise.
46827 * math/w_scalb.c: Likewise.
46828 * math/w_scalbf.c: Likewise.
46829 * math/w_scalbl.c: Likewise.
46830 * math/w_sqrt.c: Likewise.
46831 * math/w_sqrtf.c: Likewise.
46832 * math/w_sqrtl.c: Likewise.
46833 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
46834 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
46835 used.
46836 * math/math_private.h: Declare __kernel_standard_f.
46837 * math/w_cosh.c: Remove cruft and optimize a bit.
46838 * math/w_coshf.c: Likewise.
46839 * math/w_coshl.c: Likewise.
46840 * math/w_exp2.c: Likewise.
46841 * math/w_exp2f.c: Likewise.
46842 * math/w_exp2l.c: Likewise.
46843 * math/w_hypot.c: Likewise.
46844 * math/w_hypotf.c: Likewise.
46845 * math/w_hypotl.c: Likewise.
46846 * math/w_lgamma.c: Likewise.
46847 * math/w_lgamma_r.c: Likewise.
46848 * math/w_lgammaf.c: Likewise.
46849 * math/w_lgammaf_r.c: Likewise.
46850 * math/w_lgammal.c: Likewise.
46851 * math/w_lgammal_r.c: Likewise.
46852 * math/w_sinh.c: Likewise.
46853 * math/w_sinhf.c: Likewise.
46854 * math/w_sinhl.c: Likewise.
46855 * math/w_tgamma.c: Likewise.
46856 * math/w_tgammaf.c: Likewise.
46857 * math/w_tgammal.c: Likewise.
46858 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
46859 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
46860 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
46861 Minor optimizations. Pretty printing. Remove cruft.
46862 * sysdeps/i386/fpu/e_acosf.S: Likewise.
46863 * sysdeps/i386/fpu/e_acosh.S: Likewise.
46864 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
46865 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
46866 * sysdeps/i386/fpu/e_acosl.c: Likewise.
46867 * sysdeps/i386/fpu/e_asin.S: Likewise.
46868 * sysdeps/i386/fpu/e_asinf.S: Likewise.
46869 * sysdeps/i386/fpu/e_atan2.S: Likewise.
46870 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
46871 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
46872 * sysdeps/i386/fpu/e_atanh.S: Likewise.
46873 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
46874 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
46875 * sysdeps/i386/fpu/e_exp10.S: Likewise.
46876 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
46877 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
46878 * sysdeps/i386/fpu/e_exp2.S: Likewise.
46879 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
46880 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
46881 * sysdeps/i386/fpu/e_fmod.S: Likewise.
46882 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
46883 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
46884 * sysdeps/i386/fpu/e_hypot.S: Likewise.
46885 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
46886 * sysdeps/i386/fpu/e_log.S: Likewise.
46887 * sysdeps/i386/fpu/e_log10.S: Likewise.
46888 * sysdeps/i386/fpu/e_log10f.S: Likewise.
46889 * sysdeps/i386/fpu/e_log10l.S: Likewise.
46890 * sysdeps/i386/fpu/e_log2.S: Likewise.
46891 * sysdeps/i386/fpu/e_log2f.S: Likewise.
46892 * sysdeps/i386/fpu/e_log2l.S: Likewise.
46893 * sysdeps/i386/fpu/e_logf.S: Likewise.
46894 * sysdeps/i386/fpu/e_logl.S: Likewise.
46895 * sysdeps/i386/fpu/e_pow.S: Likewise.
46896 * sysdeps/i386/fpu/e_powf.S: Likewise.
46897 * sysdeps/i386/fpu/e_powl.S: Likewise.
46898 * sysdeps/i386/fpu/e_remainder.S: Likewise.
46899 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
46900 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
46901 * sysdeps/i386/fpu/e_scalb.S: Likewise.
46902 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
46903 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
46904 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
46905 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
46906 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
46907 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
46908 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
46909 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
46910 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
46911 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
46912 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
46913 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
46914 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
46915 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
46916 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
46917 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
46918 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
46919 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
46920 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
46921 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
46922 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
46923 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
46924 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
46925 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
46926 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
46927 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
46928 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
46929 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
46930 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
46931 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
46932 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
46933 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
46934 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
46935 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
46936 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
46937 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
46938 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
46939 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
46940 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
46941 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
46942 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
46943 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
46944 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
46945 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
46946 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
46947 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
46948 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
46949 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
46950 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
46951 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
46952 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
46953 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
46954 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
46955 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
46956 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
46957 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
46958 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
46959 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
46960 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
46961 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
46962 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
46963 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
46964 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
46965 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
46966 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
46967 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
46968 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
46969 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
46970 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
46971 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
46972 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
46973 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
46974 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
46975 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
46976 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
46977 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
46978 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
46979 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
46980 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
46981 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
46982 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
46983 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
46984 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
46985 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
46986 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
46987 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
46988 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
46989 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
46990 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
46991 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
46992 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
46993 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
46994 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
46995 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
46996 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
46997 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
46998 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
46999 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
47000 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
47001 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
47002 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
47003 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
47004 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
47005 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
47006 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
47007 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
47008 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
47009 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
47010 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
47011 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
47012 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
47013 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
47014 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
47015 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
47016 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
47017 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
47018 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
47019 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
47020 (__isnanf): Likewise.
47021 (__isinf_ns): Likewise.
47022 (__isinf_nsf): Likewise.
47023 (__finite): Likewise.
47024 (__finitef): Likewise.
47025 (__ieee754_sqrt): Define as macro.
47026 (__ieee754_sqrtf): Define as macro.
47027 (__ieee754_sqrtl): Define as macro.
47028 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
47029 inlined copy.
47030 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
47031 __FINITE_MATH_ONLY__ consistent.
47032 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
47033
12cc2fcd
AS
470342011-10-10 Andreas Schwab <schwab@linux-m68k.org>
47035
a843a204
AS
47036 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
47037 of rawmemchr.
47038
12cc2fcd
AS
47039 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
47040
c853acd5
UD
470412011-10-09 Ulrich Drepper <drepper@gmail.com>
47042
47043 * po/ja.po: Update from translation team.
47044
c658d255
RM
470452011-10-08 Roland McGrath <roland@hack.frob.com>
47046
110946e4
RM
47047 * locale/programs/locarchive.c (prepare_address_space): New function.
47048 (create_archive, enlarge_archive, open_archive): Use it.
47049
50604220
RM
47050 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
47051 inside [SHARED], where it is used.
47052
c658d255
RM
47053 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
47054
47055 * nss/getent.c (netgroup_keys): Remove unused variable.
47056 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
47057
6a621eb7
UD
470582011-10-08 Ulrich Drepper <drepper@gmail.com>
47059
7edb55ce
UD
47060 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
47061 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
47062 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
47063 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
47064 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
47065 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
47066 * math/Makefile (libm-calls): Add s_isinf_ns.
47067 * math/divtc3.c: Use __isinf_nsl instead of isinf.
47068 * math/multc3.c: Likewise.
47069 * math/s_casin.c: Likewise.
47070 * math/s_casinf.c: Likewise.
47071 * math/s_casinl.c: Likewise.
47072 * math/s_ccos.c: Likewise.
47073 * math/s_ccosf.c: Likewise.
47074 * math/s_ccosl.c: Likewise.
47075 * math/s_ctan.c: Likewise.
47076 * math/s_ctanf.c: Likewise.
47077 * math/s_ctanh.c: Likewise.
47078 * math/s_ctanhf.c: Likewise.
47079 * math/s_ctanhl.c: Likewise.
47080 * math/s_ctanl.c: Likewise.
47081 * math/w_fmod.c: Likewise.
47082 * math/w_fmodf.c: Likewise.
47083 * math/w_fmodl.c: Likewise.
47084 * math/w_remainder.c: Likewise.
47085 * math/w_remainderf.c: Likewise.
47086 * math/w_remainderl.c: Likewise.
47087 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
47088 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
47089 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
47090 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
47091 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
47092 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
47093 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
47094 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
47095
187da0ae
UD
47096 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
47097 of the number.
47098 * stdio-common/printf_fphex.c: Likewise.
47099 * stdio-common/printf_size.c: Likewise.
47100
9277c064
UD
47101 * math/e_exp10.c: Include math_private.h using <...> not "...".
47102 * math/e_exp10f.c: Likewise.
47103 * math/e_exp10l.c: Likewise.
47104 * math/e_exp2l.c: Likewise.
47105 * math/e_j0l.c: Likewise.
47106 * math/e_j1l.c: Likewise.
47107 * math/e_jnl.c: Likewise.
47108 * math/e_lgammal_r.c: Likewise.
47109 * math/e_rem_pio2l.c: Likewise.
47110 * math/e_scalb.c: Likewise.
47111 * math/e_scalbf.c: Likewise.
47112 * math/e_scalbl.c: Likewise.
47113 * math/k_cosl.c: Likewise.
47114 * math/k_sinl.c: Likewise.
47115 * math/k_tanl.c: Likewise.
47116 * math/s_cacoshf.c: Likewise.
47117 * math/s_catan.c: Likewise.
47118 * math/s_catanf.c: Likewise.
47119 * math/s_catanh.c: Likewise.
47120 * math/s_catanhf.c: Likewise.
47121 * math/s_catanhl.c: Likewise.
47122 * math/s_catanl.c: Likewise.
47123 * math/s_ccosh.c: Likewise.
47124 * math/s_ccoshf.c: Likewise.
47125 * math/s_ccoshl.c: Likewise.
47126 * math/s_cexp.c: Likewise.
47127 * math/s_cexpf.c: Likewise.
47128 * math/s_cexpl.c: Likewise.
47129 * math/s_clog.c: Likewise.
47130 * math/s_clog10.c: Likewise.
47131 * math/s_clog10f.c: Likewise.
47132 * math/s_clog10l.c: Likewise.
47133 * math/s_clogf.c: Likewise.
47134 * math/s_clogl.c: Likewise.
47135 * math/s_csin.c: Likewise.
47136 * math/s_csinf.c: Likewise.
47137 * math/s_csinh.c: Likewise.
47138 * math/s_csinhf.c: Likewise.
47139 * math/s_csinhl.c: Likewise.
47140 * math/s_csinl.c: Likewise.
47141 * math/s_csqrt.c: Likewise.
47142 * math/s_csqrtf.c: Likewise.
47143 * math/s_csqrtl.c: Likewise.
47144 * math/s_ctan.c: Likewise.
47145 * math/s_ctanf.c: Likewise.
47146 * math/s_ctanh.c: Likewise.
47147 * math/s_ctanhf.c: Likewise.
47148 * math/s_ctanhl.c: Likewise.
47149 * math/s_ctanl.c: Likewise.
47150 * math/s_ldexp.c: Likewise.
47151 * math/s_ldexpf.c: Likewise.
47152 * math/s_ldexpl.c: Likewise.
47153 * math/s_significand.c: Likewise.
47154 * math/s_significandf.c: Likewise.
47155 * math/s_significandl.c: Likewise.
47156 * math/w_acos.c: Likewise.
47157 * math/w_acosf.c: Likewise.
47158 * math/w_acosh.c: Likewise.
47159 * math/w_acoshf.c: Likewise.
47160 * math/w_acoshl.c: Likewise.
47161 * math/w_acosl.c: Likewise.
47162 * math/w_asin.c: Likewise.
47163 * math/w_asinf.c: Likewise.
47164 * math/w_asinl.c: Likewise.
47165 * math/w_atan2.c: Likewise.
47166 * math/w_atan2f.c: Likewise.
47167 * math/w_atan2l.c: Likewise.
47168 * math/w_atanh.c: Likewise.
47169 * math/w_atanhf.c: Likewise.
47170 * math/w_atanhl.c: Likewise.
47171 * math/w_cosh.c: Likewise.
47172 * math/w_coshf.c: Likewise.
47173 * math/w_coshl.c: Likewise.
47174 * math/w_dremf.c: Likewise.
47175 * math/w_exp10.c: Likewise.
47176 * math/w_exp10f.c: Likewise.
47177 * math/w_exp10l.c: Likewise.
47178 * math/w_exp2.c: Likewise.
47179 * math/w_exp2f.c: Likewise.
47180 * math/w_fmod.c: Likewise.
47181 * math/w_fmodf.c: Likewise.
47182 * math/w_fmodl.c: Likewise.
47183 * math/w_hypot.c: Likewise.
47184 * math/w_hypotf.c: Likewise.
47185 * math/w_hypotl.c: Likewise.
47186 * math/w_j0.c: Likewise.
47187 * math/w_j0f.c: Likewise.
47188 * math/w_j0l.c: Likewise.
47189 * math/w_j1.c: Likewise.
47190 * math/w_j1f.c: Likewise.
47191 * math/w_j1l.c: Likewise.
47192 * math/w_jn.c: Likewise.
47193 * math/w_jnf.c: Likewise.
47194 * math/w_jnl.c: Likewise.
47195 * math/w_lgamma.c: Likewise.
47196 * math/w_lgamma_r.c: Likewise.
47197 * math/w_lgammaf.c: Likewise.
47198 * math/w_lgammaf_r.c: Likewise.
47199 * math/w_lgammal.c: Likewise.
47200 * math/w_lgammal_r.c: Likewise.
47201 * math/w_log.c: Likewise.
47202 * math/w_log10.c: Likewise.
47203 * math/w_log10f.c: Likewise.
47204 * math/w_log10l.c: Likewise.
47205 * math/w_log2.c: Likewise.
47206 * math/w_log2f.c: Likewise.
47207 * math/w_log2l.c: Likewise.
47208 * math/w_logf.c: Likewise.
47209 * math/w_logl.c: Likewise.
47210 * math/w_pow.c: Likewise.
47211 * math/w_powf.c: Likewise.
47212 * math/w_powl.c: Likewise.
47213 * math/w_remainder.c: Likewise.
47214 * math/w_remainderf.c: Likewise.
47215 * math/w_remainderl.c: Likewise.
47216 * math/w_scalb.c: Likewise.
47217 * math/w_scalbf.c: Likewise.
47218 * math/w_scalbl.c: Likewise.
47219 * math/w_sinh.c: Likewise.
47220 * math/w_sinhf.c: Likewise.
47221 * math/w_sinhl.c: Likewise.
47222 * math/w_sqrt.c: Likewise.
47223 * math/w_sqrtf.c: Likewise.
47224 * math/w_sqrtl.c: Likewise.
47225 * math/w_tgamma.c: Likewise.
47226 * math/w_tgammaf.c: Likewise.
47227 * math/w_tgammal.c: Likewise.
47228
6a621eb7
UD
47229 * po/ja.po: Update from translation team.
47230
bf582445
AJ
472312011-09-29 Andreas Jaeger <aj@suse.de>
47232
f9efbf3a
AJ
47233 [BZ #13179]
47234 * sunrpc/netname.c (netname2host): Fix logic.
47235
bf582445
AJ
47236 [BZ #6779]
47237 [BZ #6783]
47238 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
47239 correctly.
47240 * math/w_remainder.c (__remainder): Likewise.
47241 * math/w_remainderf.c (__remainderf): Likewise.
47242 * math/libm-test.inc (remainder_test): Add test cases.
47243
48693bea
AK
472442011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
47245
47246 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
47247 sdiv_qrnnd.
47248
42622229
LD
472492011-10-07 Ulrich Drepper <drepper@gmail.com>
47250
47251 * string/test-memcmp.c: Avoid unncessary #defines.
47252 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
47253
093ecf92
LD
472542011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
47255
47256 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
47257 Use new sse2 version for core i3 - i7 as it's faster
47258 than sse42 version.
47259 (bit_Prefer_PMINUB_for_stringop): New.
47260 * sysdeps/x86_64/rawmemchr.S: Update.
47261 Replace with faster SSE2 version.
47262 * sysdeps/x86_64/memrchr.S: New file.
47263 * sysdeps/x86_64/memchr.S: Update.
47264 Replace with faster SSE2 version.
47265
fde56e5c
MP
472662011-09-12 Marek Polacek <mpolacek@redhat.com>
47267
47268 * elf/dl-load.c (lose): Add cast to avoid warning.
47269
21fd49a9
UD
472702011-10-07 Ulrich Drepper <drepper@gmail.com>
47271
5a06e643
UD
47272 * po/ca.po: Update from translation team.
47273
684ae515
UD
47274 * inet/getnetgrent_r.c: Hook up nscd.
47275 * nscd/Makefile (routines): Add nscd_netgroup.
47276 (nscd-modules): Add netgroupcache.
47277 (CFLAGS-netgroupcache.c): Define.
47278 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
47279 (cache_search): Add const to second parameter.
47280 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
47281 INNETGR.
47282 (dbs): Add netgrdb entry.
47283 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
47284 (verify_persistent_db): Handle netgrdb.
47285 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
47286 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
47287 GETFDNETGR.
47288 (netgroup_response_header): Define.
47289 (innetgroup_response_header): Define.
47290 (datahead): Add netgroup_response_header and innetgroup_response_header
47291 elements.
47292 * nscd/nscd.conf: Add entries for netgroup cache.
47293 * nscd/nscd.h (dbtype): Add netgrdb.
47294 (_PATH_NSCD_NETGROUP_DB): Define.
47295 (netgroup_iov_disabled): Declare.
47296 (xmalloc, xcalloc, xrealloc): Move declarations here.
47297 (cache_search): Adjust prototype.
47298 Add netgroup-related prototypes.
47299 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
47300 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
47301 (__nscd_innetgr): Declare.
47302 * nscd/selinux.c (perms): Use access_vector_t as element type and
47303 add netgroup-related initializers.
47304 * nscd/netgroupcache.c: New file.
47305 * nscd/nscd_netgroup.c: New file.
47306 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
47307 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
47308 For four parameters use innetgr.
47309 * nss/nss_files/files-init.c: Add definition and callback for netgr.
47310 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
47311 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
47312 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
47313
21fd49a9
UD
47314 * nscd/connections.c (register_traced_file): Don't register file
47315 for disabled databases.
47316
054c0457
UD
473172011-10-06 Ulrich Drepper <drepper@gmail.com>
47318
32b63198
UD
47319 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
47320
054c0457
UD
47321 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
47322 from tree and freeing node.
47323
64031225
JO
473242011-09-25 Jiri Olsa <jolsa@redhat.com>
47325
47326 * nss/nsswitch.c (__nss_database_lookup): Handle
47327 nss_parse_service_list out of memory case.
47328
0490345c
JO
473292011-09-15 Jiri Olsa <jolsa@redhat.com>
47330
47331 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
47332 out of memory case.
47333
3a62d00d
AS
473342011-10-04 Andreas Schwab <schwab@redhat.com>
47335
47336 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
47337 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
47338 pass it down.
47339 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
47340 elf_machine_rela, elf_machine_lazy_rel.
47341 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
47342 (ELF_DYNAMIC_DO_REL): Likewise.
47343 (ELF_DYNAMIC_DO_RELA): Likewise.
47344 (ELF_DYNAMIC_RELOCATE): Likewise.
47345 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
47346 to ELF_DYNAMIC_DO_REL.
47347 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
47348 (dl_main): In trace mode always set __RTLD_NOIFUNC.
47349 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
47350 elf_machine_rela.
47351 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
47352 skip_ifunc, don't call ifunc function if non-zero.
47353 (elf_machine_rela): Likewise.
47354 (elf_machine_lazy_rel): Likewise.
47355 (elf_machine_lazy_rela): Likewise.
47356 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
47357 (elf_machine_lazy_rel): Likewise.
47358 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
47359 Likewise.
47360 (elf_machine_lazy_rel): Likewise.
47361 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
47362 Likewise.
47363 (elf_machine_lazy_rel): Likewise.
47364 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
47365 (elf_machine_lazy_rel): Likewise.
47366 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
47367 (elf_machine_lazy_rel): Likewise.
47368 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
47369 (elf_machine_lazy_rel): Likewise.
47370 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
47371 (elf_machine_lazy_rel): Likewise.
47372 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
47373 (elf_machine_lazy_rel): Likewise.
47374 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
47375 (elf_machine_lazy_rel): Likewise.
47376
68577918
UD
473772011-09-28 Ulrich Drepper <drepper@gmail.com>
47378
47379 * nss/nss_files/files-init.c (_nss_files_init): Use static
47380 initialization for all the *_traced_file variables.
47381
68822d74
AS
473822011-09-28 Andreas Schwab <schwab@redhat.com>
47383
47384 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
47385
2056100b
RM
473862011-09-27 Roland McGrath <roland@hack.frob.com>
47387
47388 [BZ #13226]
47389 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
47390
32c76b63
AS
473912011-09-27 Andreas Schwab <schwab@redhat.com>
47392
47393 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
47394 Reread the line before reparsing it.
47395
bf972c9d
AS
473962011-09-26 Andreas Schwab <schwab@redhat.com>
47397
47398 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
47399
e057a1b5
JM
474002011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
47401 Maxim Kuvyrkov <maxim@codesourcery.com>
47402 Joseph Myers <joseph@codesourcery.com>
47403
47404 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
47405 if needed for __stack_chk_guard.
47406
bc7e1c36
RM
474072011-09-19 Roland McGrath <roland@hack.frob.com>
47408
ecb1482f
RM
47409 * sysdeps/posix/spawni.c (script_execute): Always define it.
47410 It will be optimized away if unused.
47411 (maybe_script_execute): New function.
47412 (__spawni): Call it.
47413
bc7e1c36
RM
47414 * Makerules: Don't include tls.make.
47415 (config-tls): Always set to thread.
47416 * tls.make.c: File removed.
47417
1c3b002b
MF
474182011-09-19 Mike Frysinger <vapier@gentoo.org>
47419
47420 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
47421 * config.make.in (CPPFLAGS-config): New substituted variable.
47422
2840865d
UD
474232011-09-15 Ulrich Drepper <drepper@gmail.com>
47424
88738eb6
UD
47425 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
47426
cbf645a6 47427 [BZ #13192]
2840865d
UD
47428 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
47429 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
47430
b402e91a
RM
474312011-09-15 Roland McGrath <roland@hack.frob.com>
47432
47433 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
47434 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
47435 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
47436 (CALL_FAIL): Likewise.
47437 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
47438 (CALL_FAIL): Macro removed.
47439 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
47440
4c1a1f71
UD
474412011-09-15 Ulrich Drepper <drepper@gmail.com>
47442
47443 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
47444 for __FINITE_MATH_ONLY__ == 1.
47445
edc121be
AS
474462011-09-15 Andreas Schwab <schwab@redhat.com>
47447
47448 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
47449 __ieee754_sqrt instead of sqrt.
47450 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
47451 __ieee754_sqrtf instead of sqrtf.
47452 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
47453 __floorf instead of floorf.
47454 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
47455 __floorf, __truncf instead of floorf, truncf.
47456
cd205654
UD
474572011-09-14 Ulrich Drepper <drepper@gmail.com>
47458
ee4d0315
UD
47459 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
47460
cd205654
UD
47461 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
47462 __extern_always_inline.
47463 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
47464 32-bit.
47465
48b67d71
AS
474662011-09-14 Andreas Schwab <schwab@redhat.com>
47467
47468 * elf/rtld.c (dl_main): Also relocate in dependency order when
47469 doing symbol dependency testing.
47470
1ae12c75
AS
474712011-09-13 Andreas Schwab <schwab@linux-m68k.org>
47472
47473 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
47474 Always define `refsym'.
47475
995a80df
AS
474762011-09-13 Andreas Schwab <schwab@redhat.com>
47477
e529793b
AS
47478 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
47479 (__FD_ELT): Renamed from __FDELT.
47480 * misc/bits/select2.h (__FD_ELT): Likewise.
47481 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
47482 __FD_MASK instead of __FDELT, __FDMASK.
47483 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
47484 Likewise.
47485 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
47486 Likewise.
47487
52d4fef8
AS
47488 * elf/Makefile (gen-ldd): Fix pattern.
47489
995a80df
AS
47490 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
47491 (init_tls): Likewise.
47492
8682f8b0
UD
474932011-09-12 Ulrich Drepper <drepper@gmail.com>
47494
47495 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
47496
de82006d
AS
474972011-09-12 Andreas Schwab <schwab@redhat.com>
47498
a7c8e6a1
AS
47499 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
47500 `struct cmsghdr *' instead of `void *'.
47501 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
47502 Likewise.
47503
0f31fe77
AS
475042011-09-11 Andreas Schwab <schwab@linux-m68k.org>
47505
47506 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
47507 if non-absolute.
47508 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
47509 ldd_rewrite_script.
0f31fe77 47510
32b4c839
UD
475112011-09-11 Ulrich Drepper <drepper@gmail.com>
47512
83cd1420
UD
47513 * configure.in: Remove --with-tls option.
47514 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
47515 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
47516 out in case it is missing.
47517 * sysdeps/ia64/elf/configure.in: Likewise.
47518 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
47519 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
47520 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
47521 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
47522 * sysdeps/sh/elf/configure.in: Likewise.
47523 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
47524 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
47525 * sysdeps/x86_64/elf/configure.in: Likewise.
47526 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
47527 * sysdeps/mach/hurd/tls.h: Likewise.
47528
633f745d
UD
47529 [BZ #13067]
47530 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
47531
f318beb8
UD
47532 [BZ #13090]
47533 * configure.in: Fix use of AC_INIT.
47534
32b4c839
UD
47535 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
47536
3ce1f295
UD
475372011-09-10 Ulrich Drepper <drepper@gmail.com>
47538
bb016596
UD
47539 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
47540 __set_errno.
8e58439c
UD
47541 * malloc/hooks.c: Likewise.
47542
aebae053 47543 [BZ #11929]
02d46fc4
UD
47544 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
47545 variables statically.
47546 (narenas): Initialize.
47547 (list_lock): Initialize.
bb016596
UD
47548 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
47549 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
47550 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
47551 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
47552 Add initializers to main_arena and mp_.
47553 (malloc_state): Remove pagesize member. Change all users to use
47554 GLRO(dl_pagesize).
47555
47556 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
47557 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
47558 is always initialized.
47559
22a89187
UD
47560 * malloc/malloc.c: Removed unused configurations and dead code.
47561 * malloc/arena.c: Likewise.
47562 * malloc/hooks.c: Likewise.
02d46fc4 47563 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 47564
d063d164
UD
47565 * include/tls.h: Removed. USE___THREAD must always be defined.
47566 * bits/libc-tsd.h: Don't handle !USE___THREAD.
47567 * elf/dl-libc.c: Likewise.
47568 * elf/dl-tsd.c: Likewise.
47569 * include/errno.h: Likewise.
47570 * include/netdb.h: Likewise.
47571 * include/resolv.h: Likewise.
47572 * inet/herrno-loc.c: Likewise.
47573 * inet/herrno.c: Likewise.
47574 * malloc/arena.c: Likewise.
47575 * malloc/hooks.c: Likewise.
47576 * malloc/malloc.c: Likewise.
47577 * resolv/res-state.c: Likewise.
47578 * resolv/res_libc.c: Likewise.
47579 * sysdeps/i386/dl-machine.h: Likewise.
47580 * sysdeps/ia64/dl-machine.h: Likewise.
47581 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
47582 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
47583 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
47584 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
47585 * sysdeps/sh/dl-machine.h: Likewise.
47586 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
47587 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
47588 * sysdeps/unix/i386/sysdep.S: Likewise.
47589 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
47590 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
47591 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
47592 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
47593 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
47594 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
47595 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
47596 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
47597 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
47598 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
47599 * sysdeps/unix/x86_64/sysdep.S: Likewise.
47600 * sysdeps/x86_64/dl-machine.h: Likewise.
47601 * tls.make.c: Likewise.
47602
3ce1f295
UD
47603 * configure.in: Remove --with-__thread option. Make tests for
47604 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
47605 tls_model attribute fail if no support is available. Remove
47606 USE_IN_LIBIO.
47607 * Makeconfig: Adjust for dropped configure option. All features are
47608 now mandatory.
47609 * Makerules: Likewise.
47610 * Versions.def: Likewise.
47611 * argp/argp-fmtstream.c: Likewise.
47612 * argp/argp-fmtstream.h: Likewise.
47613 * argp/argp-help.c: Likewise.
47614 * assert/assert.c: Likewise.
47615 * config.h.in: Likewise.
47616 * config.make.in: Likewise.
47617 * configure: Likewise.
47618 * configure.in: Likewise.
47619 * csu/Versions: Likewise.
47620 * csu/init.c: Likewise.
47621 * elf/tst-audit2.c: Likewise.
47622 * elf/tst-tls10.c: Likewise.
47623 * elf/tst-tls10.h: Likewise.
47624 * elf/tst-tls11.c: Likewise.
47625 * elf/tst-tls12.c: Likewise.
47626 * elf/tst-tls14.c: Likewise.
47627 * elf/tst-tlsmod11.c: Likewise.
47628 * elf/tst-tlsmod12.c: Likewise.
47629 * elf/tst-tlsmod13.c: Likewise.
47630 * elf/tst-tlsmod13a.c: Likewise.
47631 * elf/tst-tlsmod14a.c: Likewise.
47632 * elf/tst-tlsmod15b.c: Likewise.
47633 * elf/tst-tlsmod16a.c: Likewise.
47634 * elf/tst-tlsmod16b.c: Likewise.
47635 * elf/tst-tlsmod7.c: Likewise.
47636 * elf/tst-tlsmod8.c: Likewise.
47637 * elf/tst-tlsmod9.c: Likewise.
47638 * gmon/gmon.c: Likewise.
47639 * grp/fgetgrent_r.c: Likewise.
47640 * grp/putgrent.c: Likewise.
47641 * hurd/fopenport.c: Likewise.
47642 * include/libc-symbols.h: Likewise.
47643 * include/tls.h: Likewise.
47644 * intl/gettextP.h: Likewise.
47645 * intl/loadinfo.h: Likewise.
47646 * locale/global-locale.c: Likewise.
47647 * locale/localeinfo.h: Likewise.
47648 * mach/devstream.c: Likewise.
47649 * malloc/arena.c: Likewise.
47650 * malloc/set-freeres.c: Likewise.
47651 * misc/err.c: Likewise.
47652 * misc/getttyent.c: Likewise.
47653 * misc/mntent_r.c: Likewise.
47654 * posix/getopt.c: Likewise.
47655 * posix/wordexp.c: Likewise.
47656 * pwd/fgetpwent_r.c: Likewise.
47657 * resolv/Versions: Likewise.
47658 * resolv/res_hconf.c: Likewise.
47659 * shadow/fgetspent_r.c: Likewise.
47660 * shadow/putspent.c: Likewise.
47661 * stdio-common/printf_fphex.c: Likewise.
47662 * stdio-common/tmpfile.c: Likewise.
47663 * stdlib/abort.c: Likewise.
47664 * stdlib/fmtmsg.c: Likewise.
47665 * sunrpc/auth_unix.c: Likewise.
47666 * sunrpc/clnt_perr.c: Likewise.
47667 * sunrpc/clnt_tcp.c: Likewise.
47668 * sunrpc/clnt_udp.c: Likewise.
47669 * sunrpc/clnt_unix.c: Likewise.
47670 * sunrpc/openchild.c: Likewise.
47671 * sunrpc/svc_simple.c: Likewise.
47672 * sunrpc/svc_tcp.c: Likewise.
47673 * sunrpc/svc_udp.c: Likewise.
47674 * sunrpc/svc_unix.c: Likewise.
47675 * sunrpc/xdr.c: Likewise.
47676 * sunrpc/xdr_array.c: Likewise.
47677 * sunrpc/xdr_rec.c: Likewise.
47678 * sunrpc/xdr_ref.c: Likewise.
47679 * sunrpc/xdr_stdio.c: Likewise.
47680
1248c1c4
PB
476812011-09-09 Ulrich Drepper <drepper@gmail.com>
47682
47683 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
47684
476852011-07-03 Andreas Jaeger <aj@suse.de>
47686
47687 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
47688 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
47689 regenerate with gen-libm-tests.pl.
47690
476912010-05-12 Petr Baudis <pasky@suse.cz>
47692
47693 [BZ #11589]
47694 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
47695 around j0() zero points by switching to j1().
47696 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
47697 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
47698 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
47699 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
47700
f22e1074
UD
477012011-09-09 Ulrich Drepper <drepper@gmail.com>
47702
f19009c1
UD
47703 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
47704 instead of 0.
47705 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
3a235abb 47706 instead of 0.
f19009c1
UD
47707 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
47708 Patch in part by Pavel Roskin <proski@gnu.org>.
47709
3f8cc204
UD
47710 [BZ #13138]
47711 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
47712 realloc.
47713 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
47714 Free memory block if necessary.
47715
f22e1074
UD
47716 [BZ #12847]
47717 * libio/genops.c (INTDEF): For string streams the _lock pointer can
47718 be NULL. Don't lock in this case.
47719
0a2349f9
RM
477202011-09-09 Roland McGrath <roland@hack.frob.com>
47721
47722 * elf/elf.h (ELFOSABI_GNU): New macro.
47723 (ELFOSABI_LINUX): Define to that.
47724
f3cdd467
DZ
477252011-07-29 Denis Zaitceff <zaitceff@gmail.com>
47726
47727 * string/strncat.c (strncat): Undef the symbol in case it has been
47728 defined in bits/string.h.
47729
74718d13
UD
477302011-09-09 Ulrich Drepper <drepper@gmail.com>
47731
633e9e0f
UD
47732 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
47733
0a2349f9 47734 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
47735 link map.
47736
f9924780
AJ
477372011-08-17 Andreas Jaeger <aj@suse.de>
47738
47739 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
47740
7f5517aa
PP
477412011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
47742 Ian Lance Taylor <iant@google.com>
47743
47744 * math/libm-test.inc (lround_test): New testcase.
47745 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
47746
762011fe
UD
477472011-09-08 Ulrich Drepper <drepper@gmail.com>
47748
92963737
UD
47749 * Makefile: Remove support for automatic cvs check-ins.
47750 * Makerules: Likewise.
47751 * config.make.in: Likewise.
47752 * configure.in: Likewise.
47753 * intl/Makefile: Likewise.
47754 * locale/Makefile: Likewise.
47755 * po/Makefile: Likewise.
47756 * posix/Makefile: Likewise.
47757 * sysdeps/gnu/Makefile: Likewise.
47758 * sysdeps/mach/hurd/Makefile: Likewise.
47759 * sysdeps/sparc/sparc32/Makefile: Likewise.
47760
b0727fd8
JS
47761 [BZ #13118]
47762 * posix/Makefile (bug-regex32-ENV): Define.
47763 Patch by John Stanley <jpsinthemix@verizon.net>.
47764
a0f33f99
UD
47765 * misc/Makefile (headers): Add bits/select2.h.
47766 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
47767 * misc/bits/select2.h: New file.
47768 * include/bits/select2.h: New file.
47769 * debug/Makefile (routines): Add fdelt_chk.
47770 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
47771 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
47772 FD_ISSET.
47773 * debug/fdelt_chk.c: New file.
47774
762011fe
UD
47775 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
47776 * wcsmbs/test-wmemcmp.c: Likewise.
47777 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 47778 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
47779
477802011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
47781
47782 * string/Makefile (strop-tests): Add memcmp.
47783 * string/test-wmemcmp.c: New file.
47784 * string/test-memcmp.c: Add wmemcmp support.
47785
7f513ec8
RM
477862011-09-08 Roland McGrath <roland@hack.frob.com>
47787
0442afb4
RM
47788 [BZ #13153]
47789 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
47790 2011-07-19 change.
47791
7f513ec8
RM
47792 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
47793 garbage value in a __mach_port_mod_refs call in the cases of the
47794 task-self and thread-self ports.
47795
a12b2239
ST
477962011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
47797
47798 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
47799
610f9ab4
AS
478002011-09-08 Andreas Schwab <schwab@redhat.com>
47801
7f513ec8 47802 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 47803
48882a1a
LD
478042011-09-07 Ulrich Drepper <drepper@gmail.com>
47805
b49865be
UD
47806 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
47807
fdc86bc9
UD
47808 * elf/dl-libc.c (dlerror_run): Pass back error code from
47809 dl_catch_error.
47810
c966526a
UD
47811 [BZ #13123]
47812 * elf/dl-load.c (lose): Free l_origin if it is valid.
47813
48882a1a
LD
47814 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
47815 names.
47816 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
47817 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
47818 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
47819 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
47820 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
47821 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
47822
77a2a8b4
AZ
478232011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
47824
47825 * sysdeps/powerpc/fpu/e_hypot.c: New file.
47826 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
47827 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
47828 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
47829 * sysdeps/powerpc/fpu/k_cosf.c: New file.
47830 * sysdeps/powerpc/fpu/k_sinf.c: New file.
47831 * sysdeps/powerpc/fpu/s_cosf.c: New file.
47832 * sysdeps/powerpc/fpu/s_sinf.c: New file.
47833 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
47834 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
47835
24f579d8
AM
478362011-08-15 Alan Modra <amodra@gmail.com>
47837
47838 [BZ #13092]
47839 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
47840 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
47841 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
47842 ppc_mcount to static-only-routines.
47843 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
47844 __mcount_internal.
47845 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
47846 __mcount_internal with usual JUMPTARGET. Remove useless nop.
47847
3d4837df
UD
478482011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
47849
47850 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
47851 for finite and infinity parameters.
47852
22700377
WS
478532011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
47854
47855 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
47856 and add nop instructions for throughput optimization.
47857 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
47858
5025581e
WS
478592011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
47860
47861 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
47862 aligned copy for power7 with vector-scalar instructions.
47863 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
47864
08a300c9
L
478652011-07-24 H.J. Lu <hongjiu.lu@intel.com>
47866
47867 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
47868 AVX check.
47869
59178ef9
AS
478702011-09-07 Andreas Schwab <schwab@redhat.com>
47871
47872 [BZ #13144]
47873 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
47874 last change.
47875
e38ba7ab
UD
478762011-09-07 Ulrich Drepper <drepper@gmail.com>
47877
47878 * sysdeps/unix/sysv/linux/x86_64/init-first.c
47879 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
47880 syscall wrapper around clock_gettime in __vdso_clock_gettime.
47881 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
47882 clock_gettime.
47883
d53a73ac
UD
478842011-09-06 Ulrich Drepper <drepper@gmail.com>
47885
fc8bffcc
UD
47886 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
47887 Forgot to demangle the pointer.
47888
ceaa0c5d
UD
47889 * sysdeps/i386/sysdep.h: Define atom_text_section.
47890 * sysdeps/x86_64/sysdep.h: Likewise.
47891 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
47892 section with atom_text_section.
47893 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
47894 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
47895 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
47896 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
47897 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
47898
a77d3c17
UD
47899 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
47900 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
47901 already be defined. Change to take two parameters and don't assign
47902 result to variable. Adjust all users.
47903 Define INTERNAL_GETTIME if not already defined.
47904 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
47905 call.
47906 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
47907 HAVE_CLOCK_GETTIME_VSYSCALL.
47908 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
47909
d53a73ac
UD
47910 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
47911 gettimeofday vsyscall, just use time.
47912
a8f84144
AS
479132011-09-06 Andreas Schwab <schwab@redhat.com>
47914
47915 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
47916 <errno.h>.
47917
ef606249
UD
479182011-09-06 Ulrich Drepper <drepper@gmail.com>
47919
47920 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
47921 syscall on x86-64.
47922 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
47923 syscall.
47924 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
47925 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
47926 syscall if possible.
47927
6585cb60
UD
479282011-09-05 Ulrich Drepper <drepper@gmail.com>
47929
47930 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
47931 e_ident. Don't pass to find_mapsXX.
47932 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
47933
a5f524e4
LD
479342011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
47935
47936 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
47937 strchr-sse2-no-bsf strrchr-sse2-no-bsf
47938 * sysdeps/x86_64/multiarch/strchr.S: Update.
47939 Check bit_slow_BSF bit.
47940 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
47941 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
47942 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
47943
554881ef
UD
479442011-09-05 Ulrich Drepper <drepper@gmail.com>
47945
d96de963
UD
47946 [BZ #13134]
47947 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
47948 before glibc 2.15.
47949 (tryshell): Define.
47950 (__spawni): Change last parameter to be flag. Test
47951 SPAWN_XFLAGS_USE_PATH flag to use path or not.
47952 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
47953 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
47954 * posix/spawni.c: Likewise.
47955 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
47956 * posix/spawnp.c: Likewise. Change normal version to use
47957 SPAWN_XFLAGS_USE_PATH.
47958 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
47959 SPAWN_XFLAGS_TRY_SHELL.
47960
d48e5868
UD
47961 [BZ #13150]
47962 * posix/glob.h: Remove gcc 1.x support.
47963
554881ef
UD
47964 [BZ #13068]
47965 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
47966
693fb948
LD
479672011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
47968
47969 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
47970 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
47971 strrchr-sse2-bsf
47972 * sysdeps/i386/i686/multiarch/strchr.S: New file.
47973 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
47974 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
47975 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
47976 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
47977 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
47978
1b48c537
UD
479792011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
47980
49d42c37
UD
47981 * sysdeps/x86_64/wcscmp.S: New file.
47982
1b48c537
UD
47983 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
47984 wcscmp-c wcscmp-sse2
47985 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
47986 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
47987 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
47988 * wcsmbs/wcscmp.c: Allow renaming.
47989
15c95c5d
DM
479902011-09-05 David S. Miller <davem@davemloft.net>
47991
47992 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
47993 stack slot, rather than the struct return pointer slot.
47994 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
47995 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
47996 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
47997 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
47998
2f0ad8f3
UD
479992011-09-05 Ulrich Drepper <drepper@gmail.com>
48000
d88ae418
UD
48001 * po/ja.po: Update from translation team.
48002
2f0ad8f3
UD
48003 [BZ #13144]
48004 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
48005 kernel in 64-bit binaries.
48006
5f4318d1
DM
480072011-09-01 David S. Miller <davem@davemloft.net>
48008
48009 * elf/elf.h (HWCAP_SPARC_*): Move to..
48010 * sysdeps/sparc/sysdep.h: this new file and add new values.
48011 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
48012 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
48013 _DL_HWCAP_COUNT to 24.
48014 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
48015 entries.
48016 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
48017 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
48018 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
48019 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
48020 instead of magic constants.
48021 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
48022
3ba57516
DM
480232011-08-31 David S. Miller <davem@davemloft.net>
48024
48025 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
48026 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
48027 Reimplement to do errno handling inline.
48028 (SYSCALL_ERROR_HANDLER): New macro.
48029 (__SYSCALL_STRING): Do not do errno handling in asm.
48030 (__CLONE_SYSCALL_STRING): Delete.
48031 (__INTERNAL_SYSCALL_STRING): Delete.
48032 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
48033 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
48034 (PSEUDO): Reimplement to do errno handling inline.
48035 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
48036 (SYSCALL_ERROR_HANDLER): New macro.
48037 (__SYSCALL_STRING): Do not do errno handling in asm.
48038 (__CLONE_SYSCALL_STRING): Delete.
48039 (__INTERNAL_SYSCALL_STRING): Delete.
48040 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
48041 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
48042 i386.
48043 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
48044 (inline_syscall*): Add 'err' argument.
48045 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
48046 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
48047 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
48048 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
48049
48050 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
48051 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
48052
2bc17433
AS
480532011-08-30 Andreas Schwab <schwab@redhat.com>
48054
48055 * elf/rtld.c (dl_main): Relocate objects in dependency order.
48056
fbeb5f4d
JO
480572011-08-29 Jiri Olsa <jolsa@redhat.com>
48058
48059 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
48060 directive.
48061
ad69cc26
DM
480622011-08-24 David S. Miller <davem@davemloft.net>
48063
48064 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
48065
39dd69df
AS
480662011-08-24 Andreas Schwab <schwab@redhat.com>
48067
48068 * elf/Makefile: Add rules to build and run unload8 test.
48069 * elf/unload8.c: New file.
48070 * elf/unload8mod1.c: New file.
48071 * elf/unload8mod1x.c: New file.
48072 * elf/unload8mod2.c: New file.
48073 * elf/unload8mod3.c: New file.
48074
48075 * elf/dl-close.c (_dl_close_worker): Reset private search list if
48076 it wasn't used.
48077
2c0b250a
DM
480782011-08-23 David S. Miller <davem@davemloft.net>
48079
48080 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
48081 subtract stack bias.
48082 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
48083 %sp not %fp in calculations.
48084 (_JMPBUF_UNWINDS_ADJ): Likewise.
48085
22044b48
DM
48086 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
48087 (aio_suspend): Call it to force an exception region around the
48088 AIO_MISC_WAIT() invocation.
48089
2cae4995
AS
480902011-08-23 Andreas Schwab <schwab@redhat.com>
48091
48092 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
48093 backslash.
48094
873a772e
AJ
480952011-07-04 Aurelien Jarno <aurelien@aurel32.net>
48096
48097 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
48098 protection macro.
48099 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
48100 and <dl-machine.h>.
48101 (Elf64_FuncDesc): Remove.
48102
25ad0df1
DM
481032011-08-22 David S. Miller <davem@davemloft.net>
48104
48105 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
48106 sigaltstack check, add missing cfi directives.
48107 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
48108 missing cfi directives, and sigaltstack handling.
48109
e888bcbe
AS
481102011-08-16 Andreas Schwab <schwab@redhat.com>
48111
48112 [BZ #11724]
48113 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
48114 object is seen twice.
48115 * elf/dl-fini.c (_dl_sort_fini): Likewise.
48116
48117 * elf/Makefile (distribute): Add tst-initorder2.c.
48118 (tests): Add tst-initorder2.
48119 (modules-names): Add tst-initorder2a tst-initorder2b
48120 tst-initorder2c tst-initorder2d. Add rules to build them.
48121 ($(objpfx)tst-initorder2.out): New rule.
48122 * elf/tst-initorder2.c: New file.
48123 * elf/tst-initorder2.exp: New file.
48124
87162f46
AS
481252011-08-22 Andreas Schwab <schwab@redhat.com>
48126
70538b7f
AS
48127 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
48128
f55ffe58
AS
48129 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
48130 dependencies back to end of function.
48131
87162f46
AS
48132 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
48133 $(elfobjdir)/ld.so.
48134
91b392a4
UD
481352011-08-21 Ulrich Drepper <drepper@gmail.com>
48136
48137 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
48138 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
48139 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
48140 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
48141 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
48142 of __vdso_gettimeofday.
48143 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
48144 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
48145 attribute_hidden.
48146 (_libc_vdso_platform_setup): Remove initialization of
48147 __vdso_gettimeofday and __vdso_time.
48148
5c43483f
UD
481492011-08-20 Ulrich Drepper <drepper@gmail.com>
48150
775a77e7
UD
48151 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
48152 and fgetc_unlocked.
48153 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
48154 getc_unlocked.
89f447ed 48155
49c74ba9
UD
48156 * elf/dl-open.c (add_to_global): Report additions to the global scope
48157 for LD_DEBUG=scopes.
48158 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 48159 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 48160
5c43483f
UD
48161 [BZ #13114]
48162 * stdio-common/Makefile (tests): Add bug24.
48163 * stdio-common/bug24.c: New file.
48164
a101b025
AJ
481652011-08-19 Andreas Jaeger <aj@suse.de>
48166
48167 [BZ #13114]
48168 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
48169 non-existant file when using close-on-exec mode.
48170
c88f1766
UD
481712011-08-20 Ulrich Drepper <drepper@gmail.com>
48172
0276a718
UD
48173 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
48174 the very first instruction.
48175
c88f1766
UD
48176 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
48177 the CFI state in the end.
48178 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
48179 inclusion of dl-trampoline.h.
48180 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
48181
51ccffa0
AS
481822011-08-19 Andreas Schwab <schwab@redhat.com>
48183
94d7165f
AS
48184 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
48185 expectations for long double.
48186
51ccffa0
AS
48187 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
48188 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
48189
fd708658 481902011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
48191
48192 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
48193 artificual limit depends upon the system page size.
48194
44f0a71e
UD
481952011-08-17 Ulrich Drepper <drepper@gmail.com>
48196
48197 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
48198 * resolv/Makefile: Define CFLAGS-libresolv.
48199
8de79a24
AS
482002011-08-17 Andreas Schwab <schwab@redhat.com>
48201
48202 * nss/makedb.c (compute_tables): Make variables used in nested
48203 function static.
48204
27724598
UD
482052011-08-17 Ulrich Drepper <drepper@gmail.com>
48206
c5305d88
UD
48207 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
48208 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
48209 if buffer was too small.
48210
27724598
UD
48211 * elf/pldd.c (main): Attach to all threads in the process.
48212 Rewrite /proc handling to use *at functions.
48213
076fe015
UD
482142011-08-16 Ulrich Drepper <drepper@gmail.com>
48215
174baab3
UD
48216 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
48217 specifies first scope to show.
48218 (dl_open_worker): Update callers. Move printing scope of new
48219 object to before the relocation.
44f0a71e 48220 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
48221 * sysdeps/generic/ldsodefs.h: Update declaration.
48222
076fe015
UD
48223 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
48224 string for the scope number.
48225
a60df2c3
UD
482262011-08-14 Ulrich Drepper <drepper@gmail.com>
48227
48228 * nscd/servicescache.c (cache_addserv): Make sure written is always
48229 initialized.
48230
5e4287d1
RM
482312011-08-14 Roland McGrath <roland@hack.frob.com>
48232
85ae0589
RM
48233 * sysdeps/i386/i486/bits/atomic.h
48234 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
48235 statement expression, so as to suppress "set but not used" warning.
48236 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
48237
69f63097
RM
48238 * string/strncat.c (STRNCAT): Use prototype definition.
48239
675456ef
RM
48240 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
48241 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
48242 -Iprograms here.
48243 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
48244 (localedef-modules): Add localedef.
48245 (locale-modules): Add locale.
48246
5e4287d1
RM
48247 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
48248 * elf/rtld.c (dl_main): Invert order of assignment in last change,
48249 to avoid a warning.
48250
9c96ff23
DM
482512011-08-14 David S. Miller <davem@davemloft.net>
48252
48253 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
48254 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
48255
f9ddf089
UD
482562011-08-13 Ulrich Drepper <drepper@gmail.com>
48257
44f0a71e 48258 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
48259 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
48260 * elf/rtld.c (dl_main): Set l_name of vDSO.
48261 Call _dl_show_scope when DL_DEBUG_SCOPES.
48262 (process_dl_debug): Recognize scopes flag and also set it for all.
48263 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
48264 Declare _dl_show_scope.
48265
1dc27704
UD
48266 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
48267 (do_dlopen): Pass caller_dlopen to dl_open.
48268 (__libc_dlopen_mode): Initialize caller_dlopen.
48269
f9ddf089
UD
48270 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
48271 of libc. Make tolower call locale-independent. Optimize a bit by
48272 using isdigit instead of isalnum.
48273 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
48274
9ac533d3
UD
482752011-08-12 Ulrich Drepper <drepper@gmail.com>
48276
48277 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
48278 was a dependency or dynamically loaded.
48279
89edf2e9
UD
482802011-08-11 Ulrich Drepper <drepper@gmail.com>
48281
8e999d29
UD
48282 * intl/l10nflist.c: Allow architecture-specific pop function.
48283 * sysdeps/x86_64/l10nflist.c: New file.
48284
89edf2e9
UD
48285 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
48286 classification.
48287
14d96785
AS
482882011-08-10 Andreas Schwab <schwab@redhat.com>
48289
48290 * include/dirent.h: Add libc_hidden_proto for scandirat and
48291 scandirat64. Don't declare __scandirat64.
48292 * dirent/scandirat.c: Add libc_hidden_def.
48293 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
48294 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
48295
6761ac04
DM
482962011-08-10 David S. Miller <davem@davemloft.net>
48297
48298 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
48299 enum.
48300 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
48301 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
48302 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
48303
c55fbd1e
UD
483042011-08-09 Ulrich Drepper <drepper@gmail.com>
48305
48306 * Versions.def [libc]: Add GLIBC_2.15.
48307 * dirent/Makefile (routines): Add scandirat and scandirat64.
48308 * dirent/Versions [libc]: Export scandirat and scandirat64 for
48309 GLIBC_2.15.
48310 * dirent/dirent.h: Declare scandirat and scandirat64.
48311 * dirent/scandirat.c: New file.
48312 * dirent/scandirat64.c: New file.
48313 * sysdeps/wordsize-64/scandirat.c: New file.
48314 * sysdeps/wordsize-64/scandirat64.c: New file.
48315 * dirent/opendir.c: Define opendirat.
48316 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
48317 using scandirat.
48318 * dirent/scandir64.c: Adjust for scandir.c change.
48319 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
48320 __scandirat64, and __scandir_cancel_handler.
48321 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
48322 additional parameter and use openat instead of open (outside of ld.so).
48323 Add new __opendir as wrapper around __opendirat.
48324 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
48325 here without requiring old scandirat implementation.
48326
879165f2
UD
483272011-08-08 Ulrich Drepper <drepper@gmail.com>
48328
48329 * dirent/scandir.c (cancel_handler): Renamed to
48330 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
48331 defined. Adjust users.
48332 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
48333 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
48334
cb7e923b
UD
483352011-08-04 Ulrich Drepper <drepper@gmail.com>
48336
16292edd
UD
48337 * string/test-string.h (IMPL): Use __STRING to expand name and then
48338 stringify it.
48339
cb7e923b
UD
48340 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
48341 of cleanups.
48342
cff82933
LD
483432011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
48344
48345 * string/Makefile: Update.
48346 (strop-tests): Append strncat.
48347 * string/test-wcscmp.c: New file.
48348 New comprehensive test for wcscmp.
48349 * string/test-strcmp.c: Update.
48350 (WIDE): New define.
48351
9be9bfcc
AS
483522011-07-22 Andreas Schwab <schwab@redhat.com>
48353
48354 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
48355 line.
48356
2e96f1c7
AS
483572011-07-26 Andreas Schwab <schwab@redhat.com>
48358
48359 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
48360 encoding to ACE if AI_IDN.
48361
85188888
JJ
483622011-08-01 Jakub Jelinek <jakub@redhat.com>
48363
48364 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
48365 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
48366
5fa16e9b
LD
483672011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
48368
48369 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
48370 Fix overflow bug in strncat.
48371 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
48372
48373 * string/test-strncat.c: Update.
48374 Add new tests for checking overflow bugs.
48375
483762011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
48377
48378 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
48379 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
48380 * sysdeps/i386/i686/multiarch/strcat.S: New file.
48381 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
48382 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
48383 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
48384 * sysdeps/i386/i686/multiarch/strncat.S: New file.
48385 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
48386 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
48387
48388 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
48389 (USE_AS_STRCAT): Define.
48390 Add strcat and strncat support.
48391 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
48392
8c1a459f
AS
483932011-07-25 Andreas Schwab <schwab@redhat.com>
48394
48395 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
48396 __n bigger than INT_MAX+1.
48397 (__strncmp_g): Likewise.
48398
bba33c28
UD
483992011-07-23 Ulrich Drepper <drepper@gmail.com>
48400
798be72d
UD
48401 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
48402 * libio/stido.h: Likewise.
48403
8accd4dc
UD
48404 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
48405 (AF_NFC): Define.
48406 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
48407 (AF_NFC): Define.
48408
cbff0d96
UD
48409 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
48410 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
48411 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
48412 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
48413 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
48414
9191c04a
UD
48415 [BZ #13021]
48416 * scripts/test-installation.pl: Don't expect libnss_test1 to be
48417 installed.
48418
bba33c28
UD
48419 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
48420 typo.
48421 (_dl_x86_64_save_sse): Likewise.
48422
90f139dd
UD
484232011-07-22 Ulrich Drepper <drepper@gmail.com>
48424
1aae088a
UD
48425 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
48426 OSXSAVE.
48427 (_dl_x86_64_save_sse): Likewise.
48428
8e2045f5
UD
48429 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
48430
90f139dd
UD
48431 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
48432
1d002f25
AS
484332011-07-21 Andreas Schwab <schwab@redhat.com>
48434
48435 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
48436 change.
48437 (_dl_x86_64_save_sse): Use correct AVX check.
48438
21137f89
UD
484392011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
48440
48441 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
48442 bug in strncpy/strncat.
48443 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
48444
a65c0b7a
UD
484452011-07-21 Ulrich Drepper <drepper@gmail.com>
48446
48447 * string/tester.c (test_strcat): Add tests for different alignments
48448 of source and destination.
48449 (test_strncat): Likewise.
48450
6986b98a
UD
484512011-07-20 Ulrich Drepper <drepper@gmail.com>
48452
90bb2039
UD
48453 [BZ #12852]
48454 * posix/glob.c (glob): Check passed in values before using them in
48455 expressions to avoid some overflows.
48456 (glob_in_dir): Likewise.
48457
5644ef54
UD
48458 [BZ #13007]
48459 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
48460 check for AVX enablement so that we don't crash with old kernels and
48461 new hardware.
48462 * elf/tst-audit4.c: Add same checks here.
48463 * elf/tst-audit6.c: Likewise.
48464
48465 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 48466
bfc9dc9b
AS
484672011-07-09 Andreas Schwab <schwab@linux-m68k.org>
48468
48469 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
48470
702e64bb
UD
484712011-07-20 Ulrich Drepper <drepper@gmail.com>
48472
48473 * po/cs.po: Update from translation team.
48474 * po/bg.po: Likewise.
48475
295e904f
MP
484762011-07-12 Marek Polacek <mpolacek@redhat.com>
48477
48478 * misc/sys/cdefs.h: Add support for const attribute.
48479 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
48480 to gnu_dev_{major,minor,makedev} functions.
48481
3ff94596
MP
484822011-07-20 Marek Polacek <mpolacek@redhat.com>
48483
48484 * intl/dcigettext.c (get_output_charset): Add missing bracket.
48485
28b59fca
AS
484862011-07-20 Andreas Schwab <schwab@redhat.com>
48487
48488 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
48489 strlen results.
48490
19df733e
AK
484912011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
48492
48493 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
48494 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
48495 register in order to avoid conflicts with the soft frame pointer
48496 being held in r11 when necessary.
48497 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
48498 (INTERNAL_VSYSCALL_NCS): Likewise.
48499
c8835729
MP
485002011-07-14 Marek Polacek <mpolacek@redhat.com>
48501
48502 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
48503 * elf/dl-fini.c (_dl_fini): Adjust caller.
48504 * elf/dl-close.c (_dl_close_worker): Likewise.
48505 * sysdeps/generic/ldsodefs.h: Adjust declaration.
48506
b902330c
MP
485072011-07-15 Marek Polacek <mpolacek@redhat.com>
48508
8991e135
MP
48509 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
48510 "aux_cache->nlibs < 0".
48511
b902330c
MP
48512 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
48513 in the reload-count case.
48514
99710781
LD
485152011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
48516
48517 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
48518 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
48519 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
48520 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
48521 * sysdeps/x86_64/multiarch/strcat.S: New file.
48522 * sysdeps/x86_64/multiarch/strncat.S: New file.
48523 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
48524 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
48525 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
48526 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
48527 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
48528 (USE_AS_STRCAT): Define.
48529 Add strcat and strncat support.
48530 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
48531 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
48532 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
48533 * string/strncat.c: Update.
48534 (USE_AS_STRNCAT): Define.
48535 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
48536 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
48537 and i7.
48538 * sysdeps/x86_64/multiarch/init-arch.h
48539 (bit_Prefer_PMINUB_for_stringop): New.
48540 (index_Prefer_PMINUB_for_stringop): Likewise.
48541 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
48542 bit_Prefer_PMINUB_for_stringop.
48543
7dc6bd90
UD
485442011-07-19 Ulrich Drepper <drepper@gmail.com>
48545
48546 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
48547 buffer64.
48548 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
48549 of casting of buffer.
48550 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
48551 buffer32 and buffer64.
48552 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
48553 writes instead of casting of buffer.
48554 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
48555 buffer32.
48556 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
48557 casting of buffer.
48558
e0e72284
AS
485592011-07-19 Andreas Schwab <schwab@redhat.com>
48560
48561 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
48562
feb1eb0b
UD
485632011-07-19 Ulrich Drepper <drepper@gmail.com>
48564
48565 * nscd/nscd.c (termination_handler): Don't do anything for a database
48566 if it has not yet been initialized.
48567
298711ff
UD
485682011-07-18 Ulrich Drepper <drepper@gmail.com>
48569
48570 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
48571
485722011-07-15 Marek Polacek <mpolacek@redhat.com>
48573
48574 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
48575
f9d68389
UD
485762011-07-18 Ulrich Drepper <drepper@gmail.com>
48577
48578 * po/nl.po: Update from translation team.
48579 * po/sv.po: Likewise.
48580
db290cf5
RM
485812011-07-16 Roland McGrath <roland@hack.frob.com>
48582
48583 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
48584 now disallowed by GCC.
5c550700 48585
fd5e21c7
RM
48586 * configure.in (use-default-link): Default to yes if a test -shared
48587 link meets our qualifications.
48588 * configure: Regenerated.
48589
5c550700
RM
48590 * config.make.in (output-format): New variable.
48591 * configure.in: Check for ld --print-output-format support.
48592 * configure: Regenerated.
48593 * Makerules ($(common-objpfx)format.lds)
48594 [$(output-format) != unknown]: Just use $(output-format),
48595 instead of the linker-script munging.
48596
9fa2c032
RM
485972011-07-14 Roland McGrath <roland@hack.frob.com>
48598
a6928d51
RM
48599 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
48600 of $(common-objpfx)shlib.lds.
48601 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
48602
661607b3
RM
48603 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
48604 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
48605
9fa2c032
RM
48606 * configure.in (-z relro check): Adjust test code to add a large
48607 writable data section after it.
48608 * configure: Regenerated.
48609
defe9061
RM
486102011-07-11 Roland McGrath <roland@hack.frob.com>
48611
48612 * configure.in (-z relro check): Fix test code to make the variable
48613 truly const.
48614 * configure: Regenerated.
48615
319b9ad4
UD
486162011-07-11 Ulrich Drepper <drepper@gmail.com>
48617
48618 * nscd/nscd.h (struct traced_file): Define.
48619 (struct database_dyn): Remove inotify_descr, reset_res, and filename
48620 elements. Add traced_files.
48621 (inotify_fd): Declare.
48622 (register_traced_file): Declare.
48623 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
48624 (inotify_fd): Export.
48625 (resolv_conf_descr): Remove.
48626 (nscd_init): Move inotify descriptor creation to main.
48627 Don't register files for notification here.
48628 (register_traced_file): New function.
48629 (invalidate_cache): Don't use reset_res to determine whether to call
48630 res_init, go through the list of registered files.
48631 (main_loop_poll): The inotify descriptors are now stored in the
48632 structures for the traced files.
48633 (main_loop_epoll): Likewise
48634 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
48635 to __nss_disable_nscd.
48636 * nscd/cache.c (prune_cache): There is no single inotify descriptor
48637 for a database anymore. Check the records for all the registered
48638 files instead.
48639 * nss/Makefile (libnss_files-routines): Add files-init.
48640 (libnss_db-routines): Add db-init.
48641 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
48642 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
48643 * nss/nss_db/db-init.c: New file.
48644 * nss/nss_files/files-init.c: New file.
48645 * nss/nsswitch.c (nss_load_library): New function. Broken out of
48646 __nss_lookup_function.
48647 (__nss_lookup_function): Call nss_load_library.
48648 (nss_load_all_libraries): New function.
48649 (__nss_disable_nscd): Take parameter with callback function for files
48650 to register. Set is_nscd. Load all the DSOs for the NSS modules
48651 used for the cached services.
48652 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
48653 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
48654 options for features to all the files in nscd.
48655
48656 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
48657
23bee3e8
RM
486582011-07-10 Roland McGrath <roland@hack.frob.com>
48659
48660 * csu/elf-init.c (__libc_csu_init): Comment typo.
48661
46a5b7f0
UD
486622011-07-09 Ulrich Drepper <drepper@gmail.com>
48663
48664 * po/pl.po: Update from translation team.
48665 * po/ja.po: Likewise.
48666 * po/ru.po: Likewise.
48667 * po/ko.po: Likewise.
48668 * po/fr.po: Likewise.
48669
d30cf5bb
RM
486702011-07-09 Roland McGrath <roland@hack.frob.com>
48671
113ddea4
RM
48672 * configure.in (.ctors/.dtors header and trailer check):
48673 Use an empirical test on a built program.
48674 * configure: Regenerated.
48675
574920b4
RM
48676 * configure.in (-z relro check): Use an empirical test on a built DSO.
48677 Detect, but do not require, on ia64.
48678 * configure: Regenerated.
48679
d30cf5bb
RM
48680 * configure.in (READELF): Find it with AC_CHECK_TOOL.
48681 Update tests that use readelf to use $READELF instead.
48682 * configure: Regenerated.
48683
8538fdb3
UD
486842011-07-08 Ulrich Drepper <drepper@gmail.com>
48685
48686 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
48687 if the result is not used.
48688
04d08991
AJ
486892011-07-05 Andreas Jaeger <aj@suse.de>
48690
48691 [BZ#9696]
48692 * stdlib/tst-strtod.c: Add testcase.
48693
de283087
AD
486942011-07-07 Ulrich Drepper <drepper@gmail.com>
48695
4e5f31c8 48696 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 48697 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
48698 The latter has a higher limit. Take additional parameter to pass to
48699 the new function.
48700 (__pathconf): Pass file to __statfs_link_max.
48701 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
48702 __statfs_link_max.
48703 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
48704 __statfs_link_max.
48705
de283087
AD
48706 [BZ #12868]
48707 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
48708 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
48709 Handle Lustre.
48710 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
48711 (__statfs_filesize_max): Likewise.
48712 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
48713
c75fa153
AJ
487142011-07-05 Andreas Jaeger <aj@suse.de>
48715
48716 * resolv/res_comp.c (dn_skipname): Remove unused variable.
48717
1a544854
UD
487182011-07-06 Marek Polacek <mpolacek@redhat.com>
48719
48720 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
48721 `status' variable.
48722 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
48723 Likewise.
48724
6f0eec67
UD
487252011-07-04 H.J. Lu <hongjiu.lu@intel.com>
48726
48727 * Makefile (strop-tests): Add strncat.
48728 * string/test-strncat.c: New file.
48729
aae30307
UD
487302011-06-30 Marek Polacek <mpolacek@redhat.com>
48731
48732 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
48733
c0cfb5eb
UD
487342011-06-21 Andreas Jaeger <aj@suse.de>
48735
48736 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
48737 Copy rule from iconvdata/Makefile.
48738
01636b21
UD
487392011-07-06 Ulrich Drepper <drepper@gmail.com>
48740
48741 [BZ #12922]
48742 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
48743 but no long options are defined, just return 'W'.
48744
9895c8bc
UD
487452011-06-22 Marek Polacek <mpolacek@redhat.com>
48746
48747 [BZ #9696]
48748 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
48749
5d4cf042
UD
487502011-07-06 Ulrich Drepper <drepper@gmail.com>
48751
48752 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
48753 netgroups to read.
960e5535 48754 (innetgr): Likewise.
5d4cf042 48755
751eb97e
RM
487562011-07-05 Roland McGrath <roland@hack.frob.com>
48757
48758 * config.make.in (install_root): Default to $(DESTDIR).
48759
f15f1e45
UD
487602011-07-05 Ulrich Drepper <drepper@gmail.com>
48761
48762 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
48763
4e34ac6a
RM
487642011-07-02 Roland McGrath <roland@hack.frob.com>
48765
5e9b6af4
RM
48766 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
48767
84f9ea0f
RM
48768 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
48769 containing directory rather than embedding absolute directory names.
48770
ea5ee9f7
RM
48771 * scripts/check-local-headers.sh: Rewritten using awk.
48772 Match by word, not by line. Print error messages for matches.
48773 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
48774
1b74661a
RM
48775 * Makerules [shlib-lds-flags empty]:
48776 ($(common-objpfx)libc_pic.opts): New target.
48777 ($(common-objpfx)libc_pic.os.clean): New target.
48778 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
48779
48780 * config.make.in (OBJCOPY): New variable.
48781 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
48782 * configure: Regenerated.
48783
f781ef40
RM
48784 * config.make.in (use-default-link): New variable.
48785 * configure.in (use_default_link): Grok --with-default-link to set it.
48786 * configure: Regenerated.
48787 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
48788 (shlib-lds, shlib-lds-flags): Define to empty.
48789
2d4fa81e
RM
48790 * Makerules (shlib-lds): New variable.
48791 (shlib-lds-flags): New variable.
48792 (build-shlib, build-moduile, build-module-asneeded): Use it.
48793 ($(common-objpfx)libc.so): Use $(shlib-lds).
48794 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
48795 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
48796
31fffa6b
RM
48797 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
48798 DT_FLAGS/DT_FLAGS_1 with zero flags.
48799
4e34ac6a
RM
48800 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
48801 linker script munging.
48802
fcfc776b
UD
488032011-07-02 Ulrich Drepper <drepper@gmail.com>
48804
48805 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
48806 as 128-bit value.
48807 * crypt/sha512.c (sha512_process_block): Perform total addition using
48808 128-bit if possible.
48809 (__sha512_finish_ctx): Likewise.
48810 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
48811 as 64-bit value.
48812 * crypt/sha256.c (SWAP64): Define.
48813 (sha256_process_block): Perform total addition using 64-bit if
48814 possible.
48815 (__sha256_finish_ctx): Likewise.
48816
99231d9a
UD
488172011-07-01 Ulrich Drepper <drepper@gmail.com>
48818
48819 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
48820 * nscd/initgrcache.c (addinitgroupsX): Likewise.
48821 * nscd/hstcache.c (cache_addhst): Likewise.
48822 * nscd/grpcache.c (cache_addgr): Likewise.
48823 * nscd/aicache.c (addhstaiX): Likewise
48824 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
48825
445b4a53
TK
488262011-07-01 Thorsten Kukuk <kukuk@suse.de>
48827
48828 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
48829 * nscd/initgrcache.c (addinitgroupsX): Likewise.
48830 * nscd/hstcache.c (cache_addhst): Likewise.
48831 * nscd/grpcache.c (cache_addgr): Likewise.
48832 * nscd/aicache.c (addhstaiX): Likewise
48833
6d4d8e8e
AS
488342011-07-01 Andreas Schwab <schwab@redhat.com>
48835
48836 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
48837 domain only when needed.
48838
89f654c5
AS
488392011-06-30 Andreas Schwab <schwab@redhat.com>
48840
48841 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
48842 is always restored.
48843
cf3b23ff
UD
488442011-06-29 Ulrich Drepper <drepper@gmail.com>
48845
48846 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
48847 are re-adding the entry.
48848 * nscd/servicescache.c (cache_addserv): Likewise.
48849
751626f9
AJ
488502011-06-30 Aurelien Jarno <aurelien@aurel32.net>
48851
48852 * sysdeps/generic/dl-irel.h: fix protection against multiple
48853 inclusions.
48854 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
48855
9113ea1f
UD
488562011-06-28 Ulrich Drepper <drepper@gmail.com>
48857
5c0b8d90
UD
48858 [BZ #12935]
48859 * malloc/memusage.sh: Fix quoting in message.
48860 * debug/xtrace.sh: Likewise.
48861
9113ea1f
UD
48862 * configure.in: Remove support for --experimental-malloc option, make
48863 it the default.
48864 * config.make.in: Likewise.
48865 * malloc/Makefile: Likewise.
48866
a4172181
AS
488672011-06-27 Andreas Schwab <schwab@redhat.com>
48868
48869 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
48870 two-byte characters.
48871
78a7eee7
RM
488722011-06-27 Roland McGrath <roland@hack.frob.com>
48873
62bede13
RM
48874 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
48875 AC_CACHE_CHECK invocation.
48876 * configure: Regenerated.
48877
78a7eee7
RM
48878 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
48879
5ce33a62
UD
488802011-06-27 Ulrich Drepper <drepper@gmail.com>
48881
034807a9
UD
48882 [BZ #12350]
48883 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
48884 bit from old_res_options.
48885
4902da17
UD
48886 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
48887
5ce33a62
UD
48888 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
48889 value type for setfct.
48890
c2344f56
L
488912011-06-23 H.J. Lu <hongjiu.lu@intel.com>
48892
48893 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
48894 __gettimeofday instead of gettimeofday.
48895
68468076
UD
488962011-06-26 Ulrich Drepper <drepper@gmail.com>
48897
48898 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
48899
acb0d739
L
489002011-06-24 H.J. Lu <hongjiu.lu@intel.com>
48901
48902 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
48903
48904 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
48905 info.
48906
8912479f
L
489072011-06-22 H.J. Lu <hongjiu.lu@intel.com>
48908
48909 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
48910 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
48911 strcpy-sse2-unaligned strncpy-sse2-unaligned
48912 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
48913 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
48914 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
48915 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
48916 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
48917 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
48918 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
48919 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
48920 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
48921 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
48922 (STRCPY): Support SSE2 and SSSE3 versions.
48923
d5495a11
UD
489242011-06-24 Ulrich Drepper <drepper@gmail.com>
48925
48926 [BZ #12874]
48927 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
48928 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
48929 kernels which artificially limit size of requests.
48930
0b1cbaae
L
489312011-06-22 H.J. Lu <hongjiu.lu@intel.com>
48932
48933 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
48934 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
48935 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
48936 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
48937 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
48938 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
48939 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
48940 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
48941 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
48942 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
48943 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
48944 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
48945 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
48946 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
48947 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
48948 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
48949 Enable unaligned load optimization for Intel Core i3, i5 and i7
48950 processors.
48951 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
48952 Define.
48953 (index_Fast_Unaligned_Load): Define.
48954 (HAS_FAST_UNALIGNED_LOAD): Define.
48955
07f494a0
MP
489562011-06-23 Marek Polacek <mpolacek@redhat.com>
48957
48958 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
48959
fa3fc0fe
UD
489602011-06-22 Ulrich Drepper <drepper@gmail.com>
48961
48962 [BZ #12907]
48963 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
48964 until it is clear that the information is realy needed.
48965 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
48966
e12df166
AS
489672011-06-22 Andreas Schwab <schwab@redhat.com>
48968
48969 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
48970
852eb34d
UD
489712011-06-22 Ulrich Drepper <drepper@gmail.com>
48972
84e2a551
UD
48973 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
48974 /sys/devices/system/cpu/online if it is usable.
48975
852eb34d
UD
48976 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
48977 reading the information from the /proc filesystem to once a second.
48978
6e502e19
UD
489792011-06-21 Andreas Jaeger <aj@suse.de>
48980
48981 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
48982 NULL after inclusion of kernel headers.
48983
75d39ff2
UD
489842011-06-21 Ulrich Drepper <drepper@gmail.com>
48985
51f9aa6a
UD
48986 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
48987 calls to internal_setent.
48988
c0244a9d
UD
48989 [BZ #12885]
48990 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
48991 addresses using gethostbyname4_r ignore IPv4 addresses.
48992
c5e3c2ae
UD
48993 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
48994 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
48995
75d39ff2
UD
48996 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
48997
42675c6f
DM
489982011-06-20 David S. Miller <davem@davemloft.net>
48999
49000 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
49001 inclusions.
49002 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
49003
49004 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
49005 (elf_irel): Use it.
49006 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
49007 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
49008 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
49009 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
49010 * sysdeps/x86_64/dl-irel.h: Likewise.
49011
49012 * elf/dl-runtime.c: Use elf_ifunc_invoke.
49013 * elf/dl-sym.c: Likewise.
49014
57912a71
UD
490152011-06-15 Ulrich Drepper <drepper@gmail.com>
49016
49017 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
49018 need to dereference resplen2.
49019
ee22793d
AS
490202011-06-14 Andreas Schwab <schwab@redhat.com>
49021
49022 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
49023
a9e836b0
UD
490242011-06-15 Ulrich Drepper <drepper@gmail.com>
49025
77fb9117
UD
49026 * Makeconfig: Define vardbdir and inst_vardbdir.
49027 * nss/Makefile: Add rules to install db-Makefile.
49028
40c1b22c
UD
49029 * nss/nss_db/db-XXX.c: Cleanup.
49030
9f2da732
UD
49031 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
49032 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
49033 GLIBC_PRIVATE.
49034 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
49035 * nss/makedb.c: Implement -g option to specify that value strings
49036 are generated and should not be added to table iterated over for
49037 get*ent calls.
49038 * nss/nss_db/db-initgroups.c: New file.
49039
82e9a1f7
UD
49040 * nss/getent.c: Add support for initgroups lookups through getgrouplist
49041 interface.
49042
c41af17e
UD
49043 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
49044 (internal_getgrouplist): Adjust to name change.
49045 Update use_initgroups_entry if this is not the first call.
49046 * nss/databases.def: Add initgroups entry.
49047
a9e836b0
UD
49048 * nss/makedb.c (compute_tables): Check result of multiple hash table
49049 sizes to minimize maximum chain length.
49050
2666d441
UD
490512011-06-14 Ulrich Drepper <drepper@gmail.com>
49052
49053 * Versions.def: Add entry for libnss_db.
49054 * shlib-versions: Likewise.
49055 * nss/Makefile: Add rules to build libnss_db.
49056 * nss/Versions: Add libnss_db information. Organize libnss_files
49057 entries better.
49058 * nss/db-Makefile: Add gshadow support. Change rules for the new
49059 makedb progra. Some minor improvements to generate smaller files.
49060 * nss/nss_db/nss_db.h: Move NSS database header data structures to
49061 here from...
49062 * nss/makedb.c: ...here.
49063 Improve database format to be smaller and require less memory at
49064 runtime.
49065 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
49066 db anymore.
49067 * nss/nss_db/db-netgrp.c: Likewise.
49068 * nss/nss_db/db-open.c: Likewise.
49069 * nss/nss_files/flies-XXX.x: Adjust comments.
49070 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
49071 * nss/nss_files/files-grp.c: Likewise.
49072 * nss/nss_files/files-hosts.c: Likewise.
49073 * nss/nss_files/files-network.c: Likewise.
49074 * nss/nss_files/files-proto.c: Likewise.
49075 * nss/nss_files/files-pwd.c: Likewise.
49076 * nss/nss_files/files-rpc.c: Likewise.
49077 * nss/nss_files/files-service.c: Likewise.
49078 * nss/nss_files/files-sgrp.c: Likewise.
49079 * nss/nss_files/files-spwd.c: Likewise.
49080 * nss/nss_db/db-alias.c: Removed.
49081 * nss/nss_db/dummy-db.h: Removed.
49082
9ee76b5a
UD
490832011-06-02 Ulrich Drepper <drepper@gmail.com>
49084
49085 * nss/makedb.c: Rewritten to not use database library.
49086 * nss/Makefile: Update to build new makedb program.
49087
c71ca1f8
AJ
490882011-06-14 Andreas Jaeger <aj@suse.de>
49089
49090 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
49091 memset declaration.
49092
3154bfb8
UD
490932011-06-10 Andreas Schwab <schwab@redhat.com>
49094
49095 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
49096 tmpbuf.
49097
b350afab
RM
490982011-06-10 Roland McGrath <roland@hack.frob.com>
49099
decd4e50
RM
49100 * Makerules (shlib.lds): Fail if the linker script comes out empty.
49101 * elf/Makefile ($(objpfx)ld.so): Likewise.
49102
5615eaf2
RM
49103 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
49104 Don't list ld.so twice in dependencies.
49105
49106 * posix/bug-regex31.c: Include <stdlib.h>.
49107
49108 * nscd/hstcache.c (cache_addhst): Remove unused variable.
49109
49110 * nis/nss_compat/compat-spwd.c
49111 (getspent_next_nss_netgr): Remove unused variable.
49112 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
49113
49114 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
49115 nonmembers" output to use the right array.
49116
49117 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
49118
49119 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
49120
49121 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
49122 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
49123 * catgets/gencat.c (read_input_file): Likewise.
49124 * locale/programs/locarchive.c (enlarge_archive): Likewise.
49125
49126 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
49127 variable definition inside #if's controlling its use.
49128
49129 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
49130
49131 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
49132
49133 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
49134
49135 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
49136 unreachable code.
49137
49138 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
49139
b68e08db
RM
49140 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
49141 * configure: Regenerated.
49142
b350afab
RM
49143 * Makerules: Revert last change.
49144 * elf/Makefile: Likewise.
49145
28368601
RM
491462011-06-09 Roland McGrath <roland@hack.frob.com>
49147
49148 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
49149 * elf/Makefile ($(objpfx)librtld.os): Likewise.
49150 (reloc-link): Likewise.
49151
11988f8f
UD
491522011-06-09 Ulrich Drepper <drepper@gmail.com>
49153
49154 * elf/Makefile: Add rules to build pldd.
49155 * elf/pldd.c: New file.
49156 * elf/pldd-xx.c: New file.
49157
e80fab37
UD
491582011-06-07 Ulrich Drepper <drepper@gmail.com>
49159
49160 * version.h: Update for 2.15 development version.
49161
9b849836
DM
491622011-06-07 David S. Miller <davem@davemloft.net>
49163
49164 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
49165 ifuncs.
49166 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
49167 elf_machine_lazy_rel): Likewise.
49168 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
49169 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
49170 elf_machine_lazy_rel): Likewise.
49171 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
49172 dl_hwcap via passed in argument.
49173 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
49174 Likewise.
49175
5a31b283
AK
491762011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
49177
49178 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
49179
069e52f8
RM
491802011-06-06 Roland McGrath <roland@hack.frob.com>
49181
49182 [BZ #12849]
49183 * manual/fdl-1.1.texi: New file, verbatim from:
49184 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
49185 * manual/lgpl-2.1.texi: New file, verbatim from:
49186 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
49187 * manual/Makefile (licenses): New variable, list those new file names.
49188 (texis): Use it.
49189 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
49190
49191 * manual/fdl.texi: File removed.
49192 * manual/lesser.texi: File removed.
49193 * manual/libc.texinfo (Copying, Documentation License):
49194 Use new @include file names, put @appendix directive before @include.
49195
f16846a5
JJ
491962011-06-04 Jakub Jelinek <jakub@redhat.com>
49197
49198 [BZ #12841]
49199 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
49200 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
49201 (mq_open): Add __NTH.
49202
3d29045b
L
492032011-06-02 H.J. Lu <hongjiu.lu@intel.com>
49204
49205 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
49206 Assume Intel Core i3/i5/i7 processor if AVX is available.
49207
8c297311
UD
492082011-05-31 Ulrich Drepper <drepper@gmail.com>
49209
49210 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
49211 typo.
49212
c8fc0c91
UD
492132011-05-31 Andreas Schwab <schwab@redhat.com>
49214
49215 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
49216 memory. Use alloca_account. Fix memory leak when retrying.
49217
5b27a807
UD
492182011-05-31 Ulrich Drepper <drepper@gmail.com>
49219
356f8bc6
UD
49220 * version.h (RELEASE): Bump for 2.14 release.
49221 * include/features.h (__GLIBC_MINOR__): Bump to 14.
49222
5b27a807
UD
49223 * config.make.in (RANLIB): Remove entry.
49224
01f16ab0
UD
492252011-05-30 Ulrich Drepper <drepper@gmail.com>
49226
41fce8bd
UD
49227 * po/Makefile (po-sed-cmd): Add ksh to extensions.
49228 (libc.pot): Work around missing support for .ksh extension in xgettext.
49229
4769ae77
UD
49230 [BZ #12684]
49231 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
49232 if both request failed.
49233 (send_dg): In case of server errors clear resplen or *resplen2.
49234
6b1e7d19
UD
49235 [BZ #12454]
49236 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
49237 when there are multiple maps.
49238 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
49239 (_dl_fini): Remove test here.
49240
01f16ab0
UD
49241 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
49242
b1ebd700
UD
492432011-05-29 Ulrich Drepper <drepper@gmail.com>
49244
7ae22829
UD
49245 [BZ #12350]
49246 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
49247 bit from old_res_options.
49248 (gaih_inet): Likewise.
49249
553149f6 49250 [BZ #11099]
18a84741 49251 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
49252 as signed.
49253
652ffab1
UD
49254 * resolv/res_init.c (res_setoptions): Make the code more compact.
49255
16985fd0
UD
49256 [BZ #11558]
49257 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
49258 set RES_USEVC.
49259
0464f746
UD
49260 [BZ #11634]
49261 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
49262
7d17596c
UD
49263 * malloc/malloc.h: Mark malloc hook variables as deprecated.
49264
cf6bbbd7
UD
49265 [BZ #11781]
49266 * malloc/malloc.h: Declare malloc hook variables as volatile.
49267
13f1ab36
UD
49268 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
49269 in last patch.
49270
b1ebd700
UD
49271 [BZ #11799]
49272 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 49273 raise in the comment.
80e2212d
UD
49274 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
49275 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
49276 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 49277
ce67228d
UD
492782011-05-28 Ulrich Drepper <drepper@gmail.com>
49279
8887a920
UD
49280 [BZ #12811]
49281 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
49282 grow the buffers more if it already has to be sufficient.
49283 (build_wcs_upper_buffer): Likewise.
49284 * posix/regexec.c (check_matching): Likewise.
49285 (clean_state_log_if_needed): Likewise.
49286 (extend_buffers): Don't enlarge buffers beyond size of the input
49287 buffer.
49288 Patches mostly by Emil Wojak <emil@wojak.eu>.
49289 * posix/bug-regex32.c: New file.
49290 * posix/Makefile (tests): Add bug-regex32.
49291
4f031072
UD
49292 * locale/findlocale.c (_nl_find_locale): Return right away if
49293 _nl_explode_name failed.
49294 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
49295
d0478f0c
UD
49296 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
49297
de81b246
UD
49298 * debug/xtrace.sh: Unify messages.
49299 * malloc/memusage.sh: Likewise.
49300
c738465a
UD
49301 [BZ #12813]
49302 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
49303 time symbol from vDSO. Substitute with vsyscall if not available.
49304 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
49305 __vdso_time.
49306
f1f929d7
UD
49307 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
49308 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
49309 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
49310 Add sendmmsg and internal_sendmmsg.
49311 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
49312 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
49313 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
49314
ce67228d
UD
49315 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
49316 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
49317 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
49318
e57420c6
UD
493192011-05-27 Ulrich Drepper <drepper@gmail.com>
49320
a8509ca5
UD
49321 [BZ #12813]
49322 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
49323 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
49324 available.
49325 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
49326 __vdso_getcpu.
49327
e57420c6
UD
49328 [BZ #12814]
49329 * iconvdata/Makefile (tests): Add bug-iconv9.
49330 * iconvdata/bug-iconv9.c: New file.
49331
4d07db15
AS
493322011-05-27 Andreas Schwab <schwab@redhat.com>
49333
49334 [BZ #12814]
49335 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
49336
ea486f69
JJ
493372011-05-25 Jakub Jelinek <jakub@redhat.com>
49338
49339 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
49340 (struct user_regs_struct): Change intcs field back to cs.
49341
6f038433
UD
493422011-05-25 Ulrich Drepper <drepper@gmail.com>
49343
49344 * po/ja.po: Update from translation team.
49345
67f86a25
UD
493462011-05-23 Ulrich Drepper <drepper@gmail.com>
49347
49348 [BZ #12795]
49349 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
49350 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
49351
def7fbd6
AS
493522011-05-20 Andreas Schwab <schwab@redhat.com>
49353
49354 * stdlib/longlong.h: Update from GCC.
49355
f50ef8f1
AS
493562011-05-23 Andreas Schwab <schwab@redhat.com>
49357
49358 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
49359 parameter name.
49360 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
49361 Add parameter name.
49362 (__sysconf): Pass it down.
49363
de7ce8f1
UD
493642011-05-22 Ulrich Drepper <drepper@gmail.com>
49365
f2962a71
UD
49366 [BZ #12671]
49367 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
49368 some situations.
49369 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
49370 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
49371 add in in __libc_use_alloca calls. Adjust callers.
49372 (glob): Use malloc in some situations.
49373
de7ce8f1
UD
49374 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
49375 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
49376 pltexit.
49377
aec84f53
UD
493782011-05-21 Ulrich Drepper <drepper@gmail.com>
49379
05bb4a68
UD
49380 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
49381 and CLOCK_BOOTTIME_ALARM.
49382
7ea72f99
UD
49383 [BZ #12782]
49384 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
49385 is returned.
49386
7e4afad5
UD
49387 * string/_strerror.c (__strerror_r): Print negative errors as signed
49388 numbers.
49389
8e211fec
UD
49390 [BZ #12777]
49391 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
49392 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
49393 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
49394
f7d82dc9
UD
49395 * configure.in: Fix typo in redirection and correct removal of test
49396 files in two cases.
49397
cc9e536d
UD
49398 [BZ #12788]
49399 * locale/setlocale.c (new_composite_name): Fix test to check for
49400 identical name of all categories.
49401
aec84f53
UD
49402 [BZ #12792]
49403 * libio/filedoalloc.c (local_isatty): New function.
49404 (_IO_file_doallocate): Use local_isatty.
49405 * stdio-common/perror.c (perror): In case a new stream is used
49406 forward the stream error.
49407 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
49408 error flag.
49409
78e64fdc
RT
494102011-05-20 Ulrich Drepper <drepper@gmail.com>
49411
34a9094f
UD
49412 [BZ #11869]
49413 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
49414 alloca.
49415 * include/alloca.h (extend_alloca_account): Define.
49416
78e64fdc
RT
49417 [BZ #11857]
49418 * posix/regex.h: Fix comments with documentation of user-accessible
49419 fields after compilation and describe correct free'ing of pattern
49420 after re_compile_pattern.
49421 Patch by Reuben Thomas <rrt@sc3d.org>.
49422
457bddfc
RA
494232011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
49424
49425 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
49426 and -mno-altivec to prevent the compiler from using Altivec and/or
49427 VSX instructions when the corresponding registers are not available.
49428
a4527b51
AS
494292011-05-19 Andreas Schwab <schwab@redhat.com>
49430
49431 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
49432
ed690b2f
UD
494332011-05-19 Ulrich Drepper <drepper@gmail.com>
49434
49435 * libio/freopen.c (freopen): Use __dup2, not dup2.
49436 * libio/freopen64.c (freopen64): Likewise.
49437
8db73634
L
494382011-05-17 H.J. Lu <hongjiu.lu@intel.com>
49439
49440 [BZ #12775]
49441 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
49442 * math/Makefile (tests): Add test-powl.
49443 (CFLAGS-test-powl.c): Define.
49444 * math/test-powl.c: New file.
49445
0a197a9d
L
494462011-05-16 H.J. Lu <hongjiu.lu@intel.com>
49447
49448 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
49449
ee30c380
UD
494502011-05-17 Ulrich Drepper <drepper@gmail.com>
49451
49452 [BZ #11837]
49453 * iconvdata/gb18030.c: Update to GB18020-2005.
49454
6ce75379
UD
494552011-05-16 Ulrich Drepper <drepper@gmail.com>
49456
a4b89fd8
AR
49457 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
49458 RE_SYNTAX_POSIX_AWK): Update to match recent development.
49459 Patch by Aharon Robbins <arnold@skeeve.com>.
49460
ea389b12
UD
49461 [BZ #11892]
49462 * stdlib/putenv.c (putenv): Don't always create copy of the variable
49463 on the stack.
49464
68a3f91f
UD
49465 [BZ #11895]
49466 * misc/pselect.c (__pselect): Handle timeout value errors hidden
49467 through underflows.
49468
15cc7dd1
UD
49469 [BZ #12766]
49470 * misc/error.c (error_at_line): Ensure file_name and old_file_name
49471 point to strings before performing equality test for error_one_per_line
49472 mode.
49473
f3799213
UD
49474 [BZ #11697]
49475 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
49476
d79a9c94
UD
49477 [BZ #11820]
49478 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
49479 (struct user_fpregs_struct): Avoid __uint*_t types.
49480
56e5eb46
UD
49481 [BZ #6420]
49482 * malloc/mtrace.c (tr_where): Add additional parameter to point to
49483 symbol info. Use it instead of calling _dl_addr locally.
49484 (lock_and_info): New function.
49485 (tr_freehook): Call lock_and_info and pass symbol info as additional
49486 parameter to tr_where.
49487 (tr_mallochook): Likewise.
49488 (tr_reallochook): Likewise.
49489 (tr_memalignhook): Likewise.
49490
6ce75379
UD
49491 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
49492 used and couldn't be at all thread-safe.
49493
f8a3b5bf
UD
494942011-05-15 Ulrich Drepper <drepper@gmail.com>
49495
94b7cc37
UD
49496 * libio/freopen.c (freopen): Don't close old file descriptor
49497 before the new one is opened. Instead dup the new file descriptor
49498 to the old one after the new stream is created.
49499 * libio/freopen64.c (freopen64): Likewise.
49500 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
49501 * libio/fileops.c (_IO_new_file_close_it): Handle new
49502 _IO_FLAGS2_NOCLOSE flag.
49503 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
49504 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
49505 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
49506 _IO_FLAGS2_NOCLOSE flag.
49507 * include/unistd.h: Add hidden_proto for dup3.
49508 Define __have_dup3.
49509 * io/dup3.c: Define hidden symbol.
49510 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
49511
bd25564e
UD
49512 [BZ #7101]
49513 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
49514 when an incomplete long option is used.
49515 * posix/tst-getopt_long1.c: New file.
49516 * posix/Makefile (tests): Add tst-getopt_long1.
49517
c84cfef4
UD
49518 [BZ #10138]
49519 * scripts/config.guess: Update from autoconf-2.68.
49520 * scripts/config.sub: Likewise.
49521
3b85df27
UD
49522 [BZ #10157]
49523 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
49524 tests into ...
49525 (has_cpuclock): ...this. New function.
49526 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
49527 macro here based on has_cpuclock code.
49528
15a856b1
UD
49529 [BZ #10149]
49530 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
49531 First byte (not low byte) is now always NUL.
49532 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
49533
05f399e6
UD
49534 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
49535 Use non-cancelable interfaces.
49536
10a52685 49537 [BZ #9809]
94ecc67d
UD
49538 * locale/iso-639.def: Add entry for Sorani.
49539
f8a3b5bf
UD
49540 [BZ #11901]
49541 * include/stdlib.h: Move include protection to the right place.
49542 Define abort_msg_s. Declare __abort_msg with it.
49543 * stdlib/abort.c (__abort_msg): Adjust type.
49544 * assert/assert.c (__assert_fail_base): New function. Majority
49545 of code from __assert_fail. Allocate memory for __abort_msg with
49546 mmap.
49547 (__assert_fail): Now call __assert_fail_base.
49548 * assert/assert-perr.c: Remove bulk of implementation. Use
49549 __assert_fail_base.
49550 * include/assert.hL Declare __assert_fail_base.
49551 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
49552 mmap.
49553 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
49554
1af4e298
UD
495552011-05-14 Ulrich Drepper <drepper@gmail.com>
49556
f8a3b5bf 49557 [BZ #11952]
d26dfc60
MG
49558 [BZ #12453]
49559 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
49560 until all modules are registered in the DTV.
49561 * elf/Makefile: Add rules to build and run tst-tls19.
49562 * elf/tst-tls19.c: New file.
49563 * elf/tst-tls19mod1.c: New file.
49564 * elf/tst-tls19mod2.c: New file.
49565 * elf/tst-tls19mod3.c: New file.
49566 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
49567
2fc54d6f
UD
49568 [BZ #12083]
49569 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
49570 correctly.
49571
98d76b46
UD
49572 [BZ #12601]
49573 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
49574 two-byte sequence errors.
49575 * iconvdata/Makefile (tests): Add bug-iconv8.
49576 * iconvdata/bug-iconv8.c: New file.
49577
da3c19ef
UD
49578 [BZ #12626]
49579 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
49580 buf2 definition.
49581
ca408c15
UD
49582 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
49583
d6f67f7d
UD
49584 [BZ #12432]
49585 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
49586 (dummy_getcfa): New function.
49587 (init): Get _Unwind_GetCFA address, use dummy if not found.
49588 (backtrace_helper): In recursion check, also check whether CFA changes.
49589 (__backtrace): Completely initialize arg.
49590
1af4e298 49591 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
49592 storing incomplete byte sequence in state object. Avoid testing for
49593 guaranteed too small input if we know there is enough data available.
1af4e298 49594
da62f81b
AS
495952011-05-11 Andreas Schwab <schwab@redhat.com>
49596
49597 * Makeconfig (+link-pie): Indent.
49598 * Rules (binaries-pie): Define if $(have-fpie) and
49599 $(build-shared).
49600 (binaries-shared): Also filter out $(binaries-pie).
49601 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
49602 * nscd/Makefile (others-pie): Add nscd.
49603 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
49604 ($(objpfx)nscd): Remove command override.
49605 * login/Makefile (others-pie): Add pt_chown.
49606 ($(objpfx)pt_chown): Remove command override.
49607 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
49608 remove command overrides.
49609
fcabc0f8
UD
496102011-05-13 Ulrich Drepper <drepper@gmail.com>
49611
20030ae6
UD
49612 * libio/tst_putwc.c: Fix error messages.
49613
fcabc0f8
UD
49614 [BZ #12724]
49615 * libio/fileops.c (_IO_new_file_close_it): Always flush when
49616 currently writing and seek to current position when not.
49617 * libio/Makefile (tests): Add bug-fclose1.
49618 * libio/bug-fclose1.c: New file.
49619
320a5dc0
PB
496202011-05-12 Ulrich Drepper <drepper@gmail.com>
49621
49622 [BZ #12511]
49623 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
49624 don't set DF_1_NODELETE here.
49625 (do_lookup_x): When entering new entry test for copy relocation
49626 and if necessary set DF_1_NODELETE flag.
49627 * elf/tst-unique4.cc: New file.
49628 * elf/tst-unique4.h: New file.
49629 * elf/tst-unique4lib.cc: New file.
49630 * elf/Makefile: Add rules to build and run tst-unique4.
49631 Patch by Piotr Bury <pbury@goahead.com>.
49632
22836f52
UD
496332011-05-11 Ulrich Drepper <drepper@gmail.com>
49634
f574184a
UD
49635 [BZ #12052]
49636 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
49637
e1fb097f
UD
49638 [BZ #12625]
49639 * misc/mntent_r.c (addmntent): Flush the stream after the output
49640
22836f52
UD
49641 [BZ #12393]
49642 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
49643 (is_trusted_path_normalize): Skip initial colon. Append slash
49644 to empty buffer. Duplicate is_trusted_path code but allow
49645 constructed patch to be prefix.
49646 (is_dst): Allow $ORIGIN followed by /.
49647 (_dl_dst_substitute): Correct clearing of check_for_trusted.
49648 Correct testing of result of is_trusted_path_normalize
49649 (decompose_rpath): Fix warning.
49650
7b3b0b2a
UD
496512011-05-10 Ulrich Drepper <drepper@gmail.com>
49652
49653 [BZ #11257]
49654 * grp/initgroups.c (internal_getgrouplist): When we found the service
49655 list through the initgroups entry in nsswitch.conf do not always
49656 continue on a successful lookup. Don't always use the
eac80ce2 49657 __nss_group_database value if it is set.
7b3b0b2a
UD
49658 * nss/nsswitch.conf (initgroups): Change action for successful db
49659 lookup to continue for compatibility.
49660
2a81eaa5
UD
496612011-05-09 Ulrich Drepper <drepper@gmail.com>
49662
be97a69e
UD
49663 [BZ #11532]
49664 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
49665 and CP774 modules.
49666 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
49667 and CP774 modules.
49668 * iconvdata/tst-tables.sh: Likewise.
49669 * iconvdata/cp770.c: New file.
49670 * iconvdata/cp771.c: New file.
49671 * iconvdata/cp772.c: New file.
49672 * iconvdata/cp773.c: New file.
49673 * iconvdata/cp774.c: New file.
49674 * iconvdata/testdata/CP770: New file.
49675 * iconvdata/testdata/CP770..UTF8: New file.
49676 * iconvdata/testdata/CP771: New file.
49677 * iconvdata/testdata/CP771..UTF8: New file.
49678 * iconvdata/testdata/CP772: New file.
49679 * iconvdata/testdata/CP772..UTF8: New file.
49680 * iconvdata/testdata/CP773: New file.
49681 * iconvdata/testdata/CP773..UTF8: New file.
49682 * iconvdata/testdata/CP774: New file.
49683 * iconvdata/testdata/CP774..UTF8: New file.
49684
49685 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
49686 END CHARMAP line.
49687 * iconvdata/gen-8bit-gap.sh: Likewise.
49688 * iconvdata/gen-8bit.sh: Likewise.
49689
c1e9e399
UD
49690 * locale/iso-639.def: Add ary entry.
49691
24c55fb3 49692 [BZ #11258]
96b4b1b0
UD
49693 * locale/C-translit.h.in: Add U20A1 transliteration.
49694
bdc2f971
KB
49695 [BZ #12178]
49696 * locale/iso-639.def: Add wae entry.
49697 Patch by Kevin Bortis <bortis@translate-wae.ch>.
49698
2952b117
UD
49699 [BZ #12545]
49700 * locale/programs/localedef.c (construct_output_path): Use ssize_t
49701 for n.
49702
2a81eaa5
UD
49703 [BZ #12711]
49704 * locale/C-translit.h.in: Add entry for U20B9.
49705 Patch by pravin.d.s@gmail.com.
49706
28377d1b
UD
497072011-05-08 Ulrich Drepper <drepper@gmail.com>
49708
7fb90fb8
UD
49709 [BZ #12713]
49710 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
49711 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
49712 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
49713 in rtld. Use *stat64.
7fb90fb8 49714 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 49715 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 49716 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
49717 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
49718 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
49719 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
49720 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
49721 __fstatat64 macros.
7fb90fb8
UD
49722 * include/dirent.h: Add libc_hidden_proto for rewinddir.
49723 * dirent/rewinddir.c: Add libc_hidden_def.
49724 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 49725 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 49726
28377d1b
UD
49727 * include/dirent.h (__alloc_dir): Add flags parameter.
49728 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
49729 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
49730 __alloc_dir.
49731 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
49732 from fdopendir if O_CLOEXEC is already set.
49733
66bdbaa4
AM
497342011-03-15 Alan Modra <amodra@gmail.com>
49735
49736 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
49737 l_tls_firstbyte_offset non-zero. Save padding offset in
49738 l_tls_firstbyte_offset for later use.
49739 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
49740 freeing static tls block.
49741
95721191
JN
497422011-03-05 Jonathan Nieder <jrnieder@gmail.com>
49743
49744 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
49745 where #ifdef was intended. The intent is to prevent ARG_MAX from
49746 being defined by the kernel headers.
49747
f87dfb1f
UD
497482011-05-07 Ulrich Drepper <drepper@gmail.com>
49749
49750 [BZ #12734]
49751 * resolv/resolv.h: Define RES_NOTLDQUERY.
49752 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
49753 no-tld-query and set RES_NOTLDQUERY.
49754 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
49755 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
49756 modern BIND to search name as TLD unless forbidden.
49757
47c3cd7a
UD
497582011-05-07 Petr Baudis <pasky@suse.cz>
49759 Ulrich Drepper <drepper@gmail.com>
49760
49761 [BZ #12393]
49762 * elf/dl-load.c (fillin_rpath): Move trusted path check...
49763 (is_trusted_path): ...to here.
c1e9ea35 49764 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 49765 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 49766 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 49767
8a35c912
PP
497682011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
49769
49770 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
49771 __BEGIN/__END_DECLS.
49772
acd41f47
UD
497732011-05-06 Ulrich Drepper <drepper@gmail.com>
49774
49775 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
49776 NSS_STATUS_NOTFOUND if no record was found.
49777
597df647
AS
497782011-05-05 Andreas Schwab <schwab@redhat.com>
49779
49780 * sunrpc/Makefile (headers): Add rpc/netdb.h.
49781 (headers-not-in-tirpc): Remove rpc/netdb.h
49782 * resolv/netdb.h: Revert last change.
49783
b9af1301
PP
497842011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
49785
49786 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
49787 circular dependency between libgcc.a and libc.a.
49788
4e34d5f5
AS
497892011-05-05 Andreas Schwab <schwab@redhat.com>
49790
49791 * resolv/netdb.h: Don't include <rpc/netdb.h>.
49792 * nis/Makefile: Don't install rpcsvc/*.
49793 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
49794 instead of <rpc/types.h>.
49795 (MAXHOSTNAMELEN): Define.
49796
00ee369c
AS
497972011-05-03 Andreas Schwab <schwab@redhat.com>
49798
49799 * elf/ldconfig.c (add_dir): Don't crash on empty path.
49800
0b592a30
MB
498012011-04-28 Maciej Babinski <mbabinski@google.com>
49802
49803 [BZ #12714]
49804 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
49805 gethostbyname4_r when IPv6 results are possible.
49806
6e04cbbe
UD
498072011-05-02 Ulrich Drepper <drepper@gmail.com>
49808
49809 [BZ #12723]
49810 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
49811 _PC_PIPE_BUF handling.
49812
e4ecafe0
BH
498132011-04-30 Bruno Haible <bruno@clisp.org>
49814
49815 [BZ #12717]
49816 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
49817 * resolv/netdb.h (getnameinfo): Change type of flags parameter
49818 to 'int'.
49819 * inet/getnameinfo.c (getnameinfo): Likewise.
49820
125ee683
UD
498212011-04-29 Ulrich Drepper <drepper@gmail.com>
49822
49823 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
49824 to groups setting in database lookup.
49825 * nss/nsswitch.conf: Add initgroups entry.
49826
b722481a
EB
498272011-04-22 Ulrich Drepper <drepper@gmail.com>
49828
49829 [BZ #12685]
49830 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
49831 mode string.
49832 Patch by Eric Blake <eblake@redhat.com>.
49833
4df46dbd
L
498342011-04-20 H.J. Lu <hongjiu.lu@intel.com>
49835
49836 * sunrpc/Makefile (need-export-routines): Add svc_run.
49837 (routines): Remove svc_run.
49838 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
49839 * sunrpc/clnt_perr.c (clnt_perrno): Export.
49840 * sunrpc/svc_run.c (svc_run): Likewise.
49841 * sunrpc/svc_udp.c (svcudp_create): Likewise.
49842
e84142d2
UD
498432011-04-21 Ulrich Drepper <drepper@gmail.com>
49844
49845 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
49846 problem in reallocation in last patch.
49847
877175d8
UD
498482011-04-20 Ulrich Drepper <drepper@gmail.com>
49849
49850 * sunrpc/Makefile: Move inclusion of Rules.
49851
ab8eed78
UD
498522011-04-19 Ulrich Drepper <drepper@gmail.com>
49853
49854 * nss/nss_files/files-initgroups.c: New file.
49855 * nss/Makefile (libnss_files-routines): Add files-initgroups.
49856 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
49857 _nss_files_initgroups_dyn.
49858
e3d8f584
RS
498592011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
49860
49861 * elf/elf.h (R_ARM_IRELATIVE): Define.
49862
af190f45
UD
498632011-04-19 Ulrich Drepper <drepper@gmail.com>
49864
49865 * po/ru.po: Update from translation team.
49866
53cf59ef
UD
498672011-04-17 Ulrich Drepper <drepper@gmail.com>
49868
49869 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
49870 dependencies.
49871
4c559bcd
MF
498722011-02-06 Mike Frysinger <vapier@gentoo.org>
49873
49874 [BZ #12653]
49875 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
49876 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
49877 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
49878 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
49879 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
49880
4420675c
AS
498812011-03-28 Andreas Schwab <schwab@linux-m68k.org>
49882
49883 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
49884 differing bytes.
49885 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
49886 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
49887 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
49888
75ea32ab
UD
498892011-04-17 Ulrich Drepper <drepper@gmail.com>
49890
49891 [BZ #12420]
49892 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
49893 storing it.
49894 * stdlib/bug-getcontext.c: New file.
49895 * stdlib/Makefile: Add rules to build and run bug-getcontext.
49896
27390476
AK
498972011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
49898
49899 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
49900 instructions into .machine "z9-109".
49901 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
49902 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
49903
10442705
AK
499042011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
49905
49906 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
49907 between environment variables and auxiliary vector.
49908
7b57bfe5
UD
499092011-04-16 Ulrich Drepper <drepper@gmail.com>
49910
49911 * Makefile: Add rules to build linkobj/libc.so.
49912 * include/libc-symbols.h: Define libc_hidden_nolink.
49913 * include/rpc/auth.h: Mark functions which are to be hidden.
49914 * include/rpc/auth_des.h: Likewise.
49915 * include/rpc/auth_unix.h: Likewise.
49916 * include/rpc/clnt.h: Likewise.
49917 * include/rpc/des_crypt.h: Likewise.
49918 * include/rpc/key_prot.h: Likewise.
49919 * include/rpc/pmap_clnt.h: Likewise.
49920 * include/rpc/pmap_prot.h: Likewise.
49921 * include/rpc/pmap_rmt.h: Likewise.
49922 * include/rpc/rpc_msg.h: Likewise.
49923 * include/rpc/svc.h: Likewise.
49924 * include/rpc/svc_auth.h: Likewise.
49925 * include/rpc/xdr.h: Likewise.
49926 * nis/Makefile: Link all DSOs against linkobj/libc.so.
49927 * nss/Makefile: Likewise.
49928 * sunrpc/Makefile: Don't install headers. Build library with normal
49929 entry points. Don't build rpcinfo. Link RPC tests appropriately.
49930 * sunrpc/auth_des.c: Hide exported symbols by default, export some
49931 for the compat linking library. Remove use of INTDEF/INTUSE.
49932 * sunrpc/auth_none.c: Likewise.
49933 * sunrpc/auth_unix.c: Likewise.
49934 * sunrpc/authdes_prot.c: Likewise.
49935 * sunrpc/authuxprot.c: Likewise.
49936 * sunrpc/clnt_gen.c: Likewise.
49937 * sunrpc/clnt_perr.c: Likewise.
49938 * sunrpc/clnt_raw.c: Likewise.
49939 * sunrpc/clnt_simp.c: Likewise.
49940 * sunrpc/clnt_tcp.c: Likewise.
49941 * sunrpc/clnt_udp.c: Likewise.
49942 * sunrpc/clnt_unix.c: Likewise.
49943 * sunrpc/des_crypt.c: Likewise.
49944 * sunrpc/des_soft.c: Likewise.
49945 * sunrpc/get_myaddr.c: Likewise.
49946 * sunrpc/key_call.c: Likewise.
49947 * sunrpc/key_prot.c: Likewise.
49948 * sunrpc/netname.c: Likewise.
49949 * sunrpc/pm_getmaps.c: Likewise.
49950 * sunrpc/pm_getport.c: Likewise.
49951 * sunrpc/pmap_clnt.c: Likewise.
49952 * sunrpc/pmap_prot.c: Likewise.
49953 * sunrpc/pmap_prot2.c: Likewise.
49954 * sunrpc/pmap_rmt.c: Likewise.
49955 * sunrpc/publickey.c: Likewise.
49956 * sunrpc/rpc_cmsg.c: Likewise.
49957 * sunrpc/rpc_common.c: Likewise.
49958 * sunrpc/rpc_dtable.c: Likewise.
49959 * sunrpc/rpc_prot.c: Likewise.
49960 * sunrpc/rpc_thread.c: Likewise.
49961 * sunrpc/rtime.c: Likewise.
49962 * sunrpc/svc.c: Likewise.
49963 * sunrpc/svc_auth.c: Likewise.
49964 * sunrpc/svc_authux.c: Likewise.
49965 * sunrpc/svc_raw.c: Likewise.
49966 * sunrpc/svc_run.c: Likewise.
49967 * sunrpc/svc_simple.c: Likewise.
49968 * sunrpc/svc_tcp.c: Likewise.
49969 * sunrpc/svc_udp.c: Likewise.
49970 * sunrpc/svc_unix.c: Likewise.
49971 * sunrpc/svcauth_des.c: Likewise.
49972 * sunrpc/xcrypt.c: Likewise.
49973 * sunrpc/xdr.c: Likewise.
49974 * sunrpc/xdr_array.c: Likewise.
49975 * sunrpc/xdr_float.c: Likewise.
49976 * sunrpc/xdr_intXX_t.c: Likewise.
49977 * sunrpc/xdr_mem.c: Likewise.
49978 * sunrpc/xdr_rec.c: Likewise.
49979 * sunrpc/xdr_ref.c: Likewise.
49980 * sunrpc/xdr_sizeof.c: Likewise.
49981 * sunrpc/xdr_stdio.c: Likewise.
49982
e6c61494
UD
499832011-04-10 Ulrich Drepper <drepper@gmail.com>
49984
49985 [BZ #12650]
49986 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
49987 * sysdeps/ia64/dl-tls.h: Likewise.
49988 * sysdeps/powerpc/dl-tls.h: Likewise.
49989 * sysdeps/s390/dl-tls.h: Likewise.
49990 * sysdeps/sh/dl-tls.h: Likewise.
49991 * sysdeps/sparc/dl-tls.h: Likewise.
49992 * sysdeps/x86_64/dl-tls.h: Likewise.
49993 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
49994
34fe483e
AS
499952011-03-14 Andreas Schwab <schwab@redhat.com>
49996
49997 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
49998 rpath element also skip the following colon.
49999 (expand_dynamic_string_token): Add is_path parameter and pass
50000 down to DL_DST_REQUIRED and _dl_dst_substitute.
50001 (decompose_rpath): Call expand_dynamic_string_token with
50002 non-zero is_path. Ignore empty rpaths.
50003 (_dl_map_object_from_fd): Call expand_dynamic_string_token
50004 with zero is_path.
50005
f12a32e6
AS
500062011-04-08 Andreas Schwab <schwab@linux-m68k.org>
50007
50008 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
50009 Make cancelable.
50010
38a7d692
UD
500112011-04-09 Ulrich Drepper <drepper@gmail.com>
50012
50013 [BZ #12655]
50014 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
50015 Patch by Filipe David Manana <fdmanana@apache.org>.
50016
e451d22b
AS
500172011-04-07 Andreas Schwab <schwab@redhat.com>
50018
50019 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
50020 Maintain aligned stack.
50021 (CHECK_RSP): Remove unused macro.
50022
dedc7c7b
UD
500232011-04-03 Ulrich Drepper <drepper@gmail.com>
50024
50025 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
50026 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
50027
94521213
UD
500282011-04-02 Ulrich Drepper <drepper@gmail.com>
50029
50030 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
50031
8cb700c0 50032 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 50033
0354e355
L
500342011-03-26 H.J. Lu <hongjiu.lu@intel.com>
50035
50036 [BZ #12518]
50037 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
50038 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
50039 * sysdeps/x86_64/memmove.c: New file.
50040 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
50041 (memcpy): Renamed to ...
50042 (__new_memcpy): This.
50043 (memcpy): Provide GLIBC_2_14 memcpy.
50044 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
50045 (memcpy): Provide GLIBC_2_2_5 memcpy.
50046
8593482f
UD
500472011-04-01 Ulrich Drepper <drepper@gmail.com>
50048
50049 [BZ #12631]
50050 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
50051
81a5726b
AS
500522011-03-30 Andreas Schwab <schwab@redhat.com>
50053
50054 * misc/syncfs.c: New file.
50055 * misc/Makefile (routines): Add syncfs.
50056 * posix/unistd.h: Declare syncfs.
50057 * sysdeps/unix/syscalls.list: Add syncfs.
50058
00e5419f
AS
500592011-04-01 Andreas Schwab <schwab@redhat.com>
50060
50061 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
50062 open_by_handle_at.
50063 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
50064 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
50065 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
50066 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
50067 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
50068 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
50069 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
50070
748876bf
UD
500712011-04-01 Ulrich Drepper <drepper@gmail.com>
50072
658e451d
UD
50073 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
50074 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
50075 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
50076 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
50077 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
50078 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
50079 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
50080
748876bf
UD
50081 * io/Makefile: Compile fallocate.c, fallocate64.c, and
50082 sync_file_range.c with -fexceptions.
50083 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
50084 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
50085 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
50086 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
50087 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
50088 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
50089 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
50090 sync_file_range as cancellation point
50091 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
50092 now a wrapper around __call_sync_file_range with cancellation handling.
50093 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
50094 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
50095 function name to __call_sync_file_range.
50096 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
50097 Add call_sync_file_range.
748876bf 50098
6e63d5e1
AS
500992011-04-01 Andreas Schwab <schwab@redhat.com>
50100
50101 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 50102 bits/timex.h.
6e63d5e1 50103
46998f74
UD
501042011-04-01 Ulrich Drepper <drepper@gmail.com>
50105
4c1423ed
UD
50106 * iconv/iconv.h: Fix typo in comment.
50107 * io/fcntl.h: Likewise.
50108 * libio/stdio.h: Likewise.
50109 * posix/spawn.h: Likewise.
50110 * posix/unistd.h: Likewise.
50111 * stdlib/stdlib.h: Likewise.
50112 * time/time.h: Likewise.
50113 * wcsmbs/wchar.h: Likewise.
50114
158648c0
UD
50115 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
50116 open_by_handle): Add.
50117 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
50118 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
50119 Augment a few comments.
50120 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
50121 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
50122 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
50123 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
50124 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
50125 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
50126 open_by_handle.
50127
46998f74
UD
50128 * io/fcntl.h (AT_EMPTY_PATH): Define.
50129
83fe108b
UD
501302011-03-30 Ulrich Drepper <drepper@gmail.com>
50131
50132 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
50133 * sysdeps/unix/sysv/linux/bits/time.h: New file.
50134 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
50135 to...
50136 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
50137 * Versions.def: Add GLIBC_2.14.
50138 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
50139 Export.
83fe108b 50140
bb242059
UD
501412011-03-22 Ulrich Drepper <drepper@gmail.com>
50142
50143 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
50144 round counter.
50145 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
50146
c97a1282
L
501472011-03-20 H.J. Lu <hongjiu.lu@intel.com>
50148
50149 [BZ #12597]
50150 * string/test-strncmp.c (do_page_test): New function.
50151 (check2): Likewise.
50152 (test_main): Call check2.
50153 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
50154
2a115601
UD
501552011-03-20 Ulrich Drepper <drepper@gmail.com>
50156
50157 [BZ #12587]
50158 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
50159 Handle cache information in CPU leaf 4.
50160 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
50161
8126d904
UD
501622011-03-18 Ulrich Drepper <drepper@gmail.com>
50163
042c49c6 50164 [BZ #12583]
8126d904
UD
50165 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
50166 character representation.
50167 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
50168
ccfe366e
RA
501692011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
50170
50171 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
50172 END(__isnan) to END(__isnanf) to match function entry point/label
50173 EALIGN(__isnanf,...).
50174
c6e13027
JJ
501752011-03-10 Jakub Jelinek <jakub@redhat.com>
50176
50177 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
50178
33f85a3f
UD
501792011-03-10 Ulrich Drepper <drepper@gmail.com>
50180
028478fa
UD
50181 [BZ #12510]
50182 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
50183 copy from the symbol referenced in the relocation to initialize the
50184 used variable.
50185 Patch by Piotr Bury <pbury@goahead.com>.
50186 * elf/Makefile: Add rules to build and tst-unique3.
50187 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
50188 * elf/tst-unique3.cc: New file.
50189 * elf/tst-unique3.h: New file.
50190 * elf/tst-unique3lib.cc: New file.
50191 * elf/tst-unique3lib2.cc: New file.
50192
33f85a3f
UD
50193 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
50194
03592fc7
MF
501952011-03-10 Mike Frysinger <vapier@gentoo.org>
50196
50197 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
50198 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
50199 to _start.
03592fc7 50200
6a5ee102
UD
502012011-03-06 Ulrich Drepper <drepper@gmail.com>
50202
50203 * elf/dl-load.c (_dl_map_object): If we are looking for the first
50204 to-be-loaded object along a path to loader is ld.so.
50205
7e4ba49c
HJ
502062011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
50207 Ulrich Drepper <drepper@gmail.com>
50208
50209 * sysdeps/x86_64/memset.S: After aligning destination, code
50210 branches to different locations depending on the value of
50211 misalignment, when multiarch is enabled. Fix this.
50212
502132011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
50214
50215 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
50216 Set _x86_64_preferred_memory_instruction for AMD processsors.
50217 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
50218 Set bit_Prefer_SSE_for_memop for AMD processors.
50219
13a804de
UD
502202011-03-04 Ulrich Drepper <drepper@gmail.com>
50221
50222 * libio/fmemopen.c (fmemopen): Optimize a bit.
50223
9d25c392
AS
502242011-03-03 Andreas Schwab <schwab@redhat.com>
50225
50226 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
50227
a5543c6a
RM
502282011-03-03 Roland McGrath <roland@redhat.com>
50229
50230 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
50231
012d35f7
DM
502322011-02-28 Aurelien Jarno <aurelien@aurel32.net>
50233
7e4ba49c 50234 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
50235 __bzero_ultra1 instead of __memset_ultra1.
50236
4bff6e01
AS
502372011-02-23 Andreas Schwab <schwab@redhat.com>
50238 Ulrich Drepper <drepper@gmail.com>
50239
50240 [BZ #12509]
50241 * include/link.h (struct link_map): Add l_orig_initfini.
50242 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
50243 returning unsuccessfully.
50244 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
50245 close of a file loaded at startup, restore the original l_initfini
50246 list.
50247 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
50248 list, store the pointer.
50249 * elf/Makefile ($(objpfx)noload-mem): New rule.
50250 (noload-ENV): Define.
50251 (tests): Add $(objpfx)noload-mem.
50252 * elf/noload.c: Include <memcheck.h>.
50253 (main): Call mtrace. Close all opened handles.
50254
f2092faf
AS
502552011-02-17 Andreas Schwab <schwab@redhat.com>
50256
50257 [BZ #12454]
50258 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
50259 dependencies are missing.
50260
6c8a2e88
ST
502612011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
50262
f2092faf 50263 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
50264 Hurd needs munmap.
50265 * sysdeps/mach/hurd/ifreq.h: New file.
50266
84a42118
PB
502672011-01-27 Petr Baudis <pasky@suse.cz>
50268 Ulrich Drepper <drepper@gmail.com>
50269
071f805e 50270 [BZ 12445]#
84a42118
PB
50271 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
50272 to extend_alloca().
50273 * stdio-common/bug23.c: New file.
50274 * stdio-common/Makefile (tests): Add bug23.
50275
e23fe25b
AS
502762010-09-28 Andreas Schwab <schwab@redhat.com>
50277 Ulrich Drepper <drepper@gmail.com>
50278
50279 [BZ #12489]
50280 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
50281 before performing relro protection. At old place add assertion
50282 to make sure nothing changed.
50283
d3f02e10
NS
502842011-02-17 Nathan Sidwell <nathan@codesourcery.com>
50285 Glauber de Oliveira Costa <glommer@gmail.com>
50286
50287 * elf/elf.h: Add new ARM TLS relocs.
50288
d55fd7a5
RA
502892011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
50290
50291 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
50292 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
50293 cast from r3.
50294 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
50295 'tests' variable.
50296 * sysdeps/wordsize-64/tst-writev.c: New file.
50297
2206397e
RA
502982011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
50299
50300 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
50301 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
50302 insns in _dl_start to prevent a TOC reference before relocs are
50303 resolved.
50304
e9433893
UD
503052011-02-15 Ulrich Drepper <drepper@gmail.com>
50306
50307 [BZ #12469]
50308 * Makeconfig: Remove RANLIB definition.
50309 * Makerules: Don't use RANLIB.
50310 * aclocal.m4: Remove ranlib test.
50311 * configure.in: No need to check for ranlib.
50312 * elf/rtld-Rules: Don't use RANLIB.
50313
f75286c6
ST
503142011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
50315
8e31c82d
ST
50316 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
50317 protection macro.
50318 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
50319 inclusion protection macro.
50320
f75286c6
ST
50321 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
50322 SIGRTMIN and SIGRTMAX and print information in that case only when
50323 SIGRTMIN is defined.
50324
c1d0e639
JJ
503252011-02-11 Jakub Jelinek <jakub@redhat.com>
50326
50327 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
50328 arginfo fn returning -1.
50329
50330 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
50331 and thousands string is zero terminated.
50332
edf9294e
AS
503332011-02-03 Andreas Schwab <schwab@redhat.com>
50334
50335 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
50336 sysdeps/unix/sysv/linux/bits/socket.h.
50337
2b7e92df
ST
503382011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
50339
edf9294e
AS
50340 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
50341 (__CPU_COUNT): Remove old macros.
50342 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
50343 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
50344 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
50345 (__sched_cpualloc, __sched_cpufree): Add declarations.
50346
a4c7ea7b
UD
503472011-02-05 Ulrich Drepper <drepper@gmail.com>
50348
50349 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
50350 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
50351 * nscd/aicache.c (addhstaiX): Return timeout of added value.
50352 (readdhstai): Return value of addhstaiX call.
50353 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
50354 (addgrbyX): Return value returned by cache_addgr.
50355 (readdgrbyname): Return value returned by addgrbyX.
50356 (readdgrbygid): Likewise.
50357 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
50358 (addpwbyX): Return value returned by cache_addpw.
50359 (readdpwbyname): Return value returned by addhstbyX.
50360 (readdpwbyuid): Likewise.
50361 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
50362 (addservbyX): Return value returned by cache_addserv.
50363 (readdservbyname): Return value returned by addservbyX:
50364 (readdservbyport): Likewise.
50365 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
50366 (addhstbyX): Return value returned by cache_addhst.
50367 (readdhstbyname): Return value returned by addhstbyX.
50368 (readdhstbyaddr): Likewise.
50369 (readdhstbynamev6): Likewise.
50370 (readdhstbyaddrv6): Likewise.
50371 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
50372 (readdinitgroups): Return value returned by addinitgroupsX.
50373 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
50374 (prune_cache): Keep track of timeout value of re-added entries.
50375 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
50376 * nscd/nscd.h: Adjust prototypes of readd* functions.
50377
a0bf67cc
RM
503782011-02-04 Roland McGrath <roland@redhat.com>
50379
50380 * nis/nis_server.c (nis_servstate): Use the right name for 0.
50381 (nis_stats): Likewise.
50382 * nis/nis_modify.c (nis_modify): Likewise.
50383 * nis/nis_remove.c (nis_remove): Likewise.
50384 * nis/nis_add.c (nis_add): Likewise.
50385
50386 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
50387
50388 * posix/fnmatch_loop.c: Add some consts.
50389
50390 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
50391
435b95eb
L
503922011-02-02 H.J. Lu <hongjiu.lu@intel.com>
50393
50394 [BZ #12460]
50395 * config.make.in (config-cflags-novzeroupper): Define.
50396 * configure.in: Substitute libc_cv_cc_novzeroupper.
50397 * elf/Makefile (AVX-CFLAGS): Define.
50398 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
50399 (CFLAGS-tst-auditmod4a.c): Likewise.
50400 (CFLAGS-tst-auditmod4b.c): Likewise.
50401 (CFLAGS-tst-auditmod6b.c): Likewise.
50402 (CFLAGS-tst-auditmod6c.c): Likewise.
50403 (CFLAGS-tst-auditmod7b.c): Likewise.
50404 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
50405
8517b15e
UD
504062011-02-02 Ulrich Drepper <drepper@gmail.com>
50407
50408 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
50409 function to the callback.
50410 Patch partly by Jiri Olsa <jolsa@redhat.com>.
50411
10a656fe
AS
504122011-02-02 Andreas Schwab <schwab@redhat.com>
50413
50414 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
50415 of errno.
50416
968dad0a
UD
504172011-01-19 Ulrich Drepper <drepper@gmail.com>
50418
9f94d2ea 50419 [BZ #11724]
968dad0a
UD
50420 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
50421 of constructors.
50422 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
50423 of destructors.
50424 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
50425
50426 [BZ #11724]
50427 * elf/Makefile: Add rules to build and run new test.
50428 * elf/tst-initorder.c: New file.
50429 * elf/tst-initorder.exp: New file.
50430 * elf/tst-initordera1.c: New file.
50431 * elf/tst-initordera2.c: New file.
50432 * elf/tst-initordera3.c: New file.
50433 * elf/tst-initordera4.c: New file.
50434 * elf/tst-initorderb1.c: New file.
50435 * elf/tst-initorderb2.c: New file.
50436 * elf/tst-order-a1.c: New file.
50437 * elf/tst-order-a2.c: New file.
50438 * elf/tst-order-a3.c: New file.
50439 * elf/tst-order-a4.c: New file.
50440 * elf/tst-order-b1.c: New file.
50441 * elf/tst-order-b2.c: New file.
50442 * elf/tst-order-main.c: New file.
50443 New test case by George Gensure <werkt0@gmail.com>.
50444
86e92359
UD
504452010-10-01 Andreas Schwab <schwab@redhat.com>
50446
50447 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
50448 decoding ACE if AI_CANONIDN.
50449
5d5732b0
UD
504502011-01-18 Ulrich Drepper <drepper@gmail.com>
50451
50452 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
50453
a77e8cbc
UD
504542011-01-17 Ulrich Drepper <drepper@gmail.com>
50455
6392473f
UD
50456 * version.h (RELEASE): Bump for 2.13 release.
50457 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
50458
620a0529
UD
50459 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
50460
18ba70a5
UD
50461 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
50462 MADV_NOHUGEPAGE.
32465c3e
UD
50463 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
50464 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
50465 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
50466 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
50467 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
50468 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
50469
c0dafcf1
UD
50470 * posix/getconf.c: Update copyright year.
50471 * catgets/gencat.c: Likewise.
50472 * csu/version.c: Likewise.
50473 * debug/catchsegv.sh: Likewise.
50474 * debug/xtrace.sh: Likewise.
50475 * elf/ldconfig.c: Likewise.
50476 * elf/ldd.bash.in: Likewise.
50477 * elf/sprof.c (print_version): Likewise.
50478 * iconv/iconv_prog.c: Likewise.
50479 * iconv/iconvconfig.c: Likewise.
50480 * locale/programs/locale.c: Likewise.
50481 * locale/programs/localedef.c: Likewise.
50482 * malloc/memusage.sh: Likewise.
50483 * malloc/mtrace.pl: Likewise.
50484 * nscd/nscd.c (print_version): Likewise.
50485 * nss/getent.c: Likewise.
50486
a77e8cbc
UD
50487 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
50488 PF_CAIF, and PF_ALG.
50489 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
50490
77e8bddf
AS
504912011-01-16 Andreas Schwab <schwab@linux-m68k.org>
50492
1f20b93a
AS
50493 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
50494 (modules-names): Use them.
50495 (ifunc-test-modules, ifunc-pie-tests): Define.
50496 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
50497 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
50498 (test-extras): Likewise.
50499 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
50500 $(compile-command.c).
50501 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
50502 (all-built-dso): Define.
50503 (check-textrel.out, check-execstack.out): Depend on it.
50504
77e8bddf
AS
50505 * configure.in: Don't override --enable-multi-arch.
50506
bc425b33
UD
505072011-01-15 Ulrich Drepper <drepper@gmail.com>
50508
50509 [BZ #6812]
50510 * nscd/hstcache.c (tryagain): Define.
50511 (cache_addhst): Return tryagain not notfound for temporary errors.
50512 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
50513 failed.
50514
794c3ad3
UD
505152011-01-14 Ulrich Drepper <drepper@gmail.com>
50516
70181fdd
UD
50517 [BZ #10563]
50518 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
50519 to make the syscall.
50520 * sysdeps/unix/sysv/linux/setgroups.c: New file.
50521
794c3ad3
UD
50522 [BZ #12378]
50523 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
50524 and fall back to matching as normal character if the string ends before
50525 the matching ']' is found. This is what POSIX requires.
50526 * posix/testfnm.c: Adjust test result.
50527 * posix/globtest.sh: Adjust test result. Add new test.
50528 * posix/tst-fnmatch.input: Likewise.
50529 * posix/tst-fnmatch2.c: Add new test.
50530
68dc9497
AS
505312010-12-28 Andreas Schwab <schwab@linux-m68k.org>
50532
50533 * elf/Makefile (check-execstack): Revert last change. Depend on
50534 check-execstack.h.
50535 (check-execstack.h): New target.
50536 (generated): Add check-execstack.h.
50537 * elf/check-execstack.c: Include "check-execstack.h".
50538 (main): Revert last change.
50539 (handle_file): Return zero if GNU_STACK is absent and
50540 DEFAULT_STACK_PERMS doesn't include PF_X.
50541
451f001b
UD
505422011-01-13 Ulrich Drepper <drepper@gmail.com>
50543
cfa28e56
UD
50544 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
50545 in child fails because the descriptor is already closed.
8cf8ce17
UD
50546 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
50547 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
50548 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 50549
1086d70d
UD
50550 [BZ #12397]
50551 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
50552 syscall.
50553
451f001b
UD
50554 [BZ #10484]
50555 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
50556 temporary buffer used to handle multi lookups locally.
a85b5cb4 50557 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 50558
08769175
UD
505592011-01-12 Ulrich Drepper <drepper@gmail.com>
50560
50561 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
50562 loader is ld.so.
50563
5e49c52e
UD
505642011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
50565
50566 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
50567 alignment for SSE2.
50568
60522a5f
UD
505692011-01-12 Ulrich Drepper <drepper@gmail.com>
50570
50571 [BZ #12394]
50572 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
50573 characters. When rounding increased number of integer digits recompute
50574 number of groups.
50575 * stdio-common/tst-grouping.c: New file.
50576 * stdio-common/Makefile: Add rules to build and run tst-grouping.
50577
f257bbd7
UD
505782011-01-09 Ulrich Drepper <drepper@gmail.com>
50579
50580 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
50581 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
50582
50583 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
50584 void.
50585 * bits/select.h: Likewise.
50586
fa9c15cb
UD
505872011-01-08 Ulrich Drepper <drepper@gmail.com>
50588
50589 * po/ja.po: Update from translation team.
50590
16c2895f
DM
505912011-01-04 David S. Miller <davem@sunset.davemloft.net>
50592
50593 [BZ #11155]
50594 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
50595 implementation just like for lxstat, fxstatat, et al.
50596
2543fef2
JM
505972010-12-27 Jim Meyering <meyering@redhat.com>
50598
50599 [BZ #12348]
50600 * posix/regexec.c (build_trtable): Return failure indication upon
50601 calloc failure. Otherwise, re_search_internal could infloop on OOM.
50602
98727dbe
UD
506032010-12-25 Ulrich Drepper <drepper@gmail.com>
50604
5bd6dc5c
UD
50605 [BZ #12201]
50606 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
50607 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
50608 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
50609 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
50610
97983464
UD
50611 [BZ #12207]
50612 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
50613
98727dbe
UD
50614 [BZ #12204]
50615 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
50616 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
50617
4a531bb0
L
506182010-12-15 H.J. Lu <hongjiu.lu@intel.com>
50619
50620 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
50621 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
50622 script has SORT_BY_INIT_PRIORITY.
50623 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
50624 NO_CTORS_DTORS_SECTIONS is defined.
50625 * elf/soinit.c: Likewise.
50626 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
50627 NO_CTORS_DTORS_SECTIONS is defined.
50628 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
50629 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
50630 * sysdeps/sh/init-first.c: Likewise.
50631 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
50632
07eb4b71
UD
506332010-12-24 Ulrich Drepper <drepper@gmail.com>
50634
50635 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
50636 always use the slow path.
50637
30950a5f
RA
506382010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
50639
50640 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
50641 similar rule which adds the sysdep directories to the header search in
50642 order to pick up the correct platform stackinfo.h.
50643 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
50644 perform test if it is, otherwise return successfully without testing.
50645 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
50646 DEFAULT_STACK_PERMS define in stackinfo.h.
50647 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
50648 defined in stackinfo.h.
50649 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
50650 DEFAULT_STACK_PERMS defined in stackinfo.h.
50651 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
50652 * sysdeps/ia64/stackinfo.h: Likewise.
50653 * sysdeps/s390/stackinfo.h: Likewise.
50654 * sysdeps/sh/stackinfo.h: Likewise.
50655 * sysdeps/sparc/stackinfo.h: Likewise.
50656 * sysdeps/x86_64/stackinfo.h: Likewise.
50657 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
50658 PF_X for powerpc64. Retain PF_X for powerpc32.
50659
db753e2c
UD
506602010-12-19 Ulrich Drepper <drepper@gmail.com>
50661
14b697f7
UD
50662 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
50663 accurately.
db753e2c
UD
50664 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
50665 GETDENTS_64BIT_ALIGNED.
50666
28300719
UD
506672010-12-14 Ulrich Drepper <dreper@gmail.com>
50668
14b697f7 50669 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 50670
4f197237
AS
506712010-12-10 Andreas Schwab <schwab@redhat.com>
50672
dbb0472f
AS
50673 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
50674 _GNU_SOURCE.
50675
4f197237
AS
50676 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
50677 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
50678 Remove __restrict.
50679 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
50680 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
50681
fb88ac72
UD
506822010-12-09 Ulrich Drepper <drepper@gmail.com>
50683
50684 [BZ #11655]
50685 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
50686 are initialized.
50687
42acbb92
JJ
506882010-12-09 Jakub Jelinek <jakub@redhat.com>
50689
50690 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
50691
c038d98d
UD
506922010-12-03 Ulrich Drepper <drepper@gmail.com>
50693
50694 * po/it.po: Update from translation team.
50695
3a4a2499
L
506962010-12-01 H.J. Lu <hongjiu.lu@intel.com>
50697
50698 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
50699 unused codes.
50700
1e24cf6e
UD
507012010-11-30 Ulrich Drepper <drepper@gmail.com>
50702
50703 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
50704
a7690819
AS
507052010-11-24 Andreas Schwab <schwab@redhat.com>
50706
50707 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
50708 specially.
50709 (gaih_getanswer_slice): Likewise.
50710
3bf8d1b1
JJ
507112010-10-20 Jakub Jelinek <jakub@redhat.com>
50712
50713 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
50714
6db52fbb
PB
507152010-05-31 Petr Baudis <pasky@suse.cz>
50716
50717 [BZ #11149]
50718 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
50719 silently even in the chroot mode.
50720
eaca7569
UD
507212010-11-22 Ulrich Drepper <drepper@gmail.com>
50722
50723 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
50724 last patch a bit. Pretty printing
50725
3056dcdb
UD
507262010-05-31 Petr Baudis <pasky@suse.cz>
50727
50728 [BZ #10085]
50729 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
50730 initialization of skip_initgroups_dyn.
50731
cf7c9078
UD
507322010-11-19 Ulrich Drepper <drepper@gmail.com>
50733
50734 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
50735 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
50736
a1fb5e3e
UD
507372010-11-16 Ulrich Drepper <drepper@gmail.com>
50738
50739 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
50740
3540d66b
AS
507412010-11-11 Andreas Schwab <schwab@redhat.com>
50742
50743 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
50744 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
50745 (tst-fnmatch-ENV): Set MALLOC_TRACE.
50746 ($(objpfx)tst-fnmatch-mem): New rule.
50747 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
50748 * posix/tst-fnmatch.c (main): Call mtrace.
50749
13b69574
L
507502010-11-11 H.J. Lu <hongjiu.lu@intel.com>
50751
50752 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
50753 Support Intel processor model 6 and model 0x2c.
50754
da93d214
LM
507552010-11-10 Luis Machado <luisgpm@br.ibm.com>
50756
50757 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
50758 signed comparison.
50759
8ca52c6e
L
507602010-11-09 H.J. Lu <hongjiu.lu@intel.com>
50761
50762 [BZ #12205]
50763 * string/test-strncasecmp.c (check_result): New function.
50764 (do_one_test): Use it.
50765 (check1): New function.
50766 (test_main): Use it.
50767 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
50768 Support strcasecmp and strncasecmp.
50769
69da074d
UD
507702010-11-08 Ulrich Drepper <drepper@gmail.com>
50771
50772 [BZ #12194]
50773 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
50774 * sysdeps/x86_64/bits/byteswap.h: Likewise.
50775
ff02d528
L
507762010-11-07 H.J. Lu <hongjiu.lu@intel.com>
50777
50778 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
50779 IFUNC support.
50780 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
50781 memset-x86-64.
50782 * sysdeps/x86_64/multiarch/bzero.S: New file.
50783 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
50784 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
50785 * sysdeps/x86_64/multiarch/memset.S: New file.
50786 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
50787 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
50788 Set bit_Prefer_SSE_for_memop for Intel processors.
50789 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
50790 Define.
50791 (index_Prefer_SSE_for_memop): Define.
50792 (HAS_PREFER_SSE_FOR_MEMOP): Define.
50793
344d0b54
LM
507942010-11-04 Luis Machado <luisgpm@br.ibm.com>
50795
50796 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
50797 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
50798
c0dde15b
UD
507992010-11-03 H.J. Lu <hongjiu.lu@intel.com>
50800
50801 [BZ #12191]
50802 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
50803 (__x86_64_raw_data_cache_size_half): Likewise.
50804 (__x86_64_raw_shared_cache_size): Likewise.
50805 (__x86_64_raw_shared_cache_size_half): Likewise.
50806
50807 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
50808 (__x86_64_raw_data_cache_size_half): Likewise.
50809 (__x86_64_raw_shared_cache_size): Likewise.
50810 (__x86_64_raw_shared_cache_size_half): Likewise.
50811 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
50812 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
50813 and __x86_64_raw_shared_cache_size_half. Round
50814 __x86_64_data_cache_size_half, __x86_64_data_cache_size
50815 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
50816 to multiple of 256 bytes.
50817
0e516e0e
MS
508182010-11-03 Ulrich Drepper <drepper@gmail.com>
50819
50820 [BZ #12167]
50821 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
50822 of inacessible symlinks. Verify result of symlink before returning it.
50823 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
50824 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
50825
0e012e87
ER
508262010-10-28 Erich Ritz <erichritz@gmail.com>
50827
50828 * math/math.h (isinf): Fix typo in comment.
50829
de0ff7bc
UD
508302010-11-01 Ulrich Drepper <drepper@gmail.com>
50831
50832 * po/da.po: Update from translation team.
50833
fa41c84d
UD
508342010-10-26 Ulrich Drepper <drepper@gmail.com>
50835
50836 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
50837 is added to the list.
50838
f0967738
AK
508392010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
50840 Ulrich Drepper <drepper@gmail.com>
50841
50842 * elf/dl-object.c (_dl_new_object): Don't append the new object to
50843 the global list here. Move code to...
50844 (_dl_add_to_namespace_list): ...here. New function.
50845 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
50846 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
50847 * elf/dl-load.c (lose): Don't remove the element from the list.
50848 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
50849 (_dl_map_object): Likewise.
50850
508512010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
50852
50853 [BZ #12159]
50854 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
50855 into all bytes of SSE register.
50856 Patch by Richard Li <richardpku@gmail.com>.
50857
f0967738 508582010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
50859
50860 [BZ #12140]
50861 * malloc/malloc.c (_int_free): Fill correct number of bytes when
50862 perturbing.
50863
d0b9e94f
MB
508642010-10-20 Michael B. Brutman <brutman@us.ibm.com>
50865
50866 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
50867 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
50868 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
50869 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
50870 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
50871 submachine.
50872 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
50873
8e9f92e9
AS
508742010-10-22 Andreas Schwab <schwab@redhat.com>
50875
50876 * include/dlfcn.h (__RTLD_SECURE): Define.
50877 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
50878 mode & __RTLD_SECURE instead.
50879 (open_path): Rename preloaded parameter to secure.
50880 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
50881 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
50882 * elf/dl-deps.c (openaux): Likewise.
50883 * elf/rtld.c (struct map_args): Remove is_preloaded.
50884 (map_doit): Don't use it.
50885 (dl_main): Likewise.
50886 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
50887 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
50888
bc96fbda
AS
508892010-09-09 Andreas Schwab <schwab@redhat.com>
50890
50891 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
50892 (sysd-rules-targets): Remove duplicates.
50893 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
50894 rtld-%.$o dependency.
50895
22cd1c9b
AS
508962010-10-18 Andreas Schwab <schwab@redhat.com>
50897
50898 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
50899 _dl_map_object do it.
50900
18edac48
UD
509012010-10-19 Ulrich Drepper <drepper@gmail.com>
50902
50903 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
50904 fast fma builtins, define the macros in the C99 standard.
50905 (FP_FAST_FMAF): Likewise.
50906 (FP_FAST_FMAL): Likewise.
50907 * sysdeps/x86_64/bits/mathdef.h: Likewise.
50908
50909 * bits/mathdef.h: Update copyright year.
50910 * sysdeps/powerpc/bits/mathdef.h: Likewise.
50911
d2050124
MM
509122010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
50913
50914 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
50915 builtins, define the macros in the C99 standard.
50916 (FP_FAST_FMAF): Likewise.
50917 (FP_FAST_FMAL): Likewise.
50918 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
50919 multiply/add.
50920 (FP_FAST_FMAF): Likewise.
50921
475facd1
JJ
509222010-10-15 Jakub Jelinek <jakub@redhat.com>
50923
50924 [BZ #3268]
50925 * math/libm-test.inc (fma_test): Some new testcases.
50926 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
50927 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
50928 y and infinite z. Do multiplication by C already in long double.
50929 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
50930 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
50931 y and infinite z. Do bitwise or of inexact bit into u.d.
50932 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
50933 * sysdeps/i386/fpu/s_fmaf.S: Removed.
50934 * sysdeps/i386/fpu/s_fma.S: Removed.
50935 * sysdeps/i386/fpu/s_fmal.S: Removed.
50936
7c08a05c
JJ
509372010-10-16 Jakub Jelinek <jakub@redhat.com>
50938
50939 [BZ #3268]
50940 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
50941 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
50942 computation is not scheduled after fetestexcept. Fix value
50943 of minimum denormal long double.
50944
f3f7372d
JJ
509452010-10-14 Jakub Jelinek <jakub@redhat.com>
50946
50947 [BZ #3268]
50948 * math/libm-test.inc (fma_test): Add some more tests.
50949 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
50950 correctly.
50951
14d43591
AS
509522010-10-15 Andreas Schwab <schwab@redhat.com>
50953
50954 * scripts/data/localplt-s390-linux-gnu.data: New file.
50955 * scripts/data/localplt-s390x-linux-gnu.data: New file.
50956
5e908464
JJ
509572010-10-13 Jakub Jelinek <jakub@redhat.com>
50958
50959 [BZ #3268]
50960 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
50961 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
50962 instead of dbl-64.
50963 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
50964 inlines.
50965 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
50966 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
50967 if one of x and y is very large and the other is subnormal.
50968 * sysdeps/s390/fpu/s_fmaf.c: New file.
50969 * sysdeps/s390/fpu/s_fma.c: New file.
50970 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
50971 * sysdeps/powerpc/fpu/s_fma.S: New file.
50972 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
50973 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
50974 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
50975
509762010-10-12 Jakub Jelinek <jakub@redhat.com>
50977
50978 [BZ #3268]
50979 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
50980 fma tests.
50981 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
50982 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
50983 * sysdeps/i386/i686/multiarch/s_fma.c: Include
50984 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
50985 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
50986 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
50987 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
50988
b833d51f
UD
509892010-10-12 Ulrich Drepper <drepper@redhat.com>
50990
50991 [BZ #12078]
50992 * posix/regcomp.c (parse_branch): One more memory leak plugged.
50993 * posix/bug-regex31.input: Add test case.
50994
1751705d
UD
509952010-10-11 Ulrich Drepper <drepper@gmail.com>
50996
e9b9cbf5
UD
50997 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
50998 * posix/bug-regex31.input: New file.
50999
51000 [BZ #12078]
51001 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
51002 (parse_sub_exp): Fix last change, use postorder.
51003
ef06edbe
UD
51004 * posix/bug-regex31.c: New file.
51005 * posix/Makefile: Add rules to build and run bug-regex31.
51006
a129c80d
UD
51007 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
51008
51009 [BZ #12078]
51010 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
51011
b76b818e
UD
51012 [BZ #12108]
51013 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
51014 to have entries in sys_siglist.
51015
1751705d
UD
51016 [BZ #12093]
51017 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
51018 be NULL.
51019
9ff8d36f
JJ
510202010-10-07 Jakub Jelinek <jakub@redhat.com>
51021
51022 [BZ #3268]
51023 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
51024 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
51025 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
51026 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
51027 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
51028 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
51029 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
51030 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
51031 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
51032 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
51033 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
51034 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
51035 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
51036 * math/ftestexcept.c (fetestexcept): Likewise.
51037 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
51038 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
51039 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
51040 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
51041 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
51042 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
51043 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
51044
af325969
UD
510452010-10-11 Ulrich Drepper <drepper@gmail.com>
51046
c579b202 51047 [BZ #12107]
af325969
UD
51048 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
51049 newline.
51050
67a67b95
UD
510512010-10-06 Ulrich Drepper <drepper@gmail.com>
51052
51053 * string/bug-strstr1.c: New file.
51054 * string/Makefile: Add rules to build and run bug-strstr1.
51055
5fb308bc
EB
510562010-10-05 Eric Blake <eblake@redhat.com>
51057
51058 [BZ #12092]
51059 * string/str-two-way.h (two_way_long_needle): Always clear memory
51060 when skipping input due to the shift table.
51061
45db99c7
UD
510622010-10-03 Ulrich Drepper <drepper@gmail.com>
51063
3b111893
UD
51064 [BZ #12005]
51065 * malloc/mcheck.c: Handle large requests.
51066
45db99c7
UD
51067 [BZ #12077]
51068 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
51069 for strncmp and strncasecmp.
51070 * string/stratcliff.c: Add tests for strcmp and strncmp.
51071 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
51072
cf7a1eb8
NI
510732010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
51074
51075 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
51076 __set_fpscr.
51077
6484ba5e
AJ
510782010-09-30 Andreas Jaeger <aj@suse.de>
51079
51080 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
51081 (CGROUP_SUPER_MAGIC): Define.
51082 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
51083 Handle btrfs and cgroup file systems.
51084 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
51085 Likewise.
51086
91c42559
LM
510872010-09-27 Luis Machado <luisgpm@br.ibm.com>
51088
51089 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
51090 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
51091
87a97932
AK
510922010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
51093
51094 [BZ #12067]
51095 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
51096 trying to locate the ELF header.
51097
c21cc9bc
AS
510982010-09-27 Andreas Schwab <schwab@redhat.com>
51099
51100 [BZ #11611]
51101 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
51102 Mask out sign-bit copies when constructing f_fsid.
51103
315970f6
PB
511042010-09-24 Petr Baudis <pasky@suse.cz>
51105
51106 * debug/stack_chk_fail_local.c: Add missing licence exception.
51107 * debug/warning-nop.c: Likewise.
51108
1ac7a2c7
JM
511092010-09-15 Joseph Myers <joseph@codesourcery.com>
51110
51111 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
51112 implementing getdents64 using getdents syscall, set d_type if
51113 __ASSUME_GETDENTS32_D_TYPE.
51114
56801c50
AS
511152010-09-16 Andreas Schwab <schwab@redhat.com>
51116
51117 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
51118 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
51119
dda51327
UD
511202010-09-21 Ulrich Drepper <drepper@redhat.com>
51121
51122 [BZ #12037]
51123 * posix/unistd.h: Undo change of feature selection for ftruncate from
51124 2010-01-11.
51125
8ffcee4a
UD
511262010-09-20 Ulrich Drepper <drepper@redhat.com>
51127
a545ecd9 51128 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
51129 detection.
51130
e24f0a8b
AS
511312010-09-20 Andreas Schwab <schwab@redhat.com>
51132
51133 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
51134 fanotify_mark.
51135 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
51136
7291c56f
AS
511372010-09-14 Andreas Schwab <schwab@redhat.com>
51138
51139 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
51140 variables after CHECK_SP call.
51141 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
51142
bc5fb037
AS
511432010-09-13 Andreas Schwab <schwab@redhat.com>
51144 Ulrich Drepper <drepper@redhat.com>
51145
51146 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
51147 re-relocationg ld.so.
51148 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
51149 _dl_init_paths call.
51150 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
51151 here anymore.
51152
e66e7419
UD
511532010-09-14 Ulrich Drepper <drepper@redhat.com>
51154
51155 * resolv/res_init.c (__res_vinit): Count the default server we added.
51156
c044aa75
CLT
511572010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
51158 Ulrich Drepper <drepper@redhat.com>
51159
51160 [BZ #11968]
51161 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
51162 (____longjmp_chk): Use %ebx for saving value across system call.
51163 Add unwind info.
51164
32cf4069
AS
511652010-09-06 Andreas Schwab <schwab@redhat.com>
51166
51167 * manual/Makefile: Don't mix pattern rules with normal rules.
51168
817328ee
AS
511692010-09-05 Andreas Schwab <schwab@linux-m68k.org>
51170
51171 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
51172 operation.
51173 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
51174 * libio/iofopncook.c (_IO_cookie_init): Likewise.
51175 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
51176 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
51177 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
51178 Likewise.
51179
29fddf61
UD
511802010-09-04 Ulrich Drepper <drepper@redhat.com>
51181
51182 [BZ #11979]
51183 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
51184 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
51185
0959ffc9
UD
511862010-09-02 Ulrich Drepper <drepper@redhat.com>
51187
51188 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
51189 * sysdeps/x86_64/addmul_1.S: Likewise.
51190 * sysdeps/x86_64/lshift.S: Likewise.
51191 * sysdeps/x86_64/mul_1.S: Likewise.
51192 * sysdeps/x86_64/rshift.S: Likewise.
51193 * sysdeps/x86_64/sub_n.S: Likewise.
51194 * sysdeps/x86_64/submul_1.S: Likewise.
51195
ece29840
ST
511962010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
51197
0959ffc9
UD
51198 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
51199 Define __sched_param instead of SCHED_* and sched_param when
ece29840 51200 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 51201 * bits/sched.h [__need_schedparam]
ece29840 51202 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
51203 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
51204 (__defined_schedparam): Define to 1.
ece29840
ST
51205 (__sched_param): New structure, identical to sched_param.
51206 (__need_schedparam): Undefine.
51207
e53a31fe
MF
512082010-08-31 Mike Frysinger <vapier@gentoo.org>
51209
fdc0c10d
MF
51210 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
51211 (epoll_create1): Declare.
51212
e53a31fe
MF
51213 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
51214
a726d796
AS
512152010-08-31 Andreas Schwab <schwab@redhat.com>
51216
51217 [BZ #7066]
51218 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
51219 shifting retval into place.
51220
2f3e3dc7
UD
512212010-09-01 Ulrich Drepper <drepper@redhat.com>
51222
f2933da9
UD
51223 * nis/rpcsvc/nis.h: Update copyright notice.
51224 * nis/rpcsvc/nis.x: Likewise.
51225 * nis/rpcsvc/nis_callback.h: Likewise.
51226 * nis/rpcsvc/nis_callback.x: Likewise.
51227 * nis/rpcsvc/nis_object.x: Likewise.
51228 * nis/rpcsvc/nis_tags.h: Likewise.
51229 * nis/rpcsvc/yp.h: Likewise.
51230 * nis/rpcsvc/yp.x: Likewise.
51231 * nis/rpcsvc/ypupd.h: Likewise.
51232 * nis/yp_xdr.c: Likewise.
51233 * nis/ypupdate_xdr.c: Likewise.
51234
2f3e3dc7
UD
51235 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
51236 mainly the body of pmap_getport. Add parameters to specify timeouts.
51237 (pmap_getport): Use __libc_rpc_getport.
51238 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
51239 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
51240 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
51241
f3dcc2f9
AS
512422010-08-31 Andreas Schwab <schwab@linux-m68k.org>
51243
51244 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
51245 fanotify_mark.
51246
6d34eb5b
RM
512472010-08-27 Roland McGrath <roland@redhat.com>
51248
51249 * sysdeps/i386/i686/multiarch/Makefile
51250 (CFLAGS-varshift.c): New variable.
51251
9ea3de11
UD
512522010-08-27 Ulrich Drepper <drepper@redhat.com>
51253
c96d23fc
UD
51254 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
51255 * sysdeps/i386/i686/multiarch/varshift.c: New file.
51256
9ea3de11
UD
51257 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
51258
51259 * sysdeps/x86_64/strlen.S: Minimal code improvement.
51260
623aac7f
L
512612010-08-26 H.J. Lu <hongjiu.lu@intel.com>
51262
51263 * sysdeps/x86_64/strlen.S: Unroll the loop.
51264 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
51265 strlen-sse2 strlen-sse2-bsf.
51266 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
51267 __strlen_no_bsf if bit_Slow_BSF is set.
51268 (__strlen_sse42): Removed.
51269 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
51270 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
51271
8b2b7715
RM
512722010-08-25 Roland McGrath <roland@redhat.com>
51273
51274 * sysdeps/x86_64/multiarch/varshift.S: File removed.
51275 * sysdeps/x86_64/multiarch/varshift.c: New file.
51276 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
51277 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
51278 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
51279 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
51280
e73015f2
L
512812010-08-25 H.J. Lu <hongjiu.lu@intel.com>
51282
51283 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
51284 strlen-sse2 strlen-sse2-bsf.
51285 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
51286 __strlen_sse2_bsf if bit_Slow_BSF is unset.
51287 (__strlen_sse2): Removed.
51288 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
51289 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
51290 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
51291 bit_Slow_BSF for Atom.
51292 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
51293 (index_Slow_BSF): Define.
51294 (HAS_SLOW_BSF): Define.
51295
df24a73e
UD
512962010-08-25 Ulrich Drepper <drepper@redhat.com>
51297
51298 [BZ #10851]
51299 * resolv/res_init.c (__res_vinit): When no server address at all
51300 is given default to loopback.
51301
f2ac4868
RM
513022010-08-24 Roland McGrath <roland@redhat.com>
51303
09055553
RM
51304 * configure.in: Remove config-name.h generation.
51305 * configure: Regenerated.
51306 * config-name.in: File removed.
51307 * scripts/config-uname.sh: New file.
51308 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
51309 ($(objdir)config-name.h): New target.
51310
f2ac4868
RM
51311 * sunrpc/rpc_parse.h: Avoid nested comment.
51312
73f27d5e
RH
513132010-08-24 Richard Henderson <rth@redhat.com>
51314 Ulrich Drepper <drepper@redhat.com>
51315 H.J. Lu <hongjiu.lu@intel.com>
51316
51317 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
51318 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
51319 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
51320 Replace _mm_srli_si128 with __m128i_shift_right. Replace
51321 _mm_alignr_epi8 with _mm_loadu_si128.
51322 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
51323 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
51324 (__m128i_shift_right): Removed.
51325 * sysdeps/i386/i686/multiarch/varshift.h: New file.
51326 * sysdeps/i386/i686/multiarch/varshift.S: New file.
51327 * sysdeps/x86_64/multiarch/varshift.h: New file.
51328 * sysdeps/x86_64/multiarch/varshift.S: New file.
51329
84b9230c
MF
513302010-08-21 Mike Frysinger <vapier@gentoo.org>
51331
51332 * configure.in: Move assembler checks to before sysdep dir checking.
51333
9bbd0ddc
PB
513342010-08-20 Petr Baudis <pasky@suse.cz>
51335
51336 * LICENSES: Sync the sunrpc license.
51337
9da4bb31
UD
513382010-08-19 Ulrich Drepper <drepper@redhat.com>
51339
a7ab6ec8
UD
51340 * sunrpc/auth_des.c: Update copyright notice once again.
51341 * sunrpc/auth_none.c: Likewise.
51342 * sunrpc/auth_unix.c: Likewise.
51343 * sunrpc/authdes_prot.c: Likewise.
51344 * sunrpc/authuxprot.c: Likewise.
51345 * sunrpc/bindrsvprt.c: Likewise.
51346 * sunrpc/clnt_gen.c: Likewise.
51347 * sunrpc/clnt_perr.c: Likewise.
51348 * sunrpc/clnt_raw.c: Likewise.
51349 * sunrpc/clnt_simp.c: Likewise.
51350 * sunrpc/clnt_tcp.c: Likewise.
51351 * sunrpc/clnt_udp.c: Likewise.
51352 * sunrpc/clnt_unix.c: Likewise.
51353 * sunrpc/des_crypt.c: Likewise.
51354 * sunrpc/des_soft.c: Likewise.
51355 * sunrpc/get_myaddr.c: Likewise.
51356 * sunrpc/getrpcport.c: Likewise.
51357 * sunrpc/key_call.c: Likewise.
51358 * sunrpc/key_prot.c: Likewise.
51359 * sunrpc/openchild.c: Likewise.
51360 * sunrpc/pm_getmaps.c: Likewise.
51361 * sunrpc/pm_getport.c: Likewise.
51362 * sunrpc/pmap_clnt.c: Likewise.
51363 * sunrpc/pmap_prot.c: Likewise.
51364 * sunrpc/pmap_prot2.c: Likewise.
51365 * sunrpc/pmap_rmt.c: Likewise.
51366 * sunrpc/rpc/auth.h: Likewise.
51367 * sunrpc/rpc/auth_unix.h: Likewise.
51368 * sunrpc/rpc/clnt.h: Likewise.
51369 * sunrpc/rpc/des_crypt.h: Likewise.
51370 * sunrpc/rpc/key_prot.h: Likewise.
51371 * sunrpc/rpc/netdb.h: Likewise.
51372 * sunrpc/rpc/pmap_clnt.h: Likewise.
51373 * sunrpc/rpc/pmap_prot.h: Likewise.
51374 * sunrpc/rpc/pmap_rmt.h: Likewise.
51375 * sunrpc/rpc/rpc.h: Likewise.
51376 * sunrpc/rpc/rpc_des.h: Likewise.
51377 * sunrpc/rpc/rpc_msg.h: Likewise.
51378 * sunrpc/rpc/svc.h: Likewise.
51379 * sunrpc/rpc/svc_auth.h: Likewise.
51380 * sunrpc/rpc/types.h: Likewise.
51381 * sunrpc/rpc/xdr.h: Likewise.
51382 * sunrpc/rpc_clntout.c: Likewise.
51383 * sunrpc/rpc_cmsg.c: Likewise.
51384 * sunrpc/rpc_common.c: Likewise.
51385 * sunrpc/rpc_cout.c: Likewise.
51386 * sunrpc/rpc_dtable.c: Likewise.
51387 * sunrpc/rpc_hout.c: Likewise.
51388 * sunrpc/rpc_main.c: Likewise.
51389 * sunrpc/rpc_parse.c: Likewise.
51390 * sunrpc/rpc_parse.h: Likewise.
51391 * sunrpc/rpc_prot.c: Likewise.
51392 * sunrpc/rpc_sample.c: Likewise.
51393 * sunrpc/rpc_scan.c: Likewise.
51394 * sunrpc/rpc_scan.h: Likewise.
51395 * sunrpc/rpc_svcout.c: Likewise.
51396 * sunrpc/rpc_tblout.c: Likewise.
51397 * sunrpc/rpc_util.c: Likewise.
51398 * sunrpc/rpc_util.h: Likewise.
51399 * sunrpc/rpcinfo.c: Likewise.
51400 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
51401 * sunrpc/rpcsvc/key_prot.x: Likewise.
51402 * sunrpc/rpcsvc/klm_prot.x: Likewise.
51403 * sunrpc/rpcsvc/mount.x: Likewise.
51404 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
51405 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
51406 * sunrpc/rpcsvc/rex.x: Likewise.
51407 * sunrpc/rpcsvc/rstat.x: Likewise.
51408 * sunrpc/rpcsvc/rusers.x: Likewise.
51409 * sunrpc/rpcsvc/sm_inter.x: Likewise.
51410 * sunrpc/rpcsvc/spray.x: Likewise.
51411 * sunrpc/rpcsvc/yppasswd.x: Likewise.
51412 * sunrpc/rtime.c: Likewise.
51413 * sunrpc/svc.c: Likewise.
51414 * sunrpc/svc_auth.c: Likewise.
51415 * sunrpc/svc_authux.c: Likewise.
51416 * sunrpc/svc_raw.c: Likewise.
51417 * sunrpc/svc_run.c: Likewise.
51418 * sunrpc/svc_simple.c: Likewise.
51419 * sunrpc/svc_tcp.c: Likewise.
51420 * sunrpc/svc_udp.c: Likewise.
51421 * sunrpc/svc_unix.c: Likewise.
51422 * sunrpc/svcauth_des.c: Likewise.
51423 * sunrpc/xcrypt.c: Likewise.
51424 * sunrpc/xdr.c: Likewise.
51425 * sunrpc/xdr_array.c: Likewise.
51426 * sunrpc/xdr_float.c: Likewise.
51427 * sunrpc/xdr_mem.c: Likewise.
51428 * sunrpc/xdr_rec.c: Likewise.
51429 * sunrpc/xdr_ref.c: Likewise.
51430 * sunrpc/xdr_sizeof.c: Likewise.
51431 * sunrpc/xdr_stdio.c: Likewise.
51432
9da4bb31
UD
51433 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
51434 handling.
51435
bdaa77bc
AS
514362010-08-19 Andreas Schwab <schwab@redhat.com>
51437
51438 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
51439
fe2f79db
LM
514402010-08-19 Luis Machado <luisgpm@br.ibm.com>
51441
51442 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
51443 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
51444 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
51445 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
51446 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
51447 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
51448 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
51449 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
51450 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
51451 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
51452 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
51453 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
51454 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
51455 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
51456
b9b42ee0
AB
514572010-07-26 Anton Blanchard <anton@samba.org>
51458
51459 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
51460 * malloc/arena.c (heap_trim): Likewise.
51461
1c06ba31
UD
514622010-08-16 Ulrich Drepper <drepper@redhat.com>
51463
51464 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
51465 here. Not...
51466 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
51467 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
51468
f8392f40
L
514692010-08-12 H.J. Lu <hongjiu.lu@intel.com>
51470
51471 * sysdeps/i386/elf/Makefile: New file.
51472
3162f12e
AS
514732010-08-14 Andreas Schwab <schwab@linux-m68k.org>
51474
51475 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
51476 from fanotify_init.
51477 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
51478 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
51479
28c90b2c
UD
514802010-08-15 Ulrich Drepper <drepper@redhat.com>
51481
51482 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
51483 of strncasecmp_l.
1feccb6c 51484 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 51485
ca6bb004
UD
514862010-08-14 Ulrich Drepper <drepper@redhat.com>
51487
e9f82e0d
UD
51488 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
51489 strncase_l-nonascii.
51490 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
51491 Add strncase_l-ssse3.
51492 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
51493 * sysdeps/x86_64/strcmp.S: Likewise.
51494 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
51495 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
51496 * sysdeps/x86_64/strncase.S: New file.
51497 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
51498 * sysdeps/x86_64/strncase_l.S: New file.
51499 * string/Makefile (strop-tests): Add strncasecmp.
51500 * string/test-strncasecmp.c: New file.
51501
51502 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
51503 warning.
51504
ca6bb004
UD
51505 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
51506 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
51507
052fa7b3
AS
515082010-08-14 Andreas Schwab <schwab@linux-m68k.org>
51509
51510 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
51511
962dba78
UD
515122010-08-12 Ulrich Drepper <drepper@redhat.com>
51513
51514 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
51515 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
51516 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
51517
bebff237
AM
515182010-05-01 Alan Modra <amodra@gmail.com>
51519
51520 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
51521 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
51522 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
51523 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
51524 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
51525 tidying. Don't tail-call __sigjmp_save for static lib.
51526 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
51527 save location.
51528 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
51529 (CALL_MCOUNT): Add eh info, and nop after bl.
51530 (TAIL_CALL_SYSCALL_ERROR): New macro.
51531 (PSEUDO_RET): Use it.
51532 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
51533 Correct save location of integer regs and cr.
51534 (_dl_profile_resolve): Correct cr save location. Delete nops
51535 after bl when SHARED. Reduce cfi size a little by better
51536 placement of cfi directives.
51537 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
51538 make a stack frame. Instead use parm save area as a temp.
51539 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
51540 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
51541 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
51542 Don't make a stack frame for parent, use parm save area.
51543 Increase child stack frame to 112 bytes. Don't save unused reg,
51544 and adjust reg usage. Set up cfi on error recovery and
51545 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
51546 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
51547 (__makecontext): Add dummy nop after jump to exit.
51548 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
51549 Use correct parm save area and cr save, reduce stack frame.
51550 Correct cfi for possible PSEUDO_RET frame setup.
51551 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
51552 Branch to local label emitted by PSEUDO_RET rather than
51553 __syscall_error.
51554
02637374
AS
515552010-08-12 Andreas Schwab <schwab@redhat.com>
51556
51557 [BZ #11904]
51558 * locale/programs/locale.c (print_assignment): New function.
51559 (show_locale_vars): Use it.
51560
c3e2f19b
UD
515612010-08-11 Ulrich Drepper <drepper@redhat.com>
51562
3cdaa6ad
UD
51563 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
51564 field.
51565 (struct statfs64): Likewise.
51566 (_STATFS_F_FLAGS): Define.
51567 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
51568 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
51569 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
51570 (ST_VALID): Define locally.
51571 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
51572 __statvfs_getflags, use the provided value.
51573 * sysdeps/unix/sysv/linux/kernel-features.h: Define
51574 __ASSUME_STATFS_F_FLAGS.
51575
754f7da3
UD
51576 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
51577
10b3bedc
UD
51578 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
51579 Add sys/fanotify.h.
51580 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
51581 fanotify_mask for GLIBC_2.13.
51582 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
51583 fanotify_init and fanotify_mark.
51584 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
51585 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
51586
c08fb0d7
UD
51587 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
51588 Add prlimit.
51589 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
51590 prlimit64 for GLIBC_2.13.
51591 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
51592 prlimit64.
51593 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
51594 syscall.
51595 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
51596 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
51597 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
51598 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
51599 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
51600 add prlimit alias.
51601 * sysdeps/unix/sysv/linux/prlimit.c: New file.
51602
15bac72b
UD
51603 [BZ #11903]
51604 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
51605 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
51606
c3e2f19b
UD
51607 * nss/Makefile: Add rules to build and run tst-nss-test1.
51608 * shlib-versions: Add entry for libnss_test1.
51609 * nss/nss_test1.c: New file.
51610 * nss/tst-nss-test1.c: New file.
51611
51612 * nss/nsswitch.c (__nss_database_custom): Define new variable.
51613 (__nss_configure_lookup): Set appropriate entry in
51614 __nss_configure_lookup to true.
51615 * nss/nsswitch.h: Define enum with indeces of databases in
51616 databases and __nss_database_custom arrays. Declare
51617 __nss_database_custom.
51618 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
51619 to avoid using nscd when custom rules are installed.
51620 * nss/getXXbyYY_r.c: Likewise.
51621 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
51622
51623 * nss/nss_files/files-parse.c: Whitespace fixes.
51624
f15ce4d8
UD
516252010-08-09 Ulrich Drepper <drepper@redhat.com>
51626
51627 [BZ #11883]
51628 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
51629 * posix/fnmatch_loop.c: Likewise.
51630
d22e4cc9
AK
516312010-07-17 Andi Kleen <ak@linux.intel.com>
51632
51633 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
51634 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
51635 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
51636 * Versions.def [GLIBC_2.13]: Add.
51637
805bc17d
UD
516382010-08-06 Ulrich Drepper <drepper@redhat.com>
51639
51640 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
51641 Also fail if tpwd after pwuid call is NULL.
51642
5a42321d
ST
516432010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
51644
51645 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
51646 when converting to ms.
51647
fd3ebeda
ST
516482010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
51649
51650 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
51651 EOPNOTSUPP errors with ENOTTY.
51652 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
51653 EOPNOTSUPP errors with ENOTTY.
51654
73507d3a
UD
516552010-07-31 Ulrich Drepper <drepper@redhat.com>
51656
51657 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
51658 Add strcasecmp_l-ssse3.
51659 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
51660 strcasecmp.
51661 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
51662 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
51663 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
51664
fe36dd02
UD
516652010-07-30 Ulrich Drepper <drepper@redhat.com>
51666
66f6765a
UD
51667 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
51668
42e08a54
UD
51669 * string/Makefile (strop-tests): Add strcasecmp.
51670 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
51671 strcasecmp_l-nonascii.
51672 (gen-as-const-headers): Add locale-defines.sym.
51673 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
51674 * sysdeps/x86_64/strcasecmp.S: New file.
51675 * sysdeps/x86_64/strcasecmp_l.S: New file.
51676 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
51677 * sysdeps/x86_64/locale-defines.sym: New file.
51678 * string/test-strcasecmp.c: New file.
51679
fe36dd02
UD
51680 * string/test-strcasestr.c: Test both ends of the range of characters.
51681 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
51682
48cbc0d6
RM
516832010-07-29 Roland McGrath <roland@redhat.com>
51684
76e6d6bc 51685 [BZ #11856]
48cbc0d6
RM
51686 * manual/locale.texi (Yes-or-No Questions): Fix example code.
51687
880113d9
UD
516882010-07-27 Ulrich Drepper <drepper@redhat.com>
51689
51690 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
51691 for ld.so.
51692
deb9cabb
AS
516932010-07-27 Andreas Schwab <schwab@redhat.com>
51694
51695 * manual/memory.texi (Malloc Tunable Parameters): Document
51696 M_PERTURB.
51697
1c7570ff
RM
516982010-07-26 Roland McGrath <roland@redhat.com>
51699
51700 [BZ #11840]
51701 * configure.in (-fgnu89-inline check): Set and substitute
51702 gnu89_inline, not libc_cv_gnu89_inline.
51703 * configure: Regenerated.
51704 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
51705
24fb0f88
UD
517062010-07-26 Ulrich Drepper <drepper@redhat.com>
51707
51708 * string/test-strnlen.c: New file.
51709 * string/Makefile (strop-tests): Add strnlen.
51710 * string/tester.c (test_strnlen): Add a few more test cases.
51711 * string/tst-strlen.c: Better error reporting.
51712
51713 * sysdeps/x86_64/strnlen.S: New file.
51714
8e96b93a
UD
517152010-07-24 Ulrich Drepper <drepper@redhat.com>
51716
51717 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
51718 lower-latency instructions.
51719
dbc676d4
UD
517202010-07-23 Ulrich Drepper <drepper@redhat.com>
51721
51722 * string/test-strcasestr.c: New file.
51723 * string/test-strstr.c: New file.
51724 * string/Makefile (strop-tests): Add strstr and strcasestr.
51725 * string/str-two-way.h: Don't undefine MAX.
51726 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
51727
f6a31e0e
AS
517282010-07-21 Andreas Schwab <schwab@redhat.com>
51729
51730 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
51731 strcasestr-nonascii.
51732 (CFLAGS-strcasestr-nonascii.c): Define.
51733 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
51734 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
51735 Remove unused attribute.
51736
5dbc3b6c
RM
517372010-07-20 Roland McGrath <roland@redhat.com>
51738
51739 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
51740 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
51741 ld.so.cache was broken. With it, there is no way to disable dsocaps
51742 like LD_HWCAP_MASK can disable hwcaps.
51743
23d101d8
EPM
517442010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
51745
51746 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
51747
cc9f2e47
UD
517482010-07-16 Ulrich Drepper <drepper@redhat.com>
51749
51750 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
51751 call in strcasestr.
51752 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
51753 __strcasestr_sse42_nonascii.
51754 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
51755 strcasestr-nonascii.c.
51756 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
51757
77c1b069
LM
517582010-06-15 Luis Machado <luisgpm@br.ibm.com>
51759
51760 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
51761 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
51762 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
51763 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
51764
440566c3
UD
517652010-07-09 Ulrich Drepper <drepper@redhat.com>
51766
51767 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
51768 fcntl.
51769
5be9d05d
AS
517702010-07-06 Andreas Schwab <schwab@redhat.com>
51771
c30b7ee2 51772 [BZ #11577]
5be9d05d
AS
51773 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
51774 dl_signal_cerror.
51775
8a492a67
UD
517762010-07-06 Ulrich Drepper <drepper@redhat.com>
51777
51778 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
51779 _PC_PIPE_BUF using F_GETPIPE_SZ.
51780
713df3d5
RM
517812010-07-05 Roland McGrath <roland@redhat.com>
51782
51783 * manual/arith.texi (Rounding Functions): Fix rint description
51784 implicit in round description.
51785
702e8f14
UD
517862010-07-02 Ulrich Drepper <drepper@redhat.com>
51787
51788 * elf/Makefile: Fix linking for a few tests to make recent linker
51789 happy.
51790
52ed8be9
AS
517912010-06-30 Andreas Schwab <schwab@redhat.com>
51792
51793 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
51794 $(common-objpfx)libc_nonshared.a.
51795
f47c9a11
LM
517962010-06-21 Luis Machado <luisgpm@br.ibm.com>
51797
51798 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
51799 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
51800 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
51801 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
51802 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
51803 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
51804 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
51805 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
51806 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
51807 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
51808 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
51809 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
51810 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
51811 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
51812 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
51813 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
51814 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
51815 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
51816 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
51817 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
51818 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
51819 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
51820 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
51821 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
51822 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
51823 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
51824 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
51825 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
51826 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
51827 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
51828 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
51829 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
51830 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
51831 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
51832 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
51833 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
51834 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
51835 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
51836 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
51837 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
51838 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
51839 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
51840 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
51841 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
51842 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
51843 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
51844 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
51845 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
51846
6fb8cbcb
L
518472010-06-25 H.J. Lu <hongjiu.lu@intel.com>
51848
51849 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
51850 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
51851 * string/memmove.c (memmove): Renamed to ...
51852 (MEMMOVE): ...this. Default to memmove.
51853 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
51854 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
51855 (END_CHK): Define.
51856 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
51857 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
51858 mempcpy-ssse3-back memmove-ssse3-back.
51859 * sysdeps/x86_64/multiarch/bcopy.S: New file .
51860 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
51861 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
51862 * sysdeps/x86_64/multiarch/memcpy.S: New file.
51863 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
51864 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
51865 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
51866 * sysdeps/x86_64/multiarch/memmove.c: New file.
51867 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
51868 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
51869 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
51870 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
51871 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
51872 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
51873 Define.
51874 (index_Fast_Copy_Backward): Define.
51875 (HAS_ARCH_FEATURE): Define.
51876 (HAS_FAST_REP_STRING): Define.
51877 (HAS_FAST_COPY_BACKWARD): Define.
51878
4e733bac 518792010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
51880
51881 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
51882 Restore proper fallback handling.
51883
63c4ed22
UD
518842010-06-19 Ulrich Drepper <drepper@redhat.com>
51885
ac2b484c
UD
51886 [BZ #11701]
51887 * posix/group_member.c (__group_member): Correct checking loop.
51888
63c4ed22
UD
51889 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
51890 OOM in getpwuid_r correctly. Return error number when the caller
51891 should return, otherwise -1.
51892 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
51893 call returning > 0 value.
51894 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
51895
765ade4b
AS
518962010-06-07 Andreas Schwab <schwab@redhat.com>
51897
51898 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
51899 libc_nonshared.a from targets in modules-names.
51900
80da2e09
KS
519012010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
51902
51903 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
51904 requires it.
51905
158db122
LM
519062010-06-10 Luis Machado <luisgpm@br.ibm.com>
51907
51908 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
51909 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
51910 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
51911 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
51912
caa78cf8
AS
519132010-06-02 Andreas Schwab <schwab@redhat.com>
51914
51915 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
51916
b2ef2c01
UD
519172010-06-14 Ulrich Drepper <drepper@redhat.com>
51918
51919 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
51920 and F_GETPIPE_SZ.
51921 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
51922 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
51923 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
51924 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
51925 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
51926 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
51927
fbd643b6
RM
519282010-06-14 Roland McGrath <roland@redhat.com>
51929
51930 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
51931
f32f2869
JJ
519322010-06-07 Jakub Jelinek <jakub@redhat.com>
51933
51934 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
51935 __REDIRECT followed by __THROW.
51936 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
51937 * posix/getopt.h (getopt): Likewise.
51938
2a50c078
EPM
519392010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
51940
51941 * hurd/lookup-at.c (__file_name_lookup_at): Accept
51942 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
51943 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
51944 in AT_FLAGS.
51945 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
51946 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
51947
eb5ad2eb
LM
519482010-05-28 Luis Machado <luisgpm@br.ibm.com>
51949
51950 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
51951
3c88fe1e
L
519522010-05-26 H.J. Lu <hongjiu.lu@intel.com>
51953
51954 [BZ #11640]
51955 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
51956 Properly check family and model.
51957
d2f73151
TY
519582010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
51959
51960 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
51961
ebd2e13d
LM
519622010-05-24 Luis Machado <luisgpm@br.ibm.com>
51963
51964 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
51965
b32b8b45
UD
519662010-05-21 Ulrich Drepper <drepper@redhat.com>
51967
51968 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
51969 symbol reference.
51970
9acbe24d
AS
519712010-05-19 Andreas Schwab <schwab@redhat.com>
51972
51973 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
51974 symbol reference.
51975
f0ccf6ea
AS
519762010-05-21 Andreas Schwab <schwab@redhat.com>
51977
3d04ff3a
AS
51978 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
51979 and internal_recvmmsg.
51980 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
51981 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
51982 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
51983 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
51984
f0ccf6ea
AS
51985 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
51986 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
51987 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
51988
5b08ac57
AS
519892010-05-20 Andreas Schwab <schwab@redhat.com>
51990
51991 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
51992
4828935d
LM
519932010-05-17 Luis Machado <luisgpm@br.ibm.com>
51994
51995 POWER7 optimizations.
51996 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
51997 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
51998
373d545e
UD
519992010-05-19 Ulrich Drepper <drepper@redhat.com>
52000
52001 * version.h: Update for 2.13 development version.
52002
21a2b1ae
AS
520032010-05-12 Andrew Stubbs <ams@codesourcery.com>
52004
52005 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
52006 exceptions. Return 0.
52007
3f7dcb2b
RM
520082010-05-07 Roland McGrath <roland@redhat.com>
52009
52010 * elf/ldconfig.c (main): Add a const.
52011
5f24d53a 520122010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 52013
a160f8d8
UD
52014 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
52015 (args_options): Add no-idn option.
52016 (ahosts_keys_int): Add idn_flags to ai_flags.
52017 (parse_option): Handle 'i' option to clear idn_flags.
52018
5f24d53a
UD
52019 * malloc/malloc.c (_int_free): Possible race in the most recently
52020 added check. Only act on the data if no current modification
52021 happened.
265bb1ce
UD
52022
52023See ChangeLog.17 for earlier changes.