]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
Don't use INTDEF/INTUSE with _dl_mcount (bug 14132).
[thirdparty/glibc.git] / ChangeLog
CommitLineData
2004e7fb
JM
12014-11-04 Joseph Myers <joseph@codesourcery.com>
2
ab97ee8f
JM
3 [BZ #14132]
4 * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
5 INTDEF.
6 * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
7 declaration.
8 (_dl_mcount): Use rtld_hidden_proto.
9 * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
10 _dl_mcount.
11 * elf/rtld.c (_rtld_global_ro): Likewise.
12
c5684fdb
JM
13 [BZ #14132]
14 * elf/dl-init.c (_dl_init): Don't use INTDEF.
15 * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
16 of _dl_init_internal.
17 * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
18 * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
19 * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
20 * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
21 * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
22 * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
23 * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
24 * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
25 * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
26 * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
27 * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
28 * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
29 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
30 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
31 * sysdeps/tile/dl-start.S (_start): Likewise.
32 * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
33 * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
34
4243cbea
JM
35 [BZ #14132]
36 * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
37 [IS_IN_rtld] (_dl_argv_internal): Do not declare.
38 (rtld_progname): Make macro definition unconditional.
39 * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
40 INTDEF.
41 (dlmopen_doit): Do not use INTUSE with _dl_argv.
42 (dl_main): Likewise.
43 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
44 * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
45 instead of _dl_argv_internal.
46 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
47 __GI__dl_argv instead of INTUSE(_dl_argv).
48 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
49 __GI__dl_argv instead of _dl_argv_internal.
50
2004e7fb
JM
51 * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
52 * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
53 macro.
54 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
55 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
56 New macro.
57 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
58 * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
59 macro.
60 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
61 * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
62
97827bfc
AS
632014-11-04 Andreas Schwab <schwab@suse.de>
64
65 * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
66
5e4df284
AZ
672014-11-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
68
69 * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
70 mtvsrd instruction in binary form.
71
04b76b5a
AS
722014-11-03 Andreas Schwab <schwab@suse.de>
73
74 [BZ #17522]
75 * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
76 for less than MB_LEN_MAX use a local buffer of that size.
77 * libio/tst-fputws.c: New file.
78 * libio/Makefile (tests): Add tst-fputws.
79
4c6da7da
JM
802014-11-01 Jose E. Marchesi <jose.marchesi@oracle.com>
81
82 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
83 the size of the fpu_fr.fpu_dregs[] array.
84
1679ba8e
JM
852014-11-01 Joseph Myers <joseph@codesourcery.com>
86
87 * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
88 (__nanosleep): Do not define as alias.
89 (nanosleep): Define as alias of __nanosleep.
90 * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
91 __libc_nanosleep name.
92
2626c183
JM
932014-10-31 Joseph Myers <joseph@codesourcery.com>
94
95 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
96 install.texi in comment.
97
7f981fc2
TR
982014-10-31 Torvald Riegel <triegel@redhat.com>
99
100 * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
101 * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
102 ... add here and use lwsync or sync ...
103 * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
104 ... and add here using lwsync.
105
d6f373d2
MF
1062014-10-31 Matthew Fortune <matthew.fortune@imgtec.com>
107
108 * elf/dl-machine-reject-phdr.h: New file.
109 * elf/dl-load.c: #include that.
110 (open_verify): Call elf_machine_reject_phdr_p and ignore the file
111 if that returned true.
112
67c37987
RM
1132014-10-31 Roland McGrath <roland@hack.frob.com>
114
115 [BZ #17496]
116 * Makerules: Move gnu/lib-names.h generation chunk up, to right after
117 gen-as-const-headers chunk. Add a big scare comment after the last
118 safe place to touch before-compile.
119
94a42455 1202014-10-31 Joseph Myers <joseph@codesourcery.com>
f62ff286 121
f3f5d895
JM
122 * manual/install.texi (Tools for Compilation): Update autoconf
123 version requirements.
124 * INSTALL: Regenerated.
125
f62ff286
JM
126 * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
127 * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
128 (__libc_pselect): Likewise.
94a42455
JM
129
130 [BZ #14138]
131 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
132 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
133 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
134 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
135
ff9dbdc0
TR
1362014-10-31 Torvald Riegel <triegel@redhat.com>
137
138 * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
139 correct barrier instruction.
140 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
141 Likewise.
142 * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
143 Likewise.
144
b4f66884
RM
1452014-10-30 Roland McGrath <roland@hack.frob.com>
146
147 * include/ctype.h: Include <ctype/ctype.h> first thing rather than
148 after defining inlines. Instead, just use parens to defeat macro
149 expansion of __isctype in its declaration.
150
e19c95fd
JM
1512014-10-30 Joseph Myers <joseph@codesourcery.com>
152
153 * include/sys/uio.h (__libc_readv): Remove declaration.
154 (__libc_writev): Likewise.
155 * misc/readv.c (__libc_readv): Rename to __readv.
156 (__readv): Do not define as alias.
157 (readv): Define as alias of __readv.
158 * misc/writev.c (__libc_writev): Rename to __writev.
159 (__writev): Do not define as alias.
160 (writev): Define as alias of __writev.
161 * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
162 (__readv): Do not define as alias.
163 (readv): Define unconditionally as alias of __readv.
164 * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
165 (__writev): Do not define as alias.
166 (writev): Define unconditionally as alias of __writev.
167 * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
168 name.
169 (writev): Do not define __libc_writev name.
170
65b00b6c
RM
1712014-10-30 Roland McGrath <roland@hack.frob.com>
172
173 * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
174 (convert_charseq): New function, broken out of ...
175 (use_from_charmap): ... here. Call it.
176 (use_to_charmap): Use convert_charseq and free instead of duplicating
177 its code with a variable-length stack struct.
178
d4e157aa
JM
1792014-10-30 Joseph Myers <joseph@codesourcery.com>
180
181 * include/fcntl.h (__libc_creat): Remove declaration.
182 * io/creat.c (__libc_creat): Rename to creat.
183 (creat): Do not define as alias.
184 * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
185 of creat instead of __libc_creat.
186 * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
187 to creat.
188 (creat): Do not define as alias.
189 [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
190 __libc_creat.
191 * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
192 __libc_creat name.
193 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
194 Likewise.
195
0c6891a0
CD
1962014-10-29 Carlos O'Donell <carlos@redhat.com>
197
198 * manual/llio.texi: Add comments discussing why write() may be
199 considered MT-unsafe on Linux.
200
cc00cece
CD
2012014-10-28 Carlos O'Donell <carlos@redhat.com>
202
203 * dl-load.c (local_strdup): Remove.
204 (expand_dynamic_string_token): Use __strdup.
205 (decompose_rpath): Likewise.
206 (_dl_map_object): Likewise.
207
51e623f2
JM
2082014-10-28 Joseph Myers <joseph@codesourcery.com>
209
210 [BZ #14132]
211 * sysdeps/generic/unwind-dw2-fde.c
212 (__register_frame_info_bases_internal): Do not declare.
213 (__register_frame_info_table_bases_internal): Likewise.
214 (__deregister_frame_info_bases_internal): Likewise.
215 (__register_frame_info_bases): Declare and use hidden_proto before
216 definition. Use hidden_def instead of INTDEF.
217 (__register_frame_info_table_bases): Likewise.
218 (__deregister_frame_info_bases): Likewise.
219 (__register_frame_info): Do not use INTUSE.
220 (__register_frame): Likewise.
221 (__register_frame_info_table): Likewise.
222 (__register_frame_table): Likewise.
223 (__deregister_frame_info): Likewise.
224 (__deregister_frame): Likewise.
225
03d41216
GC
2262014-10-27 Gratian Crisan <gratian.crisan@ni.com>
227
228 * sysdeps/unix/sysv/linux/arm/kernel-features.h
229 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
230 not undefine.
231 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
232 Likewise.
233 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
234 Likewise.
235
a4b3624d
JM
2362014-10-27 Joseph Myers <joseph@codesourcery.com>
237
238 [BZ #14138]
239 * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
240 * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
241 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
242 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
243 * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
244 * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
245 * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
246 * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
247 * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
248 * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
249 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
250 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
251 * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
252 syscall.
253 (setfsuid): Likewise.
254 * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
255 (setfsuid): Likewise.
256 * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
257 (setfsuid): Likewise.
258 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
259 Likewise.
260 (setfsuid): Likewise.
261 * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
262 (setfsuid): Likewise.
263 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
264 Likewise.
265 (setfsuid): Likewise.
266
3574f2fd
AS
2672014-10-27 Andreas Schwab <schwab@suse.de>
268
269 [BZ #17501]
270 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
271 check for Slow_SSE4_2 feature bit.
272 * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
273 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
274 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
275 Likewise. Fix check for Fast_Unaligned_Load feature bit.
276
70996a37
RM
2772014-10-24 Roland McGrath <roland@hack.frob.com>
278
461a7b1e
RM
279 * configure.ac: Validate compiler version with a empirical test of
280 __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
281 $CC -v output.
282 * configure: Regenerated.
283
70996a37
RM
284 * inet/htons.c (htons): Prototypify.
285 * inet/htonl.c (htonl): Likewise.
286
e80514b5
WD
2872014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
288
289 * string/strncat.c (strncat): Improve performance by using strlen.
290
6e46de42
WD
2912014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
292
293 * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
294
6a9ad2fa
WD
2952014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
296
297 * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
298 Call libc_fetestexcept_aarch64.
299
1c8810ed
WD
3002014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
301
302 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
303 Call libc_feholdexcept_aarch64.
304
8b1af712
WD
3052014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
306
307 * sysdeps/aarch64/fpu/fegetround.c (fegetround):
308 Call get_rounding_mode.
309
a7b00c11
WD
3102014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
311
312 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
313 Simplify logic.
314
3a84f1a6
WD
3152014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
316
317 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
318 Simplify logic.
319
48eb7a94
JM
3202014-10-24 Joseph Myers <joseph@codesourcery.com>
321
c8bc4038
JM
322 [BZ #14138]
323 * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
324 * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
325 * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
326 * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
327 * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
328 * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
329 * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
330 * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
331 * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
332 * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
333 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
334 * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
335 * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
336 * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
337 * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
338 * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
339 * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
340 * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
341 * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
342 * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
343 * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
344 * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
345 * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
346 * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
347 * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
348 * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
349 * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
350 * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
351 * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
352 * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
353 * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
354 * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
355 * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
356 * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
357 * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
358 * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
359 * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
360 * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
361 * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
362 * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
363 * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
364 syscall.
365 (geteuid): Likewise.
366 (getgid): Likewise.
367 (getuid): Likewise.
368 (getresgid): Likewise.
369 (getresuid): Likewise.
370 (getgroups): Likewise.
371 * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
372 (geteuid): Likewise.
373 (getgid): Likewise.
374 (getuid): Likewise.
375 (getresgid): Likewise.
376 (getresuid): Likewise.
377 (getgroups): Likewise.
378 * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
379 (geteuid): Likewise.
380 (getgid): Likewise.
381 (getuid): Likewise.
382 (getresgid): Likewise.
383 (getresuid): Likewise.
384 (getgroups): Likewise.
385 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
386 Likewise.
387 (geteuid): Likewise.
388 (getgid): Likewise.
389 (getuid): Likewise.
390 (getresgid): Likewise.
391 (getresuid): Likewise.
392 (getgroups): Likewise.
393 * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
394 (geteuid): Likewise.
395 (getgid): Likewise.
396 (getuid): Likewise.
397 (getresgid): Likewise.
398 (getresuid): Likewise.
399 (getgroups): Likewise.
400 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
401 Likewise.
402 (geteuid): Likewise.
403 (getgid): Likewise.
404 (getuid): Likewise.
405 (getgroups): Likewise.
406
48eb7a94
JM
407 [BZ #14138]
408 * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
409 * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
410 * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
411 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
412 * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
413 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
414 * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
415 * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
416 * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
417 * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
418 * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
419 * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
420 * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
421 __chown.
422 * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
423 (lchown): Likewise.
424 (fchown): Likewise.
425 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
426 Likewise.
427 (lchown): Likewise.
428 (fchown): Likewise.
429 * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
430 (lchown): Likewise.
431 (fchown): Likewise.
432 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
433 Likewise.
434 (lchown): Likewise.
435 (fchown): Likewise.
436
ea9a7c8b
WD
4372014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
438
439 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
440 Simplify logic.
441
e226de33
WD
4422014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
443
444 * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
445 Cleanup logic.
446
6e3d8ed3
WD
4472014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
448
449 * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
450 Remove unused include.
451
eb04247d
WD
4522014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
453
454 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
455 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
456 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
457 * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
458
13d84554
CD
4592014-10-23 Carlos O'Donell <carlos@systemhalted.org>
460 Helge Deller <deller@gmx.de>
461
462 [BZ #17508]
463 * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
464 Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
465 Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
466
15f9c5df
JM
4672014-10-23 Joseph Myers <joseph@codesourcery.com>
468
469 [BZ #14132]
470 * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
471 Remove macro definition.
472 (__ashrdi3_v_glibc20): Likewise.
473 (__lshrdi3_v_glibc20): Likewise.
474 (__cmpdi2_v_glibc20): Likewise.
475 (__ucmpdi2_v_glibc20): Likewise.
476 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
477 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
478 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
479 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
480 [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
481 [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
482
c6dfed24
RM
4832014-10-22 Roland McGrath <roland@hack.frob.com>
484
485 * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
486 old GNU extension [0] syntax.
487 * nscd/nscd_helper.c (open_socket): Use a flexible array member and
488 alloca rather than an array member with variable length.
489 * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
490 * nscd/nscd.c (invalidate_db): New function, broken out of ...
491 (parse_opt): ... here. Likewise use alloca there.
492 Validate the -i argument before checking for rootness.
493 (send_shutdown): New function, broken out of ...
494 (parse_opt): ... here.
495
8c2b1ed8
RM
4962014-10-22 Roland McGrath <roland@hack.frob.com>
497
498 * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
499 macro to get at the _rt_local_ro field.
500 [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
501 ([PIC] case) or _dl_hwcap ([!PIC] case).
502 * sysdeps/arm/setjmp.S: Likewise.
503
504 * config.h.in (ARM_PCREL_MOVW_OK): New macro.
505 * sysdeps/arm/configure.ac: New check to define it.
506 * sysdeps/arm/configure: Regenerated.
507 * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
508 (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
509 (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
510 depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
511 (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
512 Use move/movt pair instead of a load.
513 (LDST_GLOBAL): Macro removed.
514 (LDR_GLOBAL): New macro replaces it.
515 (LDR_HIDDEN): New macro.
516 (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
517 Use LDR_HIDDEN instead for __pointer_chk_guard_local.
518
519 * setjmp/tst-setjmp-static.c: New file.
520 * setjmp/Makefile (tests): Add it.
521 (tests-static): New variable.
522
b5af9297
MR
5232014-10-22 Maciej W. Rozycki <macro@codesourcery.com>
524
525 [BZ #17485]
526 * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
527
a13d0d74
JM
5282014-10-21 Joseph Myers <joseph@codesourcery.com>
529
530 [BZ #14132]
531 * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
532
f05e73f6
RM
5332014-10-21 Roland McGrath <roland@hack.frob.com>
534
535 * nptl/version.c (__nptl_main): Call __libc_write, not __write.
536
6ab1d1ea
RM
5372014-10-20 Roland McGrath <roland@hack.frob.com>
538
539 * io/fts.c (dirent_not_directory): New function.
540 (fts_build): Call it.
541
ab49e763
RM
5422014-10-20 Roland McGrath <roland@hack.frob.com>
543
e436eb79
RM
544 * nptl/version.c (__nptl_main): Use normal __write rather than
545 INTERNAL_SYSCALL.
546 (banner): Update copyright years.
547
6af246cf
RM
548 * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
549 gettimeofday.
550 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
551 * nptl/pthread_cond_timedwait.c: Likewise.
552 * nptl/pthread_mutex_timedlock.c: Likewise.
553 * nptl/sem_timedwait.c: Likewise.
554
ab49e763
RM
555 * sysdeps/nptl/bits/libc-lock.h
556 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
557 (__libc_lock_init_recursive): Return void, not 0.
558 * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
559 (__libc_rwlock_init): Likewise.
560 * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
561
f50277c1
TR
5622014-10-20 Torvald Riegel <triegel@redhat.com>
563
564 [BZ #15215]
565 * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
566 (__pthread_once_slow): ... here.
567 * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
568 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
569
63668b70
TR
5702014-10-20 Torvald Riegel <triegel@redhat.com>
571
572 [BZ #15215]
573 * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
574 __PTHREAD_ONCE_FORK_GEN_INCR): New.
575 * sysdeps/nptl/fork.c (__libc_fork): Use them.
576 * nptl/pthread_once.c (__pthread_once): Likewise.
577 Update comments.
578
42b7f5d4
JM
5792014-10-20 Joseph Myers <joseph@codesourcery.com>
580
581 [BZ #14138]
582 * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
583 name.
584 (writev): Use __libc_writev as strong name.
585 * sysdeps/unix/sysv/linux/readv.c: Remove file.
586 * sysdeps/unix/sysv/linux/writev.c: Likewise.
587
b0643088
RM
5882014-10-17 Roland McGrath <roland@hack.frob.com>
589
114c4e09
RM
590 * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
591
674b8978
RM
592 * sysdeps/i386/nptl/tls.h
593 (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
594 [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
595 New macros.
596 * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
597 (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
598 * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
599 Call SETUP_THREAD_SYSINFO instead of doing an assignment.
600 * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
601 Call CHECK_THREAD_SYSINFO instead of doing an assert.
602
184ee940
RM
603 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
604 Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
605 on [__NR_futex].
606 * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
607 broken out of ...
608 (__pthread_mutex_init): ... here. Call it.
609 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
610 Conditionalize PI cases on [__NR_futex].
611 * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
612 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
613 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
614
327ae257
RM
615 * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
616 conditional on [SIGSETXID].
617 (sigcancel_handler): Make definition conditional on [SIGCANCEL].
618 (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
619 is defined. Likewise for SIGSETXID.
620 * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
621 Conditionalize definitions on [SIGSETXID].
622 (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
623 * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
624 unblocking on [SIGCANCEL].
625
b0643088
RM
626 * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
627 [__NR_set_robust_list].
628
33cc770b
SP
6292014-10-17 Siddhesh Poyarekar <siddhesh@redhat.com>
630
631 * string/strcoll_l.c (get_next_seq): Fix up formatting.
632 (do_compare): Likewise.
633
0742aef6
LH
6342014-10-17 Leonhard Holz <leonhard.holz@web.de>
635
636 [BZ #15884]
637 * string/strcoll_l.c: Don't include stdio.h.
638 (coll_seq): Remove members idxarr and rulearr.
639 (get_next_seq_cached): Remove function.
640 (get_next_seq): Likewise.
641 (get_next_seq_nocache): Rename to get_next_seq.
642 (do_compare): Remove function.
643 (do_compare_nocache): Rename to do_compare.
644 (STRCOLL): Remove weight and rules cache.
645
ee54ce44
RM
6462014-10-16 Roland McGrath <roland@hack.frob.com>
647
648 * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
649 * sysdeps/arm/sfp-machine.h: ... to here.
650 * sysdeps/arm/Implies: Remove arm/soft-fp.
651
a75d3b02
JM
6522014-10-14 Joseph Myers <joseph@codesourcery.com>
653
654 * conform/data/sys/utsname.h-data (*_t): Allow.
655 * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
656 [POSIX] (WEXITED): Do not expect constant.
657 [POSIX] (WSTOPPED): Likewise.
658 [POSIX] (WNOHANG): Likewise.
659 [POSIX] (WNOWAIT): Likewise.
660 [POSIX] (siginfo_t): Do not expect type or elements.
661 [POSIX] (pid_t): Do not expect type.
662 [POSIX] (signal.h): Do not allow header.
663 [POSIX] (sys/resource.h): Likewise.
664 [POSIX] (si_*): Do not allow pattern.
665 [POSIX] (W*): Likewise.
666 [POSIX] (P_*): Likewise.
667 [POSIX] (BUS_*): Likewise.
668 [POSIX] (CLD_*): Likewise.
669 [POSIX] (FPE_*): Likewise.
670 [POSIX] (ILL_*): Likewise.
671 [POSIX] (POLL_*): Likewise.
672 [POSIX] (SEGV_*): Likewise.
673 [POSIX] (SI_*): Likewise.
674 [POSIX] (TRAP_*): Likewise.
675 * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
676 variable.
677
fda389c8
SP
6782014-10-14 Paul Pluzhnikov <ppluzhnikov@google.com>
679
680 [BZ #12926]
681 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
682 infinite loop when __recvmsg returns 0.
683
6bc6bd3b
JM
6842014-10-10 Joseph Myers <joseph@codesourcery.com>
685
fcb32af1
JM
686 * CANCEL-FCT-WAIVE: Remove file.
687 * CANCEL-FILE-WAIVE: Likewise.
688
6bc6bd3b
JM
689 [BZ #14132]
690 * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
691 instead of INTVARDEF.
692 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
693 * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
694 rtld_hidden_data_def instead of INTVARDEF.
695 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
696 * elf/dl-deps.c (expand_dst): Likewise.
697 * elf/dl-load.c (_dl_dst_count): Likewise.
698 (_dl_dst_substitute): Likewise.
699 (decompose_rpath): Likewise.
700 (_dl_init_paths): Likewise.
701 (open_path): Likewise.
702 (_dl_map_object): Likewise.
703 * elf/rtld.c (dl_main): Likewise.
704 (process_dl_audit): Likewise.
705 (process_envvars): Likewise.
706 * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
707 Remove declaration.
708 (__libc_enable_secure): Use rtld_hidden_proto.
709
b8c80a7e
KS
7102014-10-09 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
711
712 * elf/dl-load.c
713 (add_path): New function broken out of _dl_rtld_di_serinfo.
714 (_dl_rtld_di_serinfo): Remove that nested function. Update call sites.
715
ff12c11f
JM
7162014-10-09 Joseph Myers <joseph@codesourcery.com>
717
5c0508a3
JM
718 * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
719 parentheses around macro arguments.
720 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
721 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
722 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
723 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
724 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
725 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
726 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
727 [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
728 [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
729 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
730 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
731 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
732 [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
733 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
734 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
735 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
736 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
737 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
738 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
739 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
740 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
741 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
742 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
743 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
744 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
745 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
746 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
747 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
748 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
749 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
750 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
751 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
752 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
753 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
754 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
755 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
756 Likewise.
757 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
758 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
759 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
760 [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
761 [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
762 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
763 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
764 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
765 [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
766 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
767 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
768 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
769 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
770 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
771 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
772 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
773 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
774 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
775 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
776 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
777 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
778 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
779 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
780 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
781 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
782 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
783 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
784 * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
785 (_FP_FRAC_SRS_1): Likewise.
786 (_FP_FRAC_CLZ_1): Likewise.
787 (_FP_MUL_MEAT_1_imm): Likewise.
788 (_FP_MUL_MEAT_1_wide): Likewise.
789 (_FP_MUL_MEAT_1_hard): Likewise.
790 (_FP_SQRT_MEAT_1): Likewise.
791 (_FP_FRAC_ASSEMBLE_1): Likewise.
792 (_FP_FRAC_DISASSEMBLE_1): Likewise.
793 * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
794 (__FP_CLZ_2): Likewise.
795 (_FP_MUL_MEAT_2_wide): Likewise.
796 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
797 (_FP_MUL_MEAT_2_gmp): Likewise.
798 (_FP_MUL_MEAT_2_120_240_double): Likewise.
799 (_FP_SQRT_MEAT_2): Likewise.
800 (_FP_FRAC_ASSEMBLE_2): Likewise.
801 (_FP_FRAC_DISASSEMBLE_2): Likewise.
802 * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
803 (_FP_FRAC_CLZ_4): Likewise.
804 (_FP_MUL_MEAT_4_wide): Likewise.
805 (_FP_MUL_MEAT_4_gmp): Likewise.
806 (_FP_SQRT_MEAT_4): Likewise.
807 (_FP_FRAC_ASSEMBLE_4): Likewise.
808 (_FP_FRAC_DISASSEMBLE_4): Likewise.
809 * soft-fp/op-common.h (_FP_CMP): Likewise.
810 (_FP_CMP_EQ): Likewise.
811 (_FP_CMP_UNORD): Likewise.
812 (_FP_TO_INT): Likewise.
813 (_FP_FROM_INT): Likewise.
814 [!__FP_CLZ] (__FP_CLZ): Likewise.
815 (_FP_DIV_HELP_imm): Likewise.
816 * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
817 Likewise.
818 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
819 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
820 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
821 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
822 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
823 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
824 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
825 [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
826 [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
827 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
828 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
829 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
830 [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
831 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
832 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
833 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
834 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
835 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
836 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
837 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
838 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
839 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
840 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
841 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
842 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
843 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
844 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
845 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
846 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
847 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
848 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
849 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
850 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
851 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
852 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
853 * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
854 (FP_UNPACK_RAW_SP): Likewise.
855 (FP_PACK_RAW_S): Likewise.
856 (FP_PACK_RAW_SP): Likewise.
857 (FP_UNPACK_S): Likewise.
858 (FP_UNPACK_SP): Likewise.
859 (FP_UNPACK_SEMIRAW_S): Likewise.
860 (FP_UNPACK_SEMIRAW_SP): Likewise.
861 (FP_PACK_S): Likewise.
862 (FP_PACK_SP): Likewise.
863 (FP_PACK_SEMIRAW_S): Likewise.
864 (FP_PACK_SEMIRAW_SP): Likewise.
865 (_FP_SQRT_MEAT_S): Likewise.
866 (FP_CMP_S): Likewise.
867 (FP_CMP_EQ_S): Likewise.
868 (FP_CMP_UNORD_S): Likewise.
869 (FP_TO_INT_S): Likewise.
870 (FP_FROM_INT_S): Likewise.
871
a736ec37
JM
872 * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
873
ff12c11f
JM
874 * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
875 (FP_EX_INVALID_IMZ): Likewise.
876 (FP_EX_INVALID_IMZ_FMA): Likewise.
877 (FP_EX_INVALID_ISI): Likewise.
878 (FP_EX_INVALID_ZDZ): Likewise.
879 (FP_EX_INVALID_IDI): Likewise.
880 (FP_EX_INVALID_SQRT): Likewise.
881 (FP_EX_INVALID_CVI): Likewise.
882 (FP_EX_INVALID_VC): Likewise.
883 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
884 "invalid" exceptions.
885 (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
886 (_FP_ADD_INTERNAL): Likewise.
887 (_FP_MUL): Likewise.
888 (_FP_FMA): Likewise.
889 (_FP_DIV): Likewise.
890 (_FP_CMP_CHECK_NAN): Likewise.
891 (_FP_SQRT): Likewise.
892 (_FP_TO_INT): Likewise.
893 (FP_EXTEND): Likewise.
894
b6dcfe8c
AM
8952014-10-09 Allan McRae <allan@archlinux.org>
896
897 * po/fr.po: Update French translation from translation project.
898
2d6a47ba
JM
8992014-10-09 Joseph Myers <joseph@codesourcery.com>
900
cb831245
JM
901 [BZ #14132]
902 * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
903 of INTDEF.
904 * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
905 (__cxa_atexit): Use libc_hidden_proto.
906 [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
907
5deeb190
JM
908 [BZ #14132]
909 * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
910 declaration.
911 [!_ISOMAC] (__iswdigit_l_internal): Likewise.
912 [!_ISOMAC] (__iswspace_l_internal): Likewise.
913 [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
914 [!_ISOMAC] (__iswctype_internal): Likewise.
915 * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
916 * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
917 alias.
918 (fcntl): Remove __fcntl_internal alias.
919 * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
920 __connect_internal alias.
921 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
922 Likewise.
923
454ac701
JM
924 * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
925 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
926 FP_DENORM_ZERO.
927 (_FP_CHECK_FLUSH_ZERO): New macro.
928 (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
929 (_FP_CMP): Likewise.
930 (_FP_CMP_EQ): Likewise.
931 (_FP_TO_INT): Do not set inexact for subnormal arguments if
932 FP_DENORM_ZERO.
933 (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
934 (FP_TRUNC): Likewise.
935
0022e688
JM
936 * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
937 treated as invalid conversion, not as normal exponent.
938
73e28d9c
JM
939 * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
940 (_FP_CMP): Add extra argument EX. Call _FP_CMP_CHECK_NAN.
941 (_FP_CMP_EQ): Likewise.
942 (_FP_CMP_UNORD): Likewise.
943 * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
944 (FP_CMP_EQ_D): Likewise.
945 (FP_CMP_UNORD_D): Likewise.
946 * soft-fp/extended.h (FP_CMP_E): Likewise.
947 (FP_CMP_EQ_E): Likewise.
948 (FP_CMP_UNORD_E): Likewise.
949 * soft-fp/quad.h (FP_CMP_Q): Likewise.
950 (FP_CMP_EQ_Q): Likewise.
951 (FP_CMP_UNORD_Q): Likewise.
952 * soft-fp/single.h (FP_CMP_S): Likewise.
953 (FP_CMP_EQ_S): Likewise.
954 (FP_CMP_UNORD_S): Likewise.
955 * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
956 * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
957 * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
958 * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
959 * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
960 * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
961 * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
962 * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
963 * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
964 * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
965 * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
966 * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
967 * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
968 to FP_CMP_Q.
969 * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
970 FP_CMP_Q.
971 * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
972 * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
973 FP_CMP_EQ_Q.
974 * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
975 FP_CMP_Q.
976 * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
977 * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
978 * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
979 * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
980 FP_CMP_EQ_Q.
981 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
982 FP_CMP_Q.
983 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
984 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
985 FP_CMP_EQ_Q.
986 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
987 FP_CMP_Q.
988 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
989 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
990 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
991 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
992 FP_CMP_EQ_Q.
993
43059f42
JM
994 * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
995 a subnormal result, set the underflow exception if trapping on
996 underflow is enabled.
997 * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
998 (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
999 [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
1000 redefine to 0.
1001 * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
1002 * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
1003 * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
1004 * soft-fp/extendxftf2.c (__extendxftf2): Use
1005 FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
1006
2d6a47ba
JM
1007 * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
1008 * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
1009 (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
1010 FP_HANDLE_EXCEPTIONS.
1011 * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
1012 (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
1013 FP_HANDLE_EXCEPTIONS.
1014 * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
1015 (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
1016 FP_HANDLE_EXCEPTIONS.
1017 * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
1018 (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
1019 FP_HANDLE_EXCEPTIONS.
1020
620f462e
JM
10212014-10-08 Joseph Myers <joseph@codesourcery.com>
1022
1023 [BZ #14132]
1024 * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
1025 * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
1026 use INTUSE.
1027 [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
1028 * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
1029 Remove alias.
1030 (__adjtimex): Define using libc_hidden_ver.
1031 * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
1032 Remove declaration.
1033 (ntp_gettime): Call __adjtimex directly.
1034 * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
1035 Remove declaration.
1036 (ntp_gettimex): Call __adjtimex directly.
1037 * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
1038 __adjtimex_internal alias.
1039
c763c5d2
RM
10402014-10-08 Roland McGrath <roland@hack.frob.com>
1041
1042 [BZ #17460]
1043 * nscd/nscd.c (more_help): Rewrite list of tables collection
1044 using xstrdup and asprintf.
1045
1046 * nscd/nscd_conf.c: Remove local xstrdup declaration.
1047
7b8fb2b8
RM
10482014-10-08 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
1049 Roland McGrath <roland@hack.frob.com>
1050
1051 * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
1052 (do_lookup_unique): ... local function 'enter' here; update callers.
1053
abb280f7
JM
10542014-10-06 Joseph Myers <joseph@codesourcery.com>
1055
f7b42517
JM
1056 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
1057 compat_symbol calls on [SHARED].
1058 * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
1059 * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
1060 Remove.
1061 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
1062 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
1063 (oldsetrlimit): Remove.
1064 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
1065 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
1066 (lchown): New syscall entry.
1067 (oldsetrlimit): Remove.
1068 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
1069 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
1070 (oldsetrlimit): Remove.
1071 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
1072
abb280f7
JM
1073 [BZ #14138]
1074 * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
1075 * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
1076 * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
1077 * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
1078 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
1079 * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
1080 (fchown): Likewise.
1081 * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
1082 (fchown): Likewise.
1083 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
1084 Likewise.
1085
47d46237
AZ
10862014-10-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1087
1088 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
1089 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
1090 (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
1091 __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
1092 * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
1093 Likewise.
1094 (__old_sem_post): Likewise.
1095
10962014-10-06 Chris Metcalf <cmetcalf@tilera.com>
1c4c1a6f 1097
845a7343
CM
1098 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
1099 INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
1100 HAVE_CLOCK_GETTIME_VSYSCALL macros.
1101 * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
1102 Use INLINE_VSYSCALL macro.
1103 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
1104 __vdso_clock_gettime.
1105 * sysdeps/unix/sysv/linux/tile/init-first.c
1106 (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
1107 * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
1108 __vdso_clock_gettime.
1109
83d641ef
CM
1110 * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
1111 to set up frame more cleanly.
1112
d9cd52e6
CM
1113 * sysdeps/tile/memcmp.c: New file.
1114
4b68ea11
CM
1115 * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
1116
c86f7b80
CM
1117 * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
1118 * sysdeps/tile/tilegx/strcasestr.c: New file.
1119 * sysdeps/tile/tilegx/strnlen.c: New file.
1120 * sysdeps/tile/tilegx/strstr.c: New file.
1121
1c4c1a6f
CM
1122 * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
1123
99d86ea3
AS
11242014-10-06 Arjun Shankar <arjun.is@lostca.se>
1125
1126 * nptl/tst-setuid3.c: Write errors to stdout.
1127
06210a44
KS
11282014-10-01 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
1129
1130 * elf/dl-deps.c
1131 (preload): New functions broken out of _dl_map_object_deps.
1132 (_dl_map_object_deps): Remove a nested function. Update call sites.
1133
6268f532
JM
11342014-10-01 Joseph Myers <joseph@codesourcery.com>
1135
1136 [BZ #14138]
1137 * sysdeps/unix/sysv/linux/execve.c: Remove file.
1138 * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
1139
b925285f
SE
11402014-10-01 Steve Ellcey <sellcey@mips.com>
1141
1142 * sysdeps/mips/strcmp.S: New.
1143
754a15c6
JM
11442014-09-30 Joseph Myers <joseph@codesourcery.com>
1145
1146 [BZ #14138]
1147 * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
1148 (linkat): Likewise.
1149 (mkdirat): Likewise.
1150 (readlinkat): Likewise.
1151 (renameat): Likewise.
1152 (symlinkat): Likewise.
1153 (unlinkat): Likewise.
1154 * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
1155 * sysdeps/unix/sysv/linux/linkat.c: Likewise.
1156 * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
1157 * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
1158 * sysdeps/unix/sysv/linux/renameat.c: Likewise.
1159 * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
1160 * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
1161
85bb81c9
WN
11622014-09-30 Will Newton <will.newton@linaro.org>
1163
dc6fe23b
WN
1164 * math/math.h: Define long double math functions if
1165 _LIBC_TEST is defined.
1166 * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
1167
85bb81c9
WN
1168 * localedata/Makefile: Move assignment to tests-special
1169 into an ifdef testing run-built-tests.
1170 * timezone/Makefile: Likewise.
1171
b7e02da4
JM
11722014-09-29 Joseph Myers <joseph@codesourcery.com>
1173
1174 * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
1175 with $(BASH) not $(SHELL).
1176
62058ce6
CD
11772014-09-29 Carlos O'Donell <carlos@redhat.com>
1178 Matthew LeGendre <legendre1@llnl.gov>
1179
1180 [BZ #17411]
1181 * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
1182 l_reloc_result.
1183
8e257a29
KS
11842014-09-29 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
1185
1186 * stdio-common/printf_fp.c
1187 (hack_digit): New function, broken out of ...
1188 (__printf_fp): ... local function here. Update call sites.
1189 hack_digit now takes an additional parameter that is a pointer
1190 to a struct of the referenced locals. Those locals moved inside
1191 the struct and references updated.
1192
f4a58f0d
L
11932014-09-29 H.J. Lu <hongjiu.lu@intel.com>
1194
1195 * aclocal.m4: Require autoconf 2.69.
1196 * configure: Regenerated.
1197 * sysdeps/aarch64/configure: Likewise.
1198 * sysdeps/alpha/configure: Likewise.
1199 * sysdeps/arm/armv7/configure: Likewise.
1200 * sysdeps/arm/configure: Likewise.
1201 * sysdeps/ia64/configure: Likewise.
1202 * sysdeps/mach/configure: Likewise.
1203 * sysdeps/mips/configure: Likewise.
1204 * sysdeps/s390/configure: Likewise.
1205 * sysdeps/unix/sysv/linux/mips/configure: Likewise.
1206 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
1207
1208 * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
1209 file.
1210 * sysdeps/ia64/configure.ac: Likewise.
1211
93ae1eba
JM
12122014-09-26 Joseph Myers <joseph@codesourcery.com>
1213
1810d3ab
JM
1214 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
1215 specify symbol version for ld.so. Do not include entry for
1216 libpthread.
1217 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
1218 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
1219 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
1220
93ae1eba
JM
1221 [BZ #14171]
1222 * Makeconfig [$(build-shared) = yes]
1223 ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
1224 makefiles.
1225 [$(build-shared) = yes && $(soversions.mk-done) = t]
1226 ($(common-objpfx)gnu/lib-names.h): Remove rule.
1227 [$(build-shared) = yes && $(soversions.mk-done) = t]
1228 ($(common-objpfx)gnu/lib-names.stmp): Likewise. Split and moved
1229 to Makerules.
1230 [$(build-shared) = yes && $(soversions.mk-done) = t]
1231 (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
1232 here.
1233 [$(build-shared) = yes && $(soversions.mk-done) = t]
1234 (common-generated): Don't append gnu/lib-names.h and
1235 gnu/lib-names.stmp here.
1236 * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
1237 (lib-names-h-abi): New variable.
1238 [$(build-shared) = yes && $(soversions.mk-done) = t]
1239 (lib-names-stmp-abi): Likewise.
1240 [$(build-shared) = yes && $(soversions.mk-done) = t &&
1241 abi-variants] (before-compile): Append
1242 $(common-objpfx)$(lib-names-h-abi).
1243 [$(build-shared) = yes && $(soversions.mk-done) = t &&
1244 abi-variants] (common-generated): Append gnu/lib-names.h.
1245 [$(build-shared) = yes && $(soversions.mk-done) = t &&
1246 abi-variants] (install-others-nosubdir): Depend on
1247 $(inst_includedir)/$(lib-names-h-abi).
1248 [$(build-shared) = yes && $(soversions.mk-done) = t &&
1249 abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
1250 [$(build-shared) = yes && $(soversions.mk-done) = t]
1251 ($(common-objpfx)$(lib-names-h-abi)): New rule.
1252 [$(build-shared) = yes && $(soversions.mk-done) = t]
1253 ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
1254 [$(build-shared) = yes && $(soversions.mk-done) = t]
1255 (common-generated): Append $(lib-names-h-abi) and
1256 $(lib-names-stmp-abi).
1257 * scripts/lib-names.awk: Do not handle multi being set.
1258 * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
1259 Remove variable.
1260 (abi-lp64_be-ld-soname): Likewise.
1261 * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
1262 Likewise.
1263 (abi-hard-ld-soname): Likewise.
1264 * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
1265 * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
1266 Remove variable.
1267 (abi-o32_hard-ld-soname): Likewise.
1268 (abi-o32_soft_2008-ld-soname): Likewise.
1269 (abi-o32_hard_2008-ld-soname): Likewise.
1270 (abi-n32_soft-ld-soname): Likewise.
1271 (abi-n32_hard-ld-soname): Likewise.
1272 (abi-n32_soft_2008-ld-soname): Likewise.
1273 (abi-n32_hard_2008-ld-soname): Likewise.
1274 (abi-n64_soft-ld-soname): Likewise.
1275 (abi-n64_hard-ld-soname): Likewise.
1276 (abi-n64_soft_2008-ld-soname): Likewise.
1277 (abi-n64_hard_2008-ld-soname): Likewise.
1278 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
1279 Likewise.
1280 (abi-64-v2-ld-soname): Likewise.
1281 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
1282 ld.so entries.
1283 * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
1284 variable.
1285 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
1286 entry.
1287 * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
1288 variable.
1289 (abi-64-ld-soname): Likewise.
1290 (abi-x32-ld-soname): Likewise.
1291 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
1292 entry.
1293 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
1294
68870f12
JM
12952014-09-23 Joseph Myers <joseph@codesourcery.com>
1296
1297 [BZ #14138]
1298 * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
1299 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
1300 * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
1301 * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
1302 * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
1303 * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
1304 * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
1305 syscall entry for GLIBC_2.2 symbol version.
1306 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
1307 Likewise.
1308 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
1309 (setrlimit): Likewise.
1310 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
1311 Likewise.
1312
ea58f202
WN
13132014-09-23 Will Newton <will.newton@linaro.org>
1314
1315 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
1316 _LINUX_ARM_SYSDEP_H include guard too.
1317 * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
1318 define.
1319
69eb9a18
RV
13202014-09-20 Rasmus Villemoes <rv@rasmusvillemoes.dk>
1321
1322 * sysdeps/unix/sysv/linux/eventfd.c:
1323 Make first argument unsigned.
1324 * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
1325 * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
1326
20e5a5f7
OB
13272014-09-20 Ondřej Bílka <neleai@seznam.cz>
1328
1329 * socket/recvmmsg.c (recvmmsg): Drop const argument.
1330 * socket/sys/socket.h: Likewise
1331 * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
1332
d3c827e7
AK
13332014-09-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1334
1335 * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
1336
fe1cc35a
AS
13372014-09-17 Arjun Shankar <arjun.is@lostca.se>
1338
1339 * time/tst-ftime.c: New test.
1340 * time/Makefile (tests): Add tst-ftime.
1341
4e8afe69
JM
13422014-09-17 Joseph Myers <joseph@codesourcery.com>
1343
c4fe3ea7
JM
1344 * soft-fp/extended.h: Fix comment formatting.
1345 * soft-fp/op-1.h: Likewise.
1346 * soft-fp/op-2.h: Likewise.
1347 * soft-fp/op-4.h: Likewise.
1348 * soft-fp/op-8.h: Likewise.
1349 * soft-fp/op-common.h: Likewise.
1350 * soft-fp/soft-fp.h: Likewise.
1351
4e8afe69
JM
1352 * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
1353
af296fcd
JM
13542014-09-16 Joseph Myers <joseph@codesourcery.com>
1355
1356 [BZ #6652]
1357 * Makeconfig (soversions-default-setname): Remove variable.
1358 ($(common-objpfx)soversions.i): Don't pass default_setname to
1359 soversions.awk.
1360 * Makerules ($(common-objpfx)abi-versions.h): Don't pass
1361 oldest_abi to abi-versions.awk.
1362 * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
1363 * config.make.in (oldest-abi): Remove variable.
1364 * configure.ac (--enable-oldest-abi): Remove configure option.
1365 * configure: Regenerated.
1366 * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
1367 text.
1368 * scripts/abi-versions.awk: Do not handle oldest_abi variable.
1369 * scripts/soversions.awk: Do not handle default_setname variable.
1370 * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
1371 variable.
1372 * sysdeps/mach/hurd/configure: Regenerated.
1373 * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
1374 variable.
1375 * sysdeps/unix/sysv/linux/configure: Regenerated.
1376
545583d6
SP
13772014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
1378
d330b980
SP
1379 * elf/Makefile (CFLAGS-interp.c): Remove.
1380 ($(elf-objpfx)runtime-linker.h): Generate header with linker
1381 path string.
1382 * elf/interp.c: Include generated runtime-linker.h
1383
02657da2
SP
1384 * Makerules (lib%.so): Don't include $(+interp) in
1385 prerequisites.
1386 * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
1387 * dlfcn/eval.c: Remove file.
1388
653b1080
SP
1389 * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
1390 macros.
1391
602f80ec
SP
1392 [BZ #17266]
1393 * misc/sys/cdefs.h: Define __extern_always_inline for clang
1394 4.2 and newer.
1395
545583d6
SP
1396 [BZ #17370]
1397 * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
1398
884ddc50
SP
13992014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
1400 Jakub Jelinek <jakub@redhat.com>
1401
1402 [BZ #17266]
1403 * libio/stdio.h: Check definition of __fortify_function
1404 instead of __extern_always_inline to include bits/stdio2.h.
1405 * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
1406 check if __extern_always_inline is defined.
1407 [__USE_MISC || __USE_XOPEN]: Likewise.
1408 [__USE_ISOC99] Likewise.
1409 * misc/sys/cdefs.h (__fortify_function): Define only if
1410 __extern_always_inline is defined.
1411 [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
1412 __extern_always_inline and __extern_inline only for g++-4.3
1413 and newer or a compatible gcc.
1414
a7b87268
AS
14152014-09-15 Andreas Schwab <schwab@linux-m68k.org>
1416
1417 [BZ #17371]
1418 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
1419 last change to handle zero prefix length.
1420
3f41521d
SP
14212014-09-15 Siddhesh Poyarekar <siddhesh@redhat.com>
1422
61fe374a
SP
1423 * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
1424 _SC_REGEX_VERSION.
1425
3f41521d
SP
1426 * posix/getconf.c (vars): Add _POSIX_IPV6 and
1427 _POSIX_RAW_SOCKETS.
1428
d8f879ee
AM
14292014-09-13 Allan McRae <allan@archlinux.org>
1430
1431 * po/ru.po: Update Russian translation from translation project.
1432
c079afb7
RM
14332014-09-12 Roland McGrath <roland@hack.frob.com>
1434
a62b3c15
RM
1435 * locale/programs/locale.c (show_locale_vars): Inline local function
1436 into its sole call site. Clean up some style nits.
1437 (print_item): New function, broken out of ...
1438 (show_info): ... local function here. Clean up style nits.
1439
d7e49b19
RM
1440 * locale/programs/ld-ctype.c (set_one_default): New function, broken
1441 out of ...
1442 (set_class_defaults): ... local function set_default here.
1443 Define set_default as a macro locally to pass constant parameters.
1444 (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
1445 rather than a shared local.
1446
c079afb7
RM
1447 * stdlib/rpmatch.c (try): New function, broken out of ...
1448 (rpmatch): ... local function here. Also, prototypify definition.
1449
0bd72468
JM
14502014-09-12 Joseph Myers <joseph@codesourcery.com>
1451
ba90e050
JM
1452 * scripts/soversions.awk: Do not handle configuration names.
1453 * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
1454 vendor and os variables to soversions.awk.
1455 * configure.ac: Do not modify gnu-* host_os.
1456 * configure: Regenerated
1457 * shlib-versions: Remove first column with configuration names.
1458 * nptl/shlib-versions: Likewise.
1459 * nptl_db/shlib-versions: Likewise.
1460 * sysdeps/hppa/shlib-versions: Likewise.
1461 * sysdeps/m68k/shlib-versions: Likewise.
1462 * sysdeps/mach/hurd/shlib-versions: Likewise.
1463 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
1464 * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
1465 * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
1466 * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
1467 * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
1468 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
1469 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
1470 * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
1471 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
1472 Likewise.
1473 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
1474 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
1475 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
1476 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
1477 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
1478 * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
1479 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
1480 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
1481
73a39112
JM
1482 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
1483 (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
1484 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
1485 Regenerated.
1486 * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
1487 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
1488 Condition symbol version definitions on [HAVE_ELFV2_ABI].
1489
c729e7c1
JM
1490 * shlib-versions: Remove OS-specific entries. Moved to files in
1491 sysdeps.
1492 * sysdeps/mach/hurd/shlib-versions: New file.
1493 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
1494
dc932a24
JM
1495 * nptl/shlib-versions: Remove architecture-specific entries.
1496 Moved to files in sysdeps.
1497 * shlib-versions: Likewise.
1498 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
1499 file.
1500 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
1501 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
1502 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
1503 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
1504
0bd72468
JM
1505 * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
1506 (UDP_NO_CHECK6_RX): Likewise.
1507
920238e0
SP
15082014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
1509
1510 * sysdeps/posix/sysconf.c (__sysconf): Spell
1511 _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
1512
ba7b4d29
FW
15132014-08-12 Florian Weimer <fweimer@redhat.com>
1514
1515 * iconv/gconv_open.c (__gconv_open): Remove transliteration module
1516 loading.
1517 * iconv/Versions (__gconv_transliterate): Export for use from
1518 gconv modules.
1519 * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
1520 (struct __gconv_trans_data, __gconv_trans_fct,
1521 __gconv_trans_context_fct, __gconv_trans_query_fct,
1522 __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
1523 definitions.
1524 (struct __gconv_step_data): Remove __trans member.
1525 (__gconv_transliterate): Declaration moved from gconv_int.h. No
1526 longer hidden. Remove unused trans_data argument.
1527 * iconv/gconv_int.h (struct trans_struct): Remove definition.
1528 (__gconv_translit_find): Remove declaration.
1529 (__gconv_transliterate): Declaration moved to gconv.h. Add hidden
1530 prototype.
1531 * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
1532 * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
1533 trans_data argument. Add hidden definition.
1534 (__gconv_translit_find): Remove.
1535 * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
1536 __gconv_transliterate directly if __GCONV_TRANSLIT is set.
1537 * iconv/skeleton.c: Remove transliteration initialization.
1538 * libio/fileops.c (_IO_new_file_fopen): Adjust struct
1539 __gconv_step_data initialization.
1540 * libio/iofwide.c (__libio_translit_): Remove.
1541 (_IO_fwide): Adjust struct __gconv_step_data initialization.
1542 * wcsmbs/btowc.c (__btowc): Likewise.
1543 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
1544 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
1545 * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
1546 * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
1547 * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
1548 * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
1549 * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
1550 * wcsmbs/wctob.c (wctob): Likewise.
1551
5379aebd
SP
15522014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
1553
1554 [BZ #16194]
1555 * sysdeps/x86/tst-xmmymm.sh: Rename file to...
1556 * sysdeps/x86/tst-ld-sse-use.sh: ... this. Check for zmm
1557 register usage.
1558 * sysdeps/x86/Makefile: Adjust.
1559
8c0ab919
RM
15602014-09-11 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
1561 Roland McGrath <roland@hack.frob.com>
1562
1563 * locale/weight.h: Add include guard.
1564 (findidx): Make static rather than auto; take new parameters
1565 TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
1566 * locale/weightwc.h: Likewise.
1567 * posix/fnmatch_loop.c
1568 (FCT): Change type of EXTRA from int32_t to wint_t.
1569 Don't include either header inside the function.
1570 Call FINDIDX rather than findidx, and pass new arguments.
1571 #undef FINDIDX at the end of the file.
1572 * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
1573 FINDIDX before including fnmatch_loop.c for the non-wide version.
1574 [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
1575 #include <locale/weightwc.h>, and define FINDIDX to findidxwc
1576 for the wide version.
1577 * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
1578 (build_equiv_class) [_LIBC]: Don't #include it inside the function.
1579 Pass new arguments to findidx.
1580 * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
1581 [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
1582 Don't #include it inside the function. Pass new arguments to findidx.
1583 * posix/regex_internal.h
1584 [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
1585 (re_string_elem_size_at): Don't #include it inside the function.
1586 Pass new arguments to findidx.
1587 * string/strcoll_l.c: #include WEIGHT_H at top level.
1588 (get_next_seq): Don't #include it inside the function.
1589 Pass new arguments to findidx.
1590 (get_next_seq_nocache): Likewise.
1591 * string/strxfrm_l.c: #include WEIGHT_H at top level.
1592 (STRXFRM): Don't #include it inside the function.
1593 Pass new arguments to findidx.
1594
52ffbdf2
FW
15952014-09-11 Florian Weimer <fweimer@redhat.com>
1596
1597 [BZ #17344]
1598 * malloc/malloc.c (unlink): Turn asserts into a call to
1599 malloc_printerr.
1600
984c0ea9
TL
16012014-09-11 Tim Lammens <tim.lammens@gmail.com>
1602
1603 [BZ #17370]
1604 * libio/wfileops (do_ftell_wide): Free OUT.
1605
3daee107
CM
16062014-09-10 Chris Metcalf <cmetcalf@tilera.com>
1607
1608 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
1609
58b930ae
SP
16102014-09-10 Siddhesh Poyarekar <siddhesh@redhat.com>
1611
1612 [BZ #17363]
1613 * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
1614 group if the current group is empty.
1615
3b473fec
AZ
16162014-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1617
71ae8647
AZ
1618 * benchtests/bench-memset.c (test_main): Add more test from size
1619 from 32 to 512 bytes.
1620 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
1621 Add POWER8 memset object.
1622 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1623 (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
1624 * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
1625 implementation.
1626 * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
1627 Likewise.
1628 * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
1629 multiarch POWER8 memset optimization.
1630 * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
1631 POWER8 memset optimization.
1632
3b473fec
AZ
1633 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
1634 Remove bzero multiarch objects.
1635 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
1636 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
1637 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
1638 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
1639 Remove define.
1640 [__bzero]: Redefine to specific name.
1641 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
1642 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
1643 * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
1644 define.
1645 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
1646 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
1647
e6fb9587
FW
16482014-09-10 Florian Weimer <fweimer@redhat.com>
1649
1650 * Makeconfig (gccwarn-c): Turn implicit-function-declaration
1651 warnings into errors.
1652
1653 * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
1654 __cxa_thread_atexit_impl prototype.
1655
9d3a350b
SE
16562014-09-09 Steve Ellcey <sellcey@mips.com>
1657
1658 * sysdeps/mips/preconfigure: Put code inside mips* case statement.
1659 Fix capitalization of error message.
1660
0febba23
SE
16612014-09-09 Steve Ellcey <sellcey@mips.com>
1662
1663 * sysdeps/mips/preconfigure: Modify ABI tests.
1664
645a0e9c
CD
16652014-09-07 Carlos O'Donell <carlos@systemhalted.org>
1666
1667 * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
1668
d83f0734
CD
16692014-09-07 Roland McGrath <roland@hack.frob.com>
1670 Carlos O'Donell <carlos@systemhalted.org>
1671
1672 * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
1673 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
1674 * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
1675 * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
1676 * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
1677 * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
1678 * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
1679 * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
1680 * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
1681 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
1682 * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
1683 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
1684 * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
1685 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
1686 * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
1687 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
1688 * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
1689 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
1690 * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
1691 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
1692 * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
1693 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
1694 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
1695 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
1696 * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
1697 * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
1698 * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
1699 * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
1700 Deconditionalize the code that was previously under [RESET_PID].
1701 * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
1702 * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
1703 * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
1704 * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
1705 include sysdep.h.
1706
21c83793
AM
17072014-09-08 Allan McRae <allan@archlinux.org>
1708
1709 * version.h (RELEASE): Set to "development".
1710 (VERSION): Set to "2.20.90"
1711
1cd9b65c
AM
17122014-09-07 Allan McRae <allan@archlinux.org
1713
b8079dd0
AM
1714 * version.h (RELEASE): Set to "stable".
1715 (VERSION): Set to "2.20"
1716 * include/features.h (__GLIBC_MINOR__): Set to 20.
1717
c46303ef
AM
1718 * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
1719 Liebler.
1720
1cd9b65c
AM
1721 * po/ko.po: Update Korean translation from translation project.
1722
8622092d
CM
17232014-09-06 Chris Metcalf <cmetcalf@tilera.com>
1724
1725 [BZ #17354]
1726 * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
1727 macro for handling signed relocations.
1728
41488498
FW
17292014-09-03 Florian Weimer <fweimer@redhat.com>
1730
1731 [BZ #17325]
1732 * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
1733 * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
1734 assert.
1735 * iconvdata/ibm933.c (BODY): Fix check for sentinel.
1736 * iconvdata/ibm935.c (BODY): Likewise.
1737 * iconvdata/ibm937.c (BODY): Likewise.
1738 * iconvdata/ibm939.c (BODY): Likewise.
1739 * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
1740 assert.
1741 * iconvdata/Makefile (iconv-test.out): Pass module list to test
1742 script.
1743 * iconvdata/run-iconv-test.sh: New test loop for checking for
1744 decoder crashers.
1745
a78b712d
KR
17462014-09-02 Khem Raj <raj.khem@gmail.com>
1747
1748 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
1749 libm_hidden_ver.
1750
cb08abc6
AM
17512014-09-01 Allan McRae <allan@archlinux.org>
1752
2c31e102
AM
1753 * po/eo.po: Update Esperanto translation from translation project.
1754
cb08abc6
AM
1755 * po/ca.po: Update Catalan translation from translation project.
1756
17a62de1
ST
17572014-08-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
1758
1759 * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
1760 __proc_dostop call.
1761
9570bc53
MW
17622014-08-27 Mark Wielaard <mjw@redhat.com>
1763
1764 [BZ #17319]
1765 * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
1766 to call set_thread_area instead of hand written asm.
1767 (__NR_set_thread_area): Removed define.
1768 (TLS_FLAG_WRITABLE): Likewise.
1769 (__ASSUME_SET_THREAD_AREA): Remove check.
1770 (TLS_EBX_ARG): Remove define.
1771 (TLS_LOAD_EBX): Likewise.
1772
b0f955c9
ST
17732014-08-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
1774
1775 Simplify atomicity of socket creation in bind.
1776
1777 * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
1778 looking up the name after linking the file.
1779
529bf515
AM
17802014-08-27 Allan McRae <allan@archlinux.org>
1781
1782 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
1783
a1a6a401
FW
17842014-08-26 Florian Weimer <fweimer@redhat.com>
1785
1786 [BZ #17187]
1787 * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
1788 trans_compare, open_translit, __gconv_translit_find):
1789 Remove module loading code.
1790
686ab290
AM
17912014-08-26 Allan McRae <allan@archlinux.org>
1792
e4e7cfd2
AM
1793 * po/vi.po: Update Vietnamese translation from translation project.
1794
6aa09f71
AM
1795 * po/uk.po: Update Ukrainian translation from translation project.
1796
edc0660e
AM
1797 * po/fr.po: Update French translation from translation project.
1798
7eea72ac
AM
1799 * po/ru.po: Update Russian translation from translation project.
1800
93c49eff
AM
1801 * po/pl.po: Update Polish translation from translation project.
1802
46acaf63
AM
1803 * po/cs.po: Update Czech translation from translation project.
1804
a9f5ce98
AM
1805 * po/de.po: Update German translation from translation project.
1806
373f2b78
AM
1807 * po/bg.po: Update Bulgarian translation from translation project.
1808
e7548bd8
AM
1809 * po/sv.po: Update Sweedish translation from translation project.
1810
c526bf4d
AM
1811 * po/nl.po: Update Dutch translation from translation project.
1812
686ab290
AM
1813 * po/es.po: Update Spanish translation from translation project.
1814
eb72478a
SP
18152014-08-21 Siddhesh Poyarekar <siddhesh@redhat.com>
1816
dd763fdb
SP
1817 * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
1818
318c7a58
SP
1819 * catgets/Makefile (CPPFLAGS-gencat): Remove.
1820 * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
1821 (CPPFLAGS-iconvconfig): Likewise.
1822 * timezone/Makefile (CPPFLAGS-zic): Likewise.
1823
eb72478a
SP
1824 * include/libc-symbols.h: Remove unnecessary check for
1825 NOT_IN_libc.
1826 * nptl/pthreadP.h: Likewise.
1827 * sysdeps/aarch64/setjmp.S: Likewise.
1828 * sysdeps/alpha/setjmp.S: Likewise.
1829 * sysdeps/arm/sysdep.h: Likewise.
1830 * sysdeps/i386/setjmp.S: Likewise.
1831 * sysdeps/m68k/setjmp.c: Likewise.
1832 * sysdeps/posix/getcwd.c: Likewise.
1833 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
1834 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
1835 * sysdeps/s390/s390-32/setjmp.S: Likewise.
1836 * sysdeps/s390/s390-64/setjmp.S: Likewise.
1837 * sysdeps/sh/sh3/setjmp.S: Likewise.
1838 * sysdeps/sh/sh4/setjmp.S: Likewise.
1839 * sysdeps/unix/alpha/sysdep.h: Likewise.
1840 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
1841 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
1842 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
1843 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
1844 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
1845 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
1846 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
1847 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
1848 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
1849 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
1850 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
1851 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
1852 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
1853 * sysdeps/x86_64/setjmp.S: Likewise.
1854
d44a052c
JM
18552014-08-13 Joseph Myers <joseph@codesourcery.com>
1856
1857 [BZ #17263]
1858 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
1859 <stdint.h>.
1860 (__get_clockfreq): Use uint64_t instead of hp_timing_t in
1861 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
1862
508ce3ac
SP
18632014-08-13 Siddhesh Poyarekar <siddhesh@redhat.com>
1864
e44c8b0e
SP
1865 * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
1866
508ce3ac
SP
1867 [BZ #17262]
1868 * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
1869 and __x86_64__ when disabling x87 inline functions.
1870
b4acef1f
L
18712014-08-12 H.J. Lu <hongjiu.lu@intel.com>
1872
1873 [BZ #17259]
1874 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
1875 asm statement with __cpuid_count.
1876
61b1ef6e
MF
18772014-08-12 Mike Frysinger <vapier@gentoo.org>
1878
1879 * configure.ac: Change __ehdr_start code to dereference the struct.
1880 Run readelf on the output to look for relocations.
1881 * configure: Regenerated.
1882
898c62f4
JM
18832014-08-12 Joseph Myers <joseph@codesourcery.com>
1884
1885 [BZ #17261]
1886 * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
1887 value to 0.
1888 (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
1889
9a8a5720
RM
18902014-08-12 Roland McGrath <roland@hack.frob.com>
1891
1892 * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
1893
4e75751c
BO
18942014-08-12 Bernard Ogden <bernie.ogden@linaro.org>
1895
1896 [BZ #16892]
1897 * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
1898 atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
1899
bb2ce416
SA
19002014-08-12 Sean Anderson <seanga2@gmail.com>
1901
1902 * malloc/malloc.c: Fix typo in comment.
1903
7950a4ee
AM
19042014-08-09 Allan McRae <allan@archlinux.org>
1905
1906 * Regenerate libc.po.
1907
f469c49f
MF
19082014-08-08 Mike Frysinger <vapier@gentoo.org>
1909
1910 * intl/tst-gettext2.sh: Check every lang file for creation.
1911
656b84c2
WD
19122014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
1913
1914 * sysdeps/aarch64/fpu/math_private.h
1915 (libc_feholdsetround_noex_aarch64_ctx): New function.
1916
538e9e45
W
19172014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
1918
1919 * sysdeps/arm/armv6/strcpy.S (strcpy):
1920 Fix performance issue in misaligned cases.
1921
d4795e4a
AZ
19222014-08-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1923
1924 * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
1925 Move definition from termios.h.
1926 (struct termio): Likewise.
1927 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
1928 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
1929 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
1930 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
1931 Likewise.
1932 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
1933 Move definition to ioctl-types.h
1934 (struct termio): Likewise.
1935 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
1936 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
1937 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
1938 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
1939 Likewise.
1940
64accb62
RH
19412014-08-05 Richard Henderson <rth@redhat.com>
1942
27bb6dc0
RH
1943 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
1944 exceptions.
1945 * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
1946 Add fraiseexcpt.
1947 * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
1948 Use __feraiseexcept.
1949 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
1950 Protect libm symbols with IS_IN_libm.
1951
64accb62
RH
1952 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
1953
e5292691
BO
19542014-08-04 Bernard Ogden <bernie.ogden@linaro.org>
1955
1956 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
1957
5b4bd2d4
WN
19582014-08-04 Will Newton <will.newton@linaro.org>
1959
1960 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
1961 file.
1962
fcadaeef
MF
19632014-08-04 Mike Frysinger <vapier@gentoo.org>
1964
1965 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
1966 variants for each function.
1967
43a94c64
RM
19682014-08-04 Roland McGrath <roland@hack.frob.com>
1969
1970 * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
1971 appended ...
1972 * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
1973 * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
1974 appended ...
1975 * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
1976 * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
1977 * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
1978 * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
1979 * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
1980 * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
1981 * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
1982 * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
1983 * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
1984 * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
1985 * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
1986 * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
1987 * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
1988 * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
1989 * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
1990 * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
1991 * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
1992 * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
1993 * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
1994 * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
1995 * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
1996 * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
1997 * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
1998 * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
1999 * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
2000 * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
2001 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
2002 * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
2003 * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
2004 * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
2005 * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
2006 * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
2007 * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
2008 * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
2009 * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
2010 * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
2011 * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
2012 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
2013 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
2014 * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
2015 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
2016 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
2017 * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
2018 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
2019 * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
2020 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
2021 * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
2022 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
2023 * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
2024 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
2025 * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
2026 * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
2027 * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
2028 Update #include.
2029 * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
2030 * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
2031
8f3c1fa4
RM
20322014-08-04 Roland McGrath <roland@hack.frob.com>
2033
2034 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
2035 * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
2036 * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
2037 * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
2038 * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
2039 * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
2040
ca08746f
RM
20412014-08-04 Roland McGrath <roland@hack.frob.com>
2042
2043 * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
2044 * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
2045 * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
2046 * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
2047
9c925ff9
RM
20482014-08-04 Roland McGrath <roland@hack.frob.com>
2049
2050 * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
2051 * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
2052 (__libc_vfork): Define function under this name.
2053 (__vfork): Define as an alias.
2054 * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
2055 * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
2056
e641054c
RM
20572014-08-04 Roland McGrath <roland@hack.frob.com>
2058
2059 * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
2060 that was previously under [RESET_PID].
2061 * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
2062
dacdc867
AS
20632014-08-04 Andreas Schwab <schwab@suse.de>
2064
2065 * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
2066
41f725ff
MF
20672014-08-03 Mike Frysinger <vapier@gentoo.org>
2068
2069 * stdlib/tst-setcontext.c (test_stack): Fix coding style.
2070 (main): Likewise.
2071
277cfb31
RM
20722014-08-01 Roland McGrath <roland@hack.frob.com>
2073
2074 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
2075
4896f049
RH
20762014-08-01 Richard Henderon <rth@redhat.com>
2077
2078 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
2079 feclearexcept; use math_opt_barrier instead of open-coded asm; fix
2080 typo in exact zero test.
2081 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
2082 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
2083 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
2084
6f64e7d7
RM
20852014-08-01 Roland McGrath <roland@hack.frob.com>
2086
2087 * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
2088 (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
2089 * sysdeps/arm/sysdep.h: ... here.
2090 [!__ASSEMBLER__]: Include <stdint.h>.
2091
3f3dd810
SP
20922014-08-01 Siddhesh Poyarekar <siddhesh@redhat.com>
2093
a476ac4b
SP
2094 * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
2095 (HAVE_WCTYPE_H): Likewise.
2096 (HAVE_ISWCTYPE): Likewise.
2097 (ENABLE_NLS): Likewise.
2098 * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
2099 && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
2100
78dd658a
SP
2101 * posix/regex_internal.c: Check if DEBUG is defined and is
2102 set.
2103
3f3dd810
SP
2104 * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
2105 (HAVE_MBSRTOWCS): Likewise.
2106 * posix/fnmatch.c: Include string.h unconditionally.
2107
95ee7fb1
SL
21082014-08-01 Stefan Liebler <stli@linux.vnet.ibm.com>
2109
2110 * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
2111 reversal.
2112
23fe486b
RM
21132014-07-31 Roland McGrath <roland@hack.frob.com>
2114
f61a113f
RM
2115 * sysdeps/generic/safe-fatal.h: New file.
2116 * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
2117 * nptl/forward.c: Include it.
2118 (__pthread_unwind): Use __safe_fatal as default action, rather
2119 than a bogus use of INTERNAL_SYSCALL that could never work.
2120
9fe7e787
RM
2121 * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
2122 * configure.ac (libc_cv_builtin_trap): New test.
2123 * configure: Regenerated.
2124 * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
2125 (ABORT_INSTRUCTION): Define using __builtin_trap.
2126
23fe486b
RM
2127 * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
2128 * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
2129 * sysdeps/nptl/nptl-signals.h: New file.
2130 * nptl/pthreadP.h: Include <nptl-signals.h>.
2131
f349489e
SL
21322014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
2133
2134 * sysdeps/s390/s390-64/utf16-utf32-z9.c
2135 (ONE_DIRECTION): Define.
2136 * sysdeps/s390/s390-64/utf8-utf16-z9.c
2137 (ONE_DIRECTION): Define.
2138 * sysdeps/s390/s390-64/utf8-utf32-z9.c
2139 (ONE_DIRECTION): Define.
2140
2f438e20
SL
21412014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
2142
2143 * sysdeps/s390/Makefile: Delete file.
2144 * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
2145 * sysdeps/s390/__longjmp.c: Delete file.
2146 * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
2147 Remove fields __flags and __reserved.
2148 * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
2149 and add versioning.
2150 * sysdeps/s390/rtld-__longjmp.c: Delete file.
2151 * sysdeps/s390/rtld-global-offsets.sym: Likewise.
2152 * sysdeps/s390/rtld-setjmp.S: Likewise.
2153 * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
2154 * sysdeps/s390/s390-32/__longjmp.c: ... here.
2155 * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
2156 * sysdeps/s390/s390-32/setjmp.S: ... here.
2157 Add versioning.
2158 (__sigsetjmp): Remove setting __flags field.
2159 * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
2160 * sysdeps/s390/s390-64/__longjmp.c: ... here.
2161 * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
2162 * sysdeps/s390/s390-64/setjmp.S: ... here.
2163 Add versioning.
2164 (__sigsetjmp): Remove setting __flags field.
2165 * sysdeps/s390/setjmp.S: Delete file.
2166 * sysdeps/s390/sigjmp.c: Likewise.
2167 * sysdeps/s390/v1-longjmp.c: Likewise.
2168 * sysdeps/s390/v1-setjmp.h: Likewise.
2169 * sysdeps/s390/v1-sigjmp.c: Likewise.
2170 * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
2171 Remove v1-longjmp_chk.
2172 * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
2173 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
2174 Include debug/longjmp_chk.c and add versioning.
2175 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
2176 Include nptl/pt-longjmp.c and add versioning.
2177 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
2178 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
2179 Include __longjmp.c.
2180 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
2181 Move to ...
2182 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
2183 (__getcontext): Remove setting __flags field.
2184 Add versioning.
2185 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
2186 Don't restore upper high grps.
2187 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
2188 Likewise.
2189 (__swapcontext): Remove setting uc_flags field.
2190 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
2191 Delete file.
2192 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
2193 Include __longjmp.c.
2194 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
2195 Move to ...
2196 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
2197 (__getcontext): Remove setting __flags field.
2198 Add versioning.
2199 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
2200 (__swapcontext): Remove setting uc_flags field.
2201 * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
2202 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
2203 Remove fields uc_high_gprs and __reserved.
2204 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
2205 New file with reverted content.
2206 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
2207 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
2208 Regenerated.
2209 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
2210 Regenerated.
2211
6c9578a2
AS
22122014-07-31 Andreas Schwab <schwab@suse.de>
2213
2214 * config.h.in (HAVE_IFUNC): Define to 0.
2215 * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
2216 definedness.
2217
05f3633d
LM
22182014-07-30 Ling Ma <ling.ml@alibaba-inc.com>
2219
2220 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
2221 memmove-avx-unaligned, memcpy-avx-unaligned and
2222 mempcpy-avx-unaligned.
2223 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
2224 Add tests for AVX memcpy functions.
2225 * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
2226 * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
2227 memcpy_chk.
2228 * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
2229 * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
2230 memmove_chk.
2231 * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
2232 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
2233 mempcpy_chk.
2234 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
2235 * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
2236 * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
2237
a53fbd8e
AZ
22382013-07-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2239
2240 [BZ #17213]
2241 * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
2242 powerpc64le.
2243
0961f7e1
JL
22442014-07-29 Jeff Layton <jlayton@poochiereds.net>
2245
2246 [BZ #16839]
2247 * manual/llio.texi: Add section about open file description locks.
2248 * manual/examples/ofdlocks.c: Example of open file description
2249 lock usage.
2250 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
2251 F_OFD_SETLK, and F_OFD_SETLKW.
2252
cc5fb300
AM
22532014-07-23 Allan McRae <allan@archlinux.org>
2254
2255 * po/es.po: Update Spanish translation from translation project.
2256
23329dca
AS
22572014-07-18 Andreas Schwab <schwab@linux-m68k.org>
2258
2259 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
2260
9c82da17
MR
22612014-07-17 Maciej W. Rozycki <macro@codesourcery.com>
2262
2263 [BZ #17078]
2264 * sysdeps/arm/dl-machine.h (elf_machine_rela)
2265 [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
2266 (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
2267
29c4f53e
JM
22682014-07-17 Joseph Myers <joseph@codesourcery.com>
2269
831b9896
JM
2270 [BZ #17088]
2271 * math/fesetenv.c (__fesetenv)
2272 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
2273 * math/feupdateenv.c (__feupdateenv)
2274 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
2275
b21c2d50
JM
2276 * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
2277 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
2278 (__ASSUME_SOCKETCALL): Do not define.
2279
067764ef
JM
2280 * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
2281 * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
2282 (__ASSUME_SOCKETCALL): Do not define.
2283 (__ASSUME_ST_INO_64_BIT): Define unconditionally.
2284 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
2285 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
2286 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
2287 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
2288 [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
2289 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
2290 [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
2291
642530c1
JM
2292 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
2293 * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
2294 (__ASSUME_SOCKETCALL): Do not define.
2295 (__ASSUME_IPC64): Define unconditionally.
2296 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
2297 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
2298 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
2299 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
2300 [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
2301 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
2302 [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
2303 Likewise.
2304
03f77315
JM
2305 * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
2306 * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
2307 (__ASSUME_SOCKETCALL): Do not define.
2308 (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
2309 (__ASSUME_FUTEX_LOCK_PI): Likewise.
2310 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
2311 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
2312 (__ASSUME_REQUEUE_PI): Define unconditionally.
2313 [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
2314 (__ASSUME_RECVMMSG_SYSCALL): Do not define.
2315 [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
2316 [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
2317 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
2318 [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
2319
083b1f7c
JM
2320 * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
2321 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
2322 (__ASSUME_SOCKETCALL): Do not define.
2323 [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
2324 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
2325 [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
2326 [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
2327 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
2328 [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
2329
5be44ea6
JM
2330 * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
2331 * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
2332 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
2333 [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
2334 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
2335 [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
2336 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
2337 [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
2338 (__ASSUME_GETCPU_SYSCALL): Likewise.
2339
d95ffd4c
JM
2340 * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
2341 * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR. Remove
2342 cases for individual architectures.
2343 * sysdeps/gnu/configure: Regenerated.
2344 * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
2345 LIBC_SLIBDIR_RTLDDIR.
2346 * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
2347 * sysdeps/unix/sysv/linux/mips/configure.ac: Use
2348 LIBC_SLIBDIR_RTLDDIR.
2349 * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
2350 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
2351 LIBC_SLIBDIR_RTLDDIR.
2352 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
2353 Regenerated.
2354 * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
2355 * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
2356 file.
2357 * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
2358 * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
2359 file.
2360 * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
2361 * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
2362 * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
2363 * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
2364
29c4f53e
JM
2365 * sysdeps/aarch64/shlib-versions: Move to ...
2366 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
2367 * sysdeps/alpha/shlib-versions: Move to ...
2368 * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
2369 * sysdeps/arm/shlib-versions: Move to ...
2370 * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
2371 * sysdeps/hppa/shlib-versions: Move all contents except for
2372 libgcc_s entry to ...
2373 * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here. Merge in
2374 entry from ...
2375 * sysdeps/hppa/nptl/shlib-versions: ... here. Remove file.
2376 * sysdeps/ia64/shlib-versions: Move to ...
2377 * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here. Merge in
2378 entry from ...
2379 * sysdeps/ia64/nptl/shlib-versions: ... here. Remove file.
2380 * sysdeps/m68k/coldfire/shlib-versions: Move to ...
2381 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
2382 * sysdeps/microblaze/shlib-versions: Move to ...
2383 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
2384 * sysdeps/mips/shlib-versions: Move to ...
2385 * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here. Merge in
2386 entry from ...
2387 * sysdeps/mips/nptl/shlib-versions: ... here. Remove file.
2388 * sysdeps/tile/shlib-versions: Move to ...
2389 * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
2390 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
2391 from ...
2392 * sysdeps/x86_64/64/shlib-versions: ... here. Remove file.
2393 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
2394 entry from ...
2395 * sysdeps/x86_64/x32/shlib-versions: ... here. Remove file.
2396
32bead5b
WN
23972014-07-17 Will Newton <will.newton@linaro.org>
2398
57977c4b
WN
2399 * sysdeps/arm/bits/atomic.h
2400 (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
2401 (__arch_compare_and_exchange_bool_16_int): Likewise.
2402 (__arch_compare_and_exchange_bool_64_int): Likewise.
2403
32bead5b
WN
2404 * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
2405 into an #else block.
2406
37fccd41
RM
24072014-07-16 Roland McGrath <roland@hack.frob.com>
2408
2409 * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
2410 just Linux configurations. Test empirically that the compiler sets
2411 __ARM_EABI__, rather than using the tuple to decide.
2412 * sysdeps/arm/preconfigure: Regenerated.
2413 * sysdeps/unix/sysv/linux/arm/configure: File removed.
2414 * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
2415 contents appended ...
2416 * sysdeps/arm/configure.ac: ... here.
2417 * sysdeps/arm/configure: Regenerated.
2418
b365f3ec
RM
24192014-07-15 Roland McGrath <roland@hack.frob.com>
2420
8badf496
RM
2421 * nptl/pthread_kill.c: New file.
2422 * nptl/pthread_sigmask.c: New file.
2423 * nptl/pthread_sigqueue.c: New file.
2424
3df6f22e
RM
2425 * sysdeps/nptl/lowlevellock.h: New file.
2426 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
2427 * sysdeps/nptl/lowlevellock-futex.h: New file.
2428
b365f3ec
RM
2429 * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
2430 Remove dead declarations.
2431
f2fef657
L
24322014-07-14 H.J. Lu <hongjiu.lu@intel.com>
2433
2434 * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
2435 * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
2436 config-cflags-avx2.
2437 * sysdeps/x86_64/configure.ac: Likewise.
2438 * sysdeps/i386/configure: Regenerated.
2439 * sysdeps/x86_64/configure: Likewise.
2440 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
2441 memset-avx2 only if config-cflags-avx2 is yes.
2442 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
2443 Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
2444 defined.
2445 * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
2446 only if HAVE_AVX2_SUPPORT is defined.
2447 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
2448
f6c44d47
AM
24492014-07-14 Alan Modra <amodra@gmail.com>
2450
2451 [BZ #17153]
2452 * elf/elf.h (DT_PPC64_NUM): Correct value.
2453 * NEWS: Add to fixed bug list.
2454
7ee03f00
JM
24552014-07-13 Jim Meyering <meyering@fb.com>
2456
2457 [BZ 17150]
2458 regex: don't deref NULL upon heap allocation failure
2459 * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
2460 failure in one more place.
2461 To trigger the segfault, configure grep -with-included-regex,
2462 build it, and run these commands:
2463 ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
2464
9d39d517
AS
24652014-07-13 Andreas Schwab <schwab@linux-m68k.org>
2466
2467 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
2468
a75b89b7
RH
24692014-07-11 Richard Henderson <rth@redhat.com>
2470
2471 * sysdeps/aarch64/libm-test-ulps: Update.
2472
771eb141
FW
24732014-07-10 Florian Weimer <fweimer@redhat.com>
2474
2475 [BZ #17135]
2476 * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
2477 * nptl/allocatestack.c (__nptl_setxid_error): New function.
2478 (__nptl_setxid): Initialize error member. Call
2479 __nptl_setxid_error.
2480 * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
2481 * nptl/descr.h (struct xid_command): Add error member.
2482 * nptl/tst-setuid3.c: New file.
2483 * nptl/Makefile (tests): Add it.
2484
bc1da176
AZ
24852014-07-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2486
2487 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
2488 New define.
2489 (__lll_trylock): Use __lll_base_trylock.
2490 (__lll_cond_trylock): Likewise.
2491
887865fc
RM
24922014-07-10 Roland McGrath <roland@hack.frob.com>
2493
c0c6bac9
RM
2494 * nptl/pthread_create.c (start_thread): Use atomic_or and
2495 lll_futex_wake directly rather than lll_robust_dead.
2496 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
2497 (lll_robust_dead): Macro removed.
6a42be57 2498 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
c0c6bac9
RM
2499 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
2500 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
2501 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
2502 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
2503 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
2504 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
2505 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
2506 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
2507 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
2508 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
2509 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
2510 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
2511 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
2512 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
2513
887865fc
RM
2514 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
2515 Use atomic_compare_and_exchange_val_acq directly rather than
2516 lll_robust_trylock.
2517 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
2518 (__lll_robust_trylock, lll_robust_trylock): Removed.
2519 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
2520 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
2521 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
2522 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
2523 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
2524 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
2525 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
2526 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
2527 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
2528 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
2529 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
2530 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
2531 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
2532 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
2533
58536726
FW
25342014-07-02 Florian Weimer <fweimer@redhat.com>
2535
2536 * manual/locale.texi (Locale Names): New section documenting
2537 locale name syntax. Adjust menu and node chaining accordingly.
2538 (Choosing Locale): Reference Locale Names, Locale Categories.
2539 Mention setting LC_ALL=C. Reflect that name syntax is now
2540 documented.
2541 (Locale Categories): New section title. Reference Locale Names.
2542 LC_ALL is an environment variable, but not a category.
2543 (Setting the Locale): Remove "locale -a" invocation and LOCPATH
2544 description, now in Locale Name. Reference that section. Locale
2545 name syntax is now documented.
2546
4e8f95a0
FW
25472014-07-02 Florian Weimer <fweimer@redhat.com>
2548
2549 [BZ #17137]
2550 * locale/findlocale.c (name_present, valid_locale_name): New
2551 functions.
2552 (_nl_find_locale): Use the loc_name variable to store name
2553 candidates. Call name_present and valid_locale_name to check and
2554 validate locale names. Return an error if the locale is invalid.
2555
d1836456
FW
25562014-07-02 Florian Weimer <fweimer@redhat.com>
2557
2558 * locale/setlocale.c (setlocale): Use strdup for allocating
2559 composite name copy.
2560
d69b7f5a
SP
25612014-07-10 Siddhesh Poyarekar <siddhesh@redhat.com>
2562
888c679b
SP
2563 Sync up with gnulib.
2564 * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
2565 [!_LIBC && ENABLE_NLS]: Include gettext.h.
2566 [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
2567 and _GL_ARG_NONNULL.
2568 [USE_UNLOCKED_IO]: Include unlocked-io.h.
2569 [!_LIBC]: Include code for Windows and Cygwin.
2570 [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
2571 Include prototype for int strerror_r.
2572 [!_LIBC] (is_open): New function.
2573 (flush_stdout): New function.
2574 (print_errno_message): Use it.
2575 (error): Likewise.
2576 (error_at_line): Likewise.
2577 (error_tail) Add function attribute macros. Use
2578 __builtin_expect.
2579
180e0e4b
SP
2580 * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
2581
d22f1fe2
SP
2582 * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
2583
12f2254b
SP
2584 * io/ftw.c: Include sys/param.h unconditionally.
2585
c3c7c360
SP
2586 * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
2587
d62aa75a
SP
2588 [BZ #17125]
2589 * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
2590 libc_freeres_ptr.
2591 (freecache): New function to free CACHE on exit.
2592
d69b7f5a
SP
2593 * sunrpc/xdr.c (xdr_string): Add comment about SIZE
2594 initialization.
2595
5efe06a1
DM
25962014-07-09 David S. Miller <davem@davemloft.net>
2597
2598 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2599
7000d82e
DM
2600 * sysdeps/sparc/nptl/internaltypes.h: Delete.
2601 * sysdeps/sparc/nptl/sparc-nptl.h: New file.
2602 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
2603 * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
2604 * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
2605 * sysdeps/sparc/nptl/sem_init.c: Likewise.
2606 * sysdeps/sparc/nptl/sem_post.c: Likewise.
2607 * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
2608 * sysdeps/sparc/nptl/sem_wait.c: Likewise.
2609 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
2610 * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
2611 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
2612 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
2613
c213442d
AS
26142014-07-09 Andreas Schwab <schwab@suse.de>
2615
4a2552c3
AS
2616 * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
2617 output.
2618 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
2619 (do_test): Likewise.
2620
c213442d
AS
2621 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
2622
82374e65
WN
26232014-07-09 Will Newton <will.newton@linaro.org>
2624
2625 * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
2626 * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
2627 * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
2628 * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
2629 * sysdeps/hppa/start.S (_start): Likewise.
2630
6680738a
SP
26312014-07-09 Siddhesh Poyarekar <siddhesh@redhat.com>
2632
6ee3eab4
SP
2633 * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
2634
6680738a
SP
2635 * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
2636 defined.
2637
80b5c505
SP
26382014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
2639
e35c53e3
SP
2640 * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
2641 after checking that it is non-NULL.
2642
80b5c505
SP
2643 * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
2644
91f4b564
AZ
26452014-07-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2646
27b75f56
AZ
2647 * sysdeps/powerpc/memmove.c: Remove file.
2648 * sysdeps/powerpc/powerpc32/power4/memcopy.h
2649 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
2650 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
2651 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
2652 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
2653 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
2654 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
2655 string memmove instead of removed powerpc one.
2656
e7f95bb5
AZ
2657 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
2658 [weak_alias]: Fix compiler warning due trailing data.
2659 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
2660 [weak_alias]: Likewise.
2661 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
2662 warnigs due missing definition of __strcpy_power7 and __strlen_power7.
2663
91f4b564
AZ
2664 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
2665 (__libc_ifunc_impl_list): Add memmove functions.
2666
7c33f1e5
SP
26672014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
2668
2669 * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
2670 Remove code.
2671 * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
2672 Likewise
2673 * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
2674 Likewise
2675 * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
2676 Likewise
2677 * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
2678 Likewise
2679 * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
2680 Likewise
2681 * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
2682 Likewise
2683 * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
2684 Likewise
2685 * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
2686 Likewise
2687 * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
2688 Likewise
2689 * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
2690 Likewise
2691 * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
2692 Likewise
2693 * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
2694 Likewise
2695 * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
2696 Likewise
2697 * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
2698 Likewise
2699 * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
2700 Likewise
2701 * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
2702 Likewise
2703
3f17b03b
AZ
27042014-07-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2705
87868c24
AZ
2706 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
2707 to avoid alignment traps in non-cacheable memory.
2708 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
2709
07aedd78
AZ
2710 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
2711 multiarch objects.
2712 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
2713 file: multiarch power7 memmove.
2714 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
2715 multiarch default memmove.
2716 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
2717 multiarch memove for powerpc32/power4.
2718
17762f66
AZ
2719 * string/bcopy.c: Use full path to include memmove.c.
2720 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
2721 multiarch objects.
2722 * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
2723 bcopy for powerpc64.
2724 * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
2725 bcopy for powerpc64.
2726 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
2727 and memmove implementations.
2728 * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
2729 optimized multiarch memmove for POWER7/powerpc64.
2730 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
2731 default multiarch memmove for powerpc64.
2732 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
2733 multiarch for powerpc64.
2734 * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
2735 for POWER7/powerpc64.
2736 * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
2737 memmove for POWER7/powerpc64.
2738
d6f68bbe
AZ
2739 * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
2740 glibc default one.
2741
3f17b03b
AZ
2742 * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
2743 __ELF_NATIVE_CLASS equal to 64.
2744
08192659
RM
27452014-07-07 Roland McGrath <roland@hack.frob.com>
2746
f4c4021b
RM
2747 * sysdeps/nptl/lowlevellock.h: File removed.
2748
f083450f
RM
2749 * NEWS: NPTL is no longer an add-on!
2750 * nptl/internaltypes.h: Moved ...
2751 * sysdeps/nptl/internaltypes.h: ... here.
2752 * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
2753 * sysdeps/nptl/fork.c: Likewise.
2754 * sysdeps/nptl/gai_misc.h: Likewise.
2755 * sysdeps/nptl/librt-cancellation.c: Likewise.
2756 * sysdeps/nptl/jmp-unwind.c: Likewise.
2757 * sysdeps/nptl/setxid.h: Likewise.
2758 * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
2759 * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
2760 * sysdeps/unix/sysv/linux/arm/Implies: New file.
2761 * sysdeps/unix/sysv/linux/hppa/Implies: New file.
2762 * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
2763 * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
2764 * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
2765 * sysdeps/unix/sysv/linux/m68k/Implies: New file.
2766 * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
2767 * sysdeps/unix/sysv/linux/mips/Implies: New file.
2768 * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
2769 * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
2770 * sysdeps/unix/sysv/linux/sh/Implies: New file.
2771 * sysdeps/unix/sysv/linux/sparc/Implies: New file.
2772 * sysdeps/unix/sysv/linux/tile/Implies: New file.
2773 * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
2774 * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
2775 * nptl/Makeconfig: Moved ...
2776 * sysdeps/nptl/Makeconfig: ... here.
2777 * nptl/configure: File removed.
2778 * nptl/ANNOUNCE: File removed.
2779 * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
2780 * sysdeps/unix/sysv/linux/configure: Regenerated.
2781
08192659
RM
2782 * nptl/Makefile (routines): Add libc_pthread_init,
2783 libc_multiple_threads, register-atfork and unregister-atfork.
2784 (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
2785 (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
2786 lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
2787 pthread-pi-defines.sym, structsem.sym.
2788 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
2789 (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
2790 [$(subdir) = nptl] (tests): Add tst-setgetname.
2791 * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
2792 * sysdeps/unix/sysv/linux/sigaction.c: Just include
2793 <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
2794 [!LIBC_SIGACTION]: Remove aliases.
2795 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
2796 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
2797 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
2798 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
2799 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
2800 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
2801 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
2802 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
2803 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
2804 * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
2805 (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
2806 __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
2807 __libc_allocate_rtsig_private.
2808 * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
2809 * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
2810 * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
2811 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
2812 * sysdeps/unix/sysv/linux/sleep.c: Likewise.
2813 * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
2814 * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
2815 * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
2816 * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
2817 * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
2818 * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
2819 * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
2820 * nptl/internaltypes.h: ... here.
2821 * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
2822 * sysdeps/nptl/jmp-unwind.c: ... here.
2823 * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
2824 * nptl/libc-lowlevellock.c: ... here.
2825 * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
2826 * nptl/libc_multiple_threads.c: ... here.
2827 * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
2828 * nptl/libc_pthread_init.c: ... here.
2829 * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
2830 * nptl/lowlevelbarrier.sym: ... here.
2831 * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
2832 * nptl/lowlevelcond.sym: ... here.
2833 * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
2834 * nptl/lowlevellock.c: ... here.
2835 * nptl/lowlevellock.h: Moved ...
2836 * sysdeps/nptl/lowlevellock.h: ... here.
2837 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
2838 * nptl/lowlevelrobustlock.c: ... here.
2839 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
2840 * nptl/lowlevelrobustlock.sym: ... here.
2841 * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
2842 * nptl/lowlevelrwlock.sym: ... here.
2843 * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
2844 * nptl/pt-fork.c: ... here.
2845 * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
2846 * nptl/pthread-pi-defines.sym: ... here.
2847 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
2848 * nptl/pthread_attr_getaffinity.c: ... here.
2849 * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
2850 * nptl/pthread_attr_setaffinity.c: ... here.
2851 * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
2852 * nptl/pthread_mutex_cond_lock.c: ... here.
2853 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
2854 Update #include.
2855 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
2856 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
2857 * nptl/pthread_once.c: ... here, replacing old file.
2858 * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
2859 * nptl/pthread_yield.c: ... here.
2860 * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
2861 * nptl/register-atfork.c: ... here.
2862 * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
2863 * nptl/sem_post.c: ... here.
2864 * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
2865 * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
2866 * nptl/sem_timedwait.c: ... here.
2867 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
2868 * nptl/sem_trywait.c: ... here.
2869 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
2870 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
2871 * nptl/sem_wait.c: ... here.
2872 * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
2873 * nptl/structsem.sym: ... here.
2874 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
2875 * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
2876 * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
2877 * nptl/unregister-atfork.c: ... here.
2878 * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
2879 * nptl/unwindbuf.sym: ... here.
2880 * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
2881 * sysdeps/nptl/fork.c: ... here.
2882 * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
2883 * sysdeps/nptl/fork.h: ... here.
2884 * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
2885 * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
2886 * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
2887 * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
2888 * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
2889 * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
2890 * sysdeps/unix/sysv/linux/getpid.c: ... here.
2891 * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
2892 * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
2893 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
2894 * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
2895 * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
2896 * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
2897 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
2898 * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
2899 * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
2900 * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
2901 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
2902 * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
2903 * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
2904 * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
2905 * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
2906 * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
2907 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
2908 * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
2909 * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
2910 * sysdeps/unix/sysv/linux/raise.c: ... here.
2911 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
2912 * sysdeps/unix/sysv/linux/timer_create.c: ... here.
2913 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
2914 * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
2915 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
2916 * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
2917 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
2918 * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
2919 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
2920 * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
2921 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
2922 * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
2923 * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
2924 * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
2925 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
2926
96baf6ff
SP
29272014-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
2928
2929 * sysdeps/generic/memcopy.h: Add comment for
2930 MEMCPY_OK_FOR_FWD_MEMMOVE.
2931
6b7b14b2
WN
29322014-07-04 Will Newton <will.newton@linaro.org>
2933
1570a72b
WN
2934 * string/memchr.c: Merge from gnulib.
2935 [_LIBC]: Remove conditionals.
2936 (__ptr_t): Remove define.
2937 (LONG_MAX_32_BITS): Likewise.
2938 (LONG_MAX): Likewise.
2939 (MEMCHR): Use ANSI prototype and optimize algorithm.
2940
6b7b14b2
WN
2941 * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
2942
38851324
SP
29432014-07-03 Roland McGrath <roland@hack.frob.com>
2944
3d9eb57c
RM
2945 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
2946 (lll_futex_timed_wait_bitset): Fix syscall argument count.
2947
78b984ae
RM
2948 * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
2949 Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
2950 in a bare environment with no <stdlib.h> installed.
2951 * sysdeps/nptl/configure: Regenerated.
2952
2d5976a5
RM
2953 * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
2954
c1f5acd4
RM
2955 * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
2956 AC_EGREP_CPP for kernel header checks, so they only succeed if
2957 including <linux/version.h> actually works right.
2958 * sysdeps/unix/sysv/linux/configure: Regenerated.
2959
4d614fe5
RM
2960 * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
2961 value so it's not diagnosed as unused.
2962
38851324
SP
2963 * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
2964 thing) with "ifeq ($(subdir),rt)".
2965
b3ec00e5
RH
29662014-07-03 Richard Henderson <rth@redhat.com>
2967
69862e25
RH
2968 * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
2969 * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
2970 include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
2971
d5e16ade
RH
2972 * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
2973 (math_force_eval): New.
2974
ca7b945c
RH
2975 * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
2976 * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
2977
cd1175a3
RH
2978 * sysdeps/alpha/fpu/s_round.c: Remove file.
2979 * sysdeps/alpha/fpu/s_roundf.c: Remove file.
2980
b3ec00e5
RH
2981 * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
2982 (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
2983 * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
2984 (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
2985 (_dl_start, print_statistics): Likewise.
2986 * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
2987 HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
2988
2989 * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
2990 * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
2991 * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
2992 * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
2993 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
2994 (HP_SMALL_TIMING_AVAIL): Define.
2995 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
2996 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
2997 (HP_SMALL_TIMING_AVAIL): Define.
2998 * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
2999 * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
3000
3001 * sysdeps/aarch64/hp-timing.h: New file.
3002
3003 * sysdeps/generic/hp-timing.h: Remove dead comment.
3004 * sysdeps/generic/hp-timing-common.h: New file.
3005 * sysdeps/alpha/hp-timing.h: Include it.
3006 (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
3007 * sysdeps/i386/i686/hp-timing.h: Likewise.
3008 * sysdeps/ia64/hp-timing.h: Likewise.
3009 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
3010 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
3011 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
3012 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
3013 * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
3014 (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
3015 (hp_timing_t): New.
3016
3017 * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
3018 * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
3019 (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
3020 * elf/rtld.c (_dl_start_final): Likewise.
3021 * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
3022 * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
3023 * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
3024 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
3025 * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
3026 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
3027 (HP_TIMING_DIFF_INIT): Remove.
3028 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
3029 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
3030 (HP_TIMING_DIFF_INIT): Remove.
3031 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
3032 * sysdeps/i386/i686/hp-timing.c: Remove file.
3033 * sysdeps/x86_64/hp-timing.c: Remove file.
3034 * sysdeps/ia64/hp-timing.c: Remove file.
3035 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
3036 * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
3037 * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
3038 * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
3039
3040 * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
3041 * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
3042 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
3043 * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
3044 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
3045 (HP_TIMING_ACCUM): Remove.
3046 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
3047 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
3048 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
3049
3050 * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
3051 * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
3052 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
3053 * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
3054 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
3055 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
3056 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
3057 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
3058
3059 * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
3060
225f410f
MR
30612014-07-03 Maciej W. Rozycki <macro@codesourcery.com>
3062
3063 * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
3064
3247f285
SP
30652014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
3066
3067 Sync up with gettext.
3068 * intl/loadmsgcat.c: Define O_BINARY if not defined.
3069 [_MSC_VER]: Include malloc.h
3070 [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
3071 (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
3072 (_nl_load_domain): Open DOMAIN_FILE in binary mode. Don't use
3073 TEMP_FAILURE_RETRY. Cast return of alloca.
3074 [!_LIBC] Call gl_rwlock_init.
3075 [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
3076
d12704c7
SP
30772014-07-02 Roland McGrath <roland@hack.frob.com>
3078
3079 * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
3080 before checking its value.
3081
99f8dc92
SP
30822014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
3083
05fdac77
SP
3084 * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
3085
99f8dc92
SP
3086 * debug/memcpy_chk.c: Don't include pagecopy.h.
3087 * debug/mempcpy_chk.c: Likewise.
3088 * string/memcpy.c: Likewise.
3089 * string/memmove.c: Likewise.
3090 * sysdeps/powerpc/memmove.c: Likewise.
3091 * sysdeps/generic/memcopy.h: Include pagecopy.h. Move
3092 definition of PAGE_COPY_FWD_MAYBE here...
3093 * sysdeps/generic/pagecopy.h: ... from here.
3094 * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
3095
bc8ea385
VR
30962014-07-02 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
3097 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3098
3099 * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
3100 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
3101 optimizations.
3102 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
3103 (__libc_ifunc_impl_list): Likewise.
3104 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
3105 multiarch strcat for PPC64.
3106 * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
3107 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
3108
fe5f34e4
RM
31092014-07-02 Roland McGrath <roland@hack.frob.com>
3110
3111 * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
3112
256aa665
SP
31132014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
3114
d4eb8195
SP
3115 * intl/loadmsgcat.c: Remove declaration of
3116 get_sysdep_segment_value.
3117 (get_sysdep_segment_value): Use ISO C style.
3118 (_nl_load_domain): Use ISO C style. Get rid of redundant
3119 semicolon. Fix typo and formatting in comment.
3120 (_nl_unload_domain): Use ISO C style.
3121
256aa665
SP
3122 * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
3123
b100f9aa
WN
31242014-07-02 Will Newton <will.newton@linaro.org>
3125
3126 * malloc/obstack.c: Merge from gnulib master.
3127 [HAVE_CONFIG_H]: Remove conditional code.
3128 [!_LIBC]: Include config.h.
3129 [!ELIDE_CODE]: Don't include inttypes.h, include
3130 stdint.h unconditionally.
3131 (print_and_abort): Mark as _Noreturn.
3132 (_obstack_allocated_p): Mark as __attribute_pure__.
3133 (obstack_free): Rename to __obstack_free.
3134 [!__attribute__]: Remove conditional code.
3135 * malloc/obstack.h: Merge from gnulib master.
3136 [__cplusplus]: Move conditional down.
3137 [!__attribute_pure__]: Define __attribute_pure__ here
3138 if it is not already defined.
3139 (_obstack_memory_used): Mark as __attribute_pure__.
3140 [!__obstack_free]: Define as obstack_free.
3141 [__GNUC__]: Remove check for ancient NeXT gcc.
3142
c4c41244
PE
31432014-07-02 Will Newton <will.newton@linaro.org>
3144 Paul Eggert <eggert@cs.ucla.edu>
3145
3146 * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
3147
e1e041c4
SP
31482014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
3149
3150 * resolv/gethnamaddr.c: Add comment warning that the file is
3151 not maintained.
3152
ccf431ff
CD
31532014-07-01 Carlos O'Donell <carlos@redhat.com>
3154
d34570a6
CD
3155 * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
3156 entries.
3157
ccf431ff
CD
3158 * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
3159 entry for aio_cancel and aio_cancel64.
3160 * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
3161 * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
3162 * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
3163 * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
3164 * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
3165 * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
3166 * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
3167 * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
3168 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
3169 * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
3170 * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
3171 * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
3172 * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
3173
ca06321d
RM
31742014-07-01 Roland McGrath <roland@hack.frob.com>
3175
3176 * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
3177 * nptl/pthread_mutex_lock.c: Likewise.
3178 * nptl/pthread_mutex_timedlock.c: Likewise.
3179 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
3180
a1ac3184
RH
31812014-07-01 Richard henderson <rth@redhat.com>
3182
631021e0
RH
3183 * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
3184 (__isnan, __isnanl): Remove.
3185 * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
3186
a1ac3184
RH
3187 * sysdeps/alpha/fpu/libm-test-ulps: Update.
3188
0c1d731f
SL
31892014-07-01 Stefan Liebler <stli@linux.vnet.ibm.com>
3190
3191 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
3192
76985d3e
SP
31932014-07-01 Siddhesh Poyarekar <siddhesh@redhat.com>
3194
3195 * resolv/nss_dns/dns-host.c (getanswer_r)
3196 [MULTI_PTRS_ARE_ALIASES]: Remove code.
3197
b0cb3096
JM
31982014-07-01 Joseph Myers <joseph@codesourcery.com>
3199
3200 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
3201 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
3202 undefine.
3203 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
3204 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
3205
4d76cb39
RM
32062014-07-01 Roland McGrath <roland@hack.frob.com>
3207
3208 * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
3209 * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
3210
3211 * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
3212 * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
3213
3214 * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
3215 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
3216 ... here.
3217 * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
3218 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
3219
3220 * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
3221 * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
3222 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
3223 * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
3224
3225 * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
3226 * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
3227 * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
3228 * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
3229 * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
3230 Moved ...
3231 * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
3232 ... here.
3233 * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
3234 * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
3235 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
3236 * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
3237 * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
3238 * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
3239 * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
3240 * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
3241 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
3242 * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
3243 * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
3244 * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
3245 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
3246 * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
3247 * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
3248 * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
3249 * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
3250 * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
3251 * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
3252 * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
3253 ... here.
3254 * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
3255 * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
3256 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
3257 * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
3258 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
3259 * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
3260 * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
3261 * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
3262
0cdcad17
DH
32632014-07-01 David Holsgrove <david.holsgrove@xilinx.com>
3264
3265 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
3266 * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
3267 * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
3268 Add sysdep.
3269
9b71d0e3
AZ
32702014-06-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3271
3272 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3273
665390c2
JM
32742014-06-30 Joseph Myers <joseph@codesourcery.com>
3275
ae05a9d7
JM
3276 * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
3277 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
3278
a7672a2f
JM
3279 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
3280
665390c2
JM
3281 * sysdeps/arm/libm-test-ulps: Regenerated.
3282
d7a05d07
MR
32832014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
3284 Roland McGrath <roland@hack.frob.com>
3285
3286 * test-skeleton.c (signal_handler): Kill the whole process group
3287 before killing the child individually.
3288 (main): Report any failure on `setpgid'.
3289
46f1d8a6
RM
32902014-06-30 Roland McGrath <roland@hack.frob.com>
3291
3292 * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
3293 from _TLS_H to _ARM_NPTL_TLS_H.
3294 (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
3295 * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
3296
9c37ec0b
JM
32972014-06-30 Joseph Myers <joseph@codesourcery.com>
3298
ce9c5b3e
JM
3299 [BZ #16539]
3300 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
3301 (__expm1l): Return argument unchanged when small but not
3302 subnormal.
3303
3a6e9887
JM
3304 * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
3305 include macro name.
3306 (_FP_UNPACK_RAW_1_P): Likewise.
3307 (_FP_PACK_RAW_1): Likewise.
3308 (_FP_PACK_RAW_1_P): Likewise.
3309 (_FP_MUL_MEAT_1_wide): Likewise.
3310 (_FP_MUL_MEAT_DW_1_hard): Likewise.
3311 (_FP_MUL_MEAT_1_hard): Likewise.
3312 (_FP_DIV_MEAT_1_imm): Likewise.
3313 (_FP_DIV_MEAT_1_udiv_norm): Likewise.
3314 (_FP_DIV_MEAT_1_udiv): Likewise.
3315 * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
3316 (_FP_UNPACK_RAW_2): Likewise.
3317 (_FP_UNPACK_RAW_2_P): Likewise.
3318 (_FP_PACK_RAW_2): Likewise.
3319 (_FP_PACK_RAW_2_P): Likewise.
3320 (_FP_MUL_MEAT_DW_2_wide): Likewise.
3321 (_FP_MUL_MEAT_2_wide): Likewise.
3322 (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
3323 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
3324 (_FP_MUL_MEAT_DW_2_gmp): Likewise.
3325 (_FP_MUL_MEAT_2_gmp): Likewise.
3326 (_FP_DIV_MEAT_2_udiv): Likewise.
3327 * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
3328 (_FP_FRAC_SRL_4): Likewise.
3329 (_FP_FRAC_SRST_4): Likewise.
3330 (_FP_FRAC_SRS_4): Likewise.
3331 (_FP_UNPACK_RAW_4): Likewise.
3332 (_FP_UNPACK_RAW_4_P): Likewise.
3333 (_FP_PACK_RAW_4): Likewise.
3334 (_FP_PACK_RAW_4_P): Likewise.
3335 (_FP_MUL_MEAT_DW_4_wide): Likewise.
3336 (_FP_MUL_MEAT_4_wide): Likewise.
3337 (_FP_MUL_MEAT_4_gmp): Likewise.
3338 (umul_ppppmnnn): Likewise.
3339 (_FP_DIV_MEAT_4_udiv): Likewise.
3340 (__FP_FRAC_ADD_4): Likewise.
3341 (__FP_FRAC_SUB_3): Likewise.
3342 (__FP_FRAC_SUB_4): Likewise.
3343 (__FP_FRAC_DEC_3): Likewise.
3344 (__FP_FRAC_DEC_4): Likewise.
3345 (__FP_FRAC_ADDI_4): Likewise.
3346 * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
3347 (_FP_FRAC_SRL_8): Likewise.
3348 (_FP_FRAC_SRS_8): Likewise.
3349
9c37ec0b
JM
3350 * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
3351 include macro name.
3352 (FP_UNPACK_RAW_EP): Likewise.
3353 (FP_PACK_RAW_E): Likewise.
3354 (FP_PACK_RAW_EP): Likewise.
3355 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
3356 (_FP_ISSIGNAN): Likewise.
3357 (_FP_ADD_INTERNAL): Likewise.
3358 (_FP_FMA): Likewise.
3359 (_FP_CMP): Likewise.
3360 (_FP_SQRT): Likewise.
3361 (_FP_TO_INT): Likewise.
3362 (_FP_FROM_INT): Likewise.
3363 (FP_EXTEND): Likewise.
3364 (_FP_DIV_MEAT_N_loop): Likewise.
3365
2125f674
MR
33662014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
3367
3368 * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
3369 throughout.
3370
edea4028
JM
33712014-06-29 Joseph Myers <joseph@codesourcery.com>
3372
3373 [BZ #17097]
3374 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
3375 result with correct sign in case of exponents that produce
3376 overflow except for X very close to 1.
3377
dd0ba018
PE
33782014-06-28 Paul Eggert <eggert@cs.ucla.edu>
3379
3380 mktime: merge #if/#ifdef usage from glibc
3381 * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
3382 as that works with both Glibc's and Gnulib's style.
3383 See thread starting at Siddhesh Poyarekar's bug report at:
3384 http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
3385
64df73c2
SP
33862014-06-28 Siddhesh Poyarekar <siddhesh@redhat.com>
3387
3388 * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
3389 * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
3390 * sysdeps/tile/tilegx/memmove.c: Remove file.
3391
f1eafb41
JM
33922014-06-27 Joseph Myers <joseph@codesourcery.com>
3393
3394 * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
3395 abi-name definition.
3396 * scripts/soversions.awk: Do not handle or generate ABI lines.
3397 * shlib-versions: Remove ABI entries.
3398 * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
3399 * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
3400
58eb0862
RM
34012014-06-27 Roland McGrath <roland@hack.frob.com>
3402
37caf178
RM
3403 * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
3404 * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
3405 * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
3406 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
3407 * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
3408 * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
3409 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
3410 Moved ...
3411 * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
3412 ... here.
3413 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
3414 * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
3415 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
3416 * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
3417 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
3418 * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
3419 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
3420 * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
3421 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
3422 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
3423 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
3424 * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
3425 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
3426 Moved ...
3427 * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
3428 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
3429 * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
3430 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
3431 * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
3432 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
3433 Moved ...
3434 * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
3435 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
3436 Moved ...
3437 * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
3438 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
3439 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
3440 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
3441 Moved ...
3442 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
3443 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
3444 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
3445 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
3446 * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
3447 * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
3448 * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
3449 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
3450 Moved ...
3451 * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
3452 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
3453 * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
3454 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
3455 Moved ...
3456 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
3457 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
3458 Moved ...
3459 * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
3460 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
3461 * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
3462 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
3463 Moved ...
3464 * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
3465 ... here.
3466 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
3467 Identical file removed.
3468 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
3469 Moved ...
3470 * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
3471 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
3472 Identical file removed.
3473 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
3474 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
3475 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
3476 Moved ...
3477 * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
3478 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
3479 Identical file removed.
3480 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
3481 * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
3482 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
3483 Identical file removed.
3484 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
3485 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
3486 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
3487 Identical file removed.
3488 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
3489 * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
3490 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
3491 Identical file removed.
3492 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
3493 Moved ...
3494 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
3495 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
3496 Identical file removed.
3497 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
3498 Moved ...
3499 * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
3500 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
3501 * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
3502 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
3503 Identical file removed.
3504 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
3505 Moved ...
3506 * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
3507 ... here.
3508 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
3509 Identical file removed.
3510 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
3511 Moved ...
3512 * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
3513 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
3514 Identical file removed.
3515 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
3516 Moved ...
3517 * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
3518 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
3519 * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
3520 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
3521 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
3522 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
3523 Moved ...
3524 * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
3525 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
3526 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
3527
58eb0862
RM
3528 * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
3529 SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
3530 * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
3531 * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
3532 * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
3533
6f12d062
AS
35342014-06-27 Arjun Shankar <arjun.is@lostca.se>
3535
3536 [BZ #17092]
3537 * nscd/nscd.c (monitor_child): Return exit status of child
3538 instead of return value from wait syscall.
3539
be254932
JM
35402014-06-27 Joseph Myers <joseph@codesourcery.com>
3541
cb403c34
JM
3542 * configure.ac (libc_commonpagesize): Remove variable.
3543 (libc_relro_required): Likewise.
3544 (libc_cv_z_relro): Remove configure test.
3545 * configure: Regenerated.
3546 * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
3547 variable.
3548 (libc_relro_required): Likewise.
3549 * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
3550 (libc_relro_required): Likewise.
3551 * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
3552 (libc_relro_required): Likewise.
3553 * sysdeps/arm/preconfigure: Regenerated.
3554 * sysdeps/ia64/preconfigure: Remove file.
3555 * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
3556 variable.
3557 (libc_relro_required): Likewise.
3558
be254932
JM
3559 [BZ #16561]
3560 [BZ #16562]
3561 * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
3562 (__ieee754_yn): Set FE_TONEAREST mode internally and then
3563 recompute overflowing results in original rounding mode.
3564 * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
3565 (__ieee754_ynf): Set FE_TONEAREST mode internally and then
3566 recompute overflowing results in original rounding mode.
3567 * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
3568 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
3569 recompute overflowing results in original rounding mode.
3570 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
3571 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
3572 recompute overflowing results in original rounding mode.
3573 * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
3574 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
3575 recompute overflowing results in original rounding mode.
3576 * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
3577 (libc_feholdsetround_ctx): New macro.
3578 * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
3579 * sysdeps/i386/fpu/libm-test-ulps: Update.
3580 * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
3581
b351d85a
JM
35822014-06-26 Joseph Myers <joseph@codesourcery.com>
3583
3584 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
3585 [__PIC__] (PSEUDO): Use name of _nocancel entry point in
3586 corresponding .cpsetup call.
3587
3cb4de47
RM
35882014-06-26 Roland McGrath <roland@hack.frob.com>
3589
3590 * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
3591 * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
3592 * sysdeps/arm/Makefile [$(subdir) = csu]
3593 (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
3594 (static-only-routines): Add aeabi_read_tp here.
3595 (shared-only-routines): Add libc-aeabi_read_tp here.
3596 (CFLAGS-libc-start.c): Add -fexceptions here.
3597 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
3598 (sysdep_routines, static-only-routines, shared-only-routines):
3599 Don't add to these here.
3600 (CFLAGS-libc-start.c): Likewise.
3601
3602 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
3603 * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
3604 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
3605 * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
3606 * sysdeps/arm/Makefile [$(subdir) = rt]
3607 (librt-sysdep_routines, librt-shared-only-routines):
3608 Append rt-aeabi_unwind_cpp_pr1 here.
3609 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
3610 (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
3611 * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
3612 (libpthread-sysdep_routines, libpthread-shared-only-routines):
3613 Append nptl-aeabi_unwind_cpp_pr1 here.
3614 (tests): Filter out tst-cleanupx4 here.
3615 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
3616 (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
3617 Don't do those here.
3618
354426bb
JM
36192014-06-26 Joseph Myers <joseph@codesourcery.com>
3620
3621 * scripts/list-sources.sh: Do not handle ports specially.
3622
28b0a8c9
RM
36232014-06-26 Roland McGrath <roland@hack.frob.com>
3624
a3dd035d
RM
3625 * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
3626 * sysdeps/arm/feupdateenv.c: Likewise.
3627
28b0a8c9
RM
3628 * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
3629
e66a8203
JM
36302014-06-26 Joseph Myers <joseph@codesourcery.com>
3631
3632 * manual/texinfo.tex: Update to version 2014-05-05.10 with
3633 trailing whitespace removed.
3634 * scripts/config.guess: Update to version 2014-03-23.
3635 * scripts/config.sub: Update to version 2014-05-01
3636 * scripts/install-sh: Update to version 2013-12-25.23.
3637 * scripts/move-if-change: Update from gnulib.
3638
74171115
SP
36392014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
3640
b97c9ce5
SP
3641 * debug/memmove_chk.c: Remove pagecopy.h include.
3642
4000f892
SP
36432014-06-26 Paul Eggert <eggert@cs.ucla.edu>
3644
74171115
SP
3645 * time/mktime.c (leapyear): Remove inline keyword. The code is now
3646 identical to gnulib mktime.
3647
a8779c28
JM
36482014-06-26 Joseph Myers <joseph@codesourcery.com>
3649
e64708de
JM
3650 * configure.ac: Do not test for machine being rs6000. Do not test
3651 for powerpc*-*soft.
3652 * configure: Regenerated.
3653
a8779c28
JM
3654 * configure.ac (libc_cv_asm_cfi_directives): Remove configure
3655 test.
3656 * configure: Regenerated.
3657 * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
3658 * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
3659 Remove configure test.
3660 * sysdeps/arm/configure: Regenerated.
3661 * sysdeps/nptl/configure.ac: Do not check
3662 libc_cv_asm_cfi_directives.
3663 * sysdeps/nptl/configure: Regenerated.
3664 * sysdeps/x86_64/nptl/configure.ac: Remove file.
3665 * sysdeps/x86_64/nptl/configure: Remove generated file.
3666 * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
3667 unconditional.
3668 [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
3669
2aac0a86
SP
36702014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
3671
059bf913
SP
3672 * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
3673 * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
3674 (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
3675 it is defined.
3676
4cf5b6d0
SP
3677 * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
3678 instead of whether it is defined.
3679 * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
3680 * sysdeps/hppa/dl-machine.h: Likewise.
3681 * sysdeps/ia64/dl-machine.h: Likewise.
3682 * sysdeps/m68k/dl-machine.h: Likewise.
3683 * sysdeps/microblaze/dl-machine.h: Likewise.
3684 * sysdeps/mips/dl-machine.: Likewise.
3685 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
3686 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
3687 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
3688 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
3689 * sysdeps/sh/dl-machine.h: Likewise.
3690 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
3691 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
3692 * sysdeps/tile/dl-machine.h: Likewise.
3693 * sysdeps/x86_64/dl-machine.h: Likewise.
3694
2aac0a86
SP
3695 * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
3696 code.
3697 (verify_persistent_db): Likewise.
3698
6ad2df0b
RM
36992014-06-26 Roland McGrath <roland@hack.frob.com>
3700
d8a483f3
RM
3701 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
3702 * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
3703 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
3704 * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
3705 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
3706 Moved ...
3707 * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
3708 ... here.
3709 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
3710 * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
3711 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
3712 Identical file removed.
3713 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
3714 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
3715 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
3716 * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
3717 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
3718 * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
3719 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
3720 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
3721 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
3722 * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
3723 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
3724 Moved ...
3725 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
3726 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
3727 * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
3728 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
3729 * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
3730 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
3731 Moved ...
3732 * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
3733 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
3734 * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
3735 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
3736 * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
3737 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
3738 Identical file removed.
3739 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
3740 * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
3741 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
3742 * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
3743 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
3744 Moved ...
3745 * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
3746 ... here.
3747 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
3748 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
3749 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
3750 * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
3751 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
3752 * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
3753 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
3754 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
3755 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
3756 * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
3757 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
3758 Moved ...
3759 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
3760 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
3761 Moved ...
3762 * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
3763 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
3764 * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
3765 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
3766 Moved ...
3767 * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
3768 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
3769 * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
3770
52ae23b4
RM
3771 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
3772 folded into ...
3773 * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
3774 * sysdeps/unix/sysv/linux/s390/Versions
3775 (libpthread: GLIBC_2.19): New version set.
3776 * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
3777 * sysdeps/unix/sysv/linux/s390/s390-64/Versions
3778 (librt: GLIBC_2.3.3): New version set.
3779 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
3780 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
3781 * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
3782 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
3783 * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
3784 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
3785 * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
3786 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
3787 * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
3788 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
3789 * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
3790 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
3791 * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
3792 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
3793 * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
3794 * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
3795 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
3796 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
3797 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
3798 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
3799 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
3800 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
3801 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
3802 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
3803 * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
3804 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
3805 * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
3806 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
3807 * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
3808 * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
3809 * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
3810 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
3811 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
3812 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
3813 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
3814 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
3815 * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
3816 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
3817 * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
3818 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
3819 * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
3820 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
3821 * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
3822 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
3823 * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
3824
39507e4a
RM
3825 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
3826 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
3827 (__libc_vfork): Define the function under this name.
3828 [!NOT_IN_libc] (__vfork): Make this an alias.
3829 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
3830 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
3831 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
3832 (__libc_vfork): Define the function under this name.
3833 [!NOT_IN_libc] (__vfork): Make this an alias.
3834 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
3835 * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
3836 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
3837 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
3838 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
3839 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
3840
e549ee56
RM
3841 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
3842 code that was previously under [RESET_PID].
3843 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
3844 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
3845 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
3846
6ad2df0b
RM
3847 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
3848 * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
3849 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
3850 * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
3851 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
3852 * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
3853 * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
3854 * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
3855 * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
3856 * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
3857 * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
3858 Moved ...
3859 * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
3860 * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
3861 * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
3862 * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
3863 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
3864 * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
3865 * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
3866 * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
3867 * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
3868 * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
3869 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
3870 * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
3871 * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
3872 * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
3873 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
3874 * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
3875 * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
3876 * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
3877 * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
3878 * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
3879 * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
3880 * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
3881 * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
3882 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
3883 * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
3884 * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
3885 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
3886 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
3887 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
3888
7c1c1d8e
RM
38892014-06-25 Roland McGrath <roland@hack.frob.com>
3890
3891 * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
3892 that was previously under [RESET_PID].
3893 * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
3894
3e239be6
JM
38952014-06-25 Joseph Myers <joseph@codesourcery.com>
3896
74385da5
JM
3897 * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
3898 not undefine and redefine.
3899 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
3900 [O_CLOEXEC]: Make code unconditional.
3901 (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
3902 * sysdeps/unix/sysv/linux/shm_open.c: Do not include
3903 <kernel-features.h>.
3904 [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
3905 conditional variable definition.
3906 (shm_open) [O_CLOEXEC]: Make code unconditional.
3907 (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
3908 code.
3909
c2570a0b
JM
3910 * configure.ac (USE_REGPARMS): Don't define here.
3911 * configure: Regenerated.
3912 * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
3913 * sysdeps/i386/configure: Regenerated.
3914
11b076bb
JM
3915 * nptl/createthread.c: Don't include kernel-features.h.
3916 * nptl/pthread_cancel.c: Likewise.
3917 * nptl/pthread_condattr_setclock.c: Likewise.
3918 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
3919 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
3920 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
3921 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
3922 * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
3923 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
3924 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
3925 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
3926 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
3927 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
3928 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
3929 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
3930 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
3931 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
3932 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
3933 * nscd/gai.c: Likewise.
3934 * nss/nss_db/db-open.c: Likewise.
3935 * sysdeps/generic/ldsodefs.h: Likewise.
3936 * sysdeps/sh/nptl/tls.h: Likewise.
3937 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
3938 * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
3939 * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
3940 * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
3941 * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
3942 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
3943 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
3944 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
3945 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
3946 * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
3947 * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
3948 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
3949 * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
3950 * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
3951 * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
3952 * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
3953 * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
3954 * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
3955 * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
3956 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
3957 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
3958 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
3959 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
3960 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
3961 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
3962 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
3963 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
3964 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
3965 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
3966 * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
3967 * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
3968 * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
3969 * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
3970 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
3971 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
3972 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
3973 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
3974 * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
3975 * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
3976 * sysdeps/unix/sysv/linux/if_index.c: Likewise.
3977 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
3978 * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
3979 * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
3980 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
3981 * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
3982 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
3983 * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
3984 * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
3985 * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
3986 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
3987 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
3988 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
3989 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
3990 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
3991 * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
3992 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
3993 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
3994 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
3995 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
3996 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
3997 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
3998 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
3999 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
4000 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
4001 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
4002 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
4003 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
4004 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
4005 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
4006 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
4007 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
4008 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
4009 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
4010 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
4011 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
4012 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
4013 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
4014 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
4015 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
4016 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
4017 * sysdeps/unix/sysv/linux/pread.c: Likewise.
4018 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
4019 * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
4020 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
4021 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
4022 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
4023 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
4024 * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
4025 * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
4026 * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
4027 * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
4028 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
4029 * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
4030 * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
4031 * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
4032 * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
4033 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
4034 * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
4035 * sysdeps/unix/sysv/linux/syslog.c: Likewise.
4036 * sysdeps/unix/sysv/linux/system.c: Likewise.
4037 * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
4038 * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
4039 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
4040 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
4041 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
4042 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
4043 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
4044
92072d57
JM
4045 * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
4046 * configure: Regenerated.
4047 * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
4048
3e239be6
JM
4049 * configure.ac (base_machine): Do not set specially for particular
4050 machines here.
4051 * configure: Regenerated.
4052 * sysdeps/powerpc/preconfigure: Move machine and base_machine
4053 settings from configure.ac.
4054 * sysdeps/i386/preconfigure: New file.
4055 * sysdeps/s390/preconfigure: Likewise.
4056 * sysdeps/sh/preconfigure: Likewise.
4057 * sysdeps/sparc/preconfigure: Likewise.
4058
06d50baa
RM
40592014-06-25 Roland McGrath <roland@hack.frob.com>
4060
74836003
RM
4061 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
4062 * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
4063 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
4064 * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
4065 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
4066 * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
4067 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
4068 * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
4069 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
4070 * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
4071 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
4072 * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
4073 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
4074 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
4075 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
4076 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
4077 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
4078 * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
4079 * sysdeps/sparc/sparc64/Makefile: ... appended here.
4080
4081 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
4082 * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
4083 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
4084 * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
4085 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
4086 * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
4087 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
4088 * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
4089 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
4090 * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
4091 * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
4092 * sysdeps/sparc/sparc32/sem_post.c: ... here.
4093 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
4094 * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
4095 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
4096 * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
4097 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
4098 * sysdeps/sparc/sparc32/sem_wait.c: ... here.
4099 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
4100 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
4101 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
4102 * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
4103 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
4104 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
4105 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
4106 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
4107 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
4108 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
4109 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
4110 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
4111 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
4112 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
4113 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
4114 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
4115 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
4116 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
4117 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
4118 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
4119
06d50baa
RM
4120 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
4121 * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
4122 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
4123 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
4124 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
4125 Moved ...
4126 * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
4127 ... here.
4128 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
4129 * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
4130 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
4131 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
4132 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
4133 Moved ...
4134 * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
4135 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
4136 * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
4137 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
4138 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
4139 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
4140 * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
4141 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
4142 Moved ...
4143 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
4144 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
4145 Moved ...
4146 * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
4147 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
4148 * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
4149 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
4150 Moved ...
4151 * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
4152 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
4153 * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
4154 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
4155 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
4156 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
4157 * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
4158 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
4159 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
4160 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
4161 Moved ...
4162 * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
4163 ... here.
4164 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
4165 * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
4166 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
4167 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
4168 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
4169 Moved ...
4170 * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
4171 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
4172 * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
4173 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
4174 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
4175 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
4176 * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
4177 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
4178 Moved ...
4179 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
4180 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
4181 Moved ...
4182 * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
4183 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
4184 * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
4185 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
4186 Moved ...
4187 * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
4188 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
4189 * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
4190 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
4191 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
4192
a4ccbc9b
JM
41932014-06-25 Joseph Myers <joseph@codesourcery.com>
4194
0828edbf
JM
4195 * timezone/checktab.awk: Update from tzcode 2014e.
4196 * timezone/private.h: Likewise.
4197 * timezone/tzfile.h: Likewise.
4198 * timezone/zdump.c: Likewise.
4199 * timezone/zic.c: Likewise.
4200
a4ccbc9b
JM
4201 * sysdeps/unix/sysv/linux/kernel-features.h
4202 (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
4203 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
4204 [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
4205 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
4206 Remove conditional code.
4207
9aea0cb8
WN
42082014-06-25 Will Newton <will.newton@linaro.org>
4209
4210 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
4211 (_dl_arm_cap_flags): Add HWCAP2 values.
4212 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
4213 (_DL_HWCAP_COUNT): Increase to 37.
4214 (_DL_HWCAP_LAST): New define.
4215 (_DL_HWCAP2_LAST): New define.
4216 (_dl_procinfo): Add support for printing
4217 AT_HWCAP2 entries.
4218 (_dl_string_hwcap): Use _dl_hwcap_string.
4219
6eaa65ce
AZ
42202014-06-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4221
4222 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4223
0f5b7185
JM
42242014-06-25 Joseph Myers <joseph@codesourcery.com>
4225
cfd2ea50
JM
4226 * README: Do not mention ports directory.
4227
cecf2ed4
JM
4228 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
4229 Remove macro.
4230 * sysdeps/unix/sysv/linux/futimes.c: Do not include
4231 <kernel-features.h>.
4232 [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
4233 conditional variable definition.
4234 (__futimes): Update comment.
4235 (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
4236 (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
4237
a638de82
JM
4238 [BZ #16560]
4239 * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
4240 arguments close to 0.
4241 * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
4242 Likewise.
4243 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
4244 Likewise.
4245 * math/auto-libm-test-in: Add more tests of exp10.
4246 * math/auto-libm-test-out: Regenerated.
4247 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4248
0f5b7185
JM
4249 * sysdeps/unix/sysv/linux/kernel-features.h
4250 (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
4251 * sysdeps/unix/sysv/linux/readv.c: Do not include
4252 <kernel-features.h>.
4253 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
4254 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
4255 (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
4256 unconditional.
4257 (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
4258 conditional code.
4259 * sysdeps/unix/sysv/linux/writev.c: Do not include
4260 <kernel-features.h>.
4261 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
4262 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
4263 (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
4264 unconditional.
4265 (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
4266 conditional code.
4267
c7aec4be
WN
42682014-06-25 Will Newton <will.newton@linaro.org>
4269
4270 * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
4271 comment changes throughout the file. Remove checks
4272 for HAVE_*_H definitions that are not required.
4273 (__gen_tempname): Call abort if an unknown kind value is
4274 passed.
4275
c5241f95
AS
42762014-06-25 Andreas Schwab <schwab@suse.de>
4277
4278 [BZ #17086]
4279 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
4280 scalbln, scalblnf, scalblnl in libc.
4281
911422da
SP
42822014-06-25 Siddhesh Poyarekar <siddhesh@redhat.com>
4283
4284 [BZ #17086]
4285 * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
4286 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
4287 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
4288
0d749bbe
RM
42892014-06-24 Roland McGrath <roland@hack.frob.com>
4290
4291 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
4292 * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
4293 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
4294 * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
4295 Update #include.
4296 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
4297 * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
4298 Update #include.
4299 * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
4300 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
4301 * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
4302 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
4303 * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
4304 * sysdeps/x86/bits/pthreadtypes.h: ... here.
4305 * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
4306 * sysdeps/x86/bits/semaphore.h: ... here.
4307 * sysdeps/x86/nptl/elide.h: Moved ...
4308 * sysdeps/x86/elide.h: ... here.
4309 * sysdeps/x86_64/nptl/Implies: File removed.
4310 * sysdeps/i386/nptl/Implies: File removed.
4311
0ea5d373
JM
43122014-06-24 Joseph Myers <joseph@codesourcery.com>
4313
4060283d
JM
4314 [BZ #16539]
4315 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
4316 return the argument for normal arguments with exponent below -64.
4317 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
4318 Likewise.
4319 * math/auto-libm-test-in: Add another test of expm1.
4320 * math/auto-libm-test-out: Regenerated.
4321
e7dd3c8c
JM
4322 [BZ #16287]
4323 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
4324 calling __erfcl for arguments at least 16.
4325 * math/auto-libm-test-in: Add more tests of erf.
4326 * math/auto-libm-test-out: Regenerated.
4327
0ea5d373
JM
4328 * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
4329 individual architectures.
4330 * sysdeps/unix/sysv/linux/configure: Regenerated.
4331 * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
4332 * sysdeps/unix/sysv/linux/i386/configure: New generated file.
4333 * sysdeps/unix/sysv/linux/powerpc/configure.ac
4334 (ldd_rewrite_script): Define variable.
4335 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
4336 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
4337 file.
4338 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
4339 generated file.
4340 * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
4341 * sysdeps/unix/sysv/linux/s390/configure: New generated file.
4342 * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
4343 * sysdeps/unix/sysv/linux/sh/configure: New generated file.
4344 * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
4345 * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
4346 * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
4347 * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
4348
2307e126
SP
43492014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
4350
4351 [BZ #17084]
4352 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
4353 Rename member __data.d to __data.__elision_data.
4354
c0a4ed77
W
43552014-06-24 Wilco <wdijkstr@arm.com>
4356
4357 * NEWS: Add 16918 to fixed bug list.
4358
b8c00573
W
43592014-06-24 Wilco <wdijkstr@arm.com>
4360
4361 * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
4362
b5570d92
W
43632014-06-24 Wilco <wdijkstr@arm.com>
4364
4365 * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
4366 * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
4367 (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
4368 (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
4369 (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
4370 * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
4371 * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
4372 Use _FPU_MASK_RM.
4373
947bdca2
W
43742014-06-24 Wilco <wdijkstr@arm.com>
4375
4376 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
4377
00f669ed
W
43782014-06-24 Wilco <wdijkstr@arm.com>
4379
4380 * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
4381 * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
4382 * sysdeps/arm/fesetround.c (fesetround): Remove space.
4383 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
4384
db59bad3
W
43852014-06-24 Wilco <wdijkstr@arm.com>
4386
4387 [BZ #16918]
4388 * sysdeps/arm/feupdateenv.c (feupdateenv):
4389 Rewrite to reduce FPSCR accesses and fix return value.
4390
001f7b77
W
43912014-06-24 Wilco <wdijkstr@arm.com>
4392
4393 * sysdeps/arm/fclrexcpt.c (feclearexcept):
4394 Optimize to avoid unnecessary FPSCR writes.
4395 * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
4396 * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
4397 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
4398 * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
4399
4841e6a6
W
44002014-06-24 Wilco <wdijkstr@arm.com>
4401
4402 * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
4403 * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
4404 * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
4405 * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
4406 Call libc_fetestexcept_vfp.
4407 * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
4408 * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
4409 __SOFTFP__ ifdef so that they can be built for softfp.
4410
0813022c
SP
44112014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
4412
08e5862f
SP
4413 * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
4414 argument type signed char.
4415
0813022c
SP
4416 * Makerules (check-abi): Dump diff of symlist if the test
4417 fails.
4418
3fc7236a
RM
44192014-06-23 Roland McGrath <roland@hack.frob.com>
4420
aba8ef95
RM
4421 * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
4422 using abort.
4423
3fc7236a
RM
4424 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
4425 Remove unused variable ST.
4426
4da6db51
JM
44272014-06-23 Joseph Myers <joseph@codesourcery.com>
4428
4648909d
JM
4429 [BZ #16354]
4430 [BZ #17061]
4431 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
4432 small arguments before calling __expm1.
4433 * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
4434 small arguments before calling __expm1f.
4435 * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
4436 small arguments before calling __expm1l.
4437 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
4438 Likewise.
4439 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
4440 * math/auto-libm-test-in: Add more cosh tests. Do not allow
4441 spurious underflow for some cosh tests.
4442 * math/auto-libm-test-out: Regenerated.
4443 * sysdeps/i386/fpu/libm-test-ulps: Update.
4444
46a3d3c7
JM
4445 [BZ #17050]
4446 * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
4447 (__ieee754_y1): Set errno if return value overflows.
4448 * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
4449 (__ieee754_y1f): Set errno if return value overflows.
4450 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
4451 (__ieee754_y1l): Set errno if return value overflows.
4452 * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
4453 (__ieee754_y1l): Set errno if return value overflows.
4454 * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
4455 * math/auto-libm-test-out: Regenerated.
4456
863893ec
JM
4457 * math/gen-auto-libm-tests.c: Document use of
4458 ignore-zero-inf-sign.
4459 (input_flag_type): Add value flag_ignore_zero_inf_sign.
4460 (input_flags): Add ignore-zero-inf-sign.
4461 (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
4462 * math/gen-libm-test.pl (generate_testfile): Handle
4463 ignore-zero-inf-sign.
4464 * math/auto-libm-test-in: Mark some cpow tests with
4465 ignore-zero-inf-sign and some with xfail-rounding.
4466 * math/auto-libm-test-out: Regenerated.
4467 * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
4468 * sysdeps/i386/fpu/libm-test-ulps: Update.
4469 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4470
4da6db51
JM
4471 [BZ #16315]
4472 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
4473 overflowing or underflowing operations take place with sign of
4474 result.
4475 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
4476 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
4477 * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
4478 (__ieee754_pow): Recompute overflowing and underflowing results in
4479 original rounding mode.
4480 * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
4481 (__powl_helper): Allow negative argument X and scale negated value
4482 as needed. Avoid passing value outside [-1, 1] to f2xm1.
4483 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
4484 overflowing or underflowing operations take place with sign of
4485 result.
4486 * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
4487 Include <math.h>.
4488 * math/auto-libm-test-in: Add more tests of pow.
4489 * math/auto-libm-test-out: Regenerated.
4490 * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
4491 (pow_tonearest_test_data): Remove.
4492 (pow_test_tonearest): Likewise.
4493 (pow_towardzero_test_data): Likewise.
4494 (pow_test_towardzero): Likewise.
4495 (pow_downward_test_data): Likewise.
4496 (pow_test_downward): Likewise.
4497 (pow_upward_test_data): Likewise.
4498 (pow_test_upward): Likewise.
4499 (main): Don't call removed functions.
4500 * sysdeps/i386/fpu/libm-test-ulps: Update.
4501 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4502
5686b236
RM
45032014-06-23 Roland McGrath <roland@hack.frob.com>
4504
4505 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
4506 Moved ...
4507 * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
4508 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
4509 Moved ...
4510 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
4511 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
4512 Moved ...
4513 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
4514 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
4515 Moved ...
4516 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
4517 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
4518 File removed.
4519 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
4520 File removed.
4521 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
4522 File removed.
4523 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
4524 File removed.
4525 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
4526 File removed.
4527 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
4528 File removed.
4529 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
4530 File removed.
4531 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
4532 File removed.
4533 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
4534 File removed.
4535 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
4536 File removed.
4537 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
4538 File removed.
4539 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
4540 File removed.
4541 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
4542 Moved ...
4543 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
4544 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
4545 Moved ...
4546 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
4547 ... here.
4548 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
4549 Moved ...
4550 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
4551 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
4552 Moved ...
4553 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
4554 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
4555 Moved ...
4556 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
4557 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
4558 Moved ...
4559 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
4560 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
4561 Moved ...
4562 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
4563 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
4564 Moved ...
4565 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
4566 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
4567 Moved ...
4568 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
4569 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
4570 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
4571 ... here.
4572 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
4573 Moved ...
4574 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
4575 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
4576 Moved ...
4577 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
4578 ... here.
4579 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
4580 Moved ...
4581 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
4582 ... here.
4583 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
4584 Moved ...
4585 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
4586 ... here.
4587 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
4588 Moved ...
4589 * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
4590 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
4591 Moved ...
4592 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
4593 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
4594 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
4595 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
4596 Moved ...
4597 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
4598 ... here.
4599 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
4600 Moved ...
4601 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
4602 ... here.
4603 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
4604 Moved ...
4605 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
4606 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
4607 Moved ...
4608 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
4609 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
4610 Moved ...
4611 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
4612 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
4613 Moved ...
4614 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
4615 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
4616 Moved ...
4617 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
4618 ... here.
4619 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
4620 Moved ...
4621 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
4622 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
4623 Moved ...
4624 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
4625 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
4626 Moved ...
4627 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
4628 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
4629 Moved ...
4630 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
4631 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
4632 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
4633 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
4634 Moved ...
4635 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
4636 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
4637 Moved ...
4638 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
4639 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
4640 Moved ...
4641 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
4642 ... here.
4643 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
4644 Moved ...
4645 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
4646 ... here.
4647 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
4648 Moved ...
4649 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
4650 ... here.
4651 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
4652 Moved ...
4653 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
4654 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
4655 Moved ...
4656 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
4657 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
4658 Moved ...
4659 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
4660 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
4661 Moved ...
4662 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
4663 ... here.
4664 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
4665 Moved ...
4666 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
4667 ... here.
4668 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
4669 Moved ...
4670 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
4671 ... here.
4672 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
4673 Moved ...
4674 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
4675 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
4676 Moved ...
4677 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
4678
e6d90d67
WD
46792014-06-23 Will Newton <will.newton@linaro.org>
4680 Wilco <wdijkstr@arm.com>
4681
4682 * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
4683 implementation. Include get-rounding-mode.h.
4684 [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
4685 [!libc_feholdsetround_noex_ctx]: Define
4686 libc_feholdsetround_noex_ctx.
4687 [!libc_feholdsetround_noexf_ctx]: Define
4688 libc_feholdsetround_noexf_ctx.
4689 [!libc_feholdsetround_noexl_ctx]: Define
4690 libc_feholdsetround_noexl_ctx.
4691 (libc_feholdsetround_ctx): New function.
4692 (libc_feresetround_ctx): New function.
4693 (libc_feholdsetround_noex_ctx): New function.
4694 (libc_feresetround_noex_ctx): New function.
4695
d42df555
RM
46962014-06-23 Roland McGrath <roland@hack.frob.com>
4697
88a46474
RM
4698 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
4699 * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
4700 * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
4701 * sysdeps/mips/nptl/bits/semaphore.h: ... here.
4702 * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
4703 * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
4704
15bed472
RM
4705 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
4706 * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
4707 * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
4708 * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
4709 * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
4710 * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
4711 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
4712 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
4713 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
4714 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
4715 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
4716 Moved ...
4717 * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
4718 ... here.
4719 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
4720 * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
4721 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
4722 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
4723 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
4724 Moved ...
4725 * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
4726 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
4727 * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
4728 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
4729 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
4730 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
4731 * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
4732 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
4733 Moved ...
4734 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
4735 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
4736 Moved ...
4737 * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
4738 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
4739 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
4740 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
4741 Moved ...
4742 * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
4743 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
4744 * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
4745 * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
4746 * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
4747 * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
4748 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
4749 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
4750 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
4751 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
4752 Moved ...
4753 * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
4754 ... here.
4755 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
4756 * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
4757 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
4758 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
4759 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
4760 * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
4761 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
4762 * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
4763 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
4764 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
4765 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
4766 * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
4767 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
4768 Moved ...
4769 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
4770 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
4771 * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
4772 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
4773 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
4774 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
4775 Moved ...
4776 * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
4777 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
4778 * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
4779 * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
4780 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
4781
d42df555
RM
4782 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
4783 * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
4784 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
4785 * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
4786 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
4787 * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
4788 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
4789 * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
4790 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
4791 * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
4792 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
4793 * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
4794 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
4795 * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
4796 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
4797 * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
4798 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
4799 * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
4800 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
4801 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
4802 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
4803 * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
4804 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
4805 * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
4806 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
4807 * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
4808 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
4809 * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
4810
76e5216e
JM
48112014-06-23 Joseph Myers <joseph@codesourcery.com>
4812
4813 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
4814 (FALLOC_FL_COLLAPSE_RANGE): New macro.
4815 [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
4816 * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
4817 (IPV6_PMTUDISC_INTERFACE): Likewise.
4818 (IPV6_PMTUDISC_OMIT): Likewise.
4819
7a81cbcc
AS
48202014-06-23 Andreas Schwab <schwab@suse.de>
4821
4822 * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
4823 Remove unused errout label.
4824
db224009
AZ
48252014-06-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4826
4827 * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
4828 macro: hardware supports Vector Crypto instructions.
4829
f393b4aa
WN
48302014-06-23 Will Newton <will.newton@linaro.org>
4831
cc7d0447
WN
4832 * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
4833 rather than __builtin_expect.
4834
d6d06225
WN
4835 * elf/dl-lookup.c (undefined_msg): Remove variable.
4836 (_dl_lookup_symbol_x): Replace undefined_msg with string
4837 literal.
4838
f393b4aa
WN
4839 * elf/dl-lookup.c (do_lookup_unique): New function.
4840 (do_lookup_x): Move STB_GNU_UNIQUE handling code
4841 to a separate function.
4842
ac60763e
AS
48432014-06-23 Andreas Schwab <schwab@suse.de>
4844
4845 [BZ #17079]
4846 * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
4847 before reading the next line.
4848
c5c13355
WN
48492014-06-23 Will Newton <will.newton@linaro.org>
4850
4851 * test-skeleton.c (signal_handler): Use printf and %m
4852 rather than perror. Use printf rather than fprintf to
4853 stderr. Use puts rather than fputs to stderr.
4854 (main): Likewise.
4855
bd3675f9
LC
48562014-06-22 Ludovic Courtès <ludo@gnu.org>
4857
4858 * nscd/nscd.c (thread_info_t): Remove typedef.
4859 (thread_info): Remove variable.
4860
d03efb2f
AM
48612014-06-21 Allan McRae <allan@archlinux.org>
4862
4863 * NEWS: Mention CVE-2014-4043.
4864
bc4a86fa
RM
48652014-06-20 Roland McGrath <roland@hack.frob.com>
4866
dc9a54f8
RM
4867 * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
4868 * nptl/smp.h: ... here.
4869
bd7022c4
RM
4870 * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
4871
26ffd5e6
RM
4872 * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
4873 * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
4874 * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
4875 * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
4876
93a6d082
RM
4877 * nptl/allocatestack.c: Include <stack-aliasing.h>.
4878 * nptl/stack-aliasing.h: New file.
4879 * sysdeps/i386/i686/stack-aliasing.h: New file.
4880 * sysdeps/i386/i686/nptl/Makefile: File removed.
4881 * sysdeps/x86_64/stack-aliasing.h: New file.
4882 * sysdeps/x86_64/nptl/Makefile
4883 (CFLAGS-pthread_create.c): Variable removed.
4884
bc4a86fa
RM
4885 * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
4886 * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
4887 old file.
4888 * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
4889 * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
4890 old file.
4891
2272ffc1
JM
48922014-06-21 Joseph Myers <joseph@codesourcery.com>
4893
4894 * sysdeps/unix/sysv/linux/arm/kernel-features.h
4895 (__ASSUME_SIGFRAME_V2): Remove macro.
4896 * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
4897 [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
4898 (__default_sa_restorer_v2): Rename to __default_sa_restorer.
4899 (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
4900 * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
4901 Declare as function. Remove conditional macro definitions.
4902 (__default_rt_sa_restorer): Likewise.
4903 (__default_sa_restorer_v1): Remove declaration.
4904 (__default_sa_restorer_v2): Likewise.
4905 (__default_rt_sa_restorer_v1): Likewise.
4906 (__default_rt_sa_restorer_v2): Likewise.
4907 * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
4908 __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
4909 __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
4910
4b88139b
RM
49112014-06-20 Roland McGrath <roland@hack.frob.com>
4912
4913 * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
4914 (libpthread-routines): Add sysdep.
4915 * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
4916 * sysdeps/unix/sysv/linux/sparc/Versions
4917 (libpthread: GLIBC_2.3.3): New version set.
4918 * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
4919 * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
4920 * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
4921 * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
4922 * sysdeps/sparc/nptl/internaltypes.h: ... here. Use #include_next.
4923 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
4924 Moved ...
4925 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
4926 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
4927 * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
4928 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
4929 * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
4930 * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
4931 * sysdeps/sparc/nptl/sem_init.c: ... here.
4932 * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
4933 * sysdeps/sparc/nptl/sem_post.c: ... here.
4934 * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
4935 * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
4936 * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
4937 * sysdeps/sparc/nptl/sem_wait.c: ... here.
4938 * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
4939 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
4940 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
4941 (libpthread-routines): Add cpu_relax.
4942 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
4943 File removed.
4944 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
4945 (librt: GLIBC_2.3.3): New version set.
4946 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
4947 * sysdeps/sparc/sparc64/nptl/Makefile: New file.
4948 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
4949 (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
4950 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
4951 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
4952 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
4953 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
4954 Moved ...
4955 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
4956 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
4957 * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
4958 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
4959 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
4960 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
4961 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
4962 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
4963 * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
4964 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
4965 Moved ...
4966 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
4967 Update #include.
4968 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
4969 Moved ...
4970 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
4971 Update #include.
4972 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
4973 Moved ...
4974 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
4975 Update #include.
4976 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
4977 Moved ...
4978 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
4979 Update #include.
4980 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
4981 Moved ...
4982 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
4983 Update #include.
4984 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
4985 Moved ...
4986 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
4987 Update #include.
4988 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
4989 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
4990 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
4991 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
4992 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
4993 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
4994 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
4995 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
4996 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
4997 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
4998 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
4999 Moved ...
5000 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
5001 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
5002 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
5003 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
5004 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
5005
d7109027
JM
50062014-06-20 Joseph Myers <joseph@codesourcery.com>
5007
9bc6103d
JM
5008 * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
5009 * nptl/pthread_rwlock_timedrdlock.c: Likewise.
5010 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
5011 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
5012 * nscd/nscd.c: Likewise.
5013 * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
5014 * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
5015 * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
5016 * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
5017
d7109027
JM
5018 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
5019 <kernel-features.h>.
5020 (init_mq_netlink): Remove conditional have_sock_cloexec
5021 definitions. Remove code conditional on have_sock_cloexec < 0.
5022 (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
5023 (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
5024 * sysdeps/unix/sysv/linux/opensock.c: Do not include
5025 <kernel-features.h>.
5026 (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
5027 (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
5028
d92d8f8a
L
50292014-06-20 H.J. Lu <hongjiu.lu@intel.com>
5030
5031 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
5032 Add tests for memset_chk and memset.
5033
5034 * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
5035 with AVX2_Usable.
5036
4e6d2347
MR
50372014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
5038
257ce712
MR
5039 [BZ #16046]
5040 * elf/tst-dl-iter-static.c: New file.
5041 * elf/Makefile (tests-static): Add tst-dl-iter-static.
5042
4e6d2347
MR
5043 * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
5044 error.
5045
a2a76afe
JM
50462014-06-20 Joseph Myers <joseph@codesourcery.com>
5047
7fd00f99
JM
5048 * sysdeps/unix/sysv/linux/kernel-features.h
5049 (__ASSUME_F_GETOWN_EX): Remove macro.
5050 * sysdeps/unix/sysv/linux/fcntl.c: Do not include
5051 <kernel-features.h>.
5052 (miss_F_GETOWN_EX): Remove variable or macro.
5053 (do_fcntl): Do not check miss_F_GETOWN_EX.
5054 (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
5055
4a103975
JM
5056 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
5057 Remove macro.
5058 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
5059 [!__ASSUME_AT_RANDOM]: Remove conditional code.
5060 (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
5061
a2a76afe
JM
5062 * sysdeps/unix/sysv/linux/kernel-features.h
5063 (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
5064 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
5065 [ADJ_OFFSET_SS_READ]: Make code unconditional.
5066 (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
5067
90e5dd48
MR
50682014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
5069
5070 [BZ #17075]
5071 * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
5072 Fix calculation of the symbol's value.
5073 * sysdeps/arm/tst-armtlsdescloc.c: New file.
5074 * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
5075 * sysdeps/arm/tst-armtlsdescextnow.c: New file.
5076 * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
5077 * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
5078 * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
5079 * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
5080 `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
5081 (modules-names): Add `tst-armtlsdescmod',
5082 `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
5083 (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
5084 (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
5085 (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
5086 (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
5087 (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
5088 (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
5089 ($(objpfx)tst-armtlsdescloc): New dependency.
5090 ($(objpfx)tst-armtlsdescextnow): Likewise.
5091 ($(objpfx)tst-armtlsdescextlazy): Likewise.
5092 * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
5093 TLS scheme support.
5094 * sysdeps/arm/configure: Regenerate.
5095
809fdf0d
JM
50962014-06-20 Joseph Myers <joseph@codesourcery.com>
5097
5098 * include/fcntl.h (__atfct_seterrno): Remove prototype.
5099 (__atfct_seterrno_2): Likewise.
5100 * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
5101 <kernel-features.h>.
5102 (__ASSUME_ATFCTS): Do not undefine and redefine.
5103 * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
5104 (__have_atfcts): Remove conditional definition.
5105 (__fxstatat([__NR_fstatat64]: Make code unconditional.
5106 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
5107 unreachable if [__ASSUME_ATFCTS].
5108 * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
5109 not undefine and redefine.
5110 * sysdeps/unix/sysv/linux/faccessat.c: Do not include
5111 <kernel-features.h>.
5112 (faccessat) [__NR_faccessat]: Make code unconditional.
5113 (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
5114 * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
5115 <kernel-features.h>.
5116 (fchmodat) [__NR_fchmodat]: Make code unconditional.
5117 (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
5118 * sysdeps/unix/sysv/linux/fchownat.c: Do not include
5119 <kernel-features.h>.
5120 (fchownat) [__NR_fchownat]: Make code unconditional.
5121 (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
5122 * sysdeps/unix/sysv/linux/futimesat.c: Do not include
5123 <kernel-features.h>.
5124 (futimesat) [__NR_futimesat]: Make code unconditional.
5125 (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
5126 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
5127 <kernel-features.h>.
5128 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
5129 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
5130 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
5131 <kernel-features.h>.
5132 (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
5133 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
5134 * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
5135 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
5136 <kernel-features.h>.
5137 (__fxstatat) [__NR_fstatat64]: Make code unconditional.
5138 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
5139 * sysdeps/unix/sysv/linux/linkat.c: Do not include
5140 <kernel-features.h>.
5141 (linkat) [__NR_linkat]: Make code unconditional.
5142 (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
5143 * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
5144 * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
5145 <kernel-features.h>.
5146 (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
5147 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
5148 * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
5149 <kernel-features.h>.
5150 (mkdirat) [__NR_mkdirat]: Make code unconditional.
5151 (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
5152 * sysdeps/unix/sysv/linux/openat.c: Do not include
5153 <kernel-features.h>.
5154 [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
5155 [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
5156 (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
5157 (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
5158 * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
5159 * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
5160 <kernel-features.h>.
5161 (readlinkat) [__NR_readlinkat]: Make code unconditional.
5162 (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code. Return
5163 result of INLINE_SYSCALL directly, not via int variable.
5164 * sysdeps/unix/sysv/linux/renameat.c: Do not include
5165 <kernel-features.h>.
5166 [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
5167 (renameat) [__NR_renameat]: Make code unconditional.
5168 (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
5169 * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
5170 * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
5171 * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
5172 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
5173 (__ASSUME_ATFCTS): Do not undefine and redefine.
5174 * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
5175 <kernel-features.h>.
5176 (symlinkat) [__NR_symlinkat]: Make code unconditional.
5177 (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
5178 * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
5179 <kernel-features.h>.
5180 (unlinkat) [__NR_unlinkat]: Make code unconditional.
5181 (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
5182 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
5183 (__ASSUME_ATFCTS): Do not undefine and redefine.
5184 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
5185 <kernel-features.h>.
5186 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
5187 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
5188 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
5189 <kernel-features.h>.
5190 (__xmknodat) [__NR_mknodat]: Make code unconditional.
5191 (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
5192
224c6c51
L
51932014-06-20 H.J. Lu <hongjiu.lu@intel.com>
5194
5195 * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
5196
aa6ec754
AS
51972014-06-20 Andreas Schwab <schwab@linux-m68k.org>
5198
5199 [BZ #17069]
5200 * posix/regcomp.c (parse_reg_exp): Deallocate partially
5201 constructed tree before returning error.
5202 * posix/bug-regexp36.c: Expand test case.
5203
d8c2869d
SL
52042014-06-20 Stefan Liebler <stli@linux.vnet.ibm.com>
5205
3ef6b850
SL
5206 [BZ #6803]
5207 * math/libm-test.inc (scalbln_test_date):
5208 Add errno expectations.
5209 * math/w_scalblnf.c: New File.
5210 Add wrapper which checks for setting errno to ERANGE.
5211 Add weak_alias for corresponding scalbln function.
5212 * math/w_scalbln.c: Likewise.
5213 * math/w_scalblnl.c: Likewise.
5214 * math/Makefile (libm-calls): Add w_scalbln.
5215 * sysdeps/ieee754/flt-32/s_scalblnf.c:
5216 Remove weak_alias for corresponding scalbln function.
5217 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
5218 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
5219 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
5220 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
5221 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
5222 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
5223 * sysdeps/i386/fpu/s_scalbn.S: Likewise.
5224 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
5225 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
5226 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
5227 Remove long_double_symbol for scalblnl function in libm, libc.
5228 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
5229 Add wrapper which checks for setting errno to ERANGE.
5230 Add long_double_symbol for scalblnl function in libm, libc.
5231 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
5232 Remove long_double_symbol for scalblnl in libm.
5233 * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
5234 Add wrapper which checks for setting errno to ERANGE.
5235 Add long_double_symbol for scalblnl function in libm.
5236 * sysdeps/ia64/fpu/w_scalblnf.c: New File.
5237 Do not use wrapper because of own implementation.
5238
c8daec5c
L
52392014-06-19 H.J. Lu <hongjiu.lu@intel.com>
5240
5241 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
5242 3 bytes for __pad1 for x32.
5243 (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
5244
5c74e47c
LM
52452014-06-19 Ling Ma <ling.ml@alibaba-inc.com>
5246 H.J. Lu <hongjiu.lu@intel.com>
5247
5248 * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
5249 * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
5250 * sysdeps/x86_64/multiarch/memset.S: Likewise.
5251 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
5252 * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
5253
4d43ef1e
AS
52542014-06-19 Andreas Schwab <schwab@linux-m68k.org>
5255
5256 [BZ #17069]
5257 * posix/regcomp.c (parse_expression): Deallocate partially
5258 constructed tree before returning error.
5259 * posix/Makefile.c (tests): Add bug-regex36.
5260 (generated): Add bug-regex36.mtrace.
5261 (tests-special): Add $(objpfx)bug-regex36-mem.out
5262 (bug-regex36-ENV): New variable.
5263 ($(objpfx)bug-regex36-mem.out): New rule.
5264 * posix/bug-regex36.c: New file.
5265
51a7380b
WN
52662014-06-19 Will Newton <will.newton@linaro.org>
5267
5268 * malloc/malloc.c (systrim): If extra is zero then return
5269 early.
5270
91b84fe5
SP
52712014-06-19 Siddhesh Poyarekar <siddhesh@redhat.com>
5272
5273 * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
5274
f940b965
RE
52752014-06-19 Richard Earnshaw <rearnsha@arm.com>
5276
5277 * sysdeps/aarch64/strchr.S: New file.
5278
4ba7a00f
JM
52792014-06-18 Joseph Myers <joseph@codesourcery.com>
5280
5281 [BZ #17022]
5282 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
5283 from arguments -2 or below.
5284 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
5285 * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
5286
b3a9f56b
AS
52872014-06-18 Andreas Schwab <schwab@suse.de>
5288
5289 [BZ #17062]
5290 * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
5291 of a bracket expr not to run off the end of the string.
5292 * posix/Makefile (tests): Add tst-fnmatch3.
5293 * posix/tst-fnmatch3.c: New file.
5294
85d89278
JM
52952014-06-18 Joseph Myers <joseph@codesourcery.com>
5296
5297 * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
5298 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
5299 [$(cross-compiling) = no]: Likewise.
5300 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
5301 [$(cross-compiling) = no]: Likewise.
5302
754c5a08
RS
53032014-16-17 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
5304
5305 [BZ #17031]
5306 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
5307 double, adjusted for any remainder from the high double.
5308 * math/libm-test.inc (nearbyint): Add tests.
5309 (rint): Likewise.
5310
556f529d
AZ
53112014-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5312
5313 * nptl/sysdeps/powerpc/Makefile: Moved ...
5314 * sysdeps/powerpc/nptl/Makefile: ... here.
5315 * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
5316 * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
5317 * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
5318 * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
5319 * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
5320 * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
5321 * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
5322 * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
5323 * nptl/sysdeps/powerpc/tls.h: Moved ...
5324 * sysdeps/powerpc/nptl/tls.h: ... here.
5325
91c03c53
JM
53262014-06-16 Joseph Myers <joseph@codesourcery.com>
5327
5328 [BZ #16681]
5329 * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
5330 * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
5331 * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
5332 * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
5333 * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
5334 * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
5335 * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
5336 * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
5337 * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
5338
a76e63c5
AS
53392014-06-17 Andreas Schwab <schwab@linux-m68k.org>
5340
5341 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
5342
f2f6d82f
AS
53432014-06-16 Andreas Schwab <schwab@linux-m68k.org>
5344
ea8a15f6
AS
5345 * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
5346 defined operator.
5347
f2f6d82f
AS
5348 * scripts/cross-test-ssh.sh (timeoutfactor): Default to
5349 $TIMEOUTFACTOR.
5350
a7291117
FW
53512014-06-16 Florian Weimer <fweimer@redhat.com>
5352
5353 [BZ #17058]
5354 * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
5355 non-executed part of the test.
5356
3d7c00e3
AS
53572014-06-16 Andreas Schwab <schwab@suse.de>
5358
5359 * string/bits/string2.h (strdup, strndup): Update feature guard.
5360
6957fb31
DM
53612014-06-14 David S. Miller <davem@davemloft.net>
5362
5363 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5364
11b9e55b
AS
53652014-06-14 Andreas Schwab <schwab@linux-m68k.org>
5366
1d2a0492
AS
5367 * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
5368 that was previously under [RESET_PID].
5369 * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
5370
11b9e55b
AS
5371 * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
5372 * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
5373 * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
5374 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
5375 (__libc_vfork): New strong alias.
5376 * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
5377
0f6901d0
AK
53782014-06-14 Andi Kleen <ak@linux.intel.com>
5379
5380 * sysdeps/generic/elide.h: New file.
5381
38bbbb9f
SL
53822014-06-13 Stefan Liebler <stli@linux.vnet.ibm.com>
5383
5384 * Makefile (installed-headers): Adjust path of pthread.h header.
5385
45193bb8
RM
53862014-06-13 Roland McGrath <roland@hack.frob.com>
5387
9a25fd1e
RM
5388 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
5389 * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
5390 * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
5391 * sysdeps/s390/nptl/bits/semaphore.h: ... here.
5392
4004f7e4
RM
5393 * nptl/sysdeps/s390/Makefile: Moved ...
5394 * sysdeps/s390/nptl/Makefile: ... here.
5395 * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
5396 * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
5397 * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
5398 * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
5399 * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
5400 * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
5401 * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
5402 * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
5403 * nptl/sysdeps/s390/pthreaddef.h: Moved ...
5404 * sysdeps/s390/nptl/pthreaddef.h: ... here.
5405 * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
5406 * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
5407 * nptl/sysdeps/s390/tls.h: Moved ...
5408 * sysdeps/s390/nptl/tls.h: ... here.
5409
45193bb8
RM
5410 * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
5411 * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
5412
f6fdf533
DM
54132014-06-13 David S. Miller <davem@davemloft.net>
5414
5415 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
5416 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
5417 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
5418 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
5419 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
5420 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
5421 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
5422 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
5423 * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
5424 * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
5425 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
5426 Remove RESET_PID cpp guards.
5427 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
5428 Remove RESET_PID cpp guards.
5429 * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
5430
f5d71e14
AS
54312014-06-13 Andreas Schwab <schwab@linux-m68k.org>
5432
5433 * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
5434 __sp to uintptr_t.
5435
b7aa8caa
AK
54362014-06-13 Andi Kleen <ak@linux.intel.com>
5437
4b266200
AZ
5438 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
5439 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
5440 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
5441 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
5442 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
5443 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
5444 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
5445 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
5446 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
5447 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
5448 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
5449 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
5450 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
5451 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
5452 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
5453 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
5454 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
5455 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
5456 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
5457 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
8491ed6d
AK
5458
5459 * nptl/pthread_rwlock_rdlock.c: Include elide.h.
4b266200
AZ
5460 (pthread_rwlock_rdlock): Add elision.
5461 * nptl/pthread_rwlock_wrlock.c: Include elide.h.
5462 (pthread_rwlock_wrlock): Add elision.
5463 * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
5464 (pthread_rwlock_trywrlock): Add elision.
5465 * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
5466 (pthread_rwlock_tryrdlock): Add elision.
5467 * nptl/pthread_rwlock_unlock.c: Include elide.h.
5468 (pthread_rwlock_tryrdlock): Add elision unlock.
5469 * nptl/sysdeps/pthread/pthread.h:
5470 (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
5471 (PTHREAD_RWLOCK_INITIALIZER,
5472 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
5473 Handle new elision field.
5474 * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
5475 * sysdeps/arm/nptl/bits/pthreadtypes.h
5476 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
5477 * sysdeps/sh/nptl/bits/pthreadtypes.h
5478 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
5479 * sysdeps/tile/nptl/bits/pthreadtypes.h
5480 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
5481 * sysdeps/a/nptl/bits/pthreadtypes.h
5482 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
5483 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
5484 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
5485 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
5486 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
5487 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
5488 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
5489 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
5490 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
5491 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
5492 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
5493 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
5494 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
5495 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
5496 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
5497 * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
5498 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
5499 * sysdeps/unix/sysv/linux/x86/elision-conf.c:
5500 (elision_init): Set try_xbegin to zero when no RTM.
5501 * sysdeps/x86/nptl/bits/pthreadtypes.h
5502 (pthread_rwlock_t): Change __pad1 to __rwelision.
5503 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
8491ed6d 5504
a832bdd3
AK
55052014-06-13 Andi Kleen <ak@linux.intel.com>
5506
5507 * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
5508 Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
5509 * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
5510 Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
5511
995a46bb
MI
55122014-06-13 Meador Inge <meadori@codesourcery.com>
5513
5514 [BZ #16996]
03ed7738 5515 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
995a46bb
MI
5516 that the cached result has been set before returning it.
5517
45262aee
RM
55182014-06-12 Roland McGrath <roland@hack.frob.com>
5519
febf6cc5
RM
5520 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
5521 * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
5522 * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
5523 * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
5524 * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
5525 * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
5526
e2682246
RM
5527 * nptl/sysdeps/sparc/Makefile: Moved ...
5528 * sysdeps/sparc/nptl/Makefile: ... here.
5529 * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
5530 * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
5531 * nptl/sysdeps/sparc/tls.h: Moved ...
5532 * sysdeps/sparc/nptl/tls.h: ... here.
5533 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
5534 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
5535 * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
5536 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
5537 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
5538 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
5539 * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
5540 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
5541 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
5542 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
5543 * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
5544 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
5545 * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
5546 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
5547 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
5548 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
5549 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
5550 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
5551 Update #include.
5552 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
5553 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
5554 Update #include.
5555 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
5556 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
5557 Update #include.
5558 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
5559 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
5560 Update #include.
5561
b0725f43
RM
5562 * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
5563
b14368b8
RM
5564 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
5565 * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
5566
c5620eb3
RM
5567 * sysdeps/pthread/posix-timer.h: Include <list.h>.
5568 (struct list_links): Type removed.
5569 (struct thread_node, struct timer_node): Replace struct list_links
5570 with struct list_head.
5571 (list_unlink_ip): Likewise.
5572 * sysdeps/pthread/timer_routines.c
5573 (timer_free_list, thread_free_list, thread_active_list): Likewise.
5574 (list_append, list_insbefore): Likewise.
5575 (list_init): Function removed.
5576 (thread_init, init_module): Use INIT_LIST_HEAD instead.
463dc947
RM
5577 * sysdeps/nptl/Makefile: Move tst-timer bits to ...
5578 * sysdeps/pthread/Makefile: ... here, new file.
5579
5580 * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
5581 * sysdeps/nptl/Implies: ... here.
5582 * sysdeps/unix/sysv/linux/Implies: Add nptl.
5583 * nptl/sysdeps/pthread/list.h: Moved ...
5584 * include/list.h: ... here.
5585 * nptl/sysdeps/pthread/createthread.c: Moved ...
5586 * nptl/createthread.c: ... here.
5587 * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
5588 * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
5589 * nptl/pt-longjmp.c: ... here.
5590 * nptl/sysdeps/pthread/Makefile: Moved ...
5591 * sysdeps/nptl/Makefile: ... here.
5592 * nptl/sysdeps/pthread/Subdirs: Moved ...
5593 * sysdeps/nptl/Subdirs: ... here.
5594 * nptl/sysdeps/pthread/aio_misc.h: Moved ...
5595 * sysdeps/nptl/aio_misc.h: ... here.
5596 * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
5597 * sysdeps/nptl/bits/libc-lock.h: ... here.
5598 * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
5599 * sysdeps/nptl/bits/libc-lockP.h: ... here.
5600 * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
5601 * sysdeps/nptl/bits/stdio-lock.h: ... here.
5602 * nptl/sysdeps/pthread/configure: Moved ...
5603 * sysdeps/nptl/configure: ... here.
5604 * nptl/sysdeps/pthread/configure.ac: Moved ...
5605 * sysdeps/nptl/configure.ac: ... here.
5606 * nptl/sysdeps/pthread/gai_misc.h: Moved ...
5607 * sysdeps/nptl/gai_misc.h: ... here.
5608 * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
5609 * sysdeps/nptl/librt-cancellation.c: ... here.
5610 * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
5611 * sysdeps/nptl/malloc-machine.h: ... here.
5612 * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
5613 * sysdeps/nptl/pthread-functions.h: ... here.
5614 * nptl/sysdeps/pthread/pthread.h: Moved ...
5615 * sysdeps/nptl/pthread.h: ... here.
5616 * nptl/sysdeps/pthread/setxid.h: Moved ...
5617 * sysdeps/nptl/setxid.h: ... here.
5618 * nptl/sysdeps/pthread/sigfillset.c: Moved ...
5619 * sysdeps/nptl/sigfillset.c: ... here.
5620 * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
5621 * sysdeps/nptl/tcb-offsets.h: ... here.
5622 * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
5623 * sysdeps/nptl/tst-mqueue8x.c: ... here.
5624 * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
5625 * sysdeps/nptl/unwind-forcedunwind.c: ... here.
5626 * nptl/sysdeps/pthread/allocalim.h: Moved ...
5627 * sysdeps/pthread/allocalim.h: ... here.
5628 * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
5629 * sysdeps/pthread/bits/sigthread.h: ... here.
5630 * nptl/sysdeps/pthread/flockfile.c: Moved ...
5631 * sysdeps/pthread/flockfile.c: ... here.
5632 * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
5633 * sysdeps/pthread/ftrylockfile.c: ... here.
5634 * nptl/sysdeps/pthread/funlockfile.c: Moved ...
5635 * sysdeps/pthread/funlockfile.c: ... here.
5636 * nptl/sysdeps/pthread/posix-timer.h: Moved ...
5637 * sysdeps/pthread/posix-timer.h: ... here.
5638 * nptl/sysdeps/pthread/timer_create.c: Moved ...
5639 * sysdeps/pthread/timer_create.c: ... here.
5640 * nptl/sysdeps/pthread/timer_delete.c: Moved ...
5641 * sysdeps/pthread/timer_delete.c: ... here.
5642 * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
5643 * sysdeps/pthread/timer_getoverr.c: ... here.
5644 * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
5645 * sysdeps/pthread/timer_gettime.c: ... here.
5646 * nptl/sysdeps/pthread/timer_routines.c: Moved ...
5647 * sysdeps/pthread/timer_routines.c: ... here.
5648 * nptl/sysdeps/pthread/timer_settime.c: Moved ...
5649 * sysdeps/pthread/timer_settime.c: ... here.
5650 * nptl/sysdeps/pthread/tst-timer.c: Moved ...
5651 * sysdeps/pthread/tst-timer.c: ... here.
5652 * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
5653 * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
5654
e876b090
RM
5655 * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
5656 * nptl/sysdeps/pthread/sigprocmask.c: File removed.
5657
f6b07b3d
RM
5658 * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
5659 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
5660 * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
5661 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
5662 Update #include target.
5663 * nptl/sysdeps/i386/i686/Makefile: Moved ...
5664 * sysdeps/i386/i686/nptl/Makefile: ... here.
5665 * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
5666 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
5667 Update #include target.
5668 * nptl/sysdeps/i386/i686/tls.h: Moved ...
5669 * sysdeps/i386/i686/nptl/tls.h: ... here. Use #include_next.
5670 * nptl/sysdeps/i386/Makefile: Moved ...
5671 * sysdeps/i386/nptl/Makefile: ... here.
5672 * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
5673 * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
5674 * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
5675 * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
5676 * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
5677 * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
5678 * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
5679 * nptl/sysdeps/i386/pthreaddef.h: Moved ...
5680 * sysdeps/i386/nptl/pthreaddef.h: ... here.
5681 * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
5682 * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
5683 * nptl/sysdeps/i386/tls.h: Moved ...
5684 * sysdeps/i386/nptl/tls.h: ... here.
5685
45262aee
RM
5686 * sysdeps/sh/Makefile [$(subdir) = csu]
5687 (gen-as-const-headers): Add tcb-offsets.sym.
5688 * nptl/sysdeps/sh/Makefile: File removed.
5689 * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
5690 * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
5691 * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
5692 * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
5693 * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
5694 * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
5695 * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
5696 * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
5697 * nptl/sysdeps/sh/pthreaddef.h: Moved ...
5698 * sysdeps/sh/nptl/pthreaddef.h: ... here.
5699 * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
5700 * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
5701 * nptl/sysdeps/sh/tls.h: Moved ...
5702 * sysdeps/sh/nptl/tls.h: ... here.
5703 * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
5704 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
5705 * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
5706 * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
5707 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
5708 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
5709 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
5710 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
5711 * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
5712 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
5713 * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
5714 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
5715 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
5716 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
5717 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
5718 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
5719 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
5720 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
5721 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
5722 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
5723 * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
5724 * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
5725 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
5726 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
5727 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
5728 Moved ...
5729 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
5730 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
5731 Moved ...
5732 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
5733 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
5734 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
5735 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
5736 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
5737 * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
5738 * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
5739 * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
5740 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
5741 * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
5742 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
5743 * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
5744 * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
5745 * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
5746 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
5747 * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
5748 * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
5749 * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
5750 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
5751
35a5e3e3
SL
57522014-06-12 Stefan Liebler <stli@linux.vnet.ibm.com>
5753
5754 * posix/spawn_faction_addopen.c: Include string.h.
5755
14642b85
RM
57562014-06-11 Roland McGrath <roland@hack.frob.com>
5757
5758 * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
5759 * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
5760 * nptl/sysdeps/x86_64/Makefile: Moved ...
5761 * sysdeps/x86_64/nptl/Makefile: ... here.
5762 * nptl/sysdeps/x86_64/configure: Moved ...
5763 * sysdeps/x86_64/nptl/configure: ... here.
5764 * nptl/sysdeps/x86_64/configure.ac: Moved ...
5765 * sysdeps/x86_64/nptl/configure.ac: ... here.
5766 * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
5767 * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
5768 * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
5769 * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
5770 * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
5771 * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
5772 * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
5773 * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
5774 * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
5775 * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
5776 * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
5777 * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
5778 * nptl/sysdeps/x86_64/tls.h: Moved ...
5779 * sysdeps/x86_64/nptl/tls.h: ... here.
5780 * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
5781 * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
5782 * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
5783 * sysdeps/x86_64/x32/nptl/tls.h: ... here.
5784
5785 * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
5786
31c44fea
AZ
57872014-06-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5788
5789 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5790
e81a4f9a
JM
57912014-06-11 Joseph Myers <joseph@codesourcery.com>
5792
5793 * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
5794 type.
5795 [POSIX] (off_t): Likewise.
5796 * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
5797 [POSIX] (S_ISBLK): Require macro.
5798 [POSIX] (S_ISCHR): Likewise.
5799 [POSIX] (S_ISDIR): Likewise.
5800 [POSIX] (S_ISFIFO): Likewise.
5801 [POSIX] (S_ISREG): Likewise.
5802 [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
5803 optional-macro.
5804 * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
5805 type.
5806 [POSIX] (time_t): Likewise.
5807 [POSIX] (timer_t): Likewise.
5808
89e435f3
FW
58092014-06-11 Florian Weimer <fweimer@redhat.com>
5810
5811 [BZ #17048]
5812 * posix/spawn_int.h (struct __spawn_action): Make the path string
5813 non-const to support deallocation.
5814 * posix/spawn_faction_addopen.c
5815 (posix_spawn_file_actions_addopen): Make a copy of the pathname.
5816 * posix/spawn_faction_destroy.c
5817 (posix_spawn_file_actions_destroy): Adjust comment. Deallocate
5818 path in all spawn_do_open actions.
5819 * posix/tst-spawn.c (do_test): Exercise the copy operation in
5820 posix_spawn_file_actions_addopen.
5821
c3a2ebe1
CM
58222014-06-11 Chris Metcalf <cmetcalf@tilera.com>
5823
5824 * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
5825 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
5826 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
5827 conditional code always true.
5828 (__libc_vfork): New alias.
5829
9503784a
RM
58302014-06-11 Roland McGrath <roland@hack.frob.com>
5831
c9cab3d2
RM
5832 * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
5833 * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
5834
d3996c79
RM
5835 * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
5836
ba5ec611
RM
5837 * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
5838 * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
5839
f12b4814
RM
5840 * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
5841 * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
5842
9503784a
RM
5843 * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
5844 * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
5845
e23d3d26
VR
58462014-06-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
5847
5848 * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
5849 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
5850 multiarch strcmp for PPC64.
5851 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
5852 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
5853 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
5854 multiarch optimizations.
5855 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
5856 (__libc_ifunc_impl_list): Likewise.
5857
42b1161e
SP
58582014-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
5859
5860 * benchtests/scripts/validate_benchout.py: New script.
5861 * benchtests/Makefile (bench-func): Call it.
5862 * benchtests/scripts/benchout.schema.json: New file.
5863
2d0fc4dc
CM
58642014-06-10 Chris Metcalf <cmetcalf@tilera.com>
5865
4a594c34
AZ
5866 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
5867 * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
5868 * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
5869 * sysdeps/tile/nptl/bits/semaphore.h: ... here.
5870 * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
5871 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
5872 * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
5873 * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
5874 * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
5875 * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
5876 * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
5877 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
5878 * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
5879 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
5880 * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
5881 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
5882 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
2d0fc4dc 5883 Moved ...
4a594c34 5884 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
2d0fc4dc 5885 ... here.
4a594c34 5886 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
2d0fc4dc 5887 Moved ...
4a594c34
AZ
5888 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
5889 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
2d0fc4dc 5890 Moved ...
4a594c34 5891 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
2d0fc4dc 5892 ... here.
4a594c34 5893 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
2d0fc4dc 5894 Moved ...
4a594c34 5895 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
2d0fc4dc 5896 ... here.
4a594c34 5897 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
2d0fc4dc 5898 Moved ...
4a594c34
AZ
5899 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
5900 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
2d0fc4dc 5901 Moved ...
4a594c34 5902 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
2d0fc4dc 5903 ... here.
4a594c34 5904 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
2d0fc4dc 5905 Moved ...
4a594c34 5906 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
2d0fc4dc 5907 ... here.
4a594c34 5908 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
2d0fc4dc 5909 Moved ...
4a594c34
AZ
5910 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
5911 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
2d0fc4dc 5912 Moved ...
4a594c34 5913 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
2d0fc4dc 5914 ... here.
4a594c34 5915 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
2d0fc4dc 5916 Moved ...
4a594c34 5917 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
2d0fc4dc 5918 ... here.
4a594c34 5919 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
2d0fc4dc 5920 Moved ...
4a594c34 5921 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
2d0fc4dc 5922 ... here.
4a594c34 5923 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
2d0fc4dc 5924 Moved ...
4a594c34
AZ
5925 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
5926 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
2d0fc4dc 5927 Moved ...
4a594c34 5928 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
2d0fc4dc 5929 ... here.
4a594c34 5930 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
2d0fc4dc 5931 Moved ...
4a594c34 5932 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
2d0fc4dc 5933 ... here.
4a594c34 5934 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
2d0fc4dc 5935 Moved ...
4a594c34 5936 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
2d0fc4dc 5937 ... here.
4a594c34 5938 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
2d0fc4dc 5939 Moved ...
4a594c34
AZ
5940 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
5941 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
2d0fc4dc 5942 Moved ...
4a594c34 5943 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
2d0fc4dc 5944 ... here.
4a594c34 5945 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
2d0fc4dc 5946 Moved ...
4a594c34 5947 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
2d0fc4dc 5948 ... here.
4a594c34 5949 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
2d0fc4dc 5950 Moved ...
4a594c34
AZ
5951 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
5952 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
2d0fc4dc 5953 Moved ...
4a594c34 5954 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
2d0fc4dc 5955 ... here.
4a594c34 5956 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
2d0fc4dc 5957 Moved ...
4a594c34
AZ
5958 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
5959 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
2d0fc4dc 5960 Moved ...
4a594c34
AZ
5961 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
5962 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
2d0fc4dc 5963 Moved ...
4a594c34 5964 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
2d0fc4dc 5965 ... here.
4a594c34 5966 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
2d0fc4dc 5967 Moved ...
4a594c34 5968 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
2d0fc4dc 5969 ... here.
4a594c34 5970 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
2d0fc4dc 5971 Moved ...
4a594c34 5972 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
2d0fc4dc 5973 ... here.
4a594c34 5974 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
2d0fc4dc 5975 Moved ...
4a594c34
AZ
5976 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
5977 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
2d0fc4dc 5978 Moved ...
4a594c34 5979 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
2d0fc4dc 5980 ... here.
4a594c34 5981 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
2d0fc4dc 5982 Moved ...
4a594c34 5983 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
2d0fc4dc 5984 ... here.
4a594c34
AZ
5985 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
5986 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
5987 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
5988 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
5989 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
2d0fc4dc 5990 Moved ...
4a594c34 5991 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
2d0fc4dc 5992 ... here.
4a594c34
AZ
5993 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
5994 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
5995 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
5996 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
5997 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
5998 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
5999 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
6000 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
6001 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
6002 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
6003 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
6004 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
6005 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
2d0fc4dc 6006 Moved ...
4a594c34
AZ
6007 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
6008 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
2d0fc4dc 6009 Moved ...
4a594c34
AZ
6010 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
6011 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
6012 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
6013 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
2d0fc4dc 6014 Moved ...
4a594c34
AZ
6015 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
6016 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
6017 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
6018 * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
6019 * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
6020 * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
6021 * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
2d0fc4dc 6022
0570cfed
W
60232014-06-10 Wilco <wdijkstr@arm.com>
6024
6025 * math/test-fenv-return.c: New file.
6026 * math/Makefile: Add new test test-fenv-return.
6027
f8ba1b56
JM
60282014-06-10 Joseph Myers <joseph@codesourcery.com>
6029
6030 [BZ #17042]
6031 * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
6032 when x - 1 is zero.
6033 * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
6034 * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
6035 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
6036 0.0L for an argument of 1.0L.
6037 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
6038 Likewise.
6039 * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
6040 value when x - 1 is zero.
6041 * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
6042 * sysdeps/i386/fpu/libm-test-ulps: Update.
6043 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6044
2c3520d9
BO
60452014-06-09 Bernard Ogden <bernie.ogden@linaro.org>
6046
6047 [BZ #15119]
6048 * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
6049
acaa4d24
RM
60502014-06-09 Roland McGrath <roland@hack.frob.com>
6051
6052 * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
6053 * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
6054
962b744d
RM
60552014-06-09 Roland McGrath <roland@hack.frob.com>
6056
d752f0cc
RM
6057 * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
6058 * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
6059
34eda6d1
RM
6060 * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
6061 * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
6062
50f0a637
RM
6063 * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
6064 * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
6065
08f41f04
RM
6066 * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
6067 * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
6068
962b744d
RM
6069 * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
6070 if not already defined.
6071 (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
6072 * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
6073 * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
6074 (TLS_INIT_TP): Use it.
6075 (TLS_DEFINE_INIT_TP): New macro.
6076 * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
6077
09f19b05
JM
60782014-06-09 Joseph Myers <joseph@codesourcery.com>
6079
6080 * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
6081 constant.
6082 [POSIX] (IXANY): Likewise.
6083 [POSIX] (OLCUC): Likewise.
6084 [POSIX || POSIX2008] (CBAUD): Do not allow.
6085 [POSIX || POSIX2008] (DEFECHO): Likewise.
6086 [POSIX || POSIX2008] (ECHOCTL): Likewise.
6087 [POSIX || POSIX2008] (ECHOKE): Likewise.
6088 [POSIX || POSIX2008] (ECHOPRT): Likewise.
6089 [POSIX || POSIX2008] (EXTA): Likewise.
6090 [POSIX || POSIX2008] (EXTB): Likewise.
6091 [POSIX || POSIX2008] (FLUSHO): Likewise.
6092 [POSIX || POSIX2008] (LOBLK): Likewise.
6093 [POSIX || POSIX2008] (PENDIN): Likewise.
6094 [POSIX || POSIX2008] (SWTCH): Likewise.
6095 [POSIX || POSIX2008] (VDISCARD): Likewise.
6096 [POSIX || POSIX2008] (VDSUSP): Likewise.
6097 [POSIX || POSIX2008] (VLNEXT): Likewise.
6098 [POSIX || POSIX2008] (VREPRINT): Likewise.
6099 [POSIX || POSIX2008] (VSTATUS): Likewise.
6100 [POSIX || POSIX2008] (VWERASE): Likewise.
6101 (B*): Change to B[0123456789]*.
6102 * conform/data/time.h-data [POSIX || UNIX98]
6103 (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
6104 [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
6105 [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
6106 [POSIX] (tm_*): Do not allow.
6107
686554bf
JM
61082014-06-07 Joseph Myers <joseph@codesourcery.com>
6109
6110 * Makefile (install): Don't set LANGUAGE.
6111 * Makefile.in (install): Likewise.
6112 * assert/Makefile (test-assert-ENV): Remove variable.
6113 (test-assert-perr-ENV): Likewise.
6114 * elf/Makefile (neededtest4-ENV): Likewise.
6115 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
6116 [$(cross-compiling) = no]: Don't set LANGUAGE.
6117 * io/ftwtest-sh (LANG): Remove variable.
6118 * libio/Makefile (tst-widetext-ENV): Likewise.
6119 * manual/install.texi (Running make install): Don't refer to
6120 environment settings for make install.
6121 * INSTALL: Regenerated.
6122 * nptl/tst-tls6.sh: Don't set LANG.
6123 * posix/globtest.sh (LANG): Remove variable.
6124 * string/Makefile (tester-ENV): Likewise.
6125 (inl-tester-ENV): Likewise.
6126 (noinl-tester-ENV): Likewise.
6127 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
6128 [$(cross-compiling) = no]: Don't set LANGUAGE.
6129 * timezone/Makefile (build-testdata): Use $(built-program-cmd)
6130 without explicit environment settings.
6131
68e6b6b1
RM
61322014-06-06 Roland McGrath <roland@hack.frob.com>
6133
6134 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
6135 * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
6136 * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
6137 * sysdeps/sh/nptl/bits/semaphore.h: ... here.
6138
4d3ae034
CM
61392014-06-06 Chris Metcalf <cmetcalf@tilera.com>
6140
6141 * crypt/crypt-private.h [DOS]: Add some includes taken from the
6142 other files in the crypt directory.
6143 * crypt/crypt.c: Remove duplicate includes.
6144 * crypt/crypt-entry.c: Likewise.
6145 * crypt/crypt_util.c: Likewise.
6146
8540f6d2
JM
61472014-06-06 Joseph Myers <joseph@codesourcery.com>
6148
6149 * Makeconfig (run-program-env): New variable.
6150 (run-program-prefix-before-env): Likewise.
6151 (run-program-prefix-after-env): Likewise.
6152 (run-program-prefix): Define in terms of new variables.
6153 (built-program-cmd-before-env): New variable.
6154 (built-program-cmd-after-env): Likewise.
6155 (built-program-cmd): Define in terms of new variables.
6156 (test-program-prefix-before-env): New variable.
6157 (test-program-prefix-after-env): Likewise.
6158 (test-program-prefix): Define in terms of new variables.
6159 (test-program-cmd-before-env): New variable.
6160 (test-program-cmd-after-env): Likewise.
6161 (test-program-cmd): Define in terms of new variables.
6162 * Rules (make-test-out): Use $(run-program-env).
6163 * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
6164 (help): Do not mention environment variables. Mention
6165 --timeoutfactor option.
6166 (timeoutfactor): New variable.
6167 (blacklist_exports): Remove function.
6168 (exports): Remove variable.
6169 (command): Do not include ${exports}.
6170 * manual/install.texi (Configuring and compiling): Do not mention
6171 test wrappers preserving environment variables. Mention that last
6172 assignment to a variable must take precedence.
6173 * INSTALL: Regenerated.
6174 * benchtests/Makefile (run-bench): Use $(run-program-env).
6175 * catgets/Makefile ($(objpfx)test1.cat): Use
6176 $(built-program-cmd-before-env), $(run-program-env) and
6177 $(built-program-cmd-after-env).
6178 ($(objpfx)test2.cat): Do not specify environment variables
6179 explicitly.
6180 ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
6181 $(run-program-env) and $(built-program-cmd-after-env).
6182 ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
6183 $(run-program-env) and $(test-program-cmd-after-env).
6184 ($(objpfx)sample.SJIS.cat): Do not specify environment variables
6185 explicitly.
6186 * catgets/test-gencat.sh: Use test_program_cmd_before_env,
6187 run_program_env and test_program_cmd_after_env arguments.
6188 * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
6189 * elf/tst-pathopt.sh: Use run_program_env argument.
6190 * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
6191 $(test-wrapper-env) and $(run-program-env).
6192 * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
6193 run_program_env arguments.
6194 * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
6195 * intl/Makefile ($(objpfx)tst-gettext.out): Use
6196 $(test-program-prefix-before-env), $(run-program-env) and
6197 $(test-program-prefix-after-env).
6198 ($(objpfx)tst-gettext2.out): Likewise.
6199 * intl/tst-gettext.sh: Use test_program_prefix_before_env,
6200 run_program_env and test_program_prefix_after_env arguments.
6201 * intl/tst-gettext2.sh: Likewise.
6202 * intl/tst-gettext4.sh: Do not set environment variables
6203 explicitly.
6204 * intl/tst-gettext6.sh: Likewise.
6205 * intl/tst-translit.sh: Likewise.
6206 * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
6207 $(test-program-prefix-before-env), $(run-program-env) and
6208 $(test-program-prefix-after-env).
6209 * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
6210 run_program_env and test_program_prefix_after_env arguments.
6211 * math/Makefile (run-regen-ulps): Use $(run-program-env).
6212 * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
6213 * nptl/tst-tls6.sh: Use run_program_env argument. Set LANG=C
6214 explicitly with each use of ${test_wrapper_env}.
6215 * posix/Makefile ($(objpfx)wordexp-tst.out): Use
6216 $(test-program-prefix-before-env), $(run-program-env) and
6217 $(test-program-prefix-after-env).
6218 * posix/tst-getconf.sh: Do not set environment variables
6219 explicitly.
6220 * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
6221 run_program_env and test_program_prefix_after_env arguments.
6222 * stdio-common/tst-printf.sh: Do not set environment variables
6223 explicitly.
6224 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
6225 $(test-program-prefix-before-env), $(run-program-env) and
6226 $(test-program-prefix-after-env).
6227 * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
6228 run_program_env and test_program_prefix_after_env arguments.
6229 Split $test calls into $test_pre and $test.
6230 * timezone/Makefile (build-testdata): Use
6231 $(built-program-cmd-before-env), $(run-program-env) and
6232 $(built-program-cmd-after-env).
6233
ed36bfa1
AZ
62342014-06-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6235
6236 * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
6237 strlen for non SHARED builds.
6238
fc75bf46
SP
62392014-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
6240
6241 * nptl/allocatestack.c (check_list): Inlined function...
6242 (__reclaim_stacks): ... here.
6243
d89b3d80
OB
62442014-06-05 Ondřej Bílka <neleai@seznam.cz>
6245
6246 [BZ #15698]
6247 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
6248 memory overrun.
6249
2bf18041
JM
62502014-06-05 Joseph Myers <joseph@codesourcery.com>
6251
6252 * Rules (make-test-out): Include
6253 LOCPATH=$(common-objpfx)localedata in default environment.
6254 * debug/Makefile (tst-chk1-ENV): Remove variable.
6255 (tst-chk2-ENV): Likewise.
6256 (tst-chk3-ENV): Likewise.
6257 (tst-chk4-ENV): Likewise.
6258 (tst-chk5-ENV): Likewise.
6259 (tst-chk6-ENV): Likewise.
6260 (tst-lfschk1-ENV): Likewise.
6261 (tst-lfschk2-ENV): Likewise.
6262 (tst-lfschk3-ENV): Likewise.
6263 (tst-lfschk4-ENV): Likewise.
6264 (tst-lfschk5-ENV): Likewise.
6265 (tst-lfschk6-ENV): Likewise.
6266 * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
6267 (tst-iconv7-ENV): Likewise.
6268 * intl/Makefile (LOCPATH-ENV): Likewise.
6269 (tst-codeset-ENV): Likewise.
6270 (tst-gettext3-ENV): Likewise.
6271 (tst-gettext5-ENV): Likewise.
6272 * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
6273 (tst-fopenloc-ENV): Likewise.
6274 (tst-fgetws-ENV): Remove variable.
6275 (tst-ungetwc1-ENV): Likewise.
6276 (tst-ungetwc2-ENV): Likewise.
6277 (bug-ungetwc2-ENV): Likewise.
6278 (tst-swscanf-ENV): Likewise.
6279 (bug-ftell-ENV): Likewise.
6280 (tst-fgetwc-ENV): Likewise.
6281 (tst-fseek-ENV): Likewise.
6282 (tst-ftell-partial-wide-ENV): Likewise.
6283 (tst-ftell-active-handler-ENV): Likewise.
6284 (tst-ftell-append-ENV): Likewise.
6285 * posix/Makefile (tst-fnmatch-ENV): Likewise.
6286 (tst-regexloc-ENV): Likewise.
6287 (bug-regex1-ENV): Likewise.
6288 (tst-regex-ENV): Likewise.
6289 (tst-regex2-ENV): Likewise.
6290 (bug-regex5-ENV): Likewise.
6291 (bug-regex6-ENV): Likewise.
6292 (bug-regex17-ENV): Likewise.
6293 (bug-regex18-ENV): Likewise.
6294 (bug-regex19-ENV): Likewise.
6295 (bug-regex20-ENV): Likewise.
6296 (bug-regex22-ENV): Likewise.
6297 (bug-regex23-ENV): Likewise.
6298 (bug-regex25-ENV): Likewise.
6299 (bug-regex26-ENV): Likewise.
6300 (bug-regex30-ENV): Likewise.
6301 (bug-regex32-ENV): Likewise.
6302 (bug-regex33-ENV): Likewise.
6303 (bug-regex34-ENV): Likewise.
6304 (bug-regex35-ENV): Likewise.
6305 (tst-rxspencer-ENV): Likewise.
6306 (tst-rxspencer-no-utf8-ENV): Likewise.
6307 * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
6308 (tst-sscanf-ENV): Likewise.
6309 (tst-swprintf-ENV): Likewise.
6310 (tst-swscanf-ENV): Likewise.
6311 (test-vfprintf-ENV): Likewise.
6312 (scanf13-ENV): Likewise.
6313 (bug14-ENV): Likewise.
6314 (tst-grouping-ENV): Likewise.
6315 * stdlib/Makefile (tst-strtod-ENV): Likewise.
6316 (tst-strtod3-ENV): Likewise.
6317 (tst-strtod4-ENV): Likewise.
6318 (tst-strtod5-ENV): Likewise.
6319 (testmb2-ENV): Likewise./
6320 * string/Makefile (tst-strxfrm-ENV): Likewise.
6321 (tst-strxfrm2-ENV): Likewise.
6322 (bug-strcoll1-ENV): Likewise.
6323 (test-strcasecmp-ENV): Likewise.
6324 (test-strncasecmp-ENV): Likewise.
6325 * time/Makefile (tst-strptime-ENV): Likewise.
6326 (tst-ftime_l-ENV): Likewise.
6327 * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
6328 (tst-mbrtowc-ENV): Likewise.
6329 (tst-wcrtomb-ENV): Likewise.
6330 (tst-mbrtowc2-ENV): Likewise.
6331 (tst-c16c32-1-ENV): Likewise.
6332 (tst-mbsnrtowcs-ENV): Likewise.
6333
cd1fb604
OB
63342014-06-05 Ondřej Bílka <neleai@seznam.cz>
6335
6336 * manual/resource.texi (How to get information about the memory
6337 subsystem?): Fix typo.
6338 Reported by Peon de la Parra Ivan <peon@keba.com>
6339
b42eca7d
GY
63402014-06-03 Guo Yixuan <culu.gyx@gmail.com>
6341
6342 [BZ #16882]
6343 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
6344 (pthread_spin_lock): Branch out of spin loop to proper location.
6345 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
6346 (pthread_spin_lock): Likewise.
6347
902b71f9
DM
6348 * nptl/tst-spin4.c: New test.
6349 * nptl/Makefile (tests): Add tst-spin4.
6350
f9d2d032
AS
63512014-06-03 Andreas Schwab <schwab@suse.de>
6352
6353 [BZ #15946]
6354 * resolv/res_send.c (send_dg): Reload file descriptor after
6355 calling reopen.
6356
cf7bfd28
SL
63572014-06-03 Stefan Liebler <stli@linux.vnet.ibm.com>
6358
6359 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
6360
111cc714
RH
63612014-06-03 Richard Henderson <rth@redhat.com>
6362
89b4bd6b
RH
6363 * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
6364 * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
6365 * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
6366 SAVE_PID and RESTORE_PID blocks from pt-vfork.S. Map 0 to INT_MIN
6367 in the SAVE_PID block.
6368 (__libc_vfork): New alias.
71840409 6369 * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
89b4bd6b 6370
111cc714
RH
6371 * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
6372 child in registers, not on the stack. Remove RESET_PID conditionals.
6373 * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
6374
ccc39911
MS
63752014-06-03 Marcus Shawcroft <marcus.shawcroft@arm.com>
6376
6377 * sysdeps/aarch64/libm-test-ulps: Regenerate.
6378
693096cc
W
63792014-06-03 Wilco <wdijkstr@arm.com>
6380
6381 * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
6382 (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
6383 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
6384 Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
6385 * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
6386 Likewise.
6387
0b4366bc
W
63882014-06-03 Wilco <wdijkstr@arm.com>
6389
6390 * sysdeps/aarch64/fpu/math_private.h
6391 (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
6392 (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
6393 (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
6394 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
6395 Fix declarations.
6396
8747cd03
KS
63972014-06-03 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
6398
6399 * crypt/crypt-private.h: Include ufc-crypt.h.
6400 (__b64_from_24bit): Declare extern.
6401 * crypt/crypt_util.c(__b64_from_24bit): New function.
6402 (b64t): New static const variable.
6403 * crypt/md5-crypt.c (b64_from_24bit): Remove function.
6404 (b64t): Remove variable.
6405 (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
6406 * crypt/sha256-crypt.c: Include crypt-private.h.
6407 (b64t): Remove variable.
6408 (__sha256_crypt_r): Remove b64_from_24bit and replace
6409 with __b64_from_24bit.
6410 * crypt/sha512-crypt.c: Likewise.
6411
d936d379
RM
64122014-06-02 Roland McGrath <roland@hack.frob.com>
6413
6414 * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
6415 * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
6416 Label the code __libc_vfork rather than __vfork.
6417 [!NOT_IN_libc] (vfork): Define as weak alias.
6418 [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
6419 * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
6420 * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
6421
9fa76613
SP
64222014-06-02 Siddhesh Poyarekar <siddhesh@redhat.com>
6423
6424 * malloc/malloc.c (malloc_info): Fix format specifier for
6425 n_mmaps.
6426
a88dadbe
W
64272014-06-02 Wilco <wdijkstr@arm.com>
6428
6429 * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
6430 FPCR write.
6431
c95b3011
W
64322014-06-02 Wilco <wdijkstr@arm.com>
6433
6434 [BZ #17009]
6435 * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
6436 Rewrite to reduce FPCR/FPSR accesses.
6437
6b4d7a90
DM
64382014-06-01 David S. Miller <davem@davemloft.net>
6439
6440 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6441
30f3d07c
DM
64422014-05-31 David S. Miller <davem@davemloft.net>
6443
6444 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
6445 to occur in round to nearest mode when |x| >= 2.0
6446
74f31c18
RH
64472014-05-30 Richard Henderson <rth@twiddle.net>
6448
f0712b54
RH
6449 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
6450 (PSEUDO_RET_NOERRNO): Remove.
6451 (ret): Don't redefine.
6452 (ret_NOERRNO): Define in terms of ret.
6453 (ret_ERRVAL): Likewise.
6454
74f31c18
RH
6455 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
6456 use of PSEUDO_RET; perform the error check directly.
6457
30477995
MM
64582014-05-30 Marko Myllynen <myllynen@redhat.com>
6459
6460 * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
6461 with __int128_t.
6462
62a58816
SP
64632014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
6464
6465 * malloc/malloc (malloc_info): Fix formatting.
6466
4d653a59
SP
64672014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
6468 Roland McGrath <roland@hack.frob.com>
6469
6470 * malloc/malloc (malloc_info): Also print mmapped statistics.
6471
5190c17f
RM
64722014-05-30 Roland McGrath <roland@hack.frob.com>
6473
6474 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
6475 * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
6476
987c0269
OB
64772014-05-30 Ondřej Bílka <neleai@seznam.cz>
6478
6479 * malloc/malloc.c (malloc_info): Inline mi_arena.
6480
af4e8ef9
RH
64812014-05-29 Richard Henderson <rth@twiddle.net>
6482
1670e207
RH
6483 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
6484 Remove comma before expanding ASM_ARGS_##nr.
6485 (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
6486 Make _x0 a strict output; make _x8 a strict input; adjust expansion
6487 of ASM_ARGS_##nr.
6488 (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
6489 (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
6490 (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
6491 (ASM_ARGS_1): Add leading comma.
6492
11a28aee
RH
6493 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
6494 (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
6495 to __errno_location.
6496 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
6497 Remove the expected plt for __errno_location.
6498
a17e5ffb 6499 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
11a28aee 6500 [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
a17e5ffb
RH
6501 call to __read_tp.
6502
b5be4597
RH
6503 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
6504 Always allocate 64 bytes of stack frame. Use ldp/stp to create
6505 it and break it down.
6506 (DOCARGS_0, DOCARGS_1): Do nothing.
6507 (DOCARGS_2): Update to store into the new stack frame.
6508 (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
6509 (UNDOCARGS_1): Update to restore from the new stack frame.
6510 (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
6511 (UNDOCARGS_5, UNDOCARGS_6): Likewise.
6512
645d44ab
RH
6513 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
6514 (SINGLE_THREAD_P): New parameter for result regno.
6515 (PSEUDO): Update to match; use cbz instead of beq.
6516
a8b4f04a
RH
6517 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
6518 Use ENTRY to define the _nocancel entry point. Share the syscall
6519 and syscall error check paths with the cancel path.
6520 (PSEUDO_END): New.
6521
af4e8ef9
RH
6522 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
6523 whitespace; tabs before and after asm mnemonics.
6524
26b0d2e1
EW
65252014-05-29 Eric Wong <normalperson@yhbt.net>
6526
6527 [BZ #15132]
6528 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
6529 Call fstat64 or stat64 internally, depending on arguments passed.
6530 Replace stat buffer argument with file descriptor argument.
6531 (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
6532 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
6533 Pass fd to __internal_statvfs instead of calling fstat64.
6534 * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
6535 Pass fd to __internal_statvfs64 instead of calling fstat64.
6536 * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
6537 Pass -1 to __internal_statvfs instead of calling stat64.
6538 * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
6539 Pass -1 to __internal_statvfs64 instead of calling stat64.
6540
1efe2bd9
RM
65412014-05-28 Roland McGrath <roland@hack.frob.com>
6542
0d3b7a19
RM
6543 * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
6544 that was previously under [RESET_PID].
6545 * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
6546
1efe2bd9
RM
6547 * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
6548 * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
6549
a6bea3ca
RM
65502014-05-27 Roland McGrath <roland@hack.frob.com>
6551
30b6629e
RM
6552 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
6553
a6bea3ca
RM
6554 * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
6555 * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
6556
3dfb9a5c
OB
65572014-05-27 Ondřej Bílka <neleai@seznam.cz>
6558
6559 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
6560
774f9285
AS
65612014-05-27 Andreas Schwab <schwab@suse.de>
6562
6563 * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
6564 TLS_INIT_TP macro.
6565 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
6566 * elf/rtld.c (init_tls, dl_main): Likewise.
6567 * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
6568 * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
6569 * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
6570 * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
6571 * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
6572 * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
6573 * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
6574 * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
6575 * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
6576 * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
6577 * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
6578 * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
6579 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
6580 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
6581 * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
6582 * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
6583 * sysdeps/generic/tls.h: Update description.
6584
36ffe739
WN
65852014-05-27 Will Newton <will.newton@linaro.org>
6586
6587 [BZ #16990]
6588 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
6589 and restore r2 rather than just restoring.
6590
2482ae43
SP
65912014-05-27 Siddhesh Poyarekar <siddhesh@redhat.com>
6592
6593 [BZ #16724]
6594 * libio/tst-ftell-append.c: New test case.
6595 * libio/Makefile (tests): Add test case.
6596 * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
6597 append mode.
6598 * libio/wfileops.c (do_ftell_wide): Likewise.
6599
3d1024e8
AZ
66002014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6601
bab90016
AZ
6602 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6603
c7a8d667
AZ
6604 * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
6605 ...
6606 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
6607 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
6608 * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
6609 * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
6610 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
6611 * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
6612 * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
6613 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
6614 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
6615 Moved ...
6616 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
6617 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
6618 Moved ...
6619 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
6620 * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
6621 * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
6622 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
6623 * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
6624 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
6625 ...
6626 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
6627 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
6628 Moved ...
6629 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
6630 here.
6631 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
6632 ...
6633 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
6634 * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
6635 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
6636
daee7851
AZ
6637 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
6638 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
6639 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
6640 * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
6641
50a40819
AZ
6642 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
6643 merge into ...
6644 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
6645 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
6646 ...
6647 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
6648 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
6649 ...
6650 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
6651 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
6652 Moved ...
6653 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
6654 here.
6655 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
6656 Moved ...
6657 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
6658 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
6659 Moved ...
6660 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
6661
8464c2a1
AZ
6662 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
6663 conditional [RESET_PID].
6664 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
6665 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
6666 removed.
6667 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
6668 removed.
6669
3d1024e8
AZ
6670 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
6671 <tcb-offsets.h>.
6672 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
6673 (__libc_vfork): New strong alias.
6674 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
6675 removed.
6676 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
6677 Removed.
6678
6679 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
6680 <tcb-offsets.h>.
6681 (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
6682 (__libc_vfork): New strong alias.
6683 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
6684 removed.
6685 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
6686 removed.
6687
fdfd175d
CD
66882014-05-26 Carlos O'Donell <carlos@redhat.com>
6689
6690 * malloc/malloc.c (mi_arena): New function.
6691 (malloc_info): Remove nested function mi_arena. Call non-nosted
6692 function mi_arena.
6693
d298c416
AZ
66942014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6695
6696 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
6697 by insrwi.
6698 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
6699 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
6700 * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
6701 * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
6702 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
6703 * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
6704 * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
6705
b60ea6ff
AS
67062014-05-26 Andreas Schwab <schwab@suse.de>
6707
6708 [BZ #16984]
6709 * locale/programs/repertoire.c (repertoire_read): Add slash
6710 between I18NPATH element and file name.
6711 * locale/programs/locfile.c (locfile_read): Likewise.
6712
67365926
SL
67132014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
6714
6715 * nptl/pthread_mutexattr_settype.c
6716 (__pthread_mutexattr_settype):
6717 Disable lock elision for PTHREAD_MUTEX_NORMAL.
6718
f8bdf1f0
SL
67192014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
6720
6721 * nptl/tst-mutex5 (do_test):
6722 Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
6723
15eaf6ff
SP
67242014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
6725
6726 * benchtests/README: Document 'init' directive.
6727 * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
6728 BENCH_INIT.
6729 * scripts/bench.py (gen_source): Define BENCH_INIT macro.
6730 (parse_file): Recognize 'init' directive.
6731
75f11331
KM
67322014-05-26 Kyle McMartin <kyle@redhat.com>
6733
6734 [BZ #16796]
6735 * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
6736 alignment of struct pthread.
6737
c3ec475c
SP
67382014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
6739
6740 [BZ #16878]
6741 * nscd/netgroupcache.c (addgetnetgrentX): Look for
6742 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
6743 * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
6744 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
6745
82aab97c
RH
67462014-05-25 Richard Henderson <rth@twiddle.net>
6747
aa2f176d
RH
6748 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
6749 (SINGLE_THREAD_P_PIC): Remove.
6750 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
6751 (SINGLE_THREAD_P_PIC): Remove.
6752
ca3cfa40
RH
6753 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
6754 branch to syscall error ...
6755 (PSEUDO): ... here.
6756 [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
6757 from __local_syscall_error to .Lsyscall_error.
6758 [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
6759 (SYSCALL_ERROR): Update label name.
6760
6e6c2d01
RH
6761 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
6762 Do not use DOARGS/UNDOARGS.
6763 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
6764 (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
6765 (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
6766 (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
6767 (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
6768
c69abcee
RH
6769 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
6770 block comment.
6771
82aab97c
RH
6772 * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
6773 define if !NOT_IN_libc.
6774 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
6775 define with non-default symbol versions.
6776
8820e3ac
RH
67772014-05-23 Richard Henderson <rth@twiddle.net>
6778
900e445f
RH
6779 * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
6780 (vfork, __vfork): Define via compat_symbol.
6781
8820e3ac
RH
6782 * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
6783 [!HAVE_IFUNC] (vfork_compat): Remove.
6784 [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
6785
e59252a5
JM
67862014-05-23 Joseph Myers <joseph@codesourcery.com>
6787
6788 [BZ #16978]
6789 * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
6790 * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
6791 variable.
6792
132c7f5f
RH
67932014-05-23 Richard Henderson <rth@twiddle.net>
6794
bc89e962
RH
6795 * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
6796 * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
6797 * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
6798 * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
6799
6800 * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
6801 * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
6802 * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
6803 * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
6804 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
6805 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
6806 * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
6807 * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
6808 * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
6809 * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
6810 * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
6811 * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
6812 * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
6813 * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
6814 * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
6815 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
6816 * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
6817 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
6818 * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
6819 * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
6820 * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
6821 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
6822 * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
6823 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
6824 * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
6825 * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
6826 * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
6827 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
6828 * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
6829 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
6830 * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
6831 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
6832 * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
6833 * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
6834 * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
6835 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
6836 * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
6837 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
6838 * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
6839 * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
6840 * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
6841 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
6842 * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
6843 * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
6844 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
6845 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
6846 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
6847 * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
6848 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
6849 * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
6850 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
6851 * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
6852 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
6853 * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
6854 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
6855 * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
6856
e2fa4bc2
RH
6857 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
6858 * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
6859 * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here. Restore PID
6860 before exiting on error.
6861 (__libc_vfork): New strong alias.
6862 * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
6863 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
6864
279b24e2
RH
6865 * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
6866 that was previously under [RESET_PID].
6867 * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
6868
132c7f5f
RH
6869 * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
6870
b72592e7
JM
68712014-05-23 Joseph Myers <joseph@codesourcery.com>
6872
6873 [BZ #16977]
6874 * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
6875 value when x - 1 is zero.
6876 * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
6877 * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
6878 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
6879 0.0L for an argument of 1.0L.
6880 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
6881 Likewise.
6882 * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
6883 value when x - 1 is zero.
6884 * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
6885 * sysdeps/i386/fpu/libm-test-ulps: Update.
6886 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6887
2302d679
RV
68882014-05-23 Rasmus Villemoes <rv@rasmusvillemoes.dk>
6889
6890 * manual/filesys.texi (Scanning Directory Content): Fix prototype of
6891 alphasort and versionsort.
6892
32999d63
AZ
68932014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6894
6895 * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
6896 macro.
6897 [copysignf]: Likewise.
6898
019324d0
SP
68992014-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
6900
6901 * crypt/md5-crypt.c: Fix formatting.
6902
34fff5c2
KS
69032014-05-22 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
6904
6905 * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
6906 (b64_from_24bit): New function.
6907
3d2badac
AZ
69082014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6909
6910 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
6911 libc_hidden_builtin_def to ifunc.
6912 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
6913 [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
6914
f7bb179f 69152014-05-21 Roland McGrath <roland@hack.frob.com>
df54acbb
RM
6916
6917 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
6918 * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
6919
4134b50d
JM
69202014-05-21 Joseph Myers <joseph@codesourcery.com>
6921
bb7d0337
JM
6922 * nscd/Depend (linuxthreads): Remove.
6923 (nptl): Add.
6924 * resolv/Depend (linuxthreads): Remove.
6925 * rt/Depend (linuxthreads): Remove.
6926
4134b50d
JM
6927 * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
6928 (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
6929 $(common-objpfx)elf/.
6930 (link-libc-before-gnulib): Likewise.
6931 (elfobjdir): Remove variable.
6932 * Makefile (install): Use $(elf-objpfx) instead of
6933 $(common-objpfx)elf/.
6934 * Makerules (link-libc-args): Use $(elf-objpfx) instead of
6935 $(elfobjdir)/.
6936 (link-libc-deps): Likewise.
6937 ($(common-objpfx)libc.so): Likewise.
6938 ($(common-objpfx)linkobj/libc.so): Likewise.
6939 [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
6940 instead of $(common-objpfx)elf/.
6941 (symbolic-link-list): Likewise.
6942 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
6943 [$(cross-compiling) = no]: Likewise.
6944 * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
6945 $(elfobjdir)/.
6946 (static-gnulib-arch): Likewise.
6947 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
6948 [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
6949 $(common-objpfx)elf/.
6950
3612eb8f
RH
69512014-05-21 Richard Henderson <rth@redhat.com>
6952
a6b3657b
RH
6953 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
6954 (SINGLE_THREAD_P): Use the correct width load. Fold
6955 into the ldr offset.
6956
3612eb8f
RH
6957 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
6958 (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
6959
175cef41
JM
69602014-05-20 Joseph Myers <joseph@codesourcery.com>
6961
6962 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
6963 (libgcc_s_resume): Use __attribute_used__.
6964 * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
6965 Likewise.
6966
e13bccd3
AZ
69672014-05-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6968
6969 * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
6970 optimization when used with float constants.
6971
7c112a38
AZ
6972 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6973
ae75a883
AJ
69742014-05-20 Aurelien Jarno <aurelien@aurel32.net>
6975
6976 [BZ #16915]
6977 * locale/nl_langinfo_l.c: Make direct reference to every
6978 _nl_current_CATEGORY symbol.
6979 * localedata/Makefile (test-srcs): Add tst-langinfo-static.
6980 (tests-static): Add tst-langinfo-static.
6981 (tests-special): Add tst-langinfo-static.out.
6982 ($(objpfx)tst-langinfo.out): Redirect output.
6983 ($(objpfx)tst-langinfo-static.out): New.
6984 * localedata/tst-langinfo.sh: Send output to stdout.
6985 * localedata/tst-langinfo-static.c: New file.
6986
4406c41c
AJ
6987 [BZ #16965]
6988 * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
6989 when the shift amount is modulo the limb size.
6990
4c0a1e63
RH
69912014-05-20 Richard Henderson <rth@redhat.com>
6992
de9d8f20
RH
6993 [BZ #16967]
6994 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
6995 Change type of sa_flags from unsigned int to int.
6996
4c0a1e63
RH
6997 [BZ #16966]
6998 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
57cce706
RH
6999
7000 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
7001
a60339aa
WN
70022014-05-20 Will Newton <will.newton@linaro.org>
7003
7004 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
7005 Test the return value of the system call in the nocancel case.
7006
7d05a816
YR
70072014-05-20 Will Newton <will.newton@linaro.org>
7008 Yvan Roux <yvan.roux@linaro.org>
7009
7010 * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
7011 #include of asm/ptrace.h.
7012 (PTRACE_GET_THREAD_AREA): Remove #undef.
7013 (PTRACE_GETHBPREGS): Likewise.
7014 (PTRACE_SETHBPREGS): Likewise.
7015 (struct user_regs_struct): New structure.
7016 (struct user_fpsimd_struct): New structure.
7017 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
7018 #include of asm/ptrace.h and second #include of sys/user.h.
7019 (PTRACE_GET_THREAD_AREA): Remove #undef.
7020 (PTRACE_GETHBPREGS): Likewise.
7021 (PTRACE_SETHBPREGS): Likewise.
7022 (ELF_NGREG): Use new struct user_regs_struct.
7023 (elf_fpregset_t): Use new struct user_fpsimd_struct.
7024
af121e37
AZ
70252014-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7026
7027 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
7028 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
7029
834caf06
JM
70302014-05-17 Jose E. Marchesi <jose.marchesi@oracle.com>
7031
7032 [BZ #16958]
7033 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
7034 membar to avoid block loads/stores to overlap previous stores.
7035
e184a918
RH
70362014-05-17 Richard Henderson <rth@redhat.com>
7037
7038 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
7039 Create the __##syscall_name##_nocancel entry point.
7040 * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
7041 Remove; let the sysdep-cancel.h code create it.
7042
f56c7a6a
DM
70432014-05-17 David S. Miller <davem@davemloft.net>
7044
7045 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
7046 Protect with __USE_GNU.
7047 (TIOCSET_TEMPT): Likewise.
7048 (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
7049 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
7050 these are already provided in bits/ioctl-types.h
7051
f75616b2
RM
70522014-05-16 Roland McGrath <roland@hack.frob.com>
7053
3edeca86
RM
7054 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
7055 * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
7056
f75616b2
RM
7057 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
7058 Use wait4 regardless of [__NR_waitpid].
7059
deb0f7f6
MR
70602014-05-16 Maciej W. Rozycki <macro@codesourcery.com>
7061
7062 PR libgcc/60166
7063 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
7064 (_FP_NANSIGN_Q): Set the quiet bit.
7065
79520f4b
JM
70662014-05-16 Joseph Myers <joseph@codesourcery.com>
7067
7068 * benchtests/Makefile
7069 ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
7070 not $(common-objpfx)math/libm.so.
7071 ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
7072 $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
7073 * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
7074 $(common-objpfx)dlfcn/libdl.so.
7075 ($(objpfx)tst-audit8): Depend on $(libm), not
7076 $(common-objpfx)math/libm.so.
7077 * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
7078 not $(common-objpfx)dlfcn/libdl.so.
7079 * math/Makefile
7080 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
7081 Depend on $(libm), not $(objpfx)libm.so. Do not condition on
7082 [$(build-shared) = yes].
7083 ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
7084 $(common-objpfx)nptl/libpthread.so.
7085 * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
7086 $(common-objpfx)math/libm.so$(libm.so-version) or
7087 $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
7088 * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
7089 $(common-objpfx)dlfcn/libdl.so.
7090 * setjmp/Makefile (link-libm): Remove variable.
7091 ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
7092 * stdio-common/Makefile (link-libm): Remove variable.
7093 ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
7094 * stdlib/Makefile (link-libm): Remove variable.
7095 ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
7096 ($(objpfx)tst-strtod-round): Likewise.
7097 ($(objpfx)tst-tininess): Likewise.
7098 ($(objpfx)tst-strtod-underflow): Likewise.
7099 ($(objpfx)tst-strtod6): Likewise.
7100 ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
7101 $(libdl), not $(common-objpfx)nptl/libpthread.so and
7102 $(common-objpfx)dlfcn/libdl.so.
7103
026b0fe4
AZ
71042014-05-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7105
7106 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
7107 BSD terminal modes definitions.
7108
def4bcb2
RM
71092014-05-16 Roland McGrath <roland@hack.frob.com>
7110
fe39b021
RM
7111 * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
7112 * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
7113
1d1fc46e 7114 * sysdeps/unix/sysv/linux/arch-fork.h: New file.
def4bcb2
RM
7115 * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
7116 * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
7117 Don't do #include_next.
7118 * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
7119 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
7120 Don't do #include_next.
7121 * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
7122 * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
7123 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
7124 * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
7125
c72399fb
AM
71262014-05-16 Allan McRae <allan@archlinux.org>
7127
d51d659d
AM
7128 * po/sv.po: Update Swedish translation from translation project.
7129
c72399fb
AM
7130 * timezone/Makefile ($(objpfx)tzselect): Use correct variable
7131 in sed expression.
7132
d0583c40
AJ
71332014-05-16 Aurelien Jarno <aurelien@aurel32.net>
7134
7135 [BZ #16917]
7136 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
7137 errno if the TIOCGPTN ioctl fails with an error different than
7138 EINVAL.
7139 * login/tst-ptsname.c: New file.
7140 * login/Makefile (tests): Add tst-ptsname.
7141
d16e6ec7
AJ
7142 [BZ #16943]
7143 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
7144 and prlimit64.
7145
cf26a0cb
SP
71462014-05-15 Siddhesh Poyarekar <siddhesh@redhat.com>
7147
7148 [BZ #16849]
7149 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
7150 herrno to return EAI_AGAIN.
7151
5675da1e
RM
71522014-05-14 Roland McGrath <roland@hack.frob.com>
7153
a5d87b3d
RM
7154 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
7155 * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
7156 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
7157 * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
7158 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
7159 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
7160 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
7161 * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
7162 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
7163 * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
7164 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
7165 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
7166 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
7167 * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
7168 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
7169 * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
7170 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
7171 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
7172 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
7173 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
7174 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
7175 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
7176 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
7177 * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
7178 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
7179 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
7180 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
7181 * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
7182 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
7183 * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
7184 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
7185 * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
7186 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
7187 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
7188 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
7189 Moved ...
7190 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
7191 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
7192 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
7193 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
7194 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
7195 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
7196 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
7197 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
7198 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
7199 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
7200 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
7201 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
7202 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
7203 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
7204 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
7205 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
7206 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
7207 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
7208 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
7209 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
7210 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
7211 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
7212 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
7213 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
7214 * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
7215 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
7216 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
7217 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
7218 Moved ...
7219 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
7220 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
7221 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
7222 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
7223 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
7224 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
7225 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
7226 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
7227 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
7228 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
7229 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
7230 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
7231 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
7232 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
7233 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
7234 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
7235 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
7236 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
7237 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
7238 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
7239 Moved ...
7240 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
7241 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
7242 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
7243
039890a6
RM
7244 * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
7245 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
7246 (libpthread-sysdep_routines): Add elision-related stuff here instead.
7247 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
7248 * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
7249 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
7250 * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
7251 * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
7252 * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
7253 * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
7254 * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
7255 * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
7256 * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
7257 * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
7258 * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
7259 * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
7260 * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
7261 * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
7262 * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
7263 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
7264 * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
7265 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
7266 * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
7267 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
7268 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
7269 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
7270 * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
7271 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
7272 * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
7273 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
7274 * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
7275
65c89320
RM
7276 * sysdeps/unix/sysv/linux/mips/fork.h: New file.
7277 * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
7278
348f8e8c
RM
7279 * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
7280 * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
7281 * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
7282 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
7283 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
7284 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
7285 Moved ...
7286 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
7287 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
7288 Moved ...
7289 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
7290 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
7291 Moved ...
7292 * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
7293 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
7294 Moved ...
7295 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
7296 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
7297 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
7298 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
7299 Moved ...
7300 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
7301 * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
7302 * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
7303 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
7304 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
7305 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
7306 * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
7307 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
7308 Moved ...
7309 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
7310 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
7311 Moved ...
7312 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
7313 ... here.
7314 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
7315 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
7316 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
7317 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
7318 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
7319 Moved ...
7320 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
7321 ... here.
7322 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
7323 Moved ...
7324 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
7325 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
7326 * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
7327 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
7328 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
7329 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
7330 Moved ...
7331 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
7332 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
7333 Moved ...
7334 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
7335 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
7336 Moved ...
7337 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
7338 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
7339 Moved ...
7340 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
7341 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
7342 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
7343 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
7344 Moved ...
7345 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
7346 * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
7347 * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
7348 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
7349 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
7350 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
7351 * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
7352 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
7353 Moved ...
7354 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
7355 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
7356 Moved ...
7357 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
7358 ... here.
7359 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
7360 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
7361 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
7362 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
7363 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
7364 Moved ...
7365 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
7366 ... here.
7367 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
7368 Moved ...
7369 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
7370 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
7371 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
7372 * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
7373 * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
7374 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
7375 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
7376 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
7377 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
7378 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
7379 Moved ...
7380 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
7381 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
7382 Moved ...
7383 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
7384 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
7385 Moved ...
7386 * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
7387 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
7388 Moved ...
7389 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
7390 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
7391 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
7392 * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
7393 * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
7394 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
7395 Moved ...
7396 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
7397 * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
7398 * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
7399 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
7400 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
7401 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
7402 * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
7403 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
7404 Moved ...
7405 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
7406 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
7407 Moved ...
7408 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
7409 ... here.
7410 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
7411 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
7412 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
7413 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
7414 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
7415 Moved ...
7416 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
7417 ... here.
7418 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
7419 Moved ...
7420 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
7421 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
7422 * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
7423 * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
7424 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
7425 * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
7426 * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
7427 * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
7428 * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
7429 * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
7430 * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
7431
5085af05
RM
7432 * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
7433 * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
7434
708f0813
RM
7435 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
7436 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
7437
c96067bc
RM
7438 * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
7439 * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
7440 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
7441 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
7442 * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
7443 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
7444 * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
7445 * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
7446 * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
7447 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
7448 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
7449 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
7450 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
7451 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
7452 * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
7453 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
7454 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
7455 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
7456 Moved ...
7457 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
7458 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
7459 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
7460 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
7461 Moved ...
7462 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
7463 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
7464 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
7465 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
7466 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
7467 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
7468 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
7469 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
7470 Moved ...
7471 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
7472 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
7473 Moved ...
7474 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
7475 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
7476 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
7477 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
7478 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
7479 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
7480 * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
7481 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
7482 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
7483 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
7484 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
7485 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
7486 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
7487 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
7488 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
7489 * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
7490 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
7491
ec136444
RM
7492 * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
7493 * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
7494 * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
7495 * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
7496 * sysdeps/unix/sysv/linux/i386/fork.h: New file.
7497
2fbdf533
RM
7498 * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
7499 * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
7500 * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
7501 * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
7502 * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
7503 * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
7504 * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
7505 * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
7506 * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
7507 * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
7508
4c68138b
RM
7509 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
7510 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
7511
4eaae765
RM
7512 * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
7513 * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
3a51fb60
RM
7514 * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
7515 * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
7516 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
7517 * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
7518 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
7519 * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
7520 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
7521 * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
7522 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
7523 * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
7524 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
7525 * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
7526 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
7527 Update #include.
7528 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
7529 Likewise.
7530 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
7531 Likewise.
7532 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
7533 Likewise.
7534 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
7535 Likewise.
7536 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
7537 Likewise.
7538 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
7539 Likewise.
7540 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
7541 Likewise.
7542 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
7543 Likewise.
7544 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
7545 Likewise.
4ef6befa
RM
7546 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
7547 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
7548 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
7549 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
7550 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
5aa618fb
RM
7551 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
7552 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
7553 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
7554 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
7555 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
7556 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
7557 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
7558 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
7559 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Likewise.
7560 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Likewise.
3a51fb60 7561
941d7dfd
RM
7562 * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
7563 that was previously under [RESET_PID].
7564 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
7565 * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
7566 * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
7567
1b731c35
RM
7568 * sysdeps/i386/nptl/Implies: New file.
7569 * sysdeps/x86_64/nptl/Implies: New file.
7570 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
7571 * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
7572 * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
7573 * sysdeps/x86/nptl/bits/semaphore.h: ... here.
7574
e2787137
RM
7575 * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
7576 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
7577 (__libc_vfork): New strong alias.
7578 * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
7579 * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
7580
7581 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
7582 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
7583 (__libc_vfork): New strong alias.
7584 * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
7585 * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
7586
5675da1e
RM
7587 * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
7588 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
7589 (__libc_vfork): New strong alias.
7590 * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
7591 * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
7592 * nptl/pt-vfork.c: New file.
7593 * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
7594 (libpthread: GLIBC_2.20): New version set (empty).
7595
4f02e2b8
WN
75962014-05-14 Will Newton <will.newton@linaro.org>
7597
7598 * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
7599 rather than #if.
7600
0bf061d3
JM
76012014-05-14 Joseph Myers <joseph@codesourcery.com>
7602
1a84c3d6
JM
7603 [BZ #16564]
7604 * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
7605 arguments with exponent 65 or above.
7606 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
7607 arguments 0x1p113L or above.
7608 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
7609 to arguments 0x1p107L or above.
7610 * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
7611 positive arguments with exponent 65 or above.
7612 * math/auto-libm-test-in: Add more tests of log1p.
7613 * math/auto-libm-test-out: Regenerated.
7614
01dbacd2
JM
7615 [BZ #16928]
7616 * math/s_cacos.c (__cacos): Ensure zero real part of result from
7617 non-finite arguments is +0.
7618 * math/s_cacosf.c (__cacosf): Likewise.
7619 * math/s_cacosl.c (__cacosl): Likewise.
7620 * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
7621 * sysdeps/i386/fpu/libm-test-ulps: Update.
7622 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7623
913d03c8
JM
7624 [BZ #16927]
7625 * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
7626 value.
7627 * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
7628 * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
7629 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
7630 for explicit high bit of mantissa when testing for argument equal
7631 to 1.
7632 * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
7633 * sysdeps/i386/fpu/libm-test-ulps: Update.
7634 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7635
0bf061d3
JM
7636 [BZ #16516]
7637 * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
7638 (__erf): Scale by 16 instead of 8 in potentially underflowing
7639 case. Ensure exception if result actually underflows.
7640 * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
7641 (__erff): Scale by 16 instead of 8 in potentially underflowing
7642 case. Ensure exception if result actually underflows.
7643 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
7644 (efx8): Remove variable.
7645 (__erfl): Scale by 16 instead of 8 in potentially underflowing
7646 case. Ensure exception if result actually underflows.
7647 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
7648 (efx8): Remove variable.
7649 (__erfl): Scale by 16 instead of 8 in potentially underflowing
7650 case. Ensure exception if result actually underflows.
7651 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
7652 (efx8): Remove variable.
7653 (__erfl): Scale by 16 instead of 8 in potentially underflowing
7654 case. Ensure exception if result actually underflows.
7655 * math/auto-libm-test-in: Add more tests of erf.
7656 * math/auto-libm-test-out: Regenerated.
7657
73ba67cb
AS
76582014-05-14 Andreas Schwab <schwab@suse.de>
7659
3d8c8bff
AS
7660 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
7661 Remove code conditionalized on USE___THREAD.
7662
73ba67cb
AS
7663 * config.h.in (HAVE_PT_CHOWN): Define as 0.
7664 * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
7665 not definedness.
7666
5c521ecd
JM
76672014-05-14 Joseph Myers <joseph@codesourcery.com>
7668
5e7698c6
JM
7669 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
7670 Define unconditionally.
7671 (__ASSUME_O_CLOEXEC): Likewise.
7672 (__ASSUME_SOCK_CLOEXEC): Likewise.
7673 (__ASSUME_IN_NONBLOCK): Likewise.
7674 (__ASSUME_PIPE2): Likewise.
7675 (__ASSUME_EVENTFD2): Likewise.
7676 (__ASSUME_SIGNALFD4): Likewise.
7677 (__ASSUME_DUP3): Likewise.
7678 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
7679 (__ASSUME_DUP3): Do not define.
7680 (__ASSUME_EVENTFD2): Likewise.
7681 (__ASSUME_IN_NONBLOCK): Likewise.
7682 (__ASSUME_O_CLOEXEC): Likewise.
7683 (__ASSUME_PIPE2): Likewise.
7684 (__ASSUME_SIGNALFD4): Likewise.
7685 (__ASSUME_SOCK_CLOEXEC): Likewise.
7686 (__ASSUME_UTIMES): Undefine.
7687 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
7688 (__ASSUME_UTIMES): Do not define.
7689 (__ASSUME_O_CLOEXEC): Likewise.
7690 (__ASSUME_SOCK_CLOEXEC): Likewise.
7691 (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
7692 0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
7693 0x020621].
7694 (__ASSUME_PIPE2): Likewise.
7695 (__ASSUME_EVENTFD2): Likewise.
7696 (__ASSUME_SIGNALFD4): Likewise.
7697 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
7698 * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
7699 Do not define.
7700 (__ASSUME_EVENTFD2): Likewise.
7701 (__ASSUME_SIGNALFD4): Likewise.
7702 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
7703 (__ASSUME_32BITUIDS): Likewise.
7704 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
7705 (__ASSUME_IPC64): Likewise.
7706 (__ASSUME_ST_INO_64_BIT): Likewise.
7707 (__ASSUME_GETDENTS64_SYSCALL): Likewise.
7708 [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
7709 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
7710 (__ASSUME_UTIMES): Do not define.
7711 (__ASSUME_PSELECT): Likewise.
7712 (__ASSUME_PPOLL): Likewise.
7713 (__ASSUME_O_CLOEXEC): Likewise.
7714 (__ASSUME_SOCK_CLOEXEC): Likewise.
7715 (__ASSUME_IN_NONBLOCK): Likewise.
7716 (__ASSUME_PIPE2): Likewise.
7717 (__ASSUME_EVENTFD2): Likewise.
7718 (__ASSUME_SIGNALFD4): Likewise.
7719 (__ASSUME_DUP3): Likewise.
7720 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
7721 (__ASSUME_UTIMES): Likewise.
7722 (__ASSUME_O_CLOEXEC): Likewise.
7723 (__ASSUME_SOCK_CLOEXEC): Likewise.
7724 (__ASSUME_IN_NONBLOCK): Likewise.
7725 (__ASSUME_PIPE2): Likewise.
7726 (__ASSUME_EVENTFD2): Likewise.
7727 (__ASSUME_SIGNALFD4): Likewise.
7728 (__ASSUME_DUP3): Likewise.
7729 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7730 (__ASSUME_UTIMES): Likewise.
7731 (__ASSUME_O_CLOEXEC): Likewise.
7732 (__ASSUME_SOCK_CLOEXEC): Likewise.
7733 (__ASSUME_IN_NONBLOCK): Likewise.
7734 (__ASSUME_PIPE2): Likewise.
7735 (__ASSUME_EVENTFD2): Likewise.
7736 (__ASSUME_SIGNALFD4): Likewise.
7737 (__ASSUME_DUP3): Likewise.
7738 * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
7739 Likewise.
7740 (__ASSUME_UTIMES): Likewise.
7741 (__ASSUME_EVENTFD2): Likewise.
7742 (__ASSUME_SIGNALFD4): Likewise.
7743 * sysdeps/unix/sysv/linux/tile/kernel-features.h
7744 (__ASSUME_O_CLOEXEC): Likewise.
7745 (__ASSUME_SOCK_CLOEXEC): Likewise.
7746 (__ASSUME_IN_NONBLOCK): Likewise.
7747 (__ASSUME_PIPE2): Likewise.
7748 (__ASSUME_EVENTFD2): Likewise.
7749 (__ASSUME_SIGNALFD4): Likewise.
7750 (__ASSUME_DUP3): Likewise.
7751 (__ASSUME_UTIMES): Undefine.
7752
5c521ecd
JM
7753 * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
7754 feclearexcept. Remove symbol versioning code.
7755 * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv. Remove
7756 symbol versioning code.
7757 * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv. Remove
7758 symbol versioning code.
7759 * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
7760 feupdateenv. Remove symbol versioning code.
7761 * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
7762 fegetexceptflag. Remove symbol versioning code.
7763 * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
7764 fesetexceptflag. Remove symbol versioning code.
7765 * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
7766 GLIBC_2.2 and GLIBC_2.3.3 entries. Change GLIBC_2.1 to GLIBC_2.4.
7767 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
7768 (__posix_fadvise64_l32): Remove prototype.
7769 [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
7770 code.
7771
5da9dfad
RM
77722014-05-13 Roland McGrath <roland@hack.frob.com>
7773
7774 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
7775 * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
7776 * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
7777 * sysdeps/arm/nptl/bits/semaphore.h: ... here.
7778
893b4f37
SK
77792014-05-13 Sami Kerola <kerolasa@iki.fi>
7780
7781 * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
7782 current working directory
7783
e0db6517
RM
77842014-05-13 Roland McGrath <roland@hack.frob.com>
7785
58aa195d
RM
7786 * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
7787 * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
7788 * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
7789 * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
7790 * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
7791 * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
7792 * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
7793 * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
7794 * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
7795 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
7796 * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
7797 * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
7798 * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
7799 * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
7800 * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
7801 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
7802 * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
7803 * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
7804 * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
7805 * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
7806 * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
7807 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
7808 * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
7809 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
7810 * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
7811 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
7812 * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
7813 * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
7814 * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
7815 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
7816 * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
7817 * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
7818 * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
7819 * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
7820 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
7821 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
7822 * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
7823 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
7824 * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
7825 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
7826 * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
7827 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
7828
8c6d01f0
RM
7829 * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
7830 * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
7831
7832 * sysdeps/unix/sysv/linux/arm/Makefile
7833 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
7834 Add rt-aeabi_unwind_cpp_pr1.
7835 [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
7836 Add nptl-aeabi_unwind_cpp_pr1.
7837 [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
7838 * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
7839 * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
7840 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
7841 * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
7842 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
7843
7844 * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
7845 * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
7846 * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
7847 * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
7848
bba6da4e
RM
7849 * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
7850 Deconditionalize the code that was previously under [RESET_PID].
7851 * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
7852
e0db6517
RM
7853 * sysdeps/generic/exit-thread.h: New file.
7854 * sysdeps/unix/sysv/linux/exit-thread.h: New file.
7855 * include/unistd.h (__exit_thread): Remove declaration.
7856 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
7857 * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
7858 * csu/libc-start.c: Include <exit-thread.h>.
7859 (LIBC_START_MAIN): Pass no argument to __exit_thread.
7860 * nptl/pthread_create.c: Include <exit-thread.h>.
7861 (start_thread): Call __exit_thread in place of __exit_thread_inline.
7862 * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
7863 * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
7864 * nptl/sysdeps/s390/pthreaddef.h: Likewise.
7865 * nptl/sysdeps/sh/pthreaddef.h: Likewise.
7866 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
7867 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
7868 * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
7869 * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
7870 * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
7871 * sysdeps/arm/nptl/pthreaddef.h: Likewise.
7872 * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
7873 * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
7874 * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
7875 * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
7876 * sysdeps/mips/nptl/pthreaddef.h: Likewise.
7877 * sysdeps/tile/nptl/pthreaddef.h: Likewise.
7878
01eb16fd
AS
78792014-05-13 Andreas Schwab <schwab@suse.de>
7880
7881 * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
7882
637461d9
JM
78832014-05-12 Joseph Myers <joseph@codesourcery.com>
7884
7885 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
7886 (__ASSUME_UTIMES): Do not condition on kernel version.
7887 (__ASSUME_PSELECT): Define unconditionally.
7888 (__ASSUME_PPOLL): Likewise.
7889 (__ASSUME_ATFCTS): Likewise.
7890 (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
7891 (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
7892 (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
7893 (__ASSUME_UTIMENSAT): Define unconditionally.
7894 (__ASSUME_PRIVATE_FUTEX): Likewise.
7895 (__ASSUME_FALLOCATE): Likewise.
7896 (__ASSUME_O_CLOEXEC): Likewise.
7897 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
7898 (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
7899 (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
7900 (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
7901 (__ASSUME_IN_NONBLOCK): Likewise.
7902 (__ASSUME_PIPE2): Likewise.
7903 (__ASSUME_EVENTFD2): Likewise.
7904 (__ASSUME_SIGNALFD4): Likewise.
7905 (__ASSUME_DUP3): Likewise.
7906 [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
7907 (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
7908 (__ASSUME_AT_RANDOM): Likewise.
7909 (__ASSUME_PREADV): Likewise.
7910 (__ASSUME_PWRITEV): Likewise.
7911 (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
7912 (__ASSUME_F_GETOWN_EX): Define unconditionally.
7913 (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
7914 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
7915 [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
7916 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
7917 (__ASSUME_O_CLOEXEC): Define unconditionally.
7918 (__ASSUME_PSELECT): Do not undefine conditionally.
7919 (__ASSUME_PPOLL): Likewise.
7920 (__ASSUME_ATFCTS): Likewise.
7921 (__ASSUME_SET_ROBUST_LIST): Likewise.
7922 (__ASSUME_UTIMENSAT): Likewise.
7923 (__ASSUME_FDATASYNC): Define unconditionally.
7924 * sysdeps/unix/sysv/linux/arm/kernel-features.h
7925 (__ASSUME_SIGFRAME_V2): Likewise.
7926 )__ASSUME_EVENTFD2): Likewise.
7927 (__ASSUME_SIGNALFD4): Likewise.
7928 (__ASSUME_PSELECT): Do not undefine conditionally.
7929 (__ASSUME_PPOLL): Likewise.
7930 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
7931 (__ASSUME_PSELECT): Define unconditionally.
7932 (__ASSUME_PPOLL): Likewise.
7933 (__ASSUME_O_CLOEXEC): Likewise.
7934 (__ASSUME_SOCK_CLOEXEC): Likewise.
7935 (__ASSUME_IN_NONBLOCK): Likewise.
7936 (__ASSUME_PIPE2): Likewise.
7937 (__ASSUME_EVENTFD2): Likewise.
7938 (__ASSUME_SIGNALFD4): Likewise.
7939 (__ASSUME_DUP3): Likewise.
7940 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
7941 (__ASSUME_O_CLOEXEC): Likewise.
7942 (__ASSUME_SOCK_CLOEXEC): Likewise.
7943 (__ASSUME_IN_NONBLOCK): Likewise.
7944 (__ASSUME_PIPE2): Likewise.
7945 (__ASSUME_EVENTFD2): Likewise.
7946 (__ASSUME_SIGNALFD4): Likewise.
7947 (__ASSUME_DUP3): Likewise.
7948 * sysdeps/unix/sysv/linux/mips/kernel-features.h
7949 (__ASSUME_EVENTFD2): Likewise.
7950 (__ASSUME_SIGNALFD4): Likewise.
7951 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
7952
315eb1d8
AS
79532014-05-12 Andreas Schwab <schwab@suse.de>
7954
7955 [BZ #16932]
7956 * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
7957 (_nss_nis_gethostbyname4_r): Return error if item length is larger
7958 than maximum RPC packet size.
7959 * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
7960 * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
7961 * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
7962 (_nss_nis_getservbyport_r): Likewise.
7963
91df99f7
WN
79642014-05-12 Will Newton <will.newton@linaro.org>
7965
7966 * malloc/Makefile (tests): Add tst-mallopt.
7967 * malloc/tst-mallopt.c: New file.
7968
0a982a29
RM
79692014-05-09 Roland McGrath <roland@hack.frob.com>
7970
7971 * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
7972 [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
7973
0ded08a5
AZ
79742014-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7975
7976 * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
7977 (tst-tlsmod6.so): Likewise.
7978
55d4d550
RM
79792014-05-09 Roland McGrath <roland@hack.frob.com>
7980
7981 * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
7982
77d08aca
JM
79832014-05-09 Joseph Myers <joseph@codesourcery.com>
7984
7985 [BZ #16064]
7986 * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
7987 and <dl-procinfo.h>.
7988 (__fegetenv): Save SSE state in envp->__eip if supported.
7989 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
7990 envp->__eip if supported.
7991 * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
7992 and <dl-procinfo.h>.
7993 (__fesetenv): Always set __eip, __cs_selector, __opcode,
7994 __data_offset and __data_selector in environment to 0. Set SSE
7995 state if supported.
7996 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
7997 test-fenv-sse.
7998 [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
7999 -mfpmath=sse.
8000 * sysdeps/x86/fpu/test-fenv-sse.c: New file.
8001
28162f4d
WN
80022014-05-09 Will Newton <will.newton@linaro.org>
8003
8004 * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
8005 and libc_relro_required for ARM.
8006 * sysdeps/arm/preconfigure: Regenerate.
8007
5a414ff7
DV
80082014-05-09 Dominik Vogt <vogt@linux.vnet.ibm.com>
8009 Stefan Liebler <stli@linux.vnet.ibm.com>
8010
8011 * config.make.in (enable-lock-elision): New Makefile variable.
8012 * configure.ac: Likewise.
8013 * configure: Regenerate.
8014 * sysdeps/s390/configure.ac:
8015 Add check for gcc transactions support.
8016 * sysdeps/s390/configure: Regenerate.
8017 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
8018 Build elision files if enabled.
8019 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
8020 Add lock elision support for s390.
8021 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
8022 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
8023 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
8024 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
8025 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
8026 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
8027 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
8028 Likewise.
8029 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
8030 Likewise.
8031 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
8032 Likewise.
8033 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
8034 Likewise.
8035 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
8036 (__lll_timedlock_elision, __lll_lock_elision)
8037 (__lll_unlock_elision, __lll_trylock_elision)
8038 (lll_timedlock_elision, lll_lock_elision)
8039 (lll_unlock_elision, lll_trylock_elision): Add.
8040 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
8041 (pthread_mutex_t): Add lock elision support for s390.
8042
1a2f40e5
W
80432014-05-14 Wilco <wdijkstr@arm.com>
8044
8045 * sysdeps/arm/fclrexcpt.c: Cleanup.
8046 * sysdeps/arm/fedisblxcpt.c: Cleanup.
8047 * sysdeps/arm/feenablxcpt.c: Cleanup.
8048 * sysdeps/arm/fegetenv.c: Cleanup.
8049 * sysdeps/arm/fegetexcept.c: Cleanup.
8050 * sysdeps/arm/fegetround.c: Cleanup.
8051 * sysdeps/arm/feholdexcpt.c: Cleanup.
8052 * sysdeps/arm/fesetenv.c: Cleanup.
8053 * sysdeps/arm/fesetround.c: Cleanup.
8054 * sysdeps/arm/feupdateenv.c: Cleanup.
8055 * sysdeps/arm/fgetexcptflg.c: Cleanup.
8056 * sysdeps/arm/fraiseexcpt.c: Cleanup.
8057 * sysdeps/arm/fsetexcptflg.c: Cleanup.
8058 * sysdeps/arm/ftestexcept.c: Cleanup.
8059 * sysdeps/arm/get-rounding-mode.h: Cleanup.
8060 * sysdeps/arm/setfpucw.c: Cleanup.
8061
f63c86fe
WN
80622014-05-09 Will Newton <will.newton@linaro.org>
8063
8064 * sysdeps/arm/armv7/strcmp.S: New file.
8065 * NEWS: Mention addition of ARMv7 optimized strcmp.
8066
7a1a51b5
RM
80672014-05-08 Roland McGrath <roland@hack.frob.com>
8068
95afbbe5
RM
8069 * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
8070 look for %.ac rather than %.in.
8071
8072 * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
8073 * sysdeps/unix/sysv/linux/configure.ac: Likewise.
8074 * sysdeps/mach/hurd/configure: Regenerated.
8075 * sysdeps/unix/sysv/linux/configure: Regenerated.
8076
7a1a51b5
RM
8077 * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
8078
5057ad3b
SE
80792014-05-07 Steve Ellcey <sellcey@mips.com>
8080
8081 [BZ# 16922]
8082 * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
8083 (LONG_SUB): Ditto.
8084 (PTR_SUB): Ditto.
8085
8dc97517
AS
80862014-05-07 Andreas Schwab <schwab@suse.de>
8087
8088 * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
8089 when skipping over non-matching result from nscd.
8090
ce0c5b8f
OB
80912014-05-07 Ondřej Bílka <neleai@seznam.cz>
8092
8093 [BZ #16876]
8094 * nptl/sockperf.c (client): Check socket return value.
8dc97517 8095
a1189263
OB
8096 [BZ #16877]
8097 * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
8098 nscd security class.
ce0c5b8f 8099
0f58d252
RM
81002014-05-06 Roland McGrath <roland@hack.frob.com>
8101
8102 * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
8103 * sysdeps/arm/unwind.h: ... here.
8104
83df9ad0
AJ
81052014-05-06 Aurelien Jarno <aurelien@aurel32.net>
8106
ce0c5b8f
OB
8107 [BZ# 16916]
8108 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
8109 Define.
83df9ad0 8110
f360f94a
VR
81112014-05-06 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
8112
8113 * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
8114 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
8115 multiarch strncpy for PPC64.
8116 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
8117 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
8118 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
8119 multiarch optimizations.
8120 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
8121 (__libc_ifunc_impl_list): Likewise.
8122 * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
8123 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
8124 multiarch stpncpy for PPC64.
8125 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
8126 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
8127
978a41c3
AS
81282014-05-06 Andreas Schwab <schwab@suse.de>
8129
8130 [BZ #16912]
8131 * gmon/mcount.c (_MCOUNT_DECL): Use
8132 atomic_compare_and_exchange_bool_acq instead of
8133 catomic_compare_and_exchange_bool_acq.
8134
eb1ed03d
RM
81352014-05-05 Roland McGrath <roland@hack.frob.com>
8136
fe658845
RM
8137 * elf/Makefile (others, install-bin): Remove pldd.
8138 (pldd-modules): Variable removed.
8139 ($(objpfx)pldd): Target removed.
8140 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
8141 (others, install-bin): Append pldd here.
8142 ($(objpfx)pldd): New target.
8143
eb1ed03d
RM
8144 * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
8145 to 0, so the first #if test emitted later doesn't see it undefined.
8146 (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
8147 * sysdeps/gnu/errlist.c: Regenerated.
8148
19c4bec0
AZ
81492014-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8150
8151 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
8152 [libc_hidden_builtin_def]: Define to empty value.
8153 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
8154 [libc_hidden_builtin_def]: Likewise.
8155 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
8156 [libc_hidden_builtin_def]: Likewise.
8157 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
8158 [libc_hidden_builtin_def]: Likewise.
8159 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
8160 __redirect_memcpy and define ifunc as default hidden symbol.
8161 * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
8162 * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
8163
7776e669
AC
81642014-05-04 Adam Conrad <adconrad@0c3.net>
8165
8166 * locale/iso-4217.def: Reintroduce XDR currency.
8167
d69aeb12
AM
81682014-05-04 Allan McRae <allan@archlinux.org>
8169
8170 * po/eo.po: Update Esperanto translation from translation project.
8171
8f1df5cf
CD
81722014-05-02 Carlos O'Donell <carlos@redhat.com>
8173
8174 * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
8175 and FEATURE_INDEX_MAX to 1.
8176 [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
8177
13e402e7
SE
81782014-05-01 Steve Ellcey <sellcey@mips.com>
8179
8180 * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
8181 * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
8182 * iconvdata/big5.c (ONE_DIRECTION): Define.
8183 * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
8184 * iconvdata/cp1255.c (ONE_DIRECTION): Define.
8185 * iconvdata/cp1258.c (ONE_DIRECTION): Define.
8186 * iconvdata/cp932.c (ONE_DIRECTION): Define.
8187 * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
8188 * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
8189 * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
8190 * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
8191 * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
8192 * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
8193 * iconvdata/gb18030.c (ONE_DIRECTION): Define.
8194 * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
8195 * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
8196 * iconvdata/gbk.c (ONE_DIRECTION): Define.
8197 * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
8198 * iconvdata/ibm930.c (ONE_DIRECTION): Define.
8199 * iconvdata/ibm932.c (ONE_DIRECTION): Define.
8200 * iconvdata/ibm933.c (ONE_DIRECTION): Define.
8201 * iconvdata/ibm935.c (ONE_DIRECTION): Define.
8202 * iconvdata/ibm937.c (ONE_DIRECTION): Define.
8203 * iconvdata/ibm939.c (ONE_DIRECTION): Define.
8204 * iconvdata/ibm943.c (ONE_DIRECTION): Define.
8205 * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
8206 * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
8207 * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
8208 * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
8209 * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
8210 * iconvdata/iso646.c (ONE_DIRECTION): Define.
8211 * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
8212 * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
8213 * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
8214 * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
8215 * iconvdata/johab.c (ONE_DIRECTION): Define.
8216 * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
8217 * iconvdata/sjis.c (ONE_DIRECTION): Define.
8218 * iconvdata/t.61.c (ONE_DIRECTION): Define.
8219 * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
8220 * iconvdata/tscii.c (ONE_DIRECTION): Define.
8221 * iconvdata/uhc.c (ONE_DIRECTION): Define.
8222 * iconvdata/unicode.c (ONE_DIRECTION): Define.
8223 * iconvdata/utf-16.c (ONE_DIRECTION): Define.
8224 * iconvdata/utf-32.c (ONE_DIRECTION): Define.
8225 * iconvdata/utf-7.c (ONE_DIRECTION): Define.
8226
c727f032
RM
82272014-05-01 Roland McGrath <roland@hack.frob.com>
8228
8f2f08d0
RM
8229 * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
8230 (_IO_JUMPS_OFFSET): Define to 0.
8231
c727f032
RM
8232 * nptl/sysdeps/pthread/bits/libc-lock.h
8233 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
8234 (__libc_lock_define_initialized_recursive): Always define using
8235 initializer. Modern compilers treat uninitialized (implicit zero) and
8236 explicit zero initializers the same (i.e. put the datum in bss).
8237
a849e800
AS
82382014-05-01 Andreas Schwab <schwab@linux-m68k.org>
8239
8240 * nscd/nscd-client.h: Include <string.h>.
8241
5331255b
DM
82422014-05-01 David S. Miller <davem@davemloft.net>
8243
8244 [BZ #16885]
8245 * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
8246 multiple zero bytes exist at the end of a string.
8247 Reported by Aurelien Jarno <aurelien@aurel32.net>
8248
8249 * string/test-strcmp.c (check): Add explicit test for situations where
8250 there are multiple zero bytes after the first.
8251
4fdfe821
AS
82522014-05-01 Andreas Schwab <schwab@linux-m68k.org>
8253
8254 [BZ #16890]
8255 * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
8256 when compiling wprintf.
8257 * stdio-common/tstdiomisc.c (t3): New function.
8258 (main): Call it.
8259
0cdddc25
SE
82602014-05-01 Steve Ellcey <sellcey@mips.com>
8261
8262 * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
8263 * iconv/gconv_simple.c (ONE_DIRECTION): Define.
8264 * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
8265 * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
8266
6426d77e
SE
82672014-05-01 Steve Ellcey <sellcey@mips.com>
8268
8269 * stdlib/longlong.h: Updated from GCC.
8270
6d96f5e4
WN
82712014-05-01 Will Newton <will.newton@linaro.org>
8272 Bernard Ogden <bernie.ogden@linaro.org>
8273
7470db0c
WN
8274 * NEWS: Update fixed bug list.
8275
6d96f5e4
WN
8276 [BZ #15119]
8277 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
8278
211d653c
DM
82792014-04-30 David S. Miller <davem@davemloft.net>
8280
4fa262fa
DM
8281 * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
8282 (libc_feholdexcept_setround_sparc_ctx): New function.
8283 (libc_fesetenv_sparc_ctx): Likewise.
8284 (libc_feupdateenv_sparc_ctx): Likewise.
8285 (libc_feholdsetround_sparc_ctx): Likewise.
8286 (libc_feholdexcept_setround_ctx): Define.
8287 (libc_feholdexcept_setroundf_ctx): Likewise.
8288 (libc_feholdexcept_setroundl_ctx): Likewise.
8289 (libc_fesetenv_ctx): Likewise.
8290 (libc_fesetenvf_ctx): Likewise.
8291 (libc_fesetenvl_ctx): Likewise.
8292 (libc_feupdateenv_ctx): Likewise.
8293 (libc_feupdateenvf_ctx): Likewise.
8294 (libc_feupdateenvl_ctx): Likewise.
8295 (libc_feresetround_ctx): Likewise.
8296 (libc_feresetroundf_ctx): Likewise.
8297 (libc_feresetroundl_ctx): Likewise.
8298 (libc_feholdsetround_ctx): Likewise.
8299 (libc_feholdsetroundf_ctx): Likewise.
8300 (libc_feholdsetroundl_ctx): Likewise.
8301
1d3d93ef
DM
8302 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
8303 with __USE_GNU instead of XOPEN cpp guards.
8304
8aa583c3
DM
8305 * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
8306 0.
8307
211d653c
DM
8308 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
8309 with XOPEN cpp guards.
8310
60c8f1f6
JB
83112014-04-30 Julian Brown <julian@codesourcery.com>
8312
8313 [BZ #16888]
8314 * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
8315 handling.
8316
9a461d46
JM
83172014-04-30 Joseph Myers <joseph@codesourcery.com>
8318
d0f5b3f8
JM
8319 [BZ #9894]
8320 * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
8321 Change to 2.6.32.
8322 (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
8323 * sysdeps/unix/sysv/linux/configure: Regenerated.
8324 * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
8325 * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
8326 * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
8327 * sysdeps/unix/sysv/linux/tile/configure: Likewise.
8328 * README: Update reference to required Linux kernel version.
8329 * manual/install.texi (Linux): Update reference to required Linux
8330 kernel headers version.
8331 * INSTALL: Regenerated.
8332
9a461d46
JM
8333 * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
8334 header inclusion.
8335 [POSIX] (limits.h): Likewise.
8336 [POSIX] (math.h): Likewise.
8337 [POSIX] (sys/wait.h): Likewise.
8338 * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
8339 function.
8340 [POSIX] (stddef.h): Do not allow header inclusion.
8341
1775babf
AZ
83422014-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8343
57f41c40 8344 * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
1775babf 8345
8f630cca
YY
83462014-04-30 Yang Yingliang <yangyingliang@huawei.com>
8347
8348 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
8349 Return immediately after lll_futex_wake.
8350
1cdeb237
SP
83512014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
8352
bc8f194c
SP
8353 [BZ #16791]
8354 * nscd/nscd-client.h (datahead_init_common): Initialize entire
8355 structure.
8356 (datahead_init_pos): Call datahead_init_common early.
8357 (datahead_init_neg): Likewise.
8358
1cdeb237
SP
8359 * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
8360 datahead_init_neg): New functions.
8361 * nscd/aicache.c (addhstaiX): Use them.
8362 * nscd/grpcache.c (cache_addgr): Likewise.
8363 * nscd/hstcache.c (cache_addhst): Likewise.
8364 * nscd/initgrcache.c (addinitgroupsX): Likewise.
8365 * nscd/netgroupcache.c (do_notfound): Likewise.
8366 (addgetnetgrentX): Likewise.
8367 (addinnetgrX): Likewise.
8368 * nscd/pwdcache.c (cache_addpw): Likewise.
8369 * nscd/servicescache.c (cache_addserv): Likewise.
8370
16b293a7
SP
83712014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
8372 Atsushi Onoe <atsushi@onoe.org>
8373
8374 [BZ #14308]
8375 [BZ #12994]
8376 [BZ #13651]
8377 * resolv/res_query.c (__libc_res_nsearch): Return if at least
8378 one response is valid.
8379 * resolv/res_send.c (send_dg): Check for validity of other
8380 response if the current response is a referral.
8381
a28a9b94
SE
83822014-04-29 Steve Ellcey <sellcey@mips.com>
8383
8384 * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
8385
2ca180e9
SL
83862014-04-29 Stefan Liebler <stli@linux.vnet.ibm.com>
8387
8388 [BZ #16823]
8389 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
8390 Always divide by positive zero when computing -Inf result.
8391 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
8392 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
8393
18f2945a
AZ
83942014-04-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8395
8396 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
8397 FPSCR if value do not change.
8398 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
8399 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
8400 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
8401 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
8402 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
8403 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
8404 function.
8405
5abebba4
CD
84062014-05-29 Carlos O'Donell <carlos@systemhalted.org>
8407
8408 * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
8409 * sysdeps/unix/sysv/linux/hppa: Move directory from
8410 ports/systeps/unix/sysv/linux/hppa.
8411 * README: Update listing for hppa-*-linux-gnu.
8412
f7ed60c2
OB
84132014-04-28 Ondřej Bílka <neleai@seznam.cz>
8414
fff763a5
OB
8415 [BZ #16754]
8416 * manual/stdio.texi (Hook functions): Fix types of stream hook
8417 functions.
f7ed60c2
OB
8418 [BZ #16854]
8419 * socket/sys/socket.h: Fix typo in comment.
8420
df639d73
WD
84212014-04-28 Wilco <wdijkstr@arm.com>
8422
f7ed60c2 8423 * sysdeps/arm/fenv_private.h: New file.
df639d73
WD
8424 * sysdeps/arm/math_private.h: New file.
8425 * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
8426
48332d82
L
84272014-04-25 H.J. Lu <hongjiu.lu@intel.com>
8428
8429 * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
8430 with __int128_t.
8431 (La_x86_64_retval): Likewise.
8432
e5e0d9a4
IB
84332014-04-24 Ian Bolton <ian.bolton@arm.com>
8434
8435 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
8436 fpsr if value didn't change.
8437 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
8438 to fpcr if value didn't change.
8439 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
8440 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
8441 fpsr or fpcr if value didn't change.
8442 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
8443 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
8444 fpcr if value didn't change.
8445 * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
8446 to fpsr if value didn't change.
8447
bacc75f7
SP
84482014-02-23 Siddhesh Poyarekar <siddhesh@redhat.com>
8449
8450 * nptl/tst-sem3.c: Use test-skeleton.c
8451 (main): Rename to do_test. Use return instead of
8452 exit.
8453 * nptl/tst-sem4.c: Use test-skeleton.c
8454 (main): Rename to do_test.
8455
a059d359
DM
84562014-04-22 David S. Miller <davem@davemloft.net>
8457
8458 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
8459 (struct sigaction): New struct member __glibc_reserved0, change
8460 type of sa_flags to int.
8461
ea6c92f3
YZ
84622014-04-22 Yufeng Zhang <yufeng.zhang@arm.com>
8463
8464 * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
8465 (COUNT_LEADING_ZEROS_0): Define for AArch64.
8466
766c4a36
SP
84672014-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
8468
8469 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
8470 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
8471
140cc7ab
VK
84722014-04-22 Will Newton <will.newton@linaro.org>
8473 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
8474
8475 * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
8476 (__longjmp): Add longjmp and longjmp_target SystemTap
8477 probes.
8478 * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
8479 (__sigsetjmp): Add setjmp SystemTap probe.
8480
c54e5cf7
CD
84812014-04-17 Carlos O'Donell <carlos@redhat.com>
8482
8483 * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
8484 match manual order.
8485
75ffb047
AZ
84862014-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8487
8488 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
8489
2cd925f7
AZ
8490 * sysdeps/powerpc/fpu/fenv_private.h
8491 (libc_feholdexcept_setroundl_ctx): Define to
8492 libc_feholdexcept_setround_ppc_ctx.
8493 (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
8494 (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
8495 (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
8496 (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
8497
39e6cd8d
IB
84982014-04-17 Ian Bolton <ian.bolton@arm.com>
8499
8500 * sysdeps/aarch64/math-tests.h: New file.
8501
f9281df9
SY
85022014-04-17 Sihai Yao <sihai.ysh@alibaba-inc.com>
8503
8504 * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
8505 New.
8506 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
8507 Check and set bit_AVX2_Usable.
8508 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
8509 macro.
8510 (bit_AVX2): Likewise.
8511 (index_AVX2_Usable): Likewise.
8512 (CPUID_AVX2): Likewise.
8513 (HAS_AVX2): Likewise.
8514
37d35007
WN
85152014-04-17 Will Newton <will.newton@linaro.org>
8516
7c677662
WN
8517 * manual/setjmp.texi (System V contexts): Add note that
8518 calling setcontext on a context created by a call to a
8519 signal handler is undefined. Update text to note that
8520 setcontext from a signal handler is possible but not
8521 recommended.
8522
37d35007 8523 [BZ #16629]
e04a4e9d
WN
8524 * stdlib/tst-setcontext.c: Include signal.h.
8525 (main): Check that the signal stack before and
8526 after swapcontext is the same.
8527
37d35007
WN
8528 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
8529 Re-implement to restore registers in user code and avoid
8530 rt_sigreturn system call.
8531
423a7160
W
85322014-04-17 Wilco <wdijkstr@arm.com>
8533
8534 * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
8535 * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
8536 * math/test-fenv.c: Skip exception trap tests on targets which only
8537 support non-stop mode.
8538
bc93ab29
IB
85392014-04-17 Ian Bolton <ian.bolton@arm.com>
8540 Wilco Dijkstra <wilco.dijkstra@arm.com>
8541
8542 * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
8543 (libc_feholdsetround_aarch64_ctx)
8544 (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
8545 (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
8546 (libc_feresetround_ctx, libc_feresetroundf_ctx)
8547 (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
8548 (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
8549 (libc_feresetround_noexl_ctx): Define.
8550
95fc5fa3
RH
85512014-04-16 Richard Henderson <rth@redhat.com>
8552
ddb04724
RH
8553 * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
8554
d77c0899
RH
8555 * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
8556 unwind tables.
8557
a3df56fc
RH
8558 * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
8559 const from the non-libc, non-ldso copy.
8560
95fc5fa3
RH
8561 * sysdeps/alpha/libm-test-ulps: Regenerate.
8562
7e0b6763
IB
85632014-04-16 Ian Bolton <ian.bolton@arm.com>
8564 Wilco Dijkstra <wilco.dijkstra@arm.com>
8565
8566 * sysdeps/aarch64/fpu/math_private.h: New file.
8567
a9ea2e0c
MS
85682014-04-16 Marcus Shawcroft <marcus.shawcroft@arm.com>
8569
8570 * sysdeps/aarch64/libm-test-ulps: Regenerate.
8571
ea8ba7cd
IZ
85722014-04-16 Igor Zamyatin <igor.zamyatin@intel.com>
8573
7e54fd04 8574 [BZ #16275]
ea8ba7cd
IZ
8575 * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
8576 (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
8577 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
8578 Intel MPX bound registers before _dl_profile_fixup.
8579 * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
8580 registers after _dl_profile_fixup. Save and restore bound
8581 registers bnd0/bnd1 when calling _dl_call_pltexit.
8582 * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
8583 (LR_BND_OFFSET): Likewise.
8584 (LRV_BND0_OFFSET): Likewise.
8585 (LRV_BND1_OFFSET): Likewise.
8586
9f2a4fbc
ST
85872014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
8588
8589 * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
8590 to...
8591 * sysdeps/mach/hurd/i386/tls.h: ... here.
3c799e91
ST
8592 (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
8593 pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
8594 fields.
9f2a4fbc 8595
fd15a59b
ST
85962014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
8597
8598 * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
8599
f19dfa0a
SL
86002014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
8601
8602 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
8603
4fa8bc3b
SL
86042014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
8605
8606 [BZ #14770]
8607 * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
8608 * sysdeps/s390/configure: Regenerate.
8609
8ea587db
SL
8610 [BZ #16824]
8611 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
8612 Set round-to-nearest internally to reduce error accumulation.
8613
aa5f0ff1
AM
86142014-04-16 Alan Modra <amodra@gmail.com>
8615
8616 [BZ #16740]
8617 [BZ #16619]
8618 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
8619 * math/libm-test.inc (frexp_test_data): Add tests.
9860b045 8620 * NEWS: Update fixed bug list.
aa5f0ff1 8621
bb9c256f
SP
86222014-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
8623
8624 * benchtests/Makefile: Depend on libraries in build directory.
8625 (bench-math): Separate out math tests.
8626 (bench-pthread): Separate out pthread tests.
8627 (bench): Include math and pthread tests.
8628
f737dfd0
CD
86292014-04-14 Carlos O'Donell <carlos@redhat.com>
8630
8631 [BZ #16831]
8632 * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
8633 _dl_debug_initialize.
8634
0699f766
CD
8635 * configure.ac: Remove SELinux header check.
8636 * configure: Regenerate.
8637 * nscd/selinux.c (perms): Array of const char* to permission names.
8638 (nscd_request_avc_has_perm): Call security_deny_unknown to find
8639 default policy. Call string_to_security_class and string_to_av_perm to
8640 translate strings. Enforce default policy and call avs_has_perm with
8641 results of translated strings.
8642
809bd45f
DM
86432014-04-13 David S. Miller <davem@davemloft.net>
8644
8645 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8646
89e691f2
AM
86472014-04-12 Allan McRae <allan@archlinux.org>
8648
8649 [BZ #16838]
8650 * manual/string.texi (Collation Functions): Fix qsort argument
8651 order in example.
8652 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
8653
9c9daaeb
CM
86542014-04-11 Chris Metcalf <cmetcalf@tilera.com>
8655
8656 * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
8657 Make the test a no-op if there are no exceptions defined.
8658
95561fb9
PP
86592014-04-11 Paul Pluzhnikov <ppluzhnikov@google.com>
8660
fe8d072c 8661 * elf/Makefile (tests): make tst-dlopen-aout conditional on
95561fb9
PP
8662 enable-hardcoded-path-in-tests
8663
970c602a
WN
86642014-04-11 Will Newton <will.newton@linaro.org>
8665
8666 * benchtests/Makefile (extra-objs): Add json-lib.o.
8667 (bench-func): Tidy up JSON output.
8668 * benchtests/bench-skeleton.c: Include json-lib.h.
8669 (main): Use JSON library functions to do output of
8670 benchmark results.
8671 * benchtests/bench-timing-type.c (main): Output the
8672 timing type simply, leaving formatting to the user.
8673 * benchtests/json-lib.c: New file.
8674 * benchtests/json-lib.h: Likewise.
8675
36875b06
TR
86762014-04-11 Torvald Riegel <triegel@redhat.com>
8677
8678 [BZ #15215]
8679 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
8680 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here. Add missing
8681 memory barriers. Add comments.
8682 * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
8683 * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
8684 * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
8685 * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
8686 * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
8687 * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
8688
579db35a
SL
86892014-04-11 Stefan Liebler <stli@linux.vnet.ibm.com>
8690
8691 * sysdeps/s390/s390-32/configure.ac: Unify file with ...
8692 * sysdeps/s390/s390-64/configure.ac: ... this ...
8693 * sysdeps/s390/configure.ac: ... to here.
8694 * sysdeps/s390/s390-32/configure: Delete file.
8695 * sysdeps/s390/s390-64/configure: Delete file.
8696 * sysdeps/s390/configure: Regenerate.
8697
c12e9f37
JAPH
86982014-04-11 Joseph Anthony Pasquale Holsten <joseph@josephholsten.com>
8699
8700 * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
8701
439bda32
WN
87022014-04-11 Will Newton <will.newton@linaro.org>
8703
8704 * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
8705 to zero if it is not defined elsewhere. (mtrim): Test
8706 the value of MALLOC_DEBUG with #if rather than #ifdef.
8707
6a5d6ea1
TR
87082014-04-10 Torvald Riegel <triegel@redhat.com>
8709
8710 * benchtests/pthread_once-inputs: New file.
8711 * benchtests/pthread_once-source.c: New file.
8712 * benchtests/README: Update documentation.
8713
a4c75cfd
IZ
87142014-04-09 Igor Zamyatin <igor.zamyatin@intel.com>
8715 H.J. Lu <hongjiu.lu@intel.com>
8716
7e54fd04 8717 [BZ #16275]
a4c75cfd
IZ
8718 * config.h.in (HAVE_MPX_SUPPORT): New #undef.
8719 * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
8720 * sysdeps/x86_64/configure: Regenerated.
8721 * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
8722 macro.
8723 (REGISTER_SAVE_RAX): Likewise.
8724 (REGISTER_SAVE_RCX): Likewise.
8725 (REGISTER_SAVE_RDX): Likewise.
8726 (REGISTER_SAVE_RSI): Likewise.
8727 (REGISTER_SAVE_RDI): Likewise.
8728 (REGISTER_SAVE_R8): Likewise.
8729 (REGISTER_SAVE_R9): Likewise.
8730 (REGISTER_SAVE_BND0): Likewise.
8731 (REGISTER_SAVE_BND1): Likewise.
8732 (REGISTER_SAVE_BND2): Likewise.
8733 (_dl_runtime_resolve): Use them. Save and restore Intel MPX
8734 bound registers when calling _dl_fixup.
8735
27822ce6
AZ
87362014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8737
8738 * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
57f41c40
AS
8739 * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
8740 of its definition.
27822ce6
AZ
8741 * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
8742 * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
8743 * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
8744 * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
8745 * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
8746 * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
8747 * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
8748
a88ddc90
PTB
87492014-04-09 Peter Brett <peter@peter-b.co.uk>
8750
8751 [BZ #15514]
8752 * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
8753 pathconf(_PC_NAME_MAX).
8754
01f8eac2
AZ
87552014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8756
8757 * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
8758 Remove macro usage.
8759 (__PTHREAD_SPINS): Move definition to ...
8760 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
8761 (__PTHREAD_SPINS): ... here.
8762 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
8763 (__PTHREAD_SPIN): Likewise.
8764 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
8765 (__PTHREAD_SPIN): Likewise.
8766 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
8767 (__PTHREAD_SPIN): Likewise.
8768 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
8769 (__PTHREAD_SPIN): Likewise.
8770 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
8771 (__PTHREAD_SPIN): Likewise.
8772 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
8773 (__PTHREAD_SPIN): Likewise.
8774 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
8775 (__PTHREAD_SPIN): Likewise.
8776 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
8777 (__PTHREAD_SPIN): Likewise.
8778 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
8779 (__PTHREAD_SPIN): Likewise.
8780 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
8781 (__PTHREAD_SPIN): Likewise.
8782 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
8783 (__PTHREAD_SPIN): Likewise.
8784 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
8785 (__PTHREAD_SPIN): Likewise.
8786
de21c33c
AZ
8787 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
8788 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
8789 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
8790 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
8791 imply folder.
8792 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
8793 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
8794 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
8795 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
8796 correct imply path.
8797 * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
8798 strlen symbol for non multi-arch builds.
8799 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
8800 missing hidden_def and weak_alias.
8801
862c472e
CD
88022014-04-08 Carlos O'Donell <carlos@redhat.com>
8803
8804 * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
8805
8667f90e
WN
88062014-04-07 Will Newton <will.newton@linaro.org>
8807
8808 * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
8809 and contents. [!_LIBC] Remove #ifndef and contents.
8810 (basename): Use ANSI prototype. [_LIBC] Remove #idef.
8811 * string/memccpy.c (__memccpy): Use ANSI prototype.
8812 * string/memfrob.c (memfrob): Likewise.
8813 * string/strcoll.c (STRCOLL): Likewise.
8814 * string/strlen.c (strlen): Likewise.
8815 * string/strtok.c (STRTOK): Likewise.
8816 * string/strcat.c: Remove unused #include of memcopy.h.
8817 (strcat): Use ANSI prototype.
8818 * string/strchr.c: Remove unused #include of memcopy.h.
8819 (strchr): Use ANSI prototype.
8820 * string/strcmp.c: Remove unused #include of memcopy.h.
8821 (strcmp): Use ANSI prototype.
8822 * string/strcpy.c: Remove unused #include of memcopy.h.
8823 (strcpy): Use ANSI prototype.
8824
7ffa9423
AZ
88252014-04-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8826
8827 * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
8828 * config.make.in (config-extra-cppflags): Set it from
8829 libc_extra_cppflags.
8830 * configure.ac (libc_extra_cflags): Make it accumulate over
8831 configure fragments.
8832 (libc_extra_cppflags): New flag.
8833 * configure. Regenerate.
8834 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
57f41c40
AS
8835 (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
8836 not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
7ffa9423
AZ
8837 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
8838
8bd70862
AZ
8839 [BZ #16815]
8840 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
8841 result for FE_DOWNWARD rounding mode.
8842 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
8843 Likewise.
8844 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8845
d42f3448
CM
88462014-04-04 Chris Metcalf <cmetcalf@tilera.com>
8847
8848 * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
8849 in function argument name.
8850
1c21d115
DS
88512014-04-03 David Svoboda <svoboda@cert.org>
8852
8853 [BZ #5666]
8854 * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
8855 explicitly.
8856
fcccd512
RM
88572014-04-03 Roland McGrath <roland@hack.frob.com>
8858
8859 * elf/dl-unmap-segments.h: New file.
8860 * sysdeps/generic/ldsodefs.h
8861 (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
8862 * elf/dl-close.c: Include <dl-unmap-segments.h>.
8863 * elf/dl-fptr.c: Likewise.
8864 (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
8865 * sysdeps/aarch64/tlsdesc.c: Likewise.
8866 * sysdeps/arm/tlsdesc.c: Likewise.
8867 * sysdeps/i386/tlsdesc.c: Likewise.
8868 * sysdeps/tile/dl-runtime.c: Likewise.
8869 * sysdeps/x86_64/tlsdesc.c: Likewise.
8870 * elf/dl-load.h: New file.
8871 * elf/dl-load.c: Include it.
8872 (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
8873 Macros moved to dl-load.h.
8874 (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
8875 (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
8876 Use _dl_unmap_segments in place of __munmap.
8877 Break out segment-mapping loop into ...
8878 * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
8879
f6488e2b
WN
88802014-04-03 Will Newton <will.newton@linaro.org>
8881
8882 * elf/dl-lookup.c (do_lookup_x): Remove comment
8883 referring to nested function and move variable
8884 declarations down to before first use.
8885
6f05bafe
JM
88862014-04-02 Joseph Myers <joseph@codesourcery.com>
8887
a84e78c8
JM
8888 [BZ #16799]
8889 [BZ #16800]
8890 * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
8891 with 0 numerator.
8892 * math/s_catanf.c (__catanf): Likewise.
8893 * math/s_catanh.c (__catanh): Likewise.
8894 * math/s_catanhf.c (__catanhf): Likewise.
8895 * math/s_catanhl.c (__catanhl): Likewise.
8896 * math/s_catanl.c (__catanl): Likewise.
8897 * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
8898 by positive zero when computing -Inf result.
8899 * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
8900 (catanh_test): Likewise.
8901 * sysdeps/i386/fpu/libm-test-ulps: Update.
8902 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8903
6f05bafe
JM
8904 [BZ #16789]
8905 * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
8906 instead of using underflowing value in computing result.
8907 * math/s_clog10.c (__clog10): Likewise.
8908 * math/s_clog10f.c (__clog10f): Likewise.
8909 * math/s_clog10l.c (__clog10l): Likewise.
8910 * math/s_clogf.c (__clogf): Likewise.
8911 * math/s_clogl.c (__clogl): Likewise.
8912 * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
8913 (clog10_test): Likewise.
8914 * sysdeps/i386/fpu/libm-test-ulps: Update.
8915 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8916
b0abbc21
AM
89172014-04-02 Alan Modra <amodra@gmail.com>
8918
8919 [BZ #16739]
8920 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
8921 output when value is near a power of two. Use int64_t for lx and
8922 remove casts. Use decimal rather than hex exponent constants.
8923 Don't use long double multiplication when double will suffice.
8924 * math/libm-test.inc (nextafter_test_data): Add tests.
8925 * NEWS: Add 16739 and 16786 to bug list.
8926
af6b1797
AM
8927 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
8928
483818d7
AM
8929 * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
8930
f6c55796
WN
89312014-04-01 Will Newton <will.newton@linaro.org>
8932
8933 * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
8934 -fno-builtin. (CFLAGS-bench-ffsll.c): Likewise.
8935
13f7fe35
FW
89362014-04-01 Florian Weimer <fweimer@redhat.com>
8937
8938 [BZ #13347]
8939 * nptl/nptl-init.c (sighandler_setxid): Check system call result.
8940 * nptl/tst-setuid2.c: New file.
8941 * nptl/Makefile (xtests): Add tst-setuid2.
8942
c859b32e
AM
89432014-04-01 Alan Modra <amodra@gmail.com>
8944
8945 [BZ #16786]
8946 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
8947
54fa2475
JM
89482014-03-31 Joseph Myers <joseph@codesourcery.com>
8949
8795b4a4
JM
8950 [BZ #6803]
8951 [BZ #6804]
8952 * math/w_scalb.c (__scalb): For non-SVID mode, check result and
8953 set errno as appropriate.
8954 * math/w_scalbf.c (__scalbf): Likewise.
8955 * math/w_scalbl.c (__scalbl): Likewise.
8956 * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
8957 ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
8958 * math/libm-test.inc (scalb_test_data): Add errno expectations.
8959 Add more NaN tests.
8960
54fa2475
JM
8961 [BZ #16349]
8962 * math/w_atan2.c: Include <errno.h>.
8963 (__atan2): Set errno for result underflowing to zero.
8964 * math/w_atan2f.c: Include <errno.h>.
8965 (__atan2f): Set errno for result underflowing to zero.
8966 * math/w_atan2l.c: Include <errno.h>.
8967 (__atan2l): Set errno for result underflowing to zero.
8968 * math/auto-libm-test-in: Don't allow missing errno for some atan2
8969 tests.
8970 * math/auto-libm-test-out: Regenerated.
8971
757d9dd5
AZ
89722014-03-31 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8973
8974 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
8975 Encode instruction correctly in little endian.
8976 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
8977 Likewise.
8978 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
8979 Likewise.
8980 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
8981 Likewise.
8982 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
8983 Likewise.
8984
d7a68734
JM
89852014-03-31 Joseph Myers <joseph@codesourcery.com>
8986
47c5adeb
JM
8987 [BZ #9894]
8988 * sysdeps/unix/sysv/linux/kernel-features.h
8989 [__sparc__ && !__arch64__ && !__sparc_v9__]
8990 (__ASSUME_SET_ROBUST_LIST): Do not define.
8991 [__sparc__ && !__arch64__ && !__sparc_v9__]
8992 (__ASSUME_FUTEX_LOCK_PI): Likewise.
8993 [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
8994 Likewise.
8995 * sysdeps/unix/sysv/linux/arm/kernel-features.h
8996 (__ASSUME_FUTEX_LOCK_PI): Undefine.
8997 (__ASSUME_REQUEUE_PI): Likewise.
8998 (__ASSUME_SET_ROBUST_LIST): Likewise.
8999 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
9000 [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
9001 Undefine.
9002 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
9003 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
9004 Likewise.
9005 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
9006 Likewise.
9007 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
9008 Likewise.
9009 * sysdeps/unix/sysv/linux/mips/kernel-features.h
9010 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
9011 Undefine.
9012 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
9013 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
9014 Likewise.
9015
d7a68734
JM
9016 [BZ #16648]
9017 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
9018 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
9019 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
9020
c760f5c2
WN
90212014-03-31 Will Newton <will.newton@linaro.org>
9022
9023 * benchtests/Makefile (bench): Add ffs and ffsll to list
9024 of tests.
9025 * benchtests/ffs-inputs: New file.
9026 * benchtests/ffsll-inputs: Likewise.
9027
ea6029b1
JM
90282014-03-29 Joseph Myers <joseph@codesourcery.com>
9029
9030 [BZ #16770]
9031 * math/e_scalb.c (__ieee754_scalb): Check second argument is not
9032 too large before casting to int.
9033 * math/e_scalbf.c (__ieee754_scalbf): Likewise.
9034 * math/e_scalbl.c (__ieee754_scalbl): Likewise.
9035 * math/libm-test.inc (scalb_test_data): Add more tests.
9036
cf806aff
SP
90372014-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
9038
56737508
SP
9039 * benchtests/Makefile (DETAILED_OPT): New make option.
9040 (bench-func): Run benchmark program with -d if DETAILED_OPT is
9041 set.
9042 * benchtests/bench-skeleton.c: Include stdbool.h.
9043 (main): Store and print timings per input.
9044 * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
9045 member to each argument value.
9046 (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
9047 (_print_arg_data): Initialize per-input timing to 0.
9048
cb5e4aad
SP
9049 * benchtests/Makefile (timing-type): New binary.
9050 (bench-clean): Also remove bench-timing-type.
9051 (bench): New target for timing-type.
9052 (bench-func): Print output in JSON format.
9053 * benchtests/bench-skeleton.c (main): Print output in JSON
9054 format.
9055 * benchtests/bench-timing-type.c: New file.
9056 * benchtests/bench-timing.h (TIMING_TYPE): New macro.
9057 (TIMING_PRINT_STATS): Remove.
9058 * benchtests/scripts/bench.py (_print_arg_data): Store variant
9059 name separately.
9060
cf806aff
SP
9061 * benchtests/bench-modf.c: Remove.
9062 * benchtests/modf-inputs: New inputs file.
9063
289e0779
JM
90642014-03-28 Joseph Myers <joseph@codesourcery.com>
9065
9066 [BZ #16362]
9067 * math/s_clog10.c (M_PI_LOG10E): New macro.
9068 (__clog10): Use M_PI_LOG10E instead of M_PI when real and
9069 imaginary parts are 0.
9070 * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
9071 (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
9072 imaginary parts are 0.
9073 * math/s_clog10l.c (M_PI_LOG10El): New macro.
9074 (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
9075 imaginary parts are 0.
9076 * math/libm-test.inc (clog10_test_data): Update expected results
9077 for when real and imaginary parts are 0.
9078
277ae3f1
PP
90792014-03-27 Paul Pluzhnikov <ppluzhnikov@google.com>
9080
9081 * elf/dl-load.c: Finish conversion of __builtin_expect into
9082 __glibc_{un}likely.
9083
03a7091f
JM
90842014-03-27 Joseph Myers <joseph@codesourcery.com>
9085
9086 [BZ #16348]
9087 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
9088 1+x for argument with exponent below -67.
9089 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
9090 Likewise.
9091 * math/auto-libm-test-in: Add more tests of exp.
9092 * math/auto-libm-test-out: Regenerated.
9093
ea7d8b95
SP
90942014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
9095
dd3022d7
SP
9096 [BZ #16759]
9097 * inet/getnetgrent_r.c (get_nonempty_val): New function.
9098 (nscd_getnetgrent): Use it.
9099
ea7d8b95
SP
9100 [BZ #16760]
9101 * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
9102 of stpcpy.
9103
df5b85da
AK
91042014-03-27 Andi Kleen <ak@linux.intel.com>
9105
57f41c40
AS
9106 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
9107 (lll_robust_lock, lll_cond_lock, lll_timedlock)
9108 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
9109 (lll_robust_unlock): Remove out of line section. Use cfi
9110 intrinsics.
df5b85da 9111 (LLL_STUB_UNWIND_INFO*): Remove.
57f41c40
AS
9112 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
9113 (lll_robust_lock, lll_cond_lock, lll_timedlock)
9114 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
9115 (lll_robust_unlock): Remove out of line section. Use cfi
9116 intrinsics.
df5b85da
AK
9117 (LLL_STUB_UNWIND_INFO*): Remove.
9118
fbd6b5a4
SP
91192014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
9120
9121 [BZ #16758]
9122 * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
9123 blank values.
9124
1b26b855
PP
91252014-03-26 Paul Pluzhnikov <ppluzhnikov@google.com>
9126
9127 * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
9128
9be36fb8
JM
91292014-03-26 Joseph Myers <joseph@codesourcery.com>
9130
9131 [BZ #16198]
9132 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
9133 fnstenv.
9134 * math/test-fenv-preserve.c: New file.
9135 * math/Makefile (tests): Add test-fenv-preserve.
9136
60a2f3c1
WN
91372014-03-26 Will Newton <will.newton@linaro.org>
9138
9139 * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
9140
a5e5f1e2
RM
91412014-03-25 Roland McGrath <roland@hack.frob.com>
9142
9143 * scripts/versionlist.awk: Partition the version sets and emit all
9144 GLIBC_* (sorted) before all others (sorted).
9145
00f4012a
JM
91462014-03-25 Joseph Myers <joseph@codesourcery.com>
9147
9148 * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
9149 GLIBC_2.2.5 version.
9150
7bc5a741
AZ
91512014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9152
9153 * scripts/localplt.awk: Check for PLT generated by internal IFUNC
9154 calls.
9155
7578473b
AZ
9156 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
9157 previous change.
9158
f3f1dab3
AZ
9159 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9160
6da36183
AS
91612014-03-25 Andreas Schwab <schwab@suse.de>
9162
9163 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
9164 label to be used after in6ailist is initialized.
9165
f3f1dab3 91662014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
449282f2 9167
7578473b 9168 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
449282f2
AZ
9169 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
9170
046651c1
JM
91712014-03-25 Joseph Myers <joseph@codesourcery.com>
9172
9173 [BZ #16357]
9174 [BZ #16599]
9175 * math/gen-auto-libm-tests.c (fp_format_desc): Add field
9176 min_plus_half.
9177 (fp_formats): Update initializers.
9178 (init_fp_formats): Initialize new field.
9179 (output_for_one_input_case): Allow underflow for results up to
9180 min_plus_half.
9181 * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
9182 * math/auto-libm-test-in: Don't mark some underflows from asin and
9183 atanh as spurious.
9184 * math/auto-libm-test-out: Regenerated.
9185 * sysdeps/i386/fpu/libm-test-ulps: Update.
9186 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9187
003e49ed
AS
91882014-03-25 Andreas Schwab <schwab@suse.de>
9189
9190 * libio/Makefile (tst-ftell-partial-wide-ENV)
9191 (tst-ftell-active-handler-ENV): Define.
9192
de031874
SL
91932014-03-25 Stefan Liebler <stli@linux.vnet.ibm.com>
9194
9195 * NEWS: Add 16712, 16713, 16714 to fixed bug list.
9196
55a81e3b
PP
91972014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
9198
9199 * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
9200
f3426898
JM
92012014-03-24 Joseph Myers <joseph@codesourcery.com>
9202
9203 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
9204 * sysdeps/x86_64/fpu/multiarch/e_exp.c
9205 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
9206
a42faf59
PP
92072014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
9208
9209 [BZ #16634]
a42faf59 9210 * elf/dl-load.c (open_verify): Add mode parameter.
97d8ca99
CD
9211 Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
9212 (open_path): Change from boolean 'secure' to complete flag 'mode'
9213 (_dl_map_object): Adjust.
a42faf59
PP
9214 * elf/Makefile (tests): Add tst-dlopen-aout.
9215 * elf/tst-dlopen-aout.c: New test.
9216
50936127
SL
92172014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
9218
9219 [BZ #16714]
9220 * sysdeps/unix/sysv/linux/s390/bits/stat.h
9221 (struct stat): Rename member pad0 to __glibc_reserved0.
9222
26011b5c
SL
9223 [BZ #16712]
9224 * sysdeps/s390/s390-32/bits/wordsize.h
9225 (__WORDSIZE32_SIZE_ULONG): New define.
9226 * sysdeps/s390/s390-64/bits/wordsize.h
9227 (__WORDSIZE32_SIZE_ULONG): Likewise.
9228 * sysdeps/generic/stdint.h (SIZE_MAX):
9229 Define as UL if __WORDSIZE32_SIZE_ULONG.
9230
a2d86bf1
SL
9231 [BZ #16713]
9232 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
9233 (__glibc_reserved0): New variable.
9234 (sa_flags): Change type to int.
9235
78b6eebc
SL
9236 * posix/Makefile (before-compile): Use += before-compile instead
9237 of a :=.
9238
f1399b5a
SL
9239 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
9240 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
9241
a071766e
AS
92422014-03-20 Andreas Schwab <schwab@suse.de>
9243
9244 [BZ #16743]
9245 * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
9246 non-matching result from nscd.
9247
27c673b8
SP
92482014-03-24 Siddhesh Poyarekar <siddhesh@redhat.com>
9249
9250 * scripts/bench.py: Moved to ...
9251 * benchtests/scripts/bench.py: ... here.
9252 * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
9253
44152e4b
AS
92542014-03-24 Andreas Schwab <schwab@suse.de>
9255
9256 [BZ #16002]
9257 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
9258 alloca_account and account alloca use for struct in6ailist.
9259
b376a11a
JM
92602014-03-24 Joseph Myers <joseph@codesourcery.com>
9261
9262 [BZ #16284]
9263 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
9264 rounding mode to recompute results that overflow to infinity or
9265 underflow to zero.
9266 * math/auto-libm-test-in: Don't mark tests as expected to fail for
9267 bug 16284.
9268 * math/auto-libm-test-out: Regenerated.
9269 * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
9270 (ccosh_test): Likewise.
9271 (csin_test_data): Use plus_oflow.
9272 (csin_test): Use ALL_RM_TEST.
9273 (csinh_test_data): Use plus_oflow.
9274 (csinh_test): Use ALL_RM_TEST.
9275 * sysdeps/i386/fpu/libm-test-ulps: Update.
9276 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9277
f7be7376
JM
92782014-03-21 Joseph Myers <joseph@codesourcery.com>
9279
1ca2d03e
JM
9280 * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
9281 * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
9282 * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
9283
f7be7376
JM
9284 [BZ #16731]
9285 * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
9286 when x - 1 is zero.
9287 * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
9288 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
9289 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
9290 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
9291 argument is 1.
9292 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
9293 * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
9294 zero.
9295 * math/libm-test.inc (log_test): Use ALL_RM_TEST.
9296 * sysdeps/i386/fpu/libm-test-ulps: Update.
9297 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9298
fdf4534d
SP
92992014-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
9300
df26ea53
SP
9301 * scripts/bench.pl: Remove file.
9302 * scripts/bench.py: New benchmark script.
9303 * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
9304 * benchtests/README: Mention python dependency.
9305 * scripts/pylintrc: New file.
9306 * scripts/pylint: New file.
9307
fdf4534d
SP
9308 * bits/mathdef.h: Use #ifdef instead of #if.
9309 * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
9310 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
9311 * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
9312 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
9313 * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
9314 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
9315
6f23d093
AZ
93162014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9317 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
9318
9319 * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
9320 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
9321 and strpbrk-ppc64 objects.
9322 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9323 (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
9324 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
9325 multiarch strpbrk for POWER7.
9326 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
9327 multiarch strpbrk for PPC64.
9328 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
9329 ifunc selector.
9330 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
9331 strpbrk for POWER7.
9332
8c92dfff
JM
93332014-03-20 Joseph Myers <joseph@codesourcery.com>
9334
9335 * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
9336 (atan_test): Likewise.
9337 (atanh_test_data): Use NO_TEST_INLINE for two tests.
9338 (atanh_test): Use ALL_RM_TEST.
9339 (atan2_test_data): Likewise.
9340 (cabs_test): Likewise.
9341 (cacosh_test): Likewise.
9342 (carg_test): Likewise.
9343 (casin_test): Likewise.
9344 (casinh_test): Likewise.
9345 (cbrt_test): Likewise.
9346 (csqrt_test): Likewise.
9347 (erf_test): Likewise.
9348 (erfc_test): Likewise.
9349 (pow10_test): Likewise.
9350 (exp2_test): Likewise.
9351 (hypot_test): Likewise.
9352 (j0_test): Likewise.
9353 (j1_test): Likewise.
9354 (lgamma_test): Likewise.
9355 (gamma_test): Likewise.
9356 (sincos_test): Likewise.
9357 (tanh_test): Likewise.
9358 (y0_test): Likewise.
9359 (y1_test): Likewise.
9360 * sysdeps/i386/fpu/libm-test-ulps: Update.
9361 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9362
6eaf95cb
AZ
93632014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9364
a387428c
SP
9365 * string/strcspn.c (strcspn): Using macro to redefine symbol name.
9366 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
6eaf95cb
AZ
9367 and strcspn-ppc64 objects.
9368 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9369 (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
9370 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
9371 multiarch strcspn for POWER7.
9372 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
9373 multiarch strcspn for PPC64.
9374 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
9375 ifunc selector.
9376 * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
9377 strcspn for POWER7.
9378
ae3a5dff
JM
93792014-03-20 Joseph Myers <joseph@codesourcery.com>
9380
9381 * math/gen-libm-test.pl (generate_testfile): Expect only function
9382 name as argument to AUTO_TESTS_* and pass results for all rounding
9383 modes to parse_args.
9384 (parse_auto_input): Separate inputs of automatic tests from
9385 outputs before storing in %auto_tests.
9386 * math/libm-test.inc (acos_test_data): Update call to
9387 AUTO_TESTS_f_f.
9388 (acos_test): Use ALL_RM_TEST.
9389 (acos_tonearest_test_data): Remove.
9390 (acos_test_tonearest): Likewise.
9391 (acos_towardzero_test_data): Likewise.
9392 (acos_test_towardzero): Likewise.
9393 (acos_downward_test_data): Likewise.
9394 (acos_test_downward): Likewise.
9395 (acos_upward_test_data): Likewise.
9396 (acos_test_upward): Likewise.
9397 (acosh_test_data): Update call to AUTO_TESTS_f_f.
9398 (asin_test_data): Likewise.
9399 (asin_test): Use ALL_RM_TEST.
9400 (asin_tonearest_test_data): Remove.
9401 (asin_test_tonearest): Likewise.
9402 (asin_towardzero_test_data): Likewise.
9403 (asin_test_towardzero): Likewise.
9404 (asin_downward_test_data): Likewise.
9405 (asin_test_downward): Likewise.
9406 (asin_upward_test_data): Likewise.
9407 (asin_test_upward): Likewise.
9408 (asinh_test_data): Update call to AUTO_TESTS_f_f.
9409 (atan_test_data): Likewise.
9410 (atanh_test_data): Likewise.
9411 (atan2_test_data): Update call to AUTO_TESTS_ff_f.
9412 (cabs_test_data): Update call to AUTO_TESTS_c_f.
9413 (carg_test_data): Likewise.
9414 (cbrt_test_data): Update call to AUTO_TESTS_f_f.
9415 (ccos_test_data): Update call to AUTO_TESTS_c_c.
9416 (ccosh_test_data): Likewise.
9417 (cexp_test_data): Likewise.
9418 (clog_test_data): Likewise.
9419 (clog10_test_data): Likewise.
9420 (cos_test_data): Update call to AUTO_TESTS_f_f.
9421 (cos_test): Use ALL_RM_TEST.
9422 (cos_tonearest_test_data): Remove.
9423 (cos_test_tonearest): Likewise.
9424 (cos_towardzero_test_data): Likewise.
9425 (cos_test_towardzero): Likewise.
9426 (cos_downward_test_data): Likewise.
9427 (cos_test_downward): Likewise.
9428 (cos_upward_test_data): Likewise.
9429 (cos_test_upward): Likewise.
9430 (cosh_test_data): Update call to AUTO_TESTS_f_f.
9431 (cosh_test): Use ALL_RM_TEST.
9432 (cosh_tonearest_test_data): Remove.
9433 (cosh_test_tonearest): Likewise.
9434 (cosh_towardzero_test_data): Likewise.
9435 (cosh_test_towardzero): Likewise.
9436 (cosh_downward_test_data): Likewise.
9437 (cosh_test_downward): Likewise.
9438 (cosh_upward_test_data): Likewise.
9439 (cosh_test_upward): Likewise.
9440 (cpow_test_data): Update call to AUTO_TESTS_cc_c.
9441 (csqrt_test_data): Update call to AUTO_TESTS_c_c.
9442 (ctan_test_data): Likewise.
9443 (ctan_test): Use ALL_RM_TEST.
9444 (ctan_tonearest_test_data): Remove.
9445 (ctan_test_tonearest): Likewise.
9446 (ctan_towardzero_test_data): Likewise.
9447 (ctan_test_towardzero): Likewise.
9448 (ctan_downward_test_data): Likewise.
9449 (ctan_test_downward): Likewise.
9450 (ctan_upward_test_data): Likewise.
9451 (ctan_test_upward): Likewise.
9452 (ctanh_test_data): Update call to AUTO_TESTS_c_c.
9453 (ctanh_test): Use ALL_RM_TEST.
9454 (ctanh_tonearest_test_data): Remove.
9455 (ctanh_test_tonearest): Likewise.
9456 (ctanh_towardzero_test_data): Likewise.
9457 (ctanh_test_towardzero): Likewise.
9458 (ctanh_downward_test_data): Likewise.
9459 (ctanh_test_downward): Likewise.
9460 (ctanh_upward_test_data): Likewise.
9461 (ctanh_test_upward): Likewise.
9462 (erf_test_data): Update call to AUTO_TESTS_f_f.
9463 (erfc_test_data): Likewise.
9464 (exp_test_data): Likewise.
9465 (exp_test): Use ALL_RM_TEST.
9466 (exp_tonearest_test_data): Remove.
9467 (exp_test_tonearest): Likewise.
9468 (exp_towardzero_test_data): Likewise.
9469 (exp_test_towardzero): Likewise.
9470 (exp_downward_test_data): Likewise.
9471 (exp_test_downward): Likewise.
9472 (exp_upward_test_data): Likewise.
9473 (exp_test_upward): Likewise.
9474 (exp10_test_data): Update call to AUTO_TESTS_f_f.
9475 (exp10_test): Use ALL_RM_TEST.
9476 (exp10_tonearest_test_data): Remove.
9477 (exp10_test_tonearest): Likewise.
9478 (exp10_towardzero_test_data): Likewise.
9479 (exp10_test_towardzero): Likewise.
9480 (exp10_downward_test_data): Likewise.
9481 (exp10_test_downward): Likewise.
9482 (exp10_upward_test_data): Likewise.
9483 (exp10_test_upward): Likewise.
9484 (exp2_test_data): Update call to AUTO_TESTS_f_f.
9485 (expm1_test_data): Likewise.
9486 (expm1_test): Use ALL_RM_TEST.
9487 (expm1_tonearest_test_data): Remove.
9488 (expm1_test_tonearest): Likewise.
9489 (expm1_towardzero_test_data): Likewise.
9490 (expm1_test_towardzero): Likewise.
9491 (expm1_downward_test_data): Likewise.
9492 (expm1_test_downward): Likewise.
9493 (expm1_upward_test_data): Likewise.
9494 (expm1_test_upward): Likewise.
9495 (fma_test_data): Update call to AUTO_TESTS_fff_f.
9496 (fma_test): Use ALL_RM_TEST.
9497 (fma_towardzero_test_data): Remove.
9498 (fma_test_towardzero): Likewise.
9499 (fma_downward_test_data): Likewise.
9500 (fma_test_downward): Likewise.
9501 (fma_upward_test_data): Likewise.
9502 (fma_test_upward): Likewise.
9503 (hypot_test_data): Update call to AUTO_TESTS_ff_f.
9504 (j0_test_data): Update call to AUTO_TESTS_f_f.
9505 (j1_test_data): Likewise.
9506 (jn_test_data): Update call to AUTO_TESTS_if_f.
9507 (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
9508 (log_test_data): Update call to AUTO_TESTS_f_f.
9509 (log10_test_data): Likewise.
9510 (log1p_test_data): Likewise.
9511 (log2_test_data): Likewise.
9512 (pow_test_data): Update call to AUTO_TESTS_ff_f.
9513 (pow_tonearest_test_data): Likewise.
9514 (sin_test_data): Update call to AUTO_TESTS_f_f.
9515 (sin_test): Use ALL_RM_TEST.
9516 (sin_tonearest_test_data): Remove.
9517 (sin_test_tonearest): Likewise.
9518 (sin_towardzero_test_data): Likewise.
9519 (sin_test_towardzero): Likewise.
9520 (sin_downward_test_data): Likewise.
9521 (sin_test_downward): Likewise.
9522 (sin_upward_test_data): Likewise.
9523 (sin_test_upward): Likewise.
9524 (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
9525 (sinh_test_data): Update call to AUTO_TESTS_f_f.
9526 (sinh_test): Use ALL_RM_TEST.
9527 (sinh_tonearest_test_data): Remove.
9528 (sinh_test_tonearest): Likewise.
9529 (sinh_towardzero_test_data): Likewise.
9530 (sinh_test_towardzero): Likewise.
9531 (sinh_downward_test_data): Likewise.
9532 (sinh_test_downward): Likewise.
9533 (sinh_upward_test_data): Likewise.
9534 (sinh_test_upward): Likewise.
9535 (sqrt_test_data): Update call to AUTO_TESTS_f_f.
9536 (sqrt_test): Use ALL_RM_TEST.
9537 (sqrt_tonearest_test_data): Remove.
9538 (sqrt_test_tonearest): Likewise.
9539 (sqrt_towardzero_test_data): Likewise.
9540 (sqrt_test_towardzero): Likewise.
9541 (sqrt_downward_test_data): Likewise.
9542 (sqrt_test_downward): Likewise.
9543 (sqrt_upward_test_data): Likewise.
9544 (sqrt_test_upward): Likewise.
9545 (tan_test_data): Update call to AUTO_TESTS_f_f.
9546 (tan_test): Use ALL_RM_TEST.
9547 (tan_tonearest_test_data): Remove.
9548 (tan_test_tonearest): Likewise.
9549 (tan_towardzero_test_data): Likewise.
9550 (tan_test_towardzero): Likewise.
9551 (tan_downward_test_data): Likewise.
9552 (tan_test_downward): Likewise.
9553 (tan_upward_test_data): Likewise.
9554 (tan_test_upward): Likewise.
9555 (tanh_test_data): Update call to AUTO_TESTS_f_f.
9556 (tgamma_test_data): Likewise.
9557 (y0_test_data): Likewise.
9558 (y1_test_data): Likewise.
9559 (yn_test_data): Update call to AUTO_TESTS_if_f.
9560 (main): Do not call removed functions.
9561
d71aeee8
JM
95622014-03-19 Joseph Myers <joseph@codesourcery.com>
9563
9564 * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
9565 (ldexp_test_data): Remove.
9566 (ldexp_test): Move to after scalbn_test. Use ALL_RM_TEST with
9567 scalbn_test_data.
9568 (scalb_test): Use ALL_RM_TEST.
9569
baaf1ded
AS
95702014-03-19 Andreas Schwab <schwab@suse.de>
9571
9572 * nscd/nscd.service: Also invalidate netgroup cache on reload.
9573
b1115e91
JM
95742014-03-19 Joseph Myers <joseph@codesourcery.com>
9575
9576 [BZ #16649]
9577 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
9578 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
9579 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
9580 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
9581 (__ASSUME_PREADV): Undefine.
9582 (__ASSUME_PWRITEV): Likewise.
9583
0283ecca
RM
95842014-03-18 Roland McGrath <roland@hack.frob.com>
9585
7d375303
RM
9586 * bits/mman-linux.h: Add comment about non-Linux use.
9587 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
9588 bits/mman-linux.h resting place.
9589
0283ecca
RM
9590 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
9591 * bits/mman-linux.h: ... here.
9592
aebe1003
AZ
95932014-03-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9594
9595 * conform/conformtest.pl: Add standard definition when calling C
9596 preprocessor on data files.
9597 (checknamespace): Remove unused variable.
9598
b29b6bb8
JM
95992014-03-18 Joseph Myers <joseph@codesourcery.com>
9600
9601 * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
9602 minus_oflow, plus_uflow and minus_uflow in expected results.
9603 * math/libm-test.inc (scalbn_test_data): Add more tests of
9604 negative arguments. Use plus_oflow, minus_oflow, plus_uflow and
9605 minus_uflow.
9606 (scalbn_test): Use ALL_RM_TEST.
9607 (scalbln_test_data): Add more tests of negative arguments. Use
9608 plus_oflow, minus_oflow, plus_uflow and minus_uflow.
9609 (scalbln_test): Use ALL_RM_TEST.
9610
c8f8fa15
RM
96112014-03-18 Roland McGrath <roland@hack.frob.com>
9612
9613 * scripts/abilist.awk: Ignore symbols marked with .hidden.
9614
fede7a5f
WN
96152014-03-18 Will Newton <will.newton@linaro.org>
9616
9617 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
9618 inaccurate comment.
9619
80cf0a58
JM
96202014-03-18 Joseph Myers <joseph@codesourcery.com>
9621
9622 * Makerules [!subdir] (check-abi): Exit with error status if a
9623 test failed.
9624
b3620862
JM
96252014-03-17 Joseph Myers <joseph@codesourcery.com>
9626
9627 * math/libm-test.inc (nearbyint_test_data): Include all tests used
9628 for rint. Include results for all rounding modes.
9629 (nearbyint_test): Use ALL_RM_TEST.
9630 (rint_test_data): Include all tests used for nearbyint.
9631
788bba36
WN
96322014-03-17 Will Newton <will.newton@linaro.org>
9633
04ec140a
WN
9634 * nptl/sysdeps/pthread/pthread.h: Revert previous
9635 change.
9636
7579d8d5
WN
9637 * sysdeps/generic/ldsodefs.h: Revert previous
9638 change.
9639
c15cf13a
WN
9640 * libio/genops.c: Revert previous change.
9641 * libio/libioP.h: Likewise.
9642 * stdio-common/vfprintf.c: Likewise.
9643
d0ac1324
WN
9644 * sysdeps/generic/math_private.h: Revert previous
9645 change.
9646
9290130a
WN
9647 * sysdeps/generic/math_private.h: Check whether
9648 HAVE_RM_CTX is defined with #ifdef rather
9649 than #if.
9650
afb466fc
WN
9651 * argp/argp-fmtstream.h: Check whether
9652 __STRICT_ANSI__ is defined with #ifdef rather
9653 than #if.
9654 * argp/argp.h: Likewise.
9655
f7efd7c3
WN
9656 * libio/genops.c: Check whether
9657 _IO_JUMPS_OFFSET is defined with #ifdef rather
9658 than #if.
9659 * libio/libioP.h: Likewise.
9660 * stdio-common/vfprintf.c: Likewise.
9661
53f1bed3
WN
9662 * sysdeps/generic/ldsodefs.h: Check whether
9663 HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
9664 than #if.
9665
788bba36
WN
9666 * nptl/sysdeps/pthread/pthread.h: Check
9667 __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
9668 its value.
9669
fcd89ebe
SP
96702014-03-17 Siddhesh Poyarekar <siddhesh@redhat.com>
9671
ae42bbc5
SP
9672 * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
9673 setting O_APPEND.
9674 * libio/tst-ftell-active-handler.c (do_append_test): Add a
9675 test case.
9676
ea33158c
SP
9677 [BZ #16680]
9678 * libio/fileops.c (_IO_file_open): Seek to end of file but
9679 don't cache the offset.
9680 (get_file_offset): Remove function.
9681 (do_ftell): Use cached offset when available.
9682 * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
9683 don't cache the offset.
9684 * libio/tst-ftell-active-handler.c (do_rewind_test): New test
9685 case.
9686 (do_one_test): Call it.
9687 (do_ftell_test): Fix up expected old offset for a+ mode.
9688 * libio/wfileops.c (do_ftell_wide): Used cached offset when
9689 available.
9690
b1dbb426
SP
9691 * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
9692 up test status with function return status.
9693 (do_write_test): Likewise.
9694 (do_append_test): Likewise.
9695
fcd89ebe
SP
9696 * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
9697 && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
9698 Remove.
9699
9962a2d3
JM
97002014-03-17 Joseph Myers <joseph@codesourcery.com>
9701
9702 * math/gen-libm-test.pl (parse_args): Handle results specified for
9703 each rounding mode separately.
9704 * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
9705 tests and results from lrint_tonearest_test_data,
9706 lrint_towardzero_test_data, lrint_downward_test_data and
9707 lrint_upward_test_data.
9708 (lrint_test): Use ALL_RM_TEST.
9709 (lrint_tonearest_test_data): Remove.
9710 (lrint_test_tonearest): Likewise.
9711 (lrint_towardzero_test_data): Likewise.
9712 (lrint_test_towardzero): Likewise.
9713 (lrint_downward_test_data): Likewise.
9714 (lrint_test_downward): Likewise.
9715 (lrint_upward_test_data): Likewise.
9716 (lrint_test_upward): Likewise.
9717 (llrint_test_data): Merge in per-rounding-mode tests and results
9718 from llrint_tonearest_test_data, llrint_towardzero_test_data,
9719 llrint_downward_test_data and llrint_upward_test_data.
9720 (llrint_test): Use ALL_RM_TEST.
9721 (llrint_tonearest_test_data): Remove.
9722 (llrint_test_tonearest): Likewise.
9723 (llrint_towardzero_test_data): Likewise.
9724 (llrint_test_towardzero): Likewise.
9725 (llrint_downward_test_data): Likewise.
9726 (llrint_test_downward): Likewise.
9727 (llrint_upward_test_data): Likewise.
9728 (llrint_test_upward): Likewise.
9729 (rint_test_data): Merge in per-rounding-mode tests and results
9730 from rint_tonearest_test_data, rint_towardzero_test_data,
9731 rint_downward_test_data and rint_upward_test_data. Add
9732 per-rounding-mode results for tests not in those arrays.
9733 (rint_test): Use ALL_RM_TEST.
9734 (rint_tonearest_test_data): Remove.
9735 (rint_test_tonearest): Likewise.
9736 (rint_towardzero_test_data): Likewise.
9737 (rint_test_towardzero): Likewise.
9738 (rint_downward_test_data): Likewise.
9739 (rint_test_downward): Likewise.
9740 (rint_upward_test_data): Likewise.
9741 (rint_test_upward): Likewise.
9742 (main): Don't call removed functions.
9743
5006148e
RM
97442014-03-14 Roland McGrath <roland@hack.frob.com>
9745
9746 * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
9747 "Compiled on ..." crapola. It is anti-useful.
9748
d6fe5e58
JM
97492014-03-14 Joseph Myers <joseph@codesourcery.com>
9750
9751 * scripts/evaluate-test.sh: Handle fourth argument to determine
9752 whether test run should stop on failure.
9753 * Makeconfig (stop-on-test-failure): New variable.
9754 (evaluate-test): Pass fourth argument to evaluate-test.sh based on
9755 $(stop-on-test-failure).
9756 * Makefile (tests): Give a summary of results from testing and
9757 exit with failure status if they include an ERROR or FAIL.
9758 (xtests): Likewise.
9759 * manual/install.texi (Configuring and compiling): Mention
9760 stop-on-test-failure=y.
9761 * INSTALL: Regenerated.
9762
498a2233
RM
97632014-03-14 Roland McGrath <roland@hack.frob.com>
9764
22dbc19d
RM
9765 * scripts/versionlist.awk: New file.
9766 * Makerules [$(build-shared) = yes]
9767 (postclean-generated): Add Versions.def, not Versions.def.v and
9768 Versions.def.v.i.
9769 ($(common-objpfx)Versions.def.v.i): Target removed.
9770 ($(common-objpfx)Versions.def): New target.
9771 ($(common-objpfx)Versions.all): Depend on that rather that
9772 $(common-objpfx)Versions.def.v.
9773 * Versions.def: File removed.
9774
498a2233
RM
9775 * Makeconfig (+gccwarn): Add -Wundef.
9776 * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
9777 a dl-sysdep.h breaking its contract.
9778 [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
9779 * include/stackinfo.h: New file.
9780 * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
9781 * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
9782 * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
9783 * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
9784 * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
9785 * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
9786 * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
9787 * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
9788 * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
9789 * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
9790 * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
9791 * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
9792 * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
9793 * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
9794 * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
9795
c7de5025
AZ
97962014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9797
9798 [BZ #16707]
9799 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
9800 implementation.
9801 * math/libm-test.inc (round_test_data): Add more tests.
9802
98fb27a3
AZ
9803 [BZ #16706]
9804 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
9805 implementation.
9806 * math/libm-test.inc (nearbyint_test_data): Add more tests.
9807
374f7f61
AZ
9808 [BZ #16701]
9809 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
9810 implementation.
9811 * math/libm-test.inc (ceil_test_data): Add more tests.
9812
4655c291
AZ
9813 * math/libm-test.inc (trunc_test_data): Add more tests related to
9814 BZ#16414.
9815
d7329d4b
RM
98162014-03-14 Roland McGrath <roland@hack.frob.com>
9817
9818 * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
9819 with #if rather than #ifdef.
9820 * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
9821
aa4de9ce
L
98222014-03-14 H.J. Lu <hongjiu.lu@intel.com>
9823
9824 * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
9825 first. Disable AVX-512 GCC support if assembler doesn't support
9826 it.
9827 * sysdeps/x86_64/configure: Regenerated.
9828
2e03fae7
CD
98292014-03-13 Carlos O'Donell <carlos@redhat.com>
9830
9831 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
9832 [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
9833 (__old_pthread_attr_setstack): Likewise.
9834 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
9835 [!_STACK_GROWS_DOWN]: Likewise.
9836
43ca83ec
MF
98372014-03-13 Mike Frysinger <vapier@gentoo.org>
9838
9839 * config.make.in (have-bash2): Delete.
9840 * configure.ac (libc_cv_have_bash2): Delete.
9841 * configure: Regenerate.
9842 * elf/Makefile (common-ldd-rewrite): Rename to ...
9843 (ldd-rewrite): ... this. Move bash-ldd-rewrite content to end.
9844 (sh-ldd-rewrite): Delete.
9845 (bash-ldd-rewrite): Delete.
9846 (have-bash2): Delete checks.
57f41c40
AS
9847 [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
9848 ldd-rewrite.
c66e48b4
MF
9849
9850 * config.make.in (have-ksh): Delete.
9851 (KSH): Delete.
9852 * configure.ac (libc_cv_have_ksh): Delete.
9853 * configure: Regenerate.
9854
b93834ef
MF
9855 * elf/Makefile: Delete $(have-ksh) check.
9856 ($(objpfx)sotruss): Change KSH to BASH.
9857 * elf/sotruss.ksh: Rename to ...
9858 * elf/sotruss.sh: ... this. Change @KSH@ to @BASH@. Change
9859 function style to match POSIX. Drop ksh vim mode setting.
9860
f3a4632a
MF
9861 * manual/time.texi (Specifying the Time Zone with TZ): Change
9862 Tuesday to Thursday.
9863
5896c8bd
MF
9864 * debug/tst-longjmp_chk2.c: Update header comment.
9865 (stackoverflow_handler): Add comment. Call assert on pass value.
9866
2d63a517
IZ
98672014-03-13 Igor Zamyatin <igor.zamyatin@intel.com>
9868
7e54fd04 9869 [BZ #16194]
2d63a517
IZ
9870 * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
9871 (HAVE_AVX512_ASM_SUPPORT): Likewise.
9872 * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
9873 (La_x86_64_vector): Add zmm.
9874 * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
9875 (modules-names): Add tst-auditmod10a and tst-auditmod10b.
9876 ($(objpfx)tst-audit10): New target.
9877 ($(objpfx)tst-audit10.out): Likewise.
9878 (tst-audit10-ENV): New.
9879 (AVX512-CFLAGS): Likewise.
9880 (CFLAGS-tst-audit10.c): Likewise.
9881 (CFLAGS-tst-auditmod10a.c): Likewise.
9882 (CFLAGS-tst-auditmod10b.c): Likewise.
9883 * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
9884 HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
9885 * sysdeps/x86_64/configure: Regenerated.
9886 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
9887 AVX-512 zmm register support.
9888 (_dl_x86_64_save_sse): Likewise.
9889 (_dl_x86_64_restore_sse): Likewise.
9890 * sysdeps/x86_64/dl-trampoline.h: Updated to support different
9891 size vector registers.
9892 * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
9893 (ZMM_SIZE): Likewise.
9894 * sysdeps/x86_64/tst-audit10.c: New file.
9895 * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
9896 * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
9897
44c4e5d5
RM
98982014-03-13 Roland McGrath <roland@hack.frob.com>
9899
9900 * configure.ac (HAVE_EHDR_START): New check.
9901 * configure: Regenerated.
9902 * config.h.in (HAVE_EHDR_START): New #undef.
9903 * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
9904 assuming the lowest-addressed segment maps the start of the file.
9905
acd6e389
JM
99062014-03-13 Joseph Myers <joseph@codesourcery.com>
9907
9908 * INSTALL: Regenerated.
9909
6f918f36
WN
99102014-03-13 Will Newton <will.newton@linaro.org>
9911
9912 * manual/setjmp.texi (System V contexts): Improve
9913 clarity and grammar of documentation.
9914
798212a0
PP
99152014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com>
9916
9917 [BZ #16381]
798212a0 9918 * elf/Makefile (tests): Add tst-pie2.
2e03fae7 9919 (tests-pie): Add tst-pie2.
798212a0
PP
9920 * elf/tst-pie2.c: New file.
9921 * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
9922 for ET_EXEC.
9923 * elf/rtld.c (map_doit): Load executable as lt_executable.
9924 (dl_main): Likewise.
9925
abe6d90c
JM
99262014-03-12 Joseph Myers <joseph@codesourcery.com>
9927
9928 [BZ #16642]
9929 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
9930 (__ASSUME_PSELECT): Undefine.
9931
dd3946c6
AZ
99322014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9933
9934 [BZ #16689]
9935 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
9936 (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
9937 static build.
9938 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
9939 selector for static builds.
9940
c44496df
SP
99412014-03-12 Siddhesh Poyarekar <siddhesh@redhat.com>
9942
9943 [BZ #16695]
9944 * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
9945 key in the buffer.
9946
27c7220a
AZ
99472014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9948
57f41c40
AS
9949 * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
9950 IFUNC selector for static builds.
27c7220a 9951
600fa361
JM
99522014-03-11 Joseph Myers <joseph@codesourcery.com>
9953
76c96cf7
JM
9954 * sysdeps/mips/math_private.h [__mips_hard_float]
9955 (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
9956 libc_feresetround_mips_ctx.
9957 [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
9958 [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
9959 [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
9960
600fa361
JM
9961 [BZ #16677]
9962 * math/s_nextafter.c (__nextafter): Do not return value from
9963 overflowing computation.
9964 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
9965 * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
9966 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
9967 Likewise.
9968 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
9969 Likewise.
9970 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
9971 * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
9972
d7706c32
RM
99732014-03-11 Roland McGrath <roland@hack.frob.com>
9974
9975 * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
9976 * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
9977 Move sfi_sp use from the load-multiple (that no longer sets sp) to
9978 the new mov targetting sp.
9979
4facea47
AZ
99802014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9981
9982 [BZ #16683]
9983 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
9984 Define it for static builds as well.
9985 (NO_BZERO_IMPL): Likewise.
9986
e65caf1f
VR
99872014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
9988
9989 * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
9990 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
9991 multiarch strspn for PPC64.
9992 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
9993 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
9994 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
9995 (__libc_ifunc_impl_list): Likewise.
9996 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
9997 multiarch optimizations
9998 * string/strspn.c (strspn): Using macro to redefine symbol name.
9999
ba9cc071
AZ
100002014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
10001 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10002
10003 * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
10004 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
10005 multiarch strncat for PPC64.
10006 * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
10007 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
10008 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
10009 (__libc_ifunc_impl_list): Likewise.
10010 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
10011 multiarch optimizations
10012
8b4ff974
SP
100132014-03-10 Siddhesh Poyarekar <siddhesh@redhat.com>
10014
10015 [BZ #16639]
10016 * nscd/nscd.service: Make service type forking.
10017
54b46a4b
AZ
100182014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10019
10020 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
10021 sign in non default rounding modes.
10022 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
10023
e9996ef7
JM
100242014-03-08 Joseph Myers <joseph@codesourcery.com>
10025
10026 * math/libm-test.inc (ALL_RM_TEST): New macro.
10027 (ceil_test): Use ALL_RM_TEST.
10028 (cimag_test): Likewise.
10029 (conj_test): Likewise.
10030 (copysign_test): Likewise.
10031 (cproj_test): Likewise.
10032 (creal_test): Likewise.
10033 (fabs_test): Likewise.
10034 (floor_test): Likewise.
10035 (fmax_test): Likewise.
10036 (fmin_test): Likewise.
10037 (fmod_test): Likewise.
10038 (fpclassify_test): Likewise.
10039 (frexp_test): Likewise.
10040 (ilogb_test): Likewise.
10041 (isfinite_test): Likewise.
10042 (finite_test): Likewise.
10043 (isgreater_test): Likewise.
10044 (isgreaterequal_test): Likewise.
10045 (isinf_test): Likewise.
10046 (isless_test): Likewise.
10047 (islessequal_test): Likewise.
10048 (islessgreater_test): Likewise.
10049 (isnan_test): Likewise.
10050 (isnormal_test): Likewise.
10051 (issignaling_test): Likewise.
10052 (isunordered_test): Likewise.
10053 (logb_test): Likewise.
10054 (logb_downward_test_data): Remove.
10055 (logb_test_downward): Likewise.
10056 (lround_test): Use ALL_RM_TEST.
10057 (llround_test): Likewise.
10058 (modf_test): Likewise.
10059 (nexttoward_test): Likewise.
10060 (remainder_test): Likewise.
10061 (drem_test): Likewise.
10062 (remainder_tonearest_test_data): Likewise.
10063 (remainder_test_tonearest): Likewise.
10064 (drem_test_tonearest): Likewise.
10065 (remainder_towardzero_test_data): Likewise.
10066 (remainder_test_towardzero): Likewise.
10067 (drem_test_towardzero): Likewise.
10068 (remainder_downward_test_data): Likewise.
10069 (remainder_test_downward): Likewise.
10070 (drem_test_downward): Likewise.
10071 (remainder_upward_test_data): Likewise.
10072 (remainder_test_upward): Likewise.
10073 (drem_test_upward): Likewise.
10074 (remquo_test): Use ALL_RM_TEST. Remove comment about x.
10075 (round_test): Use ALL_RM_TEST.
10076 (signbit_test): Likewise.
10077 (trunc_test): Likewise.
10078 (significand_test): Likewise.
10079 (main): Don't call removed functions.
10080
bc61d27c
JM
100812014-03-07 Joseph Myers <joseph@codesourcery.com>
10082
5c780849
JM
10083 [BZ #16674]
10084 * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
10085 || __USE_XOPEN2K8].
10086 (ILL_ILLOPN): Likewise.
10087 (ILL_ILLADR): Likewise.
10088 (ILL_ILLTRP): Likewise.
10089 (ILL_PRVOPC): Likewise.
10090 (ILL_PRVREG): Likewise.
10091 (ILL_COPROC): Likewise.
10092 (ILL_BADSTK): Likewise.
10093 (FPE_INTDIV): Likewise.
10094 (FPE_INTOVF): Likewise.
10095 (FPE_FLTDIV): Likewise.
10096 (FPE_FLTOVF): Likewise.
10097 (FPE_FLTUND): Likewise.
10098 (FPE_FLTRES): Likewise.
10099 (FPE_FLTINV): Likewise.
10100 (FPE_FLTSUB): Likewise.
10101 (SEGV_MAPERR): Likewise.
10102 (SEGV_ACCERR): Likewise.
10103 (BUS_ADRALN): Likewise.
10104 (BUS_ADRERR): Likewise.
10105 (BUS_OBJERR): Likewise.
10106 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
10107 (TRAP_TRACE): Likewise.
10108 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
10109 __USE_XOPEN2K8].
10110 (CLD_KILLED): Likewise.
10111 (CLD_DUMPED): Likewise.
10112 (CLD_TRAPPED): Likewise.
10113 (CLD_STOPPED): Likewise.
10114 (CLD_CONTINUED): Likewise.
10115 (POLL_IN): Likewise.
10116 (POLL_OUT): Likewise.
10117 (POLL_MSG): Likewise.
10118 (POLL_ERR): Likewise.
10119 (POLL_PRI): Likewise.
10120 (POLL_HUP): Likewise.
10121 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
10122 Likewise.
10123 (ILL_ILLOPN): Likewise.
10124 (ILL_ILLADR): Likewise.
10125 (ILL_ILLTRP): Likewise.
10126 (ILL_PRVOPC): Likewise.
10127 (ILL_PRVREG): Likewise.
10128 (ILL_COPROC): Likewise.
10129 (ILL_BADSTK): Likewise.
10130 (FPE_INTDIV): Likewise.
10131 (FPE_INTOVF): Likewise.
10132 (FPE_FLTDIV): Likewise.
10133 (FPE_FLTOVF): Likewise.
10134 (FPE_FLTUND): Likewise.
10135 (FPE_FLTRES): Likewise.
10136 (FPE_FLTINV): Likewise.
10137 (FPE_FLTSUB): Likewise.
10138 (SEGV_MAPERR): Likewise.
10139 (SEGV_ACCERR): Likewise.
10140 (BUS_ADRALN): Likewise.
10141 (BUS_ADRERR): Likewise.
10142 (BUS_OBJERR): Likewise.
10143 (BUS_MCEERR_AR): Likewise.
10144 (BUS_MCEERR_AO): Likewise.
10145 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
10146 (TRAP_TRACE): Likewise.
10147 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
10148 __USE_XOPEN2K8].
10149 (CLD_KILLED): Likewise.
10150 (CLD_DUMPED): Likewise.
10151 (CLD_TRAPPED): Likewise.
10152 (CLD_STOPPED): Likewise.
10153 (CLD_CONTINUED): Likewise.
10154 (POLL_IN): Likewise.
10155 (POLL_OUT): Likewise.
10156 (POLL_MSG): Likewise.
10157 (POLL_ERR): Likewise.
10158 (POLL_PRI): Likewise.
10159 (POLL_HUP): Likewise.
10160 * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
10161 (ILL_ILLOPN): Likewise.
10162 (ILL_ILLADR): Likewise.
10163 (ILL_ILLTRP): Likewise.
10164 (ILL_PRVOPC): Likewise.
10165 (ILL_PRVREG): Likewise.
10166 (ILL_COPROC): Likewise.
10167 (ILL_BADSTK): Likewise.
10168 (FPE_INTDIV): Likewise.
10169 (FPE_INTOVF): Likewise.
10170 (FPE_FLTDIV): Likewise.
10171 (FPE_FLTOVF): Likewise.
10172 (FPE_FLTUND): Likewise.
10173 (FPE_FLTRES): Likewise.
10174 (FPE_FLTINV): Likewise.
10175 (FPE_FLTSUB): Likewise.
10176 (SEGV_MAPERR): Likewise.
10177 (SEGV_ACCERR): Likewise.
10178 (BUS_ADRALN): Likewise.
10179 (BUS_ADRERR): Likewise.
10180 (BUS_OBJERR): Likewise.
10181 (BUS_MCEERR_AR): Likewise.
10182 (BUS_MCEERR_AO): Likewise.
10183 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
10184 (TRAP_TRACE): Likewise.
10185 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
10186 __USE_XOPEN2K8].
10187 (CLD_KILLED): Likewise.
10188 (CLD_DUMPED): Likewise.
10189 (CLD_TRAPPED): Likewise.
10190 (CLD_STOPPED): Likewise.
10191 (CLD_CONTINUED): Likewise.
10192 (POLL_IN): Likewise.
10193 (POLL_OUT): Likewise.
10194 (POLL_MSG): Likewise.
10195 (POLL_ERR): Likewise.
10196 (POLL_PRI): Likewise.
10197 (POLL_HUP): Likewise.
10198 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
10199 Likewise.
10200 (ILL_ILLOPN): Likewise.
10201 (ILL_ILLADR): Likewise.
10202 (ILL_ILLTRP): Likewise.
10203 (ILL_PRVOPC): Likewise.
10204 (ILL_PRVREG): Likewise.
10205 (ILL_COPROC): Likewise.
10206 (ILL_BADSTK): Likewise.
10207 (ILL_BADIADDR): Likewise.
10208 (ILL_BREAK): Likewise.
10209 (FPE_INTDIV): Likewise.
10210 (FPE_INTOVF): Likewise.
10211 (FPE_FLTDIV): Likewise.
10212 (FPE_FLTOVF): Likewise.
10213 (FPE_FLTUND): Likewise.
10214 (FPE_FLTRES): Likewise.
10215 (FPE_FLTINV): Likewise.
10216 (FPE_FLTSUB): Likewise.
10217 (FPE_DECOVF): Likewise.
10218 (FPE_DECDIV): Likewise.
10219 (FPE_DECERR): Likewise.
10220 (FPE_INVASC): Likewise.
10221 (FPE_INVDEC): Likewise.
10222 (SEGV_MAPERR): Likewise.
10223 (SEGV_ACCERR): Likewise.
10224 (SEGV_PSTKOVF): Likewise.
10225 (BUS_ADRALN): Likewise.
10226 (BUS_ADRERR): Likewise.
10227 (BUS_OBJERR): Likewise.
10228 (BUS_MCEERR_AR): Likewise.
10229 (BUS_MCEERR_AO): Likewise.
10230 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
10231 (TRAP_TRACE): Likewise.
10232 (TRAP_BRANCH): Likewise.
10233 (TRAP_HWBKPT): Likewise.
10234 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
10235 __USE_XOPEN2K8].
10236 (CLD_KILLED): Likewise.
10237 (CLD_DUMPED): Likewise.
10238 (CLD_TRAPPED): Likewise.
10239 (CLD_STOPPED): Likewise.
10240 (CLD_CONTINUED): Likewise.
10241 (POLL_IN): Likewise.
10242 (POLL_OUT): Likewise.
10243 (POLL_MSG): Likewise.
10244 (POLL_ERR): Likewise.
10245 (POLL_PRI): Likewise.
10246 (POLL_HUP): Likewise.
10247 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
10248 (ILL_ILLOPN): Likewise.
10249 (ILL_ILLADR): Likewise.
10250 (ILL_ILLTRP): Likewise.
10251 (ILL_PRVOPC): Likewise.
10252 (ILL_PRVREG): Likewise.
10253 (ILL_COPROC): Likewise.
10254 (ILL_BADSTK): Likewise.
10255 (FPE_INTDIV): Likewise.
10256 (FPE_INTOVF): Likewise.
10257 (FPE_FLTDIV): Likewise.
10258 (FPE_FLTOVF): Likewise.
10259 (FPE_FLTUND): Likewise.
10260 (FPE_FLTRES): Likewise.
10261 (FPE_FLTINV): Likewise.
10262 (FPE_FLTSUB): Likewise.
10263 (SEGV_MAPERR): Likewise.
10264 (SEGV_ACCERR): Likewise.
10265 (BUS_ADRALN): Likewise.
10266 (BUS_ADRERR): Likewise.
10267 (BUS_OBJERR): Likewise.
10268 (BUS_MCEERR_AR): Likewise.
10269 (BUS_MCEERR_AO): Likewise.
10270 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
10271 (TRAP_TRACE): Likewise.
10272 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
10273 __USE_XOPEN2K8].
10274 (CLD_KILLED): Likewise.
10275 (CLD_DUMPED): Likewise.
10276 (CLD_TRAPPED): Likewise.
10277 (CLD_STOPPED): Likewise.
10278 (CLD_CONTINUED): Likewise.
10279 (POLL_IN): Likewise.
10280 (POLL_OUT): Likewise.
10281 (POLL_MSG): Likewise.
10282 (POLL_ERR): Likewise.
10283 (POLL_PRI): Likewise.
10284 (POLL_HUP): Likewise.
10285 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
10286 (ILL_ILLOPN): Likewise.
10287 (ILL_ILLADR): Likewise.
10288 (ILL_ILLTRP): Likewise.
10289 (ILL_PRVOPC): Likewise.
10290 (ILL_PRVREG): Likewise.
10291 (ILL_COPROC): Likewise.
10292 (ILL_BADSTK): Likewise.
10293 (FPE_INTDIV): Likewise.
10294 (FPE_INTOVF): Likewise.
10295 (FPE_FLTDIV): Likewise.
10296 (FPE_FLTOVF): Likewise.
10297 (FPE_FLTUND): Likewise.
10298 (FPE_FLTRES): Likewise.
10299 (FPE_FLTINV): Likewise.
10300 (FPE_FLTSUB): Likewise.
10301 (SEGV_MAPERR): Likewise.
10302 (SEGV_ACCERR): Likewise.
10303 (BUS_ADRALN): Likewise.
10304 (BUS_ADRERR): Likewise.
10305 (BUS_OBJERR): Likewise.
10306 (BUS_MCEERR_AR): Likewise.
10307 (BUS_MCEERR_AO): Likewise.
10308 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
10309 (TRAP_TRACE): Likewise.
10310 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
10311 __USE_XOPEN2K8].
10312 (CLD_KILLED): Likewise.
10313 (CLD_DUMPED): Likewise.
10314 (CLD_TRAPPED): Likewise.
10315 (CLD_STOPPED): Likewise.
10316 (CLD_CONTINUED): Likewise.
10317 (POLL_IN): Likewise.
10318 (POLL_OUT): Likewise.
10319 (POLL_MSG): Likewise.
10320 (POLL_ERR): Likewise.
10321 (POLL_PRI): Likewise.
10322 (POLL_HUP): Likewise.
10323 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
10324 (ILL_ILLOPN): Likewise.
10325 (ILL_ILLADR): Likewise.
10326 (ILL_ILLTRP): Likewise.
10327 (ILL_PRVOPC): Likewise.
10328 (ILL_PRVREG): Likewise.
10329 (ILL_COPROC): Likewise.
10330 (ILL_BADSTK): Likewise.
10331 (FPE_INTDIV): Likewise.
10332 (FPE_INTOVF): Likewise.
10333 (FPE_FLTDIV): Likewise.
10334 (FPE_FLTOVF): Likewise.
10335 (FPE_FLTUND): Likewise.
10336 (FPE_FLTRES): Likewise.
10337 (FPE_FLTINV): Likewise.
10338 (FPE_FLTSUB): Likewise.
10339 (SEGV_MAPERR): Likewise.
10340 (SEGV_ACCERR): Likewise.
10341 (BUS_ADRALN): Likewise.
10342 (BUS_ADRERR): Likewise.
10343 (BUS_OBJERR): Likewise.
10344 (BUS_MCEERR_AR): Likewise.
10345 (BUS_MCEERR_AO): Likewise.
10346 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
10347 (TRAP_TRACE): Likewise.
10348 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
10349 __USE_XOPEN2K8].
10350 (CLD_KILLED): Likewise.
10351 (CLD_DUMPED): Likewise.
10352 (CLD_TRAPPED): Likewise.
10353 (CLD_STOPPED): Likewise.
10354 (CLD_CONTINUED): Likewise.
10355 (POLL_IN): Likewise.
10356 (POLL_OUT): Likewise.
10357 (POLL_MSG): Likewise.
10358 (POLL_ERR): Likewise.
10359 (POLL_PRI): Likewise.
10360 (POLL_HUP): Likewise.
10361 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
10362 (ILL_ILLOPN): Likewise.
10363 (ILL_ILLADR): Likewise.
10364 (ILL_ILLTRP): Likewise.
10365 (ILL_PRVOPC): Likewise.
10366 (ILL_PRVREG): Likewise.
10367 (ILL_COPROC): Likewise.
10368 (ILL_BADSTK): Likewise.
10369 (ILL_DBLFLT): Likewise.
10370 (ILL_HARDWALL): Likewise.
10371 (FPE_INTDIV): Likewise.
10372 (FPE_INTOVF): Likewise.
10373 (FPE_FLTDIV): Likewise.
10374 (FPE_FLTOVF): Likewise.
10375 (FPE_FLTUND): Likewise.
10376 (FPE_FLTRES): Likewise.
10377 (FPE_FLTINV): Likewise.
10378 (FPE_FLTSUB): Likewise.
10379 (SEGV_MAPERR): Likewise.
10380 (SEGV_ACCERR): Likewise.
10381 (BUS_ADRALN): Likewise.
10382 (BUS_ADRERR): Likewise.
10383 (BUS_OBJERR): Likewise.
10384 (BUS_MCEERR_AR): Likewise.
10385 (BUS_MCEERR_AO): Likewise.
10386 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
10387 (TRAP_TRACE): Likewise.
10388 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
10389 __USE_XOPEN2K8].
10390 (CLD_KILLED): Likewise.
10391 (CLD_DUMPED): Likewise.
10392 (CLD_TRAPPED): Likewise.
10393 (CLD_STOPPED): Likewise.
10394 (CLD_CONTINUED): Likewise.
10395 (POLL_IN): Likewise.
10396 (POLL_OUT): Likewise.
10397 (POLL_MSG): Likewise.
10398 (POLL_ERR): Likewise.
10399 (POLL_PRI): Likewise.
10400 (POLL_HUP): Likewise.
10401 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
10402 (ILL_ILLOPN): Likewise.
10403 (ILL_ILLADR): Likewise.
10404 (ILL_ILLTRP): Likewise.
10405 (ILL_PRVOPC): Likewise.
10406 (ILL_PRVREG): Likewise.
10407 (ILL_COPROC): Likewise.
10408 (ILL_BADSTK): Likewise.
10409 (FPE_INTDIV): Likewise.
10410 (FPE_INTOVF): Likewise.
10411 (FPE_FLTDIV): Likewise.
10412 (FPE_FLTOVF): Likewise.
10413 (FPE_FLTUND): Likewise.
10414 (FPE_FLTRES): Likewise.
10415 (FPE_FLTINV): Likewise.
10416 (FPE_FLTSUB): Likewise.
10417 (SEGV_MAPERR): Likewise.
10418 (SEGV_ACCERR): Likewise.
10419 (BUS_ADRALN): Likewise.
10420 (BUS_ADRERR): Likewise.
10421 (BUS_OBJERR): Likewise.
10422 (BUS_MCEERR_AR): Likewise.
10423 (BUS_MCEERR_AO): Likewise.
10424 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
10425 (TRAP_TRACE): Likewise.
10426 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
10427 __USE_XOPEN2K8].
10428 (CLD_KILLED): Likewise.
10429 (CLD_DUMPED): Likewise.
10430 (CLD_TRAPPED): Likewise.
10431 (CLD_STOPPED): Likewise.
10432 (CLD_CONTINUED): Likewise.
10433 (POLL_IN): Likewise.
10434 (POLL_OUT): Likewise.
10435 (POLL_MSG): Likewise.
10436 (POLL_ERR): Likewise.
10437 (POLL_PRI): Likewise.
10438 (POLL_HUP): Likewise.
10439 * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
10440 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
10441
bc61d27c
JM
10442 [BZ #16670]
10443 * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
10444 before #include of <time.h>.
10445 [!__USE_XOPEN2K] (__need_timespec): Likewise.
10446 * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
10447 (test-xfail-UNIX98/sched.h/conform): Likewise.
10448
302949e2
MS
104492014-03-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
10450
10451 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
10452 error absence of trapping exception support.
10453 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
10454
a00f522a
JM
104552014-03-07 Joseph Myers <joseph@codesourcery.com>
10456
6f99f280
JM
10457 * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
10458 ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
10459 * timezone/Makefile (testdata): Move definition above include of
10460 Rules.
10461 (test-zones): New variable.
10462 (tests-special): Add zone files.
10463 (build-testdata): Use $(evaluate-test).
10464
0b20a9e8
JM
10465 * elf/Makefile (tests-special): Rename tests to end with .out.
10466 ($(objpfx)noload-mem): Likewise.
10467 ($(objpfx)tst-leaks1-mem): Likewise.
10468 ($(objpfx)tst-leaks1-static-mem.out): Likewise.
10469 * iconv/Makefile (xtests-special): Change test-iconvconfig to
10470 $(objpfx)test-iconvconfig.out.
10471 (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use
10472 set -e inside subshell and redirect output to file.
10473 * iconvdata/Makefile (generated): Rename tests to end with .out.
10474 Correct type.
10475 (tests-special): Rename tests to end with .out.
10476 ($(objpfx)mtrace-tst-loading): Likewise.
10477 * intl/Makefile (generated): Likewise.
10478 (tests-special): Likewise.
10479 ($(objpfx)mtrace-tst-gettext): Likewise.
10480 * misc/Makefile (generated): Likewise.
10481 (tests-special): Likewise.
10482 ($(objpfx)tst-error1-mem): Likewise.
10483 * nptl/Makefile (tests-special): Likewise.
10484 ($(objpfx)tst-stack3-mem): Likewise.
10485 (generated): Likewise.
10486 * posix/Makefile (generated): Likewise.
10487 (tests-special): Likewise.
10488 (xtests-special): Likewise.
10489 ($(objpfx)tst-fnmatch-mem): Likewise.
10490 ($(objpfx)bug-regex2-mem): Likewise.
10491 ($(objpfx)bug-regex14-mem): Likewise.
10492 ($(objpfx)bug-regex21-mem): Likewise.
10493 ($(objpfx)bug-regex31-mem): Likewise.
10494 ($(objpfx)tst-vfork3-mem): Likewise.
10495 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
10496 ($(objpfx)tst-pcre-mem): Likewise.
10497 ($(objpfx)tst-boost-mem): Likewise.
10498 ($(objpfx)bug-ga2-mem): Likewise.
10499 ($(objpfx)bug-glob2-mem): Likewise.
10500 * resolv/Makefile (generate): Likewise.
10501 (tests-special): Likewise.
10502 (xtests-special): Likewise.
10503 (generated): Likewise.
10504 ($(objpfx)mtrace-tst-leaks): Likewise.
10505 ($(objpfx)mtrace-tst-leaks2): Likewise.
10506
265d52ab
JM
10507 * scripts/merge-test-results.sh: New file.
10508 * Makefile (tests-special-notdir): New variable.
10509 (tests): Run merge-test-results.sh.
10510 (xtests): Likewise.
10511 * Rules (tests-special-notdir): New variable.
10512 (xtests-special-notdir): Likewise.
10513 (tests): Run merge-test-results.sh
10514 (xtests): Likewise.
10515
54ee292d
JM
10516 * Makeconfig (test-xfail-name): New variable.
10517 (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
10518 compute variable name for expected failures.
10519 * conform/Makefile (conformtest-headers-data): New variable.
10520 (conformtest-standards): Likewise.
10521 (conformtest-headers-ISO): Likewise.
10522 (conformtest-headers-ISO99): Likewise.
10523 (conformtest-headers-ISO11): Likewise.
10524 (conformtest-headers-POSIX): Likewise.
10525 (conformtest-headers-XPG3): Likewise.
10526 (conformtest-headers-XPG4): Likewise.
10527 (conformtest-headers-UNIX98): Likewise.
10528 (conformtest-headers-XOPEN2K): Likewise.
10529 (conformtest-headers-POSIX2008): Likewise.
10530 (conformtest-headers-XOPEN2K8): Likewise.
10531 (conformtest-header-list-base): Likewise.
10532 (conformtest-header-list-tests): Likewise.
10533 (conformtest-header-base): Likewise.
10534 (conformtest-header-tests): Likewise.
10535 (tests-special): Add $(conformtest-header-list-tests). If
10536 [$(fast-check) && !$(cross-compiling)], add
10537 $(conformtest-header-tests) instead of
10538 $(objpfx)run-conformtest.out.
10539 (generated): Add $(conformtest-header-list-base). If
10540 [$(fast-check) && !$(cross-compiling)], add
10541 $(conformtest-header-base). Remove previous setting.
10542 ($(conformtest-header-list-tests)): New target.
10543 (test-xfail-run-conformtest): Remove variable.
10544 ($(objpfx)run-conformtest.out): Remove target.
10545 (test-xfail-ISO11/complex.h/conform): New variable.
10546 (test-xfail-ISO11/stdalign.h/conform): Likewise.
10547 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
10548 (test-xfail-XPG3/varargs.h/conform): Likewise.
10549 (test-xfail-XPG4/varargs.h/conform): Likewise.
10550 (test-xfail-UNIX98/varargs.h/conform): Likewise.
10551 (test-xfail-XPG4/ndbm.h/conform): Likewise.
10552 (test-xfail-UNIX98/ndbm.h/conform): Likewise.
10553 (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
10554 (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
10555 (test-xfail-XPG3/fcntl.h/conform): Likewise.
10556 (test-xfail-XPG3/ftw.h/conform): Likewise.
10557 (test-xfail-XPG3/grp.h/conform): Likewise.
10558 (test-xfail-XPG3/langinfo.h/conform): Likewise.
10559 (test-xfail-XPG3/limits.h/conform): Likewise.
10560 (test-xfail-XPG3/pwd.h/conform): Likewise.
10561 (test-xfail-XPG3/search.h/conform): Likewise.
10562 (test-xfail-XPG3/signal.h/conform): Likewise.
10563 (test-xfail-XPG3/stdio.h/conform): Likewise.
10564 (test-xfail-XPG3/stdlib.h/conform): Likewise.
10565 (test-xfail-XPG3/string.h/conform): Likewise.
10566 (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
10567 (test-xfail-XPG3/sys/msg.h/conform): Likewise.
10568 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
10569 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
10570 (test-xfail-XPG3/sys/stat.h/conform): Likewise.
10571 (test-xfail-XPG3/sys/types.h/conform): Likewise.
10572 (test-xfail-XPG3/sys/wait.h/conform): Likewise.
10573 (test-xfail-XPG3/termios.h/conform): Likewise.
10574 (test-xfail-XPG3/time.h/conform): Likewise.
10575 (test-xfail-XPG3/unistd.h/conform): Likewise.
10576 (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
10577 (test-xfail-XPG4/fcntl.h/conform): Likewise.
10578 (test-xfail-XPG4/langinfo.h/conform): Likewise.
10579 (test-xfail-XPG4/netdb.h/conform): Likewise.
10580 (test-xfail-XPG4/netinet/in.h/conform): Likewise.
10581 (test-xfail-XPG4/signal.h/conform): Likewise.
10582 (test-xfail-XPG4/stdio.h/conform): Likewise.
10583 (test-xfail-XPG4/stdlib.h/conform): Likewise.
10584 (test-xfail-XPG4/stropts.h/conform): Likewise.
10585 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
10586 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
10587 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
10588 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
10589 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
10590 (test-xfail-XPG4/sys/stat.h/conform): Likewise.
10591 (test-xfail-XPG4/sys/time.h/conform): Likewise.
10592 (test-xfail-XPG4/sys/types.h/conform): Likewise.
10593 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
10594 (test-xfail-XPG4/termios.h/conform): Likewise.
10595 (test-xfail-XPG4/ucontext.h/conform): Likewise.
10596 (test-xfail-XPG4/unistd.h/conform): Likewise.
10597 (test-xfail-XPG4/utmpx.h/conform): Likewise.
10598 (test-xfail-POSIX/sched.h/conform): Likewise.
10599 (test-xfail-POSIX/signal.h/conform): Likewise.
10600 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
10601 (test-xfail-POSIX/tar.h/conform): Likewise.
10602 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
10603 (test-xfail-UNIX98/fcntl.h/conform): Likewise.
10604 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
10605 (test-xfail-UNIX98/netdb.h/conform): Likewise.
10606 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
10607 (test-xfail-UNIX98/sched.h/conform): Likewise.
10608 (test-xfail-UNIX98/signal.h/conform): Likewise.
10609 (test-xfail-UNIX98/stdio.h/conform): Likewise.
10610 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
10611 (test-xfail-UNIX98/stropts.h/conform): Likewise.
10612 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
10613 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
10614 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
10615 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
10616 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
10617 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
10618 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
10619 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
10620 (test-xfail-UNIX98/unistd.h/conform): Likewise.
10621 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
10622 (test-xfail-XOPEN2K/aio.h/conform): Likewise.
10623 (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
10624 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
10625 (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
10626 (test-xfail-XOPEN2K/math.h/conform): Likewise.
10627 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
10628 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
10629 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
10630 (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
10631 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
10632 (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
10633 (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
10634 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
10635 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
10636 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
10637 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
10638 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
10639 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
10640 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
10641 (test-xfail-XOPEN2K/termios.h/conform): Likewise.
10642 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
10643 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
10644 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
10645 (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
10646 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
10647 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
10648 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
10649 (test-xfail-POSIX2008/signal.h/conform): Likewise.
10650 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
10651 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
10652 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
10653 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
10654 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
10655 (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
10656 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
10657 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
10658 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
10659 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
10660 (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
10661 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
10662 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
10663 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
10664 (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
10665 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
10666 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
10667 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
10668 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
10669 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
10670 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
10671 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
10672 (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
10673 (conformtest-cc-flags): Likewise.
10674 ($(conformtest-header-tests): New target.
10675 * conform/check-header-lists.sh: New file.
10676 * conform/run-conformtest.sh: Remove.
10677
a00f522a
JM
10678 * conform/conformtest.pl: Allow ' and \ in values given for
10679 constants.
10680 * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
10681 inclusion.
10682 [POSIX] (sys/types.h): Likewise.
10683 [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
10684 inclusion.
10685 [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
10686 inclusion.
10687 * conform/data/signal.h-data (SIGIO): Remove expectation.
10688 [XPG3] (SIGBUS): Do not expect.
10689 [POSIX || XPG3] (SIGPOLL): Likewise.
10690 [POSIX || XPG3] (SIGPROF): Likewise.
10691 [POSIX || XPG3] (SIGSYS): Likewise.
10692 [XPG3] (SIGTRAP): Likewise.
10693 [POSIX || XPG3] (SIGURG): Likewise.
10694 [POSIX || XPG3] (SIGVTALRM): Likewise.
10695 [POSIX || XPG3] (SIGXCPU): Likewise.
10696 [POSIX || XPG3] (SIGXFSZ): Likewise.
10697 [POSIX] (SA_SIGINFO): Expect.
10698 [XPG3] (siginfo_t): Do not expect type or contents.
10699 [POSIX] (si_pid): Do not expect element.
10700 [POSIX] (si_uid): Likewise.
10701 [POSIX] (si_addr): Likewise.
10702 [POSIX] (si_status): Likewise.
10703 [POSIX] (si_band): Likewise.
10704 [XPG4] (si_value): Likewise.
10705 [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
10706 [POSIX || XPG3] (ILL_ILLOPN): Likewise.
10707 [POSIX || XPG3] (ILL_ILLADR): Likewise.
10708 [POSIX || XPG3] (ILL_ILLTRP): Likewise.
10709 [POSIX || XPG3] (ILL_PRVOPC): Likewise.
10710 [POSIX || XPG3] (ILL_PRVREG): Likewise.
10711 [POSIX || XPG3] (ILL_COPROC): Likewise.
10712 [POSIX || XPG3] (ILL_BADSTK): Likewise.
10713 [POSIX || XPG3] (FPE_INTDIV): Likewise.
10714 [POSIX || XPG3] (FPE_INTOVF): Likewise.
10715 [POSIX || XPG3] (FPE_FLTDIV): Likewise.
10716 [POSIX || XPG3] (FPE_FLTOVF): Likewise.
10717 [POSIX || XPG3] (FPE_FLTUND): Likewise.
10718 [POSIX || XPG3] (FPE_FLTRES): Likewise.
10719 [POSIX || XPG3] (FPE_FLTINV): Likewise.
10720 [POSIX || XPG3] (FPE_FLTSUB): Likewise.
10721 [POSIX || XPG3] (SEGV_MAPERR): Likewise.
10722 [POSIX || XPG3] (SEGV_ACCERR): Likewise.
10723 [POSIX || XPG3] (BUS_ADRALN): Likewise.
10724 [POSIX || XPG3] (BUS_ADRERR): Likewise.
10725 [POSIX || XPG3] (BUS_OBJERR): Likewise.
10726 [POSIX || XPG3] (CLD_EXITED): Likewise.
10727 [POSIX || XPG3] (CLD_KILLED): Likewise.
10728 [POSIX || XPG3] (CLD_DUMPED): Likewise.
10729 [POSIX || XPG3] (CLD_TRAPPED): Likewise.
10730 [POSIX || XPG3] (CLD_STOPPED): Likewise.
10731 [POSIX || XPG3] (CLD_CONTINUED): Likewise.
10732 [POSIX || XPG3] (POLL_IN): Likewise.
10733 [POSIX || XPG3] (POLL_OUT): Likewise.
10734 [POSIX || XPG3] (POLL_MSG): Likewise.
10735 [POSIX || XPG3] (POLL_ERR): Likewise.
10736 [POSIX || XPG3] (POLL_PRI): Likewise.
10737 [POSIX || XPG3] (POLL_HUP): Likewise.
10738 [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
10739 [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
10740 (SIG*): Do not allow.
10741 [XPG3] (si_*): Likewise.
10742 [XPG3] (SI_*): Likewise.
10743 [XPG3 || XPG4] (sigev_*): Likewise.
10744 [XPG3 || XPG4] (SIGEV_*): Likewise.
10745 [XPG3 || XPG4] (sival_*): Likewise.
10746 [POSIX || XPG3 || XPG4] (uc_*): Likewise.
10747 [POSIX || XPG3] (BUS_*): Likewise.
10748 [POSIX || XPG3] (CLD_*): Likewise.
10749 [POSIX || XPG3] (FPE_*): Likewise.
10750 [POSIX || XPG3] (ILL_*): Likewise.
10751 [POSIX || XPG3] (POLL_*): Likewise.
10752 [POSIX || XPG3] (SEGV_*): Likewise.
10753 [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
10754 [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
10755 [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
10756 [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
10757 [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
10758 * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
10759 Specify type and value.
10760 (TVERSLEN): Likewise.
10761 (REGTYPE): Likewise.
10762 (AREGTYPE): Likewise.
10763 (LNKTYPE): Likewise.
10764 (SYMTYPE): Likewise.
10765 (CHRTYPE): Likewise.
10766 (BLKTYPE): Likewise.
10767 (DIRTYPE): Likewise.
10768 (FIFOTYPE): Likewise.
10769 (CONTTYPE): Likewise.
10770 (TSUID): Likewise.
10771 (TSGID): Likewise.
10772 (TSVTX): Likewise.
10773 (TUREAD): Likewise.
10774 (TUWRITE): Likewise.
10775 (TUEXEC): Likewise.
10776 (TGREAD): Likewise.
10777 (TGWRITE): Likewise.
10778 (TGEXEC): Likewise.
10779 (TOREAD): Likewise.
10780 (TOWRITE): Likewise.
10781 (TOEXEC): Likewise.
10782 [POSIX] (TSVTX): Expect constant.
10783
aa97dee1
JM
107842014-03-06 Joseph Myers <joseph@codesourcery.com>
10785
f214606a
JM
10786 * Makefile (tests): Change dependencies to ....
10787 (tests-special): ... additions to this variable.
10788 (tests): Depend on $(tests-special).
10789 * Makerules (check-abi-list): New variable.
10790 (check-abi): Depend on $(check-abi-list).
10791 [$(subdir) = elf] (tests-special): Add
10792 $(objpfx)check-abi-libc.out.
10793 [$(build-shared) = yes && subdir] (tests-special): Add
10794 $(check-abi-list).
10795 [$(build-shared) = yes && subdir] (tests): Do not depend on
10796 check-abi.
10797 * Rules (tests): Depend on $(tests-special).
10798 (xtests): Depend on $(xtests-special).
10799 * catgets/Makefile (tests): Change dependencies to ....
10800 (tests-special): ... additions to this variable.
10801 * conform/Makefile (tests): Change dependencies to ....
10802 (tests-special): ... additions to this variable.
10803 * elf/Makefile (tests): Change dependencies to ....
10804 (tests-special): ... additions to this variable.
10805 * grp/Makefile (tests): Change dependencies to ....
10806 (tests-special): ... additions to this variable.
10807 * iconv/Makefile (xtests): Change dependencies to ....
10808 (xtests-special): ... additions to this variable.
10809 * iconvdata/Makefile (tests): Change dependencies to ....
10810 (tests-special): ... additions to this variable.
10811 * intl/Makefile (tests): Change dependencies to ....
10812 (tests-special): ... additions to this variable. Also add
10813 $(objpfx)tst-gettext.out.
10814 * io/Makefile (tests): Change dependencies to ....
10815 (tests-special): ... additions to this variable.
10816 * libio/Makefile (tests): Change dependencies to ....
10817 (tests-special): ... additions to this variable.
10818 * malloc/Makefile (tests): Change dependencies to ....
10819 (tests-special): ... additions to this variable.
10820 * misc/Makefile (tests): Change dependencies to ....
10821 (tests-special): ... additions to this variable.
10822 * nptl/Makefile (tests): Change dependencies to ....
10823 (tests-special): ... additions to this variable.
10824 * nptl_db/Makefile (tests): Change dependencies to ....
10825 (tests-special): ... additions to this variable.
10826 * posix/Makefile (tests): Change dependencies to ....
10827 (tests-special): ... additions to this variable.
10828 (xtests): Change dependencies to ....
10829 (xtests-special): ... additions to this variable.
10830 * resolv/Makefile (tests): Change dependencies to ....
10831 (tests-special): ... additions to this variable.
10832 (xtests): Change dependencies to ....
10833 (xtests-special): ... additions to this variable.
10834 * stdio-common/Makefile (tests): Change dependencies to ....
10835 (tests-special): ... additions to this variable.
10836 (do-tst-unbputc): Remove target.
10837 (do-tst-printf): Likewise.
10838 * stdlib/Makefile (tests): Change dependencies to ....
10839 (tests-special): ... additions to this variable.
10840 * string/Makefile (tests): Change dependencies to ....
10841 (tests-special): ... additions to this variable.
10842 * sysdeps/x86/Makefile (tests): Change dependencies to ....
10843 (tests-special): ... additions to this variable.
10844
81700b53
JM
10845 * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
10846 whole file.
10847 * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
10848 whole file.
10849 * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
10850 * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
10851
2ea18461
JM
10852 * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
10853 * conform/data/arpa/inet.h-data [XPG3]: Likewise.
10854 * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
10855 * conform/data/fmtmsg.h-data [XPG3]: Likewise.
10856 * conform/data/libgen.h-data [XPG3]: Likewise.
10857 * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
10858 * conform/data/ndbm.h-data [XPG3]: Likewise.
10859 * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
10860 * conform/data/netdb.h-data [XPG3]: Likewise.
10861 * conform/data/netinet/in.h-data [XPG3]: Likewise.
10862 * conform/data/poll.h-data [XPG3]: Likewise.
10863 * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
10864 * conform/data/strings.h-data [XPG3]: Likewise.
10865 * conform/data/stropts.h-data [XPG3]: Likewise.
10866 * conform/data/sys/mman.h-data [XPG3]: Likewise.
10867 * conform/data/sys/resource.h-data [XPG3]: Likewise.
10868 * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
10869 Likewise.
10870 * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
10871 * conform/data/sys/time.h-data [XPG3]: Likewise.
10872 * conform/data/sys/timeb.h-data [XPG3]: Likewise.
10873 * conform/data/sys/uio.h-data [XPG3]: Likewise.
10874 * conform/data/sys/un.h-data [XPG3]: Likewise.
10875 * conform/data/syslog.h-data [XPG3]: Likewise.
10876 * conform/data/ucontext.h-data [XPG3]: Likewise.
10877 * conform/data/utmpx.h-data [XPG3]: Likewise.
10878 * conform/data/varargs.h-data [UNIX98]: Enable file.
10879
355bc986
JM
10880 * manual/Makefile (INSTALL_INFO): Remove variable setting.
10881
215db402
JM
10882 * math/libm-test.inc (struct test_f_f_data): Move expected results
10883 into structure for each rounding mode.
10884 (struct test_ff_f_data): Likewise.
10885 (struct test_ff_f_data_nexttoward): Likewise.
10886 (struct test_fi_f_data): Likewise.
10887 (struct test_fl_f_data): Likewise.
10888 (struct test_if_f_data): Likewise.
10889 (struct test_fff_f_data): Likewise.
10890 (struct test_c_f_data): Likewise.
10891 (struct test_f_f1_data): Likewise.
10892 (struct test_fF_f1_data): Likewise.
10893 (struct test_ffI_f1_data): Likewise.
10894 (struct test_c_c_data): Likewise.
10895 (struct test_cc_c_data): Likewise.
10896 (struct test_f_i_data): Likewise.
10897 (struct test_ff_i_data): Likewise.
10898 (struct test_f_l_data): Likewise.
10899 (struct test_f_L_data): Likewise.
10900 (struct test_fFF_11_data): Likewise.
10901 (RM_): New macro.
10902 (RM_FE_DOWNWARD): Likewise.
10903 (RM_FE_TONEAREST): Likewise.
10904 (RM_FE_TOWARDZERO): Likewise.
10905 (RM_FE_UPWARD): Likewise.
10906 (RUN_TEST_LOOP_f_f): Update references to expected results.
10907 (RUN_TEST_LOOP_2_f): Likewise.
10908 (RUN_TEST_LOOP_fff_f): Likewise.
10909 (RUN_TEST_LOOP_c_f): Likewise.
10910 (RUN_TEST_LOOP_f_f1): Likewise.
10911 (RUN_TEST_LOOP_fF_f1): Likewise.
10912 (RUN_TEST_LOOP_fI_f1): Likewise.
10913 (RUN_TEST_LOOP_ffI_f1): Likewise.
10914 (RUN_TEST_LOOP_c_c): Likewise.
10915 (RUN_TEST_LOOP_cc_c): Likewise.
10916 (RUN_TEST_LOOP_f_i): Likewise.
10917 (RUN_TEST_LOOP_f_i_tg): Likewise.
10918 (RUN_TEST_LOOP_ff_i_tg): Likewise.
10919 (RUN_TEST_LOOP_f_b): Likewise.
10920 (RUN_TEST_LOOP_f_b_tg): Likewise.
10921 (RUN_TEST_LOOP_f_l): Likewise.
10922 (RUN_TEST_LOOP_f_L): Likewise.
10923 (RUN_TEST_LOOP_fFF_11): Likewise.
10924 * math/gen-libm-test.pl (parse_args): Output four copies of
10925 expected results for each test.
10926
67737b8f
JM
10927 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
10928 (__ASSUME_UTIMES): Remove.
10929 * sysdeps/unix/sysv/linux/tile/kernel-features.h
10930 (__ASSUME_UTIMES): Likewise.
10931
aa97dee1
JM
10932 * math/gen-auto-libm-tests.c: Update comment on output format.
10933 (output_for_one_input_case): Generate before-rounding and
10934 after-rounding information as conditions on output flags not
10935 floating-point format.
10936 * math/auto-libm-test-out: Regenerated.
10937 * math/gen-libm-test.pl (cond_value): New function.
10938 (or_cond_value): Use cond_value.
10939 (generate_testfile): Handle conditional exceptions.
10940
e6b6a857
JM
109412014-03-05 Joseph Myers <joseph@codesourcery.com>
10942
2f0a0f44
JM
10943 * math/libm-test.inc (max_valid_error): New variable.
10944 (init_max_error): Take new argument specifying whether function
10945 results are exactly determined. Set max_valid_error and bound
10946 other variables for errors based on this argument.
10947 (set_max_error): Do not record results above max_valid_error.
10948 (check_float_internal): Only accept errors of up to 0.5ulps if
10949 also at most max_valid_error.
10950 (START): Take new argument EXACT and pass it to init_max_error.
10951 (acos_test): Update call to START.
10952 (acos_test_tonearest): Likewise.
10953 (acos_test_towardzero): Likewise.
10954 (acos_test_downward): Likewise.
10955 (acos_test_upward): Likewise.
10956 (acosh_test): Likewise.
10957 (asin_test): Likewise.
10958 (asin_test_tonearest): Likewise.
10959 (asin_test_towardzero): Likewise.
10960 (asin_test_downward): Likewise.
10961 (asin_test_upward): Likewise.
10962 (asinh_test): Likewise.
10963 (atan_test): Likewise.
10964 (atanh_test): Likewise.
10965 (atan2_test): Likewise.
10966 (cabs_test): Likewise.
10967 (cacos_test): Likewise.
10968 (cacosh_test): Likewise.
10969 (carg_test): Likewise.
10970 (casin_test): Likewise.
10971 (casinh_test): Likewise.
10972 (catan_test): Likewise.
10973 (catanh_test): Likewise.
10974 (cbrt_test): Likewise.
10975 (ccos_test): Likewise.
10976 (ccosh_test): Likewise.
10977 (ceil_test): Likewise.
10978 (cexp_test): Likewise.
10979 (cimag_test): Likewise.
10980 (clog_test): Likewise.
10981 (clog10_test): Likewise.
10982 (conj_test): Likewise.
10983 (copysign_test): Likewise.
10984 (cos_test): Likewise.
10985 (cos_test_tonearest): Likewise.
10986 (cos_test_towardzero): Likewise.
10987 (cos_test_downward): Likewise.
10988 (cos_test_upward): Likewise.
10989 (cosh_test): Likewise.
10990 (cosh_test_tonearest): Likewise.
10991 (cosh_test_towardzero): Likewise.
10992 (cosh_test_downward): Likewise.
10993 (cosh_test_upward): Likewise.
10994 (cpow_test): Likewise.
10995 (cproj_test): Likewise.
10996 (creal_test): Likewise.
10997 (csin_test): Likewise.
10998 (csinh_test): Likewise.
10999 (csqrt_test): Likewise.
11000 (ctan_test): Likewise.
11001 (ctan_test_tonearest): Likewise.
11002 (ctan_test_towardzero): Likewise.
11003 (ctan_test_downward): Likewise.
11004 (ctan_test_upward): Likewise.
11005 (ctanh_test): Likewise.
11006 (ctanh_test_tonearest): Likewise.
11007 (ctanh_test_towardzero): Likewise.
11008 (ctanh_test_downward): Likewise.
11009 (ctanh_test_upward): Likewise.
11010 (erf_test): Likewise.
11011 (erfc_test): Likewise.
11012 (exp_test): Likewise.
11013 (exp_test_tonearest): Likewise.
11014 (exp_test_towardzero): Likewise.
11015 (exp_test_downward): Likewise.
11016 (exp_test_upward): Likewise.
11017 (exp10_test): Likewise.
11018 (exp10_test_tonearest): Likewise.
11019 (exp10_test_towardzero): Likewise.
11020 (exp10_test_downward): Likewise.
11021 (exp10_test_upward): Likewise.
11022 (pow10_test): Likewise.
11023 (exp2_test): Likewise.
11024 (expm1_test): Likewise.
11025 (expm1_test_tonearest): Likewise.
11026 (expm1_test_towardzero): Likewise.
11027 (expm1_test_downward): Likewise.
11028 (expm1_test_upward): Likewise.
11029 (fabs_test): Likewise.
11030 (fdim_test): Likewise.
11031 (floor_test): Likewise.
11032 (fma_test): Likewise.
11033 (fma_test_towardzero): Likewise.
11034 (fma_test_downward): Likewise.
11035 (fma_test_upward): Likewise.
11036 (fmax_test): Likewise.
11037 (fmin_test): Likewise.
11038 (fmod_test): Likewise.
11039 (fpclassify_test): Likewise.
11040 (frexp_test): Likewise.
11041 (hypot_test): Likewise.
11042 (ilogb_test): Likewise.
11043 (isfinite_test): Likewise.
11044 (finite_test): Likewise.
11045 (isgreater_test): Likewise.
11046 (isgreaterequal_test): Likewise.
11047 (isinf_test): Likewise.
11048 (isless_test): Likewise.
11049 (islessequal_test): Likewise.
11050 (islessgreater_test): Likewise.
11051 (isnan_test): Likewise.
11052 (isnormal_test): Likewise.
11053 (issignaling_test): Likewise.
11054 (isunordered_test): Likewise.
11055 (j0_test): Likewise.
11056 (j1_test): Likewise.
11057 (jn_test): Likewise.
11058 (ldexp_test): Likewise.
11059 (lgamma_test): Likewise.
11060 (gamma_test): Likewise.
11061 (lrint_test): Likewise.
11062 (lrint_test_tonearest): Likewise.
11063 (lrint_test_towardzero): Likewise.
11064 (lrint_test_downward): Likewise.
11065 (lrint_test_upward): Likewise.
11066 (llrint_test): Likewise.
11067 (llrint_test_tonearest): Likewise.
11068 (llrint_test_towardzero): Likewise.
11069 (llrint_test_downward): Likewise.
11070 (llrint_test_upward): Likewise.
11071 (log_test): Likewise.
11072 (log10_test): Likewise.
11073 (log1p_test): Likewise.
11074 (log2_test): Likewise.
11075 (logb_test): Likewise.
11076 (logb_test_downward): Likewise.
11077 (lround_test): Likewise.
11078 (llround_test): Likewise.
11079 (modf_test): Likewise.
11080 (nearbyint_test): Likewise.
11081 (nextafter_test): Likewise.
11082 (nexttoward_test): Likewise.
11083 (pow_test): Likewise.
11084 (pow_test_tonearest): Likewise.
11085 (pow_test_towardzero): Likewise.
11086 (pow_test_downward): Likewise.
11087 (pow_test_upward): Likewise.
11088 (remainder_test): Likewise.
11089 (drem_test): Likewise.
11090 (remainder_test_tonearest): Likewise.
11091 (drem_test_tonearest): Likewise.
11092 (remainder_test_towardzero): Likewise.
11093 (drem_test_towardzero): Likewise.
11094 (remainder_test_downward): Likewise.
11095 (drem_test_downward): Likewise.
11096 (remainder_test_upward): Likewise.
11097 (drem_test_upward): Likewise.
11098 (remquo_test): Likewise.
11099 (rint_test): Likewise.
11100 (rint_test_tonearest): Likewise.
11101 (rint_test_towardzero): Likewise.
11102 (rint_test_downward): Likewise.
11103 (rint_test_upward): Likewise.
11104 (round_test): Likewise.
11105 (scalb_test): Likewise.
11106 (scalbn_test): Likewise.
11107 (scalbln_test): Likewise.
11108 (signbit_test): Likewise.
11109 (sin_test): Likewise.
11110 (sin_test_tonearest): Likewise.
11111 (sin_test_towardzero): Likewise.
11112 (sin_test_downward): Likewise.
11113 (sin_test_upward): Likewise.
11114 (sincos_test): Likewise.
11115 (sinh_test): Likewise.
11116 (sinh_test_tonearest): Likewise.
11117 (sinh_test_towardzero): Likewise.
11118 (sinh_test_downward): Likewise.
11119 (sinh_test_upward): Likewise.
11120 (sqrt_test): Likewise.
11121 (sqrt_test_tonearest): Likewise.
11122 (sqrt_test_towardzero): Likewise.
11123 (sqrt_test_downward): Likewise.
11124 (sqrt_test_upward): Likewise.
11125 (tan_test): Likewise.
11126 (tan_test_tonearest): Likewise.
11127 (tan_test_towardzero): Likewise.
11128 (tan_test_downward): Likewise.
11129 (tan_test_upward): Likewise.
11130 (tanh_test): Likewise.
11131 (tgamma_test): Likewise.
11132 (trunc_test): Likewise.
11133 (y0_test): Likewise.
11134 (y1_test): Likewise.
11135 (yn_test): Likewise.
11136 (significand_test): Likewise.
11137
e6b6a857
JM
11138 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
11139 individual tests in comment.
11140 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
11141 (prev_max_error): New variable.
11142 (prev_real_max_error): Likewise.
11143 (prev_imag_max_error): Likewise.
11144 (compare_ulp_data): Don't refer to test names in comment.
11145 (find_test_ulps): Remove function.
11146 (find_function_ulps): Likewise.
11147 (find_complex_function_ulps): Likewise.
11148 (init_max_error): Take function name as argument. Look up ulps
11149 for that function.
11150 (print_ulps): Remove function.
11151 (print_max_error): Use prev_max_error instead of calling
11152 find_function_ulps.
11153 (print_complex_max_error): Use prev_real_max_error and
11154 prev_imag_max_error instead of calling find_complex_function_ulps.
11155 (check_float_internal): Take max_ulp parameter instead of calling
11156 find_test_ulps. Don't call print_ulps.
11157 (check_float): Update call to check_float_internal.
11158 (check_complex): Update calls to check_float_internal.
11159 (START): Pass argument to init_max_error.
11160 * math/gen-libm-test.pl (%results): Don't include "kind"
11161 information.
11162 (parse_ulps): Don't handle ulps of individual tests.
11163 (print_ulps_file): Likewise.
11164 (output_ulps): Likewise.
11165 * math/README.libm-test: Update.
11166 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
11167 individual tests.
11168 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
11169 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
11170 * sysdeps/arm/libm-test-ulps: Likewise.
11171 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
11172 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
11173 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
11174 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
11175 * sysdeps/microblaze/libm-test-ulps: Likewise.
11176 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
11177 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
11178 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
11179 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
11180 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
11181 * sysdeps/sh/libm-test-ulps: Likewise.
11182 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
11183 * sysdeps/tile/libm-test-ulps: Likewise.
11184 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11185
45adef3c
JM
111862014-03-04 Joseph Myers <joseph@codesourcery.com>
11187
11188 * math/libm-test.inc (print_complex_max_error): Check separately
11189 whether real and imaginary errors are within allowed range and
11190 pass 0 to print_complex_function_ulps instead of value within
11191 allowed range.
11192
000232b9
SP
111932014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
11194
d4b17258
SP
11195 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
11196 formatting.
11197 (get_handles_fopen): Likewise.
11198 (do_write_test): Likewise.
11199
091eff71
SP
11200 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
11201
fa3cd248
SP
11202 * libio/fileops.c (do_ftell): Use cached offset when
11203 available.
11204 * libio/iofwide.c (do_ftell_wide): Likewise.
11205 * libio/iofdopen.c (_IO_new_fdopen): Don't use
11206 _IO_file_attach.
11207 * libio/wfileops.c (_IO_fwide): Don't cache offset.
11208
000232b9
SP
11209 [BZ #16532]
11210 * libio/libioP.h (get_file_offset): New function.
11211 * libio/fileops.c (get_file_offset): Likewise.
11212 (do_ftell): Likewise.
11213 (_IO_new_file_seekoff): Split out ftell logic.
11214 * libio/wfileops.c (do_ftell_wide): Likewise.
11215 (_IO_wfile_seekoff): Split out ftell logic.
11216 * libio/tst-ftell-active-handler.c: New test case.
11217 * libio/Makefile (tests): Add it.
11218
116f4d1a
RM
112192014-03-03 Roland McGrath <roland@hack.frob.com>
11220
11221 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
11222 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
11223
532a6035
SP
112242014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
11225
11226 [BZ #16639]
11227 * nscd/connections.c (nscd_init): Call do_exit.
11228 (start_threads): Call do_exit and notify_parent.
11229 (begin_drop_privileges): Call do_exit.
11230 (finish_drop_privileges): Likewise.
11231 * nscd/selinux.c (preserve_capabilities): Likewise.
11232 (install_real_capabilities): Likewise.
11233 (nscd_selinux_enabled): Likewise.
11234 (avc_create_thread): Likewise.
11235 (avc_alloc_lock): Likewise.
11236 (nscd_avc_init): Likewise.
11237 * nscd/nscd.c (parent_fd): New static variable.
11238 (main): Create a pipe between parent and child processes.
11239 Skip closing parent_fd.
11240 (monitor_child): New function.
11241 (do_exit): Likewise.
11242 (notify_parent): Likewise.
11243 * nscd/nscd.h (notify_parent): Likewise.
11244 (do_exit): Likewise.
11245
d6285c9f
CD
112462014-03-03 Carlos O'Donell <carlos@redhat.com>
11247
11248 * malloc/malloc.c (__libc_calloc): Revert last change.
11249
2b85d2a0
AZ
112502014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11251
11252 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11253
c7debbdf
RS
112542014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
11255
11256 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
11257 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
11258 implementation.
11259 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
11260 (__libc_ifunc_impl_list): Likewise.
11261 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
11262 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
11263 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
11264 * string/strrchr.c: Define STRRCHR.
11265
235eed86
OB
112662014-02-28 Ondřej Bílka <neleai@seznam.cz>
11267
11268 * benchtest/bench-strtok.c (simple_strtok): Delete.
11269 (strtok_string): Use as benchmark.
11270 * string/strtok (STRTOK): New macro.
11271
8e25d1e7
CD
112722014-02-28 Carlos O'Donell <carlos@redhat.com>
11273
ef563f92
CD
11274 * manual/threads.texi: Add header and standard comments to all
11275 functions.
11276
8e25d1e7
CD
11277 * elf/dl-lookup.c (check_match): New function.
11278 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
11279 (do_lookup_x): Remove nested function check_match. Use non-nested
11280 function check_match.
11281
ff71cc37
RM
112822014-02-28 Roland McGrath <roland@hack.frob.com>
11283
f08e9a26
RM
11284 * csu/Makefile (generated, before-compile): Use += rather than =.
11285 * catgets/Makefile (generated, generated-dirs): Likewise.
11286 * debug/Makefile (generated): Likewise.
11287 * dlfcn/Makefile (generated): Likewise.
11288 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
11289 * iconvdata/Makefile (before-compile, generated): Likewise.
11290 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
11291 * libio/Makefile (generated): Likewise.
11292 * malloc/Makefile (generated): Likewise.
11293 * manual/Makefile (generated, generated-dirs): Likewise.
11294 * misc/Makefile (generated): Likewise.
11295 * posix/Makefile (generated): Likewise.
11296 * resolv/Makefile (generated): Likewise.
11297 * sunrpc/Makefile (generated, generated-dirs): Likewise.
11298 * timezone/Makefile (generated, generated-dirs): Likewise.
11299
ff71cc37
RM
11300 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
11301
fe13a20c
AZ
113022014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11303
57f41c40
AS
11304 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
11305 power8 implementation.
11306 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
11307 file: POWER8 llround ifunc implementation.
11308 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
11309 (__lllround): Add POWER8 implementation.
fe13a20c
AZ
11310 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
11311 POWER8 llround implementation.
11312
57f41c40
AS
11313 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
11314 power8 implementation.
11315 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
11316 file: POWER8 llrint ifunc implementation.
11317 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
11318 Add POWER8 implementation.
1ad8950a
AZ
11319 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
11320 POWER8 llrint implementation.
11321
57f41c40
AS
11322 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
11323 power8 implementation.
11324 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
11325 file: POWER8 finite ifunc implementation.
11326 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
11327 Add POWER8 implementation.
cac626d6
AZ
11328 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
11329 Likewise.
11330 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
11331 POWER8 finite implementation.
11332 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
11333
57f41c40
AS
11334 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
11335 power8 implementation.
11336 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
11337 file: POWER8 isinf ifunc implementation.
4393fc11
AZ
11338 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
11339 POWER8 implementation.
11340 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
11341 Likewise.
57f41c40
AS
11342 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
11343 isinf implementation.
4393fc11
AZ
11344 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
11345
57f41c40
AS
11346 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
11347 (INIT_ARCH): Add hwcap2 initialization.
11348 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
11349 power8 implementation.
11350 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
11351 file: POWER8 isnan ifunc implementation.
487972ae
AZ
11352 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
11353 POWER8 implementation.
11354 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
11355 Likewise.
57f41c40
AS
11356 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
11357 isnan implementation.
487972ae
AZ
11358 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
11359
7d92b787
JY
113602014-02-27 Joey Ye <joey.ye@arm.com>
11361
11362 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
11363 (_FP_NANFRAC_Q): Set to zero.
11364
1cadc858
SP
113652014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
11366
11367 [BZ #16623]
11368 * math/auto-libm-test-in: New test inputs.
11369 * math/auto-libm-test-out: Regenerate.
11370 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
11371 and DA.
11372 (__cos): Likewise.
11373 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
11374
f8c17e79
JM
113752014-02-27 Joseph Myers <joseph@codesourcery.com>
11376
11377 * scripts/evaluate-test.sh: Take new argument indicating whether
11378 failure is expected.
11379 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
11380 indicating whether failure is expected.
11381 * conform/Makefile (test-xfail-run-conformtest): New variable.
11382 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
11383 level.
11384 * posix/Makefile (test-xfail-annexc): New variable.
11385 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
11386
a5f891ac
JM
113872014-02-26 Joseph Myers <joseph@codesourcery.com>
11388
11389 * argp/Makefile: Include Makeconfig immediately after defining
11390 subdir.
11391 * assert/Makefile: Likewise.
11392 * benchtests/Makefile: Likewise.
11393 * catgets/Makefile: Likewise.
11394 * conform/Makefile: Likewise.
11395 * crypt/Makefile: Likewise.
11396 * csu/Makefile: Likewise.
11397 (all): Remove target.
11398 * ctype/Makefile: Include Makeconfig immediately after defining
11399 subdir.
11400 * debug/Makefile: Likewise.
11401 * dirent/Makefile: Likewise.
11402 * dlfcn/Makefile: Likewise.
11403 * gmon/Makefile: Likewise.
11404 * gnulib/Makefile: Likewise.
11405 * grp/Makefile: Likewise.
11406 * gshadow/Makefile: Likewise.
11407 * hesiod/Makefile: Likewise.
11408 * hurd/Makefile: Likewise.
11409 (all): Remove target.
11410 * iconvdata/Makefile: Include Makeconfig immediately after
11411 defining subdir.
11412 * inet/Makefile: Likewise.
11413 * intl/Makefile: Likewise.
11414 * io/Makefile: Likewise.
11415 * libio/Makefile: Likewise.
11416 (all): Remove target.
11417 * locale/Makefile: Include Makeconfig immediately after defining
11418 subdir.
11419 * login/Makefile: Likewise.
11420 * mach/Makefile: Likewise.
11421 (all): Remove target.
11422 * malloc/Makefile: Include Makeconfig immediately after defining
11423 subdir.
11424 (all): Remove target.
11425 * manual/Makefile: Include Makeconfig immediately after defining
11426 subdir.
11427 * math/Makefile: Likewise.
11428 * misc/Makefile: Likewise.
11429 * nis/Makefile: Likewise.
11430 * nss/Makefile: Likewise.
11431 * po/Makefile: Likewise.
11432 (all): Remove target.
11433 * posix/Makefile: Include Makeconfig immediately after defining
11434 subdir.
11435 * pwd/Makefile: Likewise.
11436 * resolv/Makefile: Likewise.
11437 * resource/Makefile: Likewise.
11438 * rt/Makefile: Likewise.
11439 * setjmp/Makefile: Likewise.
11440 * shadow/Makefile: Likewise.
11441 * signal/Makefile: Likewise.
11442 * socket/Makefile: Likewise.
11443 * soft-fp/Makefile: Likewise.
11444 * stdio-common/Makefile: Likewise.
11445 * stdlib/Makefile: Likewise.
11446 * streams/Makefile: Likewise.
11447 * string/Makefile: Likewise.
11448 * sunrpc/Makefile: Likewise.
11449 (all): Remove target.
11450 * sysvipc/Makefile: Include Makeconfig immediately after defining
11451 subdir.
11452 * termios/Makefile: Likewise.
11453 * time/Makefile: Likewise.
11454 * timezone/Makefile: Likewise.
11455 (all): Remove target.
11456 * wcsmbs/Makefile: Include Makeconfig immediately after defining
11457 subdir.
11458 * wctype/Makefile: Likewise.
11459
5b456e9d
SE
114602014-02-26 Steve Ellcey <sellcey@mips.com>
11461
11462 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
11463 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
11464 (libc_feholdexcept_setround_mips): Ditto.
11465 (libc_feholdsetround): New.
11466 (libc_feholdsetroundf): New.
11467 (libc_feholdsetroundl): New.
11468 (libc_feupdateenv_test_mips): New.
11469 (libc_feupdateenv_test): New.
11470 (libc_feupdateenv_testf): New.
11471 (libc_feupdateenv_testl): New.
11472 (libc_feresetround): New.
11473 (libc_feresetroundf): New.
11474 (libc_feresetroundl): New.
11475 (libc_fetestexcept_mips): New.
11476 (libc_fetestexcept): New.
11477 (libc_fetestexceptf): New.
11478 (libc_fetestexceptl): New.
11479 (HAVE_RM_CTX): New.
11480 (libc_feholdexcept_setround_mips_ctx): New.
11481 (libc_feholdexcept_setround_ctx): New.
11482 (libc_feholdexcept_setroundf_ctx): New.
11483 (libc_feholdexcept_setroundl_ctx): New.
11484 (libc_fesetenv_mips_ctx): New.
11485 (libc_fesetenv_ctx): New.
11486 (libc_fesetenv_ctxf): New.
11487 (libc_fesetenv_ctxl): New.
11488 (libc_feupdateenv_mips_ctx): New.
11489 (libc_feupdateenv_ctx): New.
11490 (libc_feupdateenvf_ctx): New.
11491 (libc_feupdateenvl_ctx): New.
11492 (libc_feholdsetround_mips_ctx): New.
11493 (libc_feholdsetround_ctx): New.
11494 (libc_feholdsetroundf_ctx): New.
11495 (libc_feholdsetroundl_ctx): New.
11496 (libc_feresetround_mips_ctx): New.
11497 (libc_feresetround_ctx): New.
11498 (libc_feresetroundf_ctx): New.
11499 (libc_feresetroundl_ctx): New.
11500
085d0e35
CD
115012014-02-26 Carlos O'Donell <carlos@redhat.com>
11502
f067bf1f
CD
11503 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
11504
085d0e35
CD
11505 * manual/ipc.texi: New file.
11506 * manual/Makefile (chapters): Add ipc.
11507 * manual/job.texi: Add "Inter-Process Communication" to next.
11508 * manual/process.texi: Add "Inter-Process Communication" to prev.
11509
86e58c08
AZ
115102014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11511
11512 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11513
4248f0da
OB
115142014-02-26 Ondřej Bílka <neleai@seznam.cz>
11515
11516 * malloc/malloc.c (__libc_calloc): Simplify implementation.
11517
cf822e3c
OB
11518 * manual/arith.texi: Fix spaces after sentences.
11519 * manual/charset.texi: Likewise.
11520 * manual/errno.texi: Likewise.
11521 * manual/install.texi: Likewise.
11522 * manual/llio.texi: Likewise.
11523 * manual/locale.texi: Likewise.
11524 * manual/maint.texi: Likewise.
11525 * manual/math.texi: Likewise.
11526 * manual/memory.texi: Likewise.
11527 * manual/message.texi: Likewise.
11528 * manual/probes.texi: Likewise.
11529 * manual/resource.texi: Likewise.
11530 * manual/signal.texi: Likewise.
11531 * manual/socket.texi: Likewise.
11532 * manual/stdio.texi: Likewise.
11533 * manual/string.texi: Likewise.
11534 * manual/time.texi: Likewise.
11535 * manual/users.texi: Likewise.
11536
ade40b10
CD
115372014-02-25 Carlos O'Donell <carlos@redhat.com>
11538
11539 [BZ #16632]
11540 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
11541 _DEFAULT_SOURCE is defined.
11542
d0503676
CD
115432014-02-25 Ulrich Drepper <drepper@gmail.com>
11544 Carlos O'Donell <carlos@redhat.com>
11545
11546 [BZ #16613]
11547 * elf/dl-tls.c (_dl_count_modids): New function.
11548 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
11549 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
11550 audit library and increment generation counter.
11551 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
11552 * elf/tst-audit9.c: New file.
11553 * elf/tst-auditmod9a.c: New file.
11554 * elf/tst-auditmod9b.c: New file.
11555 * elf/Makefile: Add rules to build and run tst-audit9.
11556
4cbf380c
FW
115572014-02-25 Florian Weimer <fweimer@redhat.com>
11558
11559 [BZ #15347]
11560 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
11561
80a56cc3
WN
115622014-02-25 Will Newton <will.newton@linaro.org>
11563
11564 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
11565 (__longjmp): Restore sp and lr before restoring callee
11566 saved registers. Add longjmp and longjmp_target
11567 SystemTap probe point.
11568 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
11569 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
11570 Define to zero to match jmpbuf layout.
11571 * sysdeps/arm/setjmp.S: Include stap-probe.h.
11572 (__sigsetjmp): Save sp and lr before saving callee
11573 saved registers. Add setjmp SystemTap probe point.
11574
3ea0f74e
SL
115752014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
11576
11577 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
11578
b04acb26
AS
115792014-02-24 Andreas Schwab <schwab@suse.de>
11580
11581 [BZ #15804]
11582 * elf/pldd.c (wait_for_ptrace_stop): New function.
11583 (main): Call it after attaching.
11584
098ad55c
RM
115852014-02-22 Roland McGrath <roland@hack.frob.com>
11586
d4ec6ae1
RM
11587 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
11588 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
11589 Versions files is now verboten.
11590 * hurd/Versions (libc: GLIBC_2.0):
11591 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
11592 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
11593 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
11594 * mach/Versions: Likewise.
11595
098ad55c
RM
11596 * csu/Versions: Remove unused %include.
11597 * resolv/Versions: Likewise.
11598
acd7f096
JM
115992014-02-21 Joseph Myers <joseph@codesourcery.com>
11600
f0881698
JM
11601 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
11602 ($(objpfx)check-local-headers.out): Likewise.
11603 ($(objpfx)begin-end-check.out): Likewise.
11604 * Makerules (check-abi-%.out): Likewise.
11605 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
11606 ($(objpfx)test2.cat): Likewise.
11607 ($(objpfx)de/libc.cat): Likewise.
11608 ($(objpfx)test-gencat.out): Likewise.
11609 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
11610 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
11611 ($(objpfx)noload-mem): Likewise.
11612 ($(objpfx)tst-pathopt.out): Likewise.
11613 ($(objpfx)tst-rtld-load-self.out): Likewise.
11614 ($(objpfx)tst-array1-cmp.out): Likewise.
11615 ($(objpfx)tst-array1-static-cmp.out): Likewise.
11616 ($(objpfx)tst-array2-cmp.out): Likewise.
11617 ($(objpfx)tst-array3-cmp.out): Likewise.
11618 ($(objpfx)tst-array4-cmp.out): Likewise.
11619 ($(objpfx)tst-array5-cmp.out): Likewise.
11620 ($(objpfx)tst-array5-static-cmp.out): Likewise.
11621 ($(objpfx)check-textrel.out): Likewise.
11622 ($(objpfx)check-execstack.out): Likewise.
11623 ($(objpfx)check-localplt.out): Likewise.
11624 ($(objpfx)order2-cmp.out): Likewise.
11625 ($(objpfx)tst-leaks1-mem): Likewise.
11626 ($(objpfx)tst-leaks1-static-mem): Likewise.
11627 ($(objpfx)tst-initorder-cmp.out): Likewise.
11628 ($(objpfx)tst-initorder2-cmp.out): Likewise.
11629 ($(objpfx)tst-unused-dep.out): Likewise.
11630 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
11631 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
11632 * iconv/Makefile (test-iconvconfig): Likewise.
11633 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
11634 ($(objpfx)iconv-test.out): Likewise.
11635 ($(objpfx)tst-tables.out): Likewise.
11636 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
11637 ($(objpfx)tst-gettext.out): Likewise.
11638 ($(objpfx)tst-translit.out): Likewise.
11639 ($(objpfx)tst-gettext2.out): Likewise.
11640 ($(objpfx)tst-gettext4.out): Likewise.
11641 ($(objpfx)tst-gettext6.out): Likewise.
11642 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
11643 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
11644 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
11645 ($(objpfx)tst-fopenloc-mem.out): Likewise.
11646 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
11647 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
11648 * posix/Makefile ($(objpfx)globtest.out): Likewise.
11649 ($(objpfx)wordexp-tst.out): Likewise.
11650 ($(objpfx)annexc.out): Likewise.
11651 ($(objpfx)tst-fnmatch-mem): Likewise.
11652 ($(objpfx)bug-regex2-mem): Likewise.
11653 ($(objpfx)bug-regex14-mem): Likewise.
11654 ($(objpfx)bug-regex21-mem): Likewise.
11655 ($(objpfx)bug-regex31-mem): Likewise.
11656 ($(objpfx)tst-vfork3-mem): Likewise.
11657 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
11658 ($(objpfx)tst-pcre-mem): Likewise.
11659 ($(objpfx)tst-boost-mem): Likewise.
11660 ($(objpfx)tst-getconf.out): Likewise.
11661 ($(objpfx)bug-ga2-mem): Likewise.
11662 ($(objpfx)bug-glob2-mem): Likewise.
11663 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
11664 ($(objpfx)mtrace-tst-leaks2): Likewise.
11665 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
11666 ($(objpfx)tst-printf.out): Likewise.
11667 ($(objpfx)tst-setvbuf1.out): Likewise.
11668 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
11669 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
11670 ($(objpfx)tst-fmtmsg.out): Likewise.
11671 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
11672 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
11673
acd7f096
JM
11674 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
11675 * bits/sigaction.h [__USE_MISC]: Likewise.
11676 * bits/waitstatus.h: Update #endif comments.
11677 * ctype/ctype.h: Likewise.
11678 * dirent/dirent.h: Likewise.
11679 [__USE_MISC]: Remove redundant conditionals.
11680 * grp/grp.h: Update #endif comments.
11681 [__USE_GNU]: Remove redundant conditionals.
11682 [__USE_MISC]: Likewise.
11683 * inet/netinet/in.h [__USE_GNU]: Likewise.
11684 * io/sys/stat.h [__USE_MISC]: Likewise.
11685 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
11686 * libio/bits/stdio.h: Update #endif comments.
11687 [__USE_MISC]: Remove redundant conditionals.
11688 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
11689 * libio/stdio.h: Update #endif comments.
11690 [__USE_MISC]: Remove redundant conditionals.
11691 * math/bits/math-finite.h [__USE_MISC]: Likewise.
11692 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
11693 * math/math.h: Update #else and #endif comments.
11694 [__USE_MISC]: Remove redundant conditionals.
11695 * misc/sys/uio.h: Update #endif comments.
11696 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
11697 * posix/glob.h [__USE_MISC]: Likewise.
11698 * posix/sys/types.h: Update #endif comments.
11699 [__USE_MISC]: Remove redundant conditionals.
11700 * posix/sys/wait.h: Update #endif comments.
11701 [__USE_MISC]: Remove redundant conditionals.
11702 * posix/unistd.h: Update #endif comments.
11703 [__USE_MISC]: Remove redundant conditionals.
11704 * pwd/pwd.h [__USE_GNU]: Likewise.
11705 [__USE_MISC]: Likewise.
11706 * resolv/netdb.h [__USE_GNU]: Likewise.
11707 * signal/signal.h: Update #endif comments.
11708 [__USE_MISC]: Remove redundant conditionals.
11709 * stdlib/stdlib.h: Update #else and #endif comments.
11710 [__USE_MISC]: Remove redundant conditionals.
11711 [__USE_GNU]: Likewise.
11712 * string/bits/string2.h [__USE_MISC]: Likewise.
11713 * string/string.h: Update #endif comments.
11714 [__USE_MISC]: Remove redundant conditionals.
11715 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
11716 Likewise.
11717 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
11718 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
11719 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
11720 Likewise.
11721 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
11722 Likewise.
11723 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
11724 comments.
11725 [__USE_MISC]: Remove redundant conditionals.
11726 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
11727 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
11728 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
11729 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
11730 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
11731 Likewise.
11732 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
11733 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
11734 Likewise.
11735 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
11736 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
11737 Likewise.
11738 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
11739 Likewise.
11740 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
11741 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
11742 Likewise.
11743 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
11744 Likewise.
11745 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
11746 * sysdeps/x86/bits/string.h: Update #endif comments.
11747 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
11748 conditionals.
11749 * time/sys/time.h: Update #endif comments.
11750 * time/time.h: Likewise.
11751 [__USE_MISC]: Remove redundant conditionals.
11752
a5d82e4e
YG
117532014-02-21 Yury Gribov <y.gribov@samsung.com>
11754
11755 [BZ #16600]
11756 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
11757
9a80491d
AS
117582014-02-21 Andreas Schwab <schwab@linux-m68k.org>
11759
11760 * Versions.def (librt): Add GLIBC_2.17.
11761
105fa381
AC
117622014-02-21 Adam Conrad <adconrad@0c3.net>
11763
11764 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
11765 synonym for _SYS_AUXV_H to allow direct inclusion.
11766 * sysdeps/sparc/bits/hwcap.h: Likewise.
11767 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
11768 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
11769 * sysdeps/sparc/sysdep.h: Likewise.
11770
b8cd1c4e
SP
117712014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
11772
11773 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
11774
bd939d23
RS
117752014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
11776
11777 * benchtests/bench-strrchr.c: Print length instead of position.
11778
5d7b57ca
JM
117792014-02-20 Joseph Myers <joseph@codesourcery.com>
11780
bc688c10
JM
11781 [BZ #16611]
11782 * sysdeps/unix/sysv/linux/kernel-features.h
11783 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
11784 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
11785 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
11786 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
11787 Likewise.
11788 [__i386__ || __powerpc__ || __sh__ || __sparc__]
11789 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
11790 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
11791 (__ASSUME_SENDMMSG): Define instead of using previous
11792 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
11793 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
11794 (__ASSUME_SENDMMSG_SYSCALL): Define.
11795 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
11796 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
11797 Likewise.
11798 * sysdeps/unix/sysv/linux/arm/kernel-features.h
11799 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
11800 Likewise.
11801 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
11802 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
11803 Likewise.
11804 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
11805 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
11806 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
11807 [__ASSUME_SENDMMSG]: Change conditionals to
11808 [__ASSUME_SENDMMSG_SOCKETCALL].
11809 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
11810 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
11811 Define.
11812 * sysdeps/unix/sysv/linux/mips/kernel-features.h
11813 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
11814 Likewise.
11815 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
11816 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
11817 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
11818 [!__ASSUME_SENDMMSG]: Change conditional to
11819 [!__ASSUME_SENDMMSG_SOCKETCALL].
11820 * sysdeps/unix/sysv/linux/tile/kernel-features.h
11821 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
11822 Define.
11823
0e31b18c
JM
11824 [BZ #16610]
11825 * sysdeps/unix/sysv/linux/kernel-features.h
11826 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
11827 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
11828 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
11829 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
11830 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
11831 [__i386__ || __sparc__]
11832 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
11833 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
11834 (__ASSUME_RECVMMSG): Define instead of using previous
11835 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
11836 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
11837 (__ASSUME_RECVMMSG_SYSCALL): Define.
11838 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
11839 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
11840 Likewise.
11841 * sysdeps/unix/sysv/linux/arm/kernel-features.h
11842 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
11843 Likewise.
11844 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
11845 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
11846 Likewise.
11847 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
11848 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
11849 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
11850 [__ASSUME_RECVMMSG]: Change condition to
11851 [__ASSUME_RECVMMSG_SOCKETCALL].
11852 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
11853 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
11854 Define.
11855 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
11856 * sysdeps/unix/sysv/linux/mips/kernel-features.h
11857 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
11858 Likewise.
11859 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
11860 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
11861 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
11862 [!__ASSUME_RECVMMSG]: Change condition to
11863 [!__ASSUME_RECVMMSG_SOCKETCALL].
11864 * sysdeps/unix/sysv/linux/tile/kernel-features.h
11865 (__ASSUME_RECVMMSG_SYSCALL): Define.
11866
dd481ccf
JM
11867 [BZ #16609]
11868 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
11869 __powerpc__ || __s390__ || __sh__ || __sparc__]
11870 (__ASSUME_SOCKETCALL): Define.
11871 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
11872 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
11873 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
11874 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
11875 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
11876 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
11877 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
11878 (__ASSUME_ACCEPT4): Define instead of using previous
11879 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
11880 __powerpc__ || __sparc__ || __s390__)] condition.
11881 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
11882 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
11883 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
11884 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
11885 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
11886 [!__ASSUME_ACCEPT4]: Change condition to
11887 [!__ASSUME_ACCEPT4_SOCKETCALL].
11888 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
11889 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
11890 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
11891 * sysdeps/unix/sysv/linux/arm/kernel-features.h
11892 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
11893 __ASSUME_ACCEPT4_SYSCALL.
11894 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
11895 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
11896 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
11897 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
11898 __ASSUME_ACCEPT4_SYSCALL.
11899 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
11900 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
11901 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
11902 [__ASSUME_ACCEPT4]: Change condition to
11903 [__ASSUME_ACCEPT4_SOCKETCALL].
11904 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
11905 (__ASSUME_SOCKETCALL): Define.
11906 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
11907 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
11908 (__ASSUME_SOCKETCALL): Define.
11909 (__ASSUME_ACCEPT4): Remove.
11910 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
11911 Define.
11912 * sysdeps/unix/sysv/linux/mips/kernel-features.h
11913 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
11914 Likewise.
11915 * sysdeps/unix/sysv/linux/tile/kernel-features.h
11916 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
11917
5d7b57ca
JM
11918 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
11919 macro.
11920 (HWCAP_ARM_LPAE): Likewise.
11921 (HWCAP_ARM_EVTSTRM): Likewise.
11922 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
11923 Add vpfd32, lpae and evtstrm.
11924 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
11925 Increase to 22.
11926
63689d61
JM
119272014-02-19 Joseph Myers <joseph@codesourcery.com>
11928
11929 * math/auto-libm-test-in: Add tests of clog10.
11930 * math/auto-libm-test-out: Regenerated.
11931 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
11932 * sysdeps/i386/fpu/libm-test-ulps: Update.
11933 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11934
ab09bf61
AS
119352014-02-18 Andreas Schwab <schwab@suse.de>
11936
11937 [BZ #16574]
11938 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
11939 Store non-zero if the second buffer was newly allocated.
11940 (send_dg): Likewise.
11941 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
11942 to send_vc and send_dg.
11943 (res_nsend): Pass NULL for ansp2_malloced.
11944 * resolv/res_query.c (__libc_res_nquery): Add parameter
11945 answerp2_malloced and pass it down to __libc_res_nsend.
11946 (res_nquery): Pass additional NULL to __libc_res_nquery.
11947 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
11948 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
11949 second answer buffer if answerp2_malloced was set.
11950 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
11951 (__libc_res_nquerydomain): Add parameter
11952 answerp2_malloced and pass it down to __libc_res_nquery.
11953 (res_nquerydomain): Pass additional NULL to
11954 __libc_res_nquerydomain.
11955 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
11956 additional NULL to __libc_res_nsend and __libc_res_nquery.
11957 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
11958 additional NULL to __libc_res_nsearch.
11959 (_nss_dns_gethostbyname4_r): Revert last change. Use new
11960 parameter of __libc_res_nsearch to check for separately allocated
11961 second buffer.
11962 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
11963 __libc_res_nquery.
11964 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
11965 additional NULL to __libc_res_nquery.
11966 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
11967 __libc_res_nsearch.
11968 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
11969 * include/resolv.h: Update prototypes of __libc_res_nquery,
11970 __libc_res_nsearch, __libc_res_nsend.
11971
a4fb7861
JM
119722014-02-18 Joseph Myers <joseph@codesourcery.com>
11973
c6af2d89
JM
11974 * math/auto-libm-test-in: Add tests of fma.
11975 * math/auto-libm-test-out: Regenerated.
11976 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
11977 (fma_towardzero_test_data): Likewise.
11978 (fma_downward_test_data): Likewise.
11979 (fma_upward_test_data): Likewise.
11980 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
11981 mpc_mode.
11982 (rounding_modes): Add values for new field.
11983 (func_calc_method): Add value mpfr_fff_f.
11984 (func_calc_desc): Add mpfr_fff_f union field.
11985 (test_function): Add field exact_args.
11986 (FUNC): Add macro argument EXACT_ARGS.
11987 (FUNC_mpfr_f_f): Update call to FUNC.
11988 (FUNC_mpfr_f_f): Likewise.
11989 (FUNC_mpfr_ff_f): Likewise.
11990 (FUNC_mpfr_if_f): Likewise.
11991 (FUNC_mpc_c_f): Likewise.
11992 (FUNC_mpc_c_c): Likewise.
11993 (test_functions): Add fma. Update calls to FUNC.
11994 (handle_input_arg): Add argument exact_args.
11995 (add_test): Update call to handle_input_arg.
11996 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
11997 (output_for_one_input_case): Update call to calc_generic_results.
11998 Recalculate exact zero results in each rounding mode.
11999
a4fb7861
JM
12000 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
12001 non-negative before setting low bit.
12002 * math/auto-libm-test-in: Mark one asin test possibly having
12003 spurious underflow.
12004 * math/auto-libm-test-out: Regenerated.
12005 * sysdeps/i386/fpu/libm-test-ulps: Update.
12006 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12007
ef114eaf
DH
120082014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
12009
2b7f4f2c
SP
12010 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
12011 * sysdeps/unix/sysv/linux/microblaze: Move directory from
12012 ports/sysdeps/unix/sysv/linux/microblaze.
ef114eaf
DH
12013 * README: Add missing listing for microblaze*-*-linux-gnu.
12014
8125aedc
AM
120152014-02-16 Ondřej Bílka <neleai@seznam.cz>
12016
12017 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
12018 duplicate code
12019
c70a4b1d
MF
120202014-02-16 Mike Frysinger <vapier@gentoo.org>
12021
12022 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
12023 * sysdeps/unix/sysv/linux/ia64: Move directory from
12024 ports/sysdeps/unix/sysv/linux/ia64.
12025 * README: Update listing for ia64-*-linux-gnu.
12026
591aeaf7
TD
120272014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
12028 Joseph Myers <joseph@codesourcery.com>
12029
12030 * Makeconfig (test-name): New variable.
12031 (evaluate-test): Likewise.
12032 * Makerules (do-test-clean): Remove .test-result files.
12033 (common-mostlyclean): Likewise.
12034 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
12035 * scripts/evaluate-test.sh: New file.
12036
6e89caf1
JM
120372014-02-14 Joseph Myers <joseph@codesourcery.com>
12038
7f98f180
JM
12039 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
12040 separate $(objpfx)tst-fopenloc-cmp.out and
12041 $(objpfx)tst-fopenloc-mem.out targets.
12042 (tests): Update dependencies.
12043 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
12044 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
12045 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
12046 (tst-rxspencer-no-utf8-ARGS): New variable.
12047 (tst-rxspencer-no-utf8-ENV): Likewise.
12048 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
12049 instead of $(objpfx)tst-rxspencer-mem.
12050 ($(objpfx)tst-rxspencer-mem): Change target to
12051 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
12052 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
12053 * posix/tst-rxspencer-no-utf8.c: New file.
12054
6e89caf1
JM
12055 * elf/Makefile ($(objpfx)order.out): Remove rule.
12056 [$(run-built-tests) = yes] (tests): Depend on
12057 $(objpfx)order-cmp.out.
12058 ($(objpfx)order-cmp.out): New rule.
12059 [$(run-built-tests) = yes] (tests): Depend on
12060 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
12061 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
12062 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
12063 $(objpfx)tst-array5-static-cmp.out.
12064 ($(objpfx)tst-array1.out): Remove rule.
12065 ($(objpfx)tst-array1-cmp.out): New rule.
12066 ($(objpfx)tst-array1-static.out): Remove rule.
12067 ($(objpfx)tst-array1-static-cmp.out): New rule.
12068 ($(objpfx)tst-array2.out): Remove rule.
12069 ($(objpfx)tst-array2-cmp.out): New rule.
12070 ($(objpfx)tst-array3.out): Remove rule.
12071 ($(objpfx)tst-array3-cmp.out): New rule.
12072 ($(objpfx)tst-array4.out): Remove rule.
12073 ($(objpfx)tst-array4-cmp.out): New rule.
12074 ($(objpfx)tst-array5.out): Remove rule.
12075 ($(objpfx)tst-array5-cmp.out): New rule.
12076 ($(objpfx)tst-array5-static.out): Remove rule.
12077 ($(objpfx)tst-array5-static-cmp.out): New rule.
12078 [$(run-built-tests) = yes] (tests): Depend on
12079 $(objpfx)order2-cmp.out.
12080 ($(objpfx)order2.out): Remove rule.
12081 ($(objpfx)order2-cmp.out): New rule.
12082 ($(objpfx)tst-initorder.out): Remove rule.
12083 [$(run-built-tests) = yes] (tests): Depend on
12084 $(objpfx)tst-initorder-cmp.out.
12085 ($(objpfx)tst-initorder-cmp.out): New rule.
12086 ($(objpfx)tst-initorder2.out): Remove rule.
12087 [$(run-built-tests) = yes] (tests): Depend on
12088 $(objpfx)tst-initorder2-cmp.out.
12089 ($(objpfx)tst-initorder2-cmp.out): New rule.
12090 [$(run-built-tests) = yes] (tests): Depend on
12091 $(objpfx)tst-unused-dep-cmp.out.
12092 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
12093 ($(objpfx)tst-unused-dep-cmp.out): New rule.
12094 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
12095 on $(objpfx)tst-setvbuf1-cmp.out.
12096 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
12097 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
12098 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
12099 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
12100 ($(objpfx)tst-svc.out): Remove rule.
12101 ($(objpfx)tst-svc-cmp.out): New rule.
12102
ed9a38e2
JM
121032014-02-13 Joseph Myers <joseph@codesourcery.com>
12104
12105 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
12106 * ctype/ctype.h [__USE_MISC]: Likewise.
12107 * dirent/dirent.h [__USE_MISC]: Likewise.
12108 * grp/grp.h [__USE_MISC]: Likewise.
12109 * io/fcntl.h [__USE_MISC]: Likewise.
12110 * io/sys/stat.h [__USE_MISC]: Likewise.
12111 * libio/stdio.h [__USE_MISC]: Likewise.
12112 * posix/unistd.h [__USE_MISC]: Likewise.
12113 * pwd/pwd.h [__USE_MISC]: Likewise.
12114 * stdlib.h [__USE_MISC]: Likewise.
12115 * string/bits/string2.h [__USE_MISC]: Likewise.
12116 * string/string.h [__USE_MISC]: Likewise.
12117 * time/time.h [__USE_MISC]: Likewise.
12118
d6680619
AS
121192014-02-13 Andreas Schwab <schwab@suse.de>
12120
12121 [BZ #16574]
12122 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
12123 second answer buffer if it was separately allocated.
12124
ace614b8
JM
121252014-02-12 Joseph Myers <joseph@codesourcery.com>
12126
743151ae
JM
12127 * sysdeps/mips/math-tests.h: Include <features.h>.
12128 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
12129 (ROUNDING_TESTS_long_double): Do not define.
12130 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
12131 (EXCEPTION_TESTS_long_double): Likewise.
12132 * sysdeps/mips/mips64/libm-test-ulps: Update.
12133
498afc54
JM
12134 * include/features.h (__USE_BSD): Remove macro definitions.
12135 (__USE_SVID): Likewise.
12136 (_BSD_SOURCE): Likewise.
12137 (_SVID_SOURCE): Likewise.
12138 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
12139 from definition of _DEFAULT_SOURCE.
12140 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
12141 [_DEFAULT_SOURCE].
12142 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
12143 * bits/mman.h [__USE_BSD]: Likewise.
12144 * bits/termios.h [__USE_BSD]: Likewise.
12145 * bits/waitstatus.h [__USE_BSD]: Likewise.
12146 * ctype/ctype.h [__USE_SVID]: Likewise.
12147 * dirent/dirent.h [__USE_BSD]: Likewise.
12148 * grp/grp.h [__USE_SVID]: Likewise.
12149 [__USE_BSD]: Likewise.
12150 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
12151 * io/fcntl.h [__USE_BSD]: Likewise.
12152 * io/ftw.h [__USE_BSD]: Likewise.
12153 * io/sys/stat.h [__USE_BSD]: Likewise.
12154 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
12155 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
12156 * libio/stdio.h [__USE_SVID]: Likewise.
12157 [__USE_BSD]: Likewise.
12158 * math/math.h [__USE_SVID]: Likewise.
12159 [__USE_BSD]: Likewise.
12160 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
12161 * misc/bits/syslog.h [__USE_BSD]: Likewise.
12162 * misc/search.h [__USE_SVID]: Likewise.
12163 * misc/sys/mman.h [__USE_BSD]: Likewise.
12164 * misc/sys/syslog.h [__USE_BSD]: Likewise.
12165 * misc/sys/uio.h [__USE_BSD]: Likewise.
12166 * posix/bits/unistd.h [__USE_BSD]: Likewise.
12167 * posix/glob.h [__USE_BSD]: Likewise.
12168 * posix/regex.h [__USE_BSD]: Likewise.
12169 * posix/sys/types.h [__USE_BSD]: Likewise.
12170 [__USE_SVID]: Likewise.
12171 * posix/sys/utsname.h [__USE_SVID]: Likewise.
12172 * posix/sys/wait.h [__USE_BSD]: Likewise.
12173 [__USE_SVID]: Likewise.
12174 * posix/unistd.h [__USE_BSD]: Likewise.
12175 [__USE_SVID]: Likewise.
12176 * pwd/pwd.h [__USE_SVID]: Likewise.
12177 * resolv/netdb.h [__USE_BSD]: Likewise.
12178 * setjmp/setjmp.h [__USE_BSD]: Likewise.
12179 * signal/signal.h [__USE_BSD]: Likewise.
12180 [__USE_SVID]: Likewise.
12181 * socket/sys/socket.h [__USE_BSD]: Likewise.
12182 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
12183 * stdlib/stdlib.h [__USE_BSD]: Likewise.
12184 [__USE_SVID]: Likewise.
12185 * string/bits/string2.h [__USE_BSD]: Likewise.
12186 [__USE_SVID]: Likewise.
12187 * string/bits/string3.h [__USE_BSD]: Likewise.
12188 * string/endian.h [__USE_BSD]: Likewise.
12189 * string/string.h [__USE_SVID]: Likewise.
12190 [__USE_BSD]: Likewise.
12191 * string/strings.h [__USE_BSD]: Likewise.
12192 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
12193 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
12194 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
12195 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
12196 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
12197 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
12198 Likewise.
12199 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
12200 Likewise.
12201 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
12202 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
12203 Likewise.
12204 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
12205 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
12206 Likewise.
12207 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
12208 Likewise.
12209 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
12210 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
12211 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
12212 Likewise.
12213 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
12214 Likewise.
12215 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
12216 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
12217 * termios/termios.h [__USE_BSD]: Likewise.
12218 * time/sys/time.h [__USE_BSD]: Likewise.
12219 * time/time.h [__USE_BSD]: Likewise.
12220 [__USE_SVID]: Likewise.
12221
dd7b064c
JM
12222 * Makefile (subdir_targets): Remove subdir_lint.out.
12223
a2c4c199
JM
12224 * stdio-common/Makefile (do-tst-unbputc): Remove target.
12225 (do-tst-printf): Likewise.
12226 (tests): Depend directly on $(objpfx)tst-unbputc.out and
12227 $(objpfx)tst-printf.out.
12228
8756f740
JM
12229 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
12230
1b6dd3f1
JM
12231 * Makerules (check-abi-%): Change target to
12232 $(objpfx)check-abi-%.out.
12233 (check-abi target): Update dependencies.
12234 (check-abi-pattern variable): Redirect output of diff to $@.
12235 (check-abi variable): Likewise.
12236 * elf/Makefile (check-abi): Update dependencies.
12237
ace614b8
JM
12238 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
12239 unused.
12240 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
12241 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
12242 subnormal range.
12243 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
12244 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
12245 value has largest subnormal exponent.
12246 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
12247 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
12248 * sysdeps/aarch64/soft-fp/sfp-machine.h
12249 (_FP_TININESS_AFTER_ROUNDING): New macro.
12250 * sysdeps/alpha/soft-fp/sfp-machine.h
12251 (_FP_TININESS_AFTER_ROUNDING): Likewise.
12252 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
12253 Likewise.
12254 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
12255 (_FP_TININESS_AFTER_ROUNDING): Likewise.
12256 * sysdeps/mips/soft-fp/sfp-machine.h
12257 (_FP_TININESS_AFTER_ROUNDING): Likewise.
12258 * sysdeps/powerpc/soft-fp/sfp-machine.h
12259 (_FP_TININESS_AFTER_ROUNDING): Likewise.
12260 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
12261 Likewise.
12262 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
12263 (_FP_TININESS_AFTER_ROUNDING): Likewise.
12264 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
12265 (_FP_TININESS_AFTER_ROUNDING): Likewise.
12266 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
12267 Likewise.
12268
fbfdf9cb
DAS
122692014-02-12 Dylan Alex Simon <dylan@dylex.net>
12270
12271 [BZ #16545]
12272 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
12273 model 1.
12274
68b7efaa
RH
122752014-02-12 Richard Henderson <rth@redhat.com>
12276
c70a4b1d 12277 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
68b7efaa
RH
12278 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
12279 * sysdeps/unix/sysv/linux/alpha: Move directory from
12280 ports/sysdeps/unix/sysv/linux/alpha.
12281 * README: Update listing for alpha-*-linux-gnu.
12282
cb4a2928
JM
122832014-02-11 Joseph Myers <joseph@codesourcery.com>
12284
c941736c
JM
12285 * include/features.h: Update comment documenting feature test
12286 macros.
12287 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
12288 _DEFAULT_SOURCE.
12289 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
12290 (_SVID_SOURCE): Likewise.
12291 (_DEFAULT_SOURCE): Update description of default features.
12292 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
12293 with _GNU_SOURCE.
12294 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
12295 (S_ISVTX): Likewise.
12296 * manual/math.texi (Mathematical Constants): Likewise.
12297 * manual/signal.texi (Interrupted Primitives): Likewise.
12298 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
12299 * math/test-matherr.c (_SVID_SOURCE): Do not define.
12300 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
12301 Don't refer to _SVID_SOURCE in warning text.
12302
e8d8d7ec
JM
12303 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12304
cb4a2928
JM
12305 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
12306 already defined.
12307 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
12308 * sysdeps/mips/dl-lookup.c: Remove.
12309 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
12310
7e6424e3
AK
123112014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
12312
12313 [BZ #16447]
12314 * math/auto-libm-test-in: Add testcase for expl.
12315 * math/auto-libm-test-out: Regenerate.
12316 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
12317 calculation of unsafe.
12318 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
12319
75eff3fe
MS
123202014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
12321
12322 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
12323 * sysdeps/unix/sysv/linux/aarch64: Move directory from
12324 ports/sysdeps/unix/sysv/linux/aarch64.
12325 * README: Update listing for aarch64*-*-linux-gnu.
12326
d35f1e80
WN
123272014-02-11 Will Newton <will.newton@linaro.org>
12328
12329 * manual/probes.texi (Mathematical Function Probes): Use
12330 "triggered" instead of "hit".
12331
7b3436d4
WN
12332 * manual/probes.texi (Internal Probes): Add documentation
12333 of setjmp, longjmp and longjmp_target probes.
12334
b4f12ca3
WN
12335 * include/stap-probe.h: Add comment about probe argument
12336 format.
12337
c13a72b7
WN
12338 * malloc/mtrace.c (attribute_hidden): Remove unused macro
12339 definition. (tr_where, tr_freehook, tr_mallochook,
12340 tr_reallochook, tr_memalignhook): Use ANSI protoype.
12341
195b8165
DM
123422014-02-11 David S. Miller <davem@davemloft.net>
12343
12344 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
12345 processing int_tests.
12346
2ad7600b
JM
123472014-02-10 Joseph Myers <joseph@codesourcery.com>
12348
12349 * sysdeps/mips: Move directory from ports/sysdeps/mips.
12350 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
12351 * sysdeps/unix/sysv/linux/mips: Move directory from
12352 ports/sysdeps/unix/sysv/linux/mips.
12353 * README: Update listing for mips-*-linux-gnu and
12354 mips64-*-linux-gnu.
12355
73588a72
AS
123562014-02-10 Andreas Schwab <schwab@linux-m68k.org>
12357
12358 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
12359 * sysdeps/unix/sysv/linux/m68k: Move directory from
12360 ports/sysdeps/unix/sysv/linux/m68k.
12361 * README: Update listing for m68k-*-linux-gnu.
12362
4372980f
CM
123632014-02-10 Chris Metcalf <cmetcalf@tilera.com>
12364
12365 * sysdeps/tile: Move directory from ports/sysdeps/tile.
12366 * sysdeps/unix/sysv/linux/generic: Move directory from
12367 ports/sysdeps/unix/sysv/linux/generic.
12368 * sysdeps/unix/sysv/linux/tile: Move directory from
12369 ports/sysdeps/unix/sysv/linux/tile.
12370 * README: Update listing for tile*-*-linux-gnu.
12371
a1ffb40e
OB
123722014-02-10 Ondřej Bílka <neleai@seznam.cz>
12373
57f41c40
AS
12374 * assert/assert.c (__assert_fail_base): Use glibc_likely instead
12375 __builtin_expect.
a1ffb40e
OB
12376 * benchtests/bench-memmem.c (simple_memmem): Likewise.
12377 * catgets/open_catalog.c (__open_catalog): Likewise.
12378 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
12379 * debug/confstr_chk.c: Likewise.
12380 * debug/fread_chk.c (__fread_chk): Likewise.
12381 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
12382 * debug/getgroups_chk.c: Likewise.
12383 * debug/mbsnrtowcs_chk.c: Likewise.
12384 * debug/mbsrtowcs_chk.c: Likewise.
12385 * debug/mbstowcs_chk.c: Likewise.
12386 * debug/memcpy_chk.c: Likewise.
12387 * debug/memmove_chk.c: Likewise.
12388 * debug/mempcpy_chk.c: Likewise.
12389 * debug/memset_chk.c: Likewise.
12390 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
12391 * debug/strcat_chk.c (__strcat_chk): Likewise.
12392 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
12393 * debug/strncat_chk.c (__strncat_chk): Likewise.
12394 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
12395 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
12396 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
12397 * debug/wcpncpy_chk.c: Likewise.
12398 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
12399 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
12400 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
12401 * debug/wcsncpy_chk.c: Likewise.
12402 * debug/wcsnrtombs_chk.c: Likewise.
12403 * debug/wcsrtombs_chk.c: Likewise.
12404 * debug/wcstombs_chk.c: Likewise.
12405 * debug/wmemcpy_chk.c: Likewise.
12406 * debug/wmemmove_chk.c: Likewise.
12407 * debug/wmempcpy_chk.c: Likewise.
12408 * debug/wmemset_chk.c: Likewise.
12409 * dirent/scandirat.c (SCANDIRAT): Likewise.
12410 * dlfcn/dladdr1.c (dladdr1): Likewise.
12411 * dlfcn/dladdr.c (dladdr): Likewise.
12412 * dlfcn/dlclose.c (dlclose_doit): Likewise.
12413 * dlfcn/dlerror.c (__dlerror): Likewise.
12414 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
12415 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
12416 * dlfcn/dlopen.c (dlopen_doit): Likewise.
12417 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
12418 * dlfcn/dlsym.c (dlsym_doit): Likewise.
12419 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
12420 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
12421 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
12422 Likewise.
12423 * elf/dl-conflict.c: Likewise.
12424 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
12425 * elf/dl-dst.h: Likewise.
12426 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
12427 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
12428 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
12429 * elf/dl-init.c (call_init, _dl_init): Likewise.
12430 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
57f41c40
AS
12431 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
12432 (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
12433 Likewise.
a1ffb40e
OB
12434 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
12435 Likewise.
12436 * elf/dl-minimal.c (__libc_memalign): Likewise.
12437 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
12438 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
12439 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
12440 * elf/dl-sym.c (do_sym): Likewise.
57f41c40
AS
12441 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
12442 (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
a1ffb40e
OB
12443 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
12444 * elf/dl-writev.h (_dl_writev): Likewise.
12445 * elf/ldconfig.c (search_dir): Likewise.
57f41c40
AS
12446 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
12447 (dl_main): Likewise.
a1ffb40e
OB
12448 * elf/setup-vdso.h (setup_vdso): Likewise.
12449 * grp/compat-initgroups.c (compat_call): Likewise.
12450 * grp/fgetgrent.c (fgetgrent): Likewise.
12451 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
12452 * grp/putgrent.c (putgrent): Likewise.
12453 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
12454 Likewise.
12455 * hurd/hurdinit.c: Likewise.
12456 * iconvdata/8bit-gap.c (struct): Likewise.
12457 * iconvdata/ansi_x3.110.c : Likewise.
12458 * iconvdata/big5.c : Likewise.
12459 * iconvdata/big5hkscs.c : Likewise.
12460 * iconvdata/cp1255.c: Likewise.
12461 * iconvdata/cp1258.c : Likewise.
12462 * iconvdata/cp932.c : Likewise.
12463 * iconvdata/euc-cn.c: Likewise.
12464 * iconvdata/euc-jisx0213.c : Likewise.
12465 * iconvdata/euc-jp.c: Likewise.
12466 * iconvdata/euc-jp-ms.c : Likewise.
12467 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
12468 * iconvdata/gb18030.c : Likewise.
12469 * iconvdata/gbbig5.c (const): Likewise.
12470 * iconvdata/gbgbk.c: Likewise.
12471 * iconvdata/gbk.c : Likewise.
12472 * iconvdata/ibm1364.c : Likewise.
12473 * iconvdata/ibm930.c : Likewise.
12474 * iconvdata/ibm932.c: Likewise.
12475 * iconvdata/ibm933.c : Likewise.
12476 * iconvdata/ibm935.c : Likewise.
12477 * iconvdata/ibm937.c : Likewise.
12478 * iconvdata/ibm939.c : Likewise.
12479 * iconvdata/ibm943.c: Likewise.
12480 * iconvdata/iso_11548-1.c: Likewise.
12481 * iconvdata/iso-2022-cn.c : Likewise.
12482 * iconvdata/iso-2022-cn-ext.c : Likewise.
12483 * iconvdata/iso-2022-jp-3.c: Likewise.
12484 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
12485 * iconvdata/iso-2022-kr.c : Likewise.
12486 * iconvdata/iso646.c (gconv_end): Likewise.
12487 * iconvdata/iso_6937-2.c : Likewise.
12488 * iconvdata/iso_6937.c : Likewise.
12489 * iconvdata/iso8859-1.c: Likewise.
12490 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
12491 * iconvdata/shift_jisx0213.c : Likewise.
12492 * iconvdata/sjis.c : Likewise.
12493 * iconvdata/t.61.c : Likewise.
12494 * iconvdata/tcvn5712-1.c : Likewise.
12495 * iconvdata/tscii.c: Likewise.
12496 * iconvdata/uhc.c : Likewise.
12497 * iconvdata/unicode.c (gconv_end): Likewise.
12498 * iconvdata/utf-16.c (gconv_end): Likewise.
12499 * iconvdata/utf-32.c (gconv_end): Likewise.
12500 * iconvdata/utf-7.c (base64): Likewise.
12501 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
12502 * iconv/gconv_close.c (__gconv_close): Likewise.
12503 * iconv/gconv_open.c (__gconv_open): Likewise.
57f41c40
AS
12504 * iconv/gconv_simple.c (internal_ucs4_loop_single)
12505 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
12506 (ucs4_internal_loop_single, internal_ucs4le_loop_single)
12507 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
12508 (ucs4le_internal_loop_single): Likewise.
a1ffb40e
OB
12509 * iconv/iconv.c (iconv): Likewise.
12510 * iconv/iconv_close.c: Likewise.
12511 * iconv/loop.c (SINGLE): Likewise.
12512 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
12513 * include/atomic.h: Likewise.
12514 * inet/inet6_option.c (option_alloc): Likewise.
12515 * intl/bindtextdom.c (set_binding_values): Likewise.
12516 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
12517 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
12518 * intl/localealias.c (read_alias_file): Likewise.
12519 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
57f41c40
AS
12520 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
12521 (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
a1ffb40e
OB
12522 * libio/fmemopen.c (fmemopen): Likewise.
12523 * libio/iofgets.c (_IO_fgets): Likewise.
12524 * libio/iofgets_u.c (fgets_unlocked): Likewise.
12525 * libio/iofgetws.c (fgetws): Likewise.
12526 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
12527 * libio/iogetdelim.c (_IO_getdelim): Likewise.
57f41c40
AS
12528 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
12529 (adjust_wide_data, _IO_wfile_seekoff): Likewise.
a1ffb40e
OB
12530 * locale/findlocale.c (_nl_find_locale): Likewise.
12531 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
12532 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
12533 Likewise.
12534 * locale/setlocale.c (setlocale): Likewise.
12535 * login/programs/pt_chown.c (main): Likewise.
12536 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
12537 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
57f41c40
AS
12538 * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
12539 (mmap, mmap64, mremap, munmap): Likewise.
a1ffb40e
OB
12540 * math/e_exp2l.c: Likewise.
12541 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
12542 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
12543 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
12544 * math/s_catan.c (__catan): Likewise.
12545 * math/s_catanf.c (__catanf): Likewise.
12546 * math/s_catanh.c (__catanh): Likewise.
12547 * math/s_catanhf.c (__catanhf): Likewise.
12548 * math/s_catanhl.c (__catanhl): Likewise.
12549 * math/s_catanl.c (__catanl): Likewise.
12550 * math/s_ccosh.c (__ccosh): Likewise.
12551 * math/s_ccoshf.c (__ccoshf): Likewise.
12552 * math/s_ccoshl.c (__ccoshl): Likewise.
12553 * math/s_cexp.c (__cexp): Likewise.
12554 * math/s_cexpf.c (__cexpf): Likewise.
12555 * math/s_cexpl.c (__cexpl): Likewise.
12556 * math/s_clog10.c (__clog10): Likewise.
12557 * math/s_clog10f.c (__clog10f): Likewise.
12558 * math/s_clog10l.c (__clog10l): Likewise.
12559 * math/s_clog.c (__clog): Likewise.
12560 * math/s_clogf.c (__clogf): Likewise.
12561 * math/s_clogl.c (__clogl): Likewise.
12562 * math/s_csin.c (__csin): Likewise.
12563 * math/s_csinf.c (__csinf): Likewise.
12564 * math/s_csinh.c (__csinh): Likewise.
12565 * math/s_csinhf.c (__csinhf): Likewise.
12566 * math/s_csinhl.c (__csinhl): Likewise.
12567 * math/s_csinl.c (__csinl): Likewise.
12568 * math/s_csqrt.c (__csqrt): Likewise.
12569 * math/s_csqrtf.c (__csqrtf): Likewise.
12570 * math/s_csqrtl.c (__csqrtl): Likewise.
12571 * math/s_ctan.c (__ctan): Likewise.
12572 * math/s_ctanf.c (__ctanf): Likewise.
12573 * math/s_ctanh.c (__ctanh): Likewise.
12574 * math/s_ctanhf.c (__ctanhf): Likewise.
12575 * math/s_ctanhl.c (__ctanhl): Likewise.
12576 * math/s_ctanl.c (__ctanl): Likewise.
12577 * math/w_pow.c: Likewise.
12578 * math/w_powf.c: Likewise.
12579 * math/w_powl.c: Likewise.
12580 * math/w_scalb.c (sysv_scalb): Likewise.
12581 * math/w_scalbf.c (sysv_scalbf): Likewise.
12582 * math/w_scalbl.c (sysv_scalbl): Likewise.
12583 * misc/error.c (error_tail): Likewise.
12584 * misc/pselect.c (__pselect): Likewise.
12585 * nis/nis_callback.c (__nis_create_callback): Likewise.
12586 * nis/nis_call.c (__nisfind_server): Likewise.
12587 * nis/nis_creategroup.c (nis_creategroup): Likewise.
12588 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
12589 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
12590 * nis/nis_getservlist.c (nis_getservlist): Likewise.
12591 * nis/nis_lookup.c (nis_lookup): Likewise.
12592 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
57f41c40
AS
12593 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
12594 (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
a1ffb40e 12595 * nis/nis_xdr.c (xdr_endpoint): Likewise.
57f41c40
AS
12596 * nis/nss_compat/compat-grp.c (getgrent_next_file)
12597 (internal_getgrnam_r, internal_getgrgid_r): Likewise.
12598 * nis/nss_compat/compat-initgroups.c (add_group)
12599 (internal_getgrent_r): Likewise.
12600 * nis/nss_compat/compat-pwd.c (getpwent_next_file)
12601 (internal_getpwnam_r, internal_getpwuid_r): Likewise.
12602 * nis/nss_compat/compat-spwd.c (getspent_next_file)
12603 (internal_getspnam_r): Likewise.
12604 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
12605 (_nss_nis_getaliasbyname_r): Likewise.
12606 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
12607 (_nss_nis_getntohost_r): Likewise.
12608 * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
12609 (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
12610 (_nss_nis_getgrgid_r): Likewise.
12611 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
12612 (internal_nis_gethostent_r, internal_gethostbyname2_r)
12613 (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
12614 (_nss_nis_gethostbyname4_r): Likewise.
12615 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
12616 (initgroups_netid): Likewise.
a1ffb40e 12617 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
57f41c40
AS
12618 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
12619 (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
12620 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
12621 (_nss_nis_getprotobynumber_r): Likewise.
12622 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
12623 (_nss_nis_getsecretkey): Likewise.
12624 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
12625 (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
12626 (_nss_nis_getpwuid_r): Likewise.
12627 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
12628 (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
12629 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
12630 (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
12631 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
12632 (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
a1ffb40e
OB
12633 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
12634 Likewise.
57f41c40
AS
12635 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
12636 (_nss_nisplus_getntohost_r): Likewise.
12637 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
12638 (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
12639 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
12640 (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
a1ffb40e 12641 Likewise.
57f41c40
AS
12642 * nis/nss_nisplus/nisplus-initgroups.c
12643 (_nss_nisplus_initgroups_dyn): Likewise.
12644 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
12645 (_nss_nisplus_getnetbyaddr_r): Likewise.
12646 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
12647 (_nss_nisplus_getprotobynumber_r): Likewise.
12648 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
12649 (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
a1ffb40e
OB
12650 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
12651 Likewise.
57f41c40
AS
12652 * nis/nss_nisplus/nisplus-service.c
12653 (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
12654 (_nss_nisplus_getservbyport_r): Likewise.
12655 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
12656 (_nss_nisplus_getspnam_r): Likewise.
12657 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
12658 Likewise.
a1ffb40e
OB
12659 * nscd/aicache.c (addhstaiX): Likewise.
12660 * nscd/cache.c (cache_search, prune_cache): Likewise.
57f41c40
AS
12661 * nscd/connections.c (register_traced_file, send_ro_fd)
12662 (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
12663 (main_loop_epoll): Likewise.
a1ffb40e
OB
12664 * nscd/grpcache.c (addgrbyX): Likewise.
12665 * nscd/hstcache.c (addhstbyX): Likewise.
12666 * nscd/initgrcache.c (addinitgroupsX): Likewise.
12667 * nscd/mem.c (gc, mempool_alloc): Likewise.
57f41c40
AS
12668 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
12669 (addinnetgrX): Likewise.
12670 * nscd/nscd-client.h (__nscd_acquire_maplock)
12671 (__nscd_drop_map_ref): Likewise.
a1ffb40e
OB
12672 * nscd/nscd_getai.c (__nscd_getai): Likewise.
12673 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
12674 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
12675 Likewise.
12676 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
12677 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
57f41c40
AS
12678 * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
12679 (__nscd_get_map_ref): Likewise.
a1ffb40e 12680 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
57f41c40
AS
12681 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
12682 Likewise.
a1ffb40e
OB
12683 * nscd/pwdcache.c (addpwbyX): Likewise.
12684 * nscd/selinux.c (preserve_capabilities): Likewise.
12685 * nscd/servicescache.c (addservbyX): Likewise.
12686 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
12687 * posix/fnmatch.c (fnmatch): Likewise.
12688 * posix/getopt.c (_getopt_internal_r): Likewise.
12689 * posix/glob.c (glob, glob_in_dir): Likewise.
12690 * posix/wordexp.c (exec_comm_child): Likewise.
57f41c40
AS
12691 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
12692 (getanswer_r, gaih_getanswer_slice): Likewise.
a1ffb40e
OB
12693 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
12694 * resolv/res_init.c: Likewise.
12695 * resolv/res_mkquery.c (res_nmkquery): Likewise.
12696 * resolv/res_query.c (__libc_res_nquery): Likewise.
12697 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
12698 Likewise.
12699 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
12700 * stdio-common/perror.c (perror): Likewise.
12701 * stdio-common/printf_fp.c (___printf_fp): Likewise.
12702 * stdio-common/tmpnam.c (tmpnam): Likewise.
12703 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
12704 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
57f41c40
AS
12705 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
12706 Likewise.
a1ffb40e
OB
12707 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
12708 * stdlib/putenv.c (putenv): Likewise.
12709 * stdlib/setenv.c (__add_to_environ): Likewise.
12710 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
12711 * stdlib/strtol_l.c (INTERNAL): Likewise.
12712 * string/memmem.c (memmem): Likewise.
12713 * string/strerror.c (strerror): Likewise.
12714 * string/strnlen.c (__strnlen): Likewise.
12715 * string/test-memmem.c (simple_memmem): Likewise.
12716 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
12717 * sunrpc/pm_getport.c (__get_socket): Likewise.
12718 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
12719 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
57f41c40
AS
12720 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
12721 (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
a1ffb40e
OB
12722 Likewise.
12723 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
12724 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
12725 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
12726 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
12727 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
57f41c40
AS
12728 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
12729 Likewise.
12730 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
12731 Likewise.
a1ffb40e
OB
12732 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
12733 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
12734 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
12735 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
12736 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
12737 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
12738 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
12739 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
12740 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
12741 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
12742 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
12743 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
12744 Likewise.
12745 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
12746 Likewise.
12747 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
12748 Likewise.
12749 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
12750 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
12751 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
12752 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
12753 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
12754 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
12755 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
12756 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
12757 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
12758 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
12759 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
12760 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
12761 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
12762 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
12763 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
57f41c40
AS
12764 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
12765 Likewise.
a1ffb40e
OB
12766 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
12767 Likewise.
12768 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
12769 Likewise.
12770 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
12771 Likewise.
12772 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
12773 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
12774 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
12775 Likewise.
12776 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
12777 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
12778 * sysdeps/posix/opendir.c (__opendirat): Likewise.
12779 * sysdeps/posix/sleep.c: Likewise.
12780 * sysdeps/posix/tempname.c: Likewise.
12781 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
12782 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
12783 Likewise.
57f41c40
AS
12784 * sysdeps/powerpc/powerpc32/dl-machine.h
12785 (elf_machine_runtime_setup, elf_machine_rela): Likewise.
a1ffb40e
OB
12786 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
12787 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
12788 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
12789 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
12790 Likewise.
12791 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
12792 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
12793 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
12794 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
12795 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
a1ffb40e
OB
12796 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
12797 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
12798 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
12799 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
12800 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
12801 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
12802 (elf_machine_lazy_rel): Likewise.
a1ffb40e 12803 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
12804 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
12805 (elf_machine_lazy_rel): Likewise.
a1ffb40e
OB
12806 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
12807 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
12808 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
12809 * sysdeps/unix/grantpt.c (grantpt): Likewise.
12810 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
12811 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
12812 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
12813 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
12814 Likewise.
12815 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
12816 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
12817 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
12818 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
12819 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
12820 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
12821 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
12822 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
12823 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
12824 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
12825 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
12826 Likewise.
12827 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
12828 (__posix_fallocate64_l64): Likewise.
12829 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
12830 (posix_fallocate): Likewise.
57f41c40
AS
12831 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
12832 Likewise.
a1ffb40e 12833 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
57f41c40
AS
12834 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
12835 (getifaddrs_internal): Likewise.
a1ffb40e
OB
12836 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
12837 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
12838 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
12839 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
12840 * sysdeps/unix/sysv/linux/posix_fallocate64.c
12841 (__posix_fallocate64_l64): Likewise.
12842 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
12843 Likewise.
12844 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
57f41c40
AS
12845 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
12846 (__get_clockfreq): Likewise.
a1ffb40e
OB
12847 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
12848 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
12849 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
12850 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
12851 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
12852 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
12853 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
12854 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
12855 Likewise.
12856 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
12857 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
12858 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
12859 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
12860 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
12861 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
12862 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
12863 Likewise.
12864 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
12865 (posix_fallocate): Likewise.
12866 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
12867 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
12868 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
12869 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
12870 (elf_machine_rela, elf_machine_rela_relative)
12871 (elf_machine_lazy_rel): Likewise.
a1ffb40e
OB
12872 * time/asctime.c (asctime_internal): Likewise.
12873 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
12874 * time/tzset.c (__tzset_parse_tz): Likewise.
12875 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
12876 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
12877 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
12878 * wcsmbs/wcsmbsload.h: Likewise.
12879
f3d338c9
OB
12880 [BZ #15894]
12881 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
12882
57f41c40
AS
12883 * malloc/arena.c (grow_heap, get_free_list, reused_arena)
12884 (arena_get2): Remove THREAD_STATS conditionals.
12885 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
12886 (__malloc_stats, int): Likewise.
bdfe308a 12887
d674667c
MF
128882014-02-08 Mike Frysinger <vapier@gentoo.org>
12889
12890 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
12891 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
12892
6349768c
MF
12893 * manual/setjmp.texi: Fix typos/grammar errors.
12894
0b7c7473
MF
12895 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
12896 Only return early when n is <= 0. Delete unused return statement.
12897
ac8cc9e3
MF
12898 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
12899 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
12900 * debug/tst-longjmp_chk3.c: New file.
12901
c5bb8e23
MF
12902 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
12903 (test_main): Replace code with set_fortify_handler call.
12904 * debug/test-strcpy_chk.c: Likewise.
12905 * debug/tst-chk1.c: Likewise.
12906 * debug/tst-longjmp_chk.c: Likewise.
12907 * test-skeleton.c: Include fcntl.h & paths.h
12908 (set_fortify_handler): Define.
12909
10444e42
MF
12910 * debug/tst-longjmp_chk.c: Add header comment and include
12911 ../test-skeleton.c.
12912 (do_test): Mark static.
12913 (TEST_FUNCTION): Define.
12914
1e805e8d
MF
12915 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
12916 (IP_PMTUDISC_INTERFACE): Likewise.
12917 (IP_MULTICAST_IF): Likewise.
12918 (IP_MULTICAST_TTL): Likewise.
12919 (IP_MULTICAST_LOOP): Likewise.
12920 (IP_ADD_MEMBERSHIP): Likewise.
12921 (IP_DROP_MEMBERSHIP): Likewise.
12922 (IP_UNBLOCK_SOURCE): Likewise.
12923 (IP_BLOCK_SOURCE): Likewise.
12924 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
12925 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
12926 (IP_MSFILTER): Likewise.
12927 (MCAST_JOIN_GROUP): Likewise.
12928 (MCAST_BLOCK_SOURCE): Likewise.
12929 (MCAST_UNBLOCK_SOURCE): Likewise.
12930 (MCAST_LEAVE_GROUP): Likewise.
12931 (MCAST_JOIN_SOURCE_GROUP): Likewise.
12932 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
12933 (MCAST_MSFILTER): Likewise.
12934 (IP_MULTICAST_ALL): Likewise.
12935 (IP_UNICAST_IF): Likewise.
12936
73f79bb7
MF
12937 * timezone/Makefile: Delete $(have-ksh) check.
12938 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
12939 * timezone/tzselect.ksh: Add +x mode bits.
12940
8da79b60
MF
12941 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
12942 (ANON_INODE_FS_MAGIC): Likewise.
12943 (BDEVFS_MAGIC): Likewise.
12944 (BINFMTFS_MAGIC): Likewise.
12945 (BTRFS_TEST_MAGIC): Likewise.
12946 (CRAMFS_MAGIC_WEND): Likewise.
12947 (DEBUGFS_MAGIC): Likewise.
12948 (ECRYPTFS_SUPER_MAGIC): Likewise.
12949 (EXT3_SUPER_MAGIC): Likewise.
12950 (EXT4_SUPER_MAGIC): Likewise.
12951 (FUTEXFS_SUPER_MAGIC): Likewise.
12952 (HOSTFS_SUPER_MAGIC): Likewise.
12953 (HUGETLBFS_MAGIC): Likewise.
12954 (MINIX3_SUPER_MAGIC): Likewise.
12955 (MTD_INODE_FS_MAGIC): Likewise.
12956 (NILFS_SUPER_MAGIC): Likewise.
12957 (OPENPROM_SUPER_MAGIC): Likewise.
12958 (PIPEFS_MAGIC): Likewise.
12959 (PSTOREFS_MAGIC): Likewise.
12960 (QNX6_SUPER_MAGIC): Likewise.
12961 (RAMFS_MAGIC): Likewise.
12962 (REISERFS_SUPER_MAGIC_STRING): Likewise.
12963 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
12964 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
12965 (SECURITYFS_MAGIC): Likewise.
12966 (SELINUX_MAGIC): Likewise.
12967 (SMACK_MAGIC): Likewise.
12968 (SOCKFS_MAGIC): Likewise.
12969 (SQUASHFS_MAGIC): Likewise.
12970 (STACK_END_MAGIC): Likewise.
12971 (TMPFS_MAGIC): Likewise.
12972 (USBDEVICE_SUPER_MAGIC): Likewise.
12973 (V9FS_MAGIC): Likewise.
12974 (XENFS_SUPER_MAGIC): Likewise.
12975 (CRAMFS_MAGIC): Fix typo in comment.
12976 (EXT2_SUPER_MAGIC): Update comment.
12977 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
12978
464263cc
JM
129792014-02-08 Joseph Myers <joseph@codesourcery.com>
12980
c6bfe5c4
JM
12981 * sysdeps/arm: Move directory from ports/sysdeps/arm.
12982 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
12983 * sysdeps/unix/sysv/linux/arm: Move directory from
12984 ports/sysdeps/unix/sysv/linux/arm.
12985 * README: Update listing for arm-*-linux-gnueabi.
12986
464263cc
JM
12987 * README: Remove mention of am33.
12988
32749f6c
RM
129892014-02-07 Roland McGrath <roland@hack.frob.com>
12990
12991 * bits/sigset.h (__sigemptyset): Use a statement expression rather
12992 than the comma operator, to avoid "rhs of comma has no effect"
12993 compiler warnings.
12994 (__sigfillset, __sigandset, __sigorset): Likewise.
12995 * include/signal.h (__sigemptyset): Likewise.
12996 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
12997
d5b396c1
AM
129982014-02-07 Allan McRae <allan@archlinux.org>
12999
13000 * version.h (RELEASE): Set to "development".
13001 (VERSION): Set to "2.19.90"
13002 * NEWS: Add 2.20 section.
13003
3bfff2ed
CD
130042014-02-06 Carlos O'Donell <carlos@redhat.com>
13005
13006 [BZ #16529]
13007 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
13008
ee7cc385
SP
130092014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
13010
13011 * manual/contrib.texi: Update entry for Carlos O'Donell,
13012 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
13013
f877c4f2
CD
130142014-02-05 Carlos O'Donell <carlos@rehdat.com>
13015
27e839f6
CD
13016 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
13017
f877c4f2
CD
13018 * sysdeps/unix/sysv/linux/kernel-features.h
13019 [__LINUX_KERNEL_VERSION >= 0x020621]
13020 (__ASSUME_PROC_PID_TASK_COMM): Define.
13021
68159946
SP
130222014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
13023
ba17cdbd
SP
13024 [BZ #16398]
13025 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
13026 conversion when destination buffer does not have enough space.
13027 * libio/tst-ftell-partial-wide.c: New test case.
13028 * libio/Makefile (tests): Add tst-ftell-partial-wide.
13029
68159946
SP
13030 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
13031 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
13032 Leonard and Allan McRae.
13033
2b528732
DM
130342014-02-04 David S. Miller <davem@davemloft.net>
13035
13036 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
13037 32-bit.
13038
0ff82463
AZ
130392014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13040
57f41c40
AS
13041 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
13042 New file
c01603f7
AZ
13043 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
13044 New file
57f41c40
AS
13045 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
13046 New file.
13047 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
13048 New file.
c01603f7
AZ
13049 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
13050 New file.
57f41c40
AS
13051 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
13052 New file.
13053 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
13054 New file.
c01603f7
AZ
13055 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
13056 New file.
13057 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
13058 New file.
13059 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
13060 New file.
13061 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
13062 New file.
13063 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
13064 New file.
13065 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
13066 New file.
13067
130682014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13069
0ff82463
AZ
13070 * nptl/shlib-versions: Change powerpc*le start to 2.17.
13071 * shlib-versions: Likewise.
13072
1695c773
AZ
130732014-02-04 Roland McGrath <roland@hack.frob.com>
13074 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13075
13076 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
13077 (abilist-pattern): New variable, set to %-le.abilist.
13078
13079 * Makerules (abilist-pattern): New variable.
13080 (vpath): Use $(abilist-pattern) in place of %.abilist.
13081 (check-abi-% pattern rule): Likewise.
13082 (check-abi, update-abi): Likewise.
13083
6c0ce4b4
EW
130842014-02-04 Eric Wong <normalperson@yhbt.net>
13085
13086 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13087
481e3524
CD
130882014-02-03 Carlos O'Donell <carlos@redhat.com>
13089
13090 * manual/startup.texi: Add next, previous, and top entries for
13091 the `Program Arguments' and `Environment Variables' nodes.
13092
375592d3
AO
130932014-02-03 Alexandre Oliva <aoliva@redhat.com>
13094
13095 * manual/macros.texi: Add comments before MTASC-safety macros.
13096
f54838ba
AO
13097 * manual/users.texi: Document MTASC-safety properties.
13098
57f41c40
AS
13099 * manual/threads.texi (pthread_key_create, pthread_key_delete)
13100 (pthread_getspecific, pthread_setspecific): Format with
909e12ad
AO
13101 @deftypefun, and add @safety note.
13102 * manual/signal.texi: Move comments that analyze the above
13103 functions to their home place.
13104
fd3daba4
AM
131052014-02-03 Allan McRae <allan@archlinux.org>
13106
13107 * po/sl.po: Update Slovenian translation from translation project.
13108
597636d7
AO
131092014-02-02 Alexandre Oliva <aoliva@redhat.com>
13110
13111 * manual/time.texi (timegm): Add missing blank after @c.
13112 Reported by Joseph Myers <joseph@codesourcery.com>.
13113
ee196e3c
AO
131142014-02-01 Alexandre Oliva <aoliva@redhat.com>
13115
13116 * manual/check-safety.sh: New.
13117 * manual/Makefile ($(objpfx)stamp-summary): Run it.
13118
f8d529d5
AO
13119 * manual/terminal.texi: Document MTASC-safety properties.
13120
de55fdf4
AO
13121 * manual/filesys.texi: Document MTASC-safety properties.
13122
c3299c08
AO
13123 * manual/errno.texi: Document MTASC-safety properties.
13124
06e90b14
AO
13125 * manual/intro.texi: Document safety identifiers and
13126 conditionals.
13127
1acd4371
AO
13128 * manual/string.texi (wcstok): Fix prototype.
13129 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
13130
23e5b8cb
AO
13131 * manual/time.texi: Document MTASC-safety properties.
13132
11087373
AO
13133 * manual/string.texi: Document MTASC-safety properties.
13134
5da2c93d
AO
13135 * manual/threads.texi: Document MTASC-safety properties.
13136
171e9210
AO
13137 * manual/stdio.texi: Document MTASC-safety properties.
13138
d9e02532
AO
13139 * manual/syslog.texi: Document MTASC-safety properties.
13140
6af8bab7
AO
13141 * manual/sysinfo.texi: Document MTASC-safety properties.
13142
663b02d7
AO
13143 * manual/startup.texi: Document MTASC-safety properties.
13144
973f180b
AO
13145 * manual/socket.texi: Document MTASC-safety properties.
13146
8f3c25c8
AO
13147 * manual/signal.texi: Document MTASC-safety properties.
13148
542210fb
AO
131492014-01-31 Alexandre Oliva <aoliva@redhat.com>
13150
13151 * manual/setjmp.texi: Document MTASC-safety properties.
13152
433c45a2
AO
13153 * manual/search.texi: Document MTASC-safety properties.
13154
c8ce789c
AO
13155 * manual/resource.texi: Document MTASC-safety properties.
13156
19f5d29c
AO
13157 * manual/process.texi: Document MTASC-safety properties.
13158
e2dfb7f4
AO
13159 * manual/platform.texi: Document MTASC-safety properties.
13160
8c1413f5
AO
13161 * manual/pipe.texi: Document MTASC-safety properties.
13162
03483ada
AO
13163 * manual/pattern.texi: Document MTASC-safety properties.
13164
29e7e2df
AO
13165 * manual/message.texi: Document MTASC-safety properties.
13166
9f529d7c
AO
13167 [BZ #12751]
13168 * manual/memory.texi: Document MTASC-safety properties.
13169
27aaa791
AO
13170 * manual/math.texi: Document MTASC-safety properties.
13171
f2d58726
AO
13172 * manual/locale.texi: Document MTASC-safety properties.
13173
2cc3615c
AO
13174 * manual/llio.texi: Document MTASC-safety properties.
13175
d9f0ec97
AO
13176 * manual/libdl.texi: New.
13177
e7c4409a
AO
13178 * manual/lang.texi: Document MTASC-safety properties.
13179
27bdc63c
AO
13180 * manual/job.texi: Document MTASC-safety properties.
13181
a7b90ea9
AO
13182 * manual/getopt.texi: Document MTASC-safety properties.
13183
c49130e3
AO
13184 * manual/ctype.texi: Document MTASC-safety properties.
13185
0d23a5c1
MR
131862014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
13187
13188 [BZ #16046]
13189 * csu/libc-tls.c (static_map): Remove variable.
13190 (__libc_setup_tls): Use main executable's link map for TLS data.
13191 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
13192 casing for LM_ID_BASE and GL(dl_nns).
13193 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
13194 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
13195 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
13196 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
13197 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
13198 member.
13199 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
13200 l_phnum members.
13201
0037bb60
AO
132022014-01-30 Alexandre Oliva <aoliva@redhat.com>
13203
13204 * manual/debug.texi: Document MTASC-safety properties.
13205
409e00bd
L
132062014-01-29 H.J. Lu <hongjiu.lu@intel.com>
13207
13208 [BZ #16510]
13209 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
13210 of __x86_64__ when disabling x87 inline functions.
13211
86e60666
AO
132122014-01-29 Alexandre Oliva <aoliva@redhat.com>
13213
13214 * manual/charset.texi: Document MTASC-safety properties.
13215
76167637
AO
13216 * manual/crypt.texi: Document MTASC-safety properties.
13217
e567f2a0
AO
13218 * manual/conf.texi: Document MTASC-safety properties.
13219
b719dafd
AO
13220 * manual/arith.texi: Document MTASC-safety properties.
13221
4a16c662
AO
13222 * manual/argp.texi: Document MTASC-safety properties.
13223
0a57b83e
AO
13224 * manual/macros.texi: Introduce macros to document multi
13225 thread, asynchronous signal and asynchronous cancellation
13226 safety properties.
13227 * manual/intro.texi: Introduce the properties themselves.
13228
feab2397
KK
132292014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
13230
13231 * sysdeps/sh/sh4/Makefile: New file.
13232
1c0d11bc
AS
132332014-01-27 Andreas Schwab <schwab@linux-m68k.org>
13234
13235 * math/gen-libm-test.pl ($srcdir): New variable.
13236 ($auto_input): Use it.
13237
af37a8a3
SP
132382014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
13239
d7b00f98
SP
13240 [BZ #16506]
13241 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
13242 access beyond array bounds when parsing netgroups file.
13243
af37a8a3
SP
13244 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
13245 the old buffer before realloc.
13246
0c00f062
AM
132472014-01-27 Allan McRae <allan@archlinux.org>
13248
13249 * po/fr.po: Update French translation from translation project.
13250
7d69a1b0
KK
132512014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
13252
13253 * sysdeps/sh/libm-test-ulps: Regenerate.
13254
6e697ff7
DM
132552014-01-24 David S. Miller <davem@davemloft.net>
13256
13257 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
13258
9cadb35c
KK
132592014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
13260
13261 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
13262 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
13263
5d41dadf
SP
132642013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
13265
13266 [BZ #16474]
13267 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
13268 string pointers after reallocation.
13269
0bad441c
KK
132702014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
13271
13272 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
13273 __SH4A__ instead of __SH_FPU_ANY__.
13274
7007c661
KK
132752014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
13276
13277 * sysdeps/sh/fpu_control.h: New file.
13278 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
13279 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
13280 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
13281 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
13282 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
13283 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
13284 * sysdeps/sh/sys/ucontext.h: Remove.
13285 * sysdeps/sh/sys: Remove directory.
13286
0f0c35e4
AK
132872014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13288
13289 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
13290 s390/sys/ucontext.h.
13291 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
13292 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
13293
4959e284
L
132942014-01-20 H.J. Lu <hongjiu.lu@intel.com>
13295
13296 [BZ #15605]
13297 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
13298
d98720e0
AZ
132992014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13300
13301 [BZ#16431]
13302 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
13303 Adjust the vDSO correctly for internal calls.
13304 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
13305
91cbd0bc
AM
133062014-01-20 Allan McRae <allan@archlinux.org>
13307
13308 * po/ca.po: Update Catalan translation from translation project.
13309
7a02cfad
MF
133102014-01-16 Mike Frysinger <vapier@gentoo.org>
13311
13312 * sysdeps/s390/sotruss-lib.c: New file.
13313
736c304a
AZ
133142014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13315
13316 [BZ#16430]
6e077ee5 13317 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
736c304a
AZ
13318 (__GI___gettimeofday): Alias for a different internal symbol to avoid
13319 local calls issues by not having a PLT stub required for IFUNC calls.
13320 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
13321
94d0cea0
JM
133222014-01-16 Joseph Myers <joseph@codesourcery.com>
13323
13324 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
13325 * math/test-fpucw-static.c: Likewise.
13326
980cb518
SP
133272013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
13328
13329 [BZ #16453]
13330 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
13331
2393fc01
AZ
133322014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13333
13334 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
13335 implementation for powerpc.
13336
d359bcc2
OB
133372014-01-15 Ondřej Bílka <neleai@seznam.cz>
13338
13339 [BZ #14782]
13340 * sysdeps/posix/system.c (__libc_system): Do not enable
13341 asynchronous cancellation.
13342
7beb48cb
AK
133432014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13344
13345 [BZ #16427]
13346 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
13347 handling only for numbers special also in the IEEE case.
13348
c20d5bf5
AK
133492014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13350
13351 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
13352
e83bd4ee
AM
133532014-01-11 Allan McRae <allan@archlinux.org>
13354
76d0ea69
AM
13355 * po/bg.po: Update Bulgarian translation from translation project.
13356
e83bd4ee
AM
13357 * po/de.po: Update German translation from translation project.
13358
bc2ba20a
RM
133592014-01-10 Roland McGrath <roland@hack.frob.com>
13360
13361 * sysdeps/generic/gcc-compat.h: New file.
13362
649ecea2
SP
133632014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
13364
13365 * benchtests/asin-inputs: Correct slow inputs.
13366 * benchtests/acos-inputs: Likewise.
13367
1b19c006
AM
133682014-01-10 Allan McRae <allan@archlinux.org>
13369
a46dab08
AM
13370 * po:sv.po: Update Swedish translation from translation project.
13371
421df74a
AM
13372 * po/vi.po: Update Vietnamese translation from translation project.
13373
d61c51a7
AM
13374 * po/eo.po: Update Esperanto translation from translation project.
13375
0339a319
AM
13376 * po/cs.po: Update Czech translation from translation project.
13377
94ad3e99
AM
13378 * po/nl.po: Update Dutch translation from translation project.
13379
e349ca71
AM
13380 * po/pl.po: Update Polish translation from translation project.
13381
ddf930c1
AM
13382 * po/ru.po: Update Russian translation from translation project.
13383
1b19c006
AM
13384 * po/uk.po: Update Ukrainian translation from translation project.
13385
9f236c49
BM
133862014-01-08 Brooks Moses <bmoses@google.com>
13387
13388 * elf/dl-load.c: Fix comment typo.
13389
cd6701cf
CD
133902014-01-08 Carlos O'Donell <carlos@redhat.com>
13391
13392 * po/header.pot: Rename to...
13393 * po/pot.header: ... this.
13394 * po/Makefile: Use pot.header.
13395
66671c84
YK
133962014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
13397 Maxim Kuvyrkov <maxim@kugelworks.com>
13398
13399 [BZ #16394]
cd6701cf
CD
13400 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
13401 SRC and DEST against LEN.
66671c84 13402
38f34581
AZ
134032014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13404
13405 [BZ #16414]
13406 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
13407 implementation.
13408 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
13409
134102014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3ff6304e
AZ
13411
13412 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13413
4c327f2a
JM
134142014-01-08 Joseph Myers <joseph@codesourcery.com>
13415
13416 [BZ #16408]
13417 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
13418 for large positive arguments.
13419
b821f414
JM
134202014-01-07 Joseph Myers <joseph@codesourcery.com>
13421
1f0f2067
JM
13422 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
13423
a5a326f6
JM
13424 * math/auto-libm-test-in: Mark various tests with
13425 xfail-rounding:ldbl-128ibm.
13426 * math/auto-libm-test-out: Regenerated.
13427
b821f414
JM
13428 [BZ #16407]
13429 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
13430 Increase overflow threshold.
13431
94c8a4bc
OB
134322014-01-07 Ondřej Bílka <neleai@seznam.cz>
13433
13434 [BZ #14286]
13435 * stdio-common/vfprintf.c: Check for integer overflow.
13436
87ded0c3
AK
134372014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13438
13439 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
13440 the first argument and return value of __tls_get_addr_internal.
13441
c5eebdd0
AK
134422014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13443
13444 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
13445 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
13446
05d138ef
AK
134472014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13448
13449 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
13450 * sysdeps/s390/rtld-global-offsets.sym: New file.
13451 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
13452 GLIBC_2.19 symbol.
13453 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
13454 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
13455 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
13456 ... this.
13457 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
13458 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
13459 ... this.
13460 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
13461 Regenerate.
13462 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
13463 Regenerate.
13464 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
13465 halfs of GPRs for high_gprs contexts.
13466 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
13467 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
13468 field.
13469 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
13470 uc_flags field.
13471 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
13472 64 bit versions:
13473 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
13474 for high GPRs (uc_high_gprs) and for future extensions
13475 (__reserved).
13476 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
13477 for future extensions (__reserved).
13478 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
13479 64 bit versions:
13480 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
13481 SC_HIGHGPRS offset definition.
13482 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
13483 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
13484
93a45ff1
AK
13485 * Versions.def: Add GLIBC_2.19 for libpthread.
13486 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
13487 siglongjmp for libpthread with GLIBC_2.19 symver.
13488 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
13489 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
13490 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
13491 * sysdeps/s390/__longjmp.c: New file.
13492 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
13493 * sysdeps/s390/longjmp.c: New file.
13494 * sysdeps/s390/setjmp.S: New file.
13495 * sysdeps/s390/sigjmp.S: New file.
13496 * sysdeps/s390/v1-longjmp.c: New file.
13497 * sysdeps/s390/v1-setjmp.h: New file.
13498 * sysdeps/s390/v1-sigjmp.c: New file.
13499 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
13500 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
13501 GLIBC_2.19 version.
13502 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
13503 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
13504 versioned symbols for ____longjmp_chk.
13505 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
13506 Likewise.
13507 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
13508 Regenerate.
13509 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
13510 Regenerate.
13511 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
13512 Regenerate.
13513 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
13514 Regenerate.
13515 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
13516 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
13517 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
13518 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
13519 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
13520 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
13521 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
13522 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
13523 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
13524 * sysdeps/s390/rtld-__longjmp.c: New file.
13525 * sysdeps/s390/rtld-setjmp.S: New file.
13526
eb3fc44b
JM
135272014-01-06 Joseph Myers <joseph@codesourcery.com>
13528
13529 [BZ #16400]
13530 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
13531 Return -__logl (x) for small positive arguments without evaluating
13532 a polynomial.
13533
9341dde4
MF
135342014-01-06 Mike Frysinger <vapier@gentoo.org>
13535
13536 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
13537 Rename to ...
13538 (__ptrace_peeksiginfo_args): ... this.
13539 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
13540 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
13541 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
13542
4cff0293
AM
135432014-01-06 Allan McRae <allan@archlinux.org>
13544
13545 * inet/netinet/in.h: Fix typo in comment.
13546
75595dcf
AJ
135472014-01-05 Andreas Jaeger <aj@suse.de>
13548
13549 * sysdeps/i386/fpu/libm-test-ulps: Update.
13550
79c1e109
AM
135512014-01-05 Allan McRae <allan@archlinux.org>
13552
dd804818
AM
13553 * po/libc.pot: Regenerated.
13554
79c1e109
AM
13555 * malloc/memusagestat.c: Fix gettext call formatting.
13556
0c813d1f
SK
135572014-01-04 Sami Kerola <kerolasa@iki.fi>
13558
13559 * nscd/nscd.c: Improve usage() output.
13560
20f4a8d9
MF
135612014-01-04 Mike Frysinger <vapier@gentoo.org>
13562
13563 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
13564 * sysdeps/unix/sysv/linux/configure: Regenerated.
13565 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
13566 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
13567
22562bb2
JM
135682014-01-03 Joseph Myers <joseph@codesourcery.com>
13569
13570 [BZ #16390]
13571 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
13572 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
13573
d7ad2d9b
AZ
135742014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13575
13576 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
13577 extra tokens at end of #undef directive.
13578 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
13579 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
13580 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
13581
7dd009d8
JM
135822014-01-03 Joseph Myers <joseph@codesourcery.com>
13583
24db925a
JM
13584 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
13585
7dd009d8
JM
13586 * math/auto-libm-test-in: Mark various tests with
13587 xfail-rounding:ldbl-128ibm.
13588 * math/auto-libm-test-out: Regenerated.
13589
396e3ecf
JM
135902014-01-02 Joseph Myers <joseph@codesourcery.com>
13591
819e5d50
JM
13592 [BZ #16386]
13593 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
13594 numbers with subnormal high part when calculating exponent.
13595
90b6a1e5
JM
13596 [BZ #16385]
13597 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
13598 fabs.
13599
396e3ecf
JM
13600 [BZ #16384]
13601 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
13602 M_LN2l.
13603 (__ieee754_acoshl): Use __log1pl not __log1p.
13604
6c8dbf00
OB
136052013-01-02 Ondřej Bílka <neleai@seznam.cz>
13606
57f41c40
AS
13607 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
13608 (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
13609 (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
13610 (grow_heap, heap_trim, _int_new_arena, get_free_list)
13611 (reused_arena, arena_get2): Convert to GNU style.
13612 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
13613 (mem2mem_check, mem2chunk_check, top_check, realloc_check)
13614 (memalign_check, __malloc_set_state): Likewise.
6c8dbf00 13615 * malloc/mallocbug.c (main): Likewise.
57f41c40
AS
13616 * malloc/malloc.c (__malloc_assert, malloc_init_state)
13617 (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
13618 (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
13619 (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
13620 (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
13621 (__posix_memalign, malloc_info): Likewise.
6c8dbf00 13622 * malloc/malloc.h: Likewise.
57f41c40
AS
13623 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
13624 (mallochook, memalignhook, reallochook, mabort): Likewise.
6c8dbf00 13625 * malloc/mcheck.h: Likewise.
57f41c40
AS
13626 * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
13627 (free, mmap, mmap64, mremap, munmap, dest): Likewise.
6c8dbf00
OB
13628 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
13629 * malloc/morecore.c (__default_morecore): Likewise.
13630 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
57f41c40
AS
13631 * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
13632 (_obstack_allocated_p, obstack_free, _obstack_memory_used)
13633 (print_and_abort): Likewise.
6c8dbf00
OB
13634 * malloc/obstack.h: Likewise.
13635 * malloc/set-freeres.c (__libc_freeres): Likewise.
13636 * malloc/tst-mallocstate.c (main): Likewise.
13637 * malloc/tst-mtrace.c (main): Likewise.
13638 * malloc/tst-realloc.c (do_test): Likewise.
13639
d4124212
SP
136402013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
13641
9a3c6a6f
SP
13642 [BZ #16366]
13643 * nscd/netgroupcache.c (do_notfound): New function.
13644 (addgetnetgrentX): Use it.
13645
d4124212
SP
13646 [BZ # 16365]
13647 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
13648 NSS_STATUS_NOTFOUND.
13649
97b9a009
JM
136502014-01-01 Joseph Myers <joseph@codesourcery.com>
13651
13652 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
13653 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13654
d4697bc9
AM
136552014-01-01 Allan McRae <allan@archlinux.org>
13656
ddb3687f
AM
13657 * scripts/update-copyrights: Update configure input file suffix.
13658
88726d48
AM
13659 * NEWS: Update copyright year.
13660 * catgets/gencat.c: Likewise.
13661 * csu/version.c: Likewise.
13662 * debug/catchsegv.sh: Likewise.
13663 * debug/pcprofiledump.c: Likewise.
13664 * debug/xtrace.sh: Likewise.
13665 * elf/ldconfig.c: Likewise.
13666 * elf/ldd.bash.in: Likewise.
13667 * elf/pldd.c: Likewise.
13668 * elf/sotruss.ksh: Likewise.
13669 * elf/sprof.c: Likewise.
13670 * iconv/iconv_prog.c: Likewise.
13671 * iconv/iconvconfig.c: Likewise.
13672 * locale/programs/locale.c: Likewise.
13673 * locale/programs/localedef.c: Likewise.
13674 * login/programs/pt_chown.c: Likewise.
13675 * malloc/memusage.sh: Likewise.
13676 * malloc/memusagestat.c: Likewise.
13677 * malloc/mtrace.pl: Likewise.
13678 * manual/libc.texinfo: Likewise.
13679 * nscd/nscd.c: Likewise.
13680 * nss/getent.c: Likewise.
13681 * nss/makedb.c: Likewise.
13682 * posix/getconf.c: Likewise.
13683 * scripts/test-installation.pl: Likewise.
13684
d4697bc9
AM
13685 * All files with FSF copyright notices: Update copyright dates
13686 using scripts/update-copyrights.
13687 * intl/plural.c: Regenerated.
13688 * locale/programs/charmap-kw.h: Likewise.
13689 * locale/programs/locfile-kw.h: Likewise.
13690
c8590f9d
MF
136912013-12-31 Mike Frysinger <vapier@gentoo.org>
13692
13693 * sysdeps/unix/sysv/linux/configure: Regenerated.
13694 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
13695 the linux/fanotify.h header.
13696 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
13697 HAVE_LINUX_FANOTIFY_H is defined.
13698
b19221b9
SP
136992013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
13700
dd1d85e5
SP
13701 * benchtests/cos-inputs: New inputs.
13702 * benchtests/sin-inputs: Likewise.
13703
1acbb90f
SP
13704 * benchtests/atan-inputs: New inputs. Fix name of multiple
13705 precision fallback inputs.
13706
4c012ed3
SP
13707 * benchtests/atanh-inputs: New inputs.
13708 * benchtests/tanh-inputs: Likewise.
13709
eff98324
SP
13710 * benchtests/acosh-inputs: New inputs.
13711 * benchtests/asinh-inputs: Likewise.
13712
ce641152
SP
13713 * benchtests/cosh-inputs: New inputs.
13714 * benchtests/sinh-inputs: Likewise.
13715
b19221b9
SP
13716 * benchtests/acos-inputs: Add more inputs.
13717 * benchtests/asin-inputs: Likewise.
13718
030a4976 137192013-12-30 Ville Skytta <ville.skytta@iki.fi>
9dcc8f11 13720
030a4976 13721 [BZ #16375]
9dcc8f11
VS
13722 * manual/arith.texi: Fix spelling.
13723 * manual/charset.texi: Likewise.
13724 * manual/errno.texi: Likewise.
13725 * manual/filesys.texi: Likewise.
13726 * manual/lang.texi: Likewise.
13727 * manual/llio.texi: Likewise.
13728 * manual/locale.texi: Likewise.
13729 * manual/message.texi: Likewise.
13730 * manual/resource.texi: Likewise.
13731 * manual/search.texi: Likewise.
13732 * manual/setjmp.texi: Likewise.
13733 * manual/stdio.texi: Likewise.
13734 * manual/string.texi: Likewise.
13735 * manual/sysinfo.texi: Likewise.
13736 * manual/time.texi: Likewise.
13737
11520a57
CD
137382013-12-27 Carlos O'Donell <carlos@redhat.com>
13739
13740 * po/sl.po: New file.
13741
471103ae
MF
137422013-12-27 Mike Frysinger <vapier@gentoo.org>
13743
13744 * .gitignore: Add core/.gdbinit/.gdb_history.
13745
6c9642ed
AM
137462013-12-27 Allan McRae <allan@archlinux.org>
13747
13748 [BZ #16369]
13749 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
13750 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
13751
3f637079
BM
137522013-12-24 Brooks Moses <bmoses@google.com>
13753
13754 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
13755 all compilers that claim C++98 compliance, not just GCC.
13756 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
13757 Likewise.
13758
abc26e99
MK
137592013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
13760
13761 * NEWS: Restore accidentally deleted bug-fix entries.
13762
362b47fe
MK
137632013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
13764 Ondřej Bílka <neleai@seznam.cz>
13765
13766 [BZ #15073]
13767 * malloc/malloc.c (_int_free): Perform sanity check only if we
11520a57 13768 have_lock.
362b47fe 13769
b9bcbbcb
OB
137702013-12-23 Ondřej Bílka <neleai@seznam.cz>
13771
13772 [BZ #12986]
13773 * manual/stdio.texi (String Input Conversions): Clarify that character
13774 classes are not supported.
13775
fb55fcd2
AZ
137762013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13777
13778 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13779
ef7344f0
JM
137802013-12-22 Joseph Myers <joseph@codesourcery.com>
13781
4f40e4b3
JM
13782 [BZ #16337]
13783 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
13784 Calculate results for small negative arguments directly rather
13785 than using reflection formula with special underflow handling.
13786
ef7344f0
JM
13787 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
13788 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
13789 sysdeps/unix/bsd/bsd4.4/syscalls.list.
13790 (fchflags): Likewise.
13791 (revoke): Likewise.
13792 (setlogin): Likewise.
13793 (sigaltstack): Likewise.
13794 (wait4): Likewise.
13795 (sigblock): Remove.
13796 (sigsetmask): Likewise.
13797 (wait3): Likewise.
13798 (waitpid): Likewise.
13799 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
13800 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
13801 file.
13802 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
13803 * sysdeps/unix/bsd/Makefile: ... here.
13804 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
13805 * sysdeps/unix/bsd/Versions: ... here.
13806 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
13807 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
13808 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
13809 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
13810 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
13811 * sysdeps/unix/bsd/sigblock.c: ... here.
13812 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
13813 * sysdeps/unix/bsd/sigsetmask.c: ... here.
13814 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
13815 * sysdeps/unix/bsd/sigvec.c: ... here.
13816 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
13817 * sysdeps/unix/bsd/tcdrain.c: ... here.
13818 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
13819 * sysdeps/unix/bsd/tcgetattr.c: ... here.
13820 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
13821 * sysdeps/unix/bsd/tcsetattr.c: ... here.
13822 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
13823 * sysdeps/unix/bsd/wait.c: ... here.
13824 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
13825 * sysdeps/unix/bsd/wait3.c: ... here.
13826 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
13827 * sysdeps/unix/bsd/waitpid.c: ... here.
13828
5b0626b9
JM
138292013-12-21 Joseph Myers <joseph@codesourcery.com>
13830
13831 [BZ #16356]
13832 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
13833 round-to-nearest for [!USE_AS_EXPM1L].
13834 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
13835 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
13836 more tests of exp and exp10. Expect some exp10 tests to miss
13837 exceptions or fail in directed rounding modes.
13838 * math/auto-libm-test-out: Regenerated.
13839 * math/libm-test.inc (exp10_tonearest_test_data): New array.
13840 (exp10_test_tonearest): New function.
13841 (exp10_towardzero_test_data): New array.
13842 (exp10_test_towardzero): New function.
13843 (exp10_downward_test_data): New array.
13844 (exp10_test_downward): New function.
13845 (exp10_upward_test_data): New array.
13846 (exp10_test_upward): New function.
13847 (main): Call the new functions.
13848 * sysdeps/i386/fpu/libm-test-ulps: Update.
13849 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13850
7fda5682
JM
138512013-12-20 Joseph Myers <joseph@codesourcery.com>
13852
31e3a405
JM
13853 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
13854 asinh, atan, atan2, atanh, cbrt, cos and cosh.
13855 * math/auto-libm-test-out: Regenerated.
13856 * math/libm-test.inc (acosh_test_data): Add more tests.
13857 (atanh_test_data): Likewise.
13858 (ceil_test_data): Likewise.
13859 (copysign_test_data): Likewise.
13860 * sysdeps/i386/fpu/libm-test-ulps: Update.
13861 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13862
85bff96a
JM
13863 * timezone/checktab.awk: Update from tzcode 2013i.
13864 * timezone/private.h: Likewise.
13865 * timezone/scheck.c: Likewise.
13866 * timezone/tzfile.h: Likewise.
13867 * timezone/tzselect.ksh: Likewise.
13868 * timezone/zdump.c: Likewise.
13869 * timezone/zic.c: Likewise.
13870
b7867a3b
JM
13871 * math/auto-libm-test-in: Add tests of cpow.
13872 * math/auto-libm-test-out: Regenerated.
13873 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
57f41c40 13874 * math/gen-auto-libm-tests.c (func_calc_method): Add value
b7867a3b
JM
13875 mpc_cc_c.
13876 (func_calc_desc): Add mpc_cc_c union field.
13877 (test_functions): Add cpow.
13878 (special_fill_2pi): New function.
13879 (special_real_inputs): Add 2pi.
13880 (calc_generic_results): Handle mpc_cc_c.
13881 * sysdeps/i386/fpu/libm-test-ulps: Update.
13882 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13883
7fda5682
JM
13884 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
13885 csqrt, ctan and ctanh.
13886 * math/auto-libm-test-out: Regenerated.
13887 * math/libm-test.inc (TEST_COND_x86_64): New macro.
13888 (TEST_COND_x86): Likewise.
13889 (ccos_test_data): Use AUTO_TESTS_c_c.
13890 (ccosh_test_data): Likewise.
13891 (cexp_test_data): Likewise.
13892 (clog_test_data): Likewise.
13893 (csqrt_test_data): Likewise.
13894 (ctan_test_data): Likewise.
13895 (ctan_tonearest_test_data): Likewise.
13896 (ctan_towardzero_test_data): Likewise.
13897 (ctan_downward_test_data): Likewise.
13898 (ctan_upward_test_data): Likewise.
13899 (ctanh_test_data): Likewise.
13900 (ctanh_tonearest_test_data): Likewise.
13901 (ctanh_towardzero_test_data): Likewise.
13902 (ctanh_downward_test_data): Likewise.
13903 (ctanh_upward_test_data): Likewise.
13904 * math/gen-auto-libm-tests.c (func_calc_method): Add value
13905 mpc_c_c.
13906 (func_calc_desc): Add mpc_c_c union field.
13907 (FUNC_mpc_c_c): New macro.
13908 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
13909 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
13910 ctanh.
13911 (special_fill_min_subnorm_p120): New function.
13912 (special_real_inputs): Add min_subnorm_p120.
13913 (calc_generic_results): Handle mpc_c_c.
13914 * sysdeps/i386/fpu/libm-test-ulps: Update.
13915 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13916
5ff8d60e
SP
139172013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
13918
57f41c40
AS
13919 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
13920 (do_sin_slow): New functions.
13921 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
13922 (cslow2, csloww1, csloww2): Use the new functions.
392dd2de 13923
84ba214c
SP
13924 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
13925 Use M to change sign of result instead of X. Assume X is
13926 positive.
13927 (csloww1): Likewise.
13928 (__sin): Adjust.
13929 (__cos): Adjust.
13930
975195e4
SP
13931 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
13932 arguments A and DA.
13933 (__sin): Adjust.
13934 (__cos): Likewise.
13935
5ff8d60e
SP
13936 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
13937 (__cos): Likewise.
13938 (sloww1): Don't adjust sign of DX.
13939 (csloww1): Likewise.
13940 (sloww2): Use X directly and don't adjust sign of DX.
13941 (csloww2): Likewise.
13942
eb983568
JM
139432013-12-19 Joseph Myers <joseph@codesourcery.com>
13944
64a17f1a
JM
13945 * math/auto-libm-test-in: Add tests of cabs and carg.
13946 * math/auto-libm-test-out: Regenerated.
13947 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
13948 (carg_test_data): Likewise.
13949 * math/gen-auto-libm-tests.c (func_calc_method): Add value
13950 mpc_c_f.
13951 (func_calc_desc): Add mpc_c_f union field.
13952 (test_functions): Add cabs and carg.
13953 (calc_generic_results): Handle mpc_c_f.
13954
eb983568
JM
13955 * sysdeps/powerpc/powerpc32/libgcc-compat.S
13956 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
13957 as a macro and a compat symbol.
13958 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
13959 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
13960 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
13961 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
13962 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
13963 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
13964 not use .hidden.
13965 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
13966 Likewise.
13967 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
13968 Likewise.
13969 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
13970 Likewise.
13971 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
13972 Likewise.
13973 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
13974 Likewise.
13975 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
13976 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
13977 from GLIBC_2.3.2.
13978
6eeb678a
AZ
139792013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13980
13981 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13982
6f6fc482
JM
139832013-12-19 Joseph Myers <joseph@codesourcery.com>
13984
21fea2e2
JM
13985 * manual/texinfo.tex: Update to version 2013-11-26.10 with
13986 trailing whitespace removed.
13987 * scripts/config.guess: Update to version 2013-11-29.
13988 * scripts/config.sub: Update to version 2013-10-01.
13989
6f6fc482
JM
13990 * math/auto-libm-test-in: Add tests of sincos.
13991 * math/auto-libm-test-out: Regenerated.
13992 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
13993 * math/gen-auto-libm-tests.c (func_calc_method): Add value
13994 mpfr_f_11.
13995 (func_calc_desc): Add mpfr_f_11 union field.
13996 (test_functions): Add sincos.
13997 (calc_generic_results): Handle mpfr_f_11.
13998 * sysdeps/i386/fpu/libm-test-ulps: Update.
13999 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14000
83f5c32d
AS
140012013-12-19 Andreas Schwab <schwab@suse.de>
14002
14003 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
14004 CALL_MCOUNT.
14005 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
14006 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
14007 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
14008
c688b419
JM
140092013-12-19 Joseph Myers <joseph@codesourcery.com>
14010
335ee092
JM
14011 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
14012 * sysdeps/i386/fpu/libm-test-ulps: Update.
14013 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14014
f88acd39
JM
14015 [BZ #16293]
14016 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
14017 round-to-nearest mode when using frndint.
14018 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
14019 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
14020 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
14021 Likewise.
14022 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
14023 sinh test to fail.
14024 * math/auto-libm-test-out: Regenerated.
14025 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
14026 (TEST_COND_x86): Likewise.
14027 (expm1_tonearest_test_data): New array.
14028 (expm1_test_tonearest): New function.
14029 (expm1_towardzero_test_data): New array.
14030 (expm1_test_towardzero): New function.
14031 (expm1_downward_test_data): New array.
14032 (expm1_test_downward): New function.
14033 (expm1_upward_test_data): New array.
14034 (expm1_test_upward): New function.
14035 (main): Run the new test functions.
14036 * sysdeps/i386/fpu/libm-test-ulps: Update.
14037 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14038
c688b419
JM
14039 * include/features.h: Update comment documenting feature test
14040 macros. Mention _DEFAULT_SOURCE in comment.
14041 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
14042 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
14043 _BSD_SOURCE and _SVID_SOURCE.
14044 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
14045 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
14046 !_SVID_SOURCE]: Likewise.
14047 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
14048 (__USE_POSIX_IMPLICITLY): Define.
14049 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
14050 (_POSIX_SOURCE): Undefine and redefine.
14051 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
14052 (_POSIX_C_SOURCE): Likewise.
14053 * manual/creature.texi (_DEFAULT_SOURCE): Document.
14054 (Feature Test Macros): Update documentation of default features.
14055
9f6e964c
RS
140562013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
14057
14058 * benchtests/Makefile: Add bench-strtok.
14059 * benchtests/bench-strtok.c: New file: strtok benchtest.
14060
ee0a148a
AM
140612013-12-19 Allan McRae <allan@archlinux.org>
14062
14063 * manual/install.texi: Suppress menu for plain text output.
14064 * INSTALL: Regenerated.
14065
b9ab448f
BM
140662013-12-18 Brooks Moses <bmoses@google.com>
14067
14068 [BZ #15846]
14069 * misc/getauxval.c: Include errno.h.
14070 (__getauxval): Set errno to ENOENT if the requested type is not
14071 found.
14072 * misc/sys/auxv.h (getauxval): Document that it may set errno;
14073 don't declare with __attribute_const__.
14074 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
14075 * manual/startup.texi: Document that getauxval sets errno.
14076
23776487
JM
140772013-12-18 Joseph Myers <joseph@codesourcery.com>
14078
f889953b
JM
14079 * math/auto-libm-test-in: Add tests of jn and yn.
14080 * math/auto-libm-test-out: Regenerated.
14081 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
14082 (yn_test_data): Likewise.
14083 * math/gen-auto-libm-tests.c (func_calc_method): Add value
14084 mpfr_if_f.
14085 (func_calc_desc): Add mpfr_if_f union field.
14086 (FUNC_mpfr_if_f): New macro.
14087 (test_functions): Add jn and yn.
14088 (calc_generic_results): Assert type of second input for
14089 mpfr_ff_f. Handle mpfr_if_f.
14090 (output_for_one_input_case): Disable all checking for arguments
14091 fitting floating-point types in case of an integer argument.
14092 * sysdeps/i386/fpu/libm-test-ulps: Update.
14093 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14094
23776487
JM
14095 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
14096 Don't expect fegetround reference in libm.so.
14097
cb756c6d
MS
140982013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
14099
14100 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
14101 $(config-cflags-nofma).
14102
2dec468f
JM
141032013-12-18 Joseph Myers <joseph@codesourcery.com>
14104
5953eb3a
JM
14105 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
14106 * math/auto-libm-test-out: Regenerated.
14107
2dec468f
JM
14108 [BZ #16338]
14109 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
14110 to determine exponent and adjust argument to have exponent of -1.
14111 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
14112 log2.
14113 * math/auto-libm-test-out: Regenerated.
14114 * sysdeps/i386/fpu/libm-test-ulps: Update.
14115 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14116
4d84e6ad
OB
141172013-12-18 Ondřej Bílka <neleai@seznam.cz>
14118
14119 * manual/probes.texi: Remove cases when per-thread arenas are
14120 disabled.
14121
1818483b
AS
141222013-12-18 Andreas Schwab <schwab@suse.de>
14123
14124 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
14125 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
14126 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
14127 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
14128 * sysdeps/i386/i686/multiarch/Makefile: Update.
14129 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
14130
25de95bf
JM
141312013-12-17 Joseph Myers <joseph@codesourcery.com>
14132
14133 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
14134 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
14135
674762d9
PE
141362013-12-17 Paul Eggert <eggert@cs.ucla.edu>
14137
ed27ed83 14138 [BZ #15968]
0748546f
PE
14139 Support TZ transition times < 00:00:00.
14140 This is needed for version-3 tz-format files; it supports time
14141 stamps past 2037 for America/Godthab (the only entry in the tz
14142 database for which this change is relevant).
14143 * manual/time.texi (TZ Variable): Document transition times
14144 from -167:59:59 through -00:00:01.
14145 * time/tzset.c (tz_rule): Time of day is now signed.
14146 (__tzset_parse_tz): Parse negative time of day.
14147
4480e934
PE
14148 Document TZ transition times >= 25:00:00.
14149 * manual/time.texi (TZ Variable): Document transition times from
14150 25:00:00 through 167:59:59. These are already supported, and this
14151 support will help with version-3 tz-format files.
14152
69947401
PE
14153 * manual/time.texi (TZ Variable): Modernize North America example
14154 to reflect current (i.e., 2007-and-later) daylight saving rules.
14155
674762d9
PE
14156 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
14157
7011c262
JM
141582013-12-17 Joseph Myers <joseph@codesourcery.com>
14159
2fc6557e
JM
14160 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
14161 * sysdeps/unix/bsd/bits/stat.h: Likewise.
14162 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
14163 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
14164 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
14165 * sysdeps/unix/bsd/bsdstat.h: Likewise.
14166 * sysdeps/unix/bsd/clock.c: Likewise.
14167 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
14168 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
14169 * sysdeps/unix/bsd/init-posix.c: Likewise.
14170 * sysdeps/unix/bsd/poll.c: Likewise.
14171 * sysdeps/unix/bsd/ptsname.c: Likewise.
14172 * sysdeps/unix/bsd/seekdir.c: Likewise.
14173 * sysdeps/unix/bsd/setegid.c: Likewise.
14174 * sysdeps/unix/bsd/seteuid.c: Likewise.
14175 * sysdeps/unix/bsd/setgid.c: Likewise.
14176 * sysdeps/unix/bsd/setrgid.c: Likewise.
14177 * sysdeps/unix/bsd/setruid.c: Likewise.
14178 * sysdeps/unix/bsd/setsid.c: Likewise.
14179 * sysdeps/unix/bsd/setuid.c: Likewise.
14180 * sysdeps/unix/bsd/sigaction.c: Likewise.
14181 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
14182 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
14183 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
14184 * sysdeps/unix/bsd/telldir.c: Likewise.
14185 * sysdeps/unix/bsd/times.c: Likewise.
14186 * sysdeps/unix/bsd/usleep.c: Likewise.
14187
029c7b25
JM
14188 * misc/Makefile (install-lib): Remove libbsd-compat.a.
14189 ($(objpfx)libbsd-compat.a): Remove rule.
14190
7011c262
JM
14191 * include/features.h (__FAVOR_BSD): Do not define.
14192 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
14193 features conflicting with POSIX.
14194 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
14195 (_BSD_SOURCE): Remove description of not being a subset of other
14196 feature test macros.
14197 * manual/job.texi (getpgrp): Do not document BSD version.
14198 (getpgid): Do not document by reference to BSD getpgrp.
14199 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
14200 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
14201 * signal/signal.h [__FAVOR_BSD]: Likewise.
14202 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
14203 instead of making contents conditional on [__FAVOR_BSD].
14204 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
14205
affb6f78
AZ
142062013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14207
14208 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14209
c88769dd
JM
142102013-12-17 Joseph Myers <joseph@codesourcery.com>
14211
6432a540
JM
14212 [BZ #16314]
14213 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
14214 values below 2**-450, not 2**-500.
14215 * math/auto-libm-test-in: Don't allow spurious underflow from
14216 hypot.
14217 * math/auto-libm-test-out: Regenerated.
14218
c88769dd
JM
14219 [BZ #16316]
14220 [BZ #16330]
14221 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
14222 values of ha and hb and sort them after adjusting subnormal
14223 arguments.
14224 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
14225 Likewise.
14226 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
14227 values of ea and eb and sort them after adjusting subnormal
14228 arguments.
14229 * math/auto-libm-test-in: Do not expect some hypot tests of
14230 subnormals to fail. Add more hypot tests.
14231 * math/auto-libm-test-out: Regenerated.
14232
29618f6b
KK
142332013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
14234
14235 [BZ #13304]
14236 * sysdeps/sh/s_fma.c: New file.
14237 * sysdeps/sh/s_fmaf.c: New file.
14238 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
14239 version.
14240 * sysdeps/sh/Implies: Add sh/soft-fp.
14241
eacfdfbf
RM
142422013-12-16 Roland McGrath <roland@hack.frob.com>
14243
14244 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
14245 level of indirection to members `objname', `errstring', `malloced'.
14246 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
14247 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
14248 it as the __longjmp argument (just pass 1 instead).
14249 (_dl_catch_error): Initialize C with argument pointers and address of
14250 volatile local ERRCODE rather than copying values out of C at return.
14251
ff362e5b
JM
142522013-12-16 Joseph Myers <joseph@codesourcery.com>
14253
14254 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
14255 * math/auto-libm-test-out: Regenerated.
14256 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
14257 (hypot_test_data): Likewise.
14258 (pow_test_data): Likewise.
14259 (pow_tonearest_test_data): Likewise.
14260 * math/gen-auto-libm-tests.c (func_calc_method): Add value
14261 mpfr_ff_f.
14262 (func_calc_desc): Add mpfr_ff_f union field.
14263 (FUNC_mpfr_ff_f): New macro.
14264 (test_functions): Add atan2, hypot and pow.
14265 (special_fill_min): New function.
14266 (special_fill_minus_min): Likewise.
14267 (special_fill_min_subnorm): Likewise.
14268 (special_fill_minus_min_subnorm): Likewise.
14269 (special_real_inputs): Add min, -min, min_subnorm and
14270 -min_subnorm.
14271 (calc_generic_results): Handle mpfr_ff_f.
14272 * sysdeps/i386/fpu/libm-test-ulps: Update.
14273 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14274
5764c27f
WN
142752013-12-16 Will Newton <will.newton@linaro.org>
14276
14277 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
14278 (Aligned Memory Blocks): Add documentation for aligned_alloc
14279 and suggest it as an alternative to posix_memalign.
14280 (Hooks for Malloc): Document __memalign_hook is also called
14281 for aligned_alloc. (Summary of Malloc): Add summary for
14282 aligned alloc. Document __memalign_hook is also called
14283 for aligned_alloc.
14284
0a096e44
WN
142852013-12-16 Will Newton <will.newton@linaro.org>
14286
14287 * manual/memory.texi (Malloc Examples): Clarify default
14288 alignment documentation. Suggest posix_memalign rather
14289 than memalign or valloc.
14290 (Aligned Memory Blocks): Remove suggestion to use memalign
14291 or valloc. Remove obsolete comment about BSD.
14292 Document memalign errno values and mark the function obsolete.
14293 Document posix_memalign returned error codes. Mark valloc
14294 as obsolete. (Hooks for Malloc): __memalign_hook is also
14295 called for posix_memalign and valloc.
14296 (Summary of Malloc): Add posix_memalign to function summary.
14297 __memalign_hook is also called for posix_memalign and valloc.
14298
8d561986
SP
142992013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
14300
14301 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
14302 TAYLOR_SIN.
14303 (__sin): Adjust.
14304 (__cos): Likewise.
14305 (sloww): Use mynumber union. Expand ternary operator into
14306 if-else statements.
14307 (cslow): use mynumber union.
14308
73616a74
AM
143092013-12-16 Allan McRae <allan@archlinux.org>
14310
9e8ac24b
AM
14311 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
14312 * configure: Regenerated.
14313
6f8e37eb
AM
14314 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
14315
8894bad3
AM
14316 [BZ #14120]
14317 * configure.ac: Added --enable-maintainer-mode. Check for
14318 autoconf when enabled.
14319 * configure: Regenerated.
14320
73616a74
AM
14321 * nscd/nscd.service: New file.
14322 * nscd/nscd.tmpfiles: New file.
14323
584b18eb
OB
143242013-12-14 Ondřej Bílka <neleai@seznam.cz>
14325
14326 [BZ #12100]
14327 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
14328 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
14329 * sysdeps/x86_64/multiarch/strstr.c: ... here.
14330 (strstr): Add __strstr_sse2_unaligned ifunc.
14331 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
14332 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
14333 (strcasestr): Remove __strcasestr_sse42 ifunc.
14334 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
14335 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
14336 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
14337
8a5c7897
KK
143382013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
14339
14340 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
14341 * sysdeps/sh/bits/fenv.h: ... here.
14342 * sysdeps/sh/sh4/fpu/bits: Remove directory.
14343
fd712ef3
AZ
143442013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14345
14346 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
14347
42fcb46c
AZ
14348 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
14349 hypotf multiarch implementations.
14350 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
14351 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
14352 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
14353 multiarch hypot for PPC64.
14354 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
14355 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
14356 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
14357 multiarch hypotf for PPC64.
14358
83efded4
AZ
14359 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
14360 modff multiarch implementations.
14361 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
14362 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
14363 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
14364 multiarch modf for PPC64.
14365 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
14366 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
14367 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
14368 multiarch modff for PPC64.
14369
43e246d2
AZ
14370 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
14371 and logl multiarch implementations.
14372 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
14373 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
14374 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
14375 multiarch logb for PPC64.
14376 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
14377 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
14378 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
14379 multiarch logb for PPC64.
14380 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
14381 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
14382 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
14383 multiarch logb for PPC64.
14384
8fdad123
AZ
14385 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
14386 isinff multiarch implementation.
14387 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
14388 file.
14389 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
14390 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
14391 multiarch isinf for PPC64.
14392 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
14393 file.
14394 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
14395 multiarch isinff for PPC64.
14396
1481d706
AZ
14397 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
14398 finitef multiarch implementation.
14399 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
14400 file.
14401 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
14402 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
14403 multiarch finite for PPC64.
14404 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
14405 file.
14406 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
14407 multiarch finitef for PPC64.
14408
5ccd5fc8
AZ
14409 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
14410 lrint multiarch implementation.
14411 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
14412 file.
14413 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
14414 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
14415 multiarch llrint for PPC64.
14416 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
14417 multiarch lrint for PPC64.
14418
2568f3fa
AZ
14419 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
14420 copysignf multiarch implementation.
14421 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
14422 file.
14423 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
14424 file.
14425 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
14426 multiarch copysign for PPC64.
14427 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
14428 multiarch copysignf for PPC64.
14429
1cb341fd
AZ
14430 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
14431 multiarch implementation.
14432 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
14433 file.
14434 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
14435 file.
14436 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
14437 file.
14438 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
14439 file.
14440 multiarch llround for PPC64.
14441 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
14442 multiarch trunc for PPC64.
14443 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
14444 multiarch truncf for PPC64.
14445
59a3e194
AZ
14446 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
14447 multiarch implementation.
14448 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
14449 file.
14450 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
14451 file.
14452 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
14453 file.
14454 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
14455 file.
14456 multiarch llround for PPC64.
14457 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
14458 multiarch round for PPC64.
14459 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
14460 multiarch roundf for PPC64.
14461
357fd3b4
AZ
14462 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
14463 multiarch implementation.
14464 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
14465 file.
14466 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
14467 file.
14468 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
14469 file.
14470 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
14471 file.
14472 multiarch llround for PPC64.
14473 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
14474 multiarch floor for PPC64.
14475 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
14476 multiarch floorf for PPC64.
14477
96770f12
AZ
14478 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
14479 multiarch implementation.
14480 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
14481 file.
14482 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
14483 file.
14484 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
14485 file.
14486 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
14487 file.
14488 multiarch llround for PPC64.
14489 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
14490 multiarch ceil for PPC64.
14491 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
14492 multiarch ceilf for PPC64.
14493
c3627f6e
AZ
14494 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
14495 multiarch implementation.
14496 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
14497 file.
14498 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
14499 file.
14500 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
14501 file.
14502 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
14503 multiarch llround for PPC64.
14504 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
14505 multiarch lround for PPC64.
14506
b2284ad7
AZ
14507 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
14508 multiarch implementation.
14509 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
14510 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
14511 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
14512 file.
14513 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
14514 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
14515 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
14516 multiarch isnan for PPC64.
14517 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
14518 multiarch isnanf for PPC64.
14519
69bbc63d
AZ
14520 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
14521 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
14522 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
14523 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
14524 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
14525 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
14526
c24517c9
AZ
14527 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
14528 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
14529 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
14530 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
14531
a52374e8
AZ
14532 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
14533 multiarch implementations.
14534 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14535 (__libc_ifunc_impl_list): Likewise.
14536 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
14537 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
14538 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
14539 multiarch stpcpy for PPC64.
14540
7f5ec113
AZ
14541 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
14542 multiarch implementations.
14543 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14544 (__libc_ifunc_impl_list): Likewise.
14545 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
14546 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
14547 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
14548 multiarch strcpy for PPC64.
14549
e28bcd42
AZ
14550 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
14551 redefine function name.
14552 (_wordcopy_fwd_dest_aligned): Likewise.
14553 (_wordcopy_bwd_aligned): Likewise.
14554 (_wordcopy_bwd_dest_aligned): Likewise.
14555 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
14556 multiarch implementations.
14557 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14558 (__libc_ifunc_impl_list): Likewise.
14559 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
14560 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
14561 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
14562 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
14563 multiarch wcscpy for PPC64.
14564
92cacfce
AZ
14565 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
14566 multiarch implementations.
14567 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14568 (__libc_ifunc_impl_list): Likewise.
14569 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
14570 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
14571 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
14572 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
14573 multiarch wcscpy for PPC64.
14574
7b714620
AZ
14575 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
14576 multiarch implementations.
14577 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14578 (__libc_ifunc_impl_list): Likewise.
14579 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
14580 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
14581 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
14582 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
14583 multiarch wcsrchr for PPC64.
14584
16fd2ae3
AZ
14585 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
14586 multiarch implementations.
14587 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14588 (__libc_ifunc_impl_list): Likewise.
14589 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
14590 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
14591 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
14592 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
14593 multiarch wcschr for PPC64.
14594
9ee2969b
AZ
14595 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
14596 multiarch implementations.
14597 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14598 (__libc_ifunc_impl_list): Likewise.
14599 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
14600 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
14601 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
14602 multiarch strchrnul for PPC64.
14603
372dc060
AZ
14604 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
14605 implementations.
14606 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14607 (__libc_ifunc_impl_list): Likewise.
14608 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
14609 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
14610 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
14611 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
14612 strchr for PPC64.
14613
24c2c3b9
AZ
14614 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
14615 implementations.
14616 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14617 (__libc_ifunc_impl_list): Likewise.
14618 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
14619 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
14620 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
14621 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
14622 strncmp for PPC64.
14623
1c92d9a0
AZ
14624 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
14625 multiarch implementations.
14626 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14627 (__libc_ifunc_impl_list): Likewise.
14628 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
14629 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
14630 strncasecmp for PPC64.
14631 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
14632 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
14633 multiarch strncasecmp_l for PPC64.
14634
17de3ee3
AZ
14635 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
14636 multiarch implementations.
14637 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
14638 (__libc_ifunc_impl_list): Likewise.
14639 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
14640 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
14641 multiarch strcasecmp for PPC64.
14642 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
14643 file.
14644 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
14645 multiarch strcasecmp_l for PPC64.
14646
62982bf9
AZ
14647 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
14648 implementations.
14649 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14650 (__libc_ifunc_impl_list): Likewise.
14651 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
14652 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
14653 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
14654 strnlen for PPC64.
14655
a65f4904
AZ
14656 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
14657 implementations.
14658 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14659 (__libc_ifunc_impl_list): Likewise.
14660 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
14661 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
14662 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
14663 strlen for PPC64.
14664
1fd005ad
AZ
14665 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
14666 implementations.
14667 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14668 (__libc_ifunc_impl_list): Likewise.
14669 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
14670 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
14671 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
14672 rawmemrchr for PPC64.
14673
cd05ba91
AZ
14674 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
14675 implementation.
14676 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14677 (__libc_ifunc_impl_list): Likewise.
14678 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
14679 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
14680 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
14681 memrchr for PPC64.
14682
870f8676
AZ
14683 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
14684 implementation.
14685 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14686 (__libc_ifunc_impl_list): Likewise.
14687 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
14688 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
14689 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
14690 memchr for PPC64.
14691
f00be62b
AZ
14692 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
14693 implementation.
14694 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14695 (__libc_ifunc_impl_list): Likewise.
14696 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
14697 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
14698 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
14699 mempcpy for PPC64.
14700
8a29a3d0
AZ
14701 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
14702 avoid cretion of __bzero symbol.
14703 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
14704 Likewise.
14705 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
14706 Likewise.
14707 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
14708 Likewise.
14709 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
14710 multiarch implementations.
14711 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14712 (__libc_ifunc_impl_list): Likewise.
14713 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
14714 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
14715 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
14716 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
14717 bzero for PPC32.
14718 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
14719 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
14720 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
14721 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
14722 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
14723 memset for PPC64.
14724 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
14725
07253fcf
AZ
14726 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
14727 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
14728 implementations.
14729 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14730 (__libc_ifunc_impl_list): Likewise.
14731 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
14732 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
14733 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
14734 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
14735 memcmp for PPC64.
14736
b5beafbc
AZ
14737 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
14738 multiarch for POWER/PPC64.
14739 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
14740 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
14741 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
14742 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
14743 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
14744 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
14745 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
14746 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
14747 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
14748 memcpy for PPC64.
14749
5e6a4d4b
AZ
14750 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
14751 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
14752 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
14753 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
14754 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
14755 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
14756 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
14757 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
14758 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
14759 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
14760 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
14761 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
14762 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
14763 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
14764 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
14765 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
14766 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
14767 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
14768 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
14769 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
14770 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
14771 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
14772
ddfab6dc
KK
147732013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
14774
14775 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
14776
19b5525e
SP
147772013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
14778
14779 * benchtests/Makefile (bench): Add exp2 and log2.
14780 (LDLIBS-bench-exp2): Add -lm.
14781 (LDLIBS-bench-log2): Likewise.
14782 * benchtests/exp2-inputs: New inputs file.
14783 * benchtests/log2-inputs: New inputs file.
14784 * benchtests/log-inputs: Add new inputs.
14785 * benchtests/tan-inputs: Likewise.
14786
196f7f5d
SP
147872013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
14788
7a74607f
SP
14789 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
14790 definition...
57f41c40
AS
14791 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
14792 (csloww2): ... from here.
7a74607f 14793
196f7f5d
SP
14794 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
14795 instead of structures.
14796 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
14797 (POLYNOMIAL): Likewise.
14798 (TAYLOR_SLOW): Likewise.
14799 (__sin): Likewise.
14800 (__cos): Likewise.
14801 (slow1): Likewise.
14802 (slow2): Likewise.
14803 (sloww): Likewise.
14804 (sloww1); Likewise.
14805 (sloww2): Likewise.
14806 (bsloww1): Likewise.
14807 (bsloww2): Likewise.
14808 (cslow2): Likewise.
14809 (csloww): Likewise.
14810 (csloww1): Likewise.
14811 (csloww2): Likewise.
14812
0dfa665c
OB
148132013-12-10 Ondřej Bílka <neleai@seznam.cz>
14814
14815 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
57f41c40
AS
14816 (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
14817 Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
0dfa665c
OB
14818 * malloc/hooks.c (realloc_check): Likewise.
14819
5782a80f
OB
14820 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
14821 * malloc/arena.c: Remove PER_THREAD conditional.
14822 [!PER_THREAD]: Remove code.
14823 (ptmalloc_unlock_all2): Likewise.
14824 (ptmalloc_init): Likewise.
14825 (_int_new_arena): Likewise.
14826 (arena_get2): Likewise.
14827 * malloc/hooks.c (__malloc_get_state): Likewise.
14828 (__malloc_set_state): Likewise.
14829 * malloc/malloc.c: Likewise.
14830 (struct malloc_state): Likewise.
14831 (struct malloc_par): Likewise.
14832 (__libc_realloc): Likewise.
14833 (__libc_mallopt): Likewise.
14834
aeb95445
AZ
148352013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14836
14837 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
14838
e8349efd
OB
148392013-12-09 Ondřej Bílka <neleai@seznam.cz>
14840
14841 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
14842 macro to a function. Check for zero perturb_byte.
14843 (_int_malloc, _int_free): Remove zero perturb_byte checks.
14844
f3eeb3fc 14845 * malloc/malloc.c: (force_reg): Remove.
57f41c40
AS
14846 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
14847 (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
f3eeb3fc
OB
14848 force_reg by atomic_forced_read.
14849 * malloc/arena.c (ptmalloc_init): Likewise.
14850 * malloc/hooks.c (top_check): Likewise.
14851
be2f9009
AZ
148522013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14853
14854 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14855
e7b914bd
MT
148562013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
14857
14858 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14859
9f0be4f8
JM
148602013-12-08 Joseph Myers <joseph@codesourcery.com>
14861
14862 * math/auto-libm-test-in: Add tests of lgamma.
14863 * math/auto-libm-test-out: Regenerated.
14864 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
14865 (M_LOG_2_SQRT_PIl): Likewise.
14866 (lgamma_test_data): Use AUTO_TESTS_f_f1.
14867 * math/gen-auto-libm-tests.c (func_calc_method): Add value
14868 mpfr_f_f1.
14869 (func_calc_desc): Add mpfr_f_f1 union field.
14870 (ARGS1): New macro.
14871 (ARGS2): Likewise.
14872 (ARGS3): Likewise.
14873 (ARGS4): Likewise.
14874 (RET1): Likewise.
14875 (RET2): Likewise.
14876 (CALC): Likewise.
14877 (FUNC): Likewise.
14878 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
14879 (test_functions): Add lgamma.
14880 (calc_generic_results): Handle mpfr_f_f1.
14881 * sysdeps/i386/fpu/libm-test-ulps: Update.
14882 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14883
24eeafdb
AZ
148842013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14885
14886 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
14887 __mpn_add_n for PowerPC64/POWER7.
14888 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
14889 __mpn_sub_n for PowerPC64/POWER7.
14890
4a2c0fd4
AZ
14891 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
14892 __mpn_addmul_1 for PowerPC64.
14893 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
14894 __mpn_submul_1 for PowerPC64.
14895 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
14896 for PowerPC64.
14897 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
14898 for PowerPC64.
14899
4b5b548c
FS
149002013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
14901
14902 [BZ #15089]
14903 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
14904
0a3ac0aa
AZ
149052013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14906
14907 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
14908
ccdc8438
AZ
14909 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
14910 add multiarch folders.
14911 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
14912 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
14913 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
14914 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
14915 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
14916 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
14917 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
14918 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
14919 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
14920 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
14921 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
14922 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
14923 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
14924 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
14925 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
14926 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
14927 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
14928
2e973d99
AZ
14929 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
14930 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
14931 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
14932 New file.
14933 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
14934 New file.
14935 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
14936 multiarch __ieee754_hypot for PowerPC32.
14937 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
14938 New file.
14939 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
14940 New file.
14941 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
14942 multiarch __ieee754_hypotf for PowerPC32.
14943
2d9470b2
AZ
14944 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
14945 long_double_symbol only if __logbl is defined.
14946 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
14947 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
14948 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
14949 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
14950 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
14951 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
14952 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
14953 path for implementation.
14954 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
14955 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
14956 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
14957 logb, and logbl multiarch implementations for PowerPC32.
14958 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
14959 file.
14960 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
14961 file.
14962 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
14963 multiarch logb for PowerPC32.
14964 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
14965 file.
14966 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
14967 file.
14968 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
14969 multiarch logbf for PowerPC32.
14970 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
14971 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
14972 file.
14973 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
14974 multiarch logbl implementation for PowerPC32.
14975
5212ffce
AZ
14976 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
14977 and modff multiarch implementations.
14978 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
14979 New file.
14980 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
14981 New file.
14982 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
14983 multiarch modf for PowerPC32.
14984 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
14985 New file.
14986 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
14987 New file.
14988 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
14989 multiarch modff for PowerPC32.
14990
79dccf31
AZ
14991 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
14992 and lrintf multiarch implementations.
14993 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
14994 New file.
14995 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
14996 New file.
14997 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
14998 multiarch lrint for PowerPC32.
14999 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
15000 file: multiarch lrintf for PowerPC32.
15001
deb66480
AZ
15002 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
15003 and lroundf multiarch implementations.
15004 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
15005 New file.
15006 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
15007 New file.
15008 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
15009 New file.
15010 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
15011 multiarch lround for PowerPC32.
15012 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
15013 file: multiarch lroundf for PowerPC32.
15014
264b036b
AZ
15015 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
15016 copysign and copysignf multiarch implementations.
15017 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
15018 New file.
15019 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
15020 New file.
15021 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
15022 file: multiarch copysign for PowerPC32.
15023 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
15024 file: multiarch copysignf for PowerPC32.
15025
d47db6c9
AZ
15026 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
15027 and truncf multiarch implementations.
15028 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
15029 New file.
15030 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
15031 file.
15032 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
15033 multiarch trunc for PowerPC32.
15034 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
15035 New file.
15036 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
15037 New file.
15038 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
15039 multiarch truncf for PowerPC32.
15040
ddb60b5a
AZ
15041 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
15042 and roundf multiarch implementations.
15043 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
15044 New file.
15045 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
15046 file.
15047 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
15048 multiarch round for PowerPC32.
15049 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
15050 New file.
15051 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
15052 New file.
15053 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
15054 multiarch roundf for PowerPC32.
15055
bedcf49b
AZ
15056 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
15057 and floorf multiarch implementations.
15058 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
15059 New file.
15060 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
15061 file.
15062 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
15063 multiarch floor for PowerPC32.
15064 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
15065 New file.
15066 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
15067 New file.
15068 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
15069 multiarch floorf for PowerPC32.
15070
35ae5b40
AZ
15071 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
15072 and ceilf multiarch implementations.
15073 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
15074 New file.
15075 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
15076 file.
15077 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
15078 multiarch ceil for PowerPC32.
15079 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
15080 New file.
15081 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
15082 file.
15083 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
15084 multiarch ceilf for PowerPC32.
15085
ae1a4cd9
AZ
15086 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
15087 is defined.
15088 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
15089 FINITEF is defined.
15090 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
15091 and finitef multiarch implementations.
15092 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
15093 New file.
15094 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
15095 file.
15096 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
15097 multiarch finite for PowerPC32.
15098 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
15099 New file.
15100 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
15101 file: multiarch finitef for PowerPC32.
15102
64fffd65
AZ
15103 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
15104 and isinff multiarch implementations.
15105 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
15106 file.
15107 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
15108 file.
15109 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
15110 multiarch isinf for PowerPC32.
15111 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
15112 New file.
15113 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
15114 multiarch isinff for PowerPC32.
15115
8e4e7ba2
AZ
15116 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
15117 alias when __isnan is defined.
15118 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
15119 and isnanf multiarch implementations.
15120 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
15121 file.
15122 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
15123 file.
15124 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
15125 file.
15126 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
15127 file.
15128 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
15129 multiarch isnan for PowerPC32.
15130 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
15131 New file.
15132 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
15133 New file.
15134 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
15135 multiarch isnanf for PowerPC32.
15136
ddba588e
AZ
15137 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
15138 and sqrtf multiarch implementations.
15139 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
15140 file.
15141 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
15142 file.
15143 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
15144 multiarch sqrt for PowerPC32.
15145 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
15146 file.
15147 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
15148 file.
15149 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
15150 multiarch sqrtf for PowerPC32.
15151
0f96a2f0
AZ
15152 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
15153 and llroundf multiarch implementations.
15154 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
15155 New file.
15156 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
15157 New file.
15158 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
15159 New file.
15160 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
15161 file: multiarch llround for PowerPC32.
15162 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
15163 file: multiarch llroundf for PowerPC32.
15164
c9b5d79e
AZ
15165 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
15166 multiarch PowerPC32 fpu implementations.
15167 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
15168 New file.
15169 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
15170 New file.
15171 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
15172 multiarch llrint for PowerPC32.
15173 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
15174 New file.
15175 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
15176 New file.
15177 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
15178 file.
15179
9cbb3aab
AZ
15180 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
15181
ea5a72f8
AZ
15182 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
15183 file.
15184 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
15185 file.
15186 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
15187 file.
15188 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
15189 multiarch wordcopy for PPC32.
15190 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
15191 wordcopy objects.
15192 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
15193 (__libc_ifunc_impl_list): Likewise.
15194 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
15195 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
15196 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
15197 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
15198 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
15199 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
15200
93be09e7
AZ
15201 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
15202 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
15203 file.
15204 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
15205 file.
15206 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
15207 file.
15208 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
15209 multiarch wcscpy for PPC32.
15210 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
15211 multiarch objects.
15212 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
15213 (__libc_ifunc_impl_list): Likewise.
15214 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
15215 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
15216 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
15217 sysdeps/powerpc/power6/wcscpy.c.
15218
bb04e529
AZ
15219 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
15220 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
15221 file.
15222 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
15223 file.
15224 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
15225 file.
15226 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
15227 multiarch wcsrchr for PPC32.
15228 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
15229 multiarch objects.
15230 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
15231 (__libc_ifunc_impl_list): Likewise.
15232 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
15233 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
15234 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
15235 sysdeps/powerpc/power6/wcsrchr.c.
15236
05b5cd1c
AZ
15237 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
15238 file.
15239 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
15240 file.
15241 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
15242 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
15243 multiarch wcschr for PPc32.
15244 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
15245 multiarch objects.
15246 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
15247 (__libc_ifunc_impl_list): Likewise.
15248 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
15249 * sysdeps/powerpc/power6/wcschr.c: ... to here.
15250 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
15251 sysdeps/powerpc/power6/wcschr.c.
15252
ba964147
AZ
15253 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
15254 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
15255 file.
15256 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
15257 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
15258 file: multiarch strchr for PPC32.
15259 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
15260 multiarch objects.
15261 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
15262 (__libc_ifunc_impl_list): Likewise.
15263
31c81aaa
AZ
15264 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
15265 name.
15266 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
15267 file.
15268 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
15269 file.
15270 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
15271 multiarch strchrnul for PPC32.
15272 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
15273 multiarch objects.
15274 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
15275 (__libc_ifunc_impl_list): Likewise.
15276
0d0607d9
AZ
15277 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
15278 file.
15279 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
15280 multiarch strncasecmp for PPC32.
15281 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
15282 file.
15283 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
15284 multiarch strncasecmp_l for PPC32.
15285 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
15286 strncasecmp multiarch objects.
15287 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
15288 (__libc_ifunc_impl_list): Likewise.
15289
4dfd5c86
AZ
15290 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
15291 file.
15292 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
15293 multiarch strncasecmp for PPC32.
15294 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
15295 New file.
15296 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
15297 multiarch strcasecmp_l for PPC32.
15298 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
15299 multiarch objects.
15300 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
15301 (__libc_ifunc_impl_list): Likewise.
15302
a19e01a3
AZ
15303 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
15304 file.
15305 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
15306 file.
15307 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
15308 multiarch strncmp for PPC32.
15309 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
15310 multiarch objects.
15311 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
15312 (__libc_ifunc_impl_list): Likewise.
15313
ae9cf7a2
AZ
15314 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
15315 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
15316 file.
15317 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
15318 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
15319 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
15320 multiarch objects.
15321 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
15322 (__libc_ifunc_impl_list): Likewise.
15323
3148bb7d
AZ
15324 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
15325 file.
15326 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
15327 file.
15328 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
15329 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
15330 multiarch objects.
15331 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
15332 (__libc_ifunc_impl_list): Likewise.
15333
7af8b946
AZ
15334 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
15335 file.
15336 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
15337 file.
15338 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
15339 multiarch rawmemchr for PPC32.
15340 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
15341 multiarch objects.
15342 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
15343 (__libc_ifunc_impl_list): Likewise.
15344
03a6aa6a
AZ
15345 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
15346 file.
15347 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
15348 file.
15349 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
15350 file: memrchr multiarch for PPC32.
15351 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
15352 multiarch objects.
15353 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
15354 (__libc_ifunc_impl_list): Likewise.
15355
1c62e6d9
AZ
15356 * string/memchr.c (__memchr): Using macro to redefine symbol name.
15357 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
15358 file.
15359 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
15360 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
15361 multiarch memchr for PPC32.
15362 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
15363 multiarch objects.
15364 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
15365 (__libc_ifunc_impl_list): Likewise.
15366
87da8bdb
AZ
15367 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
15368 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
15369 file.
15370 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
15371 file.
15372 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
15373 file: multiarch mempcpy for PPC32.
15374 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
15375 multiarch objects.
15376 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
15377 (__libc_ifunc_impl_list): Likewise.
15378
20ed4714
AZ
15379 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
15380 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
15381 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
15382 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
15383 multiarch bzero for PPC32.
15384 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
15385 file.
15386 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
15387 file.
15388 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
15389 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
15390 file: multiarch memset for PPC32.
15391 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
15392 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
15393 memset multiarch objects.
15394 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
15395 (__libc_ifunc_impl_list): Likewise.
15396
ab3e3a46
AZ
15397 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
15398 file.
15399 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
15400 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
15401 memcmp for PPC32.
15402 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
15403 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
15404 multiarch objects.
15405 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
15406 (__libc_ifunc_impl_list): Likewise.
15407
930de6f0
AZ
15408 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
15409 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
15410 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
15411 file.
15412 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
15413 file.
15414 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
15415 file.
15416 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
15417 multiarch memcpy for PPC32.
15418 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
15419 multiarch objects.
15420 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
15421 (__libc_ifunc_impl_list): Likewise.
15422
4c628e00
AZ
15423 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
15424 support multiarch for POWER/PPC32.
15425 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
15426 Likewise.
15427 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
15428 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
15429 Implies file to make multiarch folder appers before the fpu and
15430 default folder for power4 configuration.
15431
f4479220
SP
154322013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
15433
15434 * scripts/bench.pl: Append volatile keyword to type.
15435
8517800f
KK
154362013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
15437
15438 * sysdeps/sh/sotruss-lib.c: New file.
15439 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
15440
180138f1
AZ
154412013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15442
15443 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15444
bbf37bdc
JM
154452013-12-05 Joseph Myers <joseph@codesourcery.com>
15446
e47cc4e0
JM
15447 [BZ #6810]
15448 * math/w_tgamma.c: Include <errno.h>.
15449 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
15450 * math/w_tgammaf.c: Include <errno.h>.
15451 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
15452 * math/w_tgammal.c: Include <errno.h>.
15453 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
15454 * math/auto-libm-test-in: Do not allow missing errno on tgamma
15455 underflow. Add more tgamma tests.
15456 * math/auto-libm-test-out: Regenerated.
15457 * sysdeps/i386/fpu/libm-test-ulps: Update.
15458 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15459
bbf37bdc
JM
15460 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
15461 sin, sinh, tan, tanh, tgamma, y0 and y1.
15462 * math/auto-libm-test-out: Regenerated.
15463 * math/libm-test.inc (TEST_COND_x86_64): New macro.
15464 (TEST_COND_x86): Likewise.
15465 (M_E2l): Remove macro.
15466 (M_E3l): Likewise.
15467 (M_2_SQRT_PIl): Likewise.
15468 (M_SQRT_PIl): Likewise.
15469 (M_1_DIV_El): Likewise.
15470 (log_test_data): Use AUTO_TESTS_f_f.
15471 (log10_test_data): Likewise.
15472 (log1p_test_data): Likewise.
15473 (log2_test_data): Likewise.
15474 (sin_test_data): Likewise.
15475 (sin_tonearest_test_data): Likewise.
15476 (sin_towardzero_test_data): Likewise.
15477 (sin_downward_test_data): Likewise.
15478 (sin_upward_test_data): Likewise.
15479 (sinh_test_data): Likewise.
15480 (sinh_tonearest_test_data): Likewise.
15481 (sinh_towardzero_test_data): Likewise.
15482 (sinh_downward_test_data): Likewise.
15483 (sinh_upward_test_data): Likewise.
15484 (tan_test_data): Likewise.
15485 (tan_tonearest_test_data): Likewise.
15486 (tan_towardzero_test_data): Likewise.
15487 (tan_downward_test_data): Likewise.
15488 (tan_upward_test_data): Likewise.
15489 (tanh_test_data): Likewise.
15490 (tgamma_test_data): Likewise.
15491 (y0_test_data): Likewise.
15492 (y1_test_data): Likewise.
15493 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
15494 (special_real_inputs): Add pi/4.
15495 * sysdeps/i386/fpu/libm-test-ulps: Update.
15496 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15497
eb5ad6b9
AZ
154982013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15499
15500 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
15501 "longjmp_target" static probes.
15502 (__longjmp): Rename to __longjmp_symbol.
15503 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
15504 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
15505 on which longjmp to generate.
15506 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
15507 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
15508 probe.
15509 (__sigsetjmp): Rename to __sigsetjmp_symbol.
15510 (__sigjmp_save): Rename to __sigjmp_save_symbol.
15511 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
15512 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
15513 and __sigjmp_save_symbol based on which sigsetjmp to generated.
15514 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
15515 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
15516 __longjmp_symbol based on which __longjmp to generate.
15517 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
15518 probe.
15519 (setjmp): Rename to setjmp_symbol.
15520 (__sigsetjmp): Rename to __sigsetjmp_symbol.
15521 (_setjmp): Rename to _setjmp_symbol.
15522 (__sigsetjmp): Rename to __sigsetjmp_symbol.
15523 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
15524 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
15525 which setjmp to generate.
15526 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
15527 "longjmp_target" static probes.
15528
d136c6dc
SP
155292013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
15530
9298ecba
SP
15531 * benchtests/README: Add note about output arguments.
15532 * benchtests/bench-sincos.c: Remove file.
15533 * benchtests/sincos-inputs: New file.
15534 * scripts/bench.pl: Identify output arguments and define
15535 static variables for them.
15536
232983e9
SP
15537 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
15538
d136c6dc
SP
15539 [BZ #15941]
15540 * Makefile (INSTALL): Add install-plain.texi as the primary
15541 dependency.
15542 * manual/install-plain.texi: New file.
15543 * manual/install.texi: Include node directive only for
15544 non-plaintext output.
15545
699ff837
JM
155462013-12-04 Joseph Myers <joseph@codesourcery.com>
15547
ab07cea8
JM
15548 * stdlib/longlong.h: Update from GCC.
15549
699ff837
JM
15550 [BZ #6807]
15551 [BZ #15901]
15552 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
15553 * math/w_j0f.c (y0f): Likewise.
15554 * math/w_j0l.c (__y0l): Likewise.
15555 * math/w_j1.c (y1): Likewise.
15556 * math/w_j1f.c (y1f): Likewise.
15557 * math/w_j1l.c (__y1l): Likewise
15558 * math/w_jn.c (yn): Likewise.
15559 * math/w_jnf.c (ynf): Likewise.
15560 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
15561 Bessel function pole errors in _POSIX_ mode. Use NAN as return
15562 value for Bessel function domain errors outside _SVID_ mode.
15563 Adjust sign of return value for yn (negative integer, 0).
15564 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
15565 by zero in return for negative x and set sign appropriately for
15566 negative n.
15567 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
15568 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
15569 * math/libm-test.inc (y0_test_data): Add more tests and adjust
15570 expectations in error cases.
15571 (y1_test_data): Likewise.
15572 (yn_test_data): Likewise.
15573 * sysdeps/i386/fpu/libm-test-ulps: Update.
15574 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15575
5b118558
UW
155762013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
15577
15578 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
15579 "64" to "64-v1". Add "64-v2".
15580 (abi-64-options): Rename to ...
15581 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
15582 (abi-64-condition): Rename to ...
15583 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
15584 (abi-64-ld-soname): Rename to ...
15585 (abi-64-v1-ld-soname): ... this.
15586 (abi-64-v2-options): Define.
15587 (abi-64-v2-condition): Likewise.
15588 (abi-64-v2-ld-soname): Likewise.
15589 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
15590 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
15591 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
15592 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
15593 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
15594
61cd8fe4
UW
155952013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
15596 Alan Modra <amodra@gmail.com>
15597
15598 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
15599 New versions for use with the ELFv2 ABI.
15600 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
15601 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
15602 declaration.
15603 (struct La_ppc64v2_retval): Likewise.
15604 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
15605 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
15606 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
15607 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
15608 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
15609 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
15610 Do not save or restore CR.
15611 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
15612 (_dl_profile_resolve): Do no save or restore CR. Support extended
15613 return values for ELFv2 ABI. Fix location of FPR return registers.
15614 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
15615 updated values for _CALL_ELF == 2.
15616 (La_regs, La_retval, int_retval): Likewise.
15617
8b8a692c
UW
156182013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
15619
15620 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
15621 (FRAME_MIN_SIZE_PARM): Likewise.
15622 (FRAME_BACKCHAIN): Likewise.
15623 (FRAME_CR_SAVE): Likewise.
15624 (FRAME_LR_SAVE): Likewise.
15625 (FRAME_TOC_SAVE): Likewise.
15626 (FRAME_PARM_SAVE): Likewise.
15627 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
15628 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
15629 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
15630 (call_mcount_parm_offset): New macro.
15631 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
15632 (PROF): Use symbolic stack frame offsets.
15633 (TAIL_CALL_SYSCALL_ERROR): Likewise.
15634 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
15635 Redefine in terms of FRAME_MIN_SIZE.
15636 (_dl_runtime_resolve): Use symbolic stack frame offsets.
15637 (_dl_profile_resolve): Likewise. Update comment.
15638 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
15639 symbols stack frame offsets.
15640 (__sigsetjmp): Likewise.
15641 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
15642 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
15643 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
15644 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
15645
15646 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
15647 (FRAME_BACKCHAIN): Remove.
15648 (FRAME_CR_SAVE): Likewise.
15649 (FRAME_LR_SAVE): Likewise.
15650 (FRAME_COMPILER_DW): Likewise.
15651 (FRAME_LINKER_DW): Likewise.
15652 (FRAME_TOC_SAVE): Likewise.
15653 (FRAME_PARM_SAVE): Likewise.
57f41c40
AS
15654 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
15655 (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
15656 (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
8b8a692c
UW
15657 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
15658 (CHECK_SP): Use symbolic stack frame offsets.
15659 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
15660 zone" instead of caller's parameter save area for temp storage.
15661 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
15662 Likewise. Also, use symbolic stack frame offsets.
15663 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
15664 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
15665 our own stack frame instead of the caller's.
15666 (__socket): Use symbolic stack frame offsets.
15667
122b66de
UW
156682013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
15669 Alan Modra <amodra@gmail.com>
15670
15671 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
15672 Define.
57f41c40
AS
15673 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
15674 (PPC64_LOCAL_ENTRY_OFFSET): Define.
122b66de
UW
15675 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
15676 New function.
15677 (elf_machine_fixup_plt): Call it.
15678 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
15679 reloc arguments.
15680 (elf_machine_rela): Update call to elf_machine_plt_conflict.
57f41c40
AS
15681 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
15682 (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
122b66de
UW
15683 r2 before calling target.
15684
696caf1d
UW
156852013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
15686 Alan Modra <amodra@gmail.com>
15687
15688 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
15689 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
15690 versions of macros to support ELFv2 ABI.
15691 (LOCALENTRY): New macro.
15692 (ENTRY, EALIGN): Use it.
15693 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
15694 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
15695 fall through into ENTRY entry point.
15696 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
15697 Only define if _CALL_ELF != 2.
15698
15699 (elf_machine_matches_host): Verify ABI version matches.
15700 (RTLD_START): Use LOCALENTRY.
15701 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
15702 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
15703 (PLT_ENTRY_WORDS): New macro.
15704 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
15705 (elf_machine_runtime_setup): Support ELFv2 ABI.
15706 (elf_machine_fixup_plt): Likewise.
15707 (elf_machine_plt_conflict): Likewise.
15708 (resolve_ifunc): Likewise.
15709 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
15710 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
15711 Likewise.
15712 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
15713 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
15714 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
15715 (makecontext): Support ELFv2 ABI.
15716 * elf/elf.h (EF_PPC64_ABI): Define.
15717
d31beafa
UW
157182013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
15719
57f41c40
AS
15720 * sysdeps/powerpc/powerpc64/sysdep.h
15721 (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
15722 (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
15723 (ENTRY) [ASSEMBLER]: ... but instead here ...
15724 (EALIGN) [ASSEMBLER]: ... and here.
15725 (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
15726 (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
15727 (ENTRY_2) [!ASSEMBLER]: Use it.
d31beafa
UW
15728 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
15729 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
57f41c40
AS
15730 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
15731 (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
d31beafa
UW
15732 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
15733 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
15734 Use PPC64_LOAD_FUNCPTR.
15735
b525166b
UW
15736 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
15737
7ec07d9a
AM
157382013-12-04 Alan Modra <amodra@gmail.com>
15739
15740 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
15741 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
15742 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
15743 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
15744
15745 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
15746 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
15747 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
15748 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
15749 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
15750 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
15751
5162e7dd
UW
157522013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
15753
15754 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
15755 (__makecontext): Fix incorrect CFI when backtracing out of
15756 context created via makecontext.
15757 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
15758 (__setcontext): Fix incorrect CFI during switch to new context.
15759 (__novec_setcontext): Likewise.
15760
19e3372b
OB
157612013-12-04 Ondřej Bílka <neleai@seznam.cz>
15762
15763 [BZ #4772]
15764 * time/strptime_l.c (__strptime_internal): Allow modifiers
15765 in strptime.
15766 * time/tst-strptime.c (day_tests): Add testcase.
15767
ecaf142d
SP
157682013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
15769
15770 * scripts/bench.pl: Skip over blank lines.
15771
fbf964ae
PE
157722013-12-04 Paul Eggert <eggert@cs.ucla.edu>
15773
15774 [BZ #926]
15775 * manual/time.texi (Calendar Time): Clarify what timezone functions
15776 use.
15777
fa60a674
AZ
157782013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15779
15780 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15781
d674f0ef
OB
157822013-12-04 Ondřej Bílka <neleai@seznam.cz>
15783
15784 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
15785 implementation.
15786 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
15787 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
15788 * debug/memset_chk.c (__memset_chk): Likewise.
15789 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
15790 * debug/strncpy_chk.c: Likewise.
15791
17dea188
JM
157922013-12-03 Joseph Myers <joseph@codesourcery.com>
15793
749008ff
JM
15794 [BZ #15268]
15795 [BZ #15425]
15796 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
15797 (__ieee754_exp): For possibly underflowing results, check size of
15798 result and force underflow exception if required.
15799 * math/auto-libm-test-in: Add more tests of exp.
15800 * math/auto-libm-test-out: Regenerated.
15801 * sysdeps/i386/fpu/libm-test-ulps: Update.
15802 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15803
17dea188
JM
15804 [BZ #16283]
15805 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
15806 * math/w_exp2f.c (__exp2f): Likewise.
15807 * math/w_exp2l.c (__exp2l): Likewise.
15808 * math/auto-libm-test-in: Do not allow missing errno on exp2
15809 underflow.
15810 * math/auto-libm-test-out: Regenerated.
15811
b20de2c3
OB
158122013-12-03 Ondřej Bílka <neleai@seznam.cz>
15813
15814 [BZ #16274]
15815 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
15816 handle filename validation.
15817 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
15818 (do_open): Delete.
15819
d8e2dbe3
JM
158202013-12-03 Joseph Myers <joseph@codesourcery.com>
15821
34e16df5
JM
15822 [BZ #6786]
15823 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
15824 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
15825 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
15826 <float.h>.
15827 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
15828 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
15829 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
15830 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
15831 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
15832 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
15833 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
15834 * math/auto-libm-test-in: Don't allow missing errno from erfc.
15835 Add more erfc tests.
15836 * math/auto-libm-test-out: Regenerated.
15837 * sysdeps/i386/fpu/libm-test-ulps: Update.
15838 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15839
d8e2dbe3
JM
15840 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
15841 exp2, expm1, j0 and j1.
15842 * math/auto-libm-test-out: Regenerated.
15843 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
15844 (erfc_test_data): Likewise.
15845 (exp_test_data): Likewise.
15846 (exp_tonearest_test_data): Likewise.
15847 (exp_towardzero_test_data): Likewise.
15848 (exp_downward_test_data): Likewise.
15849 (exp_upward_test_data): Likewise.
15850 (exp10_test_data): Likewise.
15851 (exp2_test_data): Likewise.
15852 (expm1_test_data): Likewise.
15853 (j0_test_data): Likewise.
15854 (j1_test_data): Likewise.
15855 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
15856 (input_flag_type): Add flag_xfail_rounding.
15857 (input_flags): Add xfail-rounding.
15858 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
15859 (output_for_one_input_case): Handle flag_xfail_rounding.
15860 * sysdeps/i386/fpu/libm-test-ulps: Update.
15861 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15862
18d14251
AJ
158632013-12-03 Aurelien Jarno <aurelien@aurel32.net>
15864
3d2e6075 15865 [BZ #16289]
18d14251
AJ
15866 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
15867 division by 0.
15868
520d437b
SP
158692013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
15870
15871 [BZ #16195]
15872 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
15873 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
15874 (STAP_PROBE0): New macro.
15875 (STAP_PROBE1): Likewise.
15876 (STAP_PROBE2): Likewise.
15877 (STAP_PROBE3): Likewise.
15878 (STAP_PROBE4): Likewise.
15879
416e0145
OB
158802013-12-02 Ondřej Bílka <neleai@seznam.cz>
15881
15882 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
15883
9d17796a
SE
158842013-12-02 Steve Ellcey <sellcey@mips.com>
15885
15886 * benchtests/Makefile (bench): Add sqrt.
15887 (LDLIBS-bench-sqrt): New.
15888 * benchtests/sqrt-input: New.
15889
f524d6a8
PS
158902013-12-02 Pavel Simerda <psimerda@redhat.com>
15891
639a0ef8
PS
15892 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
15893 (GAIH_EAI): Likewise.
15894 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
15895 (gaih_inet): Likewise.
15896 (getaddrinfo): Don't use GAIH_EAI.
15897
f524d6a8
PS
15898 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
15899 (struct gaih): Remove definition.
15900
df3aedaf
SP
159012013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
15902
15903 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
15904 Use HERRNOP directly.
15905
1ab19dec
AZ
159062013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15907
b42ad38d 15908 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1ab19dec 15909
176b0c79
JM
159102013-11-30 Joseph Myers <joseph@codesourcery.com>
15911
15912 * math/gen-auto-libm-tests.c (test_functions): Add more
15913 single-argument functions.
15914 (special_fill_pi_2): New function.
15915 (special_fill_minus_pi_2): Likewise.
15916 (special_fill_pi_6): Likewise.
15917 (special_fill_minus_pi_6): Likewise.
15918 (special_fill_pi_3): Likewise.
15919 (special_fill_2pi_3): Likewise.
15920 (special_fill_e): Likewise.
15921 (special_fill_1_e): Likewise.
15922 (special_fill_e_minus_1): Likewise.
15923 (special_real_inputs): Add more special inputs.
15924 (output_for_one_input_case): Do not require ERANGE on underflow to
15925 zero if round-to-nearest result does not underflow to zero, unless
15926 exact results required.
15927 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
15928 atan, atanh, cbrt, cos and cosh.
15929 * math/auto-libm-test-out: Regenerated.
15930 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
15931 (acos_tonearest_test_data): Likewise.
15932 (acos_towardzero_test_data): Likewise.
15933 (acos_downward_test_data): Likewise.
15934 (acos_upward_test_data): Likewise.
15935 (acosh_test_data): Likewise.
15936 (asin_test_data): Likewise.
15937 (asin_tonearest_test_data): Likewise.
15938 (asin_towardzero_test_data): Likewise.
15939 (asin_upward_test_data): Likewise.
15940 (asinh_test_data): Likewise.
15941 (atan_test_data): Likewise.
15942 (atanh_test_data): Likewise.
15943 (cbrt_test_data): Likewise.
15944 (cos_test_data): Likewise.
15945 (cos_tonearest_test_data): Likewise.
15946 (cos_towardzero_test_data): Likewise.
15947 (cos_downward_test_data): Likewise.
15948 (cos_upward_test_data): Likewise.
15949 (cosh_test_data): Likewise.
15950 (cosh_tonearest_test_data): Likewise.
15951 (cosh_towardzero_test_data): Likewise.
15952 (cosh_downward_test_data): Likewise.
15953 (cosh_upward_test_data): Likewise.
15954 * sysdeps/i386/fpu/libm-test-ulps: Update.
15955 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15956
ffb536d0
JM
159572013-11-29 Joseph Myers <joseph@codesourcery.com>
15958
2a77a467
JM
15959 [BZ #6787]
15960 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
15961 * math/w_exp10f.c (__exp10f): Likewise.
15962 * math/w_exp10l.c (__exp10l): Likewise.
15963 * math/libm-test.inc (exp10_test_data): Add more tests and expect
15964 errno settings in existing tests.
15965
ea3bc4e8
JM
15966 [BZ #14032]
15967 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
15968 precision control set to double precision.
15969 * sysdeps/i386/fpu/w_sqrt.c: New file.
15970 * math/auto-libm-test-in: Add more tests.
15971 * math/auto-libm-test-out: Update.
15972
0712c9d8
JM
15973 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
15974 (sqrt_test_tonearest): New function.
15975 (sqrt_towardzero_test_data): New variable.
15976 (sqrt_test_towardzero): New function.
15977 (sqrt_downward_test_data): New variable.
15978 (sqrt_test_downward): New function.
15979 (sqrt_upward_test_data): New variable.
15980 (sqrt_test_upward): New function.
15981 (main): Call the new functions.
15982
ffb536d0
JM
15983 * math/gen-auto-libm-tests.c: New file.
15984 * math/auto-libm-test-in: Likewise.
15985 * math/auto-libm-test-out: New generated file.
15986 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
15987 variables.
15988 (%beautify): Add generated representations of zero.
15989 (top level): Set $auto_input and call parse_auto_input.
15990 (beautify): Remove trailing "f" from hex float constants.
15991 (parse_args): Handle XFAIL_TEST.
15992 (convert_condition): New function.
15993 (or_value): Likewise.
15994 (or_cond_value): Likewise.
15995 (generate_testfile): Handle AUTO_TESTS_* lines.
15996 (parse_auto_input): New function.
15997 * math/libm-test.inc (XFAIL_TEST): New macro.
15998 (ERRNO_UNCHANGED): Update value.
15999 (ERRNO_EDOM): Likewise.
16000 (ERRNO_ERANGE): Likewise.
16001 (IGNORE_RESULT): Likewise.
16002 (TEST_COND_flt_32): New macro.
16003 (TEST_COND_dbl_64): Likewise.
16004 (TEST_COND_ldbl_96_intel): Likewise.
16005 (TEST_COND_ldbl_96_m68k): Likewise.
16006 (TEST_COND_ldbl_128): Likewise.
16007 (TEST_COND_ldbl_128ibm): Likewise.
16008 (TEST_COND_long32): Likewise.
16009 (TEST_COND_long64): Likewise.
16010 (TEST_COND_before_rounding): Likewise.
16011 (TEST_COND_after_rounding): Likewise.
16012 (enable_test): Handle XFAIL_TEST flag.
16013 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
16014 with finite results.
16015 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
16016 auto-libm-test-out.
16017
acd98a8e
AK
160182013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
16019 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16020
16021 [BZ #16214]
16022 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
16023 __tls_get_addr_internal instead of __tls_get_offset in order to
16024 avoid GOT pointer dependency. Make rtld export
16025 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
16026 __tls_get_addr since we are a __tls_get_offset platform.
16027 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
16028 GOT pointer being set up before.
16029 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
16030
3c1c46a6
JM
160312013-11-28 Joseph Myers <joseph@codesourcery.com>
16032
7475aef5
JM
16033 * manual/math.texi (Errors in Math Functions): Document accuracy
16034 goals.
16035
8bca7cd8
JM
16036 [BZ #15004]
16037 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
16038 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
16039 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
16040 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
16041 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
16042 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
16043 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
16044 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
16045 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
16046 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
16047 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
16048 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
16049 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
16050 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
16051 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
16052 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
16053
91a1f3fe
JM
16054 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
16055 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
16056 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
16057 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
16058 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
16059 Likewise.
16060 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
16061 Likewise.
16062 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
16063 Likewise.
16064 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
16065 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
16066 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
16067 atomic-feupdateenv and flt-rounds.
16068 * sysdeps/powerpc/nofpu/Versions (libc): Add
16069 __atomic_feholdexcept, __atomic_feclearexcept,
16070 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
16071 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
16072 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
16073 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
16074 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
16075 here.
16076 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
16077 Update.
16078
c5df7609
JM
16079 * manual/arith.texi (FP Exceptions): Document that exceptions may
16080 not be raised when matherr is used.
16081 (Math Error Reporting): Document overflow in directed rounding
16082 modes. Document that errno may not be set when finite values are
16083 returned on overflow. Document intent to set errno on underflow
16084 only for underflow to zero.
16085
3c1c46a6
JM
16086 [BZ #16271]
16087 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
16088 round-to-nearest then adjust result for other rounding modes.
16089 * include/fenv.h (fegetround): Use libm_hidden_proto.
16090 * math/fegetround.c (fegetround): Use libm_hidden_def.
16091 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
16092 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
16093 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
16094 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
16095 Likewise.
16096 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
16097 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
16098 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
16099 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
16100
5a4c6d53
SP
161012013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
16102
16103 [BZ #16077]
16104 * nss/Versions (libnss_files): Add
16105 _nss_files_gethostbyname3_r.
16106 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
16107 New function.
16108 (HOST_DB_LOOKUP): Remove macro.
16109 (_nss_files_gethostbyname_r): Implement function without the
16110 HOST_DB_LOOKUP macro.
16111 (_nss_files_gethostbyname2_r): Likewise.
16112
897b98ba
OB
161132013-11-28 Ondřej Bílka <neleai@seznam.cz>
16114
16115 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
16116
6f476861
UB
161172013-11-26 Uros Bizjak <ubizjak@gmail.com>
16118
16119 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
16120 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
16121 warning.
16122
bd12ab55
AZ
161232013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16124
16125 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
16126 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
16127 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
16128 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
16129 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
16130 __fe_nomask_env_priv and attribute_hidden.
16131 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
16132 (libc_feupdateenv_test_ppc): Likewise.
16133 (libc_feresetround_ppc): Likewise.
16134 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
16135 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
16136 compat_symbol macro.
16137 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
16138 (__fe_nomask_env): Likewise.
16139 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
16140
52bb6543
OB
161412013-11-26 Ondřej Bílka <neleai@seznam.cz>
16142
16143 * string/Makefile: Remove ifunc tests.
16144 * string/test-string.h: Define TEST_IFUNC.
16145 * string/test-bcopy-ifunc.c: Remove.
16146 * string/test-bzero-ifunc.c: Likewise.
16147 * string/test-memccpy-ifunc.c: Likewise.
16148 * string/test-memchr-ifunc.c: Likewise.
16149 * string/test-memcmp-ifunc.c: Likewise.
16150 * string/test-memcpy-ifunc.c: Likewise.
16151 * string/test-memmem-ifunc.c: Likewise.
16152 * string/test-memmove-ifunc.c: Likewise.
16153 * string/test-mempcpy-ifunc.c: Likewise.
16154 * string/test-memrchr-ifunc.c: Likewise.
16155 * string/test-memset-ifunc.c: Likewise.
16156 * string/test-rawmemchr-ifunc.c: Likewise.
16157 * string/test-stpcpy-ifunc.c: Likewise.
16158 * string/test-stpncpy-ifunc.c: Likewise.
16159 * string/test-strcasecmp-ifunc.c: Likewise.
16160 * string/test-strcasestr-ifunc.c: Likewise.
16161 * string/test-strcat-ifunc.c: Likewise.
16162 * string/test-strchr-ifunc.c: Likewise.
16163 * string/test-strchrnul-ifunc.c: Likewise.
16164 * string/test-strcmp-ifunc.c: Likewise.
16165 * string/test-strcpy-ifunc.c: Likewise.
16166 * string/test-strcspn-ifunc.c: Likewise.
16167 * string/test-strlen-ifunc.c: Likewise.
16168 * string/test-strncasecmp-ifunc.c: Likewise.
16169 * string/test-strncat-ifunc.c: Likewise.
16170 * string/test-strncmp-ifunc.c: Likewise.
16171 * string/test-strncpy-ifunc.c: Likewise.
16172 * string/test-strnlen-ifunc.c: Likewise.
16173 * string/test-strpbrk-ifunc.c: Likewise.
16174 * string/test-strrchr-ifunc.c: Likewise.
16175 * string/test-strspn-ifunc.c: Likewise.
16176 * string/test-strstr-ifunc.c: Likewise.
16177
ab260039 161782013-11-26 Ondřej Bílka <neleai@seznam.cz>
2787db97
OB
16179
16180 * benchtests/Makefile: Remove ifunc tests.
16181 * benchtests/bench-string.h: Define TEST_IFUNC.
16182 * benchtests/bench-bcopy-ifunc.c: Remove.
16183 * benchtests/bench-bzero-ifunc.c: Likewise.
16184 * benchtests/bench-memccpy-ifunc.c: Likewise.
16185 * benchtests/bench-memchr-ifunc.c: Likewise.
16186 * benchtests/bench-memcmp-ifunc.c: Likewise.
16187 * benchtests/bench-memcpy-ifunc.c: Likewise.
16188 * benchtests/bench-memmem-ifunc.c: Likewise.
16189 * benchtests/bench-memmove-ifunc.c: Likewise.
16190 * benchtests/bench-mempcpy-ifunc.c: Likewise.
16191 * benchtests/bench-memrchr-ifunc.c: Likewise.
16192 * benchtests/bench-memset-ifunc.c: Likewise.
16193 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
16194 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
16195 * benchtests/bench-stpcpy-ifunc.c: Likewise.
16196 * benchtests/bench-stpncpy-ifunc.c: Likewise.
16197 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
16198 * benchtests/bench-strcasestr-ifunc.c: Likewise.
16199 * benchtests/bench-strcat-ifunc.c: Likewise.
16200 * benchtests/bench-strchr-ifunc.c: Likewise.
16201 * benchtests/bench-strchrnul-ifunc.c: Likewise.
16202 * benchtests/bench-strcmp-ifunc.c: Likewise.
16203 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
16204 * benchtests/bench-strcpy-ifunc.c: Likewise.
16205 * benchtests/bench-strcspn-ifunc.c: Likewise.
16206 * benchtests/bench-strlen-ifunc.c: Likewise.
16207 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
16208 * benchtests/bench-strncat-ifunc.c: Likewise.
16209 * benchtests/bench-strncmp-ifunc.c: Likewise.
16210 * benchtests/bench-strncpy-ifunc.c: Likewise.
16211 * benchtests/bench-strnlen-ifunc.c: Likewise.
16212 * benchtests/bench-strpbrk-ifunc.c: Likewise.
16213 * benchtests/bench-strrchr-ifunc.c: Likewise.
a9503496 16214 * benchtests/bench-strsep-ifunc.c: Likewise.
2787db97
OB
16215 * benchtests/bench-strspn-ifunc.c: Likewise.
16216 * benchtests/bench-strstr-ifunc.c: Likewise.
16217
162182013-11-26 Ondřej Bílka <neleai@seznam.cz>
16219
ab260039
OB
16220 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
16221
d1d9eaf4 162222013-11-26 Ondřej Bílka <neleai@seznam.cz>
2787db97 16223
d1d9eaf4
OB
16224 * resolv/netdb.h: Use __glibc_reserved instead __unused.
16225 * rt/aio.h: Likewise.
16226 * sysdeps/gnu/bits/utmp.h: Likewise.
16227 * sysdeps/gnu/bits/utmpx.h: Likewise.
16228 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
16229 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
16230 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
16231 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
16232 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
16233 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
16234 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
16235 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
16236 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
16237 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
16238 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
16239 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
16240 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
16241 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
16242 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
16243 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
16244 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
16245 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
16246 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
16247 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
16248 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
16249 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
16250 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
16251 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
16252 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
16253 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
16254 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
16255 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
16256 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
16257 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
16258 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
16259 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
16260 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
16261 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
16262 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
16263 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
16264 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
16265 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
16266 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
16267 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
16268 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
16269 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
16270
a7624ed9
CD
162712013-11-25 Carlos O'Donell <carlos@redhat.com>
16272
16273 [BZ #16245]
16274 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
16275 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
16276
63cfe52b
JM
162772013-11-25 Joseph Myers <joseph@codesourcery.com>
16278
16279 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
16280 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
16281 Likewise.
16282
41e8926a
AZ
162832013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16284
16285 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
16286 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
16287 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
16288 (__fesetround): Remove define.
16289 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
16290 rounding and exceptions handling.
16291 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
16292 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
16293 (__fe_nomask_env): Likewise.
16294 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
16295 __fegetround instead of fegetround.
16296 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
16297 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
16298
6851bd4d
RM
162992013-11-21 Roland McGrath <roland@hack.frob.com>
16300
070906ff
RM
16301 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
16302 it's there.
16303
6851bd4d
RM
16304 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
16305
84ae135d
MI
163062013-11-21 Meador Inge <meadori@codesourcery.com>
16307
16308 [BZ #11157]
16309 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
16310 (encrypt_r): Likewise.
16311 * malloc/obstack.h (obstack_free): Likewise.
16312 * posix/unistd.h (encrypt): Likewise.
16313
daf75146
GM
163142013-11-21 Guy Martin <gmsoft@tuxicoman.be>
16315
16316 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
16317 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
16318 DL_CALL_DT_FINI() that call the functions directly.
16319 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
16320 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
16321 * elf/dl-fini.c: Likewise.
16322
10ad46bc
OB
163232013-11-20 Ondřej Bílka <neleai@seznam.cz>
16324
16325 * malloc/hooks.c (memalign_check): Add alignment rounding.
16326 * malloc/malloc.c (_mid_memalign): New function.
16327 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
16328 Implement by calling _mid_memalign.
16329 * manual/probes.texi (Memory Allocation Probes): Remove
16330 memory_valloc_retry and memory_pvalloc_retry.
16331
f3fd2628
SP
163322013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
16333
4712799f
SP
16334 * locale/programs/locarchive.c (open_archive): Add const
16335 qualifier to ARCHIVEFNAME and copy default fname to
16336 DEFAULT_FNAME.
16337
0417b20f
SP
16338 [BZ #15601]
16339 * libio/tst-widetext.input: Rename Oriya to Odia.
16340 * locale/iso-639.def: Likewise.
16341
f3fd2628
SP
16342 * manual/probes.texi (Mathematical Function Probes): Add
16343 documentation for sin, cos, asin and acos probes.
16344 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
16345 (__sin32): Add slowasin probe.
16346 (__cos32): Add slowacos probe.
16347 (__mpsin): Add slowsin probe.
16348 (__mpcos): Add slowcos probe.
16349
73c1ce4f
JM
163502013-11-19 Joseph Myers <joseph@codesourcery.com>
16351
16352 [BZ #15483]
16353 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
16354 thread-local __sim_exceptions_thread and global
16355 __sim_exceptions_global.
16356 (__sim_disabled_exceptions): Change to thread-local
16357 __sim_disabled_exceptions_thread and global
16358 __sim_disabled_exceptions_global.
16359 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
16360 and global __sim_round_mode_global.
16361 (__simulate_exceptions): Use thread-local floating-point state and
16362 set global state from it as needed.
16363 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
16364 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
16365 __sim_round_mode_thread.
16366 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
16367 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
16368 and global __sim_exceptions_global.
16369 (__sim_disabled_exceptions): Change to thread-local
16370 __sim_disabled_exceptions_thread and global
16371 __sim_disabled_exceptions_global.
16372 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
16373 and global __sim_round_mode_global.
16374 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
16375 (SIM_SET_GLOBAL): Likewise.
16376 * sysdeps/powerpc/soft-fp/sfp-machine.h
16377 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
16378 __sim_round_mode_thread.
16379 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
16380 __sim_disabled_exceptions_thread.
16381 (__sim_exceptions): Change to __sim_exceptions_thread.
16382 (__sim_disabled_exceptions): Change to
16383 __sim_disabled_exceptions_thread.
16384 (__sim_round_mode): Change to __sim_round_mode_thread.
16385 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
16386 thread-local floating-point state and set global state from it as
16387 needed.
16388 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
16389 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
16390 (__sim_disabled_exceptions): Remove extern declaration.
16391 (feenableexcept): Use thread-local floating-point state and set
16392 global state from it as needed.
16393 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
16394 extern declaration.
16395 (__sim_disabled_exceptions): Likewise.
16396 (__sim_round_mode): Likewise.
16397 (__fegetenv): Use thread-local floating-point state.
16398 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
16399 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
16400 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
16401 floating-point state and set global state from it as needed.
16402 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
16403 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
16404 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
16405 Likewise.
16406 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
16407 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
16408 Likewise.
16409 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
16410 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
16411 Use __sim_round_mode_thread.
16412 * math/test-fenv-tls.c: New file.
16413 * math/Makefile (tests): Add test-fenv-tls.
16414 ($(objpfx)test-fenv-tls): Depend on
16415 $(common-objpfx)nptl/libpthread.so.
16416
b5449b12
AS
164172013-11-19 Andreas Schwab <schwab@suse.de>
16418
16419 * locale/programs/locale.c (show_info): Decode wordarray elements.
16420 * locale/categories.def (LC_MONETARY): Add element for
16421 _NL_MONETARY_CRNCYSTR.
16422 * locale/C-monetary.c (conversion_rate): New variable.
16423 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
16424 element.
16425
e186536b
CM
164262013-11-18 Chris Metcalf <cmetcalf@tilera.com>
16427
16428 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
16429 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
16430
5c349950
PP
164312013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
16432
16433 * elf/Makefile (tst-auxv): New test.
16434 * elf/tst-auxv.c: New
16435 * elf/rtld.c (dl_main): Adjust AT_EXECFN
16436
699df45b
JM
164372013-11-18 Joseph Myers <joseph@codesourcery.com>
16438
16439 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
16440 (hidden_proto): Caller changed.
16441 (hidden_tls_proto): New macro.
16442 (libc_hidden_tls_proto): Likewise.
16443 (rtld_hidden_tls_proto): Likewise.
16444 (libm_hidden_tls_proto): Likewise.
16445 (libresolv_hidden_tls_proto): Likewise.
16446 (librt_hidden_tls_proto): Likewise.
16447 (libdl_hidden_tls_proto): Likewise.
16448 (libnss_files_hidden_tls_proto): Likewise.
16449 (libnsl_hidden_tls_proto): Likewise.
16450 (libnss_nisplus_hidden_tls_proto): Likewise.
16451 (libutil_hidden_tls_proto): Likewise.
16452
b7589107
OB
164532013-11-18 Ondřej Bílka <neleai@seznam.cz>
16454
16455 [BZ #10253]
16456 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
16457 (decompose_rpath): Defer expansion to fillin_rpath.
16458 (_dl_init_paths): Pass linkmap to fillin_rpath.
16459
250c23bd
RS
164602013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
16461
16462 * benchtests/Makefile: Add strsep.
16463 * benchtests/bench-strsep.c: New file: strsep benchtest.
16464 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
16465
a7931fcf
AS
164662013-11-18 Andreas Schwab <schwab@suse.de>
16467
16468 * locale/programs/locale.c (show_info) [case byte]: Check for
16469 '\377' instead of '\177'.
16470 * locale/C-monetary.c (not_available): Always use "\377".
16471 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
16472 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
16473 detect unavailable sign_posn locale elements.
16474 * locale/localeconv.c (__localeconv): For grouping and
16475 mon_grouping handle "\177" and "\377" like no grouping.
16476 (INT_ELEM): New macro. Use it to set all numeric members.
16477 * locale/programs/ld-monetary.c (monetary_read)
16478 <tok_mon_grouping>: Normalize single -1 to the empty string.
16479 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
16480 Likewise.
16481
728dab0e
OB
164822013-11-07 Ondřej Bílka <neleai@seznam.cz>
16483
16484 [BZ #16055]
16485 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
16486 when we match (nil).
16487 * stdio-common/tst-sscanf.c (struct test): Add testcase.
16488
66294491
JM
164892013-11-16 Joseph Myers <joseph@codesourcery.com>
16490
ce665817
JM
16491 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
16492 (NO_TEST_INLINE): Update value.
16493 (ERRNO_UNCHANGED): Likewise.
16494 (ERRNO_EDOM): Likewise.
16495 (ERRNO_ERANGE): Likewise.
16496 (IGNORE_RESULT): Likewise.
16497 (check_float_internal): Check signs of NaN results if
16498 TEST_NAN_SIGN used.
16499 (check_complex): Pass TEST_NAN_SIGN flag through to second
16500 check_float_internal call.
16501 (copysign_test_data): Add tests with quiet NaNs as second
16502 argument. Use TEST_NAN_SIGN.
16503 (fabs_test_data): Add test of negative quiet NaN argument. Use
16504 TEST_NAN_SIGN.
16505 (signbit_test_data): Add tests of quiet NaN argument.
16506 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
16507
ee1466a9
JM
16508 * math/gen-libm-test.pl (show_exceptions): Take extra argument
16509 $ignore_result.
16510 (parse_args): Handle function results specified as IGNORE.
16511 * math/libm-test.inc (IGNORE_RESULT): New macro.
16512 (check_float_internal): Do not check numerical result if flag
16513 IGNORE_RESULT set.
16514 (check_complex): Pass through IGNORE_RESULT to second
16515 check_float_internal call.
16516 (check_int): Do not check numerical result if flag IGNORE_RESULT
16517 set.
16518 (check_long): Likewise.
16519 (check_bool): Likewise.
16520 (check_longlong): Likewise.
16521 (lrint_test_data): Add tests of infinite and NaN arguments.
16522 (lrint_tonearest_test_data): Likewise.
16523 (lrint_towardzero_test_data): Likewise.
16524 (lrint_downward_test_data): Likewise.
16525 (lrint_upward_test_data): Likewise.
16526 (llrint_test_data): Likewise.
16527 (llrint_tonearest_test_data): Likewise.
16528 (llrint_towardzero_test_data): Likewise.
16529 (llrint_downward_test_data): Likewise.
16530 (llrint_upward_test_data): Likewise.
16531 (lround_test_data): Likewise.
16532 (llround_test_data): Likewise.
16533
14407b7e
JM
16534 * math/libm-test.inc (NO_TEST_INLINE): New macro.
16535 (ERRNO_UNCHANGED): Update value.
16536 (ERRNO_EDOM): Likewise.
16537 (ERRNO_ERANGE): Likewise.
16538 (NO_TEST_INLINE_FLOAT): New macro.
16539 (NO_TEST_INLINE_DOUBLE): Likewise.
16540 (enable_test): New function.
16541 (RUN_TEST_f_f): Check enable_test before running test.
16542 (RUN_TEST_2_f): Likewise.
16543 (RUN_TEST_fff_f): Likewise.
16544 (RUN_TEST_c_f): Likewise.
16545 (RUN_TEST_f_f1): Likewise.
16546 (RUN_TEST_fF_f1): Likewise.
16547 (RUN_TEST_fI_f1): Likewise.
16548 (RUN_TEST_ffI_f1): Likewise.
16549 (RUN_TEST_c_c): Likewise.
16550 (RUN_TEST_cc_c): Likewise.
16551 (RUN_TEST_f_i): Likewise.
16552 (RUN_TEST_f_i_tg): Likewise.
16553 (RUN_TEST_ff_i_tg): Likewise.
16554 (RUN_TEST_f_b): Likewise.
16555 (RUN_TEST_f_b_tg): Likewise.
16556 (RUN_TEST_f_l): Likewise.
16557 (RUN_TEST_f_L): Likewise.
16558 (RUN_TEST_fFF_11): Likewise.
16559 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
16560 conditionals.
16561 (cosh_test_data): Likewise.
16562 (exp_test_data): Likewise.
16563 (expm1_test_data): Likewise.
16564 (hypot_test_data): Likewise.
16565 (pow_test_data): Likewise.
16566 (sinh_test_data): Likewise.
16567 (tanh_test_data): Likewise.
16568 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
16569 flags argument.
16570
ca07f197
JM
16571 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
16572 tests with quiet NaN input and output.
16573 (acosh_test_data): Likewise.
16574 (asin_test_data): Likewise.
16575 (asinh_test_data): Likewise.
16576 (atan_test_data): Likewise.
16577 (atanh_test_data): Likewise.
16578 (atan2_test_data): Likewise.
16579 (cbrt_test_data): Likewise.
16580 (cos_test_data): Likewise.
16581 (cosh_test_data): Likewise.
16582 (erf_test_data): Likewise.
16583 (erfc_test_data): Likewise.
16584 (exp_test_data): Likewise.
16585 (exp10_test_data): Likewise.
16586 (exp2_test_data): Likewise.
16587 (expm1_test_data): Likewise.
16588 (hypot_test_data): Likewise.
16589 (j0_test_data): Likewise.
16590 (j1_test_data): Likewise.
16591 (jn_test_data): Likewise.
16592 (lgamma_test_data): Likewise.
16593 (log_test_data): Likewise.
16594 (log10_test_data): Likewise.
16595 (log1p_test_data): Likewise.
16596 (log2_test_data): Likewise.
16597 (pow_test_data): Likewise.
16598 (scalb_test_data): Likewise.
16599 (sin_test_data): Likewise.
16600 (sincos_test_data): Likewise.
16601 (sinh_test_data): Likewise.
16602 (tan_test_data): Likewise.
16603 (tanh_test_data): Likewise.
16604 (tgamma_test_data): Likewise.
16605 (y0_test_data): Likewise.
16606 (y1_test_data): Likewise.
16607 (yn_test_data): Likewise.
16608
66294491
JM
16609 [BZ #16167]
16610 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
16611 argument being NaN and avoid computations with second argument in
16612 that case.
16613 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
16614 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
16615 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
16616
1820b143
CL
166172013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
16618
16619 * locale/iso-639.def: Add Chitwani Tharu (the).
16620
714bd261
AS
166212013-11-14 Andreas Schwab <schwab@suse.de>
16622
16623 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
16624 word instead of empty string.
16625
7ab44563
AZ
166262013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16627
16628 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
16629 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
16630 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
16631 (__fe_nomask_env): Likewise.
16632
e8470ea2
SE
166332013-11-13 Steve Ellcey <sellcey@mips.com>
16634
16635 * benchtests/bench-timing.h: Include time.h.
16636
17c1d9f0
L
166372013-11-13 H.J. Lu <hongjiu.lu@intel.com>
16638
16639 [BZ #15997]
16640 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
16641 to 3.4.0 for x32.
16642 * sysdeps/unix/sysv/linux/configure: Regenerated.
16643
9310c284
JM
166442013-11-13 Joseph Myers <joseph@codesourcery.com>
16645
16646 [BZ #16151]
16647 * stdlib/strtod_l.c (round_and_return): Do not consider
16648 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
16649 exponent one less than half the least subnormal exponent.
16650 * stdlib/test-strtod-round-data: Add more tests.
16651 * stdlib/tst-strtod-round.c (tests): Regenerated.
16652
7a2ad8cf
AZ
166532013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16654
16655 [BZ #14143]
16656 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
16657 (__fe_mask_env): Likewise.
16658 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
16659 libm_hidden_proto and add function prototype.
16660 (__fe_mask_env): Add function prototype.
16661 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
16662 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
16663 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
16664 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
16665 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
16666 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
16667
50727aa7
MS
166682013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
16669
b2f386c1 16670 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
50727aa7
MS
16671 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
16672
a615be46
MS
166732013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
16674
16675 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
16676 of htab_find_slot().
16677
7ddace62
DM
166782013-11-11 David S. Miller <davem@davemloft.net>
16679
16680 [BZ #16150]
16681 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
16682 symbol in the non-vis3 case in static builds.
16683 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
16684 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
16685 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
16686 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
16687
9182aa67
JK
166882013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
16689
16690 [BZ #387]
16691 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
16692 it is empty.
16693
450a2e2d
AZ
166942013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16695
b2f386c1
SP
16696 * benchtests/Makefile: Add bench-strtod.
16697 * benchtests/bench-strtod.c: New file: strtod benchtest
450a2e2d 16698
8ec3f656
AS
166992013-11-11 Andreas Schwab <schwab@suse.de>
16700
16701 [BZ #16153]
16702 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
16703 terminating NUL in key length.
16704
76a9b998
AZ
167052013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16706
16707 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
16708 Add artificial ODP entry for vDSO symbol for PPC64.
16709 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
16710 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
16711
e4368156
OB
167122013-11-07 Ondřej Bílka <neleai@seznam.cz>
16713
16714 [BZ #15374]
16715 * nss/getent.c (services_keys): Recognize services starting with digit.
16716
8d6bb57c
DM
167172013-11-06 David S. Miller <davem@davemloft.net>
16718
16719 [BZ #15985]
16720 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
16721 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
16722
e256c421
WN
167232013-11-06 Will Newton <will.newton@linaro.org>
16724
16725 * manual/memory.texi (Malloc Examples): Remove register
16726 keyword from examples.
16727
f6e12daa 167282013-11-04 Chris Leonard <cjl@sugarlabs.org>
1484e657 16729
f6e12daa 16730 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
1484e657 16731
9d880655
AS
167322013-11-04 Joseph Myers <joseph@codesourcery.com>
16733
fd2f9486 16734 [BZ #6981]
9d880655
AS
16735 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
16736 depending on [__GCC_IEC_559 > 0].
16737 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
16738 depending on [__GCC_IEC_559_COMPLEX > 0].
16739
ae129d3c
CL
167402013-11-03 Chris Leonard <cjl@sugarlabs.org>
16741
16742 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
16743 to iso-639.def.
16744
4a15c2a4 167452013-11-03 Ondřej Bílka <neleai@seznam.cz>
17c8c3dc
OB
16746
16747 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
16748
8b35e35d
OB
167492013-11-01 Ondřej Bílka <neleai@seznam.cz>
16750
16751 [BZ #16112]
16752 * malloc/malloc (malloc_info): Do not handle first bin as
16753 special case.
16754
1d70fd6c
CL
167552013-11-01 Chris Leonard <cjl@sugarlabs.org>
16756
16757 * locale/iso-639.def: Add Central Nahuatl (nhn).
16758
8c5c2600
BH
167592013-11-01 Bruno Haible <bruno@clisp.org>
16760
16761 [BZ #7003]
16762 * manual/math.texi (BSD Random): Specify range upper bound as
16763 in POSIX.
16764
da5579c2
CL
167652013-10-31 Chris Leonard <cjl@sugarlabs.org>
16766
16767 * locale/iso-639.def: Add Meadow Mari (mhr).
16768
5d30d853
OB
167692013-10-31 Ondřej Bílka <neleai@seznam.cz>
16770
16771 [BZ #14752], [BZ #15763]
16772 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
16773 Validate name.
16774 * rt/tst_shm.c: Add test for escaping directory.
16775
a4966c61
AS
167762013-10-31 Andreas Schwab <schwab@suse.de>
16777
8a43e768 16778 [BZ #15917]
a4966c61
AS
16779 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
16780 followed by 'x' as part of digit sequence.
16781 * stdio-common/tst-sscanf.c (double_tests2): New tests.
16782
28d708c4
MAP
167832013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
16784
16785 [BZ #16037]
16786 * configure.ac: allow GNU Make 4.0 and greater.
16787 * configure: Regenerated.
16788
a56ee40b
WN
167892013-10-30 Will Newton <will.newton@linaro.org>
16790
16791 [BZ #16038]
16792 * malloc/hooks.c (memalign_check): Limit alignment to the
16793 maximum representable power of two.
16794 * malloc/malloc.c (__libc_memalign): Likewise.
16795 * malloc/tst-memalign.c (do_test): Add test for very
16796 large alignment values.
16797 * malloc/tst-posix_memalign.c (do_test): Likewise.
16798
c6e4925d
OB
167992013-10-30 Ondřej Bílka <neleai@seznam.cz>
16800
16801 [BZ #11087]
16802 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
16803 (munmap_chunk): Likewise.
16804 (mremap_chunk): Likewise.
16805
168062013-10-30 Ondřej Bílka <neleai@seznam.cz>
bbea82f7 16807
8a43e768 16808 [BZ #15799]
bbea82f7
OB
16809 * stdlib/div.c (div): Remove obsolete code.
16810 * stdlib/ldiv.c (ldiv): Likewise.
16811 * stdlib/lldiv.c (lldiv): Likewise.
16812
977f4b31
SP
168132013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
16814
16815 [BZ #16071]
16816 * nss/nss_files/files-XXX.c (get_contents_ret): New
16817 enumerator.
16818 (get_contents): New function.
16819 (internal_getent): Use it. Expand size of LINEBUFLEN.
16820
cb8a6dbd
MF
168212013-10-30 Mike Frysinger <vapier@gentoo.org>
16822
16823 * configure.in: Moved to ...
16824 * configure.ac: ... here. Change reference to configure.in
16825 to configure.ac.
16826 * sysdeps/arm/preconfigure.ac: ... here.
16827 configure.in to configure.ac.
16828 * sysdeps/gnu/configure.in: Moved to ...
16829 * sysdeps/gnu/configure.ac: ... here.
16830 * sysdeps/i386/configure.in: Moved to ...
16831 * sysdeps/i386/configure.ac: ... here.
16832 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
16833 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
16834 * sysdeps/mach/configure.in: Moved to ...
16835 * sysdeps/mach/configure.ac: ... here.
16836 * sysdeps/mach/hurd/configure.in: Moved to ...
16837 * sysdeps/mach/hurd/configure.ac: ... here.
16838 * sysdeps/powerpc/configure.in: Moved to ...
16839 * sysdeps/powerpc/configure.ac: ... here.
16840 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
16841 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
16842 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
16843 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
16844 * sysdeps/s390/s390-32/configure.in: Moved to ...
16845 * sysdeps/s390/s390-32/configure.ac: ... here.
16846 * sysdeps/s390/s390-64/configure.in: Moved to ...
16847 * sysdeps/s390/s390-64/configure.ac: ... here.
16848 * sysdeps/sh/configure.in: Moved to ...
16849 * sysdeps/sh/configure.ac: ... here.
16850 * sysdeps/sparc/configure.in: Moved to ...
16851 * sysdeps/sparc/configure.ac: ... here.
16852 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
16853 * sysdeps/unix/sysv/linux/configure.ac: ... here.
16854 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
16855 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
16856 * sysdeps/x86_64/configure.in: Moved to ...
16857 * sysdeps/x86_64/configure.ac: ... here.
16858 * sysdeps/x86_64/preconfigure.in: Moved to ...
16859 * sysdeps/x86_64/preconfigure.ac: ... here.
16860 * aclocal.m4: Change reference to configure.in to configure.ac.
16861 * config.h.in: Likewise.
16862 * manual/install.texi: Likewise.
16863 * manual/maint.texi: Likewise.
16864 * Makefile: Likewise.
16865 * malloc/Makefile: Likewise.
16866 * nscd/Makefile: Likewise.
16867 * Makeconfig: Change reference to configure.in and
16868 preconfigure.in to configure.ac and preconfigure.ac
16869 respectively.
16870 * INSTALL: Regenerated.
16871 * configure: Likewise.
16872 * sysdeps/gnu/configure: Likewise.
16873 * sysdeps/i386/configure: Likewise.
16874 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
16875 * sysdeps/mach/configure: Likewise.
16876 * sysdeps/mach/hurd/configure: Likewise.
16877 * sysdeps/powerpc/configure: Likewise.
16878 * sysdeps/powerpc/powerpc32/configure: Likewise.
16879 * sysdeps/powerpc/powerpc64/configure: Likewise.
16880 * sysdeps/s390/s390-32/configure: Likewise.
16881 * sysdeps/s390/s390-64/configure: Likewise.
16882 * sysdeps/sh/configure: Likewise.
16883 * sysdeps/sparc/configure: Likewise.
16884 * sysdeps/unix/sysv/linux/configure: Likewise.
16885 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
16886 * sysdeps/x86_64/configure: Likewise.
16887 * sysdeps/x86_64/preconfigure: Likewise.
16888
36a4953a
AS
168892013-10-29 Andreas Schwab <schwab@suse.de>
16890
16891 * stdio-common/Makefile (tst-swscanf-ENV): Define.
16892
c79a1204
SP
168932013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
16894
dfa1b402
SP
16895 * benchtests/pow-inputs: Add new inputs.
16896
54f73d9c
SP
16897 * benchtests/exp-inputs: Add new inputs.
16898
c79a1204
SP
16899 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
16900 conditional check for return value.
16901 (__cos32): Likewise.
16902
67beb545 169032013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
69f13dbf
AZ
16904
16905 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
16906 to provide a boost for large inputs with word alignment.
16907 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
16908 implementation based on optimized PPC64 strcpy.
16909 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
16910 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
16911 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
16912 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
16913
151659f6
OB
169142013-10-25 Ondřej Bílka <neleai@seznam.cz>
16915
482a077e 16916 [BZ #2801]
151659f6
OB
16917 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
16918
10b0f26b
OB
169192013-10-25 Ondřej Bílka <neleai@seznam.cz>
16920
16921 [BZ #14876]
16922 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
16923 * time/tst-strptime.c (day_tests): Add testcase.
16924
ca42d35e
OB
169252013-10-25 Ondřej Bílka <neleai@seznam.cz>
16926
482a077e 16927 [BZ #14029]
ca42d35e
OB
16928 * manual/pattern.texi: Acknowledge that fnmatch can fail.
16929
52e6d801
FB
169302013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
16931
16932 [BZ #16074]
16933 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
16934 MAP_FAILED on error.
16935
7cbcdb36
SP
169362013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
16937
16938 [BZ #16072]
16939 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
16940 heap for large requests.
16941
894f3f10
AM
169422013-10-25 Aurelien Jarno <aurelien@aurel32.net>
16943
16944 [BZ #9954]
16945 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
16946 result if the result has no associated interface.
16947 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
16948 interface for all 127.X.Y.Z addresses.
16949
b85545a6
CL
169502013-10-24 Chris Leonard <cjl@sugarlabs.org>
16951
16952 * locale/iso-639.def: Add Ligurian (lij)
16953
d1f23d46
OB
169542013-10-21 Ondřej Bílka <neleai@seznam.cz>
16955
16956 [BZ #15825]
16957 * sunrpc/rpc_main.c: Document rpcgen -5.
16958
4db5b08f
MS
169592013-10-19 Michael Stahl <mstahl@redhat.com>
16960
16961 * elf/rtld.c (do_preload): Print the reason why preloading failed.
16962
a471e96a
OB
169632013-10-19 Ondřej Bílka <neleai@seznam.cz>
16964
d1f23d46 16965 [BZ #10278]
a471e96a
OB
16966 * posix/glob.c: Match only directories when trailing slash is present.
16967 * posix/tst-gnuglob.c (my_opendir): Do not open files.
16968 (main): Add testcase.
16969
45c30c61
OB
169702013-10-19 Ondřej Bílka <neleai@seznam.cz>
16971
16972 [BZ #15670]
16973 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
16974
484c12fb
CD
169752013-10-18 Carlos O'Donell <carlos@redhat.com>
16976
3d7dc513
CD
16977 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
16978 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
16979 AUTH_DES and cindex for FIPS 140-2.
16980 (DES Encryption): Add cindex FIPS 46-3.
16981
484c12fb
CD
16982 * locale/locarchive.h (struct locarhandle): Add fname.
16983 * locale/programs/localedef.c (main): Pass ARGV[remaining]
16984 if an optional argument was specified to --list-archive,
16985 otherwise NULL.
16986 * locale/programs/locarchive.c (show_archive_content): Take new
16987 argument fname and pass it via ah.fname to open_archive.
16988 * locale/programs/localedef.h: Update decl.
16989 (open_archive): If AH->fname is non-null, open that file
16990 rather than the default file name, and don't ignore ENOENT.
16991 (create_archive): Set AH.fname to NULL.
16992 (delete_locales_from_archive): Likewise.
16993 (add_locales_to_archive): Likewise.
16994 * locale/programs/locfile.c (write_all_categories): Likewise.
16995
3c8325fb
JM
169962013-10-18 Joseph Myers <joseph@codesourcery.com>
16997 Aldy Hernandez <aldyh@redhat.com>
16998
16999 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
17000 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
17001 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
17002 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
17003 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
17004 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
17005 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
17006 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
17007 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
17008 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
17009 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
17010 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
17011 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
17012 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
17013 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
17014 Likewise.
17015 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
17016 Likewise.
17017 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
17018 Likewise.
17019 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
17020 Likewise.
17021 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
17022 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
17023 Likewise.
17024 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
17025 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
17026 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
17027 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
17028 Likewise.
17029 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
17030 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
17031 * sysdeps/powerpc/preconfigure: Likewise.
17032 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
17033 Likewise.
17034 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
17035 Replace contents of file by #include of <fenv_libc.h>.
17036 * sysdeps/powerpc/soft-fp/sfp-machine.h
17037 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
17038 and <sys/prctl.h>.
17039 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
17040 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
17041 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
17042 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
17043 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
17044 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
17045 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
17046 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
17047 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
17048 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
17049 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
17050 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
17051 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
17052 Allow copysignl PLT reference to be missing.
17053
5abe0682
RS
170542013-10-18 Richard Sandiford <richard@codesourcery.com>
17055 Joseph Myers <joseph@codesourcery.com
17056
17057 [BZ #15948]
17058 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
17059 single character.
17060 (add_to_tablewc): Assert sequence of wide characters is nonempty.
17061
c7738d08
SP
170622013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
17063
17064 * elf/tst-tls-dlinfo.c: Don't include tls.h.
17065 * elf/tst-tls1.c: Likewise.
17066 * elf/tst-tls10.h: Likewise.
17067 * elf/tst-tls14.c: Likewise.
17068 * elf/tst-tls2.c: Likewise.
17069 * elf/tst-tls3.c: Likewise.
17070 * elf/tst-tls4.c: Likewise.
17071 * elf/tst-tls5.c: Likewise.
17072 * elf/tst-tls6.c: Likewise.
17073 * elf/tst-tls7.c: Likewise.
17074 * elf/tst-tls8.c: Likewise.
17075 * elf/tst-tls9.c: Likewise.
17076 * elf/tst-tlsmod1.c: Likewise.
17077 * elf/tst-tlsmod13.c: Likewise.
17078 * elf/tst-tlsmod13a.c: Likewise.
17079 * elf/tst-tlsmod14a.c: Likewise.
17080 * elf/tst-tlsmod16a.c: Likewise.
17081 * elf/tst-tlsmod16b.c: Likewise.
17082 * elf/tst-tlsmod2.c: Likewise.
17083 * elf/tst-tlsmod3.c: Likewise.
17084 * elf/tst-tlsmod4.c: Likewise.
17085 * elf/tst-tlsmod5.c: Likewise.
17086 * elf/tst-tlsmod6.c: Likewise.
17087
0bfcf2c7
OB
170882013-10-18 Ondřej Bílka <neleai@seznam.cz>
17089
17090 [BZ #12486]
17091 * malloc/malloc.c: remove checks for statistics.
17092
264aad1e
OB
170932013-10-17 Ondřej Bílka <neleai@seznam.cz>
17094
17095 [BZ #15277]
17096 * inet/inet_net.c (inet_network): Detect additional invalid strings.
17097 * inet/tst-network.c: Add testcase.
17098
b957ced8
AS
170992013-10-17 Andreas Schwab <schwab@suse.de>
17100
17101 [BZ #15218]
17102 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
17103 to determine canonical name.
17104
c5d5d574
OB
171052013-10-17 Ondřej Bílka <neleai@seznam.cz>
17106
17107 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
17108 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
17109 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
17110 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
17111 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
17112 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
17113 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
17114 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
17115 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
17116 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
17117 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
17118 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
17119 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
17120 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
17121 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
17122 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
17123 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
17124 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
17125 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
17126 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
17127 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
17128 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
17129 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
17130 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
17131 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
17132 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
17133 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
17134 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
17135 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
17136 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
17137 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
17138 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
17139 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
17140 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
17141 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
17142 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
17143 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
17144 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
17145 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
17146 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
17147 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
17148 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
17149 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
17150 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
17151 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
17152 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
17153 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
17154 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
17155 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
17156 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
17157 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
17158 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
17159 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
17160 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
17161 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
17162 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
17163 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
17164 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
17165
e5c2c2d0
JM
171662013-10-17 Joseph Myers <joseph@codesourcery.com>
17167
17168 [BZ #16041]
17169 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
17170 make result into a quiet NaN.
17171
51ca9e29
JM
171722013-10-16 Joseph Myers <joseph@codesourcery.com>
17173
17174 * soft-fp/adddf3.c: Fix horizontal whitespace.
17175 * soft-fp/addsf3.c: Likewise.
17176 * soft-fp/addtf3.c: Likewise.
17177 * soft-fp/divdf3.c: Likewise.
17178 * soft-fp/divsf3.c: Likewise.
17179 * soft-fp/divtf3.c: Likewise.
17180 * soft-fp/double.h: Likewise.
17181 * soft-fp/eqdf2.c: Likewise.
17182 * soft-fp/eqsf2.c: Likewise.
17183 * soft-fp/eqtf2.c: Likewise.
17184 * soft-fp/extenddftf2.c: Likewise.
17185 * soft-fp/extended.h: Likewise.
17186 * soft-fp/extendsfdf2.c: Likewise.
17187 * soft-fp/extendsftf2.c: Likewise.
17188 * soft-fp/extendxftf2.c: Likewise.
17189 * soft-fp/fixdfdi.c: Likewise.
17190 * soft-fp/fixdfsi.c: Likewise.
17191 * soft-fp/fixdfti.c: Likewise.
17192 * soft-fp/fixsfdi.c: Likewise.
17193 * soft-fp/fixsfsi.c: Likewise.
17194 * soft-fp/fixsfti.c: Likewise.
17195 * soft-fp/fixtfdi.c: Likewise.
17196 * soft-fp/fixtfsi.c: Likewise.
17197 * soft-fp/fixtfti.c: Likewise.
17198 * soft-fp/fixunsdfdi.c: Likewise.
17199 * soft-fp/fixunsdfsi.c: Likewise.
17200 * soft-fp/fixunsdfti.c: Likewise.
17201 * soft-fp/fixunssfdi.c: Likewise.
17202 * soft-fp/fixunssfsi.c: Likewise.
17203 * soft-fp/fixunssfti.c: Likewise.
17204 * soft-fp/fixunstfdi.c: Likewise.
17205 * soft-fp/fixunstfsi.c: Likewise.
17206 * soft-fp/fixunstfti.c: Likewise.
17207 * soft-fp/floatdidf.c: Likewise.
17208 * soft-fp/floatdisf.c: Likewise.
17209 * soft-fp/floatditf.c: Likewise.
17210 * soft-fp/floatsidf.c: Likewise.
17211 * soft-fp/floatsisf.c: Likewise.
17212 * soft-fp/floatsitf.c: Likewise.
17213 * soft-fp/floattidf.c: Likewise.
17214 * soft-fp/floattisf.c: Likewise.
17215 * soft-fp/floattitf.c: Likewise.
17216 * soft-fp/floatundidf.c: Likewise.
17217 * soft-fp/floatundisf.c: Likewise.
17218 * soft-fp/floatunditf.c: Likewise.
17219 * soft-fp/floatunsidf.c: Likewise.
17220 * soft-fp/floatunsisf.c: Likewise.
17221 * soft-fp/floatunsitf.c: Likewise.
17222 * soft-fp/floatuntidf.c: Likewise.
17223 * soft-fp/floatuntisf.c: Likewise.
17224 * soft-fp/floatuntitf.c: Likewise.
17225 * soft-fp/fmadf4.c: Likewise.
17226 * soft-fp/fmasf4.c: Likewise.
17227 * soft-fp/fmatf4.c: Likewise.
17228 * soft-fp/gedf2.c: Likewise.
17229 * soft-fp/gesf2.c: Likewise.
17230 * soft-fp/getf2.c: Likewise.
17231 * soft-fp/ledf2.c: Likewise.
17232 * soft-fp/lesf2.c: Likewise.
17233 * soft-fp/letf2.c: Likewise.
17234 * soft-fp/muldf3.c: Likewise.
17235 * soft-fp/mulsf3.c: Likewise.
17236 * soft-fp/multf3.c: Likewise.
17237 * soft-fp/negdf2.c: Likewise.
17238 * soft-fp/negsf2.c: Likewise.
17239 * soft-fp/negtf2.c: Likewise.
17240 * soft-fp/op-1.h: Likewise.
17241 * soft-fp/op-2.h: Likewise.
17242 * soft-fp/op-4.h: Likewise.
17243 * soft-fp/op-8.h: Likewise.
17244 * soft-fp/op-common.h: Likewise.
17245 * soft-fp/quad.h: Likewise.
17246 * soft-fp/single.h: Likewise.
17247 * soft-fp/soft-fp.h: Likewise.
17248 * soft-fp/sqrtdf2.c: Likewise.
17249 * soft-fp/sqrtsf2.c: Likewise.
17250 * soft-fp/sqrttf2.c: Likewise.
17251 * soft-fp/subdf3.c: Likewise.
17252 * soft-fp/subsf3.c: Likewise.
17253 * soft-fp/subtf3.c: Likewise.
17254 * soft-fp/truncdfsf2.c: Likewise.
17255 * soft-fp/trunctfdf2.c: Likewise.
17256 * soft-fp/trunctfsf2.c: Likewise.
17257 * soft-fp/trunctfxf2.c: Likewise.
17258 * soft-fp/unorddf2.c: Likewise.
17259 * soft-fp/unordsf2.c: Likewise.
17260 * soft-fp/unordtf2.c: Likewise.
17261
9ebb0332
JM
172622013-10-15 Joseph Myers <joseph@codesourcery.com>
17263
17264 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
17265 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
17266
4b1a6d8b
OB
172672013-10-15 Ondřej Bílka <neleai@seznam.cz>
17268
17269 * elf/dl-libc.c: Clear initfini list after freeing.
17270
1e145589
JM
172712013-10-14 Joseph Myers <joseph@codesourcery.com>
17272
17273 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
17274 * soft-fp/addsf3.c: Likewise.
17275 * soft-fp/addtf3.c: Likewise.
17276 * soft-fp/divdf3.c: Likewise.
17277 * soft-fp/divsf3.c: Likewise.
17278 * soft-fp/divtf3.c: Likewise.
17279 * soft-fp/double.h: Likewise.
17280 * soft-fp/eqdf2.c: Likewise.
17281 * soft-fp/eqsf2.c: Likewise.
17282 * soft-fp/eqtf2.c: Likewise.
17283 * soft-fp/extenddftf2.c: Likewise.
17284 * soft-fp/extended.h: Likewise.
17285 * soft-fp/extendsfdf2.c: Likewise.
17286 * soft-fp/extendsftf2.c: Likewise.
17287 * soft-fp/extendxftf2.c: Likewise.
17288 * soft-fp/fixdfdi.c: Likewise.
17289 * soft-fp/fixdfsi.c: Likewise.
17290 * soft-fp/fixdfti.c: Likewise.
17291 * soft-fp/fixsfdi.c: Likewise.
17292 * soft-fp/fixsfsi.c: Likewise.
17293 * soft-fp/fixsfti.c: Likewise.
17294 * soft-fp/fixtfdi.c: Likewise.
17295 * soft-fp/fixtfsi.c: Likewise.
17296 * soft-fp/fixtfti.c: Likewise.
17297 * soft-fp/fixunsdfdi.c: Likewise.
17298 * soft-fp/fixunsdfsi.c: Likewise.
17299 * soft-fp/fixunsdfti.c: Likewise.
17300 * soft-fp/fixunssfdi.c: Likewise.
17301 * soft-fp/fixunssfsi.c: Likewise.
17302 * soft-fp/fixunssfti.c: Likewise.
17303 * soft-fp/fixunstfdi.c: Likewise.
17304 * soft-fp/fixunstfsi.c: Likewise.
17305 * soft-fp/fixunstfti.c: Likewise.
17306 * soft-fp/floatdidf.c: Likewise.
17307 * soft-fp/floatdisf.c: Likewise.
17308 * soft-fp/floatditf.c: Likewise.
17309 * soft-fp/floatsidf.c: Likewise.
17310 * soft-fp/floatsisf.c: Likewise.
17311 * soft-fp/floatsitf.c: Likewise.
17312 * soft-fp/floattidf.c: Likewise.
17313 * soft-fp/floattisf.c: Likewise.
17314 * soft-fp/floattitf.c: Likewise.
17315 * soft-fp/floatundidf.c: Likewise.
17316 * soft-fp/floatundisf.c: Likewise.
17317 * soft-fp/floatunsidf.c: Likewise.
17318 * soft-fp/floatunsisf.c: Likewise.
17319 * soft-fp/floatuntidf.c: Likewise.
17320 * soft-fp/floatuntisf.c: Likewise.
17321 * soft-fp/floatuntitf.c: Likewise.
17322 * soft-fp/fmadf4.c: Likewise.
17323 * soft-fp/fmasf4.c: Likewise.
17324 * soft-fp/fmatf4.c: Likewise.
17325 * soft-fp/gedf2.c: Likewise.
17326 * soft-fp/gesf2.c: Likewise.
17327 * soft-fp/getf2.c: Likewise.
17328 * soft-fp/ledf2.c: Likewise.
17329 * soft-fp/lesf2.c: Likewise.
17330 * soft-fp/letf2.c: Likewise.
17331 * soft-fp/muldf3.c: Likewise.
17332 * soft-fp/mulsf3.c: Likewise.
17333 * soft-fp/multf3.c: Likewise.
17334 * soft-fp/negdf2.c: Likewise.
17335 * soft-fp/negsf2.c: Likewise.
17336 * soft-fp/negtf2.c: Likewise.
17337 * soft-fp/op-1.h: Likewise.
17338 * soft-fp/op-2.h: Likewise.
17339 * soft-fp/op-4.h: Likewise.
17340 * soft-fp/op-8.h: Likewise.
17341 * soft-fp/op-common.h: Likewise.
17342 * soft-fp/quad.h: Likewise.
17343 * soft-fp/single.h: Likewise.
17344 * soft-fp/soft-fp.h: Likewise.
17345 * soft-fp/sqrtdf2.c: Likewise.
17346 * soft-fp/sqrtsf2.c: Likewise.
17347 * soft-fp/sqrttf2.c: Likewise.
17348 * soft-fp/subdf3.c: Likewise.
17349 * soft-fp/subsf3.c: Likewise.
17350 * soft-fp/subtf3.c: Likewise.
17351 * soft-fp/truncdfsf2.c: Likewise.
17352 * soft-fp/trunctfdf2.c: Likewise.
17353 * soft-fp/trunctfsf2.c: Likewise.
17354 * soft-fp/trunctfxf2.c: Likewise.
17355 * soft-fp/unorddf2.c: Likewise.
17356 * soft-fp/unordsf2.c: Likewise.
17357 * soft-fp/unordtf2.c: Likewise.
17358
17c48a60
OB
173592013-10-14 Ondřej Bílka <neleai@seznam.cz>
17360
17361 [BZ #15672]
17362 * misc/error.c (error_tail): Fix possible buffer overflow.
17363
cabba934
OB
173642013-10-14 Aurelien Jarno <aurelien@aurel32.net>
17365
17366 [BZ #13028]
17367 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
17368 address.
17369
94bf958a
PM
173702013-10-14 P. J. McDermott <pj@pehjota.net>
17371
17372 [BZ #832]
17373 * elf/ldd.bash.in (try_trace): New function. Delete previous code
17374 testing pipefail option.
17375
71b4dea7
JM
173762013-10-12 Joseph Myers <joseph@codesourcery.com>
17377
17378 * soft-fp/double.h: Indent preprocessor directives inside #if.
17379 * soft-fp/extended.h: Likewise.
17380 * soft-fp/op-2.h: Likewise.
17381 * soft-fp/op-4.h: Likewise.
17382 * soft-fp/op-common.h: Likewise.
17383 * soft-fp/quad.h: Likewise.
17384 * soft-fp/single.h: Likewise.
17385 * soft-fp/soft-fp.h: Likewise.
17386
55602758
YC
173872013-10-12 Yuri Chornoivan <yurchor@ukr.net>
17388
17389 * iconv/iconv_prog.c: Fix typos.
17390 * stdio-common/psiginfo-data.h: Likewise.
17391
9cd83302
RT
173922013-10-12 Reuben Thomas <rrt@sc3d.org>
17393
17394 [BZ #15764]
17395 * locale/setlocale.c: Fix typo.
17396
99fd9f47
JM
173972013-10-12 Joseph Myers <joseph@codesourcery.com>
17398
b7ea74f0
JM
17399 [BZ #16036]
17400 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
17401 signaling NaN arguments.
17402 * soft-fp/unordsf2.c (__unordsf2): Likewise.
17403 * soft-fp/unordtf2.c (__unordtf2): Likewise.
17404
8a509447
JM
17405 [BZ #14910]
17406 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
17407 unordered operands.
17408 * soft-fp/gesf2.c (__gesf2): Likewise.
17409 * soft-fp/getf2.c (__getf2): Likewise.
17410 * soft-fp/ledf2.c (__ledf2): Likewise.
17411 * soft-fp/lesf2.c (__lesf2): Likewise.
17412 * soft-fp/letf2.c (__letf2): Likewise.
17413
98998e9f
JM
17414 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
17415 * soft-fp/eqsf2.c (__eqsf2): Likewise.
17416 * soft-fp/eqtf2.c (__eqtf2): Likewise.
17417 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
17418 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
17419 * soft-fp/fixdfti.c (__fixdfti): Likewise.
17420 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
17421 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
17422 * soft-fp/fixsfti.c (__fixsfti): Likewise.
17423 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
17424 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
17425 * soft-fp/fixtfti.c (__fixtfti): Likewise.
17426 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
17427 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
17428 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
17429 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
17430 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
17431 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
17432 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
17433 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
17434 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
17435 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
17436 * soft-fp/floatdisf.c (__floatdisf): Likewise.
17437 * soft-fp/floatsisf.c (__floatsisf): Likewise.
17438 * soft-fp/floattidf.c (__floattidf): Likewise.
17439 * soft-fp/floattisf.c (__floattisf): Likewise.
17440 * soft-fp/floattitf.c (__floattitf): Likewise.
17441 * soft-fp/floatundidf.c (__floatundidf): Likewise.
17442 * soft-fp/floatundisf.c (__floatundisf): Likewise.
17443 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
17444 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
17445 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
17446 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
17447 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
17448 * soft-fp/gesf2.c (__gesf2): Likewise.
17449 * soft-fp/getf2.c (__getf2): Likewise.
17450 * soft-fp/ledf2.c (__ledf2): Likewise.
17451 * soft-fp/lesf2.c (__lesf2): Likewise.
17452 * soft-fp/letf2.c (__letf2): Likewise.
17453
8edc4a11
JM
17454 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
17455 Undefine and redefine.
17456 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
17457 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
17458 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
17459 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
17460 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
17461 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
17462 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
17463 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
17464 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
17465 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
17466 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
17467 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
17468 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
17469 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
17470 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
17471
8399acaf
JM
17472 [BZ #16032]
17473 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
17474 without decrementing exponent if mantissa >= that for the
17475 denominator, not >.
17476 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
17477 denominator, not >. Decrement exponent in < case instead of
17478 incrementing in >= case.
17479 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
17480 without decrementing exponent if mantissa >= that for the
17481 denominator, not >.
17482
99fd9f47
JM
17483 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
17484 computing saturated result for unsigned overflow.
17485
10e1cf6b
SP
174862013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
17487 Jeff Law <law@redhat.com>
17488
17489 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
17490 (atan2Mp): Add systemtap probe marker.
17491 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
17492 (__ieee754_log): Add systemtap probe marker.
17493 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
17494 (atanMp): Add systemtap probe marker.
17495 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
17496 (tanMp): Add systemtap probe marker.
17497 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
17498 (__slowexp): Add systemtap probe marker.
17499 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
17500 (__slowpow): Add systemtap probe marker.
17501 * manual/probes.texi: Document probes.
17502
3d110c7c
EB
175032013-10-11 Eric Biggers <ebiggers3@gmail.com>
17504
17505 [BZ #15362]
17506 * libio/fileops.c (_IO_new_file_write): Return count of bytes
17507 written.
17508 (_IO_new_file_xsputn): Don't return EOF if nothing has been
17509 written.
17510 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
17511 written to buffer but not flushed.
17512 * libio/iofwrite_u.c: Likewise.
17513 * libio/iopadn.c: Return bytes returned even if EOF was
17514 encountered.
17515 * libio/iowpadn.c: Likewise.
17516 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
17517 if _IO_padn does not write the whole buffer.
17518 [!COMPILE_WPRINTF] (PAD): Likewise.
17519
75b4202a
DM
175202013-10-10 David S. Miller <davem@davemloft.net>
17521
17522 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
17523 directory block.
17524
6c6352e6
JM
175252013-10-10 Joseph Myers <joseph@codesourcery.com>
17526
33b853c3
JM
17527 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
17528 instead of FSF address.
17529 * soft-fp/fixdfti.c: Likewise.
17530 * soft-fp/fixsfti.c: Likewise.
17531 * soft-fp/fixtfti.c: Likewise.
17532 * soft-fp/fixunsdfti.c: Likewise.
17533 * soft-fp/fixunssfti.c: Likewise.
17534 * soft-fp/fixunstfti.c: Likewise.
17535 * soft-fp/floattidf.c: Likewise.
17536 * soft-fp/floattisf.c: Likewise.
17537 * soft-fp/floattitf.c: Likewise.
17538 * soft-fp/floatuntidf.c: Likewise.
17539 * soft-fp/floatuntisf.c: Likewise.
17540 * soft-fp/floatuntitf.c: Likewise.
17541 * soft-fp/trunctfxf2.c: Likewise.
17542
6c6352e6
JM
17543 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
17544 * soft-fp/fixdfti.c: Likewise.
17545 * soft-fp/fixsfti.c: Likewise.
17546 * soft-fp/fixtfti.c: Likewise.
17547 * soft-fp/fixunsdfti.c: Likewise.
17548 * soft-fp/fixunssfti.c: Likewise.
17549 * soft-fp/fixunstfti.c: Likewise.
17550 * soft-fp/floattidf.c: Likewise.
17551 * soft-fp/floattisf.c: Likewise.
17552 * soft-fp/floattitf.c: Likewise.
17553 * soft-fp/floatuntidf.c: Likewise.
17554 * soft-fp/floatuntisf.c: Likewise.
17555 * soft-fp/floatuntitf.c: Likewise.
17556 * soft-fp/trunctfxf2.c: Likewise.
17557
3bf78b71
DM
175582013-10-10 David S. Miller <davem@davemloft.net>
17559
17560 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17561
6f10289e
JM
175622013-10-10 Joseph Myers <joseph@codsourcery.com>
17563
bd878fc0
JM
17564 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
17565 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
17566 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
17567 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
17568 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
17569 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
17570 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
17571
6f10289e
JM
17572 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
17573 for NaNs before doing comparisons on argument.
17574 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
17575 Likewise.
17576
321e2684
WN
175772013-10-10 Will Newton <will.newton@linaro.org>
17578
17579 * malloc/hooks.c (memalign_check): Ensure the value of bytes
17580 passed to _int_memalign does not overflow.
17581
40fefba1
TR
175822013-10-10 Torvald Riegel <triegel@redhat.com>
17583
17584 * scripts/bench.pl: Add include-sources directive.
17585 * benchtests/README: Update documentation.
17586
2ae21ed2
JM
175872013-10-10 Joseph Myers <joseph@codesourcery.com>
17588
dcc2dd3f
JM
17589 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
17590 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
17591 instead of FP_INIT_ROUNDMODE.
17592 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
17593 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
17594
2ae21ed2
JM
17595 [BZ #16034]
17596 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
17597 copy class of input value.
17598 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
17599 not handle exceptions.
17600 * soft-fp/negsf2.c (__negsf2): Likewise.
17601 * soft-fp/negtf2.c (__negtf2): Likewise.
17602 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
17603
cb8f9562
JM
176042013-10-09 Joseph Myers <joseph@codesourcery.com>
17605
17606 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
17607 semicolon. From Linux kernel.
17608
5b60c59d
AB
176092013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
17610
17611 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
17612
b86835ca
YC
176132013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
17614
17615 [BZ #156]
17616 * manual/socket.texi: Added statement about buffer
17617 for gethostbyname2_r.
17618
e7044ea7
OB
176192013-10-08 Ondřej Bílka <neleai@seznam.cz>
17620
17621 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
17622 Use .p2align directive instead, throughout.
17623 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
17624 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
17625 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
17626 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
17627 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
17628 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
17629 * sysdeps/x86_64/strchr.S: Likewise.
17630 * sysdeps/x86_64/strrchr.S: Likewise.
17631
09544cbc
SP
176322013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
17633
88576635
SP
17634 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
17635
e7b2d1dd
SP
17636 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
17637
09544cbc
SP
17638 * sysdeps/generic/math_private.h (__mpsin1): Remove
17639 declaration.
17640 (__mpcos1): Likewise.
17641 (__mpsin): New argument __range_reduce.
17642 (__mpcos): Likewise.
17643 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
17644 (slow): Use __mpsin and __mpcos.
17645 (slow1): Likewise.
17646 (slow2): Likewise.
17647 (sloww): Likewise.
17648 (sloww1): Likewise.
17649 (sloww2): Likewise.
17650 (bsloww): Likewise.
17651 (bsloww1): Likewise.
17652 (bsloww2): Likewise.
17653 (cslow2): Likewise.
17654 (csloww): Likewise.
17655 (csloww1): Likewise.
17656 (csloww2): Likewise.
17657 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
17658 range_reduce. Merge in __mpsin1.
17659 (__mpcos): Likewise.
17660 (__mpsin1): Remove.
17661 (__mpcos1): Likewise.
17662
7602d070
JM
176632013-10-07 Joseph Myers <joseph@codesourcery.com>
17664
17665 * locale/loadlocale.c (_nl_intern_locale_data): Use
17666 LOCFILE_ALIGNED_P.
17667 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
17668 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
17669 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
17670 obstack data is appropriately aligned.
17671 (obstack_int32_grow_fast): Likewise.
17672 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
17673 * locale/programs/locfile.c (add_locale_uint32): Likewise.
17674 (add_locale_uint32_array): Likewise.
17675
a357259b
SP
176762013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
17677
17678 * benchtests/Makefile: Remove ARGLIST and RET variables.
17679 ($(objpfx)bench-%.c): Pass only function name to the script.
17680 * benchtests/README: Update documentation.
17681 * benchtests/acos-inputs: Add new directives.
17682 * benchtests/acosh-inputs: Likewise.
17683 * benchtests/asin-inputs: Likewise.
17684 * benchtests/asinh-inputs: Likewise.
17685 * benchtests/atan-inputs: Likewise.
17686 * benchtests/atanh-inputs: Likewise.
17687 * benchtests/cos-inputs: Likewise.
17688 * benchtests/cosh-inputs: Likewise.
17689 * benchtests/exp-inputs: Likewise.
17690 * benchtests/log-inputs: Likewise.
17691 * benchtests/pow-inputs: Likewise.
17692 * benchtests/rint-inputs: Likewise.
17693 * benchtests/sin-inputs: Likewise.
17694 * benchtests/sinh-inputs: Likewise.
17695 * benchtests/tan-inputs: Likewise.
17696 * benchtests/tanh-inputs: Likewise.
17697 * scripts/bench.pl: Add support for new directives.
17698
9ec1b13d
AM
176992013-10-07 Alan Modra <amodra@gmail.com>
17700
17701 * README: Fix careless merge.
17702
8b7d57cd
AM
177032013-10-05 Alan Modra <amodra@gmail.com>
17704
17705 * NEWS: Mention powerpc64le support and bugs fixed.
17706 * README: Both big-endian and little-endian powerpc64 supported.
17707
7b7bab13
ST
177082013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
17709
57f41c40
AS
17710 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
17711 (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
7b7bab13
ST
17712 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
17713 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
17714
d39baad1
RA
177152013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
17716
17717 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
17718 match prototype.
17719
cd78f7e7
JM
177202013-10-04 Joseph Myers <joseph@codesourcery.com>
17721
29d73d86
JM
17722 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
17723 Move -mhard-float appending from
17724 ports/sysdeps/powerpc/powerpc32/Makefile.
17725 [$(with-fp) = yes] (ASFLAGS): Likewise.
17726 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
17727 * sysdeps/powerpc/nofpu: Move directory from
17728 ports/sysdeps/powerpc/nofpu.
17729 * sysdeps/powerpc/soft-fp: Move directory from
17730 ports/sysdeps/powerpc/soft-fp.
17731 * sysdeps/powerpc/powerpc32/405: Move directory from
17732 ports/sysdeps/powerpc/powerpc32/405.
17733 * sysdeps/powerpc/powerpc32/440: Move directory from
17734 ports/sysdeps/powerpc/powerpc32/440.
17735 * sysdeps/powerpc/powerpc32/464: Move directory from
17736 ports/sysdeps/powerpc/powerpc32/464.
17737 * sysdeps/powerpc/powerpc32/476: Move directory from
17738 ports/sysdeps/powerpc/powerpc32/476.
17739 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
17740 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
17741 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
17742 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
17743 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
17744 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
17745 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
17746 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
17747 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
17748 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
17749 * README: Update for powerpc-*-linux-gnu software floating point
17750 support in libc.
17751
e246b347
JM
17752 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
17753 case to powerpc/powerpc32*.
17754 * sysdeps/unix/sysv/linux/configure: Regenerated.
17755
89c2003e
JM
17756 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
17757 (_FPU_MASK_OM): Define as 0x04.
17758 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
17759 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
17760 0x00c10080.
17761 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
17762 0x0000003c.
17763 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
17764
cd78f7e7
JM
17765 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
17766 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
17767 getcontext_e500.
17768 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
17769 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
17770 setcontext_e500.
17771 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
17772 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
17773 and setcontext_e500.
17774
c755294d
CL
177752013-10-04 Chris Leonard <cjl@sugarlabs,.org>
17776
17777 * locale/iso-3166.def: Update iso-1366.def and related occurrences
17778
e16d221c
SP
177792013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
17780
17781 * manual/threads.texi (Default Thread Attributes): Fix typo.
17782
215c7d43
WN
177832013-10-04 Will Newton <will.newton@linaro.org>
17784
17785 * malloc/Makefile: Add tst-memalign.
17786 * malloc/tst-memalign.c: New file.
17787
27d0461b
WN
17788 * malloc/tst-posix_memalign.c: Add comments.
17789 (do_test): Add comments and call free on all potentially
17790 allocated pointers. Add space after cast.
17791
1bc92709
WN
17792 * malloc/tst-pvalloc.c: Add comments.
17793 (do_test): Add comments and call free on all potentially
17794 allocated pointers. Remove duplicate check for NULL pointer.
17795 Add space after cast.
17796
66a9be9d
WN
17797 * malloc/tst-valloc.c: Add comments.
17798 (do_test): Add comments and call free on all potentially
17799 allocated pointers. Remove duplicate check for NULL pointer.
17800 Add space after cast.
17801
4cb81307
AM
178022013-10-04 Alan Modra <amodra@gmail.com>
17803
17804 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
17805 Use stdint types in rather than __attribute__((mode())).
17806 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
17807
f8e3e9f3
AM
178082013-10-04 Alan Modra <amodra@gmail.com>
17809
17810 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
17811 Correct handling of unaligned relocs for little-endian.
17812 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
17813
8f9ebb08
AM
178142013-10-04 Alan Modra <amodra@gmail.com>
17815
17816 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
17817 * configure: Regenerate.
17818 * nptl/shlib-versions: Powerpc*le starts at 2.18.
17819 * shlib-versions: Likewise.
17820
0edf96c2
AM
178212013-10-04 Alan Modra <amodra@gmail.com>
17822
17823 * string/tester.c (test_memrchr): Increment reported test cycle.
17824
e0f7a380
AM
178252013-10-04 Alan Modra <amodra@gmail.com>
17826
17827 * string/test-memcpy.c (do_one_test): When reporting errors, print
17828 string address and don't overrun end of string.
17829
466b0393
AM
178302013-10-04 Alan Modra <amodra@gmail.com>
17831
17832 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
17833 insrdi. Make better use of reg selection to speed exit slightly.
17834 Schedule entry path a little better. Remove useless "are we done"
17835 checks on entry to main loop. Handle wrapping around zero address.
17836 Correct main loop count. Handle single left-over word from main
17837 loop inline rather than by using loop_small. Remove extra word
17838 case in loop_small caused by wrong loop count. Add little-endian
17839 support.
17840 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
17841 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
17842 cache hint.
17843 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
17844 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
17845 support. Avoid rlwimi.
17846 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
17847
3be87c77
AM
178482013-10-04 Alan Modra <amodra@gmail.com>
17849
17850 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
e3764517 17851 insrdi. Formatting.
3be87c77
AM
17852 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
17853 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
17854 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
17855 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
17856 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
17857 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
17858
759cfef3
AM
178592013-10-04 Alan Modra <amodra@gmail.com>
17860
17861 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
17862 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
17863 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
17864 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
17865 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
17866 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
17867 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
17868 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
17869 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
17870 use of regs. Use power7 mtocrf. Tidy function tails.
17871
fe6e95d7
AM
178722013-10-04 Alan Modra <amodra@gmail.com>
17873
17874 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
17875 Formatting. Consistently use rXXX register defines or rN defines.
17876 Use early exit labels that avoid restoring unused non-volatile regs.
17877 Make cr field use more consistent with rWORDn compares. Rename
17878 regs used as shift registers for unaligned loop, using rN defines
17879 for short lifetime/multiple use regs.
17880 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
17881 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
17882 addi 1,1,64 to pop stack frame. Simplify return value code.
17883 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
17884
664318c3
AM
178852013-10-04 Alan Modra <amodra@gmail.com>
17886
17887 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
17888 support. Correct typos, formatting. Optimize tail. Use insrdi
17889 rather than rlwimi.
17890 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
17891 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
17892 little-endian support. Correct typos.
17893 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
17894 rather than rlwimi.
17895 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
17896 in loop and entry code to keep "and." results.
17897 (strchr): Add little-endian support. Comment. Move cntlzd
17898 earlier in tail.
17899 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
17900
43b84013
AM
179012013-10-04 Alan Modra <amodra@gmail.com>
17902
17903 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
17904 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
17905 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
17906 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
17907
8a7413f9
AM
179082013-10-04 Alan Modra <amodra@gmail.com>
17909
17910 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
17911 (rTMP): Define as r11.
17912 (strcmp): Add little-endian support. Optimise tail.
17913 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
17914 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
17915 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
17916 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
17917 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
17918 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
17919 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
17920
33ee81de
AM
179212013-10-04 Alan Modra <amodra@gmail.com>
17922
17923 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
17924 little-endian support. Remove unnecessary "are we done" tests.
17925 Handle "s" wrapping around zero and extremely large "size".
17926 Correct main loop count. Handle single left-over word from main
17927 loop inline rather than by using small_loop. Correct comments.
17928 Delete "zero" tail, use "end_max" instead.
17929 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
17930
db9b4570
AM
179312013-10-04 Alan Modra <amodra@gmail.com>
17932
17933 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
17934 support. Don't branch over align.
17935 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
17936 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
17937 support. Rearrange tmp reg use to suit. Comment.
17938 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
17939
f7c399cf
AM
179402013-10-04 Alan Modra <amodra@gmail.com>
17941
17942 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
17943
0b2c2ace
AM
179442013-10-04 Alan Modra <amodra@gmail.com>
17945
17946 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
17947 conditional form of branch and link when obtaining pc.
17948 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
17949
02f04a6c
AM
179502013-10-04 Alan Modra <amodra@gmail.com>
17951
17952 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
17953 HIWORD/LOWORD.
17954 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
17955 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
17956
9b874b2f
AM
179572013-10-04 Alan Modra <amodra@gmail.com>
17958
17959 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
17960 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
17961 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
17962 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
17963 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
17964 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
17965 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
17966 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
17967 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
17968 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
17969
be1e5d31
AB
179702013-10-04 Anton Blanchard <anton@au1.ibm.com>
17971 Alistair Popple <alistair@ozlabs.au.ibm.com>
17972 Alan Modra <amodra@gmail.com>
17973
17974 [BZ #15723]
17975 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
17976 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
17977 _dl_hwcap access for little-endian.
17978 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
17979 destroy vmx regs when saving unaligned.
17980 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
17981 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
17982 destroy vmx regs when saving unaligned.
17983
fef13a78
AM
179842013-10-04 Alan Modra <amodra@gmail.com>
17985
17986 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
17987 Don't use a union to pack hi/low value.
17988
76a66d51
AB
179892013-10-04 Anton Blanchard <anton@au1.ibm.com>
17990
17991 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
17992 for little-endian.
17993 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
17994 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
17995 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
17996 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
17997 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
17998
6a31fe7f
AM
179992013-10-04 Alan Modra <amodra@gmail.com>
18000
18001 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
18002 constants to usual value for .cst8 section, and remove redundant
18003 high address load.
18004 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
18005 constant for 0x1p52. Load little-endian words of double from
18006 correct stack offsets.
18007
7b88401f
AM
180082013-10-04 Alan Modra <amodra@gmail.com>
18009
18010 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
18011 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
18012 words of double from correct stack offsets.
18013 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
18014 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
18015 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
18016 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
18017 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
18018 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
18019 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
18020 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
18021 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
18022 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
18023 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
18024 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
18025 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
18026 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
18027 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
18028 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
18029 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
18030
9c008155
AM
180312013-10-04 Alan Modra <amodra@gmail.com>
18032
18033 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
18034 64-bit int/double union.
18035 (_FPU_SETCW): Likewise.
18036 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
18037 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
18038
da13146d
AM
180392013-10-04 Alan Modra <amodra@gmail.com>
18040
18041 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
18042 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
18043
603e8410
AM
180442013-10-04 Alan Modra <amodra@gmail.com>
18045
18046 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
18047 use vector int constants.
18048 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
18049
4a28b3ca
AB
180502013-10-04 Anton Blanchard <anton@au1.ibm.com>
18051
18052 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
18053 array with long long.
18054 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
18055 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
18056 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
18057 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
18058 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
18059 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
18060 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
18061 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
18062 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
18063 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
18064 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
18065 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
18066 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
18067
2ca85d2b
AB
180682013-10-04 Anton Blanchard <anton@au1.ibm.com>
18069
18070 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
18071 (__signbit): Likewise. Correct for little-endian.
18072 (__signbitl): Call __signbit.
18073 (lrint): Correct for little-endian.
18074 (lrintf): Call lrint.
18075
62a728ae
AM
180762013-10-04 Alan Modra <amodra@gmail.com>
18077
18078 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
18079 union 32-bit int array member with 64-bit int array.
18080 (t515, tm256): Double rather than long double.
18081 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
18082
32c301df
AM
180832013-10-04 Alan Modra <amodra@gmail.com>
18084
18085 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
18086 Delete.
18087 (IEEE854_LONG_DOUBLE_BIAS): Delete.
18088 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
18089 version of math_ldbl.h.
18090
650ef4bd
AM
180912013-10-04 Alan Modra <amodra@gmail.com>
18092
18093 [BZ #15734], [BZ #15735]
18094 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
18095 all uses of ieee875 long double macros and unions. Simplify test
18096 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
18097 ldbl_extract_mantissa value for ix,iy exponents. Properly
18098 normalize after ldbl_extract_mantissa, and don't add hidden bit
18099 already handled. Don't treat low word of ieee854 mantissa like
18100 low word of IBM long double and mask off bit when testing for
18101 zero.
18102 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
18103 all uses of ieee875 long double macros and unions. Simplify tests
18104 for 0.0L and inf. Correct double adjustment of k. Delete dead code
18105 adjusting ha,hb. Simplify code setting kld. Delete two600 and
18106 two1022, instead use their values. Recognise that tests for large
18107 "a" and small "b" are mutually exclusive. Rename vars. Comment.
18108 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
18109 Rewrite all uses of ieee875 long double macros and unions. Simplify
18110 test for 0.0L and nan. Correct negation.
18111 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
18112 ieee875 long double macros and unions. Correct output for large
18113 magnitude x. Correct absolute value calculation.
18114 (__erfcl): Likewise.
18115 * math/libm-test.inc: Add tests for errors discovered in IBM long
18116 double versions of fmodl, remainderl, erfl and erfcl.
18117
765714ca
AM
181182013-10-04 Alan Modra <amodra@gmail.com>
18119
18120 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
18121 all uses of ieee854 long double macros and unions. Simplify tests
18122 for long doubles that are fully specified by the high double.
18123 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
18124 Likewise.
18125 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
18126 Remove dead code too.
18127 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
18128 (__ieee754_ynl): Likewise.
18129 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
18130 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
18131 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
18132 Remove dead code too.
18133 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
18134 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
18135 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
18136 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
18137 Simplify.
18138 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
18139 Simplify.
18140 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
18141 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
18142 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
18143 Comment on variable precision.
18144 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
18145 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
18146 Likewise.
18147 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
18148 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
18149 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
18150 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
18151 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
18152
4ebd120c
AM
181532013-10-04 Alan Modra <amodra@gmail.com>
18154
18155 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
18156 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
18157 all uses of ieee854 long double macros and unions.
18158 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
18159 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
18160 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
18161 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
18162 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
18163 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
18164 Likewise.
18165 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
18166 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
18167 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
18168 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
18169 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
18170 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
18171 Simplify sign and nan test too.
18172 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
18173 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
18174 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
18175 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
18176 Likewise.
18177 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
18178 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
18179 Likewise.
18180 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
18181 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
18182 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
18183 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
18184 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
18185 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
18186
1b6adf88
AM
181872013-10-04 Alan Modra <amodra@gmail.com>
18188
18189 * stdio-common/printf_size.c (__printf_size): Don't use
18190 union ieee854_long_double in fpnum union.
18191 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
18192 signbit macro to retrieve sign from long double.
18193 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
18194 retrieve sign from long double.
18195 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
18196 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
18197 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
18198 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
18199 * math/test-misc.c (main): Don't use union ieee854_long_double.
18200
4cf69995
AM
182012013-10-04 Alan Modra <amodra@gmail.com>
18202
18203 [BZ #15680]
18204 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
18205 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
18206 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
18207 calculation. Remove unnecessary test for denormal exponent.
18208 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
18209 Correct handling of denormals. Avoid undefined shift behaviour.
18210 Correct normalisation of low mantissa when low double is denormal.
18211 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
18212 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
18213 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
18214 Correct normalisation of low mantissa. Test for overflow of high
18215 mantissa and normalise.
18216 (ldbl_nearbyint): Use more readable constant for two52.
18217 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
18218 (__mpn_construct_long_double): Fix test for overflow of high
18219 mantissa and correct normalisation. Avoid undefined shift.
18220
9605ca6c
AM
182212013-10-04 Alan Modra <amodra@gmail.com>
18222
18223 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
18224 (union ibm_extended_long_double): Define as an array of ieee754_double.
18225 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
18226 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
18227 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
18228 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
18229 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
18230 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
18231 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
18232 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
18233 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
18234 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
18235 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
18236
975569d0
JM
182372013-10-03 Joseph Myers <joseph@codesourcery.com>
18238
d3d23756
JM
18239 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
18240 page size instead of calling getpagesize.
18241
975569d0
JM
18242 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
18243 (LOCFILE_ALIGN_MASK): Likewise.
18244 (LOCFILE_ALIGN_UP): Likewise.
18245 (LOCFILE_ALIGNED_P): Likewise.
18246 * locale/programs/ld-collate.c (collate_output): Use the new
18247 macros instead of __alignof__ (int32_t).
18248 * locale/weight.h (findidx): Likewise.
18249
b1fe1f2b
OB
182502013-10-03 Ondřej Bílka <neleai@seznam.cz>
18251
18252 [BZ #431]
18253 * manual/string.texi: Fix strncat and wcsncat.
18254
5f855e35
BM
182552013-10-03 Brooks Moses <bmoses@google.com>
18256
18257 [BZ #15915]
18258 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
18259 * Makerules: ...here, and adjust associated comments.
18260
3cef6009
WN
182612013-10-02 Will Newton <will.newton@linaro.org>
18262
18263 * malloc/Makefile: Add tst-pvalloc.
18264 * malloc/tst-pvalloc.c: New file.
18265
7815420b
WN
182662013-10-02 Will Newton <will.newton@linaro.org>
18267
18268 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
18269 improve test coverage.
18270
4868b204
WN
182712013-10-02 Will Newton <will.newton@linaro.org>
18272
18273 * malloc/Makefile: Add tst-posix_memalign.
18274 * malloc/tst-posix_memalign.c: New file.
18275
29c793b3
EB
182762013-10-01 Eric Blake <eblake@redhat.com>
18277
18278 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
18279 Use __THROWNL rather than __THROW on static functions.
18280
fd967522
PM
182812013-09-30 Petr Machata <pmachata@redhat.com>
18282
18283 * elf/elf.h (R_AARCH64_ABS16): New macro.
18284 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
18285 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
18286 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
18287 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
18288 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
18289 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
18290 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
18291 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
18292 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
18293 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
18294 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
18295 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
18296 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
18297 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
18298 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
18299 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
18300 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
18301 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
18302 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
18303 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
18304 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
18305 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
18306 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
18307 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
18308 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
18309 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
18310 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
18311 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
18312 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
18313 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
18314 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
18315 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
18316 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
18317 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
18318 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
18319 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
18320 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
18321 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
18322 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
18323 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
18324 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
18325 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
18326 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
18327 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
18328 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
18329 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
18330 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
18331 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
18332 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
18333 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
18334 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
18335 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
18336 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
18337 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
18338 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
18339 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
18340 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
18341 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
18342 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
18343 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
18344 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
18345 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
18346 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
18347 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
18348 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
18349 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
18350 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
18351 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
18352 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
18353 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
18354 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
18355 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
18356 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
18357 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
18358 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
18359 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
18360 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
18361 (R_AARCH64_TLSDESC_LDR): Likewise.
18362 (R_AARCH64_TLSDESC_ADD): Likewise.
18363 (R_AARCH64_TLSDESC_CALL): Likewise.
18364
b2179107
AS
183652013-09-30 Andreas Schwab <schwab@suse.de>
18366
18367 [BZ #15048]
18368 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
18369 the nss database lookup.
18370 * nscd/initgrcache.c (addinitgroupsX): Likewise.
18371 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
18372
47f28d0a
MF
183732013-09-28 Mike Frysinger <vapier@gentoo.org>
18374
18375 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
18376
183772013-09-28 P. J. McDermott <pj@pehjota.net>
0a834dde
PM
18378
18379 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
18380 ${Bash-specific parameter/pattern/string} parameter expansion.
18381 * sysdeps/unix/make-syscalls.sh: Likewise.
18382
f4518a17
KK
183832013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
18384
18385 * sysdeps/sh/stackguard-macros.h: New file.
18386
dc1a95c7
OB
183872013-09-26 Ondřej Bílka <neleai@seznam.cz>
18388
18389 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
18390 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
18391 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
18392 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
18393 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
18394 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
18395
5ebbff8f
AZ
183962013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18397
18398 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
18399 Fix thread ID register.
18400
4fd2cf9f
JM
184012013-09-25 Joseph Myers <joseph@codesourcery.com>
18402
18403 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
18404 [POSIX || UNIX98]: Require rather than permitting all symbols from
18405 <time.h>.
18406 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
18407 element of struct sched_param.
18408 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
18409 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
18410 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
18411 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
18412 constant.
18413
12c22bc4
OL
184142013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
18415
18416 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
18417 argument calculation.
18418
a03d8ea7
JM
184192013-09-24 Joseph Myers <joseph@codesourcery.com>
18420
18421 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
18422 Expect macro.
18423 [POSIX] (pthread_attr_t): Do not require type.
18424 [POSIX] (pthread_cond_t): Likewise.
18425 [POSIX] (pthread_condattr_t): Likewise.
18426 [POSIX] (pthread_key_t): Likewise.
18427 [POSIX] (pthread_mutex_t): Likewise.
18428 [POSIX] (pthread_mutexattr_t): Likewise.
18429 [POSIX] (pthread_once_t): Likewise.
18430 [POSIX] (pthread_t): Likewise.
18431 [POSIX-based standards] (pthread_atfork): Expect function.
18432
6055173a
JM
184332013-09-24 Joseph Myers <joseph@codesourcery.com>
18434 Richard Sandiford <richard@codesourcery.com>
18435
18436 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
18437 (swap_endianness_p): New extern variable.
18438 (set_big_endian): New inline function.
18439 (maybe_swap_uint32): Likewise.
18440 (maybe_swap_uint32_array): Likewise.
18441 (maybe_swap_uint32_obstack): Likewise.
18442 * locale/programs/locfile.c: Include <stdbool.h>.
18443 (swap_endianness_p): New variable.
18444 (add_locale_uint32): Call maybe_swap_uint32.
18445 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
18446 (write_locale_data): Call maybe_swap_uint32_array.
18447 * locale/programs/ld-collate.c (obstack_int32_grow): Call
18448 maybe_swap_uint32.
18449 (obstack_int32_grow_fast): Likewise.
18450 (output_weightwc): Call maybe_swap_uint32_obstack.
18451 (collate_output): Likewise.
18452 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
18453 (OPT_LITTLE_ENDIAN): Likewise.
18454 (options): Add --little-endian and --big-endian options.
18455 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
18456 * locale/programs/locarchive.c: Include "locfile.h".
18457 (GET): New macro.
18458 (SET): Likewise.
18459 (INC): Likewise.
18460 (create_archive): Use the new macros to access fields of
18461 structures directly mapped from or written to locale archives.
18462 (oldlocrecentcmp): Likewise.
18463 (enlarge_archive): Likewise.
18464 (insert_name): Likewise.
18465 (add_alias): Likewise.
18466 (add_locale): Likewise.
18467 (delete_locales_from_archive): Likewise.
18468 (show_archive_content): Likewise.
18469 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
18470 locale data.
18471
39bf0bb4
RM
184722013-09-24 Roland McGrath <roland@hack.frob.com>
18473
18474 * manual/freemanuals.texi: Updated from (newly) canonical copy at
18475 http://www.gnu.org/doc/freemanuals.texi.
18476 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
18477
f02eed10
WN
184782013-09-24 Will Newton <will.newton@linaro.org>
18479
18480 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
18481 macro.
18482
a3a6c312
JM
184832013-09-23 Joseph Myers <joseph@codesourcery.com>
18484
18485 * locale/hashval.h (compute_hashval): Interpret bytes of key as
18486 unsigned char.
18487
107375ac
MR
184882013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
18489
18490 * manual/threads.texi (POSIX Threads): Fix a typo.
18491
141f3a77
SP
184922013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
18493
303e567a
SP
18494 [BZ #14547]
18495 * string/tst-strcoll-overflow.c: New test case.
18496 * string/Makefile (xtests): Add tst-strcoll-overflow.
18497 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
18498 cache if string sizes may cause integer overflow.
18499
141f3a77
SP
18500 [BZ #14547]
18501 * string/strcoll_l.c (coll_seq): New members rule, idx,
18502 save_idx and back_us.
18503 (get_next_seq_nocache): New function.
18504 (do_compare_nocache): New function.
18505 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
18506 when malloc fails.
18507
c61b4d41
CD
185082013-09-23 Carlos O'Donell <carlos@redhat.com>
18509
0b1f8e35
CD
18510 [BZ #15754]
18511 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
18512 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
18513 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
18514
c61b4d41
CD
18515 [BZ #15754]
18516 * elf/Makefile (tests): Add tst-ptrguard1.
18517 (tests-static): Add tst-ptrguard1-static.
18518 (tst-ptrguard1-ARGS): Define.
18519 (tst-ptrguard1-static-ARGS): Define.
18520 * elf/tst-ptrguard1.c: New file.
18521 * elf/tst-ptrguard1-static.c: New file.
18522 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
18523 * sysdeps/i386/stackguard-macros.h: Likewise.
18524 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
18525 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
18526 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
18527 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
18528 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
18529 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
18530
185312013-09-23 Hector Marco <hecmargi@upv.es>
18532 Ismael Ripoll <iripoll@disca.upv.es>
18533 Carlos O'Donell <carlos@redhat.com>
18534
18535 [BZ #15754]
18536 * sysdeps/generic/stackguard-macros.h: Define
18537 __pointer_chk_guard_local and POINTER_CHK_GUARD.
18538 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
18539 Define __pointer_chk_guard_local.
18540 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
18541 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
18542
f5f4e7b4
VV
185432013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
18544
18545 [BZ #15859]
18546 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
18547
5bb43a43
AS
185482013-09-20 Andreas Schwab <schwab@linux-m68k.org>
18549
18550 * include/string.h (__ffs): Declare as hidden.
18551 * string/ffs.c (__ffs): Define as hidden.
18552 * sysdeps/i386/ffs.c (__ffs): Likewise.
18553 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
18554 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
18555 * sysdeps/s390/ffs.c (__ffs): Likewise.
18556 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
18557
3ea5be54
AO
185582013-09-20 Alexandre Oliva <aoliva@redhat.com>
18559
ffb89e53
AO
18560 * NEWS: Mention malloc probes.
18561
322dea08
AO
18562 * malloc/arena.c (new_heap): New memory_heap_new probe.
18563 (grow_heap): New memory_heap_more probe.
18564 (shrink_heap): New memory_heap_less probe.
18565 (heap_trim): New memory_heap_free probe.
18566 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
18567 (systrim): New memory_sbrk_less probe.
18568 * manual/probes.texi: Document them.
18569
655673f3
AO
18570 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
18571 * manual/probes.texi: Document it.
18572
35fed6f1
AO
18573 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
18574 (__libc_realloc): Add memory_realloc_retry probe.
18575 (__libc_memalign): Add memory_memalign_retry probe.
18576 (__libc_valloc): Add memory_valloc_retry probe.
18577 (__libc_pvalloc): Add memory_pvalloc_retry probe.
18578 (__libc_calloc): Add memory_calloc_retry probe.
18579 * manual/probes.texi: Document them.
18580
6999d38c
AO
18581 * malloc/arena.c (get_free_list): Add probe
18582 memory_arena_reuse_free_list.
18583 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
18584 and memory_arena_reuse.
18585 (arena_get2) [!PER_THREAD]: Likewise.
18586 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
18587 memory_arena_reuse_realloc.
18588 * manual/probes.texi: Document them.
18589
0653427f
AO
18590 * malloc/malloc.c (__libc_free): Add
18591 memory_mallopt_free_dyn_thresholds probe.
18592 (__libc_mallopt): Add multiple memory_mallopt probes.
18593 * manual/probes.texi: Document them.
18594
3ea5be54
AO
18595 * malloc/malloc.c: Include stap-probe.h.
18596 (__libc_mallopt): Add memory_mallopt probe.
18597 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
18598 * manual/probes.texi: New.
18599 * manual/Makefile (chapters): Add probes.
18600 * manual/threads.texi: Set next node.
18601
e35696c3 186022013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
3e181dda 18603
e35696c3
CL
18604 [BZ #15963, #13985]
18605 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
18606 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
18607 Add `Chinese' to `nan' entry name.
18608
4aafb73c
SP
186092013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
18610
18611 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
18612 (POLYNOMIAL): Likewise.
18613 (TAYLOR_SINCOS): Likewise.
18614 (TAYLOR_SLOW): Likewise.
18615 (__sin): Use TAYLOR_SINCOS.
18616 (__cos): Likewise.
18617 (slow): Use TAYLOR_SLOW.
18618 (sloww): Likewise.
18619 (bsloww): Likewise.
18620 (csloww): Likewise.
18621
d84f25c7
LD
186222013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
18623
18624 * stdlib/strtod_l.c: Fix buffer overrun.
18625
5eea0404
SP
186262013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
18627
7849ff93
SP
18628 * benchtests/Makefile (bench): Add sincos.
18629 * benchtests/bench-sincos.c: New file.
18630
cfa3c886
SP
18631 * math/libm-test.inc (cos_test_data): New test inputs.
18632 (sin_test_data): Likewise.
18633
b348e1e3
SP
18634 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
18635 macro.
18636 (__sin): Use it.
18637 (__cos): Likewise.
18638 (slow1): Likewise.
18639 (slow2): Likewise.
18640 (sloww1): Likewise.
18641 (sloww2): Likewise.
18642 (bsloww1): Likewise.
18643 (bsloww2): Likewise.
18644 (cslow2): Likewise.
18645 (csloww1): Likewise.
18646 (csloww2): Likewise.
18647
6cce25f8
SP
18648 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
18649 function.
18650 (__sin): Use it.
18651 (__cos): Likewise.
18652
5eea0404
SP
18653 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
18654 gotos.
18655 (__cos): Likewise.
18656
9c21573c
MR
186572013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
18658
18659 * config.h.in (HAVE_MIPS_NAN2008): New macro.
18660 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
18661 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
18662 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
18663 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
18664 * elf/cache.c (print_entry): Handle the new cache flags.
18665
24d22e65
JM
186662013-09-18 Joseph Myers <joseph@codesourcery.com>
18667 Aldy Hernandez <aldyh@redhat.com>
18668
18669 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
18670 Change condition to [_SOFT_FLOAT].
18671 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
18672 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
18673 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
18674 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
18675 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
18676 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
18677 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
18678 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
18679 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
18680 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
18681 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
18682 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
18683 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
18684 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
18685 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
18686 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
18687 declaration.
18688
d13ef066
JM
186892013-09-18 Joseph Myers <joseph@codesourcery.com>
18690
2e071de0
JM
18691 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
18692 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
18693 (__longjmp): Use LOAD_GP to load saved GPRs.
18694 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
18695 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
18696 (__sigsetjmp): Use SAVE_GP to save GPRs.
18697
d13ef066
JM
18698 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
18699 Do not append -msoft-float.
18700 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
18701
97a0650b
SP
187022013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
18703
18704 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
18705
11ca09e9
JM
187062013-09-17 Joseph Myers <joseph@codesourcery.com>
18707
18708 [BZ #15966]
18709 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
18710 (_FPU_GETCW): Use initial "__" on variable and field names but not
18711 on macro parameter name.
18712 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
18713 parentheses around reference to macro parameter.
18714
08ffcf34
RS
187152013-09-13 Richard Sandiford <richard@codesourcery.com>
18716
18717 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
18718 prototype.
18719 (ctype_startup): Use uint32_t in cast and sizeof for
18720 ctype->charnames.
18721
ae7080d3
JL
187222013-09-11 Jia Liu <proljc@gmail.com>
18723
18724 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
18725 __daddr_t_defined.
18726 [__FreeBSD__]: Likewise.
18727
5905e7b3
OB
187282013-09-11 Ondřej Bílka <neleai@seznam.cz>
18729
18730 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
18731 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
18732 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
18733 (strchr): Remove __strchr_sse42 ifunc selection.
18734 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
18735 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
18736
b987c776
WN
187372013-09-11 Will Newton <will.newton@linaro.org>
18738
18739 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
18740 parameter to RES. Remove hardcoded 1000 value.
18741 * benchtests/bench-skeleton.c (main): Pass RES parameter
18742 to TIMING_INIT and multiply result by 1000.
18743
ddf985af
AZ
187442013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18745
18746 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18747
ffdd3181
AS
187482013-09-11 Andreas Schwab <schwab@suse.de>
18749
18750 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
18751 if not defined.
18752 (O_TMPFILE) [__USE_GNU]: Define.
18753 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
18754 Define.
18755
b73ed247
WN
187562013-09-11 Will Newton <will.newton@linaro.org>
18757
18758 [BZ #15857]
18759 * malloc/malloc.c (__libc_memalign): Check the value of bytes
18760 does not overflow.
18761
55e17aad
WN
187622013-09-11 Will Newton <will.newton@linaro.org>
18763
18764 [BZ #15856]
18765 * malloc/malloc.c (__libc_valloc): Check the value of bytes
18766 does not overflow.
18767
1159a193
WN
187682013-09-11 Will Newton <will.newton@linaro.org>
18769
18770 [BZ #15855]
18771 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
18772 does not overflow.
18773
5905e7b3 187742013-09-10 Ondřej Bílka <neleai@seznam.cz>
c7cabd13
OB
18775
18776 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
18777 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
18778 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
18779 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
18780 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
18781
cdfc721b
AM
187822013-09-10 Allan McRae <allan@archlinux.org>
18783
aa04af00
AM
18784 [BZ #15748]
18785 * manual/arith.texi (Parsing of Floats): Clarify
18786 cross-reference.
18787
cdfc721b
AM
18788 [BZ #15849]
18789 * manual/install.texi (Running make install): Mention
18790 --enable-pt-chown.
18791 * INSTALL: Regenerated.
18792
95e7cf29
MR
187932013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
18794
18795 * csu/init-first.c (_init): Remove the !SHARED condition around
18796 FPU control word initialization.
18797 * elf/dl-support.c (_dl_fpu_control): New variable.
18798 (_dl_aux_init) <AT_FPUCW>: Initialize it.
18799 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
18800 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
18801 * math/test-fpucw-static.c: New file.
18802 * math/test-fpucw-ieee.c: New file.
18803 * math/test-fpucw-ieee-static.c: New file.
18804 * math/Makefile (tests): Add `test-fpucw-ieee' and
18805 `$(tests-static)'.
18806 (tests-static): New variable.
18807 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
18808 dependency to...
18809 [($(build-shared),yes)]
18810 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
18811 ... this.
18812 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
18813 New dependency.
18814
83e43bf0
AM
188152013-09-09 Allan McRae <allan@archlinux.org>
18816
a9f5ce09
AM
18817 [BZ #15939]
18818 * manual/string.texi (Collation Functions): Fix typo in
18819 strcoll example.
18820 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
18821
34829bc2
AM
18822 [BZ #15893]
18823 * stdlib/isomac.c (get_null_defines): Fix memory leak.
18824
3932737d
AM
18825 [BZ #15892]
18826 * libio/memstream.c (open_memstream): Fix memory leak.
18827 * libio/wmemstream.c (open_wmemstream): Likewise.
18828
83e43bf0
AM
18829 [BZ #15895]
18830 * nscd/netgroupcache.c: Fix nesting of ifdefs.
18831
0c66b8e9
WN
188322013-09-09 Will Newton <will.newton@linaro.org>
18833
18834 * malloc/Makefile: Add tst-realloc to tests.
18835 * malloc/tst-realloc.c: New file.
18836
f6b00fd1
AM
188372013-09-09 Allan McRae <allan@archlinux.org>
18838
18839 [BZ #15844]
18840 * COPYING: Update from GNU website to fix FSF address.
18841 * COPYING.LIB: Likewise.
18842
eec55e16
DM
188432013-09-06 David S. Miller <davem@davemloft.net>
18844
18845 * po/zh_TW.po: Update Chinese (traditional) translation from
18846 translation project.
18847
1ecbb381
RS
188482013-09-06 Richard Sandiford <richard@codesourcery.com>
18849 Joseph Myers <joseph@codesourcery.com>
18850
18851 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
18852 "localeinfo.h".
18853 (obstack_chunk_alloc): New macro.
18854 (obstack_chunk_free): Likewise.
18855 (record_offset): New function.
18856 (init_locale_data): Likewise.
18857 (align_locale_data): Likewise.
18858 (add_locale_empty): Likewise.
18859 (add_locale_raw_data): Likewise.
18860 (add_locale_raw_obstack): Likewise.
18861 (add_locale_string): Likewise.
18862 (add_locale_wstring): Likewise.
18863 (add_locale_uint32): Likewise.
18864 (add_locale_uint32_array): Likewise.
18865 (add_locale_char): Likewise.
18866 (start_locale_structure): Likewise.
18867 (end_locale_structure): Likewise.
18868 (start_locale_prelude): Likewise.
18869 (end_locale_prelude): Likewise.
18870 (write_locale_data): Take locale_file structure rather than an
18871 iovec.
18872 * locale/programs/locfile.h: Include "obstack.h".
18873 (struct locale_file): Change to store locale file contents instead
18874 of header.
18875 (init_locale_data): New prototype.
18876 (align_locale_data): Likewise.
18877 (add_locale_empty): Likewise.
18878 (add_locale_raw_data): Likewise.
18879 (add_locale_raw_obstack): Likewise.
18880 (add_locale_string): Likewise.
18881 (add_locale_wstring): Likewise.
18882 (add_locale_uint32): Likewise.
18883 (add_locale_uint32_array): Likewise.
18884 (add_locale_char): Likewise.
18885 (start_locale_structure): Likewise.
18886 (end_locale_structure): Likewise.
18887 (start_locale_prelude): Likewise.
18888 (end_locale_prelude): Likewise.
18889 (write_locale_data): Update prototype.
18890 * locale/programs/3level.h (struct TABLE): Remove result field.
18891 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
18892 Use new locale_file interface.
18893 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
18894 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
18895 * locale/programs/ld-address.c (address_output): Use new
18896 locale_file interface.
18897 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
18898 NO_ADD_LOCALE.
18899 (collate_finish): Don't call collseq_table_finalize.
18900 (collate_output): Use new locale_file interface.
18901 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
18902 in file.
18903 (NO_FINALIZE): Change to NO_ADD_LOCALE.
18904 (TABLE): Move defines earlier in file.
18905 (ELEMENT): Likewise.
18906 (DEFAULT): Likewise.
18907 (wctrans_table_add): Move macro and inline function earlier in
18908 file.
18909 (struct wctype_table): Move type earlier in file.
18910 (add_locale_wctype_table): New static prototype.
18911 (struct locale_ctype_t): Use logical types instead of struct iovec
18912 pointers for members.
18913 (ctype_output): Use new locale_file interface.
18914 (wctype_table_finalize): Change to add_locale_wctype_table. Use
18915 new locale_file interface.
18916 (allocate_arrays): Update for use of new locale_file interface.
18917 * locale/programs/ld-identification.c (identification_output): Use
18918 new locale_file interface.
18919 * locale/programs/ld-measurement.c (measurement_output): Likewise.
18920 * locale/programs/ld-messages.c (messages_output): Likewise.
18921 * locale/programs/ld-monetary.c (monetary_output): Likewise.
18922 * locale/programs/ld-name.c (name_output): Likewise.
18923 * locale/programs/ld-numeric.c (numeric_output): Likewise.
18924 * locale/programs/ld-paper.c (paper_output): Likewise.
18925 * locale/programs/ld-telephone.c (telephone_output): Likewise.
18926 * locale/programs/ld-time.c (time_output): Likewise.
18927
e029e2e5
AZ
189282013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18929
18930 * benchtests/Makefile: Add memrchr benchmark.
18931 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
18932 benchmark as memrchr.
18933 * benchtests/bench-memrchr-ifunc.c: New file.
18934 * benchtests/bench-memrchr.c: New file.
18935
bbf6e8e4
WN
189362013-09-06 Will Newton <will.newton@linaro.org>
18937
18938 * benchtests/Makefile (string-bench): Add memcpy.
18939
6c82a2f8
CD
189402013-09-05 Carlos O'Donell <carlos@redhat.com>
18941 Cong Wang <amwang@redhat.com>
18942
e732c5f0 18943 [BZ #15850]
6c82a2f8
CD
18944 * sysdeps/unix/sysv/linux/bits/in.h
18945 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
18946 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
18947 before __USE_KERNEL_IPV6_DEFS uses.
18948 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
18949 IPPROTO_BEETPH.
18950 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
18951 sockaddr_in6, or ipv6_mreq.
18952
5430fc65
AZ
189532013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18954
18955 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
18956 memory access for final bytes in some large inputs.
18957 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
18958
4660856c
AZ
189592013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18960
18961 * string/test-memrchr.c: New file.
18962 * string/test-memrchr-ifunc.c: New file.
18963 * string/Makefile: Add new memrchr testcase.
18964
bb8ea713
MF
189652013-09-05 Mike Frysinger <vapier@gentoo.org>
18966
18967 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
18968 fanotify_init returns EPERM.
18969
b92a20b5
JM
189702013-09-04 Joseph Myers <joseph@codesourcery.com>
18971
18972 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
18973 errors.
18974 (top level): Treat second token from macro or constant entries for
18975 allowed headers as allowed.
18976 * include/complex.h: Condition internal declarations on
18977 [!_ISOMAC].
18978 * include/fenv.h: Condition include of <stdbool.h> and internal
18979 declarations on [!_ISOMAC].
7447ccd9
CL
18980
189812013-09-04 Chris Leonard <cjl@sugarlabs,.org>
18982
3e181dda 18983 [BZ #15923]
7447ccd9
CL
18984 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
18985
3f2e46a4
JM
189862013-09-04 Joseph Myers <joseph@codesourcery.com>
18987
18988 * configure.in (--enable-versioning): Remove configure option.
18989 (libc_cv_asm_symver_directive): Remove configure test.
18990 (libc_cv_ld_version_script_option): Likewise.
18991 (VERSIONING): Remove variable and AC_SUBST.
18992 (DO_VERSIONING): Remove AC_DEFINE.
18993 * configure: Regenerated.
18994 * config.h.in (DO_VERSIONING): Remove macro.
18995 * Makerules [$(versioning) = yes]: Change conditionals to
18996 [$(build-shared) = yes].
18997 * config.make.in (versioning): Remove variable.
18998 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
18999 [$(build-shared) = yes].
19000 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
19001 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
19002 * elf/Makefile [$(versioning) = yes]: Change conditionals to
19003 [$(build-shared) = yes].
19004 * extra-lib.mk [$(versioning) = yes]: Likewise.
19005 * hurd/Makefile [$(versioning) = yes]: Likewise.
19006 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
19007 [SHARED].
19008 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
19009 [SHARED].
19010 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
19011 [SHARED && !NO_HIDDEN].
19012 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
19013 [SHARED].
19014 [SHARED && DO_VERSIONING]: Likewise..
19015 * libio/Makefile [$(versioning) = yes]: Change conditionals to
19016 [$(build-shared) = yes].
19017 * manual/install.texi (--disable-versioning): Remove
19018 documentation.
19019 * INSTALL: Regenerated.
19020 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
19021 to [SHARED].
19022 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
19023 [$(build-shared) = yes].
19024 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
19025 * sysdeps/i386/i686/multiarch/strstr-c.c
19026 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
19027 [SHARED && !NO_HIDDEN].
19028 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
19029 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
19030 * sysdeps/powerpc/powerpc32/dl-machine.c
19031 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
19032 * sysdeps/powerpc/powerpc32/sysdep.h
19033 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
19034 to [SHARED && PIC && !NO_HIDDEN].
19035 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
19036 conditional to [SHARED].
19037
44558701
WN
190382013-09-04 Will Newton <will.newton@linaro.org>
19039
19040 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
19041 * benchtests/bench-string.h: Include bench-timing.h instead
19042 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
19043 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
19044 call to HP_TIMING_DIFF_INIT.
19045 * benchtests/bench-memccpy.c: Use bench-timing.h macros
19046 instead of hp-timing.h macros.
19047 * benchtests/bench-memchr.c: Likewise.
19048 * benchtests/bench-memcmp.c: Likewise.
19049 * benchtests/bench-memcpy.c: Likewise.
19050 * benchtests/bench-memmem.c: Likewise.
19051 * benchtests/bench-memmove.c: Likewise.
19052 * benchtests/bench-memset.c: Likewise.
19053 * benchtests/bench-rawmemchr.c: Likewise.
19054 * benchtests/bench-strcasecmp.c: Likewise.
19055 * benchtests/bench-strcasestr.c: Likewise.
19056 * benchtests/bench-strcat.c: Likewise.
19057 * benchtests/bench-strchr.c: Likewise.
19058 * benchtests/bench-strcmp.c: Likewise.
19059 * benchtests/bench-strcpy.c: Likewise.
19060 * benchtests/bench-strcpy_chk.c: Likewise.
19061 * benchtests/bench-strlen.c: Likewise.
19062 * benchtests/bench-strncasecmp.c: Likewise.
19063 * benchtests/bench-strncat.c: Likewise.
19064 * benchtests/bench-strncmp.c: Likewise.
19065 * benchtests/bench-strncpy.c: Likewise.
19066 * benchtests/bench-strnlen.c: Likewise.
19067 * benchtests/bench-strpbrk.c: Likewise.
19068 * benchtests/bench-strrchr.c: Likewise.
19069 * benchtests/bench-strspn.c: Likewise.
19070 * benchtests/bench-strstr.c: Likewise.
19071
cae16d66
WN
190722013-09-04 Will Newton <will.newton@linaro.org>
19073
19074 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
19075
ffa3cd7f
JM
190762013-09-03 Joseph Myers <joseph@codesourcery.com>
19077
19078 [BZ #15427]
19079 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
19080 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
19081 * math/libm-test.inc (lgamma_test_data): Add more tests.
19082 * sysdeps/i386/fpu/libm-test-ulps: Update.
19083 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19084
8f02859f
OB
190852013-09-03 Ondřej Bílka <neleai@seznam.cz>
19086
19087 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
19088 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
19089 Add ifunc.
19090 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
19091 Add strcmp-sse2-unaligned
19092 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
19093
18d43716
MF
190942013-09-02 Mike Frysinger <vapier@gentoo.org>
19095
19096 * Versions.def (libc): Add GLIBC_2.19.
19097
ac444012
MF
190982013-09-02 Mike Frysinger <vapier@gentoo.org>
19099
19100 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
19101 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
19102
b7835e32
JM
191032013-09-02 Joseph Myers <joseph@codesourcery.com>
19104
19105 [BZ #14155]
19106 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
19107 intermediate calculations in recurrence.
19108 (__ieee754_ynf): Likewise.
19109 * math/libm-test.inc (jn_test_data): Do not allow spurious
19110 underflow exception. Add more tests.
19111 (yn_test_data): Add more tests.
19112 * sysdeps/i386/fpu/libm-test-ulps: Update.
19113 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19114
8220f4f0
OB
191152013-09-02 Ondřej Bílka <neleai@seznam.cz>
19116
19117 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
19118
f24a6d08
OB
191192013-08-30 Ondřej Bílka <neleai@seznam.cz>
19120
19121 * csu/init-first.c: Fix then/than typos.
19122 * locale/programs/ld-collate.c: Likewise.
19123 * locale/programs/linereader.h: Likewise.
19124 * manual/charset.texi: Likewise.
19125 * manual/filesys.texi: Likewise.
19126 * manual/stdio.texi: Likewise.
19127 * manual/string.texi: Likewise.
19128 * stdlib/fmtmsg.c: Likewise.
19129 * sysdeps/i386/stpncpy.S: Likewise.
19130 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
19131 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
19132 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
19133 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
19134
382466e0
OB
191352013-08-30 Ondřej Bílka <neleai@seznam.cz>
19136
19137 * elf/dl-open.c: Fix typos.
19138 * iconvdata/gbbig5.c: Likewise.
19139 * iconvdata/iso-2022-jp.c: Likewise.
19140 * iconv/gconv_int.h: Likewise.
19141 * iconv/loop.c: Likewise.
19142 * nis/rpcsvc/nis.h: Likewise.
19143 * resolv/ns_name.c: Likewise.
19144 * stdio-common/vfscanf.c: Likewise.
19145 * streams/stropts.h: Likewise.
19146 * sunrpc/rpc_thread.c: Likewise.
19147 * sysdeps/i386/strpbrk.S: Likewise.
19148 * sysdeps/ieee754/k_standard.c: Likewise.
19149 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
19150 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
19151 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
19152 * sysdeps/mach/hurd/profil.c: Likewise.
19153 * sysdeps/s390/dl-procinfo.h: Likewise.
19154 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
19155 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
19156 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
19157 * sysdeps/x86_64/dl-trampoline.S: Likewise.
19158 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
19159
0186c6e9
OB
191602013-08-30 Ondřej Bílka <neleai@seznam.cz>
19161
19162 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
19163 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
19164
d4e16af1
OB
191652013-08-29 Ondřej Bílka <neleai@seznam.cz>
19166
19167 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
19168 aix specific files.
19169 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
19170 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
19171 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
19172 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
19173 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
19174 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
19175 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
19176 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
19177
88335980
TS
191782013-08-29 Thomas Schwinge <thomas@codesourcery.com>
19179 Roland McGrath <roland@hack.frob.com>
19180
19181 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
19182 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
19183
ed479b02
ST
191842013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
19185
19186 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
19187 __executable_start symbol instead of _start.
19188
f1cc4c86
TS
191892013-08-29 Thomas Schwinge <thomas@codesourcery.com>
19190
d821f07c
TS
19191 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
19192 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
19193 Move macros to...
19194 * sysdeps/gnu/ldsodefs.h: ... this new file.
19195
c54290cf
TS
19196 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
19197 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
19198 instead of ELFOSABI_LINUX.
19199
0007fc9b 19200 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
0007fc9b
TS
19201 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
19202 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
19203 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
19204 Likewise.
19205 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
19206 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
19207 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
19208 Likewise.
19209 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
19210 (ibm_extended_long_double): Add ieee_nan member.
19211 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
19212 (do_test): New function.
19213
f1cc4c86
TS
19214 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
19215 TEST_TRUNC.
19216 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
19217 functions, renamed from truncdfsf_test, trunctfsf_test,
19218 trunctfdf_test.
19219 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
19220 functions.
19221 (do_test): Run all these.
19222
6f65e668
OB
192232013-08-29 Ondřej Bílka <neleai@seznam.cz>
19224
19225 * argp/argp-help.c: Fix typos.
19226 * argp/argp-parse.c: Likewise.
19227 * debug/backtracesyms.c: Likewise.
19228 * elf/elf.h: Likewise.
19229 * malloc/malloc.c: Likewise.
19230 * nis/nis_print.c: Likewise.
19231 * resolv/res_comp.c: Likewise.
19232 * stdlib/stdlib.h: Likewise.
19233 * sunrpc/clnt_tcp.c: Likewise.
19234 * sunrpc/clnt_udp.c: Likewise.
19235 * sunrpc/clnt_unix.c: Likewise.
19236 * sysdeps/unix/bsd/ptsname.c: Likewise.
19237 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
19238 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
99541e80
RM
19239 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
19240 Likewise.
19241 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
19242 Likewise.
19243 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
19244 Likewise.
6f65e668
OB
19245 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
19246
3a309239
SP
192472013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
19248
19249 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
19250 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
19251
3b813b29
MF
192522013-08-27 Mike Frysinger <vapier@gentoo.org>
19253
19254 [BZ #15897]
19255 * dlfcn/Makefile (tests): Add bug-dl-leaf.
19256 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
19257 ($(objpfx)bug-dl-leaf): New rule.
19258 ($(objpfx)bug-dl-leaf.so): Likewise.
19259 ($(objpfx)bug-dl-leaf.out): Likewise.
19260 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
19261 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
19262 * dlfcn/bug-dl-leaf.c: New test.
19263 * dlfcn/bug-dl-leaf-lib.c: Likewise.
19264 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
19265 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
19266 (dlclose): Likewise.
19267 (dlmopen): Likewise.
19268
8cc3269f
RM
192692013-08-27 Roland McGrath <roland@hack.frob.com>
19270
7f9d0034
RM
19271 * include/netdb.h [!_ISOMAC]:
19272 Don't include <tls.h>.
19273 (h_errno, __libc_h_errno): Move declaration and macros out of
19274 [_LIBC_REENTRANT].
19275
fb431262
RM
19276 * include/resolv.h [_RESOLV_H_]:
19277 Don't include <tls.h>.
19278 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
19279 * resolv/res_libc.c: Don't include <tls.h>.
19280 (_res): Use __attribute__ ((nocommon)) in place of
19281 __attribute__ ((section (".bss"))).
19282
bd81123a
RM
19283 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
19284 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
19285
c4e42566
RM
19286 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
19287
f890a59b
RM
19288 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
19289 only under [SIOCGIFCONF && SIOCGIFNETMASK].
19290
19291 * resolv/res_mkquery.c: Include <sys/time.h>.
19292
5d1f0a09
RM
19293 * inet/ifreq.c: Moved to ...
19294 * sysdeps/unix/ifreq.c: ... here.
19295 * inet/ifreq.c: New file, true stub version.
19296
6fcf28b3
RM
19297 * socket/sa_len.c: New file.
19298 * socket/Makefile (aux): Add it.
19299 * sysdeps/unix/sysv/linux/Makefile
19300 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
19301 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
19302 and #include <socket/sa_len.c>.
19303 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
19304 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
19305
e041fb8b
RM
19306 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
19307 * bits/socket.h: ... here.
19308
8cc3269f
RM
19309 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
19310 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
19311 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
19312
5d228a43
AS
193132013-08-27 Andreas Schwab <schwab@suse.de>
19314
45b8accc
AS
19315 [BZ #15736]
19316 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
19317 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
19318 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
19319 * string/test-strcasecmp.c (test_main): Run tests in several
19320 locales.
19321 * string/test-strncasecmp.c (test_main): Likewise.
19322
5d228a43
AS
19323 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
19324 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
19325 to __strcasecmp_nonascii and __strncasecmp_nonascii.
19326 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
19327 (__strncasecmp_ssse3) [PIC]: Likewise.
19328
59d112a4
RM
193292013-08-26 Roland McGrath <roland@hack.frob.com>
19330
53234cc3
RM
19331 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
19332
59d112a4
RM
19333 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
19334 instead of explicitly declaring xdecrypt.
19335 * nis/nss_nis/nis-publickey.c: Likewise.
19336
595aba70
SP
193372013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
19338
19339 [BZ #15890]
19340 * nscd/aicache.c: Include res_hconf.h.
19341 (addhstaiX): Initialize res_hconf.
19342
ffabd393
AS
193432013-08-26 Andreas Schwab <schwab@suse.de>
19344
19345 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
19346 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
19347
e0a69f5c
SP
193482013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
19349
19350 * nscd/aicache.c (addhstaiX): Fix indentation.
19351
8c12f01d
MF
193522013-08-25 Mike Frysinger <vapier@gentoo.org>
19353
19354 * configure.ac: Quote $build_pt_chown test.
19355 * configure: Regenerated.
19356
8fe89494
JM
193572013-08-23 Joseph Myers <joseph@codesourcery.com>
19358
19359 [BZ #15532]
19360 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
19361 * math/s_cexpf.c (__cexpf): Likewise.
19362 * math/s_cexpl.c (__cexpl): Likewise.
19363 * math/libm-test.inc (cexp_test_data): Correct expected return
19364 value for NaN + i0. Add another test.
19365
75b181d6
DM
193662013-08-22 David S. Miller <davem@davemloft.net>
19367
19368 * po/ca.po: Update Catalan translation from translation project.
936241e4 19369 * po/uk.po: Add Ukrainian translations from translation project.
75b181d6 19370
acd06bb1
JM
193712013-08-21 Joseph Myers <joseph@codesourcery.com>
19372
19373 [BZ #15797]
19374 * math/s_fdim.c (__fdim): Check for infinite arguments if result
19375 is infinite, not alongside NaN test.
19376 * math/s_fdimf.c (__fdimf): Likewise.
19377 * math/s_fdiml.c (__fdiml): Likewise.
19378 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
19379 errno is unchanged.
19380
c0c3f78a
OB
193812013-08-21 Ondřej Bílka <neleai@seznam.cz>
19382
19383 * argp/argp-help.c: Fix typos.
19384 * crypt/speeds.c: Likewise.
19385 * csu/check_fds.c: Likewise.
19386 * elf/dl-load.c: Likewise.
19387 * elf/dl-open.c: Likewise.
19388 * elf/reldep3.c: Likewise.
19389 * elf/reldep.c: Likewise.
19390 * elf/sprof.c: Likewise.
19391 * iconv/iconv_charmap.c: Likewise.
19392 * iconv/skeleton.c: Likewise.
19393 * iconv/strtab.c: Likewise.
19394 * io/lockf64.c: Likewise.
19395 * libio/libioP.h: Likewise.
19396 * resolv/gai_notify.c: Likewise.
19397 * resolv/ns_name.c: Likewise.
19398 * resolv/ns_samedomain.c: Likewise.
19399 * resolv/res_send.c: Likewise.
19400 * stdlib/random.c: Likewise.
19401 * sunrpc/rpc/xdr.h: Likewise.
19402 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
19403 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
19404 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
19405 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
19406 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
19407 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
19408 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
19409 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
19410 * sysdeps/mach/hurd/check_fds.c: Likewise.
19411 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
19412 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
19413 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
19414 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
19415 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
19416 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
19417 * sysdeps/pthread/aio_notify.c: Likewise.
19418 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
19419 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
19420 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
19421 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
19422 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
19423
46ed1038
LD
194242013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
19425
19426 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
19427 version if bit_Slow_SSE4_2 is set.
19428 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
19429 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
19430
d400dcac
AZ
194312013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19432
19433 [BZ #15867]
19434 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
19435 trampoline stack frame information.
19436 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
19437 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
19438 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
19439 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
19440 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
19441 * sysdeps/unix/sysv/linux/powerpc/init-first.c
19442 (_libc_vdso_platform_setup): Initialize the signal trampolines.
19443 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
19444 sa_flags value.
19445 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
19446 interrupting a syscall and set with option SA_SIGINFO.
19447
42c8fdd8
JM
194482013-08-20 Joseph Myers <joseph@codesourcery.com>
19449
c980f2f4
JM
19450 [BZ #15531]
19451 * math/s_cproj.c (__cproj): Only return an infinity if one part of
19452 argument is infinite.
19453 * math/s_cprojf.c (__cprojf): Likewise.
19454 * math/s_cprojl.c (__cprojl): Likewise.
19455 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
19456 * math/libm-test.inc (cproj_test_data): Add more tests.
19457
0716c4fc
JM
19458 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
19459
42c8fdd8
JM
19460 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
19461 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
19462 size. Use __ffs to determine corresponding shift.
19463
b31469d0
JM
194642013-08-20 Joseph Myers <joseph@codesourcery.com>
19465 Roland McGrath <roland@hack.frob.com>
19466
19467 * Makefile (INSTALL): Remove trailing blank lines from output of
19468 makeinfo.
19469
4e39af6e
AK
194702013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19471
19472 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
19473 Align 32 bit compat elf_greg to 8 bytes.
19474
f315524e
AA
194752013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
19476
19477 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
19478
1326ba1a
SP
194792013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
19480
19481 * string/strcoll_l.c (coll_seq): New structure.
19482 (get_next_seq_cached): New function.
19483 (get_next_seq): New function.
19484 (do_compare): New function.
19485 (STRCOLL): Use GNU style definition. Simplify implementation
19486 by using get_next_seq, get_next_seq_cached and do_compare.
19487
91ce4085
FW
194882013-08-16 Florian Weimer <fweimer@redhat.com>
19489
19490 [BZ #14699]
19491 CVE-2013-4237
19492 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
19493 member.
19494 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
19495 member.
19496 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
19497 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
19498 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
19499 conditional.
19500 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
19501 GETDENTS_64BIT_ALIGNED.
19502 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
19503 * manual/filesys.texi (Reading/Closing Directory): Document
19504 ENAMETOOLONG return value of readdir_r. Recommend readdir more
19505 strongly.
19506 * manual/conf.texi (Limits for Files): Add portability note to
19507 NAME_MAX, PATH_MAX.
19508 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
19509
ca0a6bc4
AS
195102013-08-13 Andreas Schwab <schwab@suse.de>
19511
19512 [BZ #15749]
19513 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
19514 of fabs.
19515 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
19516 LDBL_MAX_EXP >= 16384]: Add tests for it.
19517
6c1fd795
DM
195182013-08-12 David S. Miller <davem@davemloft.net>
19519
19520 * version.h (RELEASE): Set to "development".
19521 (VERSION): Set to "2.18.90".
19522 * NEWS: Add 2.19 section.
19523
31ad488d
DM
195242013-08-03 David S. Miller <davem@davemloft.net>
19525
19526 * po/ko.po: Update Korean translation from translation project.
19527
db24e684
DM
195282013-08-01 David S. Miller <davem@davemloft.net>
19529
19530 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
19531 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
19532 Bilka.
19533
f723285b
DM
195342013-07-30 David S. Miller <davem@davemloft.net>
19535
19536 * po/fr.po: Update French translation from translation project.
19537
3cbc52db
DM
195382013-07-28 David S. Miller <davem@davemloft.net>
19539
30bbc0cc
DM
19540 * po/cs.po: Update Czech translation from translation project.
19541
3cbc52db
DM
19542 * po/sv.po: Update Swedish translation from translation project.
19543
d492e6d0
DM
195442013-07-27 David S. Miller <davem@davemloft.net>
19545
f1a7f492
DM
19546 * po/eo.po: Update Esperanto translation from translation project.
19547
90e62a4a
DM
19548 * po/vi.po: Update Vietnamese translation from translation project.
19549
d492e6d0
DM
19550 * po/de.po: Update German translation from translation project.
19551
d4baa62d
DM
195522013-07-26 David S. Miller <davem@davemloft.net>
19553
641aa7b4
DM
19554 * po/bg.po: Update Bulgarian translation from translation project.
19555
d4baa62d
DM
19556 * po/nl.po: Update Dutch translation from translation project.
19557 * po/pl.po: Update Polish translation from translation project.
19558 * po/ru.po: Update Russian translation from translation project.
19559
61a9dcb9
DM
195602013-07-24 David S. Miller <davem@davemloft.net>
19561
19562 * po/libc.pot: Update.
19563
7b1f8b58
AZ
195642013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19565
19566 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
19567 variable page size.
19568 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
19569 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
19570 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
19571
a8fc7a03
AK
195722013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19573
19574 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
19575
e4608715
CD
195762013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
19577 Andreas Schwab <schwab@suse.de>
19578 Roland McGrath <roland@hack.frob.com>
19579 Joseph Myers <joseph@codesourcery.com>
19580 Carlos O'Donell <carlos@redhat.com>
19581
19582 [BZ #15755]
19583 * config.h.in: Define HAVE_PT_CHOWN.
19584 * config.make.in (build-pt-chown): New variable.
19585 * configure.in (--enable-pt_chown): New configure option.
19586 * configure: Regenerate.
19587 * login/Makefile: Include Makeconfig. Build pt_chown only if
19588 build-pt-chown is enabled.
19589 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
19590 pt_chown to fix pty ownership.
19591 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
19592 CLOSE_ALL_FDS.
19593 * manual/install.texi (Configuring and compiling): Mention
19594 --enable-pt_chown. Add @findex for grantpt.
19595 * INSTALL: Regenerate.
19596
da2d62df
DM
195972013-07-20 David S. Miller <davem@davemloft.net>
19598
19599 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
19600 difference between 32-bit and 64-bit.
19601
d7e06450
CD
196022013-07-15 Carlos O'Donell <carlos@redhat.com>
19603
19604 [BZ #15711]
19605 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
19606 Avoid system header dependency with -ffreestanding.
19607 ($(objpfx)bits/syscall%d): Likewise.
19608
f959cfd7
DM
196092013-07-13 David S. Miller <davem@davemloft.net>
19610
19611 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
19612 underflows from atanl/atan2l due to bug 15319.
19613 (casinh_test_data): Likewise.
19614
c61f8513
DM
196152013-07-07 David S. Miller <davem@davemloft.net>
19616
19617 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
19618
72c90ed0
JA
196192013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
19620
19621 * sysdeps/i386/fpu/libm-test-ulps: Update.
19622 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19623
52dfbe13
SP
196242013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
19625
19626 * configure.in (--enable-lock-elision): Fix message text.
19627 * INSTALL: Regenerate.
19628 * configure: Regenerate.
19629
3f169543
AZ
196302013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19631
19632 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19633
521c6785
AJ
196342013-07-03 Andreas Jaeger <aj@suse.de>
19635
19636 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
19637 define.
19638 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
19639 (ptrace_peeksiginfo_args): Add.
19640 (__ptrace_peeksiginfo_flags): Add.
19641 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
19642 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
19643 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
19644
d2cc15cb
AM
196452013-07-03 Allan McRae <allan@archlinux.org>
19646
19647 * sysdeps/i386/fpu/libm-test-ulps: Update.
19648
3aaeeca7
DM
196492013-07-02 David S. Miller <davem@davemloft.net>
19650
19651 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19652
5314ed1a
MT
196532013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
19654
19655 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19656
67338156
JM
196572013-07-02 Joseph Myers <joseph@codesourcery.com>
19658
19659 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
19660 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19661
1717da59
AK
196622013-07-02 Andi Kleen <ak@linux.intel.com>
19663
19664 * config.h.in (ENABLE_LOCK_ELISION): Add.
19665 * configure.in (--enable-lock-elision): Add option.
19666 * manual/install.texi: Document --enable lock elision.
19667 * configure: Regenerate
19668 * INSTALL: Regenerate.
19669
1c81621c
L
196702013-07-02 H.J. Lu <hongjiu.lu@intel.com>
19671
19672 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
19673 SSE4.2 strcasecmp for libc.a.
19674 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
19675
77f01ab5
JM
196762013-07-02 Joseph Myers <joseph@codesourcery.com>
19677
19678 [BZ #13304]
19679 * soft-fp/op-common.h (_FP_FMA): New macro.
19680 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
19681 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
19682 (_FP_MUL_MEAT_1_imm): ... here.
19683 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
19684 (_FP_MUL_MEAT_1_wide): ... here.
19685 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
19686 (_FP_MUL_MEAT_1_hard): ... here.
19687 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
19688 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
19689 (_FP_MUL_MEAT_2_wide): ... here.
19690 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
19691 (_FP_MUL_MEAT_2_wide_3mul): ... here.
19692 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
19693 (_FP_MUL_MEAT_2_gmp): ... here.
19694 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
19695 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
19696 (_FP_MUL_MEAT_4_wide): ... here.
19697 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
19698 (_FP_MUL_MEAT_4_gmp): ... here.
19699 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
19700 (_FP_WFRACBITS_DW_S): Likewise.
19701 (_FP_WFRACXBITS_DW_S): Likewise.
19702 (_FP_HIGHBIT_DW_S): Likewise.
19703 (FP_FMA_S): Likewise.
19704 (_FP_FRAC_HIGH_DW_S): Likewise.
19705 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
19706 (_FP_WFRACBITS_DW_D): Likewise.
19707 (_FP_WFRACXBITS_DW_D): Likewise.
19708 (_FP_HIGHBIT_DW_D): Likewise.
19709 (FP_FMA_D): Likewise.
19710 (_FP_FRAC_HIGH_DW_D): Likewise.
19711 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
19712 (_FP_WFRACBITS_DW_E): Likewise.
19713 (_FP_WFRACXBITS_DW_E): Likewise.
19714 (_FP_HIGHBIT_DW_E): Likewise.
19715 (FP_FMA_E): Likewise.
19716 (_FP_FRAC_HIGH_DW_E): Likewise.
19717 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
19718 (_FP_WFRACBITS_DW_Q): Likewise.
19719 (_FP_WFRACXBITS_DW_Q): Likewise.
19720 (_FP_HIGHBIT_DW_Q): Likewise.
19721 (FP_FMA_Q): Likewise.
19722 (_FP_FRAC_HIGH_DW_Q): Likewise.
19723 * soft-fp/fmasf4.c: New file.
19724 * soft-fp/fmadf4.c: Likewise.
19725 * soft-fp/fmatf4.c: Likewise.
19726
6308fd9a
LD
197272013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
19728
19729 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
19730 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
19731 Silvermont.
19732 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
19733 macro.
19734 (index_Slow_SSE4_2): Likewise.
19735 (index_Prefer_PMINUB_for_stringop): Likewise.
19736 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
19737 bit_Slow_SSE4_2 is set.
19738 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
19739 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
19740
89cd9569
RA
197412013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
19742
19743 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
19744 rtld_global._dl_hwcap2.
19745 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
19746 POWER8.
19747 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
19748 POWER8 feature descriptions defined in _dl_hwcap2.
19749 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
19750 string handling for POWER8 feature bits.
19751 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
19752 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
19753 _dl_powerpc_cap_flags.
19754 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
19755 * sysdeps/powerpc/rtld-global-offsets.sym
19756 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
19757 _dl_hwcap2 in the rtld_global_ro structure.
19758
1ae8bfe0
RA
197592013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
19760
19761 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
19762 hardware capabilities in support of AT_HWCAP2.
19763 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
19764 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
19765 GLRO(dl_hwcap2).
19766 (_dl_show_auxv): Add support for calling _dl_procinfo to display
19767 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
19768 explicitly the unknown a_type display mechanism is used.
19769 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
19770 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
19771 struct member.
19772 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
19773 to macro prototype for AT_HWCAP2 support.
19774 * sysdeps/i386/dl-procinfo.h: Likewise.
19775 * sysdeps/s390/dl-procinfo.h: Likewise.
19776 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
19777 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
19778 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
19779 return -1 for unknown a_type display fallback.
19780 * sysdeps/sparc/dl-procinfo.h: Likewise.
19781 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
19782 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
19783
8fbec010
JM
197842013-06-28 Joseph Myers <joseph@codesourcery.com>
19785
19786 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
19787 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
19788
0432680e
PY
197892013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
19790
19791 [BZ #12492]
19792 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
19793 mprotect making __stack_prot writable.
19794
ce61a2ad
NF
197952013-06-28 Nathan Froyd <froydnj@codesourcery.com>
19796 Joseph Myers <joseph@codesourcery.com>
19797
19798 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
19799 as being properly aligned.
19800
f91f1c0f
MR
198012013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
19802
3d0f5d0c
MR
19803 * dlfcn/modstatic5.c: New file.
19804 * dlfcn/tststatic5.c: New file.
19805 * dlfcn/Makefile (tests): Add tststatic5.
19806 (tests-static): Likewise.
19807 (modules-names): Add modstatic5.
19808 (tststatic5-ENV): New variable.
19809 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
19810
f91f1c0f
MR
19811 [BZ #15022]
19812 * elf/dl-support.c (_dl_main_map): New variable.
19813 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
19814 (_dl_nns, _dl_load_adds): Set to 1.
19815 (_dl_initial_searchlist): Refer to _dl_main_map.
19816 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
19817 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
19818 call to _dl_get_origin.
19819 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
19820 around call_map.
19821 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
19822 * dlfcn/modstatic3.c: New file.
19823 * dlfcn/tststatic3.c: New file.
19824 * dlfcn/tststatic4.c: New file.
19825 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
19826 (tests-static): Likewise.
19827 (modules-names): Add modstatic3.
19828 (tststatic3-ENV, tststatic4-ENV): New variables.
19829 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
19830 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
19831
cbe7d24b
JM
198322013-06-26 Joseph Myers <joseph@codesourcery.com>
19833
19834 * configure.in (CC): Require GCC version 4.4 or later.
19835 * configure: Regenerated.
19836 * manual/install.texi (Tools for Compilation): Update GCC version
19837 requirement.
19838 * INSTALL: Regenerated.
19839
11b8a0e1
LD
198402013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
19841
19842 [BZ #15674]
bb5bb87c
L
19843 * string/test-memcmp.c (check2): New.
19844 (main): Call check2.
19845
11b8a0e1
LD
19846 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
19847
b0037103
MR
198482013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
19849
19850 [BZ #15022]
19851 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
19852 over to...
19853 (dl_open_worker) [!SHARED]: ... here.
19854
c18c701d
RA
198552013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
19856
19857 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
19858
1d17fa5f
RH
198592013-06-25 Richard Henderson <rth@redhat.com>
19860
19861 * locale/programs/locarchive.c: Include <libc-internal.h>
19862
8fcb833a
JM
198632013-06-25 Joseph Myers <joseph@codesourcery.com>
19864
19865 * manual/texinfo.tex: Update to version 2013-06-21.17, with
19866 trailing whitespace removed.
19867
17db6e8d
MF
198682013-06-24 Mike Frysinger <vapier@gentoo.org>
19869
19870 [BZ #10283]
17db6e8d
MF
19871 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
19872 * locale/programs/locarchive.c: Include libc-mmap.h.
19873 (prepare_address_space): Take two new outputs (the mmap base and len).
19874 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
19875 values.
19876 (create_archive): Declare new mmap base and len values for
19877 prepare_address_space, and store the result in ah.
19878 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
19879 (enlarge_archive): If ah->mmap_base is not NULL, use that and
19880 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
19881 Declare new mmap base and len values for
19882 prepare_address_space, and store the result in new_ah.
19883 (open_archive): Declare new mmap base and len values for
19884 prepare_address_space, and store the result in ah.
19885 (close_archive): If ah->mmap_base is not NULL, use that and
19886 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
19887 * sysdeps/generic/libc-mmap.h: New file.
19888
d605071e
MF
198892013-06-24 Mike Frysinger <vapier@gentoo.org>
19890
19891 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
19892 (ALIGN_UP): Likewise.
19893 (PTR_ALIGN_DOWN): Likewise.
19894 (PTR_ALIGN_UP): Likewise.
19895
2f063a6e
RA
198962013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
19897
19898 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
19899 entry mapped to PPC_PLATFORM_POWER8.
19900 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
19901 POWER8.
19902 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
19903 (_dl_string_platform): Add case for exporting platform position for
19904 POWER8.
19905 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
19906 search path to sysdeps/powerpc/powerpc32/power8 directory.
19907 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
19908 search path to sysdeps/powerpc/powerpc64/power8 directory.
19909 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
19910 power7 directories.
19911 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
19912 power7 directories.
19913
a31ee4b3
SP
199142013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
19915
a74ca98f
SP
19916 * INSTALL: Regenerate.
19917
a31ee4b3
SP
19918 * nscd/connections.c (nscd_init): Fix comment.
19919
695c378f
JM
199202013-06-22 Joseph Myers <joseph@codesourcery.com>
19921
d8412221
JM
19922 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
19923
695c378f
JM
19924 [BZ #15667]
19925 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
19926 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
19927
d1d54715
MR
199282013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
19929
19930 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
19931 DL_DST_REQ_STATIC.
19932 (DL_DST_REQ_STATIC): Remove macro.
19933
8fdda7af
JM
199342013-06-21 Joseph Myers <joseph@codesourcery.com>
19935
19936 [BZ #7006]
19937 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
19938 with a shift of 0 bits.
19939
f3bc5e5a
MR
199402013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
19941
19942 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
19943 $(tststatic-ENV).
19944
be09e8c9
KK
199452013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
19946
19947 [BZ #15655]
19948 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
19949
85c2e611
AZ
199502013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19951
19952 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
19953 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
19954 accepts -fno-tree-loop-distribute-patterns.
19955 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
19956 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
19957 recursive call.
19958 * string/memset.c (memset): Likewise.
19959 * string/test-memmove.c (simple_memmove): Disable loop transformation
19960 to library calls.
19961 * string/test-memset.c (simple_memset): Likewise.
19962 * benchtests/bench-memmove.c (simple_memmove): Likewise.
19963 * benchtests/bench-memset.c (simple_memset): Likewise.
19964 * configure: Regenerated.
19965
c91e0825
JM
199662013-06-20 Joseph Myers <joseph@codesourcery.com>
19967
b8c792af
JM
19968 * math/test-misc.c (main): Ignore fesetround failure when failures
19969 of subsequent rounding tests would be ignored.
19970
c91e0825
JM
19971 [BZ #15654]
19972 * math/fedisblxcpt.c (fedisableexcept): Return 0.
19973 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
19974 * math/fegetenv.c (__fegetenv): Return 0.
19975 * math/fegetexcept.c (fegetexcept): Return 0.
19976 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
19977 FE_TONEAREST.
19978 * math/feholdexcpt.c (feholdexcept): Return 0.
19979 * math/fesetenv.c (__fesetenv): Return 0.
19980 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
19981 argument FE_TONEAREST.
19982 * math/feupdateenv.c (__feupdateenv): Return 0.
19983 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
19984
bfcacbde
RM
199852013-06-18 Roland McGrath <roland@hack.frob.com>
19986
19987 * elf/rtld-Rules (rtld-compile-command.S): New variable.
19988 (rtld-compile-command.s, rtld-compile-command.c): New variables.
19989 ($(objpfx)rtld-%.os rules): Use them.
19990
e55a9b25
AZ
199912013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19992
19993 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
19994 fields.
19995
346d65b3
RM
199962013-06-17 Roland McGrath <roland@hack.frob.com>
19997
12086fb4
RM
19998 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
19999 length of target pattern, then descending length of dependency pattern.
20000 * configure.in (AWK): Require gawk 3.1.2 or newer.
20001 * manual/install.texi (Tools for Compilation): Say that we do.
20002 * configure: Regenerated.
20003
346d65b3
RM
20004 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
20005 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
20006 * scripts/sysd-rules.awk: ... this new script.
20007 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
20008 than a glob-style pattern.
20009
1a846317
JM
200102013-06-17 Joseph Myers <joseph@codesourcery.com>
20011
20012 * math/test-misc.c (main): Do not treat incorrectly rounded
20013 conversions as failure unless ROUNDING_TESTS passes.
20014
8fc75e6f
JM
200152013-06-15 Joseph Myers <joseph@codesourcery.com>
20016
3711a167
JM
20017 [BZ #15631]
20018 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
20019 restore exception state around main square root computation, then
20020 check for inexactness explicitly.
20021
8fc75e6f
JM
20022 * math/libm-test.inc (fma_test_data): Add another test.
20023
61dd6208
SP
200242013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
20025
adf23d2c
SP
20026 * manual/threads.texi (Non-POSIX Extensions): New document
20027 node. Document pthread_getattr_default_np and
20028 pthread_setattr_default_np.
20029
61dd6208
SP
20030 * Versions.def (libpthread): Add GLIBC_2.18.
20031 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
20032 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
20033 Likewise.
20034 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
20035 Likewise.
20036 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
20037 Likewise.
20038 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
20039 Likewise.
20040 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
20041 Likewise.
20042 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
20043 Likewise.
20044 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
20045 Likewise.
20046 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
20047 Likewise.
20048 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
20049 Likewise.
20050
d086fc7b
LD
200512013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
20052
20053 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
20054 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
20055
747ef469
SP
200562013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
20057 H.J. Lu <hjl.tools@gmail.com>
20058
20059 [BZ #15627]
20060 * sysdeps/x86_64/rtld-memset.c: Remove file.
20061 * sysdeps/x86_64/rtld-memset.S: New file.
20062
1b2feed2
JM
200632013-06-14 Joseph Myers <joseph@codesourcery.com>
20064
20065 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
20066 (test_in_one_mode): Take arguments for whether the rounding mode
20067 is supported for each floating-point type.
20068 (do_test): Pass new arguments to test_in_one_mode using
20069 ROUNDING_TESTS.
20070
a58ad3f8
RM
200712013-06-13 Roland McGrath <roland@hack.frob.com>
20072
20073 * posix/tst-waitid.c (do_test): Distinguish different instances of
20074 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
20075 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
20076 before entering the kernel for waitpid.
20077
c204ab28
SP
200782013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
20079
20080 * NEWS: Fix note on clock function precision. Text by Roland
20081 McGrath.
20082
f4a29fba
RM
200832013-06-13 Roland McGrath <roland@hack.frob.com>
20084
20085 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
20086 it into place only when and if the sanity check passes.
20087
1f24b9ad
JM
200882013-06-13 Joseph Myers <joseph@codesourcery.com>
20089
20090 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
20091 output for whether conversion result is exact. Take argument
20092 indicating whether type is IBM long double.
20093 (round_for_all): Change need_exact field to ibm_ld.
20094 * stdlib/tst-strtod-round.c (struct exactness): New type.
20095 (struct test): Change bool ld_ok field to struct exactness exact.
20096 (TEST): Update all definitions for change to field.
20097 (tests): Regenerate array contents.
20098 (test_in_one_mode): Take pointer to new field instead of old ld_ok
20099 field value. Check for IBM long double here.
20100 (do_test): Update calls to test_in_one_mode.
20101
58206c68
SP
201022013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
20103
20104 [BZ #12515]
20105 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
20106 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
20107
2d6f4c5b 201082013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6a97b62a
AZ
20109
20110 [BZ #15605]
20111 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
20112 generated by the compiler on loop optimizations.
20113 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
20114 general definitions.
20115
94f2c076
JM
201162013-06-12 Joseph Myers <joseph@codesourcery.com>
20117
20118 * math/bug-nextafter.c: Include <math-tests.h>.
20119 (main): Only test for exceptions if EXCEPTION_TESTS is true for
20120 the relevant type.
20121 * math/bug-nexttoward.c: Include <math-tests.h>.
20122 (main): Only test for exceptions if EXCEPTION_TESTS is true for
20123 the relevant type.
20124 * math/test-misc.c: Include <math-tests.h>.
20125 (main): Only test for exceptions if EXCEPTION_TESTS is true for
20126 the relevant type.
20127
e0e50a0a
AJ
201282013-06-12 Andreas Jaeger <aj@suse.de>
20129
20130 * po/ia.po: Update Interlingua translation from translation
20131 project.
20132
25061094
SP
201332013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
20134
20135 * include/fenv.h: Include stdbool.h.
20136 (struct rm_ctx): New structure.
20137 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
20138 Define macro.
20139 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
20140 (SET_RESTORE_ROUNDF): Likewise.
20141 (SET_RESTORE_ROUNDL): Likewise.
20142 (SET_RESTORE_ROUND_NOEX): Likewise.
20143 (SET_RESTORE_ROUND_NOEXF): Likewise.
20144 (SET_RESTORE_ROUND_NOEXL): Likewise.
20145 (SET_RESTORE_ROUND_53BIT): Likewise.
20146 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
20147 (libc_feresetround_noexf_ctx): Likewise.
20148 (libc_feresetround_noexl_ctx): Likewise.
20149 (libc_feholdsetround_53bit_ctx): Likewise.
20150 (libc_feresetround_53bit_ctx): Likewise.
20151 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
20152 (libc_feholdexcept_setround_sse_ctx): New function.
20153 (libc_fesetenv_sse_ctx): Likewise.
20154 (libc_feupdateenv_sse_ctx): Likewise.
20155 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
20156 (libc_feholdexcept_setround_387_ctx): Likewise.
20157 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
20158 (libc_feholdsetround_387_prec_ctx): Likewise.
20159 (libc_feholdsetround_387_ctx): Likewise.
20160 (libc_feholdsetround_387_53bit_ctx): Likewise.
20161 (libc_feholdsetround_sse_ctx): Likewise.
20162 (libc_feresetround_sse_ctx): Likewise.
20163 (libc_feresetround_387_ctx): Likewise.
20164 (libc_feupdateenv_387_ctx): Likewise.
20165 (libc_feholdexcept_setroundf_ctx): Define macro.
20166 (libc_fesetenvf_ctx): Likewise.
20167 (libc_feupdateenvf_ctx): Likewise.
20168 (libc_feholdsetroundf_ctx): Likewise.
20169 (libc_feresetroundf_ctx): Likewise.
20170 (libc_feholdexcept_setround_ctx): Likewise.
20171 (libc_fesetenv_ctx): Likewise.
20172 (libc_feupdateenv_ctx): Likewise.
20173 (libc_feholdsetround_ctx): Likewise.
20174 (libc_feresetround_ctx): Likewise.
20175 (libc_feholdexcept_setroundl_ctx): Likewise.
20176 (libc_feupdateenvl_ctx): Likewise.
20177 (libc_feholdsetroundl_ctx): Likewise.
20178 (libc_feresetroundl_ctx): Likewise.
20179 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
20180 (libc_feresetround_53bit_ctx): Likewise.
20181
59b30555
SP
201822013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
20183
20184 * locale/iso-639.def: Convert to UTF-8.
20185
f1d73d30
JM
201862013-06-11 Joseph Myers <joseph@codesourcery.com>
20187
20188 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
20189 (EXCEPTION_TESTS_double): Likewise.
20190 (EXCEPTION_TESTS_long_double): Likewise.
20191 (EXCEPTION_TESTS): Likewise.
20192 * math/libm-test.inc (test_exceptions): Only test exceptions if
20193 EXCEPTION_TESTS (FLOAT).
20194
94aca5e7
SP
201952013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
20196
20197 * benchtests/Makefile (string-bench): Add strcpy_chk and
20198 stpcpy_chk.
20199 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
20200 * benchtests/bench-stpcpy_chk.c: New file.
20201 * benchtests/bench-strcpy_chk-ifunc.c: New file.
20202 * benchtests/bench-strcpy_chk.c: New file.
20203 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
20204 code.
20205 (do_test): Likewise.
20206
fac0c5f2
RA
202072013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
20208
20209 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
20210 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
20211 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
20212 with tabs where appropriate.
20213 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
20214 dl-procinfo.h.
20215 [PPC_PLATFORM_PPC440]: Likewise.
20216 [PPC_PLATFORM_PPC464]: Likewise.
20217 [PPC_PLATFORM_PPC476]: Likewise.
20218 (_dl_string_platform): Add support for detecting ppc405, ppc440,
20219 ppc464, and ppc476 platform strings merging from ports/
20220 dl-procinfo.h.
20221
f22bc486
AS
202222013-06-11 Andreas Schwab <schwab@suse.de>
20223
20224 [BZ #14991]
20225 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
20226 (from_ucs4_idx): Regenerate.
20227 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
20228 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
20229 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
20230 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
20231 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
20232 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
20233 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
20234 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
20235 from FROM_LOOP and TO_LOOP specific macros.
20236 (BODY): Handle combining characters.
20237 * iconvdata/BIG5HKSCS.irreversible: Update.
20238 * iconvdata/BIG5HKSCS.precomposed: New file.
20239 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
20240 characters.
20241 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
20242
c1f75dc3
SP
202432013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
20244
4eacded2
SP
20245 * include/sys/time.h: Fix indentation and add copyright header.
20246
fec799f8
SP
20247 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
20248 (do_test): Likewise.
20249 * string/test-memchr.c (do_one_test): Likewise.
20250 (do_test): Likewise.
20251 * string/test-memcmp.c (do_one_test): Likewise.
20252 (do_test): Likewise.
20253 * string/test-memcpy.c (do_one_test): Likewise.
20254 (do_test): Likewise.
20255 * string/test-memmem.c (do_one_test): Likewise.
20256 (do_test): Likewise.
20257 (do_random_tests): Likewise.
20258 * string/test-memmove.c (do_one_test): Likewise.
20259 (do_test): Likewise.
20260 * string/test-memset.c (do_one_test): Likewise.
20261 (do_test): Likewise.
20262 * string/test-rawmemchr.c (do_one_test): Likewise.
20263 (do_test): Likewise.
20264 * string/test-strcasecmp.c (do_one_test): Likewise.
20265 (do_test): Likewise.
20266 * string/test-strcasestr.c (do_one_test): Likewise.
20267 (do_test): Likewise.
20268 * string/test-strcat.c (do_one_test): Likewise.
20269 (do_test): Likewise.
20270 * string/test-strchr.c (do_one_test): Likewise.
20271 (do_test): Likewise.
20272 * string/test-strcmp.c (do_one_test): Likewise.
20273 (do_test): Likewise.
20274 * string/test-strcpy.c (do_one_test): Likewise.
20275 (do_test): Likewise.
20276 * string/test-string.h: Likewise.
20277 (test_init): Likewise.
20278 * string/test-strlen.c (do_one_test): Likewise.
20279 (do_test): Likewise.
20280 * string/test-strncasecmp.c (do_one_test): Likewise.
20281 (do_test): Likewise.
20282 * string/test-strncat.c (do_one_test): Likewise.
20283 (do_test): Likewise.
20284 * string/test-strncmp.c (do_one_test): Likewise.
20285 (do_test_limit): Likewise.
20286 (do_test): Likewise.
20287 * string/test-strncpy.c (do_one_test): Likewise.
20288 (do_test): Likewise.
20289 * string/test-strnlen.c (do_one_test): Likewise.
20290 (do_test): Likewise.
20291 * string/test-strpbrk.c (do_one_test): Likewise.
20292 (do_test): Likewise.
20293 * string/test-strrchr.c (do_one_test): Likewise.
20294 (do_test): Likewise.
20295 * string/test-strspn.c (do_one_test): Likewise.
20296 (do_test): Likewise.
20297 * string/test-strstr.c (do_one_test): Likewise.
20298 (do_test): Likewise.
20299
97020474
SP
20300 * benchtests/Makefile (string-bench): Add string benchmarks.
20301 * benchtests/bench-bcopy-ifunc.c: New file.
20302 * benchtests/bench-bcopy.c: New file.
20303 * benchtests/bench-bzero-ifunc.c: New file.
20304 * benchtests/bench-bzero.c: New file.
20305 * benchtests/bench-memccpy-ifunc.c: New file.
20306 * benchtests/bench-memccpy.c: New file.
20307 * benchtests/bench-memchr-ifunc.c: New file.
20308 * benchtests/bench-memchr.c: New file.
20309 * benchtests/bench-memcmp-ifunc.c: New file.
20310 * benchtests/bench-memcmp.c: New file.
20311 * benchtests/bench-memmem-ifunc.c: New file.
20312 * benchtests/bench-memmem.c: New file.
20313 * benchtests/bench-memmove-ifunc.c: New file.
20314 * benchtests/bench-memmove.c: New file.
20315 * benchtests/bench-mempcpy-ifunc.c: New file.
20316 * benchtests/bench-mempcpy.c: New file.
20317 * benchtests/bench-memset-ifunc.c: New file.
20318 * benchtests/bench-memset.c: New file.
20319 * benchtests/bench-rawmemchr-ifunc.c: New file.
20320 * benchtests/bench-rawmemchr.c: New file.
20321 * benchtests/bench-stpcpy-ifunc.c: New file.
20322 * benchtests/bench-stpcpy.c: New file.
20323 * benchtests/bench-stpncpy-ifunc.c: New file.
20324 * benchtests/bench-stpncpy.c: New file.
20325 * benchtests/bench-strcasecmp-ifunc.c: New file.
20326 * benchtests/bench-strcasecmp.c: New file.
20327 * benchtests/bench-strcasestr-ifunc.c: New file.
20328 * benchtests/bench-strcasestr.c: New file.
20329 * benchtests/bench-strcat-ifunc.c: New file.
20330 * benchtests/bench-strcat.c: New file.
20331 * benchtests/bench-strchr-ifunc.c: New file.
20332 * benchtests/bench-strchr.c: New file.
20333 * benchtests/bench-strchrnul-ifunc.c: New file.
20334 * benchtests/bench-strchrnul.c: New file.
20335 * benchtests/bench-strcmp-ifunc.c: New file.
20336 * benchtests/bench-strcmp.c: New file.
20337 * benchtests/bench-strcpy-ifunc.c: New file.
20338 * benchtests/bench-strcpy.c: New file.
20339 * benchtests/bench-strcspn-ifunc.c: New file.
20340 * benchtests/bench-strcspn.c: New file.
20341 * benchtests/bench-strlen-ifunc.c: New file.
20342 * benchtests/bench-strlen.c: New file.
20343 * benchtests/bench-strncasecmp-ifunc.c: New file.
20344 * benchtests/bench-strncasecmp.c: New file.
20345 * benchtests/bench-strncat-ifunc.c: New file.
20346 * benchtests/bench-strncat.c: New file.
20347 * benchtests/bench-strncmp-ifunc.c: New file.
20348 * benchtests/bench-strncmp.c: New file.
20349 * benchtests/bench-strncpy-ifunc.c: New file.
20350 * benchtests/bench-strncpy.c: New file.
20351 * benchtests/bench-strnlen-ifunc.c: New file.
20352 * benchtests/bench-strnlen.c: New file.
20353 * benchtests/bench-strpbrk-ifunc.c: New file.
20354 * benchtests/bench-strpbrk.c: New file.
20355 * benchtests/bench-strrchr-ifunc.c: New file.
20356 * benchtests/bench-strrchr.c: New file.
20357 * benchtests/bench-strspn-ifunc.c: New file.
20358 * benchtests/bench-strspn.c: New file.
20359 * benchtests/bench-strstr-ifunc.c: New file.
20360 * benchtests/bench-strstr.c: New file.
20361
c1f75dc3
SP
20362 * benchtests/Makefile: Disable parallel execution of targets.
20363 (string-bench): Add memcpy.
20364 (benchset): New variable to store a list of benchmark sets.
20365 (bench-func): Renamed from bench.
20366 (bench-set): New target.
20367 (bench): Depend on bench-func and bench-set.
20368 * benchtests/README: Add section on benchmark sets.
20369 * benchtests/bench-memcpy-ifunc.c: New file.
20370 * benchtests/bench-memcpy.c: New file.
20371 * benchtests/bench-string.h: New file.
20372
50fd745b
AS
203732013-06-11 Andreas Schwab <schwab@suse.de>
20374
20375 [BZ #15577]
20376 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
20377 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
20378 values in the triple.
20379 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
20380 terminator in the group key.
20381
3ee7e9fe
AJ
203822013-06-11 Andreas Jaeger <aj@suse.de>
20383
20384 * po/zh_TW.po: Update Chinese (traditional) translation from
20385 translation project.
20386
89fb6835
SP
203872013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
20388
20389 * include/time.h (__clock_gettime): Add libc_hidden_proto.
20390 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
20391 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
20392 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
20393 (clock_getcpuclockid): Likewise.
20394 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
20395 Add weak_alias and libc_hidden_def.
20396 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
20397 * rt/clock_gettime.c (clock_gettime): Rename to
20398 __clock_gettime. Add weak_alias and libc_hidden_def.
20399 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
20400 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
20401 __clock_nanosleep. Add weak_alias and libc_hidden_def.
20402 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
20403 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
20404 Likewise.
20405 * rt/clock_settime.c (clock_settime): Rename to
20406 __clock_settime. Add weak_alias and libc_hidden_def.
20407 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
20408
0efa6f8b
JM
204092013-06-10 Joseph Myers <joseph@codesourcery.com>
20410
b8c61b4b
JM
20411 * mach/err_boot.sub: Remove trailing whitespace.
20412 * mach/err_ipc.sub: Likewise.
20413 * mach/err_mach.sub: Likewise.
20414
0efa6f8b
JM
20415 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
20416 (ROUNDING_TESTS_double): Likewise.
20417 (ROUNDING_TESTS_long_double): Likewise.
20418 (ROUNDING_TESTS): Likewise.
20419 * math/libm-test.inc: Include <math-tests.h>.
20420 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
20421 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
20422 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
20423 (IF_ROUND_INIT_FE_UPWARD): Likewise.
20424
50b818bf
SP
204252013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
20426
20427 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
20428 of assigning.
20429
60d2f8f3
JM
204302013-06-08 Joseph Myers <joseph@codesourcery.com>
20431
4902d2c3
JM
20432 * sysdeps/gnu/errlist.awk: Do not generate space at end of
20433 otherwise empty TRANS lines.
20434 * sysdeps/gnu/errlist.c: Regenerated.
20435
60d2f8f3
JM
20436 * catgets/gencat.c (error_print): Use (void) in function
20437 definition.
20438 * crypt/crypt_util.c (__init_des): Likewise.
20439 * crypt/speeds.c (Stop): Likewise.
20440 (main): Likewise.
20441 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
20442 * inet/ruserpass.c (token): Likewise.
20443 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
20444 * intl/localealias.c (extend_alias_table): Likewise.
20445 * intl/plural-exp.c (init_germanic_plural): Likewise.
20446 * libio/fcloseall.c (__fcloseall): Likewise.
20447 * libio/genops.c (_IO_flush_all): Likewise.
20448 (_IO_flush_all_linebuffered): Likewise.
20449 (_IO_cleanup): Likewise.
20450 (_IO_iter_begin): Likewise.
20451 (_IO_iter_end): Likewise.
20452 (_IO_list_lock): Likewise.
20453 (_IO_list_unlock): Likewise.
20454 (_IO_list_resetlock): Likewise.
20455 * libio/getchar.c (getchar): Likewise.
20456 * libio/getchar_u.c (getchar_unlocked): Likewise.
20457 * libio/getwchar.c (getwchar): Likewise.
20458 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
20459 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
20460 * login/getpt.c (__getpt): Likewise.
20461 * login/tst-utmp.c (main): Likewise.
20462 * malloc/hooks.c (__malloc_check_init): Likewise.
20463 * malloc/malloc.c (__malloc_stats): Likewise.
20464 * malloc/mtrace.c (tr_break): Likewise.
20465 (mtrace): Likewise.
20466 (muntrace): Likewise.
20467 * misc/fstab.c (endfsent): Likewise.
20468 * misc/getclktck.c (__getclktck): Likewise.
20469 * misc/getdtsz.c (__getdtablesize): Likewise.
20470 * misc/gethostid.c (gethostid): Likewise.
20471 * misc/getpagesize.c (__getpagesize): Likewise.
20472 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
20473 (__get_nprocs): Likewise.
20474 (__get_phys_pages): Likewise.
20475 (__get_avphys_pages): Likewise.
20476 * misc/getttyent.c (getttyent): Likewise.
20477 (setttyent): Likewise.
20478 (endttyent): Likewise.
20479 * misc/getusershell.c (getusershell): Likewise.
20480 (endusershell): Likewise.
20481 (setusershell): Likewise.
20482 (initshells): Likewise.
20483 * misc/hsearch.c (__hdestroy): Likewise.
20484 * misc/sync.c (sync): Likewise.
20485 * misc/syslog.c (closelog_internal): Likewise.
20486 (closelog): Likewise.
20487 * misc/ttyslot.c (ttyslot): Likewise.
20488 * misc/vhangup.c (vhangup): Likewise.
20489 * posix/fork.c (__fork): Likewise.
20490 * posix/getegid.c (__getegid): Likewise.
20491 * posix/geteuid.c (__geteuid): Likewise.
20492 * posix/getgid.c (__getgid): Likewise.
20493 * posix/getpid.c (__getpid): Likewise.
20494 * posix/getppid.c (__getppid): Likewise.
20495 * posix/getuid.c (__getuid): Likewise.
20496 * posix/pause.c (pause): Likewise.
20497 * posix/setpgrp.c (setpgrp): Likewise.
20498 * posix/setsid.c (__setsid): Likewise.
20499 * posix/test-vfork.c (noop): Likewise.
20500 * resolv/gethnamaddr.c (_endhtent): Likewise.
20501 (_gethtent): Likewise.
20502 (ht_endhostent): Likewise.
20503 (gethostent): Likewise.
20504 (dns_service): Likewise.
20505 * stdlib/drand48.c (drand48): Likewise.
20506 * stdlib/lrand48.c (lrand48): Likewise.
20507 * stdlib/mrand48.c (mrand48): Likewise.
20508 * stdlib/rand.c (rand): Likewise.
20509 * stdlib/random.c (__random): Likewise.
20510 * stdlib/setenv.c (clearenv): Likewise.
20511 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
20512 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
20513 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
20514 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
20515 (__get_nprocs): Likewise.
20516 (__get_phys_pages): Likewise.
20517 (__get_avphys_pages): Likewise.
20518 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
20519 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
20520 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
20521 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
20522 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
20523 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
20524 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
20525 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
20526 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
20527 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
20528 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
20529 * sysdeps/mach/hurd/sync.c (sync): Likewise.
20530 * sysdeps/posix/clock.c (clock): Likewise.
20531 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
20532 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
20533 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
20534 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
20535 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
20536 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
20537 (__get_nprocs_conf): Likewise.
20538 (__get_phys_pages): Likewise.
20539 (__get_avphys_pages): Likewise.
20540 * time/clock.c (clock): Likewise.
20541 * time/tzset.c (__tzname_max): Likewise.
20542
2e09a79a
JM
205432013-06-07 Joseph Myers <joseph@codesourcery.com>
20544
20545 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
20546 (__bswap_32): Do not use "register".
20547 * crypt/crypt.c (_ufc_doit_r): Likewise.
20548 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
20549 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
20550 * gmon/gmon.c (__monstartup): Likewise.
20551 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
20552 * hurd/hurdmalloc.c (more_memory): Likewise.
20553 (malloc): Likewise.
20554 (free): Likewise.
20555 (realloc): Likewise.
20556 (malloc_fork_prepare): Likewise.
20557 (malloc_fork_parent): Likewise.
20558 (malloc_fork_child): Likewise.
20559 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
20560 (_svcauth_des): Likewise.
20561 * inet/inet_lnaof.c (inet_lnaof): Likewise.
20562 * inet/inet_net.c (inet_network): Likewise.
20563 * inet/inet_netof.c (inet_netof): Likewise.
20564 * inet/rcmd.c (__validuser2_sa): Likewise.
20565 * io/fts.c (fts_open): Likewise.
20566 (fts_load): Likewise.
20567 (fts_close): Likewise.
20568 (fts_read): Likewise.
20569 (fts_children): Likewise.
20570 (fts_build): Likewise.
20571 (fts_stat): Likewise.
20572 (fts_sort): Likewise.
20573 (fts_alloc): Likewise.
20574 (fts_lfree): Likewise.
20575 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
20576 (_IO_file_xsgetn): Likewise.
20577 (_IO_file_xsgetn_mmap): Likewise.
20578 * libio/iofopncook.c (_IO_cookie_read): Likewise.
20579 (_IO_cookie_write): Likewise.
20580 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
20581 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
20582 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
20583 * malloc/obstack.c (_obstack_begin): Likewise.
20584 (_obstack_begin_1): Likewise.
20585 (_obstack_newchunk): Likewise.
20586 (_obstack_allocated_p): Likewise.
20587 (obstack_free): Likewise.
20588 (_obstack_memory_used): Likewise.
20589 * misc/getttyent.c (getttynam): Likewise.
20590 (getttyent): Likewise.
20591 (skip): Likewise.
20592 (value): Likewise.
20593 * misc/getusershell.c (initshells): Likewise.
20594 * misc/syslog.c (__vsyslog_chk): Likewise.
20595 * misc/ttyslot.c (ttyslot): Likewise.
20596 * nis/nis_hash.c (__nis_hash): Likewise.
20597 * posix/fnmatch_loop.c (FCT): Likewise.
20598 * posix/getconf.c (print_all): Likewise.
20599 (main): Likewise.
20600 * posix/getopt.c (exchange): Likewise.
20601 * posix/glob.c (globfree): Likewise.
20602 (prefix_array): Likewise.
20603 (__glob_pattern_type): Likewise.
20604 * resolv/arpa/nameser.h (NS_GET16): Likewise.
20605 (NS_GET32): Likewise.
20606 (NS_PUT16): Likewise.
20607 (NS_PUT32): Likewise.
20608 * resolv/gethnamaddr.c (getanswer): Likewise.
20609 (gethostbyname2): Likewise.
20610 (gethostbyaddr): Likewise.
20611 (_gethtent): Likewise.
20612 (_gethtbyname2): Likewise.
20613 (_gethtbyaddr): Likewise.
20614 * resolv/ns_print.c (dst_s_get_int16): Likewise.
20615 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
20616 * resolv/res_init.c (__res_vinit): Likewise.
20617 (net_mask): Likewise.
20618 * resolv/res_mkquery.c (outchar): Likewise.
20619 (PRINT): Likewise.
20620 * stdio-common/printf_fp.c (outchar): Likewise.
20621 (PRINT): Likewise.
20622 * stdio-common/printf_fphex.c (outchar): Likewise.
20623 (PRINT): Likewise.
20624 * stdio-common/printf_size.c (outchar): Likewise.
20625 (PRINT): Likewise.
20626 * stdio-common/test_rdwr.c (main): Likewise.
20627 * stdio-common/tfformat.c (matches): Likewise.
20628 * stdio-common/vfprintf.c (outchar): Likewise.
20629 (printf_unknown): Likewise.
20630 (buffered_vfprintf): Likewise.
20631 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
20632 * stdio-common/xbug.c (AppendToBuffer): Likewise.
20633 (ReadFile): Likewise.
20634 * stdlib/qsort.c (SWAP): Likewise.
20635 (_quicksort): Likewise.
20636 * stdlib/setenv.c (__add_to_environ): Likewise.
20637 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
20638 * stdlib/strtol_l.c (__strtol_l): Likewise.
20639 * stdlib/tst-strtod.c (main): Likewise.
20640 * stdlib/tst-strtol.c (main): Likewise.
20641 * stdlib/tst-strtoll.c (main): Likewise.
20642 * string/bits/string2.h (__strcmp_cc): Likewise.
20643 (__strcmp_cg): Likewise.
20644 (__strcspn_c1): Likewise.
20645 (__strcspn_c2): Likewise.
20646 (__strcspn_c3): Likewise.
20647 (__strspn_c1): Likewise.
20648 (__strspn_c2): Likewise.
20649 (__strspn_c3): Likewise.
20650 (__strsep_1c): Likewise.
20651 (__strsep_2c): Likewise.
20652 (__strsep_3c): Likewise.
20653 * string/memccpy.c (__memccpy): Likewise.
20654 * string/stpcpy.c (__stpcpy): Likewise.
20655 * string/strcmp.c (strcmp): Likewise.
20656 * string/strrchr.c (strrchr): Likewise.
20657 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
20658 Likewise.
20659 * sysdeps/mach/hurd/getcwd.c
20660 (_hurd_canonicalize_directory_name_internal): Likewise.
20661 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
20662 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
20663 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
20664 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
20665 Likewise, in both definitions.
20666 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
20667 definitions.
20668 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
20669 64] (__bswap_64): Likewise.
20670 * time/test_time.c (main): Likewise.
20671 * time/tzfile.c (__tzfile_read): Likewise.
20672 (__tzfile_compute): Likewise.
20673 * time/tzset.c (__tzset_parse_tz): Likewise.
20674 (tzset_internal): Likewise.
20675 (compute_change): Likewise.
20676 * wcsmbs/wcscat.c (__wcscat): Likewise.
20677 * wcsmbs/wcschr.c (wcschr): Likewise.
20678 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
20679 * wcsmbs/wcscspn.c (wcscspn): Likewise.
20680 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
20681 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
20682 * wcsmbs/wcsspn.c (wcsspn): Likewise.
20683 * wcsmbs/wcsstr.c (wcsstr): Likewise.
20684 * wcsmbs/wmemchr.c (wmemchr): Likewise.
20685 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
20686 * wcsmbs/wmemset.c (wmemset): Likewise.
20687
9e54314b
JM
206882013-06-06 Joseph Myers <joseph@codesourcery.com>
20689
20690 * scripts/config.guess: Update to version 2013-05-16.
20691 * scripts/config.sub: Update to version 2013-04-24.
20692 * scripts/install-sh: Update to version 2011-11-20.07.
20693 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
20694 * scripts/move-if-change: Update to version 2012-01-06 07:23.
20695
350635a5
OB
206962013-06-06 Ondřej Bílka <neleai@seznam.cz>
20697
20698 * debug/fgetws_u_chk.c: Fix leading whitespaces.
20699 * elf/sln.c: Likewise.
20700 * hurd/hurd/ioctl.h: Likewise.
20701 * hurd/hurdmalloc.c: Likewise.
20702 * hurd/xattr.c: Likewise.
20703 * include/shlib-compat.h: Likewise.
20704 * inet/ruserpass.c: Likewise.
20705 * libio/iofgets_u.c: Likewise.
20706 * libio/iofgetws_u.c: Likewise.
20707 * locale/programs/ld-identification.c: Likewise.
20708 * locale/programs/ld-time.c: Likewise.
20709 * mach/msg-destroy.c: Likewise.
20710 * nss/nss_files/files-netgrp.c: Likewise.
20711 * resolv/res_data.c: Likewise.
20712 * soft-fp/op-1.h: Likewise.
20713 * soft-fp/op-2.h: Likewise.
20714 * soft-fp/op-4.h: Likewise.
20715 * soft-fp/op-common.h: Likewise.
20716 * stdio-common/printf_fphex.c: Likewise.
20717 * stdlib/strtod_l.c: Likewise.
20718 * sunrpc/rpc/clnt.h: Likewise.
20719 * sysdeps/generic/framestate.c: Likewise.
20720 * sysdeps/i386/bsd-_setjmp.S: Likewise.
20721 * sysdeps/i386/bsd-setjmp.S: Likewise.
20722 * sysdeps/i386/__longjmp.S: Likewise.
20723 * sysdeps/i386/setjmp.S: Likewise.
20724 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
20725 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
20726 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
20727 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
20728 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
20729 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
20730 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
20731 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
20732 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
20733 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
20734 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
20735 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
20736 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
20737 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
20738 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
20739 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
20740 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
20741 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
20742 * sysdeps/ieee754/support.c: Likewise.
20743 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
20744 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
20745 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
20746 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
20747 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
20748 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
20749 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
20750 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
20751 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
20752 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
20753 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
20754 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
20755 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
20756 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
20757 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
20758 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
20759 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
20760 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
20761
44a988af
OB
207622013-06-05 Ondřej Bílka <neleai@seznam.cz>
20763
25506f09 20764 * posix/transbug.c: Remove executable mode.
44a988af 20765
9c84384c
JM
207662013-06-05 Joseph Myers <joseph@codesourcery.com>
20767
20768 * crypt/speeds.c: Remove trailing whitespace.
20769 * dlfcn/default.c: Likewise.
20770 * elf/ifuncdep2.c: Likewise.
20771 * elf/ifuncmain1.c: Likewise.
20772 * elf/ifuncmain1vis.c: Likewise.
20773 * elf/testobj.h: Likewise.
20774 * elf/tst-stackguard1.c: Likewise.
20775 * gmon/sys/gmon.h: Likewise.
20776 * hurd/hurdmsg.c: Likewise.
20777 * hurd/new-fd.c: Likewise.
20778 * hurd/ports-get.c: Likewise.
20779 * iconvdata/ibm1008_420.c: Likewise.
20780 * inet/tst-getni1.c: Likewise.
20781 * inet/tst-getni2.c: Likewise.
20782 * libio/ioungetc.c: Likewise.
20783 * libio/wfiledoalloc.c: Likewise.
20784 * manual/libm-err-tab.pl: Likewise.
20785 * math/w_dremf.c: Likewise.
20786 * misc/ftruncate.c: Likewise.
20787 * posix/bug-glob2.c: Likewise.
20788 * posix/tst-pcre.c: Likewise.
20789 * posix/wait4.c: Likewise.
20790 * resolv/README: Likewise.
20791 * resolv/res_debug.h: Likewise.
20792 * resolv/tst-inet_ntop.c: Likewise.
20793 * setjmp/bug269-setjmp.c: Likewise.
20794 * soft-fp/extended.h: Likewise.
20795 * soft-fp/op-1.h: Likewise.
20796 * soft-fp/op-2.h: Likewise.
20797 * soft-fp/op-4.h: Likewise.
20798 * soft-fp/op-8.h: Likewise.
20799 * soft-fp/testit.c: Likewise.
20800 * stdio-common/bug16.c: Likewise.
20801 * stdlib/random.c: Likewise.
20802 * sunrpc/rpcsvc/rquota.x: Likewise.
20803 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
20804 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
20805 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
20806 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
20807 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
20808 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
20809 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
20810 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
20811 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
20812 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
20813 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
20814 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
20815 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
20816 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
20817 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
20818 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
20819 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
20820 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
20821 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
20822 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
20823 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
20824 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
20825 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
20826 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
20827 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
20828 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
20829 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
20830 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
20831 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
20832 * sysdeps/ieee754/s_lib_version.c: Likewise.
20833 * sysdeps/mach/hurd/check_fds.c: Likewise.
20834 * sysdeps/mach/hurd/getsockname.c: Likewise.
20835 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
20836 * sysdeps/mach/hurd/recvfrom.c: Likewise.
20837 * sysdeps/powerpc/bits/link.h: Likewise.
20838 * sysdeps/powerpc/dl-procinfo.c: Likewise.
20839 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
20840 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
20841 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
20842 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
20843 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
20844 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
20845 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
20846 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
20847 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
20848 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
20849 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
20850 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
20851 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
20852 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
20853 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
20854 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
20855 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
20856 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
20857 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
20858 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
20859 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
20860 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
20861 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
20862 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
20863 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
20864 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
20865 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
20866 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
20867 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
20868 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
20869 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
20870 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
20871 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
20872 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
20873 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
20874 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
20875 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
20876 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
20877 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
20878 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
20879 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
20880 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
20881 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
20882 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
20883 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
20884 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
20885 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
20886 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
20887 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
20888 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
20889 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
20890 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
20891 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
20892 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
20893 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
20894 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
20895 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
20896 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
20897 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
20898 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
20899 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
20900 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
20901 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
20902 * sysdeps/powerpc/sysdep.h: Likewise.
20903 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
20904 * sysdeps/s390/s390-64/sub_n.S: Likewise.
20905 * sysdeps/sh/dl-trampoline.S: Likewise.
20906 * sysdeps/sh/memset.S: Likewise.
20907 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
20908 * sysdeps/sh/strlen.S: Likewise.
20909 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
20910 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
20911 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
20912 * sysdeps/sparc/sparc32/rem.S: Likewise.
20913 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
20914 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
20915 * sysdeps/sparc/sparc32/strchr.S: Likewise.
20916 * sysdeps/sparc/sparc32/udiv.S: Likewise.
20917 * sysdeps/sparc/sparc32/urem.S: Likewise.
20918 * sysdeps/sparc/sparc64/add_n.S: Likewise.
20919 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
20920 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
20921 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
20922 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
20923 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
20924 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
20925 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
20926 * sysdeps/unix/bsd/times.c: Likewise.
20927 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
20928 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
20929 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
20930 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
20931 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
20932 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
20933 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
20934 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
20935 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
20936 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
20937 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
20938 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
20939 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
20940 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
20941 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
20942 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
20943 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
20944 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
20945 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
20946 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
20947 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
20948 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
20949 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
20950 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
20951 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
20952 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
20953 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
20954 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
20955 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
20956 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
20957 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
20958 * sysdeps/x86_64/strcspn.S: Likewise.
20959
869378a5
RA
209602013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
20961
20962 * locale/C-translit.h: Revert #include <stdint.h> because this is a
20963 generated file. Regenerate properly from gen-translit.pl.
20964 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
20965 locale/C-translit.h.
20966
840e2943
AS
209672013-06-05 Andreas Schwab <schwab@suse.de>
20968
20969 [BZ #15100]
20970 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
20971 week as 6 instead of -1.
20972 * time/tst-strptime.c (day_tests): Add test case.
20973
4c60cb0c
SP
209742013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
20975
20976 * sysdeps/generic/math_private.h
20977 (libc_feholdexcept_setround_53bit): Replace with
20978 libc_feholdsetround_53bit.
20979 (libc_feupdateenv_53bit): Replace with
20980 libc_feresetround_53bit.
20981 (SET_RESTORE_ROUND_53BIT): Adjust.
20982
d180203e
SP
209832013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
20984
96df079a
SP
20985 * string/test-strchrnul.c: Add copyright header.
20986
d180203e
SP
20987 * posix/tst-getaddrinfo4.c: Increase test timeout.
20988
8b0ccb2d
CD
209892013-06-03 Carlos O'Donell <carlos@redhat.com>
20990
20991 [BZ #15536]
20992 * math/libm-test.inc (MAX_EXP): Remove
20993 (MIN_EXP): Define.
20994 (ulp): Use MIN_EXP - MANT_DIG.
20995 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
20996
3b3c4d40
CD
209972013-05-31 Carlos O'Donell <carlos@redhat.com>
20998
20999 * po/be.po: Revert last change.
21000 * po/zh_CN.po: Likewise.
21001 * po/header.pot: Likewise.
21002
fab7ce3f
JM
210032013-05-31 Joseph Myers <joseph@codesourcery.com>
21004
21005 * Makefile ($(common-objpfx)linkobj/libc.so): Define
21006 link-libc-deps to empty as target-specific variable.
21007 * Makerules (link-libc-args): New variable.
21008 (libc-for-link): Likewise.
21009 (link-libc-deps): Likewise.
21010 (lib%.so): Depend on $(link-libc-deps). Link with
21011 $(link-libc-args).
21012 (build-module): Link with $(link-libc-args).
21013 (build-module-asneeded): Likewise.
21014 (build-module-helper-objlist): Filter out $(link-libc-deps) from
21015 list of objects.
21016 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
21017 target-specific variable.
21018 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
21019 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
21020 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
21021 libc.
21022 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
21023 libc and ld.so.
21024 ($(objpfx)libpcprofile.so): Likewise.
21025 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
21026 libc_nonshared.a.
21027 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
21028 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
21029 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
21030 $(link-libc-deps).
21031 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
21032 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
21033 * login/Makefile ($(objpfx)libutil.so): Likewise.
21034 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
21035 * math/Makefile ($(objpfx)libm.so): Likewise.
21036 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
21037 $(objpfx)libnsl.so): Define libc-for-link as target-specific
21038 variable instead of depending directly on libc.
21039 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
21040 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
21041 $(link-libc-deps).
21042 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
21043 libc.
21044 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
21045 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
21046 ($(objpfx)libanl.so): Likewise.
21047 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
21048 ld.so.
21049 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
21050 $(link-libc-deps).
21051 * sysdeps/i386/fpu/Makefile: Remove file.
21052 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
21053 ($(objpfx)libm.so): Remove dependency on ld.so.
21054
eca5920c
PF
210552013-05-30 Patsy Franklin <pfrankli@redhat.com>
21056
21057 [BZ # 15553]
21058 * nis/yp_xdr.c (XDRMAXNAME): Define.
21059 (XDRMAXRECORD): Define.
21060 (xdr_domainname): Use XDRMAXNAME.
21061 (xdr_mapname): Likewise.
21062 (xdr_peername): Likewise.
21063 (xdr_keydat): Use XDRMAXRECORD.
21064 (xdr_valdat): Likewise.
21065
210662013-05-30 Jeff Law <law@redhat.com>
96945714
JL
21067
21068 [BZ #14256]
21069 * manual/errno.texi (ESTALE): Update to account for more than
21070 just NFS file systems.
21071 * sysdeps/gnu/errlist.c: Regenerated.
21072
b9375348
SP
210732013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
21074
21075 [BZ #15465]
21076 * elf/Makefile (tests): Add tst-null-argv.
21077 (modules-names): Add tst-null-argv-lib.
21078 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
21079 (tst-null-argv-ENV): Set environment for tst-null-argv.
21080 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
21081 (RTLD_PROGNAME): New macro.
21082 * elf/tst-null-argv.c: New test case.
21083 * elf/tst-null-argv-lib.c: Library for test case.
21084 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
21085 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
21086 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
21087 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
21088 * elf/dl-init.c (call_init): Likewise.
21089 (_dl_init): Likewise.
21090 * elf/dl-load.c (print_search_path): Likewise.
21091 (_dl_map_object): Likewise.
21092 * elf/dl-lookup.c (do_lookup_x): Likewise.
21093 (add_dependency): Likewise.
21094 (_dl_lookup_symbol_x): Likewise.
21095 (_dl_debug_bindings): Likewise.
21096 * elf/dl-open.c (_dl_show_scope): Likewise.
21097 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
21098 * elf/dl-version.c (match_symbol): Likewise.
21099 (_dl_check_map_versions): Likewise.
21100 * elf/rtld.c (dl_main): Likewise.
21101 (print_unresolved): Use RTLD_PROGNAME.
21102 (print_missing_version): Likewise.
21103 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
21104 (elf_machine_rela): Likewise.
21105 * sysdeps/powerpc/powerpc32/dl-machine.c
21106 (__process_machine_rela): Likewise.
21107 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
21108 Likewise.
21109 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
21110 Likewise.
21111 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
21112 Likewise.
21113 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
21114 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
21115 Likewise.
21116 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
21117 Likewise.
21118 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
21119
8a9f20c8
CD
211202013-05-28 Carlos O'Donell <carlos@redhat.com>
21121
21122 * po/be.po: Add descriptive title.
21123 * po/zh_CN.po: Likewise.
21124 * po/header.pot: Likewise.
21125
0e60d68e
MF
211262013-05-28 Mike Frysinger <vapier@gentoo.org>
21127
21128 * locale/programs/locarchive.c (create_archive): Inlucde fname in
21129 error message.
21130 (enlarge_archive): Likewise.
21131
56b672e9
BN
211322013-05-28 Ben North <ben@redfrontdoor.org>
21133
21134 * manual/arith.texi (frexp): It is the magnitude of the return
21135 value which lies in [0.5, 1), not the return value itself.
21136
5e056687
AZ
211372013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21138
21139 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21140
2b66ef5d
TS
211412013-05-26 Thomas Schwinge <thomas@codesourcery.com>
21142
528c2405
TS
21143 * stdio-common/bug26.c (main): Correct fscanf template.
21144
07b4c13d
TS
21145 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
21146 declare _dl_skip_args.
21147
ec9dd97c
TS
21148 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
21149 Don't declare.
21150
2b66ef5d
TS
21151 * manual/platform.texi: Add missing @end deftypefun.
21152
4f8dfe27
JM
211532013-05-24 Joseph Myers <joseph@codesourcery.com>
21154
0323d086
JM
21155 [BZ #15529]
21156 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
21157 bit of mantissa of 2^16382.
21158 * math/libm-test.inc (hypot_test_data): Add more tests.
21159
dd4259b9
JM
21160 * math/libm-test.inc: Add drem and pow10 to list of tested
21161 functions.
21162 (pow10_test): New function.
21163 (drem_test): Likewise.
21164 (drem_test_tonearest): Likewise.
21165 (drem_test_towardzero): Likewise.
21166 (drem_test_downward): Likewise.
21167 (drem_test_upward): Likewise.
21168 (main): Call the new functions.
21169
4f8dfe27
JM
21170 * math/libm-test.inc (finite_test_data): Remove.
21171 (finite_test): Run tests from isfinite_test_data.
21172 (gamma_test_data): Remove.
21173 (gamma_test): Run tests from lgamma_test_data.
21174 * sysdeps/i386/fpu/libm-test-ulps: Update.
21175 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21176
d116b7c4
AZ
211772013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21178
21179 * manual/platform.texi: Add PowerPC PPR function set documentation.
21180 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
21181 implementation.
21182
e96e3767
CD
211832013-05-24 Carlos O'Donell <carlos@redhat.com>
21184
21185 * math/libm-test.inc (MAX_EXP): Define.
21186 (ULPDIFF): Define.
21187 (ulp): New function.
21188 (check_float_internal): Use ULPDIFF.
21189 (cpow_test): Disable failing test.
21190 (check_ulp): Test ulp() implemetnation.
21191 (main): Call check_ulp before starting tests.
21192
b679a606
JM
211932013-05-24 Joseph Myers <joseph@codesourcery.com>
21194
e8bdba36
JM
21195 * math/gen-libm-test.pl (generate_testfile): Do not handle
21196 START_DATA and END_DATA.
21197 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
21198 END_DATA.
21199 (acos_tonearest_test_data): Likewise.
21200 (acos_towardzero_test_data): Likewise.
21201 (acos_downward_test_data): Likewise.
21202 (acos_upward_test_data): Likewise.
21203 (acosh_test_data): Likewise.
21204 (asin_test_data): Likewise.
21205 (asin_tonearest_test_data): Likewise.
21206 (asin_towardzero_test_data): Likewise.
21207 (asin_downward_test_data): Likewise.
21208 (asin_upward_test_data): Likewise.
21209 (asinh_test_data): Likewise.
21210 (atan_test_data): Likewise.
21211 (atanh_test_data): Likewise.
21212 (atan2_test_data): Likewise.
21213 (cabs_test_data): Likewise.
21214 (cacos_test_data): Likewise.
21215 (cacosh_test_data): Likewise.
21216 (carg_test_data): Likewise.
21217 (casin_test_data): Likewise.
21218 (casinh_test_data): Likewise.
21219 (catan_test_data): Likewise.
21220 (catanh_test_data): Likewise.
21221 (cbrt_test_data): Likewise.
21222 (ccos_test_data): Likewise.
21223 (ccosh_test_data): Likewise.
21224 (ceil_test_data): Likewise.
21225 (cexp_test_data): Likewise.
21226 (cimag_test_data): Likewise.
21227 (clog_test_data): Likewise.
21228 (clog10_test_data): Likewise.
21229 (conj_test_data): Likewise.
21230 (copysign_test_data): Likewise.
21231 (cos_test_data): Likewise.
21232 (cos_tonearest_test_data): Likewise.
21233 (cos_towardzero_test_data): Likewise.
21234 (cos_downward_test_data): Likewise.
21235 (cos_upward_test_data): Likewise.
21236 (cosh_test_data): Likewise.
21237 (cosh_tonearest_test_data): Likewise.
21238 (cosh_towardzero_test_data): Likewise.
21239 (cosh_downward_test_data): Likewise.
21240 (cosh_upward_test_data): Likewise.
21241 (cpow_test_data): Likewise.
21242 (cproj_test_data): Likewise.
21243 (creal_test_data): Likewise.
21244 (csin_test_data): Likewise.
21245 (csinh_test_data): Likewise.
21246 (csqrt_test_data): Likewise.
21247 (ctan_test_data): Likewise.
21248 (ctan_tonearest_test_data): Likewise.
21249 (ctan_towardzero_test_data): Likewise.
21250 (ctan_downward_test_data): Likewise.
21251 (ctan_upward_test_data): Likewise.
21252 (ctanh_test_data): Likewise.
21253 (ctanh_tonearest_test_data): Likewise.
21254 (ctanh_towardzero_test_data): Likewise.
21255 (ctanh_downward_test_data): Likewise.
21256 (ctanh_upward_test_data): Likewise.
21257 (erf_test_data): Likewise.
21258 (erfc_test_data): Likewise.
21259 (exp_test_data): Likewise.
21260 (exp_tonearest_test_data): Likewise.
21261 (exp_towardzero_test_data): Likewise.
21262 (exp_downward_test_data): Likewise.
21263 (exp_upward_test_data): Likewise.
21264 (exp10_test_data): Likewise.
21265 (exp2_test_data): Likewise.
21266 (expm1_test_data): Likewise.
21267 (fabs_test_data): Likewise.
21268 (fdim_test_data): Likewise.
21269 (finite_test_data): Likewise.
21270 (floor_test_data): Likewise.
21271 (fma_test_data): Likewise.
21272 (fma_towardzero_test_data): Likewise.
21273 (fma_downward_test_data): Likewise.
21274 (fma_upward_test_data): Likewise.
21275 (fmax_test_data): Likewise.
21276 (fmin_test_data): Likewise.
21277 (fmod_test_data): Likewise.
21278 (fpclassify_test_data): Likewise.
21279 (frexp_test_data): Likewise.
21280 (gamma_test_data): Likewise.
21281 (hypot_test_data): Likewise.
21282 (ilogb_test_data): Likewise.
21283 (isfinite_test_data): Likewise.
21284 (isgreater_test_data): Likewise.
21285 (isgreaterequal_test_data): Likewise.
21286 (isinf_test_data): Likewise.
21287 (isless_test_data): Likewise.
21288 (islessequal_test_data): Likewise.
21289 (islessgreater_test_data): Likewise.
21290 (isnan_test_data): Likewise.
21291 (isnormal_test_data): Likewise.
21292 (issignaling_test_data): Likewise.
21293 (isunordered_test_data): Likewise.
21294 (j0_test_data): Likewise.
21295 (j1_test_data): Likewise.
21296 (jn_test_data): Likewise.
21297 (ldexp_test_data): Likewise.
21298 (lgamma_test_data): Likewise.
21299 (lrint_test_data): Likewise.
21300 (lrint_tonearest_test_data): Likewise.
21301 (lrint_towardzero_test_data): Likewise.
21302 (lrint_downward_test_data): Likewise.
21303 (lrint_upward_test_data): Likewise.
21304 (llrint_test_data): Likewise.
21305 (llrint_tonearest_test_data): Likewise.
21306 (llrint_towardzero_test_data): Likewise.
21307 (llrint_downward_test_data): Likewise.
21308 (llrint_upward_test_data): Likewise.
21309 (log_test_data): Likewise.
21310 (log10_test_data): Likewise.
21311 (log1p_test_data): Likewise.
21312 (log2_test_data): Likewise.
21313 (logb_test_data): Likewise.
21314 (logb_downward_test_data): Likewise.
21315 (lround_test_data): Likewise.
21316 (llround_test_data): Likewise.
21317 (modf_test_data): Likewise.
21318 (nearbyint_test_data): Likewise.
21319 (nextafter_test_data): Likewise.
21320 (nexttoward_test_data): Likewise.
21321 (pow_test_data): Likewise.
21322 (pow_tonearest_test_data): Likewise.
21323 (pow_towardzero_test_data): Likewise.
21324 (pow_downward_test_data): Likewise.
21325 (pow_upward_test_data): Likewise.
21326 (remainder_test_data): Likewise.
21327 (remainder_tonearest_test_data): Likewise.
21328 (remainder_towardzero_test_data): Likewise.
21329 (remainder_downward_test_data): Likewise.
21330 (remainder_upward_test_data): Likewise.
21331 (remquo_test_data): Likewise.
21332 (rint_test_data): Likewise.
21333 (rint_tonearest_test_data): Likewise.
21334 (rint_towardzero_test_data): Likewise.
21335 (rint_downward_test_data): Likewise.
21336 (rint_upward_test_data): Likewise.
21337 (round_test_data): Likewise.
21338 (scalb_test_data): Likewise.
21339 (scalbn_test_data): Likewise.
21340 (scalbln_test_data): Likewise.
21341 (signbit_test_data): Likewise.
21342 (sin_test_data): Likewise.
21343 (sin_tonearest_test_data): Likewise.
21344 (sin_towardzero_test_data): Likewise.
21345 (sin_downward_test_data): Likewise.
21346 (sin_upward_test_data): Likewise.
21347 (sincos_test_data): Likewise.
21348 (sinh_test_data): Likewise.
21349 (sinh_tonearest_test_data): Likewise.
21350 (sinh_towardzero_test_data): Likewise.
21351 (sinh_downward_test_data): Likewise.
21352 (sinh_upward_test_data): Likewise.
21353 (sqrt_test_data): Likewise.
21354 (tan_test_data): Likewise.
21355 (tan_tonearest_test_data): Likewise.
21356 (tan_towardzero_test_data): Likewise.
21357 (tan_downward_test_data): Likewise.
21358 (tan_upward_test_data): Likewise.
21359 (tanh_test_data): Likewise.
21360 (tgamma_test_data): Likewise.
21361 (trunc_test_data): Likewise.
21362 (y0_test_data): Likewise.
21363 (y1_test_data): Likewise.
21364 (yn_test_data): Likewise.
21365 (significand_test_data): Likewise.
21366
b679a606
JM
21367 * math/gen-libm-test.pl (@functions): Remove variable.
21368 (generate_testfile): Don't handle START and END lines.
21369 * math/libm-test.inc (START): New macro.
21370 (END): Likewise.
21371 (END_COMPLEX): Likewise.
21372 (acos_test): Use END macro without arguments.
21373 (acos_test_tonearest): Likewise.
21374 (acos_test_towardzero): Likewise.
21375 (acos_test_downward): Likewise.
21376 (acos_test_upward): Likewise.
21377 (acosh_test): Likewise.
21378 (asin_test): Likewise.
21379 (asin_test_tonearest): Likewise.
21380 (asin_test_towardzero): Likewise.
21381 (asin_test_downward): Likewise.
21382 (asin_test_upward): Likewise.
21383 (asinh_test): Likewise.
21384 (atan_test): Likewise.
21385 (atanh_test): Likewise.
21386 (atan2_test): Likewise.
21387 (cabs_test): Likewise.
21388 (cacos_test): Use END_COMPLEX macro without arguments.
21389 (cacosh_test): Likewise.
21390 (carg_test): Use END macro without arguments.
21391 (casin_test): Use END_COMPLEX macro without arguments.
21392 (casinh_test): Likewise.
21393 (catan_test): Likewise.
21394 (catanh_test): Likewise.
21395 (cbrt_test): Use END macro without arguments.
21396 (ccos_test): Use END_COMPLEX macro without arguments.
21397 (ccosh_test): Likewise.
21398 (ceil_test): Use END macro without arguments.
21399 (cexp_test): Use END_COMPLEX macro without arguments.
21400 (cimag_test): Use END macro without arguments.
21401 (clog_test): Use END_COMPLEX macro without arguments.
21402 (clog10_test): Likewise.
21403 (conj_test): Likewise.
21404 (copysign_test): Use END macro without arguments.
21405 (cos_test): Likewise.
21406 (cos_test_tonearest): Likewise.
21407 (cos_test_towardzero): Likewise.
21408 (cos_test_downward): Likewise.
21409 (cos_test_upward): Likewise.
21410 (cosh_test): Likewise.
21411 (cosh_test_tonearest): Likewise.
21412 (cosh_test_towardzero): Likewise.
21413 (cosh_test_downward): Likewise.
21414 (cosh_test_upward): Likewise.
21415 (cpow_test): Use END_COMPLEX macro without arguments.
21416 (cproj_test): Likewise.
21417 (creal_test): Use END macro without arguments.
21418 (csin_test): Use END_COMPLEX macro without arguments.
21419 (csinh_test): Likewise.
21420 (csqrt_test): Likewise.
21421 (ctan_test): Likewise.
21422 (ctan_test_tonearest): Likewise.
21423 (ctan_test_towardzero): Likewise.
21424 (ctan_test_downward): Likewise.
21425 (ctan_test_upward): Likewise.
21426 (ctanh_test): Likewise.
21427 (ctanh_test_tonearest): Likewise.
21428 (ctanh_test_towardzero): Likewise.
21429 (ctanh_test_downward): Likewise.
21430 (ctanh_test_upward): Likewise.
21431 (erf_test): Use END macro without arguments.
21432 (erfc_test): Likewise.
21433 (exp_test): Likewise.
21434 (exp_test_tonearest): Likewise.
21435 (exp_test_towardzero): Likewise.
21436 (exp_test_downward): Likewise.
21437 (exp_test_upward): Likewise.
21438 (exp10_test): Likewise.
21439 (exp2_test): Likewise.
21440 (expm1_test): Likewise.
21441 (fabs_test): Likewise.
21442 (fdim_test): Likewise.
21443 (finite_test): Likewise.
21444 (floor_test): Likewise.
21445 (fma_test): Likewise.
21446 (fma_test_towardzero): Likewise.
21447 (fma_test_downward): Likewise.
21448 (fma_test_upward): Likewise.
21449 (fmax_test): Likewise.
21450 (fmin_test): Likewise.
21451 (fmod_test): Likewise.
21452 (fpclassify_test): Likewise.
21453 (frexp_test): Likewise.
21454 (gamma_test): Likewise.
21455 (hypot_test): Likewise.
21456 (ilogb_test): Likewise.
21457 (isfinite_test): Likewise.
21458 (isgreater_test): Likewise.
21459 (isgreaterequal_test): Likewise.
21460 (isinf_test): Likewise.
21461 (isless_test): Likewise.
21462 (islessequal_test): Likewise.
21463 (islessgreater_test): Likewise.
21464 (isnan_test): Likewise.
21465 (isnormal_test): Likewise.
21466 (issignaling_test): Likewise.
21467 (isunordered_test): Likewise.
21468 (j0_test): Likewise.
21469 (j1_test): Likewise.
21470 (jn_test): Likewise.
21471 (ldexp_test): Likewise.
21472 (lgamma_test): Likewise.
21473 (lrint_test): Likewise.
21474 (lrint_test_tonearest): Likewise.
21475 (lrint_test_towardzero): Likewise.
21476 (lrint_test_downward): Likewise.
21477 (lrint_test_upward): Likewise.
21478 (llrint_test): Likewise.
21479 (llrint_test_tonearest): Likewise.
21480 (llrint_test_towardzero): Likewise.
21481 (llrint_test_downward): Likewise.
21482 (llrint_test_upward): Likewise.
21483 (log_test): Likewise.
21484 (log10_test): Likewise.
21485 (log1p_test): Likewise.
21486 (log2_test): Likewise.
21487 (logb_test): Likewise.
21488 (logb_test_downward): Likewise.
21489 (lround_test): Likewise.
21490 (llround_test): Likewise.
21491 (modf_test): Likewise.
21492 (nearbyint_test): Likewise.
21493 (nextafter_test): Likewise.
21494 (nexttoward_test): Likewise.
21495 (pow_test): Likewise.
21496 (pow_test_tonearest): Likewise.
21497 (pow_test_towardzero): Likewise.
21498 (pow_test_downward): Likewise.
21499 (pow_test_upward): Likewise.
21500 (remainder_test): Likewise.
21501 (remainder_test_tonearest): Likewise.
21502 (remainder_test_towardzero): Likewise.
21503 (remainder_test_downward): Likewise.
21504 (remainder_test_upward): Likewise.
21505 (remquo_test): Likewise.
21506 (rint_test): Likewise.
21507 (rint_test_tonearest): Likewise.
21508 (rint_test_towardzero): Likewise.
21509 (rint_test_downward): Likewise.
21510 (rint_test_upward): Likewise.
21511 (round_test): Likewise.
21512 (scalb_test): Likewise.
21513 (scalbn_test): Likewise.
21514 (scalbln_test): Likewise.
21515 (signbit_test): Likewise.
21516 (sin_test): Likewise.
21517 (sin_test_tonearest): Likewise.
21518 (sin_test_towardzero): Likewise.
21519 (sin_test_downward): Likewise.
21520 (sin_test_upward): Likewise.
21521 (sincos_test): Likewise.
21522 (sinh_test): Likewise.
21523 (sinh_test_tonearest): Likewise.
21524 (sinh_test_towardzero): Likewise.
21525 (sinh_test_downward): Likewise.
21526 (sinh_test_upward): Likewise.
21527 (sqrt_test): Likewise.
21528 (tan_test): Likewise.
21529 (tan_test_tonearest): Likewise.
21530 (tan_test_towardzero): Likewise.
21531 (tan_test_downward): Likewise.
21532 (tan_test_upward): Likewise.
21533 (tanh_test): Likewise.
21534 (tgamma_test): Likewise.
21535 (trunc_test): Likewise.
21536 (y0_test): Likewise.
21537 (y1_test): Likewise.
21538 (yn_test): Likewise.
21539 (significand_test): Likewise.
21540
bae143d2
OB
215412013-05-24 Ondřej Bílka <neleai@seznam.cz>
21542
21543 [BZ #15381]
21544 * libio/genops.c (_IO_no_init): Initialize wide struct info.
21545
9323d39b
EM
215462013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
21547
d4ea44a0 21548 [BZ #14894]
9323d39b
EM
21549 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
21550 __ppc_mdoio and __ppc_mdoom.
21551 * manual/platform.texi: Document new functions __ppc_yield,
21552 __ppc_mdoio and __ppc_mdoom.
21553
13e23af7
CD
215542013-05-22 Carlos O'Donell <carlos@redhat.com>
21555
21556 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
21557 (main): Mention "tls" pseudo-hwcap is legacy.
21558 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
21559
351fe550
JM
215602013-05-22 Joseph Myers <joseph@codesourcery.com>
21561
21562 * math/gen-libm-test.pl (parse_args): Output only string of
21563 arguments as text for test name, not full call or descriptions of
21564 tests for extra outputs.
21565 (generate_testfile): Do not pass function name to parse_args.
21566 Generate this_func variable from START.
21567 * math/libm-test.inc (struct test_f_f_data): Rename test_name
21568 field to arg_str.
21569 (struct test_ff_f_data): Likewise.
21570 (test_ff_f_data_nexttoward): Likewise.
21571 (struct test_fi_f_data): Likewise.
21572 (struct test_fl_f_data): Likewise.
21573 (struct test_if_f_data): Likewise.
21574 (struct test_fff_f_data): Likewise.
21575 (struct test_c_f_data): Likewise.
21576 (struct test_f_f1_data): Likewise. Remove field extra_name.
21577 (struct test_fF_f1_data): Likewise.
21578 (struct test_ffI_f1_data): Likewise.
21579 (struct test_c_c_data): Rename test_name field to arg_str.
21580 (struct test_cc_c_data): Likewise.
21581 (struct test_f_i_data): Likewise.
21582 (struct test_ff_i_data): Likewise.
21583 (struct test_f_l_data): Likewise.
21584 (struct test_f_L_data): Likewise.
21585 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
21586 and extra2_name.
21587 (COMMON_TEST_SETUP): New macro.
21588 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
21589 (COMMON_TEST_CLEANUP): Likewise.
21590 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
21591 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
21592 macros.
21593 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
21594 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
21595 macros.
21596 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
21597 (RUN_TEST_fff_f): Take argument string. Call new setup and
21598 cleanup macros.
21599 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
21600 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
21601 macros.
21602 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
21603 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
21604 macros.
21605 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
21606 (RUN_TEST_fF_f1): Take argument string. Call new setup and
21607 cleanup macros.
21608 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
21609 (RUN_TEST_fI_f1): Take argument string. Call new setup and
21610 cleanup macros.
21611 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
21612 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
21613 cleanup macros.
21614 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
21615 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
21616 macros.
21617 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
21618 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
21619 macros.
21620 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
21621 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
21622 macros.
21623 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
21624 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
21625 cleanup macros.
21626 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
21627 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
21628 cleanup macros.
21629 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
21630 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
21631 macros.
21632 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
21633 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
21634 cleanup macros.
21635 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
21636 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
21637 macros.
21638 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
21639 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
21640 macros.
21641 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
21642 (RUN_TEST_fFF_11): Take argument string. Call new setup and
21643 cleanup macros.
21644 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
21645
85118d4d
EBM
216462013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
21647
21648 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
21649 to _sifields.sigfault.
21650 (si_addr_lsb): Define new macro.
21651 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
21652 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
21653 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
21654
7a44c18f
CD
216552013-05-03 Carlos O'Donell <carlos at redhat.com>
21656
21657 [BZ #15441]
21658 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
21659 returns -1.
21660 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
21661 null return -1.
21662 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
21663 loading the domain.
21664
b50a7181
JM
216652013-05-22 Joseph Myers <joseph@codesourcery.com>
21666
21667 * math/gen-libm-test.pl (parse_args): Do not include expected
21668 result in test name.
21669 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
21670 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
21671 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
21672 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
21673 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
21674 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21675
051063c8
SP
216762013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
21677
3ce9e010
SP
21678 * benchtests/Makefile: Sort function entries.
21679
051063c8
SP
21680 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
21681 tanh, asinh, acosh, atanh.
21682 * benchtests/acos-inputs: New file.
21683 * benchtests/acosh-inputs: New file.
21684 * benchtests/asin-inputs: New file.
21685 * benchtests/asinh-inputs: New file.
21686 * benchtests/atanh-inputs: New file.
21687 * benchtests/cosh-inputs: New file.
21688 * benchtests/log-inputs: New file.
21689 * benchtests/sinh-inputs: New file.
21690 * benchtests/tanh-inputs: New file.
21691
47c22455
DL
216922013-05-21 Dmitry V. Levin <ldv@altlinux.org>
21693
21694 [BZ #15339]
21695 * posix/tst-getaddrinfo4.c: New test.
21696 * posix/Makefile (tests): Add it.
21697
3d04f5db
SP
216982013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
21699
21700 [BZ #15339]
21701 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
21702 when no services were used.
21703 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
21704 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
21705
d5dd6189
AS
217062013-05-21 Andreas Schwab <schwab@suse.de>
21707
21708 [BZ #15014]
21709 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
21710 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
21711 successful.
21712 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
21713 redundant variable declarations and reallocation of buffer when
21714 parsing as IPv6 address. Always set NSS status when called from
21715 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
21716 buffer too small. Correct computation of needed size.
21717 * nss/Makefile (tests): Add test-digits-dots.
21718 * nss/test-digits-dots.c: New test.
21719
fef94eab
SP
217202013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
21721
21722 * benchtests/Makefile: Remove instructions for adding
21723 benchmark tests.
21724 * benchtests/README: New file to explain how to execute and
21725 enhance the benchmark tests.
21726
e39adf43
AS
217272013-05-21 Andreas Schwab <schwab@suse.de>
21728
21729 [BZ #15493]
21730 * setjmp/Makefile (tests): Add tst-sigsetjmp.
21731 * setjmp/tst-sigsetjmp.c: New test.
21732
b2b671b6
OB
217332013-05-20 Ondřej Bílka <neleai@seznam.cz>
21734
21735 * sysdeps/x86_64/memset.S (memset): New implementation.
21736 (__bzero): Likewise.
21737 (__memset_tail): New function.
21738
2d48b41c
OB
217392013-05-20 Ondřej Bílka <neleai@seznam.cz>
21740
21741 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
21742 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
21743 __memcpy_sse2_unaligned ifunc selection.
21744 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
21745 Add memcpy-sse2-unaligned.S.
21746 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
21747 Add: __memcpy_sse2_unaligned.
21748
f16cc3eb
JM
217492013-05-19 Joseph Myers <joseph@codesourcery.com>
21750
3e694268
JM
21751 [BZ #15490]
21752 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
21753 math_force_eval before restoring floating-point envrionment.
21754 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
21755 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
21756 Likewise.
21757 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
21758 <math_private.h>.
21759 (__nearbyintl): Use math_force_eval before restoring
21760 floating-point environment.
21761 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
21762
db62a907
JM
21763 * math/gen-libm-test.pl (special_functions): Remove.
21764 (parse_args): Don't handle TEST_extra. Handle functions with no
21765 return value.
21766 * math/libm-test.inc (struct test_sincos_data): Replace with
21767 struct test_fFF_11_data.
21768 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
21769 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
21770 (sincos_test_data): Change element type to struct
21771 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
21772 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
21773 RUN_TEST_LOOP_sincos.
21774 * math/README.libm-test: Don't mention special handling of
21775 individual functions.
21776 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
21777 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
21778 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
21779 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
21780 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
21781 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21782
f16cc3eb
JM
21783 * math/gen-libm-test.pl (get_variable): Remove function.
21784 (parse_args): Don't show pointer parameters to call in test
21785 names. Use "extra output N" in test names for extra outputs
21786 rather than naming variables.
21787
3779b5b6
JM
217882013-05-18 Joseph Myers <joseph@codesourcery.com>
21789
2ee094ff
JM
21790 [BZ #15488]
21791 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
21792 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
21793 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
21794 double tests.
21795 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
21796 disable.
21797 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
21798 check_long_double.
21799
3779b5b6
JM
21800 * math/gen-libm-test.pl (@tests): Remove variable.
21801 ($count): Likewise.
21802 (new_test): Remove function.
21803 (show_exceptions): New function.
21804 (special_functions): Use show_exceptions instead of new_test.
21805 (parse_args): Likewise.
21806 (generate_testfile): Pass only function name in generated call to
21807 print_max_error or print_complex_max_error.
21808 (get_ulps): Do not handle complex tests specially.
21809 (output_test): Rename to ...
21810 (get_all_ulps_for_test): ... this. Return a string rather than
21811 printing to a file. Require ulps to be present.
21812 (output_ulps): Generate arrays rather than #defines.
21813 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
21814 (struct ulp_data): New type.
21815 (BUILD_COMPLEX_ULP): Remove macro.
21816 (compare_ulp_data): New function.
21817 (find_ulps): Likewise.
21818 (find_test_ulps): Likewise.
21819 (find_function_ulps): Likewise.
21820 (find_complex_function_ulps): Likewise.
21821 (print_max_error): Determine allowed ulps using
21822 find_function_ulps.
21823 (print_complex_max_error): Determine allowed ulps using
21824 find_complex_function_ulps.
21825 (check_float_internal): Determine max ulps using find_test_ulps.
21826 (check_float): Do not take max_ulp parameter. Update call to
21827 check_float_internal.
21828 (check_complex): Likewise.
21829 (check_int): Do not take max_ulp parameter.
21830 (check_long): Likewise.
21831 (check_bool): Likewise.
21832 (check_longlong): Likewise.
21833 (struct test_f_f_data): Remove max_ulp field.
21834 (struct test_ff_f_data): Likewise.
21835 (struct test_ff_f_data_nexttoward): Likewise.
21836 (struct test_fi_f_data): Likewise.
21837 (struct test_fl_f_data): Likewise.
21838 (struct test_if_f_data): Likewise.
21839 (struct test_fff_f_data): Likewise.
21840 (struct test_c_f_data): Likewise.
21841 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
21842 (struct test_fF_f1_data): Likewise.
21843 (struct test_ffI_f1_data): Likewise.
21844 (struct test_c_c_data): Remove max_ulp field.
21845 (struct test_cc_c_data): Likewise.
21846 (struct test_f_i_data): Likewise.
21847 (struct test_ff_i_data): Likewise.
21848 (struct test_f_l_data): Likewise.
21849 (struct test_f_L_data): Likewise.
21850 (struct test_sincos_data): Likewise.
21851 (RUN_TEST_f_f): Do not handle ulps.
21852 (RUN_TEST_LOOP_f_f): Likewise.
21853 (RUN_TEST_2_f): Likewise.
21854 (RUN_TEST_LOOP_2_f): Likewise.
21855 (RUN_TEST_fff_f): Likewise.
21856 (RUN_TEST_LOOP_fff_f): Likewise.
21857 (RUN_TEST_c_f): Likewise.
21858 (RUN_TEST_LOOP_c_f): Likewise.
21859 (RUN_TEST_f_f1): Likewise.
21860 (RUN_TEST_LOOP_f_f1): Likewise.
21861 (RUN_TEST_fF_f1): Likewise.
21862 (RUN_TEST_LOOP_fF_f1): Likewise.
21863 (RUN_TEST_fI_f1): Likewise.
21864 (RUN_TEST_LOOP_fI_f1): Likewise.
21865 (RUN_TEST_ffI_f1): Likewise.
21866 (RUN_TEST_LOOP_ffI_f1): Likewise.
21867 (RUN_TEST_c_c): Likewise.
21868 (RUN_TEST_LOOP_c_c): Likewise.
21869 (RUN_TEST_cc_c): Likewise.
21870 (RUN_TEST_LOOP_cc_c): Likewise.
21871 (RUN_TEST_f_i): Likewise.
21872 (RUN_TEST_LOOP_f_i): Likewise.
21873 (RUN_TEST_f_i_tg): Likewise.
21874 (RUN_TEST_LOOP_f_i_tg): Likewise.
21875 (RUN_TEST_ff_i_tg): Likewise.
21876 (RUN_TEST_LOOP_ff_i_tg): Likewise.
21877 (RUN_TEST_f_b): Likewise.
21878 (RUN_TEST_LOOP_f_b): Likewise.
21879 (RUN_TEST_f_b_tg): Likewise.
21880 (RUN_TEST_LOOP_f_b_tg): Likewise.
21881 (RUN_TEST_f_l): Likewise.
21882 (RUN_TEST_LOOP_f_l): Likewise.
21883 (RUN_TEST_f_L): Likewise.
21884 (RUN_TEST_LOOP_f_L): Likewise.
21885 (RUN_TEST_sincos): Likewise.
21886 (RUN_TEST_LOOP_sincos): Likewise.
21887
8269107f
JM
218882013-05-17 Joseph Myers <joseph@codesourcery.com>
21889
bb38759d
JM
21890 [BZ #15480]
21891 [BZ #15485]
21892 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
21893 main case of finite arguments, set rounding mode to FE_TONEAREST
21894 and discard exceptions.
21895 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
21896 exceptions.
21897 (remainder_tonearest_test_data): New variable.
21898 (remainder_test_tonearest): New function.
21899 (remainder_towardzero_test_data): New variable.
21900 (remainder_test_towardzero): New function.
21901 (remainder_downward_test_data): New variable.
21902 (remainder_test_downward): New function.
21903 (remainder_upward_test_data): New variable.
21904 (remainder_test_upward): New function.
21905 (main): Call the new test functions.
21906
a00bdcf0
JM
21907 * math/libm-test.inc (struct test_f_f1_data): Remove field
21908 extra_init.
21909 (struct test_fF_f1_data): Likewise.
21910 (struct test_ffI_f1_data): Likewise.
21911 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
21912 based on value of EXTRA_EXPECTED.
21913 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
21914 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
21915 EXTRA_VAR based on value of EXTRA_EXPECTED.
21916 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
21917 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
21918 EXTRA_VAR based on value of EXTRA_EXPECTED.
21919 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
21920 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
21921 EXTRA_VAR based on value of EXTRA_EXPECTED.
21922 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
21923 * math/gen-libm-test.pl (parse_args): Don't output initializers
21924 for extra output values.
21925
de407f79
JM
21926 * math/libm-test.inc (check_int): Expect result to be exactly
21927 equal to expected value and do not handle ulps.
21928 (check_long): Likewise.
21929 (check_longlong): Likewise.
21930
8269107f
JM
21931 * math/libm-test.inc (ceil_test_data): Test for "inexact"
21932 exceptions.
21933 (cimag_test_data): Likewise.
21934 (conj_test_data): Likewise.
21935 (copysign_test_data): Likewise.
21936 (cproj_test_data): Likewise.
21937 (creal_test_data): Likewise.
21938 (fabs_test_data): Likewise.
21939 (fdim_test_data): Likewise.
21940 (finite_test_data): Likewise.
21941 (floor_test_data): Likewise.
21942 (fmax_test_data): Likewise.
21943 (fmin_test_data): Likewise.
21944 (fmod_test_data): Likewise.
21945 (fpclassify_test_data): Likewise.
21946 (frexp_test_data): Likewise.
21947 (ilogb_test_data): Likewise.
21948 (isfinite_test_data): Likewise.
21949 (isgreater_test_data): Likewise.
21950 (isgreaterequal_test_data): Likewise.
21951 (isinf_test_data): Likewise.
21952 (isless_test_data): Likewise.
21953 (islessequal_test_data): Likewise.
21954 (islessgreater_test_data): Likewise.
21955 (isnan_test_data): Likewise.
21956 (isnormal_test_data): Likewise.
21957 (issignaling_test_data): Likewise.
21958 (isunordered_test_data): Likewise.
21959 (ldexp_test_data): Likewise.
21960 (lrint_test_data): Likewise.
21961 (lrint_test_data) [TEST_FLOAT]: Disable one test.
21962 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
21963 (lrint_tonearest_test_data): Test for "inexact" exceptions.
21964 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
21965 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
21966 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
21967 test input.
21968 (lrint_towardzero_test_data): Test for "inexact" exceptions.
21969 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
21970 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
21971 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
21972 that test input.
21973 (lrint_downward_test_data): Test for "inexact" exceptions.
21974 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
21975 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
21976 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
21977 test input.
21978 (lrint_upward_test_data): Test for "inexact" exceptions.
21979 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
21980 test input.
21981 (llrint_test_data): Test for "inexact" exceptions.
21982 (llrint_test_data) [TEST_FLOAT]: Disable one test.
21983 (llrint_tonearest_test_data): Test for "inexact" exceptions.
21984 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
21985 (llrint_towardzero_test_data): Test for "inexact" exceptions.
21986 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
21987 (llrint_downward_test_data): Test for "inexact" exceptions.
21988 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
21989 (llrint_upward_test_data): Test for "inexact" exceptions.
21990 (logb_test_data): Likewise.
21991 (logb_downward_test_data): Likewise.
21992 (nextafter_test_data): Likewise.
21993 (nexttoward_test_data): Likewise.
21994 (remainder_test_data): Likewise.
21995 (remquo_test_data): Likewise.
21996 (scalbn_test_data): Likewise.
21997 (scalbln_test_data): Likewise.
21998 (signbit_test_data): Likewise.
21999 (sqrt_test_data): Likewise.
22000 (significand_test_data): Likewise.
22001
48a18de1
SP
220022013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
22003
22004 [BZ #15424]
22005 * benchtests/bench-modf.c (struct args): Mark arg0 as
22006 volatile.
22007 * scripts/bench.pl: Mark members of struct args as volatile.
22008
13d3b41a
AZ
220092013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22010
68191c1d 22011 [BZ # 15497]
13d3b41a
AZ
22012 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
22013 negative infinity on POWER6 or lower.
22014 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
22015
2848b105
MR
220162013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
22017
22018 [BZ #15442]
22019 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
22020 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
22021 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
22022 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
22023 (_FP_SETQNAN): New macro.
22024 (_FP_SETQNAN_SEMIRAW): Likewise.
22025 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
22026 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
22027 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
22028 (FP_EXTEND): Use _FP_FRAC_SNANP.
22029 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
22030 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
22031 into account.
22032 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
22033 New macro.
22034 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
22035 Likewise.
22036
323e5cb7
JM
220372013-05-16 Joseph Myers <joseph@codesourcery.com>
22038
c58b274f
JM
22039 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
22040 with DIVIDE_BY_ZERO_EXCEPTION.
22041 (gamma_test_data): Likewise.
22042 (lgamma_test_data): Likewise.
22043 (log_test_data): Likewise.
22044 (log10_test_data): Likewise.
22045 (log2_test_data): Likewise.
22046 (tgamma_test_data): Likewise.
22047
0ab34904
JM
22048 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
22049 (acos_test_tonearest): Likewise.
22050 (acos_test_towardzero): Likewise.
22051 (acos_test_downward): Likewise.
22052 (acos_test_upward): Likewise.
22053 (acosh_test): Likewise.
22054 (asin_test): Likewise.
22055 (asin_test_tonearest): Likewise.
22056 (asin_test_towardzero): Likewise.
22057 (asin_test_downward): Likewise.
22058 (asin_test_upward): Likewise.
22059 (asinh_test): Likewise.
22060 (atan_test): Likewise.
22061 (atanh_test): Likewise.
22062 (atan2_test): Likewise.
22063 (cabs_test): Likewise.
22064 (cacos_test): Likewise.
22065 (cacosh_test): Likewise.
22066 (casin_test): Likewise.
22067 (casinh_test): Likewise.
22068 (catan_test): Likewise.
22069 (catanh_test): Likewise.
22070 (cbrt_test): Likewise.
22071 (ccos_test): Likewise.
22072 (ccosh_test): Likewise.
22073 (cexp_test): Likewise.
22074 (clog_test): Likewise.
22075 (clog10_test): Likewise.
22076 (cos_test): Likewise.
22077 (cos_test_tonearest): Likewise.
22078 (cos_test_towardzero): Likewise.
22079 (cos_test_downward): Likewise.
22080 (cos_test_upward): Likewise.
22081 (cosh_test): Likewise.
22082 (cosh_test_tonearest): Likewise.
22083 (cosh_test_towardzero): Likewise.
22084 (cosh_test_downward): Likewise.
22085 (cosh_test_upward): Likewise.
22086 (cpow_test): Likewise.
22087 (csin_test): Likewise.
22088 (csinh_test): Likewise.
22089 (csqrt_test): Likewise.
22090 (ctan_test): Likewise.
22091 (ctan_test_tonearest): Likewise.
22092 (ctan_test_towardzero): Likewise.
22093 (ctan_test_downward): Likewise.
22094 (ctan_test_upward): Likewise.
22095 (ctanh_test): Likewise.
22096 (ctanh_test_tonearest): Likewise.
22097 (ctanh_test_towardzero): Likewise.
22098 (ctanh_test_downward): Likewise.
22099 (ctanh_test_upward): Likewise.
22100 (erf_test): Likewise.
22101 (erfc_test): Likewise.
22102 (exp_test): Likewise.
22103 (exp_test_tonearest): Likewise.
22104 (exp_test_towardzero): Likewise.
22105 (exp_test_downward): Likewise.
22106 (exp_test_upward): Likewise.
22107 (exp10_test): Likewise.
22108 (exp2_test): Likewise.
22109 (expm1_test): Likewise.
22110 (fmod_test): Likewise.
22111 (gamma_test): Likewise.
22112 (hypot_test): Likewise.
22113 (j0_test): Likewise.
22114 (j1_test): Likewise.
22115 (jn_test): Likewise.
22116 (lgamma_test): Likewise.
22117 (log_test): Likewise.
22118 (log10_test): Likewise.
22119 (log1p_test): Likewise.
22120 (log2_test): Likewise.
22121 (logb_test_downward): Likewise.
22122 (pow_test): Likewise.
22123 (pow_test_tonearest): Likewise.
22124 (pow_test_towardzero): Likewise.
22125 (pow_test_downward): Likewise.
22126 (pow_test_upward): Likewise.
22127 (remainder_test): Likewise.
22128 (remquo_test): Likewise.
22129 (sin_test): Likewise.
22130 (sin_test_tonearest): Likewise.
22131 (sin_test_towardzero): Likewise.
22132 (sin_test_downward): Likewise.
22133 (sin_test_upward): Likewise.
22134 (sincos_test): Likewise.
22135 (sinh_test): Likewise.
22136 (sinh_test_tonearest): Likewise.
22137 (sinh_test_towardzero): Likewise.
22138 (sinh_test_downward): Likewise.
22139 (sinh_test_upward): Likewise.
22140 (sqrt_test): Likewise.
22141 (tan_test): Likewise.
22142 (tan_test_tonearest): Likewise.
22143 (tan_test_towardzero): Likewise.
22144 (tan_test_downward): Likewise.
22145 (tan_test_upward): Likewise.
22146 (tanh_test): Likewise.
22147 (tgamma_test): Likewise.
22148 (y0_test): Likewise.
22149 (y1_test): Likewise.
22150 (yn_test): Likewise.
22151
323e5cb7
JM
22152 * math/gen-libm-test.pl (adjust_arg): Remove function.
22153 (special_function): Remove argument $in_func. Only handle
22154 generating output for tables of tests, not inside functions.
22155 (parse_args): Likewise.
22156 (generate_testfile): Remove variable $in_func. Update call to
22157 parse_args.
22158 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
22159 (MINUS_ZERO_INIT): Rename macro to minus_zero.
22160 (PLUS_INFTY_INIT): Rename macro to plus_infty.
22161 (MINUS_INFTY_INIT): Rename macro to minus_infty.
22162 (QNAN_VALUE_INIT): Rename macro to qnan_value.
22163 (MAX_VALUE_INIT): Rename macro to max_value.
22164 (MIN_VALUE_INIT): Rename macro to min_value.
22165 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
22166 (plus_zero): Remove variable.
22167 (minus_zero): Likewise.
22168 (plus_infty): Likewise.
22169 (minus_infty): Likewise.
22170 (qnan_value): Likewise.
22171 (max_value): Likewise.
22172 (min_value): Likewise.
22173 (min_subnorm_value): Likewise.
22174
e054f494
RA
221752013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
22176
22177 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
22178 uint64_t or uint32_t usage.
22179 * crypt/sha256-block.c: Likewise.
22180 * crypt/sha256-crypt.c: Likewise.
22181 * crypt/sha256.c: Likewise.
22182 * crypt/sha512-block.c: Likewise.
22183 * crypt/sha512-crypt.c: Likewise.
22184 * crypt/sha512.c: Likewise.
22185 * debug/backtrace-tst.c: Likewise.
22186 * debug/pcprofiledump.c: Likewise.
22187 * elf/cache.c: Likewise.
22188 * elf/dl-cache.c: Likewise.
22189 * elf/dl-misc.c: Likewise.
22190 * elf/dl-profile.c: Likewise.
22191 * elf/dl-support.c: Likewise.
22192 * elf/ldconfig.c: Likewise.
22193 * elf/sprof.c: Likewise.
22194 * iconv/dummy-repertoire.c: Likewise.
22195 * iconv/iconv_charmap.c: Likewise.
22196 * iconv/skeleton.c: Likewise.
22197 * iconvdata/8bit-generic.c: Likewise.
22198 * iconvdata/cp737.h: Likewise.
22199 * iconvdata/cp775.h: Likewise.
22200 * iconvdata/ibm1008.h: Likewise.
22201 * iconvdata/ibm1025.h: Likewise.
22202 * iconvdata/ibm1046.h: Likewise.
22203 * iconvdata/ibm1097.h: Likewise.
22204 * iconvdata/ibm1112.h: Likewise.
22205 * iconvdata/ibm1122.h: Likewise.
22206 * iconvdata/ibm1123.h: Likewise.
22207 * iconvdata/ibm1124.h: Likewise.
22208 * iconvdata/ibm1129.h: Likewise.
22209 * iconvdata/ibm1130.h: Likewise.
22210 * iconvdata/ibm1132.h: Likewise.
22211 * iconvdata/ibm1133.h: Likewise.
22212 * iconvdata/ibm1137.h: Likewise.
22213 * iconvdata/ibm1140.h: Likewise.
22214 * iconvdata/ibm1141.h: Likewise.
22215 * iconvdata/ibm1142.h: Likewise.
22216 * iconvdata/ibm1143.h: Likewise.
22217 * iconvdata/ibm1144.h: Likewise.
22218 * iconvdata/ibm1145.h: Likewise.
22219 * iconvdata/ibm1146.h: Likewise.
22220 * iconvdata/ibm1147.h: Likewise.
22221 * iconvdata/ibm1148.h: Likewise.
22222 * iconvdata/ibm1149.h: Likewise.
22223 * iconvdata/ibm1153.h: Likewise.
22224 * iconvdata/ibm1154.h: Likewise.
22225 * iconvdata/ibm1155.h: Likewise.
22226 * iconvdata/ibm1156.h: Likewise.
22227 * iconvdata/ibm1157.h: Likewise.
22228 * iconvdata/ibm1158.h: Likewise.
22229 * iconvdata/ibm1160.h: Likewise.
22230 * iconvdata/ibm1161.h: Likewise.
22231 * iconvdata/ibm1162.h: Likewise.
22232 * iconvdata/ibm1163.h: Likewise.
22233 * iconvdata/ibm1164.h: Likewise.
22234 * iconvdata/ibm1166.h: Likewise.
22235 * iconvdata/ibm1167.h: Likewise.
22236 * iconvdata/ibm12712.h: Likewise.
22237 * iconvdata/ibm1390.h: Likewise.
22238 * iconvdata/ibm1399.h: Likewise.
22239 * iconvdata/ibm16804.h: Likewise.
22240 * iconvdata/ibm4517.h: Likewise.
22241 * iconvdata/ibm4899.h: Likewise.
22242 * iconvdata/ibm4909.h: Likewise.
22243 * iconvdata/ibm4971.h: Likewise.
22244 * iconvdata/ibm5347.h: Likewise.
22245 * iconvdata/ibm803.h: Likewise.
22246 * iconvdata/ibm856.h: Likewise.
22247 * iconvdata/ibm901.h: Likewise.
22248 * iconvdata/ibm902.h: Likewise.
22249 * iconvdata/ibm9030.h: Likewise.
22250 * iconvdata/ibm9066.h: Likewise.
22251 * iconvdata/ibm921.h: Likewise.
22252 * iconvdata/ibm922.h: Likewise.
22253 * iconvdata/ibm9448.h: Likewise.
22254 * iconvdata/isiri-3342.h: Likewise.
22255 * iconvdata/jis0201.h: Likewise.
22256 * include/link.h: Likewise.
22257 * include/netdb.h: Likewise.
22258 * inet/check_native.c: Likewise.
22259 * inet/check_pf.c: Likewise.
22260 * inet/getipv4sourcefilter.c: Likewise.
22261 * inet/getnameinfo.c: Likewise.
22262 * inet/getsourcefilter.c: Likewise.
22263 * inet/htonl.c: Likewise.
22264 * inet/setipv4sourcefilter.c: Likewise.
22265 * inet/setsourcefilter.c: Likewise.
22266 * inet/test-inet6_opt.c: Likewise.
22267 * inet/tst-network.c: Likewise.
22268 * locale/C-collate.c: Likewise.
22269 * locale/C-ctype.c: Likewise.
22270 * locale/C-time.c: Likewise.
22271 * locale/C-translit.h: Likewise.
22272 * locale/loadarchive.c: Likewise.
22273 * locale/programs/3level.h: Likewise.
22274 * locale/programs/charmap.c: Likewise.
22275 * locale/programs/charmap.h: Likewise.
22276 * locale/programs/ld-address.c: Likewise.
22277 * locale/programs/ld-collate.c: Likewise.
22278 * locale/programs/ld-ctype.c: Likewise.
22279 * locale/programs/ld-identification.c: Likewise.
22280 * locale/programs/ld-measurement.c: Likewise.
22281 * locale/programs/ld-messages.c: Likewise.
22282 * locale/programs/ld-monetary.c: Likewise.
22283 * locale/programs/ld-name.c: Likewise.
22284 * locale/programs/ld-numeric.c: Likewise.
22285 * locale/programs/ld-paper.c: Likewise.
22286 * locale/programs/ld-telephone.c: Likewise.
22287 * locale/programs/ld-time.c: Likewise.
22288 * locale/programs/linereader.c: Likewise.
22289 * locale/programs/locale.c: Likewise.
22290 * locale/programs/locarchive.c: Likewise.
22291 * locale/programs/locfile.h: Likewise.
22292 * locale/programs/repertoire.c: Likewise.
22293 * locale/programs/simple-hash.c: Likewise.
22294 * locale/programs/simple-hash.h: Likewise.
22295 * malloc/memusage.c: Likewise.
22296 * malloc/memusagestat.c: Likewise.
22297 * nis/nis_defaults.c: Likewise.
22298 * nis/nis_hash.c: Likewise.
22299 * nis/nis_print.c: Likewise.
22300 * nis/nis_xdr.c: Likewise.
22301 * nscd/connections.c: Likewise.
22302 * nscd/hstcache.c: Likewise.
22303 * nscd/nscd_gethst_r.c: Likewise.
22304 * nscd/nscd_getserv_r.c: Likewise.
22305 * nscd/nscd_helper.c: Likewise.
22306 * nscd/servicescache.c: Likewise.
22307 * nss/makedb.c: Likewise.
22308 * nss/nss_db/db-XXX.c: Likewise.
22309 * nss/nss_db/db-initgroups.c: Likewise.
22310 * nss/nss_db/db-netgrp.c: Likewise.
22311 * nss/nss_files/files-network.c: Likewise.
22312 * nss/nss_files/files-parse.c: Likewise.
22313 * posix/bug-regex5.c: Likewise.
22314 * posix/fnmatch_loop.c: Likewise.
22315 * posix/regcomp.c: Likewise.
22316 * posix/regexec.c: Likewise.
22317 * posix/tst-rfc3484-2.c: Likewise.
22318 * posix/tst-rfc3484-3.c: Likewise.
22319 * posix/tst-rfc3484.c: Likewise.
22320 * resolv/nss_dns/dns-canon.c: Likewise.
22321 * resolv/nss_dns/dns-network.c: Likewise.
22322 * resolv/res_init.c: Likewise.
22323 * resolv/res_mkquery.c: Likewise.
22324 * resolv/tst-aton.c: Likewise.
22325 * stdlib/cxa_atexit.c: Likewise.
22326 * stdlib/cxa_finalize.c: Likewise.
22327 * stdlib/gen-fpioconst.c: Likewise.
22328 * stdlib/strtol_l.c: Likewise.
22329 * string/tst-endian.c: Likewise.
22330 * sunrpc/auth_des.c: Likewise.
22331 * sunrpc/clnt_udp.c: Likewise.
22332 * sunrpc/rtime.c: Likewise.
22333 * sunrpc/svcauth_des.c: Likewise.
22334 * sunrpc/xdr.c: Likewise.
22335 * sunrpc/xdr_intXX_t.c: Likewise.
22336 * sunrpc/xdr_rec.c: Likewise.
22337 * sysdeps/generic/ldconfig.h: Likewise.
22338 * sysdeps/generic/ldsodefs.h: Likewise.
22339 * sysdeps/generic/memusage.h: Likewise.
22340 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
22341 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
22342 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
22343 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
22344 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
22345 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
22346 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
22347 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
22348 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
22349 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
22350 * sysdeps/posix/getaddrinfo.c: Likewise.
22351 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
22352 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
22353 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
22354 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
22355 * sysdeps/powerpc/test-gettimebase.c: Likewise.
22356 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
22357 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
22358 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
22359 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
22360 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
22361 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
22362 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
22363 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
22364 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
22365 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
22366 * sysdeps/x86_64/dl-tls.h: Likewise.
22367 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
22368 * time/alt_digit.c: Likewise.
22369 * time/era.c: Likewise.
22370 * wcsmbs/tst-c16c32-1.c: Likewise.
22371
8c75f674
JM
223722013-05-16 Joseph Myers <joseph@codesourcery.com>
22373
22374 * math/libm-test.inc (struct test_sincos_data): New type.
22375 (RUN_TEST_LOOP_sincos): New macro.
22376 (sincos_test_data): New variable.
22377 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
22378
e6e49e59
RH
223792013-05-16 Richard Henderson <rth@redhat.com>
22380
22381 * math/atest-exp2.c (LIMB64): New macro.
22382 (CONSTSZ): New macro.
22383 (mp_exp1, mp_exp_m1, mp_log2): New variables.
22384 (hexdig): Move ...
22385 (print_mpn_fp): ... to function scope.
22386 (read_mpn_hex): Remove.
22387 (get_log2): Remove.
22388 (exp2_mpn): Use mp_log2.
22389 (main): Use mp_exp1.
22390
15c7c18d
JM
223912013-05-16 Joseph Myers <joseph@codesourcery.com>
22392
105a07df
JM
22393 * math/libm-test.inc: Remove comment about not testing "inexact"
22394 exceptions.
22395 (INEXACT_EXCEPTION): New macro.
22396 (NO_INEXACT_EXCEPTION): Likewise.
22397 (INVALID_EXCEPTION_OK): Update value.
22398 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
22399 (OVERFLOW_EXCEPTION_OK): Likewise.
22400 (UNDERFLOW_EXCEPTION_OK): Likewise.
22401 (IGNORE_ZERO_INF_SIGN): Likewise.
22402 (ERRNO_UNCHANGED): Likewise.
22403 (ERRNO_EDOM): Likewise.
22404 (ERRNO_ERANGE): Likewise.
22405 (test_exceptions): Handle testing "inexact" exceptions.
22406 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
22407 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
22408 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
22409 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
22410 INEXACT_EXCEPTION.
22411 (rint_towardzero_test_data): Likewise.
22412 (rint_downward_test_data): Likewise.
22413 (rint_upward_test_data): Likewise.
22414
e9eee333
JM
22415 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
22416 with OVERFLOW_EXCEPTION.
22417 (exp10_test_data): Likewise.
22418 (exp2_test_data): Likewise.
22419 (expm1_test_data): Likewise.
22420 (lgamma_test_data): Likewise.
22421 (pow_test_data): Likewise.
22422 (tgamma_test_data): Likewise.
22423 (yn_test_data): Remove duplicate test of overflow.
22424
1c38ff73
JM
22425 * math/libm-test.inc (struct test_cc_c_data): New type.
22426 (RUN_TEST_LOOP_cc_c): New macro.
22427 (cpow_test_data): New variable.
22428 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
22429
15c7c18d
JM
22430 * math/libm-test.inc (struct test_f_L_data): New type.
22431 (RUN_TEST_LOOP_f_L): New macro.
22432 (llrint_test_data): New variable.
22433 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
22434 (llrint_tonearest_test_data): New variable.
22435 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
22436 (llrint_towardzero_test_data): New variable.
22437 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
22438 (llrint_downward_test_data): New variable.
22439 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
22440 (llrint_upward_test_data): New variable.
22441 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
22442 (llround_test_data): New variable.
22443 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
22444
f137ff13
PC
224452013-05-13 Peter Collingbourne <pcc@google.com>
22446
22447 * math/atest-exp2.c (get_log2): Remove const attribute.
22448
3608cb24
JM
224492013-05-15 Joseph Myers <joseph@codesourcery.com>
22450
22451 * math/libm-test.inc (struct test_f_l_data): New type.
22452 (RUN_TEST_LOOP_f_l): New macro.
22453 (lrint_test_data): New variable.
22454 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
22455 (lrint_tonearest_test_data): New variable.
22456 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
22457 (lrint_towardzero_test_data): New variable.
22458 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
22459 (lrint_downward_test_data): New variable.
22460 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
22461 (lrint_upward_test_data): New variable.
22462 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
22463 (lround_test_data): New variable.
22464 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
22465
39b1f617
PC
224662013-05-15 Peter Collingbourne <pcc@google.com>
22467
1deff3dc
PC
22468 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
22469 (EXTRACT_WORDS64) Use where appropriate.
22470 (INSERT_WORDS64) Likewise.
22471
791f3ba0
PC
22472 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
22473 constraints with x constraints.
22474 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
22475
39b1f617
PC
22476 * malloc/obstack.c (_obstack_compat): Add initializer.
22477
12fba011
EM
224782013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
22479
22480 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
22481 si_trapno and add si_addr_lsb to _sifields.sigfault.
22482 (si_trapno): Remove macro.
22483 (si_addr_lsb): Define new macro.
22484 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
22485
d369f531
JM
224862013-05-15 Joseph Myers <joseph@codesourcery.com>
22487
b861c6c4
JM
22488 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
22489 instead of TEST_f_l.
22490 (llrint_test_tonearest): Likewise.
22491 (llrint_test_towardzero): Likewise.
22492 (llrint_test_downward): Likewise.
22493 (llrint_test_upward): Likewise.
22494 (llround_test): Likewise.
22495
7abeee12
JM
22496 * math/libm-test.inc (struct test_f_i_data): Add comment.
22497 (RUN_TEST_LOOP_f_b): New macro.
22498 (RUN_TEST_LOOP_f_b_tg): Likewise.
22499 (finite_test_data): New variable.
22500 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
22501 (isfinite_test_data): New variable.
22502 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
22503 (isinf_test_data): New variable.
22504 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
22505 (isnan_test_data): New variable.
22506 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
22507 (isnormal_test_data): New variable.
22508 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
22509 (issignaling_test_data): New variable.
22510 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
22511 (signbit_test_data): New variable.
22512 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
22513
cbe8c4d3
JM
22514 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
22515 with INVALID_EXCEPTION.
22516 (acosh_test_data): Likewise.
22517 (asin_test_data): Likewise.
22518 (atanh_test_data): Likewise.
22519 (fmod_test_data): Likewise.
22520 (log_test_data): Likewise.
22521 (log10_test_data): Likewise.
22522 (log2_test_data): Likewise.
22523 (pow_test_data): Likewise.
22524 (sqrt_test_data): Likewise.
22525 (y0_test_data): Likewise.
22526 (y1_test_data): Likewise.
22527 (yn_test_data): Likewise.
22528
5575c0e5
JM
22529 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
22530 function contents.
22531
d369f531
JM
22532 * math/libm-test.inc (struct test_ff_i_data): New type.
22533 (RUN_TEST_LOOP_ff_i_tg): New macro.
22534 (isgreater_test_data): New variable.
22535 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
22536 (isgreaterequal_test_data): New variable.
22537 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
22538 (isless_test_data): New variable.
22539 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
22540 (islessequal_test_data): New variable.
22541 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
22542 (islessgreater_test_data): New variable.
22543 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
22544 (isunordered_test_data): New variable.
22545 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
22546
781fd748
DM
225472013-05-14 David S. Miller <davem@davemloft.net>
22548
22549 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22550
87aa21df
JM
225512013-05-14 Joseph Myers <joseph@codesourcery.com>
22552
5e908270
JM
22553 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
22554
f71172e5
JM
22555 * math/libm-test.inc (struct test_fF_f1_data): Change type of
22556 extra_test to int.
22557 (struct test_f_i_data): Change type of max_ulp to int.
22558
8cfa635a
JM
22559 * math/libm-test.inc (test_ffI_f1_data): New type.
22560 (RUN_TEST_LOOP_ffI_f1): New macro.
22561 (remquo_test_data): New variable.
22562 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
22563
2bcb36b2
JM
22564 * setjmp/tst-setjmp-fp.c: New file.
22565 * setjmp/Makefile (tests): Add tst-setjmp-fp.
22566 (link-libm): New variable.
22567 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
22568
acbd839a
JM
22569 * math/libm-test.inc (struct test_f_i_data): New type.
22570 (RUN_TEST_LOOP_f_i): New macro.
22571 (RUN_TEST_LOOP_f_i_tg): Likewise.
22572 (fpclassify_test_data): New variable.
22573 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
22574 (ilogb_test_data): New variable.
22575 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
22576
e414d745
JM
22577 * math/libm-test.inc (scalbln_test): Correct function name in END
22578 call.
22579
d9c2a0fd
JM
22580 * math/libm-test.inc (struct test_f_f1_data): Add comment.
22581 (RUN_TEST_LOOP_fI_f1): New macro.
22582 (frexp_test_data): New variable.
22583 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
22584
9dc9095d
JM
22585 * math/libm-test.inc (struct test_fF_f1_data): New type.
22586 (RUN_TEST_LOOP_fF_f1): New macro.
22587 (modf_test_data): New variable.
22588 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
22589
87aa21df
JM
22590 * math/libm-test.inc (struct test_f_f1_data): New type.
22591 (RUN_TEST_LOOP_f_f1): New macro.
22592 (gamma_test_data): New variable.
22593 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
22594 (lgamma_test_data): New variable.
22595 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
22596
141af660
CD
225972013-05-13 Carlos O'Donell <carlos@redhat.com>
22598
22599 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
22600 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
22601 (main): Comment "tls" pseudo-hwcap.
22602
6d33265c
JM
226032013-05-13 Joseph Myers <joseph@codesourcery.com>
22604
68fc074c
JM
22605 * math/libm-test.inc (struct test_fl_f_data): New type.
22606 (RUN_TEST_LOOP_fl_f): New variable.
22607 (scalbln_test_data): New variable.
22608 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
22609
243216e1
JM
22610 * math/libm-test.inc (struct test_fi_f_data): New type.
22611 (RUN_TEST_LOOP_fi_f): New macro.
22612 (ldexp_test_data): New variable.
22613 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
22614 (scalbn_test_data): New variable.
22615 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
22616
6a1992e2
JM
22617 * math/libm-test.inc (struct test_c_f_data): New type.
22618 (RUN_TEST_LOOP_c_f): New macro.
22619 (cabs_test_data): New variable.
22620 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
22621 (carg_test_data): New variable.
22622 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
22623 (cimag_test_data): New variable.
22624 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
22625 (creal_test_data): New variable.
22626 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
22627
0e400df5
JM
22628 * math/libm-test.inc (struct test_if_f_data): New type.
22629 (RUN_TEST_LOOP_if_f): New macro.
22630 (jn_test_data): New variable.
22631 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
22632 (yn_test_data): New variable.
22633 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
22634
6d33265c
JM
22635 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
22636
f98ece5f
AZ
226372013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22638
22639 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
22640 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
22641
0f7d347b
SP
226422013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
22643
43fe811b
SP
22644 * benchtests/Makefile (CPPFLAGS-nonlib): Add
22645 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
22646 (bench-deps): Add bench-timing.h.
22647 * benchtests-bench-skeleton.c: Include bench-timing.h.
22648 (main): Use TIMING_* macros instead of clock_gettime.
22649 * benchtests/bench-timing.h: New file.
22650
0f7d347b
SP
22651 [BZ #14582]
22652 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
22653 Renamed from _LIB_VERSION.
22654 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
22655
601a3a5f
JM
226562013-05-12 Joseph Myers <joseph@codesourcery.com>
22657
4f184d30
JM
22658 * math/libm-test.inc (struct test_fff_f_data): New type.
22659 (RUN_TEST_LOOP_fff_f): New macro.
22660 (fma_test_data): New variable.
22661 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
22662 (fma_towardzero_test_data): New variable.
22663 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
22664 (fma_downward_test_data): New variable.
22665 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
22666 (fma_upward_test_data): New variable.
22667 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
22668
08198877
JM
22669 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
22670 (struct test_c_c_data): New type.
22671 (RUN_TEST_LOOP_c_c): New macro.
22672 (cacos_test_data): New variable.
22673 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
22674 (cacosh_test_data): New variable.
22675 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
22676 (casin_test_data): New variable.
22677 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
22678 (casinh_test_data): New variable.
22679 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
22680 (catan_test_data): New variable.
22681 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
22682 (catanh_test_data): New variable.
22683 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
22684 (ccos_test_data): New variable.
22685 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
22686 (ccosh_test_data): New variable.
22687 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
22688 (cexp_test_data): New variable.
22689 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
22690 (clog_test_data): New variable.
22691 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
22692 (clog10_test_data): New variable.
22693 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
22694 (conj_test_data): New variable.
22695 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
22696 (cproj_test_data): New variable.
22697 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
22698 (csin_test_data): New variable.
22699 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
22700 (csinh_test_data): New variable.
22701 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
22702 (csqrt_test_data): New variable.
22703 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
22704 (ctan_test_data): New variable.
22705 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
22706 (ctan_tonearest_test_data): New variable.
22707 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
22708 (ctan_towardzero_test_data): New variable.
22709 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
22710 (ctan_downward_test_data): New variable.
22711 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
22712 (ctan_upward_test_data): New variable.
22713 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
22714 (ctanh_test_data): New variable.
22715 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
22716 (ctanh_tonearest_test_data): New variable.
22717 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
22718 (ctanh_towardzero_test_data): New variable.
22719 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
22720 (ctanh_downward_test_data): New variable.
22721 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
22722 (ctanh_upward_test_data): New variable.
22723 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
22724 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
22725 of BUILD_COMPLEX.
22726
601a3a5f
JM
22727 * math/libm-test.inc (struct test_ff_f_data): New type.
22728 (struct test_ff_f_data_nexttoward): Likewise.
22729 (RUN_TEST_LOOP_2_f): New macro.
22730 (RUN_TEST_LOOP_ff_f): Likewise.
22731 (atan2_test_data): New variable.
22732 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
22733 (copysign_test_data): New variable.
22734 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
22735 (fdim_test_data): New variable.
22736 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
22737 (fmax_test_data): New variable.
22738 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
22739 (fmin_test_data): New variable.
22740 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
22741 (fmod_test_data): New variable.
22742 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
22743 (hypot_test_data): New variable.
22744 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
22745 (nextafter_test_data): New variable.
22746 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
22747 (nexttoward_test_data): New variable.
22748 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
22749 (pow_test_data): New variable.
22750 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
22751 (pow_tonearest_test_data): New variable.
22752 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
22753 (pow_towardzero_test_data): New variable.
22754 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
22755 (pow_downward_test_data): New variable.
22756 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
22757 (pow_upward_test_data): New variable.
22758 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
22759 (remainder_test_data): New variable.
22760 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
22761 (scalb_test_data): New variable.
22762 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
22763 * sysdeps/i386/fpu/libm-test-ulps: Update.
22764
74c57478
JM
227652013-05-11 Joseph Myers <joseph@codesourcery.com>
22766
8329e4da
JM
22767 * math/libm-test.inc (fma_test): Use max_value instead of local
22768 variable fltmax.
22769 (nextafter_test): Likewise.
22770
74c57478
JM
22771 * math/libm-test.inc (acos_towardzero_test_data): New variable.
22772 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
22773 (acos_downward_test_data): New variable.
22774 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
22775 (acos_upward_test_data): New variable.
22776 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
22777 (acosh_test_data): New variable.
22778 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
22779 (asin_test_data): New variable.
22780 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
22781 (asin_tonearest_test_data): New variable.
22782 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
22783 (asin_towardzero_test_data): New variable.
22784 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
22785 (asin_downward_test_data): New variable.
22786 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
22787 (asin_upward_test_data): New variable.
22788 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
22789 (asinh_test_data): New variable.
22790 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
22791 (atan_test_data): New variable.
22792 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
22793 (atanh_test_data): New variable.
22794 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
22795 (cbrt_test_data): New variable.
22796 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
22797 (ceil_test_data): New variable.
22798 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
22799 (cos_test_data): New variable.
22800 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
22801 (cos_tonearest_test_data): New variable.
22802 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
22803 (cos_towardzero_test_data): New variable.
22804 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
22805 (cos_downward_test_data): New variable.
22806 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
22807 (cos_upward_test_data): New variable.
22808 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
22809 (cosh_test_data): New variable.
22810 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
22811 (cosh_tonearest_test_data): New variable.
22812 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
22813 (cosh_towardzero_test_data): New variable.
22814 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
22815 (cosh_downward_test_data): New variable.
22816 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
22817 (cosh_upward_test_data): New variable.
22818 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
22819 (erf_test_data): New variable.
22820 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
22821 (erfc_test_data): New variable.
22822 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
22823 (exp_test_data): New variable.
22824 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
22825 (exp_tonearest_test_data): New variable.
22826 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
22827 (exp_towardzero_test_data): New variable.
22828 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
22829 (exp_downward_test_data): New variable.
22830 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
22831 (exp_upward_test_data): New variable.
22832 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
22833 (exp10_test_data): New variable.
22834 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
22835 (exp2_test_data): New variable.
22836 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
22837 (expm1_test_data): New variable.
22838 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
22839 (fabs_test_data): New variable.
22840 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
22841 (floor_test_data): New variable.
22842 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
22843 (j0_test_data): New variable.
22844 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
22845 (j1_test_data): New variable.
22846 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
22847 (log_test_data): New variable.
22848 (log_test): Run tests with RUN_TEST_LOOP_f_f.
22849 (log10_test_data): New variable.
22850 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
22851 (log1p_test_data): New variable.
22852 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
22853 (log2_test_data): New variable.
22854 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
22855 (logb_test_data): New variable.
22856 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
22857 (logb_downward_test_data): New variable.
22858 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
22859 (nearbyint_test_data): New variable.
22860 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
22861 (rint_test_data): New variable.
22862 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
22863 (rint_tonearest_test_data): New variable.
22864 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
22865 (rint_towardzero_test_data): New variable.
22866 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
22867 (rint_downward_test_data): New variable.
22868 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
22869 (rint_upward_test_data): New variable.
22870 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
22871 (round_test_data): New variable.
22872 (round_test): Run tests with RUN_TEST_LOOP_f_f.
22873 (sin_test_data): New variable.
22874 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
22875 (sin_tonearest_test_data): New variable.
22876 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
22877 (sin_towardzero_test_data): New variable.
22878 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
22879 (sin_downward_test_data): New variable.
22880 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
22881 (sin_upward_test_data): New variable.
22882 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
22883 (sinh_test_data): New variable.
22884 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
22885 (sinh_tonearest_test_data): New variable.
22886 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
22887 (sinh_towardzero_test_data): New variable.
22888 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
22889 (sinh_downward_test_data): New variable.
22890 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
22891 (sinh_upward_test_data): New variable.
22892 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
22893 (sqrt_test_data): New variable.
22894 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
22895 (tan_test_data): New variable.
22896 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
22897 (tan_tonearest_test_data): New variable.
22898 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
22899 (tan_towardzero_test_data): New variable.
22900 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
22901 (tan_downward_test_data): New variable.
22902 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
22903 (tan_upward_test_data): New variable.
22904 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
22905 (tanh_test_data): New variable.
22906 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
22907 (tgamma_test_data): New variable.
22908 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
22909 (trunc_test_data): New variable.
22910 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
22911 (y0_test_data): New variable.
22912 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
22913 (y1_test_data): New variable.
22914 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
22915 (significand_test_data): New variable.
22916 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
22917
7187d844
CG
229182013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
22919
22920 [BZ #12387]
22921 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
22922
f63fae73
PT
229232013-05-10 Pino Toscano <toscano.pino@tiscali.it>
22924
22925 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
22926
8a67a4b3
AJ
229272013-05-10 Andreas Jaeger <aj@suse.de>
22928
22929 [BZ #15448]
22930 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
22931 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
22932
51df539d
JM
229332013-05-10 Joseph Myers <joseph@codesourcery.com>
22934
22935 * math/gen-libm-test.pl (adjust_arg): New function.
22936 (special_functions): Handle generating output in both functions
22937 and arrays.
22938 (parse_args): Likewise.
22939 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
22940 $in_func argument to parse_args.
22941 * math/libm-test.inc (struct test_f_f_data): New type.
22942 (IF_ROUND_INIT_): New macro.
22943 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
22944 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
22945 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
22946 (IF_ROUND_INIT_FE_UPWARD): Likewise.
22947 (ROUND_RESTORE_): Likewise.
22948 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
22949 (ROUND_RESTORE_FE_TONEAREST): Likewise.
22950 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
22951 (ROUND_RESTORE_FE_UPWARD): Likewise.
22952 (RUN_TEST_LOOP_f_f): New macro.
22953 (acos_test_data): New variable.
22954 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
22955 (acos_tonearest_test_data): New variable.
22956 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
22957
5c637fe5
SP
229582013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
22959
22960 * benchtests/bench-skeleton.c (startup): Fix coding style.
22961
ab2b9461
JM
229622013-05-10 Joseph Myers <joseph@codesourcery.com>
22963
22964 [BZ #6809]
22965 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
22966 negative infinity argument.
22967 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
22968 negative infinity argument.
22969 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
22970 negative infinity argument.
22971 * math/libm-test.inc (tgamma_test): Expect errno to be set for
22972 domain errors.
22973
4c0fe6fe
FW
229742013-05-10 Florian Weimer <fweimer@redhat.com>
22975
22976 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
22977 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
22978 * iconv/iconv_prog.c (main): Likewise.
22979 * locale/programs/charmap-dir.c (charmap_readdir)
22980 (fopen_uncompressed): Likewise.
22981 * locale/programs/locfile.c (siblings_uncached)
22982 (write_locale_data): Use lstat64 instead of lstat.
22983 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
22984 stat.
22985
a3375d29
AJ
229862013-05-10 Andreas Jaeger <aj@suse.de>
22987
22988 [BZ #15395]
22989 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
22990 localization.
22991 Include <locale.h>.
22992
36129722
CD
229932013-05-09 Carlos O'Donell <carlos@redhat.com>
22994
22995 * elf/dl-close.c (_dl_close_worker): Add comments.
22996
faa7f811
JM
229972013-05-09 Joseph Myers <joseph@codesourcery.com>
22998
ed41ffef
JM
22999 [BZ #15359]
23000 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
23001 high part of pi/2.
23002 (__ieee754_rem_pio2l): Update comments.
23003
d0213cd0
JM
23004 [BZ #15429]
23005 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
23006 high part of pi/2.
23007 (__ieee754_rem_pio2l): Update comments.
23008
0d3e777a
JM
23009 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
23010 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
23011
24f56066
JM
23012 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
23013 M_PI_4l.
23014
faa7f811
JM
23015 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
23016 (M_PI_34_LOG10El): Likewise.
23017 (M_PI2_LOG10El): Likewise.
23018 (M_PI4_LOG10El): Likewise.
23019 (M_PI_LOG10El): Likewise.
23020
e9a5e0fd
AZ
230212013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23022
23023 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23024
d8cd06db
JM
230252013-05-08 Joseph Myers <joseph@codesourcery.com>
23026
a0d9f9d7
JM
23027 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
23028 (MINUS_ZERO_INIT): Likewise.
23029 (PLUS_INFTY_INIT): Likewise.
23030 (MINUS_INFTY_INIT): Likewise.
23031 (QNAN_VALUE_INIT): Likewise.
23032 (MAX_VALUE_INIT): Likewise.
23033 (MIN_VALUE_INIT): Likewise.
23034 (MIN_SUBNORM_VALUE_INIT): Likewise.
23035 (plus_zero): Initialize with PLUS_ZERO_INIT.
23036 (minus_zero): Initialize with MINUS_ZERO_INIT.
23037 (plus_infty): Initialize with PLUS_INFTY_INIT.
23038 (minus_infty): Initialize with MINUS_INFTY_INIT.
23039 (qnan_value): Initialize with QNAN_VALUE_INIT.
23040 (max_value): Initialize with MAX_VALUE_INIT.
23041 (min_value): Initialize with MIN_VALUE_INIT.
23042 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
23043
ae08db3b
JM
23044 * math/libm-test.inc (RUN_TEST_if_f): New macro.
23045 (jn_test): Use TEST_if_f instead of TEST_ff_f.
23046 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
23047 (yn_test): Use TEST_if_f instead of TEST_ff_f.
23048
f44bf14a
JM
23049 * math/libm-test.inc (RUN_TEST_f_f): New macro.
23050 (RUN_TEST_2_f): Likewise.
23051 (RUN_TEST_ff_f): Likewise.
23052 (RUN_TEST_fi_f): Likewise.
23053 (RUN_TEST_fl_f): Likewise.
23054 (RUN_TEST_fff_f): Likewise.
23055 (RUN_TEST_c_f): Likewise.
23056 (RUN_TEST_f_f1): Likewise.
23057 (RUN_TEST_fF_f1): Likewise.
23058 (RUN_TEST_fI_f1): Likewise.
23059 (RUN_TEST_ffI_f1): Likewise.
23060 (RUN_TEST_c_c): Likewise.
23061 (RUN_TEST_cc_c): Likewise.
23062 (RUN_TEST_f_i): Likewise.
23063 (RUN_TEST_f_i_tg): Likewise.
23064 (RUN_TEST_ff_i_tg): Likewise.
23065 (RUN_TEST_f_b): Likewise.
23066 (RUN_TEST_f_b_tg): Likewise.
23067 (RUN_TEST_f_l): Likewise.
23068 (RUN_TEST_f_L): Likewise.
23069 (RUN_TEST_sincos): Likewise.
23070 * math/gen-libm-test.pl (new_test): Take new argument to indicate
23071 whether to show exceptions. Do not include ");\n" in return
23072 value.
23073 (special_functions): Output call to RUN_TEST_sincos instead of
23074 check_float calls. Update calls to new_test.
23075 (parse_args): Output call to single RUN_TEST_* macro instead of
23076 check_* calls and other assignments. Update calls to new_test.
23077
d8cd06db
JM
23078 [BZ #2546]
23079 [BZ #2560]
23080 [BZ #5159]
23081 [BZ #15426]
23082 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
23083 input to result for tgamma overflow.
23084 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
23085 (gamma_coeff): New variable.
23086 (NCOEFF): New macro.
23087 (gamma_positive): New function.
23088 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
23089 underflow here. Use gamma_positive instead of exp (lgamma) for
23090 other arguments.
23091 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
23092 (gamma_coeff): New variable.
23093 (NCOEFF): New macro.
23094 (gammaf_positive): New function.
23095 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
23096 underflow here. Use gamma_positive instead of exp (lgamma) for
23097 other arguments.
23098 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
23099 (gamma_coeff): New variable.
23100 (NCOEFF): New macro.
23101 (gammal_positive): New function.
23102 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
23103 underflow here. Use gamma_positive instead of exp (lgamma) for
23104 other arguments.
23105 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
23106 (gamma_coeff): New variable.
23107 (NCOEFF): New macro.
23108 (gammal_positive): New function.
23109 (__ieee754_gammal_r): Handle positive infinity, overflow and
23110 underflow here. Handle NaN the same as positive infinity. Remove
23111 check x < 0xffffffff for negative integers. Use gamma_positive
23112 instead of exp (lgamma) for other arguments.
23113 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
23114 (gamma_coeff): New variable.
23115 (NCOEFF): New macro.
23116 (gammal_positive): New function.
23117 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
23118 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
23119 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
23120 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
23121 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
23122 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
23123 * sysdeps/generic/math_private.h (__gamma_productf): New
23124 prototype.
23125 (__gamma_product): Likewise.
23126 (__gamma_productl): Likewise.
23127 * math/Makefile (libm-calls): Add gamma_product.
23128 * math/libm-test.inc (tgamma_test): Add more tests.
23129 * sysdeps/i386/fpu/libm-test-ulps: Update.
23130 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23131
bb7cf681
OB
231322013-05-08 Ondřej Bílka <neleai@seznam.cz>
23133
23134 * benchtests/bench-skeleton.c (main): Preheat CPU.
23135
ba853947
AJ
231362013-05-07 Aurelien Jarno <aurelien@aurel32.net>
23137
23138 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
23139
8347c74c
RM
231402013-05-07 Roland McGrath <roland@hack.frob.com>
23141
23142 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
23143 and _dl_skip_args_internal.
23144
e8dd4791
CD
231452013-05-07 Carlos O'Donell <carlos@redhat.com>
23146
23147 * manual/message.texi (Message Translation): Talk about users.
23148 Message to key mapping impacts design.
23149
c7405830
RM
231502013-05-06 Roland McGrath <roland@hack.frob.com>
23151
a9173057
RM
23152 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
23153
976e2f03
RM
23154 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
23155
9723ffc5
RM
23156 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
23157 * sysdeps/wordsize-64/glob64.c: ... here.
23158
962e6658
RM
23159 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
23160 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
23161 New macros.
23162
ee586a6d
RM
23163 * debug/getlogin_r_chk.c: Moved to ...
23164 * login/getlogin_r_chk.c: ... here.
23165 * debug/Makefile (routines): Move getlogin_r_chk to ...
23166 * login/Makefile (routines): ... here.
23167 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
23168 * login/Versions (libc: GLIBC_2.4): ... here.
23169
355f9165
RM
23170 * io/poll.c (__poll): Renamed from poll.
23171 Add libc_hidden_def.
23172 (poll): Define as weak alias.
23173
bd9ffde6
RM
23174 * debug/ptsname_r_chk.c: Moved to ...
23175 * login/ptsname_r_chk.c: ... here.
23176 * debug/Makefile (routines): Move ptsname_r_chk to ...
23177 * login/Makefile (routines): ... here.
23178 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
23179 * login/Versions (libc: GLIBC_2.4): ... here.
23180
8fb16a04
RM
23181 * posix/getlogin.c: Moved to ...
23182 * login/getlogin.c: ... here.
23183 * posix/getlogin_r.c: Moved to ...
23184 * login/getlogin_r.c: ... here.
23185 * posix/getlogin_r.c: Moved to ...
23186 * login/getlogin_r.c: ... here.
23187 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
23188 * login/Makefile (routines): ... here.
23189 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
23190 * login/Versions (libc: GLIBC_2.0): ... here.
23191
b99b892f
RM
23192 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
23193 (setrlimit): Define as weak alias.
23194
c7405830
RM
23195 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
23196 Call __ names for open, ftruncate, and close.
23197 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
23198 (truncate): Define as weak alias.
23199
5bf96de5
JM
232002013-05-06 Joseph Myers <joseph@codesourcery.com>
23201
9ea3513c
JM
23202 * math/gen-libm-test.pl (parse_args): Initialize x before each
23203 test of frexp, modf and remquo.
23204
5bf96de5
JM
23205 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
23206 test signgam value.
23207
16e616a7
AZ
232082013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23209
23210 [BZ #15418]
23211 [BZ #15419]
23212 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
23213 internal tests.
23214 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
23215
d5e82754
RM
232162013-05-06 Roland McGrath <roland@hack.frob.com>
23217
23218 * elf/dl-writev.h: New file.
23219 * elf/dl-misc.c: Include it.
23220 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
23221 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
23222
a7548d41
JM
232232013-05-04 Joseph Myers <joseph@codesourcery.com>
23224
b7dab1e4
JM
23225 * math/libm-test.inc (noXFails): Remove variable.
23226 (noXPasses): Likewise.
23227 (BUILD_COMPLEX_INT): Remove macro.
23228 (print_screen): Remove xfail argument.
23229 (print_screen_max_error): Likewise.
23230 (update_stats): Likewise.
23231 (print_max_error): Likewise. Update calls to other affected
23232 functions.
23233 (print_complex_max_error): Likewise.
23234 (test_single_exception): Update calls to print_screen.
23235 (test_single_errno): Likewise.
23236 (check_float_internal): Remove xfail argument. Update calls to
23237 other affected functions.
23238 (check_float): Likewise.
23239 (check_complex): Likewise.
23240 (check_int): Likewise.
23241 (check_long): Likewise.
23242 (check_bool): Likewise.
23243 (check_longlong): Likewise.
23244 (main): Don't print noXFails and noXPasses.
23245 * math/gen-libm-test.pl (top level): Don't mention expected
23246 failure handling in comment.
23247 (new_test): Don't handle expected failures.
23248 (parse_args): Don't mention expected failure handling in comment.
23249 (generate_testfile): Don't handle expected failures.
23250 (parse_ulps): Likewise.
23251 (print_ulps_file): Likewise.
23252 (get_failure): Remove function.
23253 (output_test): Don't handle expected failures.
23254 * make/README.libm-test: Don't mention expected failure handling.
23255
a7548d41
JM
23256 * math/libm-test.inc (plus_zero): Make const. Add initializer.
23257 (minus_zero): Likewise.
23258 (plus_infty): Likewise.
23259 (minus_infty): Likewise.
23260 (qnan_value): Likewise.
23261 (max_value): Likewise.
23262 (min_value): Likewise.
23263 (min_subnorm_value): Likewise.
23264 (initialize): Do not initialize those variables dynamically.
23265
60bfd54c
RM
232662013-05-03 Roland McGrath <roland@hack.frob.com>
23267
cc0e6ed8
RM
23268 * io/open.c (__open_2): Moved to ...
23269 * io/open_2.c: ... this new file.
23270 * io/open64.c (__open64_2): Moved to ...
23271 * io/open64_2.c: ... this new file.
23272 * io/openat.c (__openat_2): Moved to ...
23273 * io/openat_2.c: ... this new file.
23274 * io/openat64.c (__openat64_2): Moved to ...
23275 * io/openat64_2.c: ... this new file.
23276 * io/Makefile (routines): Add them.
23277 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
23278 * sysdeps/unix/sysv/linux/open_2.c: File removed.
23279 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
23280 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
23281 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
23282 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
23283 (__openat64): Add hidden_ver.
23284 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
23285 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
23286
60bfd54c
RM
23287 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
23288 Separately conditionalize setting of GLRO(dl_sysinfo) so
23289 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
23290 as well, but the actual setting is only under [NEED_DL_SYSINFO].
23291
83e7640f
AZ
232922013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23293
23294 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
23295 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
23296 definition.
23297 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
23298 * sysdeps/unix/sysv/linux/powerpc/init-first.c
23299 (_libc_vdso_platform_setup): Add __vdso_time initialization.
23300 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
23301 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
23302
d5dc2af3
JM
233032013-05-03 Joseph Myers <joseph@codesourcery.com>
23304
c31a5b1e
JM
23305 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
23306 test signgam value.
23307
d5dc2af3
JM
23308 * math/libm-test.inc (hypot_test): Do not use
23309 IGNORE_ZERO_INF_SIGN.
23310
164fd39d
AJ
233112013-05-03 Andreas Jaeger <aj@suse.de>
23312
23313 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
23314 Linux 3.9.
23315 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
23316 (PF_MAX): Adjust for VSOCK change.
23317
8237f48c
AZ
233182013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23319
23320 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23321
9df02941
CD
233222013-05-02 Carlos O'Donell <carlos@redhat.com>
23323
23324 [BZ #15264]
23325 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
23326 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
23327 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
23328
d422395e
DM
233292013-05-02 David S. Miller <davem@davemloft.net>
23330
23331 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23332
a07c5731
OB
233332013-05-01 Ondřej Bílka <neleai@seznam.cz>
23334
23335 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
23336
1324e37f
RM
233372013-05-01 Roland McGrath <roland@hack.frob.com>
23338
23339 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
23340
0695940b
RS
233412013-05-01 Richard Smith <richard@metafoo.co.uk>
23342
bb5f27ad 23343 [BZ #14952]
0695940b
RS
23344 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
23345 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
23346 Use __attribute__ ((__gnu_inline__)).
23347 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
23348 Don't use __attribute__ ((__gnu_inline__)).
23349
10de07f5
JM
233502013-05-01 Joseph Myers <joseph@codesourcery.com>
23351
23352 [BZ #15423]
23353 * math/s_catan.c (__catan): Handle small real or imaginary part of
23354 input specially to avoid spurious underflow.
23355 * math/s_catanf.c (__catanf): Likewise.
23356 * math/s_catanh.c (__catanh): Likewise.
23357 * math/s_catanhf.c (__catanhf): Likewise.
23358 * math/s_catanhl.c (__catanhl): Likewise.
23359 * math/s_catanl.c (__catanl): Likewise.
23360 * math/libm-test.inc (catan_test): Add more tests.
23361 (catanh_test): Likewise.
23362 * sysdeps/i386/fpu/libm-test-ulps: Update.
23363 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23364
cb4d5414
AZ
233652013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23366
23367 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23368
caf84319
JM
233692013-04-30 Joseph Myers <joseph@codesourcery.com>
23370
23371 [BZ #15416]
23372 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
23373 accurately for denominator in atan2.
23374 * math/s_catanf.c (__catanf): Likewise.
23375 * math/s_catanh.c (__catanh): Likewise.
23376 * math/s_catanhf.c (__catanhf): Likewise.
23377 * math/s_catanhl.c (__catanhl): Likewise.
23378 * math/s_catanl.c (__catanl): Likewise.
23379 * math/libm-test.inc (catan_test): Add more tests.
23380 (catanh_test): Likewise.
23381 * sysdeps/i386/fpu/libm-test-ulps: Update.
23382 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23383
d569c6ee
SP
233842013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
23385
6dbe713d
SP
23386 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
23387
f0ee064b
SP
23388 * benchtests/Makefile (bench): Remove slow benchmarks.
23389 * benchtests/atan-inputs: Add slow benchmark inputs.
23390 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
23391 (BENCH_FUNC): Accept variant offset.
23392 (VARIANT): Define.
23393 * benchtests/bench-skeleton.c (main): Run benchmark for each
23394 variant.
23395 * benchtests/cos-inputs: Add slow benchmark inputs.
23396 * benchtests/exp-inputs: Likewise.
23397 * benchtests/pow-inputs: Likewise.
23398 * benchtests/sin-inputs: Likewise.
23399 * benchtests/slowatan-inputs: Remove.
23400 * benchtests/slowatan.c: Remove.
23401 * benchtests/slowcos-inputs: Remove.
23402 * benchtests/slowcos.c: Remove.
23403 * benchtests/slowexp-inputs: Remove.
23404 * benchtests/slowexp.c: Remove.
23405 * benchtests/slowpow-inputs: Remove.
23406 * benchtests/slowpow.c: Remove.
23407 * benchtests/slowsin-inputs: Remove.
23408 * benchtests/slowsin.c: Remove.
23409 * benchtests/slowtan-inputs: Remove.
23410 * benchtests/slowtan.c: Remove.
23411 * benchtests/tan-inputs: Add slow benchmark inputs.
23412 * scripts/bench.pl: Parse comments and directives.
23413
d569c6ee
SP
23414 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
23415 in CPPFLAGS.
23416 ($(objpfx)bench-%.c): Remove *-ITER.
23417 * benchtests/bench-modf.c: Remove definition of ITER.
23418 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
23419 (main): Loop for DURATION seconds instead of fixed number of
23420 iterations.
23421 * scripts/bench.pl: Don't expect iterations in parameters.
23422
a6a242fe
RM
234232013-04-29 Roland McGrath <roland@hack.frob.com>
23424
23425 * io/fchdir.c (__fchdir): Renamed from fchdir.
23426 (fchdir): Define as weak alias.
23427
f2da7793
JM
234282013-04-29 Joseph Myers <joseph@codesourcery.com>
23429
23430 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
23431 (ERRNO_EDOM): Likewise.
23432 (ERRNO_ERANGE): Likewise.
23433 (noErrnoTests): New variable.
23434 (init_max_error): Set errno to 0.
23435 (test_single_errno): New function.
23436 (test_errno): Likewise.
23437 (check_float_internal): Call test_errno. Set errno to 0.
23438 (check_complex): Refer to errno tests in comment.
23439 (check_int): Call test_errno. Set errno to 0.
23440 (check_long): Likewise.
23441 (check_bool): Likewise.
23442 (check_longlong): Likewise.
23443 (cos_test): Use ERRNO_* flags for errno tests instead of
23444 check_int.
23445 (expm1_test): Likewise.
23446 (fmod_test): Likewise.
23447 (ilogb_test): Likewise.
23448 (lgamma_test): Likewise.
23449 (pow_test): Likewise.
23450 (remainder_test): Likewise.
23451 (sin_test): Likewise.
23452 (tan_test): Likewise.
23453 (yn_test): Likewise.
23454 (initialize): Set errno to 0.
23455 (main): Print number of errno tests.
23456 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
23457
b1a36ceb
AJ
234582013-04-29 Andreas Jaeger <aj@suse.de>
23459
c3ed8088
AJ
23460 [BZ #15084]
23461 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
23462 and RES_USEVC.
23463
f1a24198
AJ
23464 [BZ #15085]
23465 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
23466 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
23467 unimplemented.
23468
9ce3b2cb
AJ
23469 [BZ #15380]
23470 * stdlib/random.c (__initstate): Return NULL if
23471 __initstate fails.
23472
f1a24198 23473 [BZ #15086]
b1a36ceb
AJ
23474 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
23475 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
23476 RES_SNGLKUPREOP.
23477
7e7b6f36
AZ
234782013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23479
23480 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23481
4d14f449
JM
234822013-04-29 Joseph Myers <joseph@codesourcery.com>
23483
23484 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
23485 of individual tests.
23486 (casin_test): Likewise.
23487 (casinh_test): Likewise.
23488
5b4217d7
JM
234892013-04-27 Joseph Myers <joseph@codesourcery.com>
23490
23491 [BZ #15409]
23492 * math/s_catan.c (__catan): Handle arguments with large real or
23493 imaginary part separately without squaring.
23494 * math/s_catanf.c (__catanf): Likewise.
23495 * math/s_catanh.c (__catanh): Likewise.
23496 * math/s_catanhf.c (__catanhf): Likewise.
23497 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
23498 and redefine.
23499 (__catanhl): Handle arguments with large real or imaginary part
23500 separately without squaring.
23501 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
23502 and redefine.
23503 (__catanl): Handle arguments with large real or imaginary part
23504 separately without squaring.
23505 * math/libm-test.inc (catan_test): Add more tests.
23506 (catanh_test): Likewise.
23507 * sysdeps/i386/fpu/libm-test-ulps: Update.
23508 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23509
4220c3ef
AJ
235102013-04-27 Andreas Jaeger <aj@suse.de>
23511
23512 [BZ #15007]
23513 * stdlib/stdlib.h: Update guards for qecvt.
23514 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
23515 <stdlib.h>.
23516
4721b2d1
AM
235172013-04-27 Allan McRae <allan@archlinux.org>
23518
23519 * sysdeps/i386/fpu/libm-test-ulps: Update.
23520
f0302940
JM
235212013-04-26 Joseph Myers <joseph@codesourcery.com>
23522
9457fd95
JM
23523 [BZ #15406]
23524 * math/s_catan.c: Include <float.h>.
23525 (__catan): Ensure underflow exception occurs for underflowed
23526 result.
23527 * math/s_catanf.c: Include <float.h>.
23528 (__catanf): Ensure underflow exception occurs for underflowed
23529 result.
23530 * math/s_catanh.c: Include <float.h>.
23531 (__catanh): Ensure underflow exception occurs for underflowed
23532 result.
23533 * math/s_catanhf.c: Include <float.h>.
23534 (__catanhf): Ensure underflow exception occurs for underflowed
23535 result.
23536 * math/s_catanhl.c: Include <float.h>.
23537 (__catanhl): Ensure underflow exception occurs for underflowed
23538 result.
23539 * math/s_catanl.c: Include <float.h>.
23540 (__catanl): Ensure underflow exception occurs for underflowed
23541 result.
23542 * math/libm-test.inc (catan_test): Add more tests.
23543 (catanh_test): Likewise.
23544
f0302940
JM
23545 [BZ #15405]
23546 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
23547 underflowed result.
23548 * math/s_ccoshf.c (__ccoshf): Likewise.
23549 * math/s_ccoshl.c (__ccoshl): Likewise.
23550 * math/s_csin.c (__csin): Likewise.
23551 * math/s_csinf.c (__csinf): Likewise.
23552 * math/s_csinh.c (__csinh): Likewise.
23553 * math/s_csinhf.c (__csinhf): Likewise.
23554 * math/s_csinhl.c (__csinhl): Likewise.
23555 * math/s_csinl.c (__csinl): Likewise.
23556 * math/libm-test.inc (ccos_test): Add more tests.
23557 (ccosh_test): Likewise.
23558 (csin_test): Likewise.
23559 (csinh_test): Likewise.
23560
aa630f59
AZ
235612013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23562
23563 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
23564 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
23565 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
23566 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
23567 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
23568 powerpc/power5+/fpu folders.
23569 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
23570
23571
1b835983
MT
235722013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
23573
23574 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23575
73709b26
JM
235762013-04-25 Joseph Myers <joseph@codesourcery.com>
23577
23578 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
23579 additions to variable.
23580 [$(config-machine) = x86_64] (modules-names): Likewise.
23581 ($(objpfx)tst-audit3): Remove dependency.
23582 ($(objpfx)tst-audit3.out): Likewise.
23583 ($(objpfx)tst-audit4): Likewise.
23584 ($(objpfx)tst-audit4.out): Likewise.
23585 ($(objpfx)tst-audit5): Likewise.
23586 ($(objpfx)tst-audit5.out): Likewise.
23587 ($(objpfx)tst-audit6): Likewise.
23588 ($(objpfx)tst-audit6.out): Likewise.
23589 ($(objpfx)tst-audit7): Likewise.
23590 ($(objpfx)tst-audit7.out): Likewise.
23591 (tst-audit3-ENV): Remove variable.
23592 (tst-audit4-ENV): Likewise.
23593 (tst-audit5-ENV): Likewise.
23594 (tst-audit6-ENV): Likewise.
23595 (tst-audit7-ENV): Likewise.
23596 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
23597 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
23598 addition to variable.
23599 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
23600 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
23601 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
23602 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
23603 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
23604 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
23605 tst-audit3, tst-audit4 and tst-audit5.
23606 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
23607 tst-audit6 and tst-audit7.
23608 [$(subdir) = elf] (modules-names): Add audit modules for those
23609 tests.
23610 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
23611 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
23612 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
23613 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
23614 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
23615 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
23616 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
23617 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
23618 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
23619 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
23620 [$(subdir) = elf] (tst-audit3-ENV): New variable.
23621 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
23622 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
23623 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
23624 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
23625 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
23626 Likewise.
23627 [$(subdir) = elf && $(config-cflags-avx) = yes]
23628 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
23629 [$(subdir) = elf && $(config-cflags-avx) = yes]
23630 (CFLAGS-tst-auditmod4a.c): Likewise.
23631 [$(subdir) = elf && $(config-cflags-avx) = yes]
23632 (CFLAGS-tst-auditmod4b.c): Likewise.
23633 [$(subdir) = elf && $(config-cflags-avx) = yes]
23634 (CFLAGS-tst-auditmod6b.c): Likewise.
23635 [$(subdir) = elf && $(config-cflags-avx) = yes]
23636 (CFLAGS-tst-auditmod6c.c): Likewise.
23637 [$(subdir) = elf && $(config-cflags-avx) = yes]
23638 (CFLAGS-tst-auditmod7b.c): Likewise.
23639 * elf/tst-audit3.c: Move to ...
23640 * sysdeps/x86_64/tst-audit3.c: ... here.
23641 * elf/tst-audit4.c: Move to ...
23642 * sysdeps/x86_64/tst-audit4.c: ... here.
23643 * elf/tst-audit5.c: Move to ...
23644 * sysdeps/x86_64/tst-audit5.c: ... here.
23645 * elf/tst-audit6.c: Move to ...
23646 * sysdeps/x86_64/tst-audit6.c: ... here.
23647 * elf/tst-audit7.c: Move to ...
23648 * sysdeps/x86_64/tst-audit7.c: ... here.
23649 * elf/tst-auditmod3a.c: Move to ...
23650 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
23651 * elf/tst-auditmod3b.c: Move to ...
23652 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
23653 * elf/tst-auditmod4a.c: Move to ...
23654 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
23655 * elf/tst-auditmod4b.c: Move to ...
23656 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
23657 * elf/tst-auditmod5a.c: Move to ...
23658 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
23659 * elf/tst-auditmod5b.c: Move to ...
23660 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
23661 * elf/tst-auditmod6a.c: Move to ...
23662 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
23663 * elf/tst-auditmod6b.c: Move to ...
23664 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
23665 * elf/tst-auditmod6c.c: Move to ...
23666 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
23667 * elf/tst-auditmod7a.c: Move to ...
23668 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
23669 * elf/tst-auditmod7b.c: Move to ...
23670 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
23671
1ef74943
PP
236722013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
23673
23674 [BZ #15366]
23675 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
23676 define unconditionally.
23677 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
23678 define unconditionally.
23679 (INT8_C, INT16_C, etc.): Likewise.
23680
93fd48c5
MR
236812013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
23682
ae9552cf
MR
23683 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
23684 __ehdr_start with hidden visibility.
23685
93fd48c5
MR
23686 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
23687
418601aa
CD
236882013-04-24 Carlos O'Donell <carlos@redhat.com>
23689
23690 * math/libm-test.inc (cos_test): Use accurate hex constants.
23691 (sincost_test): Likewise.
23692
2f38fbfe
JM
236932013-04-24 Joseph Myers <joseph@codesourcery.com>
23694
5e221800
JM
23695 * math/libm-test.inc (catan_test): Add more tests.
23696 (catanh_test): Likewise.
23697
77f143fd
JM
23698 * math/s_catanf.c (__catanf): Use suffixed floating-point
23699 constants.
23700 * math/s_catanhf.c (__catanhf): Likewise.
23701 * math/s_catanhl.c (__catanhl): Likewise.
23702 * math/s_catanl.c (__catanl): Likewise.
23703
2f38fbfe
JM
23704 [BZ #15394]
23705 * math/s_catan.c (__catan): Calculate imaginary part of result
23706 with log1p not log unless computing log of number close to 0.
23707 * math/s_catanf.c (__catanf): Likewise.
23708 * math/s_catanl.c (__catanl): Likewise.
23709 * math/s_catanh.c (__catanh): Calculate real part of result with
23710 log1p not log unless computing log of number close to 0.
23711 * math/s_catanhf.c (__catanhf): Likewise.
23712 * math/s_catanhl.c (__catanhl): Likewise.
23713 * math/libm-test.inc (catan_test): Add more tests.
23714 (catanh_test): Likewise.
23715 * sysdeps/i386/fpu/libm-test-ulps: Update.
23716 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23717
45d69176
SP
237182013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
23719
23720 * benchtests/Makefile: Mention files in which fast and slow
23721 paths of math functions are implemented.
23722
87f51853
RM
237232013-04-23 Roland McGrath <roland@hack.frob.com>
23724
23725 * sysdeps/posix/timespec_get.c: New file.
23726
3c026539
AZ
237272013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23728
23729 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
23730 POWER.
23731 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
23732 for POWER.
23733 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
23734 powerpc/power5/fpu folders.
23735 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
23736 * benchtests/Makefile: Add modf testcase.
23737 * benchtests/bench-modf.c: New file: Benchmark test for mo
23738
ff491d14
SP
237392013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
23740
23741 [BZ #14888]
23742 * time/Makefile (tests): Add tst-strptime-whitespace.
23743 * time/strptime_l.c (get_number): Use ISSPACE.
23744 (__strptime_internal): Likewise.
23745 * time/tst-strptime-whitespace.c: New test case.
23746
7ed3f4e8
AS
237472013-04-23 Andreas Schwab <schwab@linux-m68k.org>
23748
23749 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
23750 member.
23751 (_nss_files_init): Set it here.
23752
5c95f7b6
HC
237532013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
23754
23755 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
23756 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
23757 unsigned.
23758
d34c9158
JBG
237592013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
23760
23761 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
23762
2169712d
SP
237632013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
23764
23765 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
23766 size just once.
23767
29c5de99
DM
237682013-04-21 David S. Miller <davem@davemloft.net>
23769
23770 * po/ru.po: Update Russion translation from translation project.
23771
ccdad15d
AC
237722013-04-17 Adam Conrad <adconrad@0c3.net>
23773
23774 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
23775 and setfsgid.
23776
0f122b8d
CD
237772013-04-17 Carlos O'Donell <carlos@redhat.com>
23778
5c5b07da 23779 * configure.in: Remove i386 configure warning. Remove i386 case.
0f122b8d 23780 * configure: Regenerate.
5c5b07da 23781 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
0f122b8d
CD
23782 Add example to error message.
23783 * sysdeps/i386/configure: Regenerate.
23784
037714dd
SP
237852013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
23786
23787 * benchtests/Makefile (bench): Add cos, tan, slowcos and
23788 slowtan.
23789 * benchtests/cos-inputs: New file.
23790 * benchtests/slowcos-inputs: New file.
23791 * benchtests/slowcos.c: New file.
23792 * benchtests/slowtan-inputs: New file.
23793 * benchtests/slowtan.c: New file.
23794 * benchtests/tan-inputs: New file.
23795
e913141d
RM
237962013-04-16 Roland McGrath <roland@hack.frob.com>
23797
23798 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
23799 considered kosher.
23800
a2964074
SP
238012013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
23802
4856bcd2
SP
23803 * benchtests/Makefile: Include cppflags-iterator.mk to add
23804 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
23805
a2964074
SP
23806 * Makefile.in (bench-clean): New target.
23807 * benchtests/Makefile (bench-clean): Likewise.
23808
9fbf9aca
DH
238092013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
23810
23811 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
23812
207d1e2a
TS
238132013-04-15 Thomas Schwinge <thomas@codesourcery.com>
23814
23815 * stdio-common/tstdiomisc.c: Fix coding-style violation.
23816
306dfba9
AS
238172013-04-15 Andreas Schwab <schwab@suse.de>
23818
23819 * nscd/grpcache.c (cache_addgr): Properly check for short write.
23820 * nscd/initgrcache.c (addinitgroupsX): Likewise.
23821 * nscd/pwdcache.c (cache_addpw): Likewise.
23822 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
23823 more than recsize.
23824
206a6699
SP
238252013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
23826
23827 * benchtests/Makefile (bench): Write all output to
23828 bench-out.tmp together.
23829
0582f6b3
AS
238302013-04-15 Andreas Schwab <schwab@suse.de>
23831
23832 * nscd/nscd.c (main): Don't fork again after closing files.
23833
acb4325f
SP
238342013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
23835
5cb26d0a
SP
23836 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
23837
acb4325f
SP
23838 * benchtests/Rules (bench-deps): Collect dependencies into a
23839 single variable. Add Makefile to dependencies.
23840 ($(objpfx)bench-%.c): Depend on bench-deps.
23841
47792506
RM
238422013-04-12 Roland McGrath <roland@hack.frob.com>
23843 Xavier Roche <roche+kml2@exalead.com>
23844
23845 [BZ #15361]
23846 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
23847 just that it's a file descriptor.
23848 * manual/llio.texi (Synchronizing AIO Operations): Update description
23849 for EBADF error from aio_fsync.
23850
8fc1bee5
SP
238512013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
23852
23853 * Rules (bench): Move target definition...
23854 * benchtests/Makefile: ... here.
23855
aba5e333
CD
238562013-04-11 Carlos O'Donell <carlos@redhat.com>
23857
23858 * math/libm-test.inc (cos_test): Fix PI/2 test.
23859 (sincos_test): Likewise.
23860 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
23861 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
23862
273cdee8
AS
238632013-04-11 Andreas Schwab <schwab@suse.de>
23864
6ecec3b6
AS
23865 [BZ #13988]
23866 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
23867 accept exponent character only when digits were seen.
23868 * stdio-common/Makefile (tests): Add bug26.
23869 * stdio-common/bug26.c: New file.
23870
273cdee8
AS
23871 [BZ #14293]
23872 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
23873 non-freeable.
23874
8da491f5
SP
238752013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
23876
01dc6df9
SP
23877 * Makeconfig (rtld-prefix): Define built linker prefix.
23878 * Rules (run-bench): Use it.
23879 * math/Makefile (run-regen-ulps): Likewise.
23880
8da491f5
SP
23881 * Rules (bench): Remove eval.
23882
abe7f530
SP
238832013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
23884 Roland McGrath <roland@hack.frob.com>
23885 Ondrej Bilka <neleai@seznam.cz>
23886
23887 [BZ #15346]
23888 * time/getdate.c: Include ctype.h and alloca.h.
23889 (__getdate_r): Trim leading and trailing spaces of input.
23890 * time/tst-getdate.c (tests): Add tests with leading and
23891 trailing spaces.
23892
61c23e62
RM
238932013-04-08 Roland McGrath <roland@hack.frob.com>
23894
23895 [BZ #14280]
23896 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
23897 when computing value.
23898
7208a313
CD
238992013-04-06 Carlos O'Donell <carlos@redhat.com>
23900
085b2d41
CD
23901 * math/README.libm-test (How can I generate "libm-test-ulps"?):
23902 Use testrun.sh to run libm tests.
23903
7208a313
CD
23904 [BZ #15309]
23905 * elf/dl-open.c (dl_open_worker): memset all of seen array.
23906
872c0acd
MM
239072013-04-06 Marko Myllynen <myllynen@redhat.com>
23908
23909 [BZ #15264]
23910 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
23911
26510bdd
CD
239122013-04-06 Carlos O'Donell <carlos@redhat.com>
23913
23914 * Makefile.in (regen-ulps): New target.
23915 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
23916 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
23917 [ifneq (no,$(PERL)] (regen-ulps): New target.
23918 [ifeq (no,$(PERL)] (regen-ulps): New target.
23919 * math/libm-test.inc (ulps_file_name): Define.
23920 (output_dir): New variable.
23921 (options): Add "output-dir" option.
23922 (parse_opt): Handle 'o' case.
23923 (main): If output_dir is non-NULL use it as a prefix
23924 otherwise use "".
23925 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
23926
a01f19c8
CD
239272013-04-06 Carlos O'Donell <carlos@redhat.com>
23928
23929 [BZ #10060, #10062]
23930 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
23931 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
23932 fail configure if __sync_val_compare_and_swap is not inlined.
23933 * sysdeps/i386/configure: Regenerate.
23934 * configure.in: Build for i686 when configured for i386.
23935 * configure: Regenerate.
23936 * README: Remove i386 reference.
23937
b7a329a5
CD
239382013-04-06 Carlos O'Donell <carlos@redhat.com>
23939
23940 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
23941 * sysdeps/s390/s390-64/sysdep.h: Likewise.
23942
bf0f50df
TS
239432013-04-05 Thomas Schwinge <thomas@codesourcery.com>
23944
ee091edf
TS
23945 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
23946 (lmsnanval): New variables.
23947 (F): Add conversion tests.
23948 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
23949 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
23950
a8b792d6
TS
23951 * stdio-common/tstdiomisc.c (F): Properly collect individual
23952 tests' results.
23953
a1cbf437
TS
23954 [BZ #14686, #15336]
23955 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
23956 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
23957 Instead, use input NaN values or generate a qNaN by arithmetic
23958 operation. Also fix bugs to comply with the standard.
23959 * math/libm-test.inc (remainder_test): Add more tests.
23960
8b43a0c9
TS
23961 [BZ #15335, #15342]
23962 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
23963 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
23964 input NaN values or generate a qNaN by arithmetic operation.
23965
d91da4ce
TS
23966 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
23967 unreachable code.
23968
bf0f50df
TS
23969 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
23970 definitions.
23971
05e166c8
JM
239722013-04-03 Joseph Myers <joseph@codesourcery.com>
23973
23974 [BZ #14478]
23975 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
23976 underflowed result.
23977 * math/s_cexpf.c (__cexpf): Likewise.
23978 * math/s_cexpl.c (__cexpl): Likewise.
23979 * math/libm-test.inc (cexp_test): Add more tests.
23980
1cef1b19
AS
239812013-04-03 Andreas Schwab <schwab@suse.de>
23982
23983 [BZ #15330]
23984 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
23985 order arrays from heap if bigger than alloca cutoff.
23986
74d87055
TS
239872013-04-03 Thomas Schwinge <thomas@codesourcery.com>
23988
23989 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
23990 (SNAN_TESTS_double): Refer to GCC PR56831.
23991 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
23992 GCC PR56828.
23993
d755bba4
SP
239942013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
23995
90d5d5bb
SP
23996 * Rules (bench): Move bench.out after the run is complete.
23997
73e0cd5d
SP
23998 * Rules (bench): Echo currently running benchmark.
23999
64aabd4b
SP
24000 * benchtests/Makefile (bench): Add atan and slowatan.
24001 * benchtests/atan-inputs: New file.
24002 * benchtests/slowatan-inputs: New file.
24003 * benchtests/slowatan.c: New file.
24004
c871eccd
SP
24005 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
24006 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
24007 its value.
24008
d755bba4
SP
24009 [BZ #15305]
24010 * sysdeps/unix/sysv/linux/kernel-features.h
24011 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
24012 __ASSUME_XFS_RESTRICTED_CHOWN.
24013 * sysdeps/unix/sysv/linux/pathconf.c
24014 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
24015 Save and restore errno.
24016
52ce4860
JM
240172013-04-02 Joseph Myers <joseph@codesourcery.com>
24018
24019 [BZ #15327]
24020 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
24021 arguments using __kernel_casinh.
24022 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
24023 arguments using __kernel_casinhf.
24024 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
24025 arguments using __kernel_casinhl.
24026 * math/libm-test.inc (cacosh_test): Add more tests.
24027 * sysdeps/i386/fpu/libm-test-ulps: Update.
24028 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24029
81f311c2
SP
240302013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
24031
e7906a47
SP
24032 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
24033 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
24034
92e3664b
SP
24035 * bench/Makefile (bench): Add sin and slowsin.
24036 * benchtests/sin-inputs: New file.
24037 * benchtests/slowsin-inputs: New file.
24038 * benchtests/slowsin.c: New file.
24039
81f311c2
SP
24040 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
24041 (bench): Add slowexp and slowpow.
24042 (exp-ITER): Increase iterations.
24043 (pow-ITER): Likewise.
24044 * benchtests/exp-inputs: Change input.
24045 * benchtests/pow-inputs: Likewise.
24046 * benchtests/slowexp-inputs: New file.
24047 * benchtests/slowexp.c: New file.
24048 * benchtests/slowpow-inputs: New file.
24049 * benchtests/slowpow.c: New file.
24050
ab0f1aa9
AZ
240512013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24052
24053 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
24054 instructions.
24055 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
24056 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
24057 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
24058 * benchtests/Makefile: Add rint benchtest.
24059 * benchtests/rint-inputs: Input for rint benchtest.
24060
57267616
TS
240612013-04-02 Thomas Schwinge <thomas@codesourcery.com>
24062
24063 * Versions.def (libm): Add GLIBC_2.18.
24064 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
24065 hidden libm prototypes.
24066 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
24067 * math/Makefile (libm-calls): Add s_issignaling.
24068 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
24069 __issignalingf, __issignalingl. Adjust all libm.abilist files.
24070 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
24071 declaration.
24072 * math/math.h [__USE_GNU] (issignaling): New macro.
24073 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
24074 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
24075 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
24076 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
24077 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
24078 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
24079 * manual/arith.texi (issignaling): New section.
24080 * manual/libm-err-tab.pl (@all_functions): Update comment.
24081 * math/gen-libm-test.pl (parse_args): Apply special handling for
24082 issignaling.
24083 * math/libm-test.inc (print_float, issignaling_test): New
24084 functions.
24085 (check_float_internal): Add issignaling checks.
24086 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
24087 default definition.
24088 * sysdeps/powerpc/math-tests.h: New file.
24089 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
24090 tests.
24091 * math/test-snan.c (TEST_FUNC): Likewise.
24092
6142896d
DM
240932013-03-30 David S. Miller <davem@davemloft.net>
24094
24095 * po/de.po: Update from translation team.
24096
ccc8cadf
JM
240972013-03-30 Joseph Myers <joseph@codesourcery.com>
24098
24099 [BZ #10357]
24100 * math/k_casinh.c (__kernel_casinh): Handle arguments with
24101 imaginary part less than 1.0 and real part less than 0.5
24102 specially.
24103 * math/k_casinhf.c (__kernel_casinhf): Likewise.
24104 * math/k_casinhl.c (__kernel_casinhl): Likewise.
24105 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
24106 (cacos_test): Add more tests.
24107 (casin_test): Likewise.
24108 (casinh_test): Likewise.
24109 * sysdeps/i386/fpu/libm-test-ulps: Update.
24110 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24111
0f6a8d4b
SP
241122013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
24113
0d1029de
SP
24114 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
24115 ONE with its value.
24116
c2d94018
SP
24117 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
24118 (__pow_mp): Replace ONE and MONE with their values.
24119 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
24120 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
24121 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
24122 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
24123 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
24124 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
24125
27ec37f1
SP
24126 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
24127
a64d7e0e
SP
24128 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
24129 (__pow_mp): Replace ZERO and MZERO with their values.
24130 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
24131 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
24132 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
24133 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
24134 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
24135 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
24136 (__sqr): Likewise.
24137
d26dd3eb
SP
24138 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
24139
0f6a8d4b
SP
24140 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
24141
e57b0c61
RM
241422013-03-28 Roland McGrath <roland@hack.frob.com>
24143
24144 * include/stdlib.h [!SHARED] (__call_tls_dtors):
24145 Declare with __attribute__ ((weak)).
24146 * stdlib/exit.c (__libc_atexit) [!SHARED]:
24147 Call __call_tls_dtors only if it's not NULL.
24148
356b3480
RM
241492013-03-28 Roland McGrath <roland@hack.frob.com>
24150
288f7d79
RM
24151 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
24152 didn't do it already, then set _dl_phdr and _dl_phnum based on the
24153 magic __ehdr_start linker symbol if it's defined.
24154 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
24155 them up here if it was already done.
24156
dc0a0263
RM
24157 * elf/dl-support.c (_dl_phdr): Make pointer to const.
24158 (_dl_aux_init): Use const in cast when setting it.
24159 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
24160 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
24161 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
24162
3d3436ae
RM
24163 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
24164 Declare them here.
24165 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
24166 * csu/libc-tls.c: Nor here.
24167 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
24168
356b3480
RM
24169 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
24170 (__libc_message): Never call vsyslog.
24171
b0f1246a
AM
241722013-03-28 Alan Modra <amodra@gmail.com>
24173
24174 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
24175 Define as empty.
24176 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
24177 Likewise.
24178
fbbe2b9a
AZ
241792013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24180
24181 [BZ #15214]
24182 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
24183 underflow.
24184 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24185
1728ab37
SP
241862013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
24187
7a86be6e
SP
24188 [BZ #15304]
24189 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
24190 Don't add gid passed as argument.
24191
1728ab37
SP
24192 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
24193
3a7182a1
JM
241942013-03-27 Joseph Myers <joseph@codesourcery.com>
24195
24196 [BZ #15307]
24197 * math/k_casinh.c (__kernel_casinh): Handle arguments with
24198 imaginary part between 1.0 and 1.5 and real part less than 0.5
24199 specially.
24200 * math/k_casinhf.c (__kernel_casinhf): Likewise.
24201 * math/k_casinhl.c (__kernel_casinhl): Likewise.
24202 * math/libm-test.inc (cacos_test): Add more tests.
24203 (casin_test): Likewise.
24204 (casinh_test): Likewise.
24205 * sysdeps/i386/fpu/libm-test-ulps: Update.
24206 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24207
6f2e90e7
SP
242082013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
24209
5739f705
SP
24210 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
24211 constants.
24212 (norm): Likewise.
24213 (denorm): Likewise.
24214 (__dbl_mp): Likewise.
24215 (add_magnitudes): Likewise.
24216 (sub_magnitudes): Likewise.
24217 (__add): Likewise.
24218 (__sub): Likewise.
24219 (__mul): Likewise.
24220 (__sqr): Likewise.
24221 (__inv): Likewise.
24222 (__dvd): Likewise.
24223
e375e83d
SP
24224 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
24225 commented code.
24226 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
24227 (__dubcos): Likewise.
24228 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
24229 (__ieee754_acos): Likewise.
24230 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
24231 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
24232 (__exp1): Likewise.
24233 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
24234 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
24235 (log1): Likewise.
24236 (my_log2): Likewise.
24237 (checkint): Likewise.
24238 * sysdeps/ieee754/dbl-64/e_remainder.c
24239 (__ieee754_remainder): Likewise.
24240 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
24241 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
24242 (bsloww): Likewise.
24243 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
24244
6f2e90e7
SP
24245 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
24246 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
24247 MANTISSA_STORE_T to store computations on mantissa. Use
24248 macros for rounding and division.
24249 (denorm): Likewise.
24250 (__dbl_mp): Likewise.
24251 (add_magnitudes): Likewise.
24252 (sub_magnitudes): Likewise.
24253 (__mul): Likewise.
24254 (__sqr): Likewise.
24255 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
24256 powers of two in terms of TWOPOW macro.
24257 (mp_no): Make type of mantissa as MANTISSA_T.
24258 [!RADIXI]: Define RADIXI.
24259 [!TWO52]: Define TWO52.
24260 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
24261
fce14d4e
AZ
242622013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24263
24264 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
24265 llroundl symbol when building for PPC32.
24266
9ad027fb
MW
242672013-03-24 Mark H Weaver <mhw@netris.org>
24268
24269 * manual/arith.texi (Normalization Functions): Fix prototypes for
24270 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
24271
e42a38dd
AZ
242722013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24273
24274 [BZ #13889]
24275 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
24276 high value to check if expl overflow.
24277 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
24278 to check for underflow and overflow.
24279 * math/libm-test.inc: Add exp test.
24280
2e0fb521
DL
242812013-03-21 Dmitry V. Levin <ldv@altlinux.org>
24282
24283 [BZ #11120]
24284 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
24285 with NOT_IN_libc.
24286
b5784d95
AZ
242872013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24288
24289 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
24290 symbol.
24291
5aa4a1a1
TS
242922013-03-21 Thomas Schwinge <thomas@codesourcery.com>
24293
bdef0be7
TS
24294 * math/gen-libm-test.pl (parse_args, special_functions): Properly
24295 wrap blocks consisting of several statements.
24296
5aa4a1a1
TS
24297 * sysdeps/generic/math-tests.h: New file.
24298 * sysdeps/i386/fpu/math-tests.h: Likewise.
24299 * math/test-snan.c: Include it.
24300 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
24301
98c48fe5
JM
243022013-03-21 Joseph Myers <joseph@codesourcery.com>
24303
24304 [BZ #15285]
24305 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
24306 (__ieee754_j0l): Do not improve calculations using cos of twice
24307 input for inputs above LDBL_MAX / 2.0L.
24308 (__ieee754_y0l): Likewise.
24309 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
24310 (__ieee754_j1l): Do not improve calculations using cos of twice
24311 input for inputs above LDBL_MAX / 2.0L.
24312 (__ieee754_y1l): Likewise.
24313 * math/libm-test.inc (j0_test): Add another test.
24314 (j1_test): Likewise.
24315 (y0_test): Likewise.
24316 (y1_test): Likewise.
24317 * sysdeps/i386/fpu/libm-test-ulps: Update.
24318
3775a8bc
SP
243192013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
24320
24321 * Rules ($(objpfx)bench-%.c): Include code from a C source
24322 file.
24323
0a1b2ae6
JM
243242013-03-21 Joseph Myers <joseph@codesourcery.com>
24325
24326 [BZ #15287]
24327 * math/k_casinh.c (__kernel_casinh): Handle arguments with
24328 imaginary part 1.0 and real part less than 0.5 specially.
24329 * math/k_casinhf.c (__kernel_casinhf): Likewise.
24330 * math/k_casinhl.c (__kernel_casinhl): Likewise.
24331 * math/libm-test.inc (cacos_test): Add more tests.
24332 (casin_test): Likewise.
24333 (casinh_test): Likewise.
24334 * sysdeps/i386/fpu/libm-test-ulps: Update.
24335 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24336
b33d4ce4
SP
243372013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
24338
24339 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
24340 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
24341
bef0b507
JM
243422013-03-20 Joseph Myers <joseph@codesourcery.com>
24343
24344 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
24345 * config.make.in (config-cflags-sse4): Remove variable.
24346 (config-cflags-avx): Likewise.
24347 (config-cflags-sse2avx): Likewise.
24348 (config-cflags-novzeroupper): Likewise.
24349 (config-asflags-i686): Likewise.
24350 (have-mfma4): Likewise.
24351 (have-as-vis3): Likewise.
24352 (MIG): Likewise.
24353 * configure.in (MIG): Do not AC_SUBST.
24354 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
24355 (libc_cv_cc_sse4): Do not AC_SUBST.
24356 (libc_cv_cc_avx): Likewise.
24357 (libc_cv_cc_sse2avx): Likewise.
24358 (libc_cv_cc_novzeroupper): Likewise.
24359 (libc_cv_cc_fma4): Likewise.
24360 (libc_cv_as_i686): Likewise.
24361 (libc_cv_sparc_as_vis3): Likewise.
24362 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
24363 LIBC_CONFIG_VAR.
24364 (config-asflags-i686): Likewise.
24365 (config-cflags-avx): Likewise.
24366 (config-cflags-sse2avx): Likewise.
24367 (have-mfma4): Likewise.
24368 (config-cflags-novzeroupper): Likewise.
24369 * sysdeps/mach/configure.in (MIG): Likewise.
24370 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
24371 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
24372 LIBC_CONFIG_VAR.
24373 (config-cflags-avx): Likewise.
24374 (config-cflags-sse2avx): Likewise.
24375 (have-mfma4): Likewise.
24376 (config-cflags-novzeroupper): Likewise.
24377 * configure: Regenerated.
24378 * sysdeps/i386/configure: Likewise.
24379 * sysdeps/mach/configure: Likewise.
24380 * sysdeps/sparc/configure: Likewise.
24381 * sysdeps/x86_64/configure: Likewise.
24382
912cc4b3
RM
243832013-03-20 Roland McGrath <roland@hack.frob.com>
24384
24385 [BZ #14812]
24386 * locale/programs/localedef.c (options): Put N_ translation marker
24387 on argument names, not just descriptions.
24388
04eed2b0
MS
243892013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
24390
24391 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
24392
a065ceff
OB
243932013-03-20 Ondřej Bílka <neleai@seznam.cz>
24394
9bb2a810 24395 [BZ #14176]
a065ceff
OB
24396 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
24397
a600e5ce
RM
243982013-03-19 Roland McGrath <roland@hack.frob.com>
24399
24400 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
24401 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
24402 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
24403 [!BEFORE_ABORT] (before_abort): New function.
24404 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
24405 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
24406 (writev_for_fatal): New function.
24407 (WRITEV_FOR_FATAL): New macro; call that.
24408 (backtrace_and_maps): New function.
24409 (BEFORE_ABORT): New macro; call that.
24410 (struct str_list): Type removed.
24411 (__libc_message, __libc_fatal): Functions removed.
24412 Include <sysdeps/posix/libc_fatal.c> instead.
24413
6b18bea6
JM
244142013-03-19 Joseph Myers <joseph@codesourcery.com>
24415
24416 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
24417 constants.
24418 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
24419 double constants.
24420
aaa8cb4b
AS
244212013-03-19 Andreas Schwab <schwab@suse.de>
24422
44673770
AS
24423 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
24424 * sysdeps/gnu/configure: Regenerate.
24425
aaa8cb4b
AS
24426 * configure.in: Substitute libc_cv_rtlddir.
24427 * configure: Regenerate.
24428 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
24429 * Makeconfig (rtlddir, inst_rtlddir): New variables.
24430 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
24431 * elf/Makefile (install-others, CFLAGS-interp.c)
24432 (ldso_install, common-ldd-rewrite): Likewise.
24433 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
24434 $(inst_slibdir)/$(rtld-installed-name).
24435 * scripts/rellns-sh: Add -p option.
24436 * Makerules (make-shlib-link): Use rellns-sh to get relative name
24437 for source.
24438
d3cfc668
SP
244392013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
24440
24441 * manual/nptl.texi: Renamed to ...
24442 * manual/threads.texi: ... this.
24443 * manual/Makefile (chapters): Update.
24444
0e2b9cdd
RM
244452013-03-18 Roland McGrath <roland@hack.frob.com>
24446
24447 [BZ #14812]
24448 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
24449 on argument names, not just descriptions.
0e2b9cdd
RM
24450 * malloc/memusagestat.c (options): Likewise.
24451 * nss/getent.c (options): Likewise.
63270c24
RM
24452
244532013-03-18 Benno Schulenberg <bensberg@justemail.net>
24454
24455 [BZ #14812]
24456 * iconv/iconv_prog.c (options): Put N_ translation marker
24457 on argument names, not just descriptions.
24458 * iconv/iconvconfig.c (options): Likewise.
0e2b9cdd 24459
b2e1393c
OB
244602013-03-18 Ondrej Bilka <neleai@seznam.cz>
24461
24462 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
24463 implementation which is faster on all x86_64 architectures.
24464 Tested on AMD, Intel Nehalem, SNB, IVB.
24465 * sysdeps/x86_64/strnlen.S: Likewise.
24466
24467 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
24468 Remove all multiarch strlen and strnlen versions.
24469 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
24470 Remove strlen and strnlen related parts.
24471
24472 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
24473 Inline strlen part.
24474 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
24475
24476 * sysdeps/x86_64/multiarch/strlen.S: Remove.
24477 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
24478 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
24479 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
24480 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
24481 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
24482
ec4ff04d
CD
244832013-03-17 Carlos O'Donell <carlos@redhat.com>
24484
24485 * manual/memory.texi (Malloc Tunable Parameters):
24486 Sort parameters alphabetically. Add comments for missing entries.
24487
cd18e90a
DM
244882013-03-17 David S. Miller <davem@davemloft.net>
24489
24490 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24491
2a185d32
JM
244922013-03-16 Joseph Myers <joseph@codesourcery.com>
24493
d2f9799e
JM
24494 [BZ #15283]
24495 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
24496 for arguments at most half maximum finite value.
24497 * math/libm-test.inc (j0_test): Add more tests.
24498 (j1_test): Likewise.
24499 (y0_test): Likewise.
24500 (y1_test): Likewise.
24501 * sysdeps/i386/fpu/libm-test-ulps: Update.
24502 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24503
2a185d32
JM
24504 [BZ #14155]
24505 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
24506 1 / x and functions P and Q for arguments above 0x1p256L.
24507 (__ieee754_y0l): Likewise.
24508 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
24509 (__ieee754_y1l): Likewise.
24510 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
24511 (j1_test): Likewise.
24512 (y0_test): Likewise.
24513 (y1_test): Likewise.
24514
6cbec759
TS
245152013-03-16 Thomas Schwinge <thomas@codesourcery.com>
24516
24517 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
24518 variable.
24519
bc16e260
RM
245202013-03-15 Roland McGrath <roland@hack.frob.com>
24521
aefc9b8c
RM
24522 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
24523 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
24524 zero since it's initialized to EXEC_PAGESIZE.
24525
bc16e260
RM
24526 * sysdeps/unix/sysv/linux/ldsodefs.h
24527 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
24528 * sysdeps/generic/ldsodefs.h: ... here.
24529
a57da955
TS
245302013-03-15 Thomas Schwinge <thomas@codesourcery.com>
24531
af00a34d
TS
24532 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
24533
495ded2c
TS
24534 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
24535 math/test-snan.c.
24536 * math/test-snan.c: Renamed from
24537 sysdeps/powerpc/fpu/test-powerpc-snan.c.
24538 * math/Makefile (tests): Add test-snan.
24539 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
24540 test-powerpc-snan.
24541
777b0332
TS
24542 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
24543 SUFFIX. Initialize qNaN_var with __builtin_nan family of
24544 functions.
24545 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
24546 __builtin_nan family of functions.
24547 * math/libm-test.inc (initialize): Initialize qnan_value with
24548 __builtin_nan family of functions.
24549 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
24550 Remove variables.
24551 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
24552 Remove functions.
24553 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
24554 storage class. Initialize qNaN_var and sNaN_var with
24555 __builtin_nan and __builtin_nans families of functions,
24556 respectively.
24557
64d063b8
TS
24558 * math/libm-test.inc (acosh_test): Also test with qNaN input.
24559 (sqrt_test): Remove duplicate test with qNaN input.
24560 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
24561 (round_test, signbit_test, significand_test): Note missing +/-Inf
24562 as well as qNaN tests.
24563
67e971f1
TS
24564 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
24565 qNaN_var. Fix a few strings, too.
24566 * math/libm-test.inc (nan_value): Rename to qnan_value.
24567 * math/gen-libm-test.pl (%beautify): Adjust to that.
24568 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
24569 * math/test-misc.c (main): Likewise.
24570 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
24571 to __qnan_bytes, and __qnan_union, respectively.
24572 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
24573 Likewise.
24574 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
24575 and lqnanval, respectively.
24576 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
24577 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
24578 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
24579 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
24580
64487e12
TS
24581 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
24582 * math/test-misc.c (main) [__x86_64__]: Enable test for long
24583 doubles.
24584
e015e27b
TS
24585 * math/test-misc.c (main): Fix copy'n'pastos.
24586 * misc/tst-efgcvt.c (special): Likewise.
24587
a57da955
TS
24588 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
24589 Remove declarations.
24590
1e380345
SP
245912013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
24592
24593 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
24594 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
24595 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
24596 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
24597
ef26eece
AZ
245982013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24599
24600 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
24601 macro to return vdso values correctly in IFUNC implementations.
24602 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
24603 Optimization by using IFUNC.
24604
8cfdb7e0
SP
246052013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
24606 Richard Henderson <rth@redhat.com>
24607 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
24608
24609 * Makefile.in (bench): New target.
24610 * NEWS: Mention the benchmark framework.
24611 * Rules (bench): Likewise.
24612 (binaries-bench): Generate binaries for functions to
24613 benchmark.
24614 * benchtests/Makefile: New makefile for benchmark tests.
24615 * benchtests/bench-skeleton.c: New skeleton file for benchmark
24616 programs.
24617 * benchtests/exp-inputs: New input file for EXP function.
24618 * benchtests/pow-inputs: New input file for POW function.
24619 * scripts/bench.pl: New script to generate source files for
24620 benchmark programs.
24621
bcda9880
SP
246222013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
24623
d22ca8cd
SP
24624 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
24625 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
24626 computations on mantissa. Use macros for rounding and
24627 division.
24628 (denorm): Likewise.
24629 (__dbl_mp): Likewise.
24630 (add_magnitudes): Likewise.
24631 (sub_magnitudes): Likewise.
24632 (__mul): Likewise.
24633 (__sqr): Likewise.
24634 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
24635 powers of two in terms of TWOPOW macro.
24636 (mp_no): Make type of mantissa as MANTISSA_T.
24637 [!RADIXI]: Define RADIXI.
24638 [!TWO52]: Define TWO52.
24639 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
24640
bcda9880
SP
24641 * manual/nptl.texi (cindex): Modify threads to pthreads.
24642
06d5adfb
JM
246432013-03-15 Joseph Myers <joseph@codesourcery.com>
24644
24645 * sysdeps/x86_64/preconfigure: Regenerated.
24646
41c7328e
JM
246472013-03-14 Joseph Myers <joseph@codesourcery.com>
24648
24649 [BZ #14155]
24650 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
24651 0x1p28 and above.
24652 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
24653 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
24654 0x1p28 and above.
24655 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
24656 * math/libm-test.inc (j0_test): Do not allow one spurious
24657 underflow exception.
24658 (y1_test): Likewise.
24659
e25cfa60
SP
246602013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
24661
0409959c
SP
24662 * manual/Makefile (chapters): Add nptl.
24663 * manual/debug.texi (Debugging Support): Add link to Threads
24664 chapter.
24665 * manual/nptl.texi: New file.
24666
e25cfa60
SP
24667 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
24668
58a1335e
PB
246692013-03-14 Petr Baudis <pasky@ucw.cz>
24670
24671 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
24672 for non-NULL pointer before the memory validity test. Pointed
24673 out by Holger Brunck <holger.brunck@keymile.com>.
24674
9dc7c64f
AS
246752013-03-13 Andreas Schwab <schwab@suse.de>
24676
24677 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
24678 instead of .os.
24679
54206aa6
JM
246802013-03-13 Joseph Myers <joseph@codesourcery.com>
24681
24682 * timezone/zic.c: Update from tzcode 2013b.
24683
e98cdb38
CD
246842013-03-12 Carlos O'Donell <carlos@redhat.com>
24685
24686 * manual/install.texi (Configuring and compiling):
24687 Mention i686 and i586.
24688 * INSTALL: Regenerate.
24689
9967e003
RM
246902013-03-12 Roland McGrath <roland@hack.frob.com>
24691
24692 * sysdeps/init_array/elf-init.c: New file.
24693 * csu/elf-init.c
24694 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
24695 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
24696
24697 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
24698 __gmon_start__ as global, but as static with a .preinit_array pointer.
24699 * sysdeps/init_array/gmon-start.c: New file. Use that.
24700 * sysdeps/init_array/crti.S: New file, empty except for comments.
24701 * sysdeps/init_array/crtn.S: Likewise.
24702
e6b5a293 247032013-03-11 Ondřej Bílka <neleai@seznam.cz>
80f844c9
OB
24704
24705 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
24706 definining bcopy.
80f844c9
OB
24707 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
24708 Remove Prefer_SSE_for_memop.
24709 * sysdeps/x86_64/multiarch/init-arch.h: Remove
24710 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
24711 HAS_PREFER_SSE_FOR_MEMOP.
80f844c9
OB
24712 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
24713 memset-x86-64.
80f844c9 24714 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
e6b5a293 24715 Remove bzero, memset ifunc support.
80f844c9
OB
24716 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
24717 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
24718 * sysdeps/x86_64/multiarch/memset.S: Likewise.
24719 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
24720
fb6b0fcb
AS
247212013-03-11 Andreas Schwab <schwab@suse.de>
24722
24723 [BZ #15234]
24724 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
24725 by SHLIB_COMPAT.
24726 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
24727 (GLIBC_2.16): Remove pthread_atfork.
24728
3e6bd4b1
PP
247292013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
24730
24731 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
24732 (ptestcases.h): Likewise.
24733
222d7f00
RM
247342013-03-08 Roland McGrath <roland@hack.frob.com>
24735
24736 * Makeconfig ($(common-objpfx)config.status): Depend on
24737 sysdeps/*/preconfigure{,.in} too.
24738
1ba4f030
JM
247392013-03-08 Joseph Myers <joseph@codesourcery.com>
24740
a222d91a
JM
24741 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
24742 (__free_hook): Use void * instead of __malloc_ptr_t.
24743 (__malloc_hook): Likewise.
24744 (__realloc_hook): Likewise.
24745 (__memalign_hook): Likewise.
24746 (__after_morecore_hook): Likewise.
24747 * malloc/arena.c (save_malloc_hook): Likewise.
24748 (save_free_hook): Likewise.
24749 * malloc/hooks.c (malloc_hook_ini): Likewise.
24750 (realloc_hook_ini): Likewise.
24751 (memalign_hook_ini): Likewise.
24752 * malloc/malloc.c (malloc_hook_ini): Likewise.
24753 (realloc_hook_ini): Likewise.
24754 (memalign_hook_ini): Likewise.
24755 (__free_hook): Likewise.
24756 (__malloc_hook): Likewise.
24757 (__realloc_hook): Likewise.
24758 (__memalign_hook): Likewise.
24759 (__libc_malloc): Likewise.
24760 (__libc_free): Likewise.
24761 (__libc_realloc): Likewise.
24762 (__libc_memalign): Likewise.
24763 (__libc_valloc): Likewise.
24764 (__libc_pvalloc): Likewise.
24765 (__libc_calloc): Likewise.
24766 (__posix_memalign): Likewise.
24767 * malloc/morecore.c (__sbrk): Likewise.
24768 (__default_morecore): Likewise.
24769
5cc45e10
JM
24770 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
24771
dd54b864
JM
24772 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
24773 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
24774 __malloc_ptrdiff_t.
24775
1ba4f030
JM
24776 * malloc/malloc.h (__malloc_size_t): Remove macro.
24777 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
24778 __malloc_size_t.
24779 (old_memalign_hook): Likewise.
24780 (old_realloc_hook): Likewise.
24781 (struct hdr): Likewise.
24782 (flood): Likewise.
24783 (mallochook): Likewise.
24784 (memalignhook): Likewise.
24785 (reallochook): Likewise.
24786 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
24787 (tr_old_realloc_hook): Likewise.
24788 (tr_old_memalign_hook): Likewise.
24789 (tr_mallochook): Likewise.
24790 (tr_reallochook): Likewise.
24791 (tr_memalignhook): Likewise.
24792
edf66e57
AZ
247932013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24794
24795 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
24796 default_ldbl_pack and using as default implementation.
24797 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
24798 implementation.
24799 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
24800 redundant definition.
24801 (ldbl_insert_mantissa): Likewise.
24802 (ldbl_canonicalize): Likewise.
24803 (ldbl_nearbyint): Likewise.
24804 (ldbl_pack): Rename to ldbl_pack_ppc.
24805 (ldbl_unpack): Rename to ldbl_unpack_ppc.
24806 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
24807 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
24808
6d9145d8
SP
248092013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
24810
24811 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
24812 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
24813 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
24814 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
24815 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
24816 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
24817 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
24818 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
24819
4dd4e157
AJ
248202013-03-07 Andreas Jaeger <aj@suse.de>
24821
24822 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
24823 bits/mman-linux.h.
24824
adbb8027
SP
248252013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
24826
ce544b5b
SP
24827 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
24828 Include mpa.h and declare __MPEXP.
24829 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
24830 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
24831 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
24832 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
24833 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
24834 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
24835 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
24836
4cc149fd
SP
24837 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
24838 (__slowpow): Use long double EXPL and LOGL functions to
24839 compute POW.
24840 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
24841 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
24842 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
24843 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
24844 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
24845 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
24846
e6ebd4a7
SP
24847 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
24848 intermediate variable to calculate exponent.
24849 (__sqr): Likewise.
24850 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
24851 Likewise.
24852 (__sqr): Likewise.
24853
82a9811d
SP
24854 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
24855 [!NO__SQR]: Define __sqr.
24856 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
24857 and NO__SQR. Remove all code except __mul and __sqr. Include
24858 sysdeps/ieee754/dbl-64/mpa.c.
24859 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
24860
adbb8027
SP
24861 [BZ #12723]
24862 * posix/Makefile (tests): Add tst-pathconf.
24863 * posix/tst-pathconf.c: New test case.
24864 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
24865 _PC_PIPE_BUF.
24866 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
24867
39120df9
PF
248682013-03-06 Patsy Franklin <pfrankli@redhat.com>
24869
24870 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
24871
67525cb8
AJ
248722013-03-06 Andreas Jaeger <aj@suse.de>
24873
664a9ce4
AJ
24874 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
24875 definition via __MAP_ANONYMOUS.
24876
8e39047d
AJ
24877 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
24878 it's not part of Linux headers.
24879
67525cb8
AJ
24880 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
24881 (MAP_HUGE_MASK): Define.
24882
24883 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
24884 Define.
24885 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
24886 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
24887 Define.
24888 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
24889 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
24890 Define.
24891 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
24892 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
24893 Define.
24894 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
24895
24896 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
24897 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
24898 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
24899 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
24900 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
24901 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
24902
24903 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
24904 Handle f2fs.
24905
24906 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
24907 Handle f2fs and efivarfs.
24908
24909 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
24910 f2fs.
24911
24912 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
24913 (EFIVARFS_MAGIC): Add.
24914 (F2FS_LINK_MAX): Add.
24915
e1b42695
PP
249162013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
24917
24918 * stdio-common/vfprintf.c: Replace __builtin_expect with
24919 __glibc_unlikely.
24920
2d67d91a
JM
249212013-03-06 Joseph Myers <joseph@codesourcery.com>
24922
24923 [BZ #13550]
24924 * sysdeps/generic/bp-sym.h: Remove file.
24925 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
24926 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
24927 <bp-sym.h> and <bp-asm.h>.
24928 (__longjmp): Don't use BP_SYM.
24929 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
24930 and <bp-asm.h>.
24931 (memcpy): Don't use BP_SYM.
24932 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
24933 <bp-sym.h> and <bp-asm.h>.
24934 (memcpy): Don't use BP_SYM.
24935 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
24936 <bp-asm.h>.
24937 (memcpy): Don't use BP_SYM.
24938 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
24939 <bp-asm.h>.
24940 (memset): Don't use BP_SYM.
24941 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
24942 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
24943 (__bzero): Don't use BP_SYM.
24944 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
24945 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
24946 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
24947 <bp-sym.h> and <bp-asm.h>.
24948 (memcmp): Don't use BP_SYM. Remove comment about bounded
24949 pointers.
24950 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
24951 <bp-sym.h> and <bp-asm.h>.
24952 (memcpy): Don't use BP_SYM.
24953 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
24954 <bp-sym.h> and <bp-asm.h>.
24955 (memset): Don't use BP_SYM.
24956 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
24957 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
24958 (__bzero): Don't use BP_SYM.
24959 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
24960 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
24961 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
24962 <bp-sym.h> and <bp-asm.h>.
24963 (strncmp): Don't use BP_SYM. Remove comment about bounded
24964 pointers.
24965 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
24966 <bp-sym.h> and <bp-asm.h>.
24967 (memcpy): Don't use BP_SYM.
24968 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
24969 <bp-sym.h> and <bp-asm.h>.
24970 (memset): Don't use BP_SYM.
24971 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
24972 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
24973 (__bzero): Don't use BP_SYM.
24974 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
24975 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
24976 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
24977 <bp-sym.h> and <bp-asm.h>.
24978 (__memchr): Don't use BP_SYM.
24979 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
24980 <bp-sym.h> and <bp-asm.h>.
24981 (memcmp): Don't use BP_SYM. Remove comment about bounded
24982 pointers.
24983 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
24984 <bp-sym.h> and <bp-asm.h>.
24985 (memcpy): Don't use BP_SYM.
24986 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
24987 <bp-sym.h> and <bp-asm.h>.
24988 (__mempcpy): Don't use BP_SYM.
24989 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
24990 <bp-sym.h> and <bp-asm.h>.
24991 (__memrchr): Don't use BP_SYM.
24992 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
24993 <bp-sym.h> and <bp-asm.h>.
24994 (memset): Don't use BP_SYM.
24995 (__bzero): Likewise.
24996 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
24997 <bp-sym.h> and <bp-asm.h>.
24998 (__rawmemchr): Don't use BP_SYM.
24999 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
25000 <bp-sym.h> and <bp-asm.h>.
25001 (__STRCMP): Don't use BP_SYM.
25002 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
25003 <bp-sym.h> and <bp-asm.h>.
25004 (strchr): Don't use BP_SYM.
25005 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
25006 <bp-sym.h> and <bp-asm.h>.
25007 (__strchrnul): Don't use BP_SYM.
25008 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
25009 <bp-sym.h> and <bp-asm.h>.
25010 (strlen): Don't use BP_SYM.
25011 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
25012 <bp-sym.h> and <bp-asm.h>.
25013 (strncmp): Don't use BP_SYM. Remove comment about bounded
25014 pointers.
25015 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
25016 <bp-sym.h> and <bp-asm.h>.
25017 (__strnlen): Don't use BP_SYM.
25018 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
25019 <bp-sym.h> and <bp-asm.h>.
25020 (__GI__setjmp): Don't use BP_SYM.
25021 (_setjmp): Likewise.
25022 (__sigsetjmp): Likewise.
25023 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
25024 (L(start_addresses)): Don't use BP_SYM.
25025 (_start): Likewise.
25026 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
25027 <bp-asm.h>.
25028 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
25029 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
25030 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
25031 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
25032 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
25033 <bp-asm.h>.
25034 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
25035 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
25036 about bounded pointers.
25037 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
25038 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
25039 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
25040 <bp-asm.h>.
25041 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
25042 about bounded pointers. Remove GKM FIXME comments.
25043 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
25044 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
25045 <bp-asm.h>.
25046 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
25047 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
25048 Remove GKM FIXME comments.
25049 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
25050 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
25051 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
25052 <bp-asm.h>.
25053 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
25054 about bounded pointers. Remove GKM FIXME comment.
25055 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
25056 and <bp-asm.h>.
25057 (strncmp): Don't use BP_SYM. Remove comment about bounded
25058 pointers.
25059 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
25060 <bp-sym.h> and <bp-asm.h>.
25061 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
25062 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
25063 <bp-sym.h> and <bp-asm.h>.
25064 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
25065 comment.
25066
cdcf361f
PP
250672013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
25068
25069 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
25070 call free(NULL).
25071
3c4a2b15
DM
250722013-03-05 David S. Miller <davem@davemloft.net>
25073
25074 * po/es.po: Update from translation team.
25075
cdcf361f 250762013-03-05 Andreas Jaeger <aj@suse.de>
890b58d3
AJ
25077
25078 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
25079 <bits/mman-linux.h>.
25080 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
25081 is fine.
25082 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
25083 <bits/mman-linux.h> to end of file.
25084 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
25085 is fine.
25086 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
25087 <bits/mman-linux.h> to end of file.
25088 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
25089 is fine.
25090 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
25091 <bits/mman-linux.h> to end of file.
25092
25093 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
25094 (MCL_CURRENT, MCL_FUTURE): Define here.
25095
5f67c04f
AK
250962013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25097
8a4473cc 25098 [BZ #15232]
5f67c04f
AK
25099 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
25100 attribute_hidden.
25101 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
25102
c3e94a95
AK
251032013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25104
25105 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
25106 fourth parameter needed for rt_sigprocmask syscall.
25107 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
25108 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
25109 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
25110 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
25111 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
25112 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
25113
cfb6382a
JM
251142013-03-04 Joseph Myers <joseph@codesourcery.com>
25115
25116 [BZ #13550]
25117 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
25118 comment about bounded pointers.
25119 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
25120 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
25121
539d8e01
AJ
251222013-03-04 Andreas Jaeger <aj@suse.de>
25123
25124 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
25125 common definitions.
25126
25127 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
25128 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
25129 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
25130 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
25131 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
539d8e01
AJ
25132 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
25133
2e167a70 251342013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
e0b780ad
AZ
25135
25136 [BZ #15055]
25137 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
25138 __ieee754_sqrl instead of __sqrl.
25139
68508633
JM
251402013-03-01 Joseph Myers <joseph@codesourcery.com>
25141
25142 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
25143 * sysdeps/powerpc/fpu_control.h: ... here.
25144 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
25145 * sysdeps/powerpc/bits/fenvinline.h: ... here.
25146 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
25147 * sysdeps/powerpc/bits/mathinline.h: ... here.
25148
7775448e
RM
251492013-03-01 Roland McGrath <roland@hack.frob.com>
25150
25151 * elf/dl-hwcaps.c (_dl_important_hwcaps):
25152 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
25153 to just [NEED_DL_SYSINFO_DSO].
25154 * elf/dl-support.c: Likewise.
25155 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
25156 * elf/rtld.c (dl_main): Likewise.
25157 * elf/setup-vdso.h (setup_vdso): Likewise.
25158 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
25159 * sysdeps/unix/sysv/linux/dl-sysdep.c
25160 (_dl_discover_osversion): Likewise.
25161
4e9b5995
CD
251622013-03-01 Carlos O'Donell <carlos@redhat.com>
25163
25164 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
25165 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
25166
e23872c8
SP
251672013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
25168
e5c74c63
SP
25169 * NEWS: Mention libm performance improvements and non-x86 PI
25170 futex support.
25171
e23872c8
SP
25172 * csu/libc-start.c (__pthread_initialize_minimal): Change
25173 function arguments.
25174 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
25175
b5510883
JM
251762013-02-28 Joseph Myers <joseph@codesourcery.com>
25177
25178 [BZ #13550]
25179 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
25180 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
25181 <bp-sym.h> and <bp-asm.h>.
25182 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
25183 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
25184 and <bp-asm.h>.
25185 (memcpy): Don't use BP_SYM.
25186 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
25187 <bp-asm.h>.
25188 (__mpn_add_n): Don't use BP_SYM.
25189 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
25190 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
25191 and <bp-asm.h>.
25192 (__mpn_addmul_1): Don't use BP_SYM.
25193 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
25194 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
25195 <bp-sym.h>.
25196 (_setjmp): Don't use BP_SYM.
25197 (__novmx_setjmp): Likewise.
25198 (__GI__setjmp): Likewise.
25199 (__vmx_setjmp): Likewise.
25200 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
25201 <bp-sym.h>.
25202 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
25203 (__bzero): Don't use BP_SYM.
25204 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
25205 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
25206 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
25207 <bp-sym.h> and <bp-asm.h>.
25208 (memcpy): Don't use BP_SYM.
25209 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
25210 <bp-sym.h> and <bp-asm.h>.
25211 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
25212 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
25213 <bp-sym.h> and <bp-asm.h>.
25214 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
25215 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
25216 <bp-asm.h>.
25217 (__mpn_lshift): Don't use BP_SYM.
25218 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
25219 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
25220 <bp-asm.h>.
25221 (memset): Don't use BP_SYM.
25222 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
25223 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
25224 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
25225 <bp-asm.h>.
25226 (__mpn_mul_1): Don't use BP_SYM.
25227 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
25228 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
25229 <bp-sym.h> and <bp-asm.h>.
25230 (memcmp): Don't use BP_SYM.
25231 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
25232 <bp-sym.h> and <bp-asm.h>.
25233 (memcpy): Don't use BP_SYM.
25234 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
25235 <bp-sym.h> and <bp-asm.h>.
25236 (memset): Don't use BP_SYM.
25237 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
25238 <bp-sym.h> and <bp-asm.h>.
25239 (strncmp): Don't use BP_SYM.
25240 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
25241 <bp-sym.h> and <bp-asm.h>.
25242 (memcpy): Don't use BP_SYM.
25243 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
25244 <bp-sym.h> and <bp-asm.h>.
25245 (memset): Don't use BP_SYM.
25246 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
25247 <bp-sym.h> and <bp-asm.h>.
25248 (__memchr): Don't use BP_SYM.
25249 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
25250 <bp-sym.h> and <bp-asm.h>.
25251 (memcmp): Don't use BP_SYM.
25252 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
25253 <bp-sym.h> and <bp-asm.h>.
25254 (memcpy): Don't use BP_SYM.
25255 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
25256 <bp-sym.h> and <bp-asm.h>.
25257 (__mempcpy): Don't use BP_SYM.
25258 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
25259 <bp-sym.h> and <bp-asm.h>.
25260 (__memrchr): Don't use BP_SYM.
25261 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
25262 <bp-sym.h> and <bp-asm.h>.
25263 (memset): Don't use BP_SYM.
25264 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
25265 <bp-sym.h> and <bp-asm.h>.
25266 (__rawmemchr): Don't use BP_SYM.
25267 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
25268 <bp-sym.h> and <bp-asm.h>.
25269 (__STRCMP): Don't use BP_SYM.
25270 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
25271 <bp-sym.h> and <bp-asm.h>.
25272 (strchr): Don't use BP_SYM.
25273 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
25274 <bp-sym.h> and <bp-asm.h>.
25275 (__strchrnul): Don't use BP_SYM.
25276 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
25277 <bp-sym.h> and <bp-asm.h>.
25278 (strlen): Don't use BP_SYM.
25279 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
25280 <bp-sym.h> and <bp-asm.h>.
25281 (strncmp): Don't use BP_SYM.
25282 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
25283 <bp-sym.h> and <bp-asm.h>.
25284 (__strnlen): Don't use BP_SYM.
25285 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
25286 <bp-asm.h>.
25287 (__mpn_rshift): Don't use BP_SYM.
25288 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
25289 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
25290 <bp-sym.h> and <bp-asm.h>.
25291 (__sigsetjmp): Don't use BP_SYM.
25292 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
25293 (L(start_addresses)): Don't use BP_SYM.
25294 (_start): Likewise.
25295 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
25296 <bp-asm.h>.
25297 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
25298 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
25299 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
25300 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
25301 <bp-asm.h>.
25302 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
25303 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
25304 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
25305 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
25306 <bp-asm.h>.
25307 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
25308 comments.
25309 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
25310 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
25311 <bp-asm.h>.
25312 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
25313 FIXME comments.
25314 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
25315 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
25316 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
25317 <bp-asm.h>.
25318 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
25319 comment.
25320 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
25321 and <bp-asm.h>.
25322 (strncmp): Don't use BP_SYM,
25323 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
25324 <bp-asm.h>.
25325 (__mpn_sub_n): Don't use BP_SYM.
25326 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
25327 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
25328 and <bp-asm.h>.
25329 (__mpn_submul_1): Don't use BP_SYM.
25330 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
25331 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
25332 <bp-sym.h> and <bp-asm.h>.
25333 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
25334 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
25335 <bp-sym.h> and <bp-asm.h>.
25336 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
25337 comment.
25338
8d19fe64
SP
253392013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
25340
25341 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
25342 Use ZK to minimize writes to Z.
25343 (sub_magnitudes): Simplify code a bit.
25344 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
25345 Use ZK to minimize writes to Z.
25346 (sub_magnitudes): Simplify code a bit.
25347
85bd816a
RM
253482013-02-27 Roland McGrath <roland@hack.frob.com>
25349
25350 * csu/gmon-start.c: Add special exception to license text.
25351
b5977bf2
RH
253522013-02-27 Richard Henderson <rth@redhat.com>
25353
25354 * scripts/config.guess: Update from config.git.
25355 * scripts/config.sub: Likewise.
25356
11d6e2f2
SP
253572013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
25358
09c14ed2
SP
25359 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
25360
a688864e
SP
25361 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
25362
6295157a
SP
25363 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
25364
b8de2202
SP
25365 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
25366
11d6e2f2
SP
25367 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
25368
7e80ddb8
RM
253692013-02-26 Roland McGrath <roland@hack.frob.com>
25370
25371 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
25372 [$(build-shared = yes].
7e80ddb8 25373
7da6d9ed
SP
253742013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
25375
45f05884
SP
25376 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
25377 (__mul): Reduce iterations for calculating mantissa.
25378
2236d359
SP
25379 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
25380 MPTWO.
25381 (__mpranred): Likewise.
25382
7da6d9ed
SP
25383 [BZ #15160]
25384 * malloc/memusagestat.c (main): Draw graphs for heap and stack
25385 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
25386
b7688c42
PE
253872013-02-26 Paul Eggert <eggert@cs.ucla.edu>
25388
25389 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
25390 Define __attribute__.
25391
53a5c423
SP
253922013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
25393
25394 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
25395 unused.
25396 * posix/regex_internal.h (__attribute): Remove.
25397 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
25398 (re_string_context_at): Likewise.
25399 (bitset_not): Use __attribute__ and mark function as possibly
25400 unused.
25401 (bitset_merge): Likewise.
25402 (bitset_mask): Likewise.
25403 (re_string_char_size_at): Likewise.
25404 (re_string_wchar_at): Likewise.
25405 (re_string_elem_size_at): Likewise.
25406
60f5a8b5
SP
254072013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
25408
2a983a2e
SP
25409 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
25410 code.
25411 (cc32): Likewise.
25412
e69804d1
SP
25413 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
25414 (__acr): Likewise.
25415 (__cpy): Likewise.
25416 (norm): Likewise.
25417 (denorm): Likewise.
25418 (__dbl_mp): Likewise.
25419 (add_magnitudes): Likewise.
25420 (sub_magnitudes): Likewise.
25421 (__mul): Likewise.
25422 (__inv): Likewise.
25423
2f22a1e8
SP
25424 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
25425 style.
25426
8930ddc7
SP
25427 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
25428 style.
25429
dc60cb11
SP
25430 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
25431 code.
25432
60f5a8b5
SP
25433 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
25434 up changes with default code.
25435 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
25436 Likewise.
25437
b4d1fd33
AM
254382013-02-24 Allan McRae <allan@archlinux.org>
25439
faf6f8bc
AM
25440 * manual/socket.texi (The Internet Namespace): Order menu items
25441 to match that in the file.
25442
b4d1fd33
AM
25443 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
25444 node listing of the info page menu.
25445
2366713d
JM
254462013-02-21 Joseph Myers <joseph@codesourcery.com>
25447
25448 [BZ #13550]
25449 * sysdeps/i386/bp-asm.h: Remove file.
25450 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
25451 (PARMS): Do not use macros from bp-asm.h.
25452 (S1): Likewise.
25453 (S2): Likewise.
25454 (SIZE): Likewise.
25455 (__mpn_add_n): Do not use BP_SYM
25456 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
25457 "bp-asm.h".
25458 (PARMS): Do not use macros from bp-asm.h.
25459 (S1): Likewise.
25460 (SIZE): Likewise.
25461 (__mpn_addmul_1): Do not use BP_SYM
25462 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
25463 "bp-asm.h".
25464 (PARMS): Do not use macros from bp-asm.h.
25465 (SIGMSK): Likewise.
25466 (_setjmp): Likewise. Do not use BP_SYM.
25467 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
25468 "bp-asm.h".
25469 (PARMS): Do not use macros from bp-asm.h.
25470 (SIGMSK): Likewise.
25471 (setjmp): Likewise. Do not use BP_SYM.
25472 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
25473 "bp-asm.h".
25474 (PARMS): Do not use macros from bp-asm.h.
25475 (__frexp): Do not use BP_SYM.
25476 (frexp): Likewise.
25477 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
25478 "bp-asm.h".
25479 (PARMS): Do not use macros from bp-asm.h.
25480 (__frexpf): Do not use BP_SYM.
25481 (frexpf): Likewise.
25482 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
25483 "bp-asm.h".
25484 (PARMS): Do not use macros from bp-asm.h.
25485 (__frexpl): Do not use BP_SYM.
25486 (frexpl): Likewise.
25487 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
25488 "bp-asm.h".
25489 (PARMS): Do not use macros from bp-asm.h.
25490 (__remquo): Do not use BP_SYM.
25491 (remquo): Likewise.
25492 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
25493 "bp-asm.h".
25494 (PARMS): Do not use macros from bp-asm.h.
25495 (__remquof): Do not use BP_SYM.
25496 (remquof): Likewise.
25497 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
25498 "bp-asm.h".
25499 (PARMS): Do not use macros from bp-asm.h.
25500 (__remquol): Do not use BP_SYM.
25501 (remquol): Likewise.
25502 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
25503 "bp-asm.h".
25504 (PARMS): Do not use macros from bp-asm.h.
25505 (DEST): Likewise.
25506 (SRC): Likewise.
25507 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
25508 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
25509 "bp-asm.h".
25510 (PARMS): Do not use macros from bp-asm.h.
25511 (strlen): Do not use BP_SYM.
25512 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
25513 "bp-asm.h".
25514 (PARMS): Do not use macros from bp-asm.h.
25515 (S1): Likewise.
25516 (S2): Likewise.
25517 (SIZE): Likewise.
25518 (__mpn_add_n): Do not use BP_SYM.
25519 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
25520 "bp-asm.h".
25521 (PARMS): Do not use macros from bp-asm.h.
25522 (S1): Likewise.
25523 (SIZE): Likewise.
25524 (__mpn_addmul_1): Do not use BP_SYM.
25525 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
25526 weak_alias.
25527 (bzero): Likewise.
25528 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
25529 "bp-asm.h".
25530 (PARMS): Do not use macros from bp-asm.h.
25531 (S): Likewise.
25532 (SIZE): Likewise.
25533 (__mpn_lshift): Do not use BP_SYM.
25534 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
25535 "bp-asm.h".
25536 (PARMS): Do not use macros from bp-asm.h.
25537 (DEST): Likewise.
25538 (SRC): Likewise.
25539 (LEN): Likewise.
25540 (memcpy): Likewise. Do not use BP_SYM.
25541 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
25542 libc_hidden_def and weak_alias.
25543 (mempcpy): Do not use BP_SYM in weak_alias.
25544 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
25545 "bp-asm.h".
25546 (PARMS): Do not use macros from bp-asm.h.
25547 (DEST): Likewise.
25548 (LEN): Likewise.
25549 [!BZERO_P] (CHR): Likewise.
25550 (memset): Likewise. Do not use BP_SYM.
25551 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
25552 "bp-asm.h".
25553 (PARMS): Do not use macros from bp-asm.h.
25554 (S1): Likewise.
25555 (SIZE): Likewise.
25556 (__mpn_mul_1): Do not use BP_SYM.
25557 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
25558 "bp-asm.h".
25559 (PARMS): Do not use macros from bp-asm.h.
25560 (S): Likewise.
25561 (SIZE): Likewise.
25562 (__mpn_rshift): Do not use BP_SYM.
25563 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
25564 "bp-asm.h".
25565 (PARMS): Do not use macros from bp-asm.h.
25566 (STR): Likewise.
25567 (CHR): Likewise.
25568 (strchr): Likewise. Do not use BP_SYM.
25569 (index): Do not use BP_SYM in weak_alias.
25570 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
25571 "bp-asm.h".
25572 (PARMS): Do not use macros from bp-asm.h.
25573 (DEST): Likewise.
25574 (SRC): Likewise.
25575 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
25576 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
25577 "bp-asm.h".
25578 (PARMS): Do not use macros from bp-asm.h.
25579 (strlen): Do not use BP_SYM.
25580 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
25581 "bp-asm.h".
25582 (PARMS): Do not use macros from bp-asm.h.
25583 (S1): Likewise.
25584 (S2): Likewise.
25585 (SIZE): Likewise.
25586 (__mpn_sub_n): Do not use BP_SYM.
25587 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
25588 "bp-asm.h".
25589 (PARMS): Do not use macros from bp-asm.h.
25590 (S1): Likewise.
25591 (SIZE): Likewise.
25592 (__mpn_submul_1): Do not use BP_SYM.
25593 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
25594 "bp-asm.h".
25595 (PARMS): Do not use macros from bp-asm.h.
25596 (S1): Likewise.
25597 (S2): Likewise.
25598 (SIZE): Likewise.
25599 (__mpn_add_n): Do not use BP_SYM.
25600 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
25601 weak_alias.
25602 (bzero): Likewise.
25603 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
25604 "bp-asm.h".
25605 (PARMS): Do not use macros from bp-asm.h.
25606 (BLK2): Likewise.
25607 (LEN): Likewise.
25608 (memcmp): Do not use BP_SYM.
25609 (bcmp): Do not use BP_SYM in weak_alias.
25610 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
25611 "bp-asm.h".
25612 (PARMS): Do not use macros from bp-asm.h.
25613 (DEST): Likewise.
25614 (SRC): Likewise.
25615 (LEN): Likewise.
25616 (memcpy): Likewise. Do not use BP_SYM.
25617 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
25618 "bp-asm.h".
25619 (PARMS): Do not use macros from bp-asm.h.
25620 (DEST): Likewise.
25621 (SRC): Likewise.
25622 (LEN): Likewise.
25623 (memmove): Likewise. Do not use BP_SYM.
25624 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
25625 "bp-asm.h".
25626 (PARMS): Do not use macros from bp-asm.h.
25627 (DEST): Likewise.
25628 (SRC): Likewise.
25629 (LEN): Likewise.
25630 (__mempcpy): Likewise. Do not use BP_SYM.
25631 (mempcpy): Do not use BP_SYM in weak_alias.
25632 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
25633 "bp-asm.h".
25634 (PARMS): Do not use macros from bp-asm.h.
25635 (DEST): Likewise.
25636 (LEN): Likewise.
25637 [!BZERO_P] (CHR): Likewise.
25638 (memset): Likewise. Do not use BP_SYM.
25639 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
25640 "bp-asm.h".
25641 (PARMS): Do not use macros from bp-asm.h.
25642 (STR2): Likewise.
25643 (strcmp): Do not use BP_SYM.
25644 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
25645 "bp-asm.h".
25646 (PARMS): Do not use macros from bp-asm.h.
25647 (STR): Likewise.
25648 (DELIM): Likewise.
25649 [USE_AS_STRTOK_R] (SAVE): Likewise.
25650 (FUNCTION): Likewise. Do not use BP_SYM.
25651 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
25652 aliases.
25653 (strtok_r): Likewise.
25654 (__GI___strtok_r): Likewise.
25655 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
25656 (PARMS): Do not use macros from bp-asm.h.
25657 (S): Likewise.
25658 (SIZE): Likewise.
25659 (__mpn_lshift): Do not use BP_SYM.
25660 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
25661 (PARMS): Do not use macros from bp-asm.h.
25662 (STR): Likewise.
25663 (CHR): Likewise.
25664 (__memchr): Do not use BP_SYM.
25665 (memchr): Do not use BP_SYM in weak_alias.
25666 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
25667 (PARMS): Do not use macros from bp-asm.h.
25668 (BLK2): Likewise.
25669 (LEN): Likewise.
25670 (memcmp): Do not use BP_SYM.
25671 (bcmp): Do not use BP_SYM in weak_alias.
25672 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
25673 (PARMS): Do not use macros from bp-asm.h.
25674 (S1): Likewise.
25675 (SIZE): Likewise.
25676 (__mpn_mul_1): Do not use BP_SYM.
25677 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
25678 "bp-asm.h".
25679 (PARMS): Do not use macros from bp-asm.h.
25680 (STR): Likewise.
25681 (CHR): Likewise.
25682 (__rawmemchr): Do not use BP_SYM.
25683 (rawmemchr): Do not use BP_SYM in weak_alias.
25684 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
25685 (PARMS): Do not use macros from bp-asm.h.
25686 (S): Likewise.
25687 (SIZE): Likewise.
25688 (__mpn_rshift): Do not use BP_SYM.
25689 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
25690 (PARMS): Do not use macros from bp-asm.h.
25691 (SIGMSK): Likewise.
25692 (__sigsetjmp): Likewise. Do not use BP_SYM.
25693 * sysdeps/i386/start.S: Do not include "bp-sym.h".
25694 (_start): Do not use BP_SYM.
25695 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
25696 (PARMS): Do not use macros from bp-asm.h.
25697 (DEST): Likewise.
25698 (SRC): Likewise.
25699 (__stpcpy): Likewise. Do not use BP_SYM.
25700 (stpcpy): Do not use BP_SYM in weak_alias.
25701 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
25702 "bp-asm.h".
25703 (PARMS): Do not use macros from bp-asm.h.
25704 (DEST): Likewise.
25705 (SRC): Likewise.
25706 (LEN): Likewise.
25707 (__stpncpy): Likewise. Do not use BP_SYM.
25708 (stpncpy): Do not use BP_SYM in weak_alias.
25709 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
25710 (PARMS): Do not use macros from bp-asm.h.
25711 (STR): Likewise.
25712 (CHR): Likewise.
25713 (strchr): Likewise. Do not use BP_SYM.
25714 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
25715 "bp-asm.h".
25716 (PARMS): Do not use macros from bp-asm.h.
25717 (STR): Likewise.
25718 (CHR): Likewise.
25719 (__strchrnul): Likewise. Do not use BP_SYM.
25720 (strchrnul): Do not use BP_SYM in weak_alias.
25721 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
25722 "bp-asm.h".
25723 (PARMS): Do not use macros from bp-asm.h.
25724 (STOP): Likewise.
25725 (strcspn): Do not use BP_SYM.
25726 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
25727 "bp-asm.h".
25728 (PARMS): Do not use macros from bp-asm.h.
25729 (STR): Likewise.
25730 (STOP): Likewise.
25731 (strpbrk): Likewise. Do not use BP_SYM.
25732 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
25733 "bp-asm.h".
25734 (PARMS): Do not use macros from bp-asm.h.
25735 (STR): Likewise.
25736 (CHR): Likewise.
25737 (strrchr): Likewise. Do not use BP_SYM.
25738 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
25739 (PARMS): Do not use macros from bp-asm.h.
25740 (SKIP): Likewise.
25741 (strspn): Do not use BP_SYM.
25742 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
25743 (PARMS): Do not use macros from bp-asm.h.
25744 (STR): Likewise.
25745 (DELIM): Likewise.
25746 (SAVE): Likewise.
25747 (FUNCTION): Likewise. Do not use BP_SYM.
25748 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
25749 aliases.
25750 (strtok_r): Likewise.
25751 (__GI___strtok_r): Likewise.
25752 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
25753 (PARMS): Do not use macros from bp-asm.h.
25754 (S1): Likewise.
25755 (S2): Likewise.
25756 (SIZE): Likewise.
25757 (__mpn_sub_n): Do not use BP_SYM.
25758 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
25759 "bp-asm.h".
25760 (PARMS): Do not use macros from bp-asm.h.
25761 (S1): Likewise.
25762 (SIZE): Likewise.
25763 (__mpn_submul_1): Do not use BP_SYM.
25764 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
25765 <bp-sym.h>.
25766 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
25767 and <bp-asm.h>.
25768 (PARMS): Do not use macros from bp-asm.h.
25769 (FLAGS): Likewise.
25770 (PTID): Likewise.
25771 (TLS): Likewise.
25772 (CTID): Likewise.
25773 (__clone): Do not use BP_SYM.
25774 (clone): Do not use BP_SYM in weak_alias.
25775 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
25776 and <bp-asm.h>.
25777 (PARMS): Do not use macros from bp-asm.h.
25778 (LEN): Likewise.
25779 (__mmap64): Do not use BP_SYM.
25780 (mmap64): Do not use BP_SYM in weak_alias.
25781 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
25782 <bp-sym.h> and <bp-asm.h>.
25783 (PARMS): Do not use macros from bp-asm.h.
25784 (__posix_fadvise64_l64): Do not use BP_SYM.
25785 * sysdeps/unix/sysv/linux/i386/semtimedop.S
25786 (PARMS): Do not use macros from bp-asm.h.
25787 (NSOPS): Likewise.
25788 (semtimedop): Do not use BP_SYM.
25789 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
25790 and <bp-asm.h>.
25791
582a3cff
AM
257922013-02-21 Allan McRae <allan@archlinux.org>
25793
25794 * manual/message.texi (Charset conversion in gettext):
25795 Move @end statement to beginning of line.
25796
bab8a695
SP
257972013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
25798
80945231
SP
25799 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
25800 static.
25801 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
25802 Likewise.
25803
bab8a695
SP
25804 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
25805 (denorm): Likewise.
25806 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
25807 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
25808
e21d7aa7
AK
258092013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25810
25811 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
25812 tail-call to the resolved function if pltexit isn't needed.
25813
4c7a4263
SP
258142013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
25815
25816 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
25817 or Y being zero as being unlikely.
25818 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
25819 Likewise.
25820
41f49342
CD
258212013-02-20 Carlos O'Donell <carlos@redhat.com>
25822
25823 * manual/nss.texi (System Databases and Name Service Switch):
25824 Remove frobnicate @pxref.
25825
50022a93
TS
258262013-02-20 Thomas Schwinge <thomas@codesourcery.com>
25827
25828 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
25829 __attribute__ ((unused)) to __attribute__ ((__unused__)).
25830
08cbd996
PM
258312013-02-20 Petr Machata <pmachata@redhat.com>
25832
25833 * elf/elf.h (R_ARM_TARGET1): New macro.
25834 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
25835 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
25836 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
25837 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
25838 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
25839 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
25840 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
25841 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
25842 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
25843 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
25844 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
25845 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
25846 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
25847 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
25848 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
25849 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
25850 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
25851 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
25852 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
25853 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
25854 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
25855 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
25856 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
25857 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
25858 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
25859 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
25860 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
25861 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
25862 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
25863 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
25864 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
25865 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
25866 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
25867 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
25868 (R_ARM_THM_GOT_BREL12): Likewise.
25869 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
25870 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
25871 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
25872 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
25873 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
25874 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
25875 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
25876 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
25877 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
25878
c7b275d6
TS
258792013-02-20 Thomas Schwinge <thomas@codesourcery.com>
25880
25881 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
25882 __attribute_used__ to __attribute__ ((unused)).
25883
20cd7fb3
SP
258842013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
25885
25886 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
25887 powerpc mpa.c.
25888 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
25889 comment formatting.
25890 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
25891
92945b52
JM
258922013-02-19 Joseph Myers <joseph@codesourcery.com>
25893
25894 [BZ #13550]
25895 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
25896 Remove macro.
25897 (ENTER): Remove both macro definitions.
25898 (LEAVE): Likewise.
25899 (CHECK_BOUNDS_LOW): Likewise.
25900 (CHECK_BOUNDS_HIGH): Likewise.
25901 (CHECK_BOUNDS_BOTH): Likewise.
25902 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
25903 (RETURN_BOUNDED_POINTER): Likewise.
25904 (RETURN_NULL_BOUNDED_POINTER): Likewise.
25905 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
25906 (POP_ERRNO_LOCATION_RETURN): Likewise.
25907 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
25908 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
25909 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
25910 macros.
25911 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
25912 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
25913 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
25914 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
25915 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
25916 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
25917 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
25918 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
25919 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
25920 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
25921 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
25922 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
25923 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
25924 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
25925 removed macros.
25926 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
25927 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
25928 macros.
25929 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
25930 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
25931 * sysdeps/i386/i586/memset.S (memset): Likewise.
25932 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
25933 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
25934 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
25935 macros.
25936 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
25937 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
25938 Change uses of L(2) to L(out).
25939 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
25940 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
25941 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
25942 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
25943 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
25944 removed macros.
25945 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
25946 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
25947 macros.
25948 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
25949 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
25950 (RETURN): Do not use macro LEAVE.
25951 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
25952 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
25953 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
25954 * sysdeps/i386/i686/memset.S (memset): Likewise.
25955 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
25956 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
25957 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
25958 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
25959 Likewise.
25960 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
25961 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
25962 L(1_2) and L(1_3) into L(1).
25963 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
25964 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
25965 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
25966 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
25967 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
25968 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
25969 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
25970 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
25971 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
25972 macros.
25973 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
25974 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
25975 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
25976 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
25977 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
25978 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
25979 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
25980 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
25981 * sysdeps/i386/strcspn.S (strcspn): Likewise.
25982 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
25983 * sysdeps/i386/strrchr.S (strrchr): Likewise.
25984 * sysdeps/i386/strspn.S (strspn): Likewise.
25985 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
25986 conditional code.
25987 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
25988 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
25989 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
25990 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
25991 L(1_3) into L(1_1).
25992 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
25993 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
25994 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
25995 macros.
25996 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
25997
2389741a
JJ
259982013-02-19 Jakub Jelinek <jakub@redhat.com>
25999
26000 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
26001 macro.
26002
2016b3cd
SP
260032013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
26004
e4f22324
SP
26005 * math/atest-exp.c (exp_mpn): Remove ROUND.
26006 * math/atest-exp2.c (exp_mpn): Likewise.
26007 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
26008
2016b3cd
SP
26009 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
26010 * stdlib/tst-tls-atexit-lib.c: Likewise.
26011 * stdlib/tst-tls-atexit.c: Likewise.
26012
4be9b544
MF
260132013-02-18 Mike Frysinger <vapier@gentoo.org>
26014
26015 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
26016 and __attribute_alloc_size__.
26017
2f62b9ee
MF
260182013-02-18 Mike Frysinger <vapier@gentoo.org>
26019
26020 * include/programs/xmalloc.h: Change __attribute_alloc_size to
26021 __attribute_alloc_size__.
26022 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
26023 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
26024
6ff444c4
MF
260252013-02-18 Mike Frysinger <vapier@gentoo.org>
26026
26027 * include/programs/xmalloc.h: New file.
26028 * catgets/gencat.c: Include it.
26029 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
26030 * elf/pldd.c: Likewise.
26031 * iconv/iconv_charmap.c: Likewise.
26032 * iconv/iconvconfig.c: Likewise.
26033 * iconv/strtab.c: Likewise.
26034 * locale/programs/locale.c: Likewise.
26035 * locale/programs/localedef.h: Likewise.
26036 * locale/programs/simple-hash.c: Likewise.
26037 * nscd/nscd.h: Likewise.
26038 * nss/makedb.c: Likewise.
26039 * sysdeps/generic/ldconfig.h: Likewise.
26040
be179c8a
SP
260412013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
26042
ba384f6e
SP
26043 * Versions.def: Add GLIBC_2.18.
26044 * include/link.h (struct link_map): New member l_tls_dtor_count.
26045 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
26046 (__call_tls_dtors): Likewise.
26047 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
26048 __cxa_thread_atexit_impl.
26049 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
26050 Likewise.
26051 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
26052 Likewise.
26053 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
26054 Likewise.
26055 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
26056 Likewise.
26057 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
26058 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
26059 Likewise.
26060 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
26061 Likewise.
26062 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
26063 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
26064 Likewise.
26065 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
26066 (tests): Add test case tst-tls-atexit.
26067 (modules-names): Add shared library for tst-tls-atexit.
85891aca 26068 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
ba384f6e
SP
26069 (GLIBC_PRIVATE): Add __call_tls_dtors.
26070 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
26071 for libstdc++.
26072 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
26073 * stdlib/tst-tls-atexit.c: New test case.
26074 * stdlib/tst-tls-atexit-lib.c: New test case.
26075
ffaa74cf 26076 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
ffaa74cf 26077
be179c8a
SP
26078 * elf/Versions (ld): Add _dl_find_dso_for_object.
26079 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
26080 * elf/dl-open.c (_dl_find_dso_for_object): New function.
26081 (dl_open_worker): Use _dl_find_dso_for_object.
26082 * elf/dl-sym.c (do_sym): Likewise.
26083 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
26084
f78b5caa
AK
260852013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26086
26087 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
26088 Syntactic changes only.
26089 (_dl_runtime_profile): Do a tail-call to the resolved function.
26090
29691210
JM
260912013-02-17 Joseph Myers <joseph@codesourcery.com>
26092
26093 [BZ #13550]
26094 * sysdeps/x86_64/bp-asm.h: Remove file.
26095 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
26096 <bp-sym.h> and <bp-asm.h>.
26097 (__clone): Do not use BP_SYM.
26098 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
26099 <bp-sym.h> and <bp-asm.h>.
26100 * sysdeps/unix/x86_64/sysdep.S: Likewise.
26101 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
26102 "bp-asm.h".
26103 (_setjmp): Do not use BP_SYM.
26104 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
26105 "bp-asm.h".
26106 (setjmp): Do not use BP_SYM.
26107 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
26108 libc_hidden_def.
26109 (mempcpy): Do not use BP_SYM in weak_alias.
26110 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
26111 "bp-asm.h".
26112 (strchr): Do not use BP_SYM.
26113 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
26114 "bp-asm.h".
26115 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
26116 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
26117 (_start): Do not use BP_SYM.
26118 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
26119 "bp-asm.h".
26120 (strcat): Do not use BP_SYM.
26121 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
26122 "bp-asm.h".
26123 (STRCMP): Do not use BP_SYM.
26124 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
26125 "bp-asm.h".
26126 (STRCPY): Do not use BP_SYM.
26127 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
26128 "bp-asm.h".
26129 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
26130 "bp-asm.h".
26131 (FUNCTION): Do not use BP_SYM.
26132 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
26133 weak_alias.
26134 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
26135
f238fd19
AJ
261362013-02-17 Andreas Jaeger <aj@suse.de>
26137
26138 * time/Versions: Sort entries.
26139 * string/Versions: Likewise.
26140 * resolv/Versions: Likewise.
26141 * posix/Versions: Likewise.
26142 * iconv/Versions: Likewise.
26143 * elf/Versions: Likewise.
26144 * wcsmbs/Versions: Likewise.
26145
bd07f23c 261462013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4709fe76 26147
22af19f9
SP
26148 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
26149 loop termination condition.
26150
4709fe76
SP
26151 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
26152 variable to calculate EZ.
26153 (__sqr): Likewise.
2d0e0f29
SP
26154
26155 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
26156 the lower precision input.
26157
daaa7713
JM
261582013-02-15 Joseph Myers <joseph@codesourcery.com>
26159
26160 [BZ #13550]
26161 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
26162 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
26163 (run-via-rtld-prefix): Do not handle %-bp tests.
26164 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
26165 (all-object-suffixes): Remove .ob.
26166 (bppfx): Remove variable.
26167 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
26168 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
26169 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
26170 [$(build-bounded) = yes] (libtype.ob): Likewise.
26171 * Makerules (elide-routines.ob): Remove variable.
26172 (do-tests-clean): Do not handle *-bp.out.
26173 (common-mostlyclean): Do not handle *-bp and *-bp.out.
26174 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
26175 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
26176 (tests): Do not include $(tests-bp.out).
26177 (xtests): Do not include $(xtests-bp.out).
26178 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
26179 [$(build-bounded) = yes] ($(addprefix
26180 $(objpfx),$(binaries-bounded))): Remove rule.
26181 ($(objpfx)%-bp.out): Remove rule.
26182 * config.make.in (build-bounded): Remove variable.
26183 * crypt/Makefile [$(build-bounded) = yes]
26184 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
26185 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
26186 append to variable.
26187 [$(build-bounded) = yes] (install-lib): Likewise.
26188 [$(build-bounded) = yes] (generated): Likewise.
26189 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
26190 Remove rule.
26191 * intl/Makefile [$(build-bounded) = yes]
26192 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
26193 * math/Makefile [$(build-bounded) = yes]
26194 ($(tests:%=$(objpfx)%-bp): Likewise.
26195 * misc/Makefile [$(build-bounded) = yes]
26196 ($(objpfx)tst-tsearch-bp): Likewise.
26197 * nptl/Makeconfig (bounded-thread-library): Remove variable.
26198 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
26199 Remove dependency.
26200 * string/Makefile (o-objects.ob): Remove variable.
26201 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
26202 (CFLAGS-.ob): Remove variable.
26203 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
26204 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
26205 both definitions of variable.
26206 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
26207 (ASFLAGS-.ob): Remove variable.
26208
e97ed6dd
JM
262092013-02-14 Joseph Myers <joseph@codesourcery.com>
26210
2bdd4ca6
JM
26211 [BZ #13550]
26212 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
26213 Remove __BOUNDED_POINTERS__ from condition.
26214 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
26215 * string/bits/string2.h [!__NO_STRING_INLINES &&
26216 !__BOUNDED_POINTERS__]: Likewise.
26217 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
26218 Likewise.
26219 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
26220 Remove conditional code.
26221 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
26222 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
26223 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
26224 condition.
26225
e97ed6dd
JM
26226 [BZ #13550]
26227 * csu/libc-start.c: Do not include <bp-sym.h>.
26228 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
26229 * elf/dl-open.c: Do not include <bp-sym.h>.
26230 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
26231 * math/fegetenv.c: Do not include <bp-sym.h>.
26232 (fegetenv): Do not use BP_SYM in versioned symbols.
26233 * nptl/sysdeps/pthread/bits/libc-lockP.h
26234 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
26235 <bp-sym.h>.
26236 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26237 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
26238 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26239 (__pthread_mutex_destroy): Likewise.
26240 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26241 (__pthread_mutex_lock): Likewise.
26242 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26243 (__pthread_mutex_trylock): Likewise.
26244 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26245 (__pthread_mutex_unlock): Likewise.
26246 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26247 (__pthread_mutexattr_init): Likewise.
26248 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26249 (__pthread_mutexattr_destroy): Likewise.
26250 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26251 (__pthread_mutexattr_settype): Likewise.
26252 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26253 (__pthread_rwlock_init): Likewise.
26254 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26255 (__pthread_rwlock_destroy): Likewise.
26256 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26257 (__pthread_rwlock_rdlock): Likewise.
26258 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26259 (__pthread_rwlock_tryrdlock): Likewise.
26260 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26261 (__pthread_rwlock_wrlock): Likewise.
26262 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26263 (__pthread_rwlock_trywrlock): Likewise.
26264 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26265 (__pthread_rwlock_unlock): Likewise.
26266 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26267 (__pthread_key_create): Likewise.
26268 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26269 (__pthread_setspecific): Likewise.
26270 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26271 (__pthread_getspecific): Likewise.
26272 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
26273 Likewise.
26274 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26275 (_pthread_cleanup_push_defer): Likewise.
26276 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26277 (_pthread_cleanup_pop_restore): Likewise.
26278 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26279 (pthread_setcancelstate): Likewise.
26280 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
26281 <bp-sym.h>.
26282 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
26283 (memchr): Do not use BP_SYM in weak_alias.
26284 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
26285 (fegetenv): Do not use BP_SYM in versioned symbols.
26286 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
26287 (fesetenv): Do not use BP_SYM in versioned symbols.
26288 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
26289 (feupdateenv): Do not use BP_SYM in versioned symbols.
26290 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
26291 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
26292 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
26293 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
26294 (open64): Do not use BP_SYM in weak_alias.
26295 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
26296 (fegetenv): Do not use BP_SYM in versioned symbols.
26297 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
26298 (fesetenv): Do not use BP_SYM in versioned symbols.
26299 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
26300 (feupdateenv): Do not use BP_SYM in versioned symbols.
26301 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
26302 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
26303 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
26304 (feraiseexcept): Do not use BP_SYM in versioned symbols.
26305 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
26306 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
26307 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
26308 <bp-sym.h>.
26309 (__libc_start_main): Do not use BP_SYM.
26310
d6752ccd
SP
263112013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
26312
cb57ce60
SP
26313 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
26314 redundant return line.
26315 (norm): Likewise.
26316 (denorm): Likewise.
26317 (dbl_mp): Likewise.
26318 (sub_magnitudes): Likewise.
26319 (__add): Likewise.
26320 (__sub): Likewise.
26321 (__mul): Likewise.
26322 (__inv): Likewise.
26323 (__dvd): Likewise.
26324 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
26325 (norm): Likewise.
26326 (denorm): Likewise.
26327 (dbl_mp): Likewise.
26328 (sub_magnitudes): Likewise.
26329 (__add): Likewise.
26330 (__sub): Likewise.
26331 (__mul): Likewise.
26332 (__inv): Likewise.
26333 (__dvd): Likewise.
26334
f414520d
SP
26335 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
26336 instead of __mul.
26337 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
26338 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
26339 (cc32): Likewise.
26340
d6752ccd
SP
26341 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
26342 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
26343 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
26344 of __mul for squares.
26345 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
26346 function
26347 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
26348 Likewise.
26349 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
26350 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
26351
70d9946a
JM
263522013-02-13 Joseph Myers <joseph@codesourcery.com>
26353
26354 [BZ #13550]
26355 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
26356 code.
26357 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
26358 prototype or function definition. Rename ubp_* variables and
26359 parameters. Remove argv definitions conditional on
26360 [__BOUNDED_POINTERS__].
26361 * debug/backtrace.c (__backtrace): Do not use __unbounded.
26362 * elf/dl-runtime.c (_dl_fixup): Likewise.
26363 * include/set-hooks.h (RUN_HOOK): Likewise.
26364 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
26365 definition.
26366 * string/strcpy.c (strcpy): Do not use __unbounded.
26367 * sysdeps/generic/frame.h (struct layout): Likewise.
26368 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
26369 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
26370 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
26371 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
26372 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
26373 (__backtrace): Likewise.
26374 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
26375 use __ptrvalue.
26376 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
26377 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
26378 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
26379 Likewise.
26380 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
26381 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
26382 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
26383 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
26384 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
26385 Do not use __unbounded.
26386 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
26387 Rename __unboundedrlimits parameter to rlimits in prototype.
26388 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
26389 Do not use __unbounded.
26390 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
26391 not use __ptrvalue.
26392 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
26393 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
26394 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
26395 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
26396 __ptrvalue or __unbounded.
26397 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
26398 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
26399 use __unbounded.
26400 (__new_msgctl): Do not use __ptrvalue.
26401 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
26402 __unbounded.
26403 (__libc_msgrcv): Do not use __ptrvalue.
26404 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
26405 startup_info): Do not use __unbounded.
26406 (__libc_start_main): Likewise. Rename ubp_* variables and
26407 parameters. Remove argv definitions conditional on
26408 [__BOUNDED_POINTERS__].
26409 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
26410 __ptrvalue.
26411 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
26412 use __unbounded.
26413 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
26414 or __ptrvalue.
26415 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
26416 use __unbounded.
26417 (__new_shmctl): Do not use __ptrvalue.
26418 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
26419 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
26420 Likewise.
26421 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
26422 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
26423 (__libc_sigaction): Likewise.
26424 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
26425 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
26426 Likewise.
26427 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
26428
cc7834d6
OB
264292013-02-13 Ondřej Bílka <neleai@seznam.cz>
26430
ffb1ec7b 26431 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
170704c9
OB
26432
26433 * string/mempcpy.c: Implement by calling memcpy.
26434
bdf02814
SP
264352013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
26436
c2af38aa
SP
26437 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
26438
4e92d59e
SP
26439 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
26440 evaluation.
26441
909279a5
SP
26442 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
26443 values in the mantissa.
26444
bdf02814
SP
26445 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
26446 minimize writes to Z.
26447 (sub_magnitudes): Simplify code a bit.
26448
cd525923
RM
264492013-02-12 Roland McGrath <roland@hack.frob.com>
26450
26451 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
26452 from the message. The linker prefixes all warnings with that already.
26453
7e2f0d2d
AS
264542013-02-12 Andreas Schwab <schwab@suse.de>
26455
a445af0b
AS
26456 [BZ #15078]
26457 * posix/regexec.c (extend_buffers): Add parameter min_len.
26458 (check_matching): Pass minimum needed length.
26459 (clean_state_log_if_needed): Likewise.
26460 (get_subexp): Likewise.
26461 * posix/Makefile (tests): Add bug-regex34.
26462 (bug-regex34-ENV): Define.
26463 * posix/bug-regex34.c: New file.
26464
7e2f0d2d
AS
26465 [BZ #11561]
26466 * posix/regcomp.c (parse_bracket_exp): When looking up collating
26467 elements compare against the byte sequence of it, not its name.
26468 * posix/Makefile (tests): Add bug-regex35.
26469 (bug-regex35-ENV): Define.
26470 * posix/bug-regex35.c: New file.
26471
a175b684
TV
264722013-02-11 Tom de Vries <tom@codesourcery.com>
26473
26474 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
26475 comment.
26476 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
26477 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
26478 (CHECK_EOL): Add undef.
26479
310998fe 264802013-02-11 Ondřej Bílka <neleai@seznam.cz>
41eda41d
OB
26481
26482 * bits/stdlib-bsearch.h: New file.
26483 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
310998fe 26484 * stdlib/stdlib.h: Likewise.
41eda41d 26485
8ded91fb
RM
264862013-02-11 Roland McGrath <roland@hack.frob.com>
26487
26488 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
26489 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
26490 declaration.
26491 * manual/search.texi (Array Search Function): Add missing const in
26492 lfind prototype.
26493 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
26494 declaration to use rlim_t.
26495 (Basic Scheduling Functions): Remove erroneous const from
26496 sched_getparam prototype. Remove erroneous * from
26497 sched_get_priority_max and sched_get_priority_min prototypes.
26498 (Resource Usage): Fix summary @comment on vtimes to refer to
26499 sys/vtimes.h rather than vtimes.h.
26500 Add missing *s in vtimes prototype.
26501 (Limits on Resources): Fix ulimit prototype to return long int.
26502 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
26503 prototypes to use long int rather than double.
26504 (BSD Random): Fix initstate and setstate to use char *, not void *.
26505 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
26506 prototype to make second argument 'struct aiocb64 *const[]'.
26507 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
26508 (Status of AIO Operations): Remove erroneous const in aio_return and
26509 aio_return64 prototypes.
26510 (Synchronizing I/O): Fix sync prototype to return void.
26511 * manual/startup.texi (Suboptions): Remove an erroneous const in
26512 getsubopt prototype.
26513 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
26514 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
26515 use size_t rather than int.
26516 (Scanning All Users): Likewise for getpwent_r.
26517 (Setting Groups): Add missing const to setgroups prototype.
26518 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
26519 * manual/socket.texi (Host Names): Fix gethostbyaddr and
26520 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
26521 'const void *' rather than 'const char *'.
26522 (Host Address Functions): Likewise for inet_ntop.
26523 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
26524 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
26525 ssize_t for return value.
26526 (Sending Data): Likewise for send, sendto, sendmsg.
26527 (Socket Option Functions): Add a missing const in setsockopt prototype.
26528 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
26529 use wchar_t for the argument.
26530 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
26531 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
26532 take no arguments.
26533 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
26534 double/float/long double for second argument.
26535 Fix return types of significand, significandf, significandl.
26536 * manual/filesys.texi (Setting Permissions): Use mode_t for second
26537 argument in fchmod prototype.
26538 (File Owner): Use uid_t and gid_t in fchown prototype.
26539 (File Times): Add const to utimes, futimes, and lutimes prototypes.
26540 (Making Special Files): Use mode_t and dev_t in mknod prototype.
26541 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
26542 use 'const struct dirent **' as argument types to CMP function pointer
26543 argument.
26544 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
26545 (File Times): Fix summary magic @comment for struct utimbuf and utime
26546 to refer to utime.h, not time.h.
26547 * manual/string.texi (Argz Functions): Add missing const in
26548 argz_extract and argz_next prototypes.
26549 (Finding Tokens in a String): Likewise for basename.
26550 (String/Array Comparison): Fix typo in wcscasecmp prototype.
26551 (Copying and Concatenation): Fix typo in wmemmove prototype.
26552 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
26553 (Signal Stack): Remove erroneous const in sigstack prototype.
26554 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
26555 prototype.
26556 (Simple Calendar Time): Likewise for stime.
26557 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
26558 prototype.
26559 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
26560 say sys/sysctl.h instead.
26561 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
26562 and vsyslog prototypes.
26563
fe77fe6d
TV
265642013-02-11 Tom de Vries <tom@codesourcery.com>
26565
26566 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
26567 Remove.
26568
3a09b620
RM
265692013-02-11 Roland McGrath <roland@hack.frob.com>
26570
26571 * misc/sys/mman.h: Fix typo in mremap comment.
26572
550a0b89
RM
265732013-02-08 Roland McGrath <roland@hack.frob.com>
26574
26575 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
26576 the '\0' terminator.
26577
a2da1673
JM
265782013-02-08 Joseph Myers <joseph@codesourcery.com>
26579
26580 [BZ #13550]
26581 * debug/segfault.c: Don't include <bp-checks.h>.
26582 * sysdeps/generic/bp-checks.h: Remove file.
26583 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
26584 (__GETDENTS): Don't use CHECK_N.
26585 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
26586 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
26587 (__getgroups): Don't use CHECK_N.
26588 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
26589 (setgroups): Don't use CHECK_N.
26590 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
26591 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
26592 (__libc_msgrcv): Don't use CHECK_N.
26593 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
26594 (__libc_msgsnd): Don't use CHECK_N.
26595 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
26596 <bp-checks.h>.
26597 (__libc_pread): Don't use CHECK_N.
26598 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
26599 include <bp-checks.h>.
26600 (__libc_pread64): Don't use CHECK_N.
26601 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
26602 include <bp-checks.h>.
26603 (__libc_pwrite): Don't use CHECK_N.
26604 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
26605 include <bp-checks.h>.
26606 (__libc_pwrite64): Don't use CHECK_N.
26607 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
26608 <bp-checks.h>.
26609 (__libc_pread): Don't use CHECK_N.
26610 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
26611 include <bp-checks.h>.
26612 (__libc_pread64): Don't use CHECK_N.
26613 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
26614 include <bp-checks.h>.
26615 (__libc_pwrite): Don't use CHECK_N.
26616 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
26617 include <bp-checks.h>.
26618 (__libc_pwrite64): Don't use CHECK_N.
26619 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
26620 (do_pread): Don't use CHECK_N.
26621 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
26622 (do_pread64): Don't use CHECK_N.
26623 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
26624 (do_pwrite): Don't use CHECK_N.
26625 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
26626 (do_pwrite64): Don't use CHECK_N.
26627 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
26628 (__libc_readv): Don't use CHECK_N.
26629 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
26630 (semop): Don't use CHECK_N.
26631 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
26632 <bp-checks.h>.
26633 (semtimedop): Don't use CHECK_N.
26634 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
26635 (__libc_pread): Don't use CHECK_N.
26636 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
26637 <bp-checks.h>.
26638 (__libc_pread64): Don't use CHECK_N.
26639 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
26640 <bp-checks.h>.
26641 (__libc_pwrite): Don't use CHECK_N.
26642 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
26643 <bp-checks.h>.
26644 (__libc_pwrite64): Don't use CHECK_N.
26645 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
26646 <bp-checks.h>.
26647 (__libc_msgrcv): Don't use CHECK_N.
26648 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
26649 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
26650 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
26651 (__libc_writev): Don't use CHECK_N.
26652
b84660a8
RM
266532013-02-08 Roland McGrath <roland@hack.frob.com>
26654
7f3e75f8
RM
26655 * string/strcpy.c: Removed unused variable.
26656
b84660a8
RM
26657 * Makeconfig (+sysdep-includes): Define with := rather than =.
26658 Use an existing include/ subdir of each sysdeps dir before it.
26659
471514d3
CD
266602013-02-08 Carlos O'Donell <carlos@redhat.com>
26661
26662 * nscd/connection.c (register_traced_file): Comment function.
26663 [HAVE_INOTIFY] (union __inev): Define.
26664 [HAVE_INOTIFY] (inotify_check_files): New function.
26665 [HAVE_INOTIFY] (clear_db_cache): Likewise.
26666 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
26667 clear_db_cache.
26668 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
26669
b2d3c3be
CD
266702013-02-08 Carlos O'Donell <carlos@redhat.com>
26671
26672 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
26673 loaded if not already and that a failure is permanent.
26674
b39949d2
CD
266752013-02-08 Carlos O'Donell <carlos@redhat.com>
26676
ddacd1db 26677 [BZ #15006]
b39949d2
CD
26678 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
26679 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
26680
b2c9eff4
JM
266812013-02-08 Joseph Myers <joseph@codesourcery.com>
26682
f3aae3f3
JM
26683 [BZ #13550]
26684 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
26685 (CHECK_1_NULL_OK): Likewise.
26686 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
26687 (__fxstat): Do not use CHECK_1.
26688 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
26689 <bp-checks.h>.
26690 (___fxstat64): Do not use CHECK_1.
26691 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
26692 <bp-checks.h>.
26693 (__fxstatat): Do not use CHECK_1.
26694 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
26695 <bp-checks.h>.
26696 (__fxstatat64): Do not use CHECK_1.
26697 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
26698 <bp-checks.h>.
26699 (__fxstat): Do not use CHECK_1.
26700 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
26701 <bp-checks.h>.
26702 (__fxstatat): Do not use CHECK_1.
26703 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
26704 <bp-checks.h>.
26705 (__getresgid): Do not use CHECK_1.
26706 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
26707 <bp-checks.h>.
26708 (__getresuid): Do not use CHECK_1.
26709 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
26710 <bp-checks.h>.
26711 (__lxstat): Do not use CHECK_1.
26712 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
26713 <bp-checks.h>.
26714 (__old_msgctl): Do not use CHECK_1.
26715 (__new_msgctl): Likewise.
26716 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
26717 <bp-checks.h>.
26718 (__new_setrlimit): Do not use CHECK_1.
26719 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
26720 <bp-checks.h>.
26721 (__old_shmctl): Do not use CHECK_1.
26722 (__new_shmctl): Likewise.
26723 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
26724 <bp-checks.h>.
26725 (__xstat): Do not use CHECK_1.
26726 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
26727 (__lxstat): Do not use CHECK_1.
26728 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
26729 <bp-checks.h>.
26730 (___lxstat64): Do not use CHECK_1.
26731 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
26732 (__old_msgctl): Do not use CHECK_1.
26733 (__new_msgctl): Likewise.
26734 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
26735 <bp-checks.h>.
26736 (__gettimeofday): Do not use CHECK_1.
26737 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
26738 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
26739 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
26740 <bp-checks.h>.
26741 (__gettimeofday): Do not use CHECK_1.
26742 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
26743 (__old_shmctl): Do not use CHECK_1_NULL_OK.
26744 (__new_shmctl): Do not use CHECK_1.
26745 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
26746 <bp-checks.h>.
26747 (do_sigtimedwait): Do not use CHECK_1.
26748 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
26749 <bp-checks.h>.
26750 (do_sigwaitinfo): Do not use CHECK_1.
26751 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
26752 <bp-checks.h>.
26753 (msgctl): Do not use CHECK_1.
26754 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
26755 <bp-checks.h>.
26756 (shmctl): Do not use CHECK_1.
26757 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
26758 (ustat): Do not use CHECK_1.
26759 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
26760 <bp-checks.h>.
26761 (__fxstat): Do not use CHECK_1.
26762 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
26763 <bp-checks.h>.
26764 (__fxstatat): Do not use CHECK_1.
26765 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
26766 <bp-checks.h>.
26767 (__lxstat): Do not use CHECK_1.
26768 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
26769 <bp-checks.h>.
26770 (__xstat): Do not use CHECK_1.
26771 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
26772 (__xstat): Do not use CHECK_1.
26773 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
26774 (___xstat64): Do not use CHECK_1.
26775
b2c9eff4
JM
26776 [BZ #13550]
26777 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
26778 definitions.
26779 (CHECK_BOUNDS_HIGH): Likewise.
26780 * string/strcpy.c: Do not include <bp-checks.h>.
26781 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
26782
f1d70dad
RM
267832013-02-07 Roland McGrath <roland@hack.frob.com>
26784
26785 * nscd/nscd-client.h (__nscd_drop_map_ref):
26786 Add __attribute__ ((unused)).
26787 * nis/nss-nisplus.h (niserr2nss): Likewise.
26788
26789 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
26790 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
26791
26792 * csu/libc-tls.c (init_static_tls, init_slotinfo):
26793 Remove inline keyword.
26794 * include/rounding-mode.h (round_away): Likewise.
26795 * libio/wfileops.c (adjust_wide_data): Likewise.
26796 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
26797 (__m128i_strloadu_tolower): Likewise.
26798 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
26799 (__m128i_strloadu_tolower): Likewise.
26800 * time/mktime.c (ydhms_diff): Likewise.
26801 * locale/elem-hash.h (elem_hash): Likewise.
26802 * locale/setlocale.c (setdata): Likewise.
26803 * posix/regex_internal.h (re_string_char_size_at): Likewise.
26804 (re_string_wchar_at): Likewise.
26805 (bitset_not, bitset_merge, bitset_mask): Likewise.
26806 [!(__GNUC__ > 3)] (inline): Remove macro.
26807 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
26808 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
26809 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
26810 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
26811 * string/memcmp.c (memcmp_bytes): Likewise.
26812 * locale/programs/locarchive.c (compute_hashval): Likewise.
26813 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
26814 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
26815 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
26816 * nss/getent.c (print_rpc, print_protocols): Likewise.
26817 (print_passwd, print_group, print_aliases): Likewise.
26818 * nis/nss-nisplus.h (niserr2nss): Likewise.
26819 * nscd/connections.c (restart_p): Likewise.
26820 Change return type to bool.
26821
eab55bfb
RM
268222013-02-05 Roland McGrath <roland@hack.frob.com>
26823
7bd642f5
RM
26824 * Makeconfig (all-Depend-files): Add existing
26825 $(sorted-subdirs:=/Depend) files.
26826 (all-subdirs): Remove nss.
26827 * sysdeps/unix/inet/Subdirs: Add it here instead.
26828 * hesiod/Depend: New file.
26829
573c29b2
RM
26830 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
26831 instead of calling alloca.
26832
b2e25af0
RM
26833 * io/lseek.c (__lseek): Rename to __libc_lseek.
26834 Define __lseek as an alias.
26835
eab55bfb
RM
26836 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
26837
9a0d1941
CD
268382013-02-04 Carlos O'Donell <carlos@redhat.com>
26839
26840 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
26841 else clause and remove check for non-standard endianness.
26842
b83bbec4
DM
268432013-02-04 David S. Miller <davem@davemloft.net>
26844
26845 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26846
6277fdab
JM
268472013-02-04 Joseph Myers <joseph@codesourcery.com>
26848
26849 [BZ #13550]
26850 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
26851 (__ubp_memchr): Remove prototype.
26852 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
26853 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
26854 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
26855 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
26856 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
26857 Remove alias.
26858 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
26859 (__ubp_memchr): Likewise.
26860 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
26861 (__ubp_memchr): Likewise.
26862 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
26863 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
26864 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
26865 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
26866 CHECK_STRING.
26867 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
26868 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
26869 (__getcwd): Do not use CHECK_STRING.
26870 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
26871 <bp-checks.h>.
26872 (__real_chown): Do not use CHECK_STRING.
26873 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
26874 <bp-checks.h>.
26875 (fchownat): Do not use CHECK_STRING.
26876 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
26877 CHECK_STRING.
26878 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
26879 <bp-checks.h>.
26880 (__lchown): Do not use CHECK_STRING.
26881 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
26882 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
26883 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
26884 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
26885 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
26886 include <bp-checks.h>.
26887 (truncate64): Do not use CHECK_STRING.
26888 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
26889 <bp-checks.h>.
26890 (__real_chown): Do not use CHECK_STRING.
26891 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
26892 <bp-checks.h>.
26893 (__lchown): Do not use CHECK_STRING.
26894 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
26895 <bp-checks.h>.
26896 (__chown): Do not use CHECK_STRING.
26897 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
26898 <bp-checks.h>.
26899 (truncate64): Do not use CHECK_STRING.
26900 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
26901 Likewise.
26902 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
26903 (__xmknod): Do not use CHECK_STRING.
26904 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
26905 <bp-checks.h>.
26906 (__xmknodat): Do not use CHECK_STRING.
26907 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
26908 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
26909
903ae060
AS
269102013-02-04 Andreas Schwab <schwab@suse.de>
26911
26912 [BZ #14142]
26913 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
26914 * include/netdb.h: Likewise for h_errno.
26915 * elf/tst-stackguard1.c: Include <tls.h>.
26916
542f9466
JK
269172013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
26918
26919 * elf/link.h (struct link_map): Extend the l_addr comment.
26920 * include/link.h (struct link_map): Likewise.
26921
e782a927
JM
269222013-02-01 Joseph Myers <joseph@codesourcery.com>
26923
26924 [BZ #13550]
26925 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
26926 (BOUNDED_1): Remove macro.
26927 * debug/backtrace.c: Don't include <bp-checks.h>.
26928 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
26929 (__backtrace): Likewise.
26930 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
26931 <bp-checks.h>.
26932 (__backtrace): Don't use BOUNDED_1.
26933 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
26934 <bp-checks.h>.
26935 (__backtrace): Don't use BOUNDED_1.
26936 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
26937 (__backtrace): Don't use BOUNDED_1.
26938 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
26939 (shmat): Don't use BOUNDED_N.
26940
8cf28c5e
JM
269412013-01-31 Joseph Myers <joseph@codesourcery.com>
26942
3a7ac8a0
JM
26943 [BZ #13550]
26944 * sysdeps/generic/bp-start.h: Remove file.
26945 * csu/libc-start.c: Don't include <bp-start.h>.
26946 (LIBC_START_MAIN): Set up __environ directly instead of using
26947 INIT_ARGV_and_ENVIRON.
26948 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
26949 <bp-start.h>.
26950
f3499f95
JM
26951 [BZ #13550]
26952 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
26953 definitions.
26954 (CHECK_FCNTL): Likewise.
26955 (CHECK_N_PAGES): Likewise.
26956
32a45bea
JM
26957 [BZ #13550]
26958 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
26959 definitions.
26960 (CHECK_SIGSET_NULL_OK): Likewise.
26961 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
26962 <bp-checks.h>.
26963 (sigpending): Don't use CHECK_SIGSET.
26964 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
26965 <bp-checks.h>.
26966 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
26967 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
26968 <bp-checks.h>.
26969 (do_sigsuspend): Don't use CHECK_SIGSET.
26970 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
26971 use CHECK_SIGSET.
26972 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
26973 (do_sigwait): Don't use CHECK_SIGSET.
26974 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
26975 use CHECK_SIGSET.
26976 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
26977 include <bp-checks.h>.
26978 (sigpending): Don't use CHECK_SIGSET.
26979 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
26980 include <bp-checks.h>.
26981 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
26982 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
26983 <bp-checks.h>.
26984 (sigpending): Don't use CHECK_SIGSET.
26985 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
26986 <bp-checks.h>.
26987 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
26988
2e8a5c8c
JM
26989 [BZ #13550]
26990 * sysdeps/generic/bp-semctl.h: Remove file.
26991 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
26992 <bp-checks.h> and <bp-semctl.h>.
26993 (__old_semctl): Don't use CHECK_SEMCTL.
26994 (__new_semctl): Likewise.
26995 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
26996 and <bp-semctl.h>.
26997 (__old_semctl): Don't use CHECK_SEMCTL.
26998 (__new_semctl): Likewise.
26999 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
27000 <bp-checks.h> and <bp-semctl.h>.
27001 (__old_semctl): Don't use CHECK_SEMCTL.
27002 (__new_semctl): Likewise.
27003 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
27004 <bp-checks.h> and <bp-semctl.h>.
27005 (semctl): Don't use CHECK_SEMCTL.
27006
c2d54929
JM
27007 [BZ #13550]
27008 * Makerules (elide-bp-thunks): Remove variable.
27009 (elide-routines.oS): Don't use $(elide-bp-thunks).
27010 (elide-routines.os): Likewise.
27011 (elide-routines.o): Likewise.
27012 (elide-routines.op): Likewise.
27013 (elide-routines.og): Likewise.
27014 (objects): Don't use $(bp-thunks).
27015 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
27016 include.
27017 (common-generated): Do not add s-proto-bp.d.
27018 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
27019 (int): Likewise.
27020 (typ): Likewise.
27021 Do not generate makefile rules for bounded-pointer thunks.
27022 * sysdeps/generic/bp-thunks.h: Remove file.
27023 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
27024 * sysdeps/unix/s-proto-bp.S: Likewise.
27025
8cf28c5e
JM
27026 [BZ #15062]
27027 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
27028 parts of result separately when argument is not close to line from
27029 -i to i and one part of argument is small.
27030 * math/k_casinhf.c (__kernel_casinhf): Likewise.
27031 * math/k_casinhl.c (__kernel_casinhl): Likewise.
27032 * math/libm-test.inc (cacos_test): Add more tests.
27033 (casin_test): Likewise.
27034 (casinh_test): Likewise.
27035 * sysdeps/i386/fpu/libm-test-ulps: Update.
27036 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27037
c4e33b8d
DM
270382013-01-31 David S. Miller <davem@davemloft.net>
27039
27040 * po/de.po: Update from translation team.
27041
3b60b421
MK
270422013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
27043
27044 * time/tzfile.c: Include stdint.h for SIZE_MAX.
27045
bb931195
TS
270462013-01-25 Thomas Schwinge <thomas@codesourcery.com>
27047
b5a5da23
TS
27048 * configure.in (_AC_PROG_CC_C89): New definition.
27049 * configure: Regenerate.
27050
bb931195
TS
27051 * configure.in (AC_PROG_CPP): New definition.
27052 * configure: Regenerate.
27053
8c53a12c
JM
270542013-01-23 Joseph Myers <joseph@codesourcery.com>
27055
27056 * debug/tst-backtrace.h: New file.
27057 * debug/tst-backtrace2.c: Include tst-backtrace.h.
27058 (ret): Remove variable.
27059 (x): Likewise.
27060 (FAIL): Remove macro.
27061 (NO_INLINE): Likewise.
27062 (fn1): Use match function instead of strstr.
27063 * debug/tst-backtrace3.c: Include tst-backtrace.h.
27064 (ret): Remove variable.
27065 (x): Likewise.
27066 (FAIL): Remove macro.
27067 (NO_INLINE): Likewise.
27068 (fn): Use match function instead of strstr.
27069 * debug/tst-backtrace4.c: Include tst-backtrace.h.
27070 (ret): Remove variable.
27071 (x): Likewise.
27072 (FAIL): Remove macro.
27073 (NO_INLINE): Likewise.
27074 (handle_signal): Use match function instead of strstr.
27075 * debug/tst-backtrace5.c: Include tst-backtrace.h.
27076 (ret): Remove variable.
27077 (x): Likewise.
27078 (FAIL): Remove macro.
27079 (NO_INLINE): Likewise.
27080 (handle_signal): Use match function instead of strstr.
27081
4858fa2a
RM
270822013-01-23 Roland McGrath <roland@hack.frob.com>
27083
27084 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
27085
bae8e7f5
DM
270862013-01-23 David S. Miller <davem@davemloft.net>
27087
27088 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
27089 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
27090 argument of CAS if possible.
27091 * sysdeps/sparc/sparc64/bits/atomic.h
27092 (__arch_compare_and_exchange_val_32_acq): Likewise.
27093 (__arch_compare_and_exchange_val_64_acq): Likewise.
27094
9cbbc4ae
PT
270952013-01-23 Pino Toscano <toscano.pino@tiscali.it>
27096
27097 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
27098 * sysdeps/posix/ulimit.c: ... this.
92a601b8 27099 Include <limits.h>.
67b3f58c 27100 * sysdeps/unix/bsd/ulimit.c: Remove file.
9cbbc4ae 27101
5655a0b5
AC
271022013-01-23 Adam Conrad <adconrad@0c3.net>
27103
27104 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
27105 (LDFLAGS-tst-array5): Likewise.
27106
052aff95
JM
271072013-01-23 Joseph Myers <joseph@codesourcery.com>
27108
27109 [BZ #15036]
27110 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
27111 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
27112 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
27113 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
27114
7c1e01aa
DM
271152013-01-21 David S. Miller <davem@davemloft.net>
27116
27117 * sysdeps/sparc/backtrace.c: New file.
27118 * sysdeps/sparc/sparc32/backtrace.h: New file.
27119 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
27120 * sysdeps/sparc/sparc64/backtrace.h: New file.
27121 * sysdeps/sparc/sparc64/backtrace.c: Delete.
27122 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
27123 -funwind-tables.
27124
ab087e0a
AS
271252013-01-21 Andreas Schwab <schwab@suse.de>
27126
27127 [BZ #15020]
27128 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
27129 closed its stdout.
27130
ed689c2f
AS
271312013-01-20 Andreas Schwab <schwab@linux-m68k.org>
27132
27133 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
27134 "mpa2.h".
27135 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
27136
31d470ac
JM
271372013-01-18 Joseph Myers <joseph@codesourcery.com>
27138 Mark Mitchell <mark@codesourcery.com>
27139 Tom de Vries <tom@codesourcery.com>
27140 Paul Pluzhnikov <ppluzhnikov@google.com>
27141
27142 * debug/tst-backtrace2.c: New file.
27143 * debug/tst-backtrace3.c: Likewise.
27144 * debug/tst-backtrace4.c: Likewise.
27145 * debug/tst-backtrace5.c: Likewise.
27146 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
27147 (CFLAGS-tst-backtrace3.c): Likewise.
27148 (CFLAGS-tst-backtrace4.c): Likewise.
27149 (CFLAGS-tst-backtrace5.c): Likewise.
27150 (LDFLAGS-tst-backtrace2): Likewise.
27151 (LDFLAGS-tst-backtrace3): Likewise.
27152 (LDFLAGS-tst-backtrace4): Likewise.
27153 (LDFLAGS-tst-backtrace5): Likewise.
27154 (tests): Add new tests tst-backtrace2, tst-backtrace3,
27155 tst-backtrace4 and tst-backtrace5.
27156
90567f30 271572013-01-18 Anton Blanchard <anton@samba.org>
471a1672
AB
27158 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
27159
27160 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
27161 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
27162 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
27163 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
27164 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
27165 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
27166 "+r" and remove output regs list as redundant. Add explicit inline
27167 asm to specify register of return val to work around compiler codegen
27168 bug. Remove (int) cast on return value. Add return type parameter to
27169 use in macro so that this macro does not truncate return value for
27170 64-bit values.
27171 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
27172 pass to INTERNAL_VSYSCALL_NCS.
27173 (INLINE_VSYSCALL): Add 'long int' as return type to
27174 INTERNAL_VSYSCALL_NCS macro invocation.
27175 (INTERNAL_VSYSCALL): Add 'long int' as return type to
27176 INTERNAL_VSYSCALL_NCS macro invocation.
27177 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
27178
d3b9ea61
SP
271792013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
27180
0b57daeb
SP
27181 [BZ #14496]
27182 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
27183 Fix application of SIMD FP exception mask.
27184
caa99d06
SP
27185 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
27186 mp_no from a power of two.
27187 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
27188 __mpexp_twomm1. Use __pow_mp.
27189
d3b9ea61
SP
27190 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
27191 multiplication.
27192
1dbaee3c
DM
271932013-01-17 David S. Miller <davem@davemloft.net>
27194
27195 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27196
728d7b43
JM
271972013-01-17 Joseph Myers <joseph@codesourcery.com>
27198
27199 [BZ #15023]
27200 * include/complex.h: Condition contents on [!_COMPLEX_H].
27201 (__kernel_casinhf): New prototype.
27202 (__kernel_casinh): Likewise.
27203 (__kernel_casinhl): Likewise.
27204 * math/Makefile (libm_calls): Add k_casinh.
27205 * math/k_casinh.c: New file.
27206 * math/k_casinhf.c: Likewise.
27207 * math/k_casinhl.c: Likewise.
27208 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
27209 finite nonzero arguments.
27210 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
27211 finite nonzero arguments.
27212 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
27213 finite nonzero arguments.
27214 * math/s_casinh.c: Do not include <float.h>.
27215 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
27216 * math/s_casinhf.c: Do not include <float.h>.
27217 (__casinhf): Move code for finite nonzero arguments to
27218 k_casinhf.c.
27219 * math/s_casinhl.c: Do not include <float.h>.
27220 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
27221 redefine.
27222 (__casinhl): Move code for finite nonzero arguments to
27223 k_casinhl.c.
27224 * math/libm-test.inc (cacos_test): Add more tests.
27225 * sysdeps/i386/fpu/libm-test-ulps: Update.
27226 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27227
2a26ef3a
PT
272282013-01-17 Pino Toscano <toscano.pino@tiscali.it>
27229
27230 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
27231 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
27232 [!HAVE_MREMAP]: Remove [defined linux] case.
27233 * malloc/arena.c: Do not include <malloc-sysdep.h>.
27234
a897655d
SP
272352013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
27236
27237 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
27238
881ebe89 272392013-01-17 H.J. Lu <hongjiu.lu@intel.com>
22676eaf
L
27240
27241 * elf/elf.h (R_386_SIZE32): New relocation.
27242 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
27243 R_386_SIZE32.
27244 (elf_machine_rela): Likewise.
27245 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
27246 R_X86_64_SIZE64 and R_X86_64_SIZE32.
27247
59981e9b
JM
272482013-01-17 Joseph Myers <joseph@codesourcery.com>
27249
27250 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
27251 (FP_FAST_FMA): Do not define.
27252 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
27253 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
27254 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
27255 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
27256 !_SOFT_FLOAT]: Likewise.
27257 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
27258 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
27259 value.
27260 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
27261 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
27262 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
27263 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
27264 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
27265 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
27266 file.
27267
cfa8054f
AS
272682013-01-16 Andreas Schwab <schwab@suse.de>
27269
27270 [BZ #14327]
27271 * include/stdlib.h (__mktemp): Add declaration.
27272 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
27273 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
27274
dd930cc5
SP
272752013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
27276
881ebe89
SP
27277 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
27278 definitions.
27279 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
27280 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
27281 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
27282 definitions here.
27283 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
27284 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
27285 definitions.
27286 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
27287 and ONE.
27288 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
27289 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
27290 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
27291 definitions.
27292 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
27293 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
27294 definitions.
27295 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
f93a8d15 27296
dd930cc5
SP
27297 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
27298
c19a9f89
DM
272992013-01-15 David S. Miller <davem@davemloft.net>
27300
1aa61767
DM
27301 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
27302 trunc{,f} to libm-sysdep_routes.
27303 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
27304 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
27305 file.
27306 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
27307 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
27308 file.
27309 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
27310 file.
27311 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
27312 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
27313 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
27314 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
27315 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
27316 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
27317 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
27318 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
27319
c42d5e98
DM
27320 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
27321 nearbyint{,f} to libm-sysdep_routes.
27322 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
27323 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
27324 New file.
27325 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
27326 file.
27327 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
27328 New file.
27329 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
27330 file.
27331 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
27332 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
27333 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
27334 file.
27335 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
27336 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
27337 file.
27338 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
27339 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
27340 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
27341
c19a9f89
DM
27342 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
27343 libc_feholdexcept and libc_fesetenv.
27344
357679d2
MF
273452013-01-15 Mike Frysinger <vapier@gentoo.org>
27346
27347 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
27348
65a82e3d
DM
273492013-01-14 David S. Miller <davem@davemloft.net>
27350
8b954ab9
DM
27351 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
27352 (SPARC_ASM_VIS2_IFUNC): Likewise.
27353 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
27354 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
27355 use of 'siam' instruction.
27356 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
27357 Likewise.
27358 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
27359 Likewise.
27360 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
27361 Likewise.
27362 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
27363 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
27364 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
27365 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
27366 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
27367 file.
27368 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
27369 file.
27370 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
27371 file.
27372 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
27373 file.
27374 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
27375 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
27376 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
27377 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
27378 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
27379 new VIS2 routines.
27380 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
27381 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
27382 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
27383 Likewise.
27384 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
27385 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
27386 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
27387 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
27388 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
27389 routines to libm-sysdep_routines.
27390 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
27391
65a82e3d
DM
27392 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
27393 fdim/fdimf to libm-sysdep_routines.
27394 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
27395 file.
27396 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
27397 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
27398 file.
27399 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
27400 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
27401 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
27402 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
27403 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
27404 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
27405 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
27406
e34ab705
SP
274072013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
27408
2a91b573
SP
27409 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
27410 to optimize copies.
27411
1066a534
SP
27412 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
27413 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
27414 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
27415
e34ab705
SP
27416 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
27417 local variable MPTWO.
27418 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
27419 Likewise.
27420
aba5e596
MF
274212013-01-13 Mike Frysinger <vapier@gentoo.org>
27422
27423 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
27424 GLOB_NOESCAPE.
27425
e557e9e5
MF
274262013-01-13 Mike Frysinger <vapier@gentoo.org>
27427
27428 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
27429
0428cec9
MF
274302013-01-13 Mike Frysinger <vapier@gentoo.org>
27431
27432 * manual/pattern.texi (glob_t): Document gl_flags.
27433 (glob64_t): Likewise.
27434
8794a964
DM
274352013-01-11 David S. Miller <davem@davemloft.net>
27436
66438c3f
RM
27437 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
27438 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
27439 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
32fcb36d
DM
27440 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
27441 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
27442 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
27443 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
27444 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
27445 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
27446 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
27447 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
27448 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
27449 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
27450
4ae4244d
DM
27451 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
27452 sparc V9 rather than using V8 code.
27453 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
27454 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
27455
8794a964
DM
27456 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
27457 Move to...
27458 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
27459 Here.
27460
6270516e
RM
274612013-01-11 Roland McGrath <roland@hack.frob.com>
27462
27463 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
27464 not in the main loop.
27465 * configure: Regenerated.
27466
6a57d931
JM
274672013-01-11 Joseph Myers <joseph@codesourcery.com>
27468
27469 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
27470 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
27471 to just #else.
27472 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
27473 [!__GLIBC_HAVE_LONG_LONG] case.
27474 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
27475 condition to just #else.
27476 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
27477 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
27478 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
27479 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
27480 unconditional.
27481 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
27482 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
27483 #elif condition to just #else.
27484 * sysdeps/unix/sysv/linux/sys/sysmacros.h
27485 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
27486 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
27487 #elif condition to just #else.
27488
0e8529e9
SE
274892013-01-11 Steve Ellcey <sellcey@mips.com>
27490
27491 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
27492 (EF_MIPS_ARCH_64): Fix value.
27493 (EF_MIPS_ARCH_32R2): New.
27494 (EF_MIPS_ARCH_64R2): New.
27495
740b3dbe
L
274962013-01-11 H.J. Lu <hongjiu.lu@intel.com>
27497
27498 * Makeconfig (+link-pie-before-libc): New.
27499 (+link-pie-after-libc): Likewise.
27500 (+link-pie-tests): Likewise.
27501 (+link-pie): Rewritten.
27502 (link-before-libc): Remove $(config-LDFLAGS).
27503 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
27504 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
27505 (config-LDFLAGS): Renamed to ...
27506 (rtld-LDFLAGS): This.
27507 (rtld-tests-LDFLAGS): New macro.
27508 (link-libc-rpath-link): Likewise.
27509 (link-libc-tests-rpath-link): Likewise.
27510 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
27511 (link-libc): Prepand $(link-libc-rpath-link).
27512 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
27513 (test-program-prefix): New macro.
27514 (test-via-rtld-prefix): Likewise.
27515 (test-program-cmd): Likewise.
27516 (host-test-program-cmd): Likewise.
27517 * Makefile ($(common-objpfx)testrun.sh): Replace
27518 $(run-program-prefix) with $(test-program-prefix).
27519 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
27520 $(rtld-LDFLAGS).
27521 ($(common-objpfx)shlib.lds): Likewise.
27522 (build-module-helper): Likewise.
27523 ($(common-objpfx)format.lds): Likewise.
27524 * Rules (binaries-pie-tests): New.
27525 (binaries-pie-notests): Likewise.
27526 (binaries-pie): Rewritten.
27527 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
27528 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
27529 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
27530 (make-test-out): Replace $(host-built-program-cmd) with
27531 $(host-test-program-cmd).
27532 * config.make.in (build-hardcoded-path-in-tests): New variable.
27533 * configure.in (--enable-hardcoded-path-in-tests): New configure
27534 option.
27535 (hardcoded_path_in_tests): New AC_SUBST.
27536 * configure: Regenerated.
27537 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
27538 $(built-program-cmd) with $(test-program-cmd).
27539 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
27540 (test_program_cmd): This.
27541 * elf/Makefile ($(objpfx)order.out): Run test with
27542 $(test-program-prefix).
27543 ($(objpfx)order2.out): Likewise.
27544 ($(objpfx)tst-initorder.out): Likewise.
27545 ($(objpfx)tst-initorder2.out): Likewise.
27546 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
27547 $(test-program-cmd).
27548 ($(objpfx)tst-array1-static.out): Likewise.
27549 ($(objpfx)tst-array2.out): Likewise.
27550 ($(objpfx)tst-array3.out): Likewise.
27551 ($(objpfx)tst-array4.out): Likewise.
27552 ($(objpfx)tst-array5.out): Likewise.
27553 ($(objpfx)tst-array5-static.out): Likewise.
27554 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
27555 $(test-program-cmd).
27556 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
27557 $(run-program-prefix) with $(test-program-prefix).
27558 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
27559 (test_program_prefix): This.
27560 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
27561 $(run-program-prefix) with $(test-program-prefix).
27562 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
27563 (test_program_prefix): This.
27564 * iconvdata/tst-tables.sh: Likewise.
27565 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
27566 $(run-program-prefix) with $(test-program-prefix).
27567 ($(objpfx)tst-translit.out): Likewise.
27568 ($(objpfx)tst-gettext2.out): Likewise.
27569 ($(objpfx)tst-gettext4.out): Likewise.
27570 ($(objpfx)tst-gettext6.out): Likewise.
27571 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
27572 (test_program_prefix): This.
27573 * intl/tst-gettext2.sh: Likewise.
27574 * intl/tst-gettext4.sh Likewise.
27575 * intl/tst-gettext6.sh: Likewise.
27576 * intl/tst-translit.sh: Likewise.
27577 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
27578 with $(test-program-cmd).
27579 * libio/Makefile ($(objpfx)test-freopen.out): Replace
27580 $(run-program-prefix) with $(test-program-prefix).
27581 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
27582 (test_program_prefix): This.
27583 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
27584 $(run-program-prefix) with $(test-program-prefix).
27585 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
27586 (test_program_prefix): This.
27587 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
27588 * posix/Makefile ($(objpfx)globtest.out): Replace
27589 $(run-via-rtld-prefix) and $(test-wrapper) with
27590 $(test-program-prefix) and $(test-via-rtld-prefix).
27591 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
27592 $(test-program-prefix).
27593 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
27594 $(host-test-program-cmd).
27595 (tst-spawn-ARGS): Likewise.
27596 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
27597 $(test-program-prefix).
27598 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
27599 (test_via_rtld_prefix): This.
27600 (test_wrapper): Renamed to ...
27601 (test_program_prefix): This.
27602 (run_program_prefix): Replaced by test_program_prefix.
27603 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
27604 (test_program_prefix): This.
27605 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
27606 with $(host-test-program-cmd).
27607 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
27608 $(run-program-prefix) with $(test-program-prefix).
27609 ($(objpfx)tst-printf.out): Likewise.
27610 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
27611 $(test-program-cmd).
27612 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
27613 (test_program_prefix): This.
27614 * stdio-common/tst-unbputc.sh: Likewise.
27615 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
27616 $(run-program-prefix) with $(test-program-prefix).
27617 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
27618 (test_program_prefix): This.
27619 * string/Makefile ($(objpfx)tst-svc.out): Replace
27620 $(built-program-cmd) with $(test-program-cmd).
27621
c6fe55cf
AJ
276222013-01-11 Andreas Jaeger <aj@suse.de>
27623
27624 [BZ #15003]
27625 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
27626 value. Sync with Linux 3.7.
27627
9e6919c8
DM
276282013-01-10 David S. Miller <davem@davemloft.net>
27629
27630 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
27631 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
27632 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
27633
1c9f1a02
RM
276342013-01-10 Roland McGrath <roland@hack.frob.com>
27635
27636 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
27637 never set.
27638 * configure: Regenerated.
27639
b9de2dde
DM
276402013-01-10 David S. Miller <davem@davemloft.net>
27641
27642 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
27643 sparc V9 rather than using V8 code.
27644 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
27645 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
27646
e7f68ef4
RM
276472013-01-10 Roland McGrath <roland@hack.frob.com>
27648
27649 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
27650 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
27651 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
27652 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
27653 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
27654 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
27655 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
27656 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
27657 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
27658 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
27659 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
27660 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
27661 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
27662 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
27663 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
27664 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
27665 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
27666 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
27667 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
27668 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
27669 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
27670 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
27671 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
27672 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
27673 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
27674 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
27675 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
27676
5a47cc9c
DM
276772013-01-10 David S. Miller <davem@davemloft.net>
27678
27679 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27680
4cf8f209
L
276812013-01-10 H.J. Lu <hongjiu.lu@intel.com>
27682
27683 * posix/Makefile (tests-static): New variable.
27684 (tests): Add $(tests-static).
27685 (tst-exec-static-ARGS): New variable.
27686 (tst-spawn-static-ARGS): Likewise.
27687 * posix/tst-exec-static.c: New file.
27688 * posix/tst-spawn-static.c: Likewise.
27689 * posix/tst-exec.c: Support run directly.
27690 * posix/tst-spawn.c: Likewise.
27691
fed0faa1
JM
276922013-01-10 Joseph Myers <joseph@codesourcery.com>
27693
828beb13
JM
27694 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
27695 long.
27696 * math/bits/mathcalls.h (llrint): Likewise.
27697 (llround): Likewise.
27698 * stdlib/stdlib.h (struct drand48_data): Likewise.
27699 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
27700 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
27701 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
27702 Likewise.
27703 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
27704 Likewise.
27705 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
27706 (elf_greg_t): Likewise.
27707 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
27708 (__jmp_buf): Likewise.
27709 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
27710 definitions.
27711 (llrint): Likewise, for all definitions.
27712 (llrintl): Likewise.
27713
fed0faa1
JM
27714 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
27715 Remove [__GNUC__] condition.
27716 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
27717 condition to just [__USE_ISOC99].
27718 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
27719
1a20cb20
L
277202013-01-10 H.J. Lu <hongjiu.lu@intel.com>
27721
27722 [BZ #14200]
27723 * sysdeps/unix/sysv/linux/x86/bits/environments.h
27724 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
27725 defined.
27726 (_POSIX_V6_ILP32_OFF32): Likewise.
27727 (_XBS5_ILP32_OFF32): Likewise.
27728 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
27729 (__ILP32_OFFBIG_LDFLAGS): Likewise.
27730
751b85f7
SP
277312013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
27732
7490eb81
SP
27733 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
27734
751b85f7
SP
27735 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
27736 doubles __mpexp_twomm1. Adjust usage.
27737 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
27738 Remove.
27739
988197f0
AS
277402013-01-10 Andreas Schwab <schwab@suse.de>
27741
27742 [BZ #14964]
27743 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
27744 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
27745
e83d7298
DM
277462013-01-09 David S. Miller <davem@davemloft.net>
27747
034ed64b 27748 [BZ #15003]
57f41c40
AS
27749 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
27750 (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
27751 (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
27752 (TCP_FASTOPEN): Define.
e83d7298
DM
27753 (tcp_repair_opt): New structure.
27754 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
27755 enum values.
57f41c40
AS
27756 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
27757 (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
27758 (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
e83d7298
DM
27759 (tcp_cookie_transactions): New structure.
27760
d5e0b9bd
AB
277612013-01-09 Anton Blanchard <anton@samba.org>
27762
27763 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
27764 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
27765 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
27766 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
27767
0c07e3ea
JM
277682013-01-09 Joseph Myers <joseph@codesourcery.com>
27769
27770 * include/features.h (__USE_ANSI): Remove.
27771
232f7002
RM
277722013-01-09 Roland McGrath <roland@hack.frob.com>
27773
ad98e30c
RM
27774 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
27775
232f7002
RM
27776 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
27777
950c99ca
SP
277782013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
27779
b5792741
SP
27780 * sysdeps/s390/fpu/libm-test-ulps: Update.
27781
47cf2278
SP
27782 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27783
950c99ca
SP
27784 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
27785 (__acr): Likewise.
27786 (__cpy): Likewise.
27787 (norm): Likewise.
27788 (denorm): Likewise.
27789 (__mp_dbl): Likewise.
27790 (__dbl_mp): Likewise.
27791 (add_magnitudes): Likewise.
27792 (sub_magnitudes): Likewise.
27793 (__add): Likewise.
27794 (__sub): Likewise.
27795 (__mul): Likewise.
27796 (__inv): Likewise.
27797 (__dvd): Likewise.
27798 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
27799 (__acr): Likewise.
27800 (__cpy): Likewise.
27801 (norm): Likewise.
27802 (denorm): Likewise.
27803 (__mp_dbl): Likewise.
27804 (__dbl_mp): Likewise.
27805 (add_magnitudes): Likewise.
27806 (sub_magnitudes): Likewise.
27807 (__add): Likewise.
27808 (__sub): Likewise.
27809 (__mul): Likewise.
27810 (__inv): Likewise.
27811 (__dvd): Likewise.
27812 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
27813 (__acr): Likewise.
27814 (__cpy): Likewise.
27815 (norm): Likewise.
27816 (denorm): Likewise.
27817 (__mp_dbl): Likewise.
27818 (__dbl_mp): Likewise.
27819 (add_magnitudes): Likewise.
27820 (sub_magnitudes): Likewise.
27821 (__add): Likewise.
27822 (__sub): Likewise.
27823 (__mul): Likewise.
27824 (__inv): Likewise.
27825 (__dvd): Likewise.
27826
eede9df9
JM
278272013-01-08 Joseph Myers <joseph@codesourcery.com>
27828
27829 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
27830 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
27831 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
27832 2 && __USE_EXTERN_INLINES]: Likewise.
27833
c40ea3d9
AJ
278342013-01-08 Andreas Jaeger <aj@suse.de>
27835
27836 [BZ# 14985]
27837 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
27838 Remove.
27839 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
27840 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
27841
2ccdea26
AB
278422013-01-07 Anton Blanchard <anton@samba.org>
27843
27844 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
27845 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
27846 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
27847 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
27848 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
27849 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
27850 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
27851 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
27852 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
27853 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
27854 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
27855 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
27856 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
27857 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
27858 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
27859 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
27860 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
27861 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
27862 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
27863 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
27864 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
27865 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
27866 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
27867 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
27868 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
27869 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
27870 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
27871 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
27872 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
27873 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
27874 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
27875 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
27876 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
27877 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
27878 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
27879 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
27880 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
27881 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
27882 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
27883 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
27884 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
27885 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
27886 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
27887
a9708fed
JM
278882013-01-07 Joseph Myers <joseph@codesourcery.com>
27889
375607b9
JM
27890 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
27891 (__MALLOC_PMT): Likewise.
27892 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
27893 [__GNUC__], only on [_LIBC].
27894 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
27895 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
27896 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
27897 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
27898 forward declaration.
27899 (realloc_hook_ini): Likewise.
27900 (memalign_hook_ini): Likewise.
27901 (__libc_memalign): Do not use __MALLOC_PMT in variable
27902 declaration.
27903 (__libc_valloc): Likewise.
27904 (__libc_pvalloc): Likewise.
27905 (__libc_calloc): Likewise.
27906 (__posix_memalign): Likewise.
27907
a9708fed
JM
27908 [BZ #14996]
27909 * math/s_casinh.c: Include <float.h>.
27910 (__casinh): Do not do computation with squaring and square root
27911 for large arguments.
27912 * math/s_casinhf.c: Include <float.h>.
27913 (__casinhf): Do not do computation with squaring and square root
27914 for large arguments.
27915 * math/s_casinhl.c: Include <float.h>.
27916 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
27917 (__casinhl): Do not do computation with squaring and square root
27918 for large arguments.
27919 * math/libm-test.inc (casin_test): Add more tests.
27920 (casinh_test): Likewise.
27921 * sysdeps/i386/fpu/libm-test-ulps: Update.
27922 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27923
afec409a
L
279242013-01-04 H.J. Lu <hongjiu.lu@intel.com>
27925
27926 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
27927 (__x86_64_raw_data_cache_size): Likewise.
27928 (__x86_64_data_cache_size_half): Likewise.
27929 (__x86_64_raw_data_cache_size_half): Likewise.
27930 (__x86_64_shared_cache_size): Likewise.
27931 (__x86_64_raw_shared_cache_size): Likewise.
27932 (__x86_64_shared_cache_size_half): Likewise.
27933 (__x86_64_raw_shared_cache_size_half): Likewise.
27934 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
27935 to ...
27936 (__x86_data_cache_size): This.
27937 (__x86_64_raw_data_cache_size): Renamed to ...
27938 (__x86_raw_data_cache_size): This.
27939 (__x86_64_data_cache_size_half): Renamed to ...
27940 (__x86_data_cache_size_half): This.
27941 (__x86_64_raw_data_cache_size_half): Renamed to ...
27942 (__x86_raw_data_cache_size_half): This.
27943 (__x86_64_shared_cache_size): Renamed to ...
27944 (__x86_shared_cache_size): This.
27945 (__x86_64_raw_shared_cache_size): Renamed to ...
27946 (__x86_raw_shared_cache_size): This.
27947 (__x86_64_shared_cache_size_half): Renamed to ...
27948 (__x86_shared_cache_size_half): This.
27949 (__x86_64_raw_shared_cache_size_half): Renamed to ...
27950 (__x86_raw_shared_cache_size_half): This.
27951 * sysdeps/x86_64/memcpy.S: Updated.
27952 * sysdeps/x86_64/memset.S: Likewise.
27953 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
27954 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
27955 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
27956
0b3986d0
DM
279572013-01-04 David S. Miller <davem@davemloft.net>
27958
27959 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27960
e47686e9
AS
279612013-01-04 Andreas Schwab <schwab@linux-m68k.org>
27962
d643bac1
AS
27963 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
27964 1 to avoid redefinition warning.
27965 (__USE_GNU): Don't define.
27966 (init_signaling_nan): Protoize.
27967
e47686e9
AS
27968 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27969
b18decba
SP
279702013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
27971
fffb407f
SP
27972 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
27973 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
27974 (__cpymn): Likewise.
27975 (norm): Remove commented code.
27976 (denorm): Likewise.
27977 (__mp_dbl): Likewise.
27978 (__inv): Likewise.
27979 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
27980 (__cpymn): Likewise.
27981 (norm): Remove commented code.
27982 (denorm): Likewise.
27983 (__mp_dbl): Likewise.
27984 (__inv): Likewise.
27985
b18decba
SP
27986 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
27987 mp_no value for 1.0 and 2.0.
27988 (norm): Use RADIXI instead of radixi.d.
27989 (denorm): Likewise.
27990 (__mul): Use 0.0 instead of zero.d.
27991 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
27992 mp_no value for 1.0 and 2.0.
27993 (norm): Use RADIXI instead of radixi.d.
27994 (denorm): Likewise.
27995 (__mul): Use 0.0 instead of zero.d.
27996
cdc1c96f
JM
279972013-01-04 Joseph Myers <joseph@codesourcery.com>
27998
27999 [BZ #14994]
28000 * math/s_casinh.c (__casinh): Reduce finite argument to first
28001 quadrant then set signs of results at the end.
28002 * math/s_casinhf.c (__casinhf): Likewise.
28003 * math/s_casinhl.c (__casinhl): Likewise.
28004 * math/libm-test.inc (casin_test): Add more tests.
28005 (casinh_test): Likewise.
28006 * sysdeps/i386/fpu/libm-test-ulps: Update.
28007 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28008
302913e1
SP
280092013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
28010
6420d207
SP
28011 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
28012
a9e48ab4
SP
28013 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
28014
b7837264
SP
28015 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
28016 declarations.
28017 (denorm): Likewise.
28018 (__mp_dbl): Likewise.
28019 (__inv): Likewise.
28020
f8af25d2
SP
28021 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
28022 and adjust the header comment.
28023
302913e1
SP
28024 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
28025 variable name from declaration.
28026
5d7dd1ca
L
280272013-01-03 H.J. Lu <hongjiu.lu@intel.com>
28028
28029 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
28030 Initialize COMMON_CPUID_INDEX_7 element.
28031 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
28032 (CPUID_RTM): Likewise.
28033 (HAS_RTM): Likewise.
28034 (COMMON_CPUID_INDEX_7): New enum.
28035
2f5f40f4
AS
280362013-01-03 Andreas Schwab <schwab@linux-m68k.org>
28037
28038 [BZ #14981]
28039 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
28040 size is zero, record memory as freed.
28041
4056f4a0
AJ
280422013-01-03 Andreas Jaeger <aj@suse.de>
28043
28044 * po/ia.po: Add new Interlingua translation.
28045
ab15736f 280462012-01-03 Allan McRae <allan@archlinux.org>
fd80f0b7
AM
28047
28048 * locale/programs/localedef.c: Fix description of '--posix' flag.
28049
568035b7
JM
280502013-01-02 Joseph Myers <joseph@codesourcery.com>
28051
e6898b8d
JM
28052 * NEWS: Update dates in second copyright notice.
28053 * README: Update copyright dates in example.
28054 * manual/libc.texinfo: Update copyright dates.
28055 * scripts/test-installation.pl: Update copyright date in --version
28056 output.
28057
0e2f9562
JM
28058 * hurd/ctty-input.c: Fix copyright notice formatting.
28059 * hurd/ctty-output.c: Likewise.
28060 * hurd/dtable.c: Likewise.
28061 * hurd/hurd-raise.c: Likewise.
28062 * hurd/hurdprio.c: Likewise.
28063 * hurd/msgportdemux.c: Likewise.
28064 * misc/sys/file.h: Likewise.
28065 * misc/sys/ioctl.h: Likewise.
28066 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
28067 * sysdeps/mach/hurd/chdir.c: Likewise.
28068 * sysdeps/mach/hurd/fchdir.c: Likewise.
28069 * sysdeps/mach/hurd/rename.c: Likewise.
28070 * sysdeps/mach/hurd/rmdir.c: Likewise.
28071 * sysdeps/mach/hurd/seekdir.c: Likewise.
28072 * sysdeps/mach/hurd/setsid.c: Likewise.
28073 * sysdeps/posix/wait3.c: Likewise.
28074
568035b7
JM
28075 * All files with FSF copyright notices: Update copyright dates
28076 using scripts/update-copyrights.
28077 * intl/plural.c: Regenerated.
28078 * locale/programs/charmap-kw.h: Likewise.
28079 * locale/programs/locfile-kw.h: Likewise.
28080
da08f647
SP
280812013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
28082
0f5477af
SP
28083 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
28084 four values.
28085
44e0d4c2
SP
28086 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
28087 calculation loop and add branch prediction.
28088
4d55b4e5
SP
28089 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
28090 check access beyond bounds of m1np.
28091
da08f647
SP
28092 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
28093 MPTWO.
28094 (__inv): Remove local variable MPTWO to use the global
28095 constant.
28096 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
28097 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
28098 variable MPTWO.
28099 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
28100 MP3HALFS static const.
28101
8e051029
DM
281022013-01-01 David S. Miller <davem@davemloft.net>
28103
28104 * po/ca.po: Update from translation team.
28105
f4cf5f2d
JM
281062013-01-01 Joseph Myers <joseph@codesourcery.com>
28107
28108 * scripts/update-copyrights: New file.
28109 * Makeconfig: Reformat copyright notice.
28110 * ctype/ctype.h: Likewise.
28111 * debug/swprintf_chk.c: Likewise.
28112 * elf/dl-cache.c: Likewise.
28113 * elf/dl-debug.c: Likewise.
28114 * elf/dl-object.c: Likewise.
28115 * grp/initgroups.c: Likewise.
28116 * hurd/Makefile: Likewise.
28117 * hurd/hurd/signal.h: Likewise.
28118 * hurd/hurdfault.c: Likewise.
28119 * hurd/hurdioctl.c: Likewise.
28120 * hurd/hurdlookup.c: Likewise.
28121 * hurd/intr-msg.c: Likewise.
28122 * iconv/gconv_open.c: Likewise.
28123 * libio/swprintf.c: Likewise.
28124 * locale/lc-ctype.c: Likewise.
28125 * locale/nl_langinfo.c: Likewise.
28126 * mach/Machrules: Likewise.
28127 * mach/Makefile: Likewise.
28128 * malloc/obstack.h: Likewise.
28129 * manual/Makefile: Likewise.
28130 * manual/tsort.awk: Likewise.
28131 * misc/bits/stab.def: Likewise.
28132 * nis/nis_print_group_entry.c: Likewise.
28133 * nis/nis_table.c: Likewise.
28134 * nis/nss_compat/compat-pwd.c: Likewise.
28135 * nis/nss_compat/compat-spwd.c: Likewise.
28136 * po/Makefile: Likewise.
28137 * posix/fnmatch.c: Likewise.
28138 * posix/regex.h: Likewise.
28139 * resolv/Makefile: Likewise.
28140 * resolv/nss_dns/dns-network.c: Likewise.
28141 * resolv/res_hconf.c: Likewise.
28142 * scripts/gen-sorted.awk: Likewise.
28143 * soft-fp/soft-fp.h: Likewise.
28144 * stdio-common/printf.h: Likewise.
28145 * stdlib/monetary.h: Likewise.
28146 * stdlib/random.c: Likewise.
28147 * stdlib/random_r.c: Likewise.
28148 * sysdeps/generic/Makefile: Likewise.
28149 * sysdeps/gnu/Makefile: Likewise.
28150 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
28151 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
28152 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
28153 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
28154 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
28155 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
28156 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
28157 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
28158 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
28159 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
28160 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
28161 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
28162 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
28163 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
28164 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
28165 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
28166 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
28167 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
28168 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
28169 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
28170 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
28171 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
28172 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
28173 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
28174 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
28175 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
28176 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
28177 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
28178 * sysdeps/mach/hurd/errnos.awk: Likewise.
28179 * sysdeps/mach/hurd/fork.c: Likewise.
28180 * sysdeps/mach/hurd/getcwd.c: Likewise.
28181 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
28182 * sysdeps/mach/hurd/mmap.c: Likewise.
28183 * sysdeps/mach/hurd/utimes.c: Likewise.
28184 * sysdeps/mach/hurd/xmknod.c: Likewise.
28185 * sysdeps/posix/profil.c: Likewise.
28186 * sysdeps/posix/readdir_r.c: Likewise.
28187 * sysdeps/powerpc/bits/mathdef.h: Likewise.
28188 * sysdeps/powerpc/bits/setjmp.h: Likewise.
28189 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
28190 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
28191 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
28192 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
28193 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
28194 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
28195 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
28196 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
28197 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
28198 * sysdeps/pthread/lio_listio.c: Likewise.
28199 * sysdeps/sparc/dl-procinfo.h: Likewise.
28200 * sysdeps/unix/i386/sysdep.S: Likewise.
28201 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
28202 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
28203 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
28204 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
28205 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
28206 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
28207 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
28208 * sysdeps/unix/sysv/linux/speed.c: Likewise.
28209 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
28210 * sysdeps/wordsize-32/divdi3.c: Likewise.
28211 * time/sys/time.h: Likewise.
28212 * wcsmbs/Makefile: Likewise.
28213
0549fbba
DM
282142013-01-01 David S. Miller <davem@davemloft.net>
28215
a141f1a7
DM
28216 * po/fr.po: Update from translation team.
28217
0549fbba
DM
28218 * catgets/gencat.c: Update copyright year.
28219 * csu/version.c: Likewise.
28220 * debug/catchsegv.sh: Likewise.
28221 * debug/pcprofiledump.c: Likewise.
28222 * debug/xtrace.sh: Likewise.
28223 * elf/ldconfig.c: Likewise.
28224 * elf/ldd.bash.in: Likewise.
28225 * elf/pldd.c: Likewise.
28226 * elf/sotruss.ksh: Likewise.
28227 * elf/sprof.c: Likewise.
28228 * iconv/iconv_prog.c: Likewise.
28229 * iconv/iconvconfig.c: Likewise.
28230 * locale/programs/locale.c: Likewise.
28231 * locale/programs/localedef.c: Likewise.
28232 * login/programs/pt_chown.c: Likewise.
28233 * malloc/memusage.sh: Likewise.
28234 * malloc/memusagestat.c: Likewise.
28235 * malloc/mtrace.pl: Likewise.
28236 * nscd/nscd.c: Likewise.
28237 * nss/getent.c: Likewise.
28238 * nss/makedb.c: Likewise.
28239 * posix/getconf.c: Likewise.
28240
18ea052c
SP
282412012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
28242
28243 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
28244 numbers.
28245
9c89fca6
MF
282462012-12-30 Mike Frysinger <vapier@gentoo.org>
28247
28248 * math/bits/mathcalls.h (modf): Use __nonnull.
28249
085ec079
SP
282502012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
28251
28252 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
28253 (split): Use macro CN instead of the bare value.
28254 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
28255 could be used.
28256 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
28257 instead of the bare value.
28258 (power1): Likewise.
28259
6d9f97e1
SP
282602012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
28261
d63f73be
SP
28262 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
28263 __ATAN_TWOM.
28264 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
28265
6d9f97e1
SP
28266 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
28267 their values.
28268 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
28269 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
28270 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
28271 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
28272
4c4febf5
AJ
282732012-12-28 Andreas Jaeger <aj@suse.de>
28274
af5843ef
AJ
28275 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
28276 values are from Linux 3.7.
28277
4c4febf5
AJ
28278 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
28279 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
28280
99136f82
SP
282812012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
28282
2f216c3c 28283 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
91998e44
SP
28284 TRUE case.
28285
99136f82
SP
28286 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
28287 (norm): Likewise.
28288 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
28289 variables with preprocessor constants.
28290 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
28291 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
28292 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
28293
7fffbdff
BH
282942012-12-27 Bruno Haible <bruno@clisp.org>
28295
28296 [BZ #14317]
28297 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
28298 only if needed.
28299
b76eb5f0
SP
283002012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
28301
31a7fe5c
SP
28302 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
28303 and use variable directly.
28304 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
28305
b76eb5f0
SP
28306 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
28307 MPONE.
28308 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
28309 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
28310 variable MPONE.
28311 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
28312 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
28313 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
28314 include directive. Remove local variable MPONE.
28315 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
28316 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
28317 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
28318
2c8bfe7d
DM
283192012-12-25 David S. Miller <davem@davemloft.net>
28320
28321 * version.h (RELEASE): Set to "development".
28322 (VERSION): Set to "2.17.90".
28323 * NEWS: Add 2.18 section.
28324
147d03b0
DM
283252012-12-21 David S. Miller <davem@davemloft.net>
28326
28327 * po/hr.po: Update from translation team.
28328
a8ebb2b9
AK
283292012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28330
28331 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
28332
95b4f1b6
SE
283332012-12-19 Steve Ellcey <sellcey@mips.com>
28334
b2d94007 28335 * NEWS: Mention new memcpy for MIPS.
95b4f1b6 28336
cedb2a90
MS
283372012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
28338
28339 * manual/contrib.texi (Contributors): Spelling correction.
28340
bbf527d6
DM
283412012-12-15 David S. Miller <davem@davemloft.net>
28342
28343 * po/ru.po: Update from translation team.
28344
bc38c906
DM
283452012-12-13 David S. Miller <davem@davemloft.net>
28346
85429b1a
DM
28347 * NEWS: Mention IFUNC testsuite enhancements.
28348
d283e353
DM
28349 * po/pl.po: Update from translation team.
28350 * po/bg.po: Likewise.
28351
bc38c906
DM
28352 * manual/contrib.texi (Contributors): Update entries for Hongjiu
28353 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
28354
a181b0d7
DM
283552012-12-11 David S. Miller <davem@davemloft.net>
28356
4641d57e
DM
28357 * po/sv.po: Update from translation team.
28358
f7bc6495
DM
28359 * po/vi.po: Update from translation team.
28360
6fc9048f
DM
28361 * po/cs.po: Update from translation team.
28362
a181b0d7
DM
28363 * po/de.po: Update from translation team.
28364 * po/eo.po: Likewise.
28365 * po/nl.po: Likewise.
28366
f70bfe80
SP
283672012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
28368
3c8b4190
SP
28369 [BZ #14246]
28370 * manual/argp.texi (Argp Helper Functions): Move node to follow
28371 Argp Parsing State.
28372
f70bfe80
SP
28373 [BZ #14872]
28374 * manual/conf.texi (Limits on File System Capacity): Mention if
28375 terminating null is included in the max size.
28376
188f0adf
AJ
283772012-12-10 Andreas Jaeger <aj@suse.de>
28378
28379 * po/cs.po: Update from translation team.
28380
56e7d3ad
SP
283812012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
28382
28383 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
28384 void pointer and cast to uintptr_t.
28385 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
28386 path.
28387 * sysdeps/s390/s390-64/memcpy.S: Likewise.
28388 * sysdeps/s390/s390-64/memset.S: Likewise.
28389
76f2d2ea 283902012-12-08 Benno Schulenberg <bensberg@justemail.net>
c430c4af
BS
28391
28392 [BZ #14833]
28393 * menual/message.texi (Message Translation): Fix typos.
28394 (Helper programs for gettext): Likewise.
28395
67cbf9a2
AS
283962012-12-07 Andreas Schwab <schwab@linux-m68k.org>
28397
28398 [BZ #14898]
28399 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
28400 Change to -1.
28401
682d0e9a
DM
284022012-12-07 David S. Miller <davem@davemloft.net>
28403
28404 * po/libc.pot: Update.
28405
573cd484
RH
284062012-12-07 Richard Henderson <rth@redhat.com>
28407
7e9da188 28408 [BZ #10114]
573cd484
RH
28409 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
28410 normal/normal case to before the switch.
28411 (_FP_DIV): Likewise.
28412
e933a943
MF
284132012-12-06 Carlos O'Donell <carlos@systemhalted.org>
28414 Mike Frysinger <vapier@gentoo.org>
28415
28416 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
28417 check for __NR_fadvise64_64.
28418
82123268
CM
284192012-12-06 Chris Metcalf <cmetcalf@tilera.com>
28420
28421 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
28422 0, not just to plain "0" as a statement.
28423 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
28424 with cw.
28425
d9814526
JM
284262012-12-06 Joseph Myers <joseph@codesourcery.com>
28427
28428 * NEWS: Use sourceware.org in Bugzilla URL.
28429
7728c574
SP
284302012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
28431
f16946dd
SP
28432 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
28433 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
28434
5704bbcb
SP
28435 * stdio-common/tst-put-error.c (do_test): Add newline to the
28436 padded test to ensure flush.
28437
17aa0516
JL
284382012-12-05 Jeff Law <law@redhat.com>
28439
28440 * sunrpc/etc.rpc (fedfs_admin): Add entry.
28441
363313b5
JM
284422012-12-05 Joseph Myers <joseph@codesourcery.com>
28443
effbd42a
JM
28444 * README: Don't refer to ports add-on as distributed separately.
28445 Mention AArch64 in list of systems supported in the ports add-on.
28446
87600365
JM
28447 * LICENSES: Add more non-FSF copyright and license notices.
28448
a0d7066a
JM
28449 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
28450 ((unused)).
28451
66ca5a5b
JM
28452 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
28453
363313b5
JM
28454 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
28455 10000 as width of padded output.
28456
b37984ad
JM
284572012-12-04 Joseph Myers <joseph@codesourcery.com>
28458
9003570a
JM
28459 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
28460
b37984ad
JM
28461 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
28462 variable LX with __attribute__ ((unused)).
28463 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
28464 Likewise.
28465 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
28466 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
28467 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
28468 with __attribute__ ((unused)).
28469
c8df52ec
DM
284702012-12-04 David S. Miller <davem@abraco.davemloft.net>
28471
28472 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
28473
b3b099af
JM
284742012-12-04 Joseph Myers <joseph@codesourcery.com>
28475
c33aa6e3
JM
28476 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
28477 (CFLAGS-nldbl-acos.c): New variable.
28478 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
28479 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
28480 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
28481 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
28482 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
28483 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
28484 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
28485 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
28486 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
28487 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
28488 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
28489 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
28490 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
28491 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
28492 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
28493 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
28494 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
28495 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
28496 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
28497 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
28498 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
28499 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
28500 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
28501 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
28502 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
28503 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
28504 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
28505 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
28506 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
28507 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
28508 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
28509 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
28510 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
28511 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
28512 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
28513 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
28514 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
28515 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
28516 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
28517 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
28518 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
28519 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
28520 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
28521 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
28522 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
28523 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
28524 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
28525 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
28526 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
28527 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
28528 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
28529 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
28530 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
28531 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
28532 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
28533 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
28534 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
28535 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
28536 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
28537 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
28538 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
28539 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
28540 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
28541 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
28542 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
28543 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
28544 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
28545 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
28546 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
28547 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
28548 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
28549 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
28550 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
28551 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
28552 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
28553 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
28554 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
28555 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
28556 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
28557 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
28558 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
28559 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
28560 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
28561 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
28562 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
28563 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
28564 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
28565 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
28566 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
28567 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
28568 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
28569 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
28570 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
28571 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
28572 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
28573 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
28574 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
28575
20f0018d
JM
28576 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
28577 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
28578
b3b099af
JM
28579 [BZ #14914]
28580 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
28581 whole low double instead of just low 47 bits when splitting values
28582 into two parts.
28583
029264d1
AM
285842012-12-03 Allan McRae <allan@archlinux.org>
28585
28586 * manual/stdio.texi (Predefined Printf Handlers): Remove
28587 @hsep and @vsep usage.
28588
c9d6789e
MF
285892012-12-03 Mike Frysinger <vapier@gentoo.org>
28590
28591 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
28592 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
28593
4b7634a5
JL
285942012-12-03 Jeff Law <law@redhat.com>
28595
28596 * time/sys/time.h (settimeofday): Do not mark TV argument
28597 as __nonnull.
28598
eb6cbd24
MF
285992012-12-01 Mike Frysinger <vapier@gentoo.org>
28600
28601 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
28602 when currently writing and seek to current position when not.
28603 * libio/Makefile (tests): Remove bug-fclose1.
28604 * libio/bug-fclose1.c: Delete.
28605
f638872a
JM
286062012-12-01 Joseph Myers <joseph@codesourcery.com>
28607
28608 * manual/arith.texi (feenableexcept): Fix typo.
28609 (fedisableexcept): Likewise.
28610
48085d14
RM
286112012-11-30 Roland McGrath <roland@hack.frob.com>
28612
28613 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
28614 second, differently-typed declaration, rather than a cast.
28615
1a538b9f
SP
286162012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
28617
28618 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
28619 * include/rpc/svc.h: ... here.
28620
d07f2ff1 286212012-11-30 Aurelien Jarno <aurel32@debian.org>
cc8bb21c
AJ
28622
28623 [BZ #13013]
28624 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
28625 depending n and resplen2 to catch cases where answer
28626 equals answerp2.
28627
c93ec1f0
CD
286282012-11-29 Carlos O'Donell <carlos@systemhalted.org>
28629
28630 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
28631 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
28632
37db69de
MF
286332012-11-29 Mike Frysinger <vapier@gentoo.org>
28634
28635 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
28636
e10c4e4f
RM
286372012-11-29 Roland McGrath <roland@hack.frob.com>
28638
28639 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
28640
2af1b328
JL
286412012-11-28 Jeff Law <law@redhat.com>
28642
28643 [BZ #13761]
28644 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
28645 dataset_temporary. Track alloca usage into alloca_used.
28646 If dataset is large allocate and release it via malloc/free.
28647
111db5b1
FW
286482012-06-04 Florian Weimer <fweimer@redhat.com>
28649
f06cc227 28650 [BZ #14197]
111db5b1
FW
28651 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
28652
dd694abd
DM
286532012-11-28 David S. Miller <davem@davemloft.net>
28654
28655 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28656
9984dd01
JM
286572012-11-28 Joseph Myers <joseph@codesourcery.com>
28658
28659 [BZ #14803]
28660 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
28661 of pi/2 rounded to nearest to 64 bits.
28662 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
28663 nearest to 64 bits.
28664 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
28665 bits.
28666
14bc93a9
JL
286672012-11-28 Jeff Law <law@redhat.com>
28668 Martin Osvald <mosvald@redhat.com>
28669
28670 [BZ #14889]
28671 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
28672 * sunrpc/svc.c: Include time.h.
28673 (__svc_accept_failed): New function.
28674 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
28675 any reason other than EINTR, call __svc_accept_failed.
28676 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
28677 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
28678
e3c6aa3a
AS
286792012-11-28 Andreas Schwab <schwab@suse.de>
28680
28681 * scripts/abilist.awk: Also handle indirect functions in .opd
28682 section.
28683
1bead169
JM
286842012-11-28 Joseph Myers <joseph@codesourcery.com>
28685
28686 [BZ #13881]
28687 * sysdeps/x86/fpu/powl_helper.c: New file.
28688 * sysdeps/x86/fpu/Makefile: Likewise.
28689 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
28690 (p3): New object.
28691 (__ieee754_powl): Use __powl_helper for finite arguments except
28692 integer exponents below 8.
28693 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
28694 (p3): New object.
28695 (__ieee754_powl): Use __powl_helper for finite arguments except
28696 integer exponents below 8.
28697 * math/libm-test.inc (pow_test): Add more tests and enable some
28698 previously disabled tests.
28699 * sysdeps/i386/fpu/libm-test-ulps: Update.
28700 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28701
0817d63d
SP
287022012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
28703 Carlos O'Donell <carlos_odonell@mentor.com>
28704
28705 * nss/makedb.c (is_prime): Assert that input is odd and greater
28706 than 4. Note that fact in a comment too.
28707 (next_prime): Add 4 to input.
28708
de2fd463
SP
287092012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
28710
28711 [BZ #11741]
28712 * libio/Makefile (tests): Add test case tst-fwrite-error.
28713 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
28714 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
28715 * libio/tst-fwrite-error.c: New test case.
28716
c515fb51
L
287172012-11-26 H.J. Lu <hongjiu.lu@intel.com>
28718
28719 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
28720 before casting to void *.
28721 * include/libc-internal.h (__pointer_type): New macro.
28722 (__integer_if_pointer_type_sub): Likewise.
28723 (__integer_if_pointer_type): Likewise.
28724 (cast_to_integer): Likewise.
28725 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
28726 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
28727 before casting to atomic64_t.
28728 (atomic_exchange_acq): Likewise.
28729 (__arch_exchange_and_add_body): Likewise.
28730 (__arch_add_body): Likewise.
28731 (atomic_add_negative): Likewise.
28732 (atomic_add_zero): Likewise.
28733
4cf77aa9
JM
287342012-11-26 Joseph Myers <joseph@codesourcery.com>
28735
28736 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
28737 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
28738 (add_fdes): Likewise.
28739 (linear_search_fdes): Likewise.
28740 (binary_search_unencoded_fdes): Likewise.
28741
d260b3b4
AS
287422012-11-26 Andreas Schwab <schwab@linux-m68k.org>
28743
28744 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
28745
67060746
AC
287462012-11-24 Adam Conrad <adconrad@0c3.net>
28747
28748 * configure.in: Autodetect C++ header directories.
28749 * configure: Regenerated.
28750
800938a1
MF
287512012-11-23 Mike Frysinger <vapier@gentoo.org>
28752
28753 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
28754
4e6e34e6
AS
287552012-11-23 Andreas Schwab <schwab@linux-m68k.org>
28756
28757 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28758
7c7feb47
JM
287592012-11-22 Joseph Myers <joseph@codesourcery.com>
28760
7184dcdf
JM
28761 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
28762 LDBL_MANT_DIG == 106]: Disable some tests.
28763 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
28764 Likewise.
28765 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
28766 Likewise.
28767
0a42601f
JM
28768 [BZ #14871]
28769 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
28770 input for small inputs. Return +/- pi/2 for large inputs.
28771 * math/libm-test.inc (atan_test): Add more tests.
28772
79c9b9fe
JM
28773 * sysdeps/generic/unwind-dw2-fde-glibc.c
28774 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
28775 __attribute__ ((unused)).
28776
c60d3bf2
JM
28777 [BZ #14645]
28778 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
28779 x * y if x and y are nonzero and z is zero.
28780
ef1e0867
JM
28781 [BZ #14811]
28782 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
28783 nonzero exponents with absolute value below 0x1p-117 to +/-
28784 0x1p-117.
28785
1468ded3
JM
28786 [BZ #14869]
28787 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
28788 up arguments below 2**-450, not just those below 2**-500.
28789 * math/libm-test.inc (hypot_test): Add another test.
28790
8e27e3cc
JM
28791 [BZ #14868]
28792 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
28793 Return a+b for ratio over 2**120, not 2**60.
28794 * math/libm-test.inc (hypot_test): Add another test.
28795
c9c0279b
JM
28796 * math/libm-test.inc (clog_test): Use
28797 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
28798 (clog10_test): Likewise.
28799
7c7feb47
JM
28800 [BZ #6778]
28801 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
28802
fff1530e
AS
288032012-11-22 Andreas Schwab <schwab@suse.de>
28804
28805 * sysdeps/i386/fpu/libm-test-ulps: Update.
28806
94558d30
PT
288072012-11-22 Pino Toscano <toscano.pino@tiscali.it>
28808
28809 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
28810 printf output with newline.
28811
7e1be741
L
288122012-11-21 H.J. Lu <hongjiu.lu@intel.com>
28813
6bfea974
L
28814 [BZ #14865]
28815 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
28816 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
28817 -z nodlopen, -z initfirst and -z execstack support.
28818 * configure: Regenerated.
28819
7e1be741
L
28820 * elf/elf.h (DF_1_NODIRECT): New macro.
28821 (DF_1_IGNMULDEF): Likewise.
28822 (DF_1_NOKSYMS): Likewise.
28823 (DF_1_NOHDR): Likewise.
28824 (DF_1_EDITED): Likewise.
28825 (DF_1_NORELOC): Likewise.
28826 (DF_1_SYMINTPOSE): Likewise.
28827 (DF_1_GLOBAUDIT): Likewise.
28828 (DF_1_SINGLETON): Likewise.
28829 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
28830 DT_1_SUPPORTED_MASK bits.
28831 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
28832
105ce2ce
CD
288332012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
28834
28835 * sysdeps/unix/make-syscalls.sh: Document prefixes.
28836
123be9de
TS
288372012-11-20 Thomas Schwinge <thomas@codesourcery.com>
28838
d072f3f7
TS
28839 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
28840 macro.
28841
123be9de
TS
28842 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
28843 (sendmmsg): Move declarations...
28844 * socket/sys/socket.h: ... here.
28845 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
28846 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
28847 include it from...
28848 * socket/recvmmsg.c: ... this new file.
28849 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
28850 (sendmmsg): Rename to __sendmmsg, create weak alias and make
28851 definition of __sendmmsg hidden.
28852 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
28853 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
28854 Move ENOSYS stub into and include it from...
28855 * socket/sendmmsg.c: ... this new file.
28856 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
28857 (sysdep_routines): Move recvmmsg and sendmmsg...
28858 * socket/Makefile (routines): ... here.
28859 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
28860 (GLIBC_PRIVATE): Add __sendmmsg.
28861 * include/sys/socket.h (__sendmmsg): Add declarations.
28862 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
28863 sendmmsg.
28864
cf9a5d18
JM
288652012-11-20 Joseph Myers <joseph@codesourcery.com>
28866
28867 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
28868 variable I1 with __attribute__ ((unused)).
28869 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
28870
ecd4caf9
JM
288712012-11-19 Joseph Myers <joseph@codesourcery.com>
28872
be14d48f
JM
28873 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
28874 DUMMY variables with __attribute__ ((unused)).
28875
ecd4caf9
JM
28876 * bits/byteswap.h: Include <bits/types.h>.
28877 (__bswap_64): Use __uint64_t instead of unsigned long long int.
28878
986cab95
PT
288792012-11-19 Pino Toscano <toscano.pino@tiscali.it>
28880
28881 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
28882 string_t. Do not manually set errno.
28883 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
28884 length with __strnlen. Make sure to both set errno and return it on
28885 failure.
28886
6d33cc9d
DM
288872012-11-19 David S. Miller <davem@davemloft.net>
28888
28889 With help from Joseph Myers.
28890 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
28891 very large arguments properly.
28892 * math/libm-test.inc (atan_test): New tests.
28893 (atan2_test): New tests.
28894 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28895 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
28896
ee663277
JM
288972012-11-19 Joseph Myers <joseph@codesourcery.com>
28898
877f2d8e
JM
28899 [BZ #14856]
28900 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
28901 Define to 3.
28902
116fc08a
JM
28903 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
28904 [POSIX] (EADDRNOTAVAIL): Likewise.
28905 [POSIX] (EAFNOSUPPORT): Likewise.
28906 [POSIX] (EALREADY): Likewise.
28907 [POSIX] (ECONNABORTED): Likewise.
28908 [POSIX] (ECONNREFUSED): Likewise.
28909 [POSIX] (ECONNRESET): Likewise.
28910 [POSIX] (EDESTADDRREQ): Likewise.
28911 [POSIX] (EDQUOT): Likewise.
28912 [POSIX] (EHOSTUNREACH): Likewise.
28913 [POSIX] (EIDRM): Likewise.
28914 [POSIX] (EISCONN): Likewise.
28915 [POSIX] (ELOOP): Likewise.
28916 [POSIX] (EMULTIHOP): Likewise.
28917 [POSIX] (ENETDOWN): Likewise.
28918 [POSIX] (ENETUNREACH): Likewise.
28919 [POSIX] (ENOBUFS): Likewise.
28920 [POSIX] (ENODATA): Likewise.
28921 [POSIX] (ENOLINK): Likewise.
28922 [POSIX] (ENOMSG): Likewise.
28923 [POSIX] (ENOPROTOOPT): Likewise.
28924 [POSIX] (ENOSR): Likewise.
28925 [POSIX] (ENOSTR): Likewise.
28926 [POSIX] (ENOTCONN): Likewise.
28927 [POSIX] (ENOTSOCK): Likewise.
28928 [POSIX] (EOPNOTSUPP): Likewise.
28929 [POSIX] (EOVERFLOW): Likewise.
28930 [POSIX] (EPROTO): Likewise.
28931 [POSIX] (EPROTONOSUPPORT): Likewise.
28932 [POSIX] (EPROTOTYPE): Likewise.
28933 [POSIX] (ESTALE): Likewise.
28934 [POSIX] (ETIME): Likewise.
28935 [POSIX] (ETXTBSY): Likewise.
28936 [POSIX] (EWOULDBLOCK): Likewise.
28937 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
28938 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
28939 [POSIX] (SEEK_CUR): Likewise.
28940 [POSIX] (SEEK_END): Likewise.
28941 [POSIX || UNIX98] (mode_t): Do not require.
28942 [POSIX] (off_t): Likewise.
28943 [POSIX] (pid_t): Likewise.
28944 [POSIX] (sys/stat.h): Do not allow header.
28945 [POSIX] (unistd.h): Likewise.
28946 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
28947 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
28948 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
28949 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
28950 require.
28951 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
28952 sigevent): Specify elements.
28953 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
28954 entry.
28955 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
28956 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
28957
a483863f
JM
28958 * conform/data/cpio.h-data [POSIX]: Disable whole file.
28959 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
28960 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
28961 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
28962 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
28963 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
28964 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
28965 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
28966 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
28967 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
28968 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
28969 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
28970 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
28971 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
28972 Likewise.
28973 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
28974 Likewise.
28975 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
28976 Likewise.
28977 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
28978 Likewise.
28979 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
28980 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
28981 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
28982 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
28983 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
28984 Specify lower bound on value.
28985 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
28986 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
28987 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
28988 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
28989 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
28990 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
28991 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
28992 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
28993 value.
28994 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
28995 as optional.
28996 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
28997 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
28998 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
28999 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
29000 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
29001 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
29002 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
29003 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
29004 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
29005 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
29006 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
29007 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
29008 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
29009 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
29010 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
29011 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
29012 entry.
29013 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
29014 optional.
29015 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
29016 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
29017 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
29018 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
29019 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
29020 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
29021 Likewise.
29022 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
29023 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
29024 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
29025 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
29026 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
29027 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
29028 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
29029 as optional.
29030 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
29031 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
29032 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
29033 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
29034 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
29035 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
29036 specify as optional.
29037 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
29038 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
29039 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
29040 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
29041 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
29042 [XPG3] (NL_LANGMAX): Likewise.
29043 [POSIX || XPG3] (NL_MSGMAX): Likewise.
29044 [POSIX || XPG3] (NL_NMAX): Likewise.
29045 [POSIX || XPG3] (NL_SETMAX): Likewise.
29046 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
29047 [XPG3] (NZERO): Likewise.
29048 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
29049 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
29050 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
29051 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
29052 (REG_ERANGE): Expect.
29053 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
29054 optional-constant.
29055 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
29056 Use (void) in prototype.
29057 [POSIX] (*_t): Allow.
29058 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
29059 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
29060 (WRDE_BADVAL): Expect.
29061
5ba924e3
JM
29062 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
29063 expect.
29064 [XPG3 || XPG4] (O_RSYNC): Likewise.
29065 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
29066 Likewise.
29067 [XPG3 || XPG4] (pthread_sigmask): Likewise.
29068 [XPG3 || XPG4] (sigqueue): Likewise.
29069 [XPG3 || XPG4] (sigtimedwait): Likewise.
29070 [XPG3 || XPG4] (sigwaitinfo): Likewise.
29071 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
29072 [XPG3 || XPG4] (vsnprintf): Likewise.
29073 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
29074 Likewise.
29075 [XPG3 || XPG4] (blksize_t): Likewise.
29076 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
29077 Likewise.
29078 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
29079 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
29080 [XPG3 || XPG4] (struct itimerspec): Likewise.
29081 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
29082 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
29083 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
29084 [XPG3 || XPG4] (clockid_t): Likewise.
29085 [XPG3 || XPG4] (timer_t): Likewise.
29086 [XPG3 || XPG4] (clock_getres): Likewise.
29087 [XPG3 || XPG4] (clock_gettime): Likewise.
29088 [XPG3 || XPG4] (clock_settime): Likewise.
29089 [XPG3 || XPG4] (nanosleep): Likewise.
29090 [XPG3 || XPG4] (timer_create): Likewise.
29091 [XPG3 || XPG4] (timer_delete): Likewise.
29092 [XPG3 || XPG4] (timer_gettime): Likewise.
29093 [XPG3 || XPG4] (timer_getoverrun): Likewise.
29094 [XPG3 || XPG4] (timer_settime): Likewise.
29095 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
29096 [XPG3 || XPG4] (getlogin_r): Likewise.
29097 [XPG3 || XPG4] (pread): Likewise.
29098 [XPG3 || XPG4] (pthread_atfork): Likewise.
29099 [XPG3 || XPG4] (pwrite): Likewise.
29100
ee663277
JM
29101 [BZ #14835]
29102 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
29103 <bits/siginfo.h>.
29104
942caa16
PT
291052012-11-19 Pino Toscano <toscano.pino@tiscali.it>
29106
e19af380
PT
29107 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
29108 finalizing MALLSTREAM.
29109
942caa16
PT
29110 * sysdeps/mach/hurd/syncfs.c: New file.
29111
cfde9b46
SP
291122012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
29113
29114 [BZ #14719]
29115 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
29116 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
29117 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
29118 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
29119 (_nss_dns_gethostbyname4_r): Likewise.
29120 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
29121 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
29122
f6da27e5
PH
291232012-11-19 Peng Haitao <penght@cn.fujitsu.com>
29124
29125 [BZ #13763]
29126 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
29127
6665d4a2
SM
291282012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
29129
1f51ee92
SM
29130 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
29131 * elf/cache.c (print_entry): Print ",AArch64" for
29132 FLAG_AARCH64_LIB64
29133
6665d4a2
SM
29134 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
29135 * elf/cache.c (print_entry): Print ",hard-float" for
29136 FLAG_ARM_LIBHF.
29137
05b227bd
DM
291382012-11-18 David S. Miller <davem@davemloft.net>
29139
29140 With help from Joseph Myers.
29141 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
29142 cutoff to 2**-13.
29143 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
29144 cutoff to 2**-25.
29145 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
29146 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
29147 small.
29148 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
29149 * math/libm-test.inc (y0_test): New tests.
29150 (y1_test): New tests.
29151 * sysdeps/i386/fpu/libm-test-ulps: Update.
29152 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29153 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29154
786b0b67
AS
291552012-11-18 Andreas Schwab <schwab@linux-m68k.org>
29156
29157 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
29158 64-bit targets.
29159 * configure: Regenerated.
29160
8e18b86d
DM
291612012-11-17 David S. Miller <davem@davemloft.net>
29162
29163 [BZ #14811]
29164 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
29165 nonzero exponents with absolute value below 0x1p-128 to +/-
29166 0x1p-128.
29167
531f1ae0
JM
291682012-11-17 Joseph Myers <joseph@codesourcery.com>
29169
12df29e2
JM
29170 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
29171
150dc1a0
JM
29172 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
29173
531f1ae0
JM
29174 * posix/getconf-speclist.c: New file.
29175 * posix/posix-envs.def: Likewise.
29176 * posix/confstr.c (START_ENV_GROUP): New macro.
29177 (END_ENV_GROUP): Likewise.
29178 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
29179 (KNOWN_PRESENT_ENV_STRING): Likewise.
29180 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
29181 (UNKNOWN_ENVIRONMENT): Likewise.
29182 (confstr): Include posix-envs.def instead of handling
29183 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
29184 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
29185 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
29186 (END_ENV_GROUP): Likewise.
29187 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
29188 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
29189 (UNKNOWN_ENVIRONMENT): Likewise.
29190 (__sysconf): Include posix-envs.def instead of handling associated
29191 cases directly here.
29192 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
29193 preprocessing getconf-speclist.c rather than running getconf or
29194 generating empty file.
29195
a93f9cbc
PT
291962012-11-16 Pino Toscano <toscano.pino@tiscali.it>
29197
29198 * scripts/check-local-headers.sh: Ignore 'mach' headers.
29199
d64d9f87
AL
292002012-11-16 Andrej Lajovic <natrij@gmail.com>
29201
29202 [BZ #14672]
29203 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
29204
447885eb
DM
292052012-11-16 David S. Miller <davem@davemloft.net>
29206
29207 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
29208 smaller than LDBL_EPSILON/2.0L, just return xm1.
29209
bcbf9830
L
292102012-11-16 H.J. Lu <hongjiu.lu@intel.com>
29211
29212 * elf/tst-array1.c (init): Set constructor priority to 1000.
29213 (fini): Set destructor priority to 1000.
29214 * elf/tst-array2dep.c: Likewise.
29215
2b766585
SP
292162012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
29217
29218 [BZ #11741]
29219 * libio/fileops.c (_IO_new_file_write): Correctly return error.
29220 (_IO_new_file_xsputn): Also return EOF if none of the input
29221 data was written when overflow failed.
29222 * libio/iopadn.c (_IO_padn): Likewise.
29223 * libio/iowpadn.c (_IO_wpadn): Likewise.
29224 * stdio-common/tst-put-error.c: Add copyright notice.
29225 (do_test): Add case for printing padded string.
29226 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
29227 _IO_padn returned error.
29228 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
29229 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
29230 return EOF.
29231
b1848fde
SP
292322012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
29233
29234 * libio/libioP.h: Add comment note that the references to C++
29235 bits are now obsolete.
29236
2fd89785
MS
292372012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
29238
29239 * math/libm-test.inc (check_complex): Use asprintf.
29240
e3ea5409
JM
292412012-11-14 Joseph Myers <joseph@codesourcery.com>
29242
29243 * debug/pcprofiledump.c (print_version): Update copyright year.
29244 * malloc/memusagestat.c (print_version): Likewise.
29245
2e64d265
L
292462012-11-14 H.J. Lu <hongjiu.lu@intel.com>
29247
29248 [BZ #14831]
29249 * elf/Makefile (tests): Add tst-audit8.
29250 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
29251 ($(objpfx)tst-audit8.out): New target.
29252 (tst-audit8-ENV): New variable.
29253 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
29254 audit if l_reloc_result is NULL.
29255 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
29256 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
29257 * elf/tst-audit8.c: New file.
29258
c485e4d2
MS
292592012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
29260
29261 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
29262 * misc/Makefile (CFLAGS-select.c): Define.
29263 * posix/Makefile (CFLAGS-pause.c): Define.
29264
3a0d900a
DM
292652012-11-13 David S. Miller <davem@davemloft.net>
29266
29267 * crypt/Makefile: Move test targets after toplevel Rules
29268 inclusion. Grab any necessary sysdep routines when linking.
29269 * crypt/md5.c (md5_process_block): Remove define, we will always
29270 name it __md5_process_block.
29271 (md5_finish_ctx): Update md5_process_block call.
29272 (md5_stream): Likewise.
29273 (md5_process_bytes): Likewise.
29274 (md5_process_block): Rename to __md5_process_block and move to ...
29275 * crypt/md5-block.c: ... here.
29276 * crypt/sha256.c (sha256_process_block): Move to ...
29277 * crypt/sha256-block.c: ... here.
29278 * crypt/sha512.c (sha512_process_block): Move to ...
29279 * crypt/sha512-block.c: ... here.
29280 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
29281 path.
29282 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
29283 * sysdeps/sparc/sparc64/multiarch/Makefile
29284 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
29285 crypt subdir.
29286 (localedef-aux): Add md5 crypto assembler when in locale subdir.
29287 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
29288 multiarch changes.
29289 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
29290 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
29291 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
29292 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
29293 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
29294 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
29295 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
29296 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
29297 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
29298 file.
29299 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
29300 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
29301 file.
29302 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
29303
8ca89318
JM
293042012-11-13 Joseph Myers <joseph@codesourcery.com>
29305
e27d476a
JM
29306 * timezone/tzselect.ksh: Update from tzcode git revision
29307 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
29308 * timezone/zdump.c: Likewise.
29309 * timezone/zic.c: Likewise.
29310 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
29311 in TZVERSION setting, not $(PKGVERSION).
29312 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
29313 REPORT_BUGS_TO settings.
29314
8ca89318
JM
29315 [BZ #14838]
29316 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
29317 macro.
29318
47594329
MS
293192012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
29320
29321 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
29322 detection to immediately after _FP_ROUND().
29323 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
29324 bits are 0.
29325
640ac3f1
DM
293262012-11-11 David S. Miller <davem@davemloft.net>
29327
29328 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
29329 inttypes.h
29330 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
29331 __close rather than their public counterparts.
29332
3d2577bb
JM
293332012-11-10 Joseph Myers <joseph@codesourcery.com>
29334
29335 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
29336 file.
29337 [UNIX98] (sem_timedwait): Do not expect.
29338 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
29339 [XPG4 || UNIX98] (sockatmark): Do not expect.
29340 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
29341 (clock_getcpuclockid): Do not expect.
29342 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
29343 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
29344 Do not expect.
29345 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
29346 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
29347 [UNIX98] (vwscanf): Likewise.
29348 [UNIX98] (vswscanf): Likewise.
29349
fb1ae1ee
JM
293502012-11-09 Joseph Myers <joseph@codesourcery.com>
29351
9ec6f8bd
JM
29352 * timezone/version.h: Remove file.
29353 * timezone/README: Do not refer to version.h.
29354 * timezone/Makefile ($(objpfx)zic.o): New dependency on
29355 $(objpfx)version.h.
29356 ($(objpfx)zdump.o): Likewise.
c3f81911 29357 ($(objpfx)version.h): New target.
9ec6f8bd 29358
0aa8f8a1
JM
29359 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
29360 2012i.
29361 * timezone/README: Don't mention modification to tzselect.ksh.
29362 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
29363 work on unmodified tzselect.ksh. Substitute version numbers in
29364 tzselect.ksh.
29365
4e87147f
JM
29366 * Makefile (format-me): Remove.
29367 (INSTALL): Adjust indentation. Use commands directly instead of
29368 using $(format-me).
29369
8b748aed
JM
29370 * aclocal.m4 (ACX_PKGVERSION): New macro.
29371 (ACX_BUGURL): Likewise.
29372 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
29373 (PKGVERSION): New AC_DEFINE_UNQUOTED.
29374 (REPORT_BUGS_TO): Likewise.
29375 * configure: Regenerated.
29376 * config.h.in (PKGVERSION): New macro.
29377 (REPORT_BUGS_TO): Likewise.
29378 * config.make.in (PKGVERSION): New variable.
29379 (PKGVERSION_TEXI): Likewise.
29380 (REPORT_BUGS_TO): Likewise.
29381 (REPORT_BUGS_TEXI): Likewise.
29382 * Makefile (format-me): Use -I$(common-objpfx)manual.
29383 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
29384 ($(common-objpfx)manual/%): New target.
29385 (manual/%): Remove target.
29386 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
29387 (print_version): Use PKGVERSION.
29388 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
29389 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
29390 and REPORT_BUGS_TO.
29391 ($(objpfx)xtrace): Likewise.
29392 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
29393 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
29394 (print_version): Use PKGVERSION.
29395 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
29396 (do_version): Use PKGVERSION.
29397 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
29398 REPORT_BUGS_TO.
29399 (common-ldd-rewrite): Likewise.
29400 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
29401 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
29402 (print_version): Use PKGVERSION.
29403 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
29404 * elf/pldd.c (argp_program_bug_address): Remove variable.
29405 (more_help): New function.
29406 (argp): Use more_help.
29407 (print_version): Use PKGVERSION.
29408 * elf/sln.c (main): Use PKGVERSION.
29409 (usage): Use REPORT_BUGS_TO.
29410 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
29411 (top level): Use PKGVERSION.
29412 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
29413 (print_version): Use PKGVERSION.
29414 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
29415 (print_version): Use PKGVERSION.
29416 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
29417 (print_version): Use PKGVERSION.
29418 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
29419 (print_version): Use PKGVERSION.
29420 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
29421 (print_version): Use PKGVERSION.
29422 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
29423 (print_version): Use PKGVERSION.
29424 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
29425 and BUGURL.
29426 ($(objpfx)memusage): Likewise.
29427 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
29428 (do_version): Use PKGVERSION.
29429 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
29430 (print_version): Use PKGVERSION.
29431 * malloc/mtrace.pl ($PACKAGE): Remove variable.
29432 ($PKGVERSION): New variable.
29433 ($REPORT_BUGS_TO): Likewise.
29434 (usage): Use $REPORT_BUGS_TO.
29435 (top level): Use $PKGVERSION.
29436 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
29437 ($(objpfx)pkgvers.texi): New rule.
29438 ($(objpfx)stamp-pkgvers): Likewise.
29439 * manual/install.texi: Include pkgvers.texi.
29440 (--with-pkgversion): Document new configure option.
29441 (--with-bugurl): Likewise.
29442 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
29443 than necessarily for this particular distribution. Use
29444 REPORT_BUGS_TO for where to report bugs.
29445 * INSTALL: Regenerated.
29446 * manual/libc.texinfo: Include pkgvers.texi.
29447 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
29448 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
29449 (print_version): Use PKGVERSION.
29450 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
29451 (print_version): Use PKGVERSION.
29452 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
29453 (print_version): Use PKGVERSION.
29454 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
29455 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
29456 macro.
29457 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
29458 (print_version): Use PKGVERSION.
29459 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
29460 (print_version): Use PKGVERSION.
29461 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
29462 and PKGVERSION.
29463
92e4b6a9
JM
29464 * timezone/checktab.awk: Update from tzcode 2012i.
29465 * timezone/ialloc.c: Likewise.
29466 * timezone/private.h: Likewise.
29467 * timezone/scheck.c: Likewise.
29468 * timezone/tzfile.h: Likewise.
29469 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
29470 (TZVERSION): Hardcode tzcode version number.
29471 * timezone/zdump.c: Update from tzcode 2012i.
29472 * timezone/zic.c: Likewise.
29473 * timezone/version.h: New file.
29474 * timezone/README: Describe version.h. Update upstream location.
29475
9bde902c
JM
29476 [BZ #14824]
29477 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
29478 (mktemp): Enable declaration.
29479 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
29480 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
29481 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
29482 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
29483 Likewise.
29484 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
29485 Likewise.
29486 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
29487 Likewise.
29488 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
29489 Likewise.
29490 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
29491 Likewise.
29492 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
29493 Likewise.
29494
fb1ae1ee
JM
29495 [BZ #14821]
29496 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
29497 offset in buffer as u_int32_t not u_long. Consistently use memcpy
29498 for copies of such integer values.
29499 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
29500 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
29501
2c1adbcb
AJ
295022012-11-09 Andreas Jaeger <aj@suse.de>
29503
29504 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
29505 definitions and declarations that are provided by
29506 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
29507
d0f8457e
AK
295082012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29509
3a235abb 29510 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
d0f8457e
AK
29511 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
29512 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
29513 definition.
29514
57241e26
MS
295152012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
29516
29517 * elf/elf.h: Update comment before AArch64 relocations.
29518
60e8270d
DM
295192012-11-07 David S. Miller <davem@davemloft.net>
29520
29521 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
29522 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
29523 (__start_context): Declare.
29524 (__makecontext_ret): Delete.
29525 (__makecontext): Hook up __start_context instead of
29526 __makecontext_ret.
29527 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
29528 (sysdep_routines): Add __start_context when in stdlib.
29529
0fbb0fbc
JM
295302012-11-07 Joseph Myers <joseph@codesourcery.com>
29531
29532 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
29533 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
29534 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
29535 hardcoded "nm".
29536 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
29537 (READELF): New variable. Use it instead of hardcoded "readelf".
29538
eb48db7e
L
295392012-11-07 H.J. Lu <hongjiu.lu@intel.com>
29540
29541 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
29542 * sysdeps/x86/Makefile: Here.
29543 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
29544 * sysdeps/x86/tst-xmmymm.sh: This.
29545
05bcf62a
JM
295462012-11-07 Joseph Myers <joseph@codesourcery.com>
29547
c4b6cf53
JM
29548 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
29549 expectations.
29550 [UNIX98] (pthread_barrier_t): Do not expect.
29551 [UNIX98] (pthread_barrierattr_t): Likewise.
29552 [UNIX98] (pthread_spinlock_t): Likewise.
29553 [UNIX98] (pthread_barrier_destroy): Likewise.
29554 [UNIX98] (pthread_barrier_init): Likewise.
29555 [UNIX98] (pthread_barrier_wait): Likewise.
29556 [UNIX98] (pthread_barrierattr_destroy): Likewise.
29557 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
29558 [UNIX98] (pthread_barrierattr_init): Likewise.
29559 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
29560 [UNIX98] (pthread_getcpuclockid): Likewise.
29561 [UNIX98] (pthread_mutex_timedlock): Likewise.
29562 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
29563 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
29564 [UNIX98] (pthread_sigmask): Likewise.
29565 [UNIX98] (pthread_spin_destroy): Likewise.
29566 [UNIX98] (pthread_spin_init): Likewise.
29567 [UNIX98] (pthread_spin_lock): Likewise.
29568 [UNIX98] (pthread_spin_trylock): Likewise.
29569 [UNIX98] (pthread_spin_unlock): Likewise.
29570 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
29571 Do not expect.
29572 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
29573 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
29574 [XPG3 || XPG4] (pthread_cond_t): Likewise.
29575 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
29576 [XPG3 || XPG4] (pthread_key_t): Likewise.
29577 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
29578 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
29579 [XPG3 || XPG4] (pthread_once_t): Likewise.
29580 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
29581 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
29582 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
29583 [XPG3 || XPG4] (pthread_t): Likewise.
29584
cbe6e120
JM
29585 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
29586 not expect.
29587 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
29588
1b126443
JM
29589 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
29590 Change function return type to int.
29591
b961a573
JM
29592 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
29593 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
29594 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
29595 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
29596 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
29597 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
29598 [!POSIX] (posix_madvise): Likewise.
29599 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
29600 && !UNIX98].
29601 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
29602 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
29603 (mode_t): Likewise.
29604 (posix_mem_offset): Likewise.
29605 (posix_typed_mem_get_info): Likewise.
29606 (posix_typed_mem_open): Likewise.
29607
9e188909
JM
29608 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
29609 Change condition to [XOPEN2K8].
29610
05bcf62a
JM
29611 * conform/conformtest.pl: Preprocess allow-header data with -x c
29612 instead of from stdin.
29613 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
29614 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
29615 [C99-based standards] (cerfc): Likewise.
29616 [C99-based standards] (cexp2): Likewise.
29617 [C99-based standards] (cexpm1): Likewise.
29618 [C99-based standards] (clog10): Likewise.
29619 [C99-based standards] (clog1p): Likewise.
29620 [C99-based standards] (clog2): Likewise.
29621 [C99-based standards] (clgamma): Likewise.
29622 [C99-based standards] (ctgamma): Likewise.
29623 [C99-based standards] (cerff): Likewise.
29624 [C99-based standards] (cerfcf): Likewise.
29625 [C99-based standards] (cexp2f): Likewise.
29626 [C99-based standards] (cexpm1f): Likewise.
29627 [C99-based standards] (clog10f): Likewise.
29628 [C99-based standards] (clog1pf): Likewise.
29629 [C99-based standards] (clog2f): Likewise.
29630 [C99-based standards] (clgammaf): Likewise.
29631 [C99-based standards] (ctgammaf): Likewise.
29632 [C99-based standards] (cerfl): Likewise.
29633 [C99-based standards] (cerfcl): Likewise.
29634 [C99-based standards] (cexp2l): Likewise.
29635 [C99-based standards] (cexpm1l): Likewise.
29636 [C99-based standards] (clog10l): Likewise.
29637 [C99-based standards] (clog1pl): Likewise.
29638 [C99-based standards] (clog2l): Likewise.
29639 [C99-based standards] (clgammal): Likewise.
29640 [C99-based standards] (ctgammal): Likewise.
29641 * conform/data/inttypes.h-data [C99-based standards]: Include
29642 stdint.h-data. Remove all expectations for stdint.h contents.
29643 [C99-based standards] (PRI*): Do not allow.
29644 [C99-based standards] (SCN*): Likewise.
29645 [C99-based standards] (*_t): Likewise.
29646 [C99-based-standards] (PRId8): Expect macro.
29647 [C99-based-standards] (PRIi8): Likewise.
29648 [C99-based-standards] (PRIo8): Likewise.
29649 [C99-based-standards] (PRIu8): Likewise.
29650 [C99-based-standards] (PRIx8): Likewise.
29651 [C99-based-standards] (PRIX8): Likewise.
29652 [C99-based-standards] (SCNd8): Likewise.
29653 [C99-based-standards] (SCNi8): Likewise.
29654 [C99-based-standards] (SCNo8): Likewise.
29655 [C99-based-standards] (SCNu8): Likewise.
29656 [C99-based-standards] (SCNx8): Likewise.
29657 [C99-based-standards] (PRIdLEAST8): Likewise.
29658 [C99-based-standards] (PRIiLEAST8): Likewise.
29659 [C99-based-standards] (PRIoLEAST8): Likewise.
29660 [C99-based-standards] (PRIuLEAST8): Likewise.
29661 [C99-based-standards] (PRIxLEAST8): Likewise.
29662 [C99-based-standards] (PRIXLEAST8): Likewise.
29663 [C99-based-standards] (SCNdLEAST8): Likewise.
29664 [C99-based-standards] (SCNiLEAST8): Likewise.
29665 [C99-based-standards] (SCNoLEAST8): Likewise.
29666 [C99-based-standards] (SCNuLEAST8): Likewise.
29667 [C99-based-standards] (SCNxLEAST8): Likewise.
29668 [C99-based-standards] (PRIdFAST8): Likewise.
29669 [C99-based-standards] (PRIiFAST8): Likewise.
29670 [C99-based-standards] (PRIoFAST8): Likewise.
29671 [C99-based-standards] (PRIuFAST8): Likewise.
29672 [C99-based-standards] (PRIxFAST8): Likewise.
29673 [C99-based-standards] (PRIXFAST8): Likewise.
29674 [C99-based-standards] (SCNdFAST8): Likewise.
29675 [C99-based-standards] (SCNiFAST8): Likewise.
29676 [C99-based-standards] (SCNoFAST8): Likewise.
29677 [C99-based-standards] (SCNuFAST8): Likewise.
29678 [C99-based-standards] (SCNxFAST8): Likewise.
29679 [C99-based-standards] (PRId16): Likewise.
29680 [C99-based-standards] (PRIi16): Likewise.
29681 [C99-based-standards] (PRIo16): Likewise.
29682 [C99-based-standards] (PRIu16): Likewise.
29683 [C99-based-standards] (PRIx16): Likewise.
29684 [C99-based-standards] (PRIX16): Likewise.
29685 [C99-based-standards] (SCNd16): Likewise.
29686 [C99-based-standards] (SCNi16): Likewise.
29687 [C99-based-standards] (SCNo16): Likewise.
29688 [C99-based-standards] (SCNu16): Likewise.
29689 [C99-based-standards] (SCNx16): Likewise.
29690 [C99-based-standards] (PRIdLEAST16): Likewise.
29691 [C99-based-standards] (PRIiLEAST16): Likewise.
29692 [C99-based-standards] (PRIoLEAST16): Likewise.
29693 [C99-based-standards] (PRIuLEAST16): Likewise.
29694 [C99-based-standards] (PRIxLEAST16): Likewise.
29695 [C99-based-standards] (PRIXLEAST16): Likewise.
29696 [C99-based-standards] (SCNdLEAST16): Likewise.
29697 [C99-based-standards] (SCNiLEAST16): Likewise.
29698 [C99-based-standards] (SCNoLEAST16): Likewise.
29699 [C99-based-standards] (SCNuLEAST16): Likewise.
29700 [C99-based-standards] (SCNxLEAST16): Likewise.
29701 [C99-based-standards] (PRIdFAST16): Likewise.
29702 [C99-based-standards] (PRIiFAST16): Likewise.
29703 [C99-based-standards] (PRIoFAST16): Likewise.
29704 [C99-based-standards] (PRIuFAST16): Likewise.
29705 [C99-based-standards] (PRIxFAST16): Likewise.
29706 [C99-based-standards] (PRIXFAST16): Likewise.
29707 [C99-based-standards] (SCNdFAST16): Likewise.
29708 [C99-based-standards] (SCNiFAST16): Likewise.
29709 [C99-based-standards] (SCNoFAST16): Likewise.
29710 [C99-based-standards] (SCNuFAST16): Likewise.
29711 [C99-based-standards] (SCNxFAST16): Likewise.
29712 [C99-based-standards] (PRId32): Likewise.
29713 [C99-based-standards] (PRIi32): Likewise.
29714 [C99-based-standards] (PRIo32): Likewise.
29715 [C99-based-standards] (PRIu32): Likewise.
29716 [C99-based-standards] (PRIx32): Likewise.
29717 [C99-based-standards] (PRIX32): Likewise.
29718 [C99-based-standards] (SCNd32): Likewise.
29719 [C99-based-standards] (SCNi32): Likewise.
29720 [C99-based-standards] (SCNo32): Likewise.
29721 [C99-based-standards] (SCNu32): Likewise.
29722 [C99-based-standards] (SCNx32): Likewise.
29723 [C99-based-standards] (PRIdLEAST32): Likewise.
29724 [C99-based-standards] (PRIiLEAST32): Likewise.
29725 [C99-based-standards] (PRIoLEAST32): Likewise.
29726 [C99-based-standards] (PRIuLEAST32): Likewise.
29727 [C99-based-standards] (PRIxLEAST32): Likewise.
29728 [C99-based-standards] (PRIXLEAST32): Likewise.
29729 [C99-based-standards] (SCNdLEAST32): Likewise.
29730 [C99-based-standards] (SCNiLEAST32): Likewise.
29731 [C99-based-standards] (SCNoLEAST32): Likewise.
29732 [C99-based-standards] (SCNuLEAST32): Likewise.
29733 [C99-based-standards] (SCNxLEAST32): Likewise.
29734 [C99-based-standards] (PRIdFAST32): Likewise.
29735 [C99-based-standards] (PRIiFAST32): Likewise.
29736 [C99-based-standards] (PRIoFAST32): Likewise.
29737 [C99-based-standards] (PRIuFAST32): Likewise.
29738 [C99-based-standards] (PRIxFAST32): Likewise.
29739 [C99-based-standards] (PRIXFAST32): Likewise.
29740 [C99-based-standards] (SCNdFAST32): Likewise.
29741 [C99-based-standards] (SCNiFAST32): Likewise.
29742 [C99-based-standards] (SCNoFAST32): Likewise.
29743 [C99-based-standards] (SCNuFAST32): Likewise.
29744 [C99-based-standards] (SCNxFAST32): Likewise.
29745 [C99-based-standards] (PRId64): Likewise.
29746 [C99-based-standards] (PRIi64): Likewise.
29747 [C99-based-standards] (PRIo64): Likewise.
29748 [C99-based-standards] (PRIu64): Likewise.
29749 [C99-based-standards] (PRIx64): Likewise.
29750 [C99-based-standards] (PRIX64): Likewise.
29751 [C99-based-standards] (SCNd64): Likewise.
29752 [C99-based-standards] (SCNi64): Likewise.
29753 [C99-based-standards] (SCNo64): Likewise.
29754 [C99-based-standards] (SCNu64): Likewise.
29755 [C99-based-standards] (SCNx64): Likewise.
29756 [C99-based-standards] (PRIdLEAST64): Likewise.
29757 [C99-based-standards] (PRIiLEAST64): Likewise.
29758 [C99-based-standards] (PRIoLEAST64): Likewise.
29759 [C99-based-standards] (PRIuLEAST64): Likewise.
29760 [C99-based-standards] (PRIxLEAST64): Likewise.
29761 [C99-based-standards] (PRIXLEAST64): Likewise.
29762 [C99-based-standards] (SCNdLEAST64): Likewise.
29763 [C99-based-standards] (SCNiLEAST64): Likewise.
29764 [C99-based-standards] (SCNoLEAST64): Likewise.
29765 [C99-based-standards] (SCNuLEAST64): Likewise.
29766 [C99-based-standards] (SCNxLEAST64): Likewise.
29767 [C99-based-standards] (PRIdFAST64): Likewise.
29768 [C99-based-standards] (PRIiFAST64): Likewise.
29769 [C99-based-standards] (PRIoFAST64): Likewise.
29770 [C99-based-standards] (PRIuFAST64): Likewise.
29771 [C99-based-standards] (PRIxFAST64): Likewise.
29772 [C99-based-standards] (PRIXFAST64): Likewise.
29773 [C99-based-standards] (SCNdFAST64): Likewise.
29774 [C99-based-standards] (SCNiFAST64): Likewise.
29775 [C99-based-standards] (SCNoFAST64): Likewise.
29776 [C99-based-standards] (SCNuFAST64): Likewise.
29777 [C99-based-standards] (SCNxFAST64): Likewise.
29778 [C99-based-standards] (PRIdMAX): Likewise.
29779 [C99-based-standards] (PRIiMAX): Likewise.
29780 [C99-based-standards] (PRIoMAX): Likewise.
29781 [C99-based-standards] (PRIuMAX): Likewise.
29782 [C99-based-standards] (PRIxMAX): Likewise.
29783 [C99-based-standards] (PRIXMAX): Likewise.
29784 [C99-based-standards] (SCNdMAX): Likewise.
29785 [C99-based-standards] (SCNiMAX): Likewise.
29786 [C99-based-standards] (SCNoMAX): Likewise.
29787 [C99-based-standards] (SCNuMAX): Likewise.
29788 [C99-based-standards] (SCNxMAX): Likewise.
29789 [C99-based-standards] (PRIdPTR): Likewise.
29790 [C99-based-standards] (PRIiPTR): Likewise.
29791 [C99-based-standards] (PRIoPTR): Likewise.
29792 [C99-based-standards] (PRIuPTR): Likewise.
29793 [C99-based-standards] (PRIxPTR): Likewise.
29794 [C99-based-standards] (PRIXPTR): Likewise.
29795 [C99-based-standards] (SCNdPTR): Likewise.
29796 [C99-based-standards] (SCNiPTR): Likewise.
29797 [C99-based-standards] (SCNoPTR): Likewise.
29798 [C99-based-standards] (SCNuPTR): Likewise.
29799 [C99-based-standards] (SCNxPTR): Likewise.
29800 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
29801 allow.
29802 * conform/data/stdint.h-data: Update comments to clarify
29803 requirements.
29804 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
29805 type.
29806 [C99-based standards] (INT8_MAX): Likewise.
29807 [C99-based standards] (INT16_MIN): Likewise.
29808 [C99-based standards] (INT16_MAX): Likewise.
29809 [C99-based standards] (INT32_MIN): Likewise.
29810 [C99-based standards] (INT32_MAX): Likewise.
29811 [C99-based standards] (INT64_MIN): Likewise.
29812 [C99-based standards] (INT64_MAX): Likewise.
29813 [C99-based standards] (UINT8_MAX): Likewise.
29814 [C99-based standards] (UINT16_MAX): Likewise.
29815 [C99-based standards] (UINT32_MAX): Likewise.
29816 [C99-based standards] (UINT64_MAX): Likewise.
29817 [C99-based standards] (INT_LEAST8_MIN): Likewise.
29818 [C99-based standards] (INT_LEAST8_MAX): Likewise.
29819 [C99-based standards] (INT_LEAST16_MIN): Likewise.
29820 [C99-based standards] (INT_LEAST16_MAX): Likewise.
29821 [C99-based standards] (INT_LEAST32_MIN): Likewise.
29822 [C99-based standards] (INT_LEAST32_MAX): Likewise.
29823 [C99-based standards] (INT_LEAST64_MIN): Likewise.
29824 [C99-based standards] (INT_LEAST64_MAX): Likewise.
29825 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
29826 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
29827 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
29828 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
29829 [C99-based standards] (INT_FAST8_MIN): Likewise.
29830 [C99-based standards] (INT_FAST8_MAX): Likewise.
29831 [C99-based standards] (INT_FAST16_MIN): Likewise.
29832 [C99-based standards] (INT_FAST16_MAX): Likewise.
29833 [C99-based standards] (INT_FAST32_MIN): Likewise.
29834 [C99-based standards] (INT_FAST32_MAX): Likewise.
29835 [C99-based standards] (INT_FAST64_MIN): Likewise.
29836 [C99-based standards] (INT_FAST64_MAX): Likewise.
29837 [C99-based standards] (UINT_FAST8_MAX): Likewise.
29838 [C99-based standards] (UINT_FAST16_MAX): Likewise.
29839 [C99-based standards] (UINT_FAST32_MAX): Likewise.
29840 [C99-based standards] (UINT_FAST64_MAX): Likewise.
29841 [C99-based standards] (INTPTR_MIN): Likewise.
29842 [C99-based standards] (INTPTR_MAX): Likewise.
29843 [C99-based standards] (UINTPTR_MAX): Likewise.
29844 [C99-based standards] (INTMAX_MIN): Likewise.
29845 [C99-based standards] (INTMAX_MAX): Likewise.
29846 [C99-based standards] (UINTMAX_MAX): Likewise.
29847 [C99-based standards] (PTRDIFF_MIN): Likewise.
29848 [C99-based standards] (PTRDIFF_MAX): Likewise.
29849 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
29850 [C99-based standards] (SIZE_MAX): Likewise.
29851 [C99-based standards] (WCHAR_MAX): Likewise.
29852 [C99-based standards] (WINT_MAX): Likewise.
29853 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
29854 constraint on value.
29855 [C99-based standards] (WCHAR_MIN): Likewise.
29856 [C99-based standards] (WINT_MIN): Likewise.
29857 [C99-based standards] (*_t): Allow.
29858 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
29859 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
29860 Include math.h-data and complex.h-data. Remove all expectations
29861 of math.h and complex.h contents.
29862 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
29863 at end of line.
29864 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
29865 (struct tm): Expect tag.
29866 [C99-based-standards] (wcstof): Expect function.
29867 [C99-based-standards] (wcstold): Likewise.
29868 [C99-based-standards] (wcstoll): Likewise.
29869 [C99-based-standards] (wcstoull): Likewise.
29870 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
29871 macro-int-constant. Specify type.
29872 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
29873 constraint on value.
29874 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
29875 Specify type.
29876 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
29877 Specify value.
29878 [ISO C standards]: Do not allow headers.
29879 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
29880 wcs[abcdefghijklmnopqrstuvwxyz]*.
29881 [ISO C standards] (*_t): Do not allow.
29882 * conform/data/wctype.h-data [C99-based standards] (iswblank):
29883 Expect function.
29884 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
29885 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
29886 Specify type.
29887 [ISO C standards]: Do not allow headers.
29888 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
29889 is[abcdefghijklmnopqrstuvwxyz]*.
29890 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
29891 to[abcdefghijklmnopqrstuvwxyz]*.
29892 [ISO C standards] (*_t): Do not allow.
29893 * conform/data/stdalign.h-data: New file.
29894 * conform/data/stdbool.h-data: Likewise.
29895 * conform/data/stdnoreturn.h-data: Likewise.
29896
7514feb8
RM
298972012-11-07 Roland McGrath <roland@hack.frob.com>
29898
29899 [BZ #14815]
29900 * manual/filesys.texi (Directory Entries): Typo fix.
29901 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
29902
19b2ecfc
MS
299032012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
29904
29905 * elf/elf.h (EM_AARCH64): New macro.
29906 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
29907 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
29908 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
29909 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
29910 (R_AARCH64_TLSDESC): Likewise.
29911 (NT_ARM_TLS): Likewise.
29912 (NT_ARM_HW_BREAK): Likewise.
29913 (NT_ARM_HW_WATCH): Likewise.
29914
60e235ee
JM
299152012-11-07 Joseph Myers <joseph@codesourcery.com>
29916
29917 [BZ #14811]
29918 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
29919 (__ieee754_powl): Saturate nonzero exponents with absolute value
29920 below 0x1p-79 to +/- 0x1p-79.
29921 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
29922 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
29923 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
29924 nonzero exponents with absolute value below 0x1p-32 to +/-
29925 0x1p-32.
29926 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
29927 (__ieee754_powl): Saturate nonzero exponents with absolute value
29928 below 0x1p-79 to +/- 0x1p-79.
29929 * math/libm-test.inc (pow_test): Add more tests.
29930
0ab234b7
AK
299312012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29932
29933 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
29934 _dl_s390_cap_flags with kernel. Increase string length.
29935 (_dl_s390_platforms): Add z196 and zEC12.
29936
45832f74
JM
299372012-11-07 Joseph Myers <joseph@codesourcery.com>
29938
29939 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
29940 Change XOPEN21K to XOPEN2K.
29941
19218757
MK
299422012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
29943
29944 * string/memmove.c: Use memcpy when possible.
29945
c5f45721
AJ
299462012-11-06 Andreas Jaeger <aj@suse.de>
29947
29948 * po/eo.po: Update from translation team.
29949
82477c28
JM
299502012-11-06 Joseph Myers <joseph@codesourcery.com>
29951
29952 [BZ #14793]
29953 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
29954 exponent and small x and y exponents, scale x or y up. Increase
29955 by 2 the exponent used in scaling up.
29956 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
29957 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
29958 * math/libm-test.inc (fma_test): Add more tests.
29959 (fma_test_towardzero): Likewise.
29960 (fma_test_downward): Likewise.
29961 (fma_test_upward): Likewise.
29962
99252c8c
JM
299632012-11-05 Joseph Myers <joseph@codesourcery.com>
29964
acfa885f
JM
29965 [BZ #14805]
29966 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
29967 fenv_t *.
29968
99252c8c
JM
29969 [BZ #14801]
29970 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
29971 namespace for names of struct fields.
29972 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
29973 fenv_t fields.
29974 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
29975 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
29976
d6d98dea
ST
299772012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
29978
29979 [BZ #3665]
29980 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
29981
e10bb107
TS
299822012-11-04 Thomas Schwinge <thomas@codesourcery.com>
29983
29984 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
29985 PTR_DEMANGLE.
29986
29987 [BZ #5246]
29988 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
29989 PTR_DEMANGLE.
29990
a0c2940d
JM
299912012-11-04 Joseph Myers <joseph@codesourcery.com>
29992
29993 [BZ #14797]
29994 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
29995 definitely overflow as x * y not x * y + z.
29996 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
29997 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
29998 * math/libm-test.inc (fma_test): Add more tests.
29999 (fma_test_towardzero): Likewise.
30000 (fma_test_downward): Likewise.
30001 (fma_test_upward): Likewise.
30002
b830319d
TS
300032012-11-04 Thomas Schwinge <thomas@codesourcery.com>
30004
30005 [BZ #157]
30006
30007 * include/stub-tag.h: Remove file.
30008 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
30009 '#include' of it.
30010 * manual/maint.texi (Porting): Don't reference it.
30011 * Makerules ($(objpfx)stubs): Likewise.
30012 * dirent/closedir.c: Don't include <stub-tag.h>.
30013 * dirent/dirfd.c: Likewise.
30014 * dirent/fdopendir.c: Likewise.
30015 * dirent/getdents.c: Likewise.
30016 * dirent/getdents64.c: Likewise.
30017 * dirent/opendir.c: Likewise.
30018 * dirent/readdir.c: Likewise.
30019 * dirent/readdir64.c: Likewise.
30020 * dirent/readdir64_r.c: Likewise.
30021 * dirent/readdir_r.c: Likewise.
30022 * dirent/rewinddir.c: Likewise.
30023 * dirent/seekdir.c: Likewise.
30024 * dirent/telldir.c: Likewise.
30025 * gmon/profil.c: Likewise.
30026 * grp/setgroups.c: Likewise.
30027 * inet/if_index.c: Likewise.
30028 * io/access.c: Likewise.
30029 * io/chdir.c: Likewise.
30030 * io/chmod.c: Likewise.
30031 * io/chown.c: Likewise.
30032 * io/close.c: Likewise.
30033 * io/dup.c: Likewise.
30034 * io/dup2.c: Likewise.
30035 * io/dup3.c: Likewise.
30036 * io/euidaccess.c: Likewise.
30037 * io/faccessat.c: Likewise.
30038 * io/fchdir.c: Likewise.
30039 * io/fchmod.c: Likewise.
30040 * io/fchmodat.c: Likewise.
30041 * io/fchown.c: Likewise.
30042 * io/fchownat.c: Likewise.
30043 * io/fcntl.c: Likewise.
30044 * io/flock.c: Likewise.
30045 * io/fstatfs.c: Likewise.
30046 * io/fstatfs64.c: Likewise.
30047 * io/fstatvfs.c: Likewise.
30048 * io/fstatvfs64.c: Likewise.
30049 * io/futimens.c: Likewise.
30050 * io/fxstat.c: Likewise.
30051 * io/fxstat64.c: Likewise.
30052 * io/fxstatat.c: Likewise.
30053 * io/fxstatat64.c: Likewise.
30054 * io/getcwd.c: Likewise.
30055 * io/isatty.c: Likewise.
30056 * io/lchmod.c: Likewise.
30057 * io/lchown.c: Likewise.
30058 * io/link.c: Likewise.
30059 * io/linkat.c: Likewise.
30060 * io/lseek.c: Likewise.
30061 * io/lseek64.c: Likewise.
30062 * io/lxstat64.c: Likewise.
30063 * io/mkdir.c: Likewise.
30064 * io/mkdirat.c: Likewise.
30065 * io/mkfifo.c: Likewise.
30066 * io/mkfifoat.c: Likewise.
30067 * io/open.c: Likewise.
30068 * io/open64.c: Likewise.
30069 * io/openat.c: Likewise.
30070 * io/openat64.c: Likewise.
30071 * io/pipe.c: Likewise.
30072 * io/pipe2.c: Likewise.
30073 * io/poll.c: Likewise.
30074 * io/posix_fadvise.c: Likewise.
30075 * io/posix_fadvise64.c: Likewise.
30076 * io/posix_fallocate.c: Likewise.
30077 * io/posix_fallocate64.c: Likewise.
30078 * io/read.c: Likewise.
30079 * io/readlink.c: Likewise.
30080 * io/readlinkat.c: Likewise.
30081 * io/rmdir.c: Likewise.
30082 * io/sendfile.c: Likewise.
30083 * io/sendfile64.c: Likewise.
30084 * io/statfs.c: Likewise.
30085 * io/statfs64.c: Likewise.
30086 * io/statvfs.c: Likewise.
30087 * io/statvfs64.c: Likewise.
30088 * io/symlink.c: Likewise.
30089 * io/symlinkat.c: Likewise.
30090 * io/ttyname.c: Likewise.
30091 * io/ttyname_r.c: Likewise.
30092 * io/umask.c: Likewise.
30093 * io/unlink.c: Likewise.
30094 * io/unlinkat.c: Likewise.
30095 * io/utime.c: Likewise.
30096 * io/utimensat.c: Likewise.
30097 * io/write.c: Likewise.
30098 * io/xmknod.c: Likewise.
30099 * io/xmknodat.c: Likewise.
30100 * io/xstat.c: Likewise.
30101 * io/xstat64.c: Likewise.
30102 * login/getpt.c: Likewise.
30103 * login/grantpt.c: Likewise.
30104 * login/unlockpt.c: Likewise.
30105 * math/e_acoshl.c: Likewise.
30106 * math/e_acosl.c: Likewise.
30107 * math/e_asinl.c: Likewise.
30108 * math/e_atan2l.c: Likewise.
30109 * math/e_atanhl.c: Likewise.
30110 * math/e_coshl.c: Likewise.
30111 * math/e_expl.c: Likewise.
30112 * math/e_fmodl.c: Likewise.
30113 * math/e_gammal_r.c: Likewise.
30114 * math/e_hypotl.c: Likewise.
30115 * math/e_j0l.c: Likewise.
30116 * math/e_j1l.c: Likewise.
30117 * math/e_jnl.c: Likewise.
30118 * math/e_lgammal_r.c: Likewise.
30119 * math/e_log10l.c: Likewise.
30120 * math/e_log2l.c: Likewise.
30121 * math/e_logl.c: Likewise.
30122 * math/e_powl.c: Likewise.
30123 * math/e_rem_pio2l.c: Likewise.
30124 * math/e_sinhl.c: Likewise.
30125 * math/e_sqrtl.c: Likewise.
30126 * math/fclrexcpt.c: Likewise.
30127 * math/fedisblxcpt.c: Likewise.
30128 * math/feenablxcpt.c: Likewise.
30129 * math/fegetenv.c: Likewise.
30130 * math/fegetexcept.c: Likewise.
30131 * math/fegetround.c: Likewise.
30132 * math/feholdexcpt.c: Likewise.
30133 * math/fesetenv.c: Likewise.
30134 * math/fesetround.c: Likewise.
30135 * math/feupdateenv.c: Likewise.
30136 * math/fgetexcptflg.c: Likewise.
30137 * math/fraiseexcpt.c: Likewise.
30138 * math/fsetexcptflg.c: Likewise.
30139 * math/ftestexcept.c: Likewise.
30140 * math/k_cosl.c: Likewise.
30141 * math/k_rem_pio2l.c: Likewise.
30142 * math/k_sinl.c: Likewise.
30143 * math/k_tanl.c: Likewise.
30144 * math/s_asinhl.c: Likewise.
30145 * math/s_atanl.c: Likewise.
30146 * math/s_cbrtl.c: Likewise.
30147 * math/s_erfl.c: Likewise.
30148 * math/s_expm1l.c: Likewise.
30149 * math/s_log1pl.c: Likewise.
30150 * math/s_tanhl.c: Likewise.
30151 * misc/acct.c: Likewise.
30152 * misc/brk.c: Likewise.
30153 * misc/chflags.c: Likewise.
30154 * misc/chroot.c: Likewise.
30155 * misc/fchflags.c: Likewise.
30156 * misc/fgetxattr.c: Likewise.
30157 * misc/flistxattr.c: Likewise.
30158 * misc/fremovexattr.c: Likewise.
30159 * misc/fsetxattr.c: Likewise.
30160 * misc/fsync.c: Likewise.
30161 * misc/ftruncate.c: Likewise.
30162 * misc/futimes.c: Likewise.
30163 * misc/futimesat.c: Likewise.
30164 * misc/getdomain.c: Likewise.
30165 * misc/getdtsz.c: Likewise.
30166 * misc/gethostid.c: Likewise.
30167 * misc/gethostname.c: Likewise.
30168 * misc/getloadavg.c: Likewise.
30169 * misc/getpagesize.c: Likewise.
30170 * misc/getsysstats.c: Likewise.
30171 * misc/getxattr.c: Likewise.
30172 * misc/gtty.c: Likewise.
30173 * misc/ioctl.c: Likewise.
30174 * misc/lgetxattr.c: Likewise.
30175 * misc/listxattr.c: Likewise.
30176 * misc/llistxattr.c: Likewise.
30177 * misc/lremovexattr.c: Likewise.
30178 * misc/lsetxattr.c: Likewise.
30179 * misc/lutimes.c: Likewise.
30180 * misc/madvise.c: Likewise.
30181 * misc/mincore.c: Likewise.
30182 * misc/mlock.c: Likewise.
30183 * misc/mlockall.c: Likewise.
30184 * misc/mmap.c: Likewise.
30185 * misc/mprotect.c: Likewise.
30186 * misc/msync.c: Likewise.
30187 * misc/munlock.c: Likewise.
30188 * misc/munlockall.c: Likewise.
30189 * misc/munmap.c: Likewise.
30190 * misc/preadv.c: Likewise.
30191 * misc/preadv64.c: Likewise.
30192 * misc/ptrace.c: Likewise.
30193 * misc/pwritev.c: Likewise.
30194 * misc/pwritev64.c: Likewise.
30195 * misc/readv.c: Likewise.
30196 * misc/reboot.c: Likewise.
30197 * misc/remap_file_pages.c: Likewise.
30198 * misc/removexattr.c: Likewise.
30199 * misc/revoke.c: Likewise.
30200 * misc/select.c: Likewise.
30201 * misc/setdomain.c: Likewise.
30202 * misc/setegid.c: Likewise.
30203 * misc/seteuid.c: Likewise.
30204 * misc/sethostid.c: Likewise.
30205 * misc/sethostname.c: Likewise.
30206 * misc/setregid.c: Likewise.
30207 * misc/setreuid.c: Likewise.
30208 * misc/setxattr.c: Likewise.
30209 * misc/sstk.c: Likewise.
30210 * misc/stty.c: Likewise.
30211 * misc/swapoff.c: Likewise.
30212 * misc/swapon.c: Likewise.
30213 * misc/sync.c: Likewise.
30214 * misc/syncfs.c: Likewise.
30215 * misc/syscall.c: Likewise.
30216 * misc/truncate.c: Likewise.
30217 * misc/ualarm.c: Likewise.
30218 * misc/usleep.c: Likewise.
30219 * misc/ustat.c: Likewise.
30220 * misc/utimes.c: Likewise.
30221 * misc/vhangup.c: Likewise.
30222 * misc/writev.c: Likewise.
30223 * posix/_exit.c: Likewise.
30224 * posix/alarm.c: Likewise.
30225 * posix/execve.c: Likewise.
30226 * posix/fexecve.c: Likewise.
30227 * posix/fork.c: Likewise.
30228 * posix/fpathconf.c: Likewise.
30229 * posix/getaddrinfo.c: Likewise.
30230 * posix/getegid.c: Likewise.
30231 * posix/geteuid.c: Likewise.
30232 * posix/getgid.c: Likewise.
30233 * posix/getgroups.c: Likewise.
30234 * posix/getlogin.c: Likewise.
30235 * posix/getlogin_r.c: Likewise.
30236 * posix/getpgid.c: Likewise.
30237 * posix/getpid.c: Likewise.
30238 * posix/getppid.c: Likewise.
30239 * posix/getresgid.c: Likewise.
30240 * posix/getresuid.c: Likewise.
30241 * posix/getsid.c: Likewise.
30242 * posix/getuid.c: Likewise.
30243 * posix/glob64.c: Likewise.
30244 * posix/nanosleep.c: Likewise.
30245 * posix/pathconf.c: Likewise.
30246 * posix/pause.c: Likewise.
30247 * posix/posix_madvise.c: Likewise.
30248 * posix/pread.c: Likewise.
30249 * posix/pread64.c: Likewise.
30250 * posix/pwrite.c: Likewise.
30251 * posix/pwrite64.c: Likewise.
30252 * posix/sched_getaffinity.c: Likewise.
30253 * posix/sched_getp.c: Likewise.
30254 * posix/sched_gets.c: Likewise.
30255 * posix/sched_primax.c: Likewise.
30256 * posix/sched_primin.c: Likewise.
30257 * posix/sched_rr_gi.c: Likewise.
30258 * posix/sched_setaffinity.c: Likewise.
30259 * posix/sched_setp.c: Likewise.
30260 * posix/sched_sets.c: Likewise.
30261 * posix/sched_yield.c: Likewise.
30262 * posix/setgid.c: Likewise.
30263 * posix/setlogin.c: Likewise.
30264 * posix/setpgid.c: Likewise.
30265 * posix/setresgid.c: Likewise.
30266 * posix/setresuid.c: Likewise.
30267 * posix/setsid.c: Likewise.
30268 * posix/setuid.c: Likewise.
30269 * posix/sleep.c: Likewise.
30270 * posix/spawni.c: Likewise.
30271 * posix/sysconf.c: Likewise.
30272 * posix/times.c: Likewise.
30273 * posix/wait.c: Likewise.
30274 * posix/wait3.c: Likewise.
30275 * posix/wait4.c: Likewise.
30276 * posix/waitpid.c: Likewise.
30277 * resolv/gai_sigqueue.c: Likewise.
30278 * resource/getpriority.c: Likewise.
30279 * resource/getrlimit.c: Likewise.
30280 * resource/getrusage.c: Likewise.
30281 * resource/nice.c: Likewise.
30282 * resource/setpriority.c: Likewise.
30283 * resource/setrlimit.c: Likewise.
30284 * resource/ulimit.c: Likewise.
30285 * rt/aio_cancel.c: Likewise.
30286 * rt/aio_fsync.c: Likewise.
30287 * rt/aio_read.c: Likewise.
30288 * rt/aio_sigqueue.c: Likewise.
30289 * rt/aio_suspend.c: Likewise.
30290 * rt/aio_write.c: Likewise.
30291 * rt/clock_getres.c: Likewise.
30292 * rt/clock_gettime.c: Likewise.
30293 * rt/clock_nanosleep.c: Likewise.
30294 * rt/clock_settime.c: Likewise.
30295 * rt/lio_listio.c: Likewise.
30296 * rt/mq_close.c: Likewise.
30297 * rt/mq_getattr.c: Likewise.
30298 * rt/mq_notify.c: Likewise.
30299 * rt/mq_open.c: Likewise.
30300 * rt/mq_receive.c: Likewise.
30301 * rt/mq_send.c: Likewise.
30302 * rt/mq_setattr.c: Likewise.
30303 * rt/mq_timedreceive.c: Likewise.
30304 * rt/mq_timedsend.c: Likewise.
30305 * rt/mq_unlink.c: Likewise.
30306 * rt/shm_open.c: Likewise.
30307 * rt/shm_unlink.c: Likewise.
30308 * rt/timer_create.c: Likewise.
30309 * rt/timer_delete.c: Likewise.
30310 * rt/timer_getoverr.c: Likewise.
30311 * rt/timer_gettime.c: Likewise.
30312 * rt/timer_settime.c: Likewise.
30313 * setjmp/__longjmp.c: Likewise.
30314 * setjmp/setjmp.c: Likewise.
30315 * signal/kill.c: Likewise.
30316 * signal/killpg.c: Likewise.
30317 * signal/raise.c: Likewise.
30318 * signal/sigaction.c: Likewise.
30319 * signal/sigaltstack.c: Likewise.
30320 * signal/sigblock.c: Likewise.
30321 * signal/sigignore.c: Likewise.
30322 * signal/sigintr.c: Likewise.
30323 * signal/signal.c: Likewise.
30324 * signal/sigpause.c: Likewise.
30325 * signal/sigpending.c: Likewise.
30326 * signal/sigqueue.c: Likewise.
30327 * signal/sigreturn.c: Likewise.
30328 * signal/sigset.c: Likewise.
30329 * signal/sigsetmask.c: Likewise.
30330 * signal/sigstack.c: Likewise.
30331 * signal/sigsuspend.c: Likewise.
30332 * signal/sigtimedwait.c: Likewise.
30333 * signal/sigvec.c: Likewise.
30334 * signal/sigwait.c: Likewise.
30335 * signal/sigwaitinfo.c: Likewise.
30336 * signal/sysv_signal.c: Likewise.
30337 * socket/accept.c: Likewise.
30338 * socket/accept4.c: Likewise.
30339 * socket/bind.c: Likewise.
30340 * socket/connect.c: Likewise.
30341 * socket/getpeername.c: Likewise.
30342 * socket/getsockname.c: Likewise.
30343 * socket/getsockopt.c: Likewise.
30344 * socket/isfdtype.c: Likewise.
30345 * socket/listen.c: Likewise.
30346 * socket/recv.c: Likewise.
30347 * socket/recvfrom.c: Likewise.
30348 * socket/recvmsg.c: Likewise.
30349 * socket/send.c: Likewise.
30350 * socket/sendmsg.c: Likewise.
30351 * socket/sendto.c: Likewise.
30352 * socket/setsockopt.c: Likewise.
30353 * socket/shutdown.c: Likewise.
30354 * socket/sockatmark.c: Likewise.
30355 * socket/socket.c: Likewise.
30356 * socket/socketpair.c: Likewise.
30357 * stdio-common/ctermid.c: Likewise.
30358 * stdio-common/cuserid.c: Likewise.
30359 * stdio-common/remove.c: Likewise.
30360 * stdio-common/rename.c: Likewise.
30361 * stdio-common/renameat.c: Likewise.
30362 * stdio-common/tempname.c: Likewise.
30363 * stdlib/getcontext.c: Likewise.
30364 * stdlib/makecontext.c: Likewise.
30365 * stdlib/setcontext.c: Likewise.
30366 * stdlib/swapcontext.c: Likewise.
30367 * stdlib/system.c: Likewise.
30368 * streams/fattach.c: Likewise.
30369 * streams/fdetach.c: Likewise.
30370 * streams/getmsg.c: Likewise.
30371 * streams/getpmsg.c: Likewise.
30372 * streams/putmsg.c: Likewise.
30373 * streams/putpmsg.c: Likewise.
30374 * sysdeps/unix/bsd/getpt.c: Likewise.
30375 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
30376 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
30377 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
30378 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
30379 Likewise.
30380 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
30381 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
30382 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
30383 * sysvipc/msgctl.c: Likewise.
30384 * sysvipc/msgget.c: Likewise.
30385 * sysvipc/msgrcv.c: Likewise.
30386 * sysvipc/msgsnd.c: Likewise.
30387 * sysvipc/semctl.c: Likewise.
30388 * sysvipc/semget.c: Likewise.
30389 * sysvipc/semop.c: Likewise.
30390 * sysvipc/semtimedop.c: Likewise.
30391 * sysvipc/shmat.c: Likewise.
30392 * sysvipc/shmctl.c: Likewise.
30393 * sysvipc/shmdt.c: Likewise.
30394 * sysvipc/shmget.c: Likewise.
30395 * termios/tcdrain.c: Likewise.
30396 * termios/tcflow.c: Likewise.
30397 * termios/tcflush.c: Likewise.
30398 * termios/tcgetattr.c: Likewise.
30399 * termios/tcgetpgrp.c: Likewise.
30400 * termios/tcsendbrk.c: Likewise.
30401 * termios/tcsetattr.c: Likewise.
30402 * termios/tcsetpgrp.c: Likewise.
30403 * time/adjtime.c: Likewise.
30404 * time/clock.c: Likewise.
30405 * time/getitimer.c: Likewise.
30406 * time/gettimeofday.c: Likewise.
30407 * time/setitimer.c: Likewise.
30408 * time/settimeofday.c: Likewise.
30409 * time/stime.c: Likewise.
30410 * time/time.c: Likewise.
30411
304122012-11-04 Pino Toscano <toscano.pino@tiscali.it>
72e182e3 30413
a20492cf
PT
30414 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
30415 /usr/old/bin.
30416
72e182e3
PT
30417 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
30418 instead of spaces.
30419 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
30420
fbeafede
JM
304212012-11-03 Joseph Myers <joseph@codesourcery.com>
30422
5b5b04d6
JM
30423 [BZ #14796]
30424 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
30425 FE_TONEAREST before applying Dekker multiplication and Knuth
30426 addition. Clear inexact exceptions and check for exact zero
30427 results afterwards.
30428 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
30429 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
30430 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
30431 * math/libm-test.inc (fma_test): Add more tests.
30432 (fma_test_towardzero): Likewise.
30433 (fma_test_downward): Likewise.
30434 (fma_test_upward): Likewise.
30435 * sysdeps/generic/math_private.h (default_libc_fesetround): New
30436 function.
30437 (libc_fesetround): New macro.
30438 (libc_fesetroundf): Likewise.
30439 (libc_fesetroundl): Likewise.
30440 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
30441 function.
30442 (libc_fesetround_387): Likewise.
30443 (libc_fesetroundf): New macro.
30444 (libc_fesetround): Likewise.
30445 (libc_fesetroundl): Likewise.
30446 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
30447 function.
30448 (libc_fesetroundf): New macro.
30449 (libc_fesetround): Likewise.
30450 (libc_fesetroundl): Likewise.
30451 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
30452 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
30453 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
30454 libm_hidden_ver.
30455 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
30456 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
30457 libm_hidden_def.
30458 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
30459 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
30460 libm_hidden_ver.
30461 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
30462 libm_hidden_def.
30463
fbeafede
JM
30464 [BZ #3439]
30465 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
30466 integer constant usable in #if and use that to give value to enum
30467 constant.
30468 (FE_DIVBYZERO): Likewise.
30469 (FE_UNDERFLOW): Likewise.
30470 (FE_OVERFLOW): Likewise.
30471 (FE_INVALID): Likewise.
30472 (FE_INVALID_SNAN): Likewise.
30473 (FE_INVALID_ISI): Likewise.
30474 (FE_INVALID_IDI): Likewise.
30475 (FE_INVALID_ZDZ): Likewise.
30476 (FE_INVALID_IMZ): Likewise.
30477 (FE_INVALID_COMPARE): Likewise.
30478 (FE_INVALID_SOFTWARE): Likewise.
30479 (FE_INVALID_SQRT): Likewise.
30480 (FE_INVALID_INTEGER_CONVERSION): Likewise.
30481 (FE_TONEAREST): Likewise.
30482 (FE_TOWARDZERO): Likewise.
30483 (FE_UPWARD): Likewise.
30484 (FE_DOWNWARD): Likewise.
30485 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
30486 (FE_DIVBYZERO): Likewise.
30487 (FE_OVERFLOW): Likewise.
30488 (FE_UNDERFLOW): Likewise.
30489 (FE_INEXACT): Likewise.
30490 (FE_TONEAREST): Likewise.
30491 (FE_DOWNWARD): Likewise.
30492 (FE_UPWARD): Likewise.
30493 (FE_TOWARDZERO): Likewise.
30494 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
30495 (FE_UNDERFLOW): Likewise.
30496 (FE_OVERFLOW): Likewise.
30497 (FE_DIVBYZERO): Likewise.
30498 (FE_INVALID): Likewise.
30499 (FE_TONEAREST): Likewise.
30500 (FE_TOWARDZERO): Likewise.
30501 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
30502 (FE_OVERFLOW): Likewise.
30503 (FE_UNDERFLOW): Likewise.
30504 (FE_DIVBYZERO): Likewise.
30505 (FE_INEXACT): Likewise.
30506 (FE_TONEAREST): Likewise.
30507 (FE_TOWARDZERO): Likewise.
30508 (FE_UPWARD): Likewise.
30509 (FE_DOWNWARD): Likewise.
30510 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
30511 (FE_DIVBYZERO): Likewise.
30512 (FE_OVERFLOW): Likewise.
30513 (FE_UNDERFLOW): Likewise.
30514 (FE_INEXACT): Likewise.
30515 (FE_TONEAREST): Likewise.
30516 (FE_DOWNWARD): Likewise.
30517 (FE_UPWARD): Likewise.
30518 (FE_TOWARDZERO): Likewise.
30519
105ca950
CM
305202012-11-02 Chris Metcalf <cmetcalf@tilera.com>
30521
30522 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
30523
a542b389
AS
305242012-11-03 Andreas Schwab <schwab@linux-m68k.org>
30525
30526 * scripts/cross-test-ssh.sh (command): Use newlines to separate
30527 commands. Quote $PWD.
30528 (blacklist_exports): Don't use remove_newlines. Replace "declare
30529 -x" by "export".
30530 (remove_newlines): Remove.
30531
f62c8abc
L
305322012-11-02 H.J. Lu <hongjiu.lu@intel.com>
30533
30534 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
30535 * stdlib/stdlib.h (atof): Moved to ...
30536 * include/bits/stdlib-float.h: Here. New file.
30537 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
30538 * stdlib/bits/stdlib-float.h: New file.
30539 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
30540 -mno-sse -mno-mmx.
30541 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
30542 <xmmintrin.h>.
30543
0155d5b2
JM
305442012-11-02 Joseph Myers <joseph@codesourcery.com>
30545
a68d0680
JM
30546 * conform/conformtest.pl (@headers): Add fenv.h.
30547 * conform/data/fenv.h-data: New file.
30548 * include/fenv.h [_ISOMAC]: Disable all contents of file except
30549 include of <math/fenv.h>.
30550
caf7f573
JM
30551 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
30552 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
30553 && !UNIX98]. Enables tests for XOPEN2K8.
30554 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
30555 POSIX2008]: Likewise.
30556
6c073ad6
JM
30557 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
30558 (struct rusage): Do not expect type or its members.
30559
0155d5b2
JM
30560 [BZ #3439]
30561 * math/math.h (FP_NAN): Define macro to integer constant usable in
30562 #if and use that to give value to enum constant.
30563 (FP_INFINITE): Likewise.
30564 (FP_ZERO): Likewise.
30565 (FP_SUBNORMAL): Likewise.
30566 (FP_NORMAL): Likewise.
30567
b5dcacb4
AS
305682012-11-02 Andreas Schwab <schwab@linux-m68k.org>
30569
30570 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
30571 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
30572 arguments.
30573
f7934be8
RM
305742012-11-02 Roland McGrath <roland@hack.frob.com>
30575
30576 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
30577 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
30578 autoconf-time if not.
30579 * configure.in: Remove AC_PREREQ.
30580
d7d08bde
TMQMF
305812012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
30582
30583 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
30584 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
30585 of the internal implementation.
30586
dcdae19a
JM
305872012-11-02 Joseph Myers <joseph@codesourcery.com>
30588
30589 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
30590 except include of <misc/sys/syslog.h>.
30591
d6cffd3e
AS
305922012-11-01 Andreas Schwab <schwab@linux-m68k.org>
30593
30594 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
30595 function returns with a NULL context exit with zero.
30596
b3563932
TMQMF
305972012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
30598
30599 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
30600
b288a93d
L
306012012-11-01 H.J. Lu <hongjiu.lu@intel.com>
30602
30603 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
30604 (run_program_cmd): This.
30605 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
30606 (tst_langinfo): New variable. Use it.
30607
a2421a68
SAS
306082012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
30609
30610 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
30611 floating point opcodes.
30612
6f796e1b
TS
306132012-11-01 Thomas Schwinge <thomas@codesourcery.com>
30614
7402596b
TS
30615 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
30616 variable.
30617
d0d4f868
TS
30618 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
30619
6f796e1b
TS
30620 * sysdeps/mach/hurd/powerpc: Remove directory.
30621 * sysdeps/mach/powerpc: Likewise.
30622
4da224a2
AS
306232012-11-01 Andreas Schwab <schwab@linux-m68k.org>
30624
30625 * scripts/check-local-headers.sh: Ignore c++ headers.
30626
341dd673
TS
306272012-11-01 Thomas Schwinge <thomas@codesourcery.com>
30628
30629 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
30630 __libc_cleanup_region_start argument.
30631
473611b2
JM
306322012-11-01 Joseph Myers <joseph@codesourcery.com>
30633
30634 [BZ #14784]
30635 [BZ #14785]
30636 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
30637 x * y using scaling, not as x * y + z.
30638 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
30639 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
30640 * math/libm-test.inc (fma_test): Add more tests.
30641 (fma_test_towardzero): Likewise.
30642 (fma_test_downward): Likewise.
30643 (fma_test_upward): Likewise.
30644
4078da3d
TS
306452012-11-01 Thomas Schwinge <thomas@codesourcery.com>
30646
30647 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
30648
903252aa
JM
306492012-10-31 Joseph Myers <joseph@codesourcery.com>
30650
30651 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
30652 New variable.
30653
cbc818d0
TS
306542012-10-31 Thomas Schwinge <thomas@codesourcery.com>
30655
30656 * rt/tst-shm.c (worker): Correct checking for mmap failure.
30657
5a03cb1e
AS
306582012-10-31 Andreas Schwab <schwab@linux-m68k.org>
30659
30660 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
30661 Fix sort order.
30662 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
30663 Likewise.
30664
90aff2ff
TMQMF
306652012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
30666
30667 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
30668 Fix the order of the list for glibc 2.17.
30669 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
30670 Likewise.
30671
1818fcb7
AS
306722012-10-31 Andreas Schwab <schwab@linux-m68k.org>
30673
30674 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30675
ef82f4da
JM
306762012-10-31 Joseph Myers <joseph@codesourcery.com>
30677
16a0e2ec
JM
30678 [BZ #14610]
30679 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
30680 for low part of x being zero before using __atanl (y).
30681 * math/libm-test.inc (atan2_test): Add another test.
30682
0eb69512
JM
30683 * manual/install.texi (Configuring and compiling): Document
30684 general use of test-wrapper and test-wrapper-env.
30685 * INSTALL: Regenerated.
30686
ef82f4da
JM
30687 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
30688 (__fma): Do not extract and scale down low bits on after-rounding
30689 systems when result rounded to normal precision would have normal
30690 exponent.
30691 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
30692 (__fmal): Do not extract and scale down low bits on after-rounding
30693 systems when result rounded to normal precision would have normal
30694 exponent.
30695 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
30696 (__fmal): Do not extract and scale down low bits on after-rounding
30697 systems when result rounded to normal precision would have normal
30698 exponent.
30699 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
30700 macro.
30701 (fma_test): Add more tests.
30702 (fma_test_towardzero): Likewise.
30703 (fma_test_downward): Likewise.
30704 (fma_test_upward): Likewise.
30705
954ef0d9
L
307062012-10-30 H.J. Lu <hongjiu.lu@intel.com>
30707
30708 * sysdeps/i386/tininess.h: Renamed to ...
30709 * sysdeps/x86/tininess.h: This.
30710 * sysdeps/x86_64/tininess.h: Removed.
30711
df61ffb2
JM
307122012-10-30 Joseph Myers <joseph@codesourcery.com>
30713
30714 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
30715 input. Use $(build-program-cmd).
30716 ($(objpfx)tst-array1-static.out): Likewise.
30717 ($(objpfx)tst-array2.out): Likewise.
30718 ($(objpfx)tst-array3.out): Likewise.
30719 ($(objpfx)tst-array4.out): Likewise.
30720 ($(objpfx)tst-array5.out): Likewise.
30721 ($(objpfx)tst-array5-static.out): Likewise.
30722
01767843
CM
307232012-10-30 Chris Metcalf <cmetcalf@tilera.com>
30724
47cc1490
CM
30725 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
30726 if defined.
30727
01767843
CM
30728 * nss/nsswitch.h (nss_interface_function): Provide new
30729 macro for use with NSS functions.
30730 * grp/initgroups.c: Use new macro.
30731 * nss/getXXbyYY.c: Likewise.
30732 * nss/getXXbyYY_r.c: Likewise.
30733 * nss/getXXent.c: Likewise.
30734 * nss/getXXent_r.c: Likewise.
30735 * sysdeps/posix/getaddrinfo.c: Likewise.
30736
8321aa97
AJ
307372012-10-30 Andreas Jaeger <aj@suse.de>
30738
30739 * po/ru.po: Update Russion translation from translation project.
30740
2a27fd6d
JM
307412012-10-30 Joseph Myers <joseph@codesourcery.com>
30742
8627a232
JM
30743 [BZ #14152]
30744 [BZ #14783]
30745 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
30746 result and shift together with sticky bit instead of replicating
30747 round-to-nearest rounding.
30748 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
30749 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
30750 * math/libm-test.inc (fma_test): Add more tests. Do not permit
30751 missing underflow exceptions.
30752 (fma_test_towardzero): Add more tests.
30753 (fma_test_downward): Likewise.
30754 (fma_test_upward): Likewise.
30755
2a27fd6d
JM
30756 [BZ #14047]
30757 * sysdeps/generic/tininess.h: New file.
30758 * sysdeps/i386/tininess.h: Likewise.
30759 * sysdeps/sh/tininess.h: Likewise.
30760 * sysdeps/x86_64/tininess.h: Likewise.
30761 * stdlib/tst-strtod-underflow.c: Likewise.
30762 * stdlib/tst-tininess.c: Likewise.
30763 * stdlib/strtod_l.c: Include <tininess.h>.
30764 (round_and_return): Do not set errno for exact underflow cases.
30765 Force an underflow exception when setting errno for underflow.
30766 Determine underflow based on rounding to normal precision if
30767 TININESS_AFTER_ROUNDING.
30768 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
30769 ERANGE for exact underflow cases.
30770 * stdlib/Makefile (tests): Add tst-tininess and
30771 tst-strtod-underflow.
30772 ($(objpfx)tst-tininess): Use $(link-libm).
30773 ($(objpfx)tst-strtod-underflow): Likewise.
30774
e7170363
AJ
307752012-10-30 Andreas Jaeger <aj@suse.de>
30776
e5088dc6
AJ
30777 [BZ#14767]
30778 * elf/Makefile (tests): Remove conditional for have-initfini-array
30779 since this is now always required and the variable does not exist
30780 anymore.
30781 (tests-static): Likewise.
30782 (modules-names): Likewise.
30783
e7170363 30784 * po/eo.po: Add Esperanto translation from translation project.
b0988f10
AJ
30785
30786 * elf/tst-array1.c (fini_array): Make writeable so that it can be
30787 merged with constructor/destructor.
30788 (init_array): Likewise.
30789 * elf/tst-array2dep.c (fini_array): Likewise.
30790 (init_array): Likewise.
30791
60457d8a
MF
307922012-10-29 Mike Frysinger <vapier@gentoo.org>
30793
30794 * manual/message.texi: Delete @cartouche tags.
30795
8bece752
PT
307962012-10-29 Pino Toscano <toscano.pino@tiscali.it>
30797
94ce799f
PT
30798 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
30799 EOPNOTSUPP.
30800 * sysdeps/mach/hurd/fsync.c: Likewise.
30801
8bece752
PT
30802 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
30803 [_POSIX_REALTIME_SIGNALS]: Change condition to
30804 [_POSIX_REALTIME_SIGNALS > 0].
30805
86ebe6b1
AJ
308062012-10-27 Andreas Jaeger <aj@suse.de>
30807
30808 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
30809 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
30810 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
30811 [__WORDSIZE != 64]: Likewise.
30812
54399c08
L
308132012-10-26 H.J. Lu <hongjiu.lu@intel.com>
30814
30815 * iconvdata/tst-table.sh: Remove ${SHELL}.
30816 * iconvdata/tst-tables.sh: Likewise.
30817
e2211bed
DM
308182012-10-25 David S. Miller <davem@davemloft.net>
30819
30820 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
30821 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
30822 of strtoull.
30823
f303f97c
DM
30824 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
30825 ifunc-impl-list.c
30826 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
30827 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
30828 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
30829 file.
30830
1e9d84cd
RM
308312012-10-25 Roland McGrath <roland@hack.frob.com>
30832
30833 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
30834 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
30835 __getdirentries.
30836
df381762
JM
308372012-10-25 Joseph Myers <joseph@codesourcery.com>
30838 Jim Blandy <jimb@codesourcery.com>
30839
30840 * scripts/cross-test-ssh.sh: New file.
30841 * manual/install.texi (Configuring and compiling): Document use of
30842 cross-test-ssh.sh.
30843 * INSTALL: Regenerated.
30844
bff64913
PT
308452012-10-25 Pino Toscano <toscano.pino@tiscali.it>
30846
30847 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
30848 EOPNOTSUPP.
30849
25fe8932
JM
308502012-10-25 Joseph Myers <joseph@codesourcery.com>
30851
30852 * Makeconfig (run-program-prefix): Fix comment.
30853
cc1290d0
JM
308542012-10-24 Joseph Myers <joseph@codesourcery.com>
30855 Jim Blandy <jimb@codesourcery.com>
30856
30857 * Makeconfig (test-wrapper): New variable,
30858 (test-wrapper-env): Likewise.
30859 [$(cross-compiling) = yes && $(test-wrapper) != ""]
30860 (run-built-tests): Define to yes.
30861 (run-program-prefix): Use $(test-wrapper).
30862 (built-program-cmd): Likewise.
30863 * Rules (make-test-out): Use $(test-wrapper-env) and
30864 $(host-built-program-cmd).
30865 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
30866 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
30867 tst-pathopt.sh.
30868 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
30869 $(test-wrapper-env) to tst-rtld-load-self.sh.
30870 ($(objpfx)order2.out): Use $(test-wrapper).
30871 ($(objpfx)tst-initorder.out): Likewise.
30872 ($(objpfx)tst-initorder2.out): Likewise.
30873 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
30874 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
30875 (test_wrapper_env): New variable. Use it to run ld.so.
30876 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
30877 Use it to run ld.so.
30878 (test_wrapper_env): Likewise.
30879 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
30880 $(test-wrapper) to run-iconv-test.sh.
30881 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
30882 (ICONV): Use $test_wrapper.
30883 * posix/Makefile ($(objpfx)globtest.out): Pass
30884 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
30885 globtest.sh, not $(run-program-prefix).
30886 * posix/globtest.sh (run_via_rtld_prefix): New variable.
30887 (test_wrapper): Likewise.
30888 (test_wrapper_env): Likewise. Use it to run globtest with HOME
30889 set together with run_via_rtld_prefix.
30890 (run_program_prefix): Define in terms of test_wrapper and
30891 run_via_rtld_prefix.
30892
6e6249d0
RM
308932012-10-24 Roland McGrath <roland@hack.frob.com>
30894
30895 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
30896 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
30897 Targets removed.
30898
30899 [BZ #14743]
30900 * include/time.h: Remove librt_hidden_proto (clock_gettime).
30901 Declare __clock_getres, __clock_gettime, __clock_settime,
30902 __clock_nanosleep, and __clock_getcpuclockid.
30903 * rt/clock_gettime.c: Define __clock_gettime as an alias.
30904 Remove librt_hidden_def (clock_gettime).
30905 * sysdeps/unix/clock_gettime.c: Likewise.
30906 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
30907 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
30908 * rt/clock_getres.c: Define __clock_getres as an alias.
30909 * sysdeps/posix/clock_getres.c: Likewise.
30910 * rt/clock_settime.c: Define __clock_settime as an alias.
30911 * sysdeps/unix/clock_settime.c: Likewise.
30912 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
30913 * sysdeps/unix/clock_nanosleep.c: Likewise.
30914 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
30915 * rt/clock-compat.c: New file.
30916 * rt/Makefile (librt-routines): Add clock-compat and move
30917 $(clock-routines) to ...
30918 (routines): ... here, new variable.
30919 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
30920 Don't add get_clockfreq here.
30921 * rt/Versions (libc: GLIBC_2.17): New version set.
30922 Add clock_* symbols here.
30923 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
30924 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
30925 (GLIBC_2.17): Add clock_* symbols.
30926 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
30927 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
30928 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
30929 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
30930 Likewise.
30931 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
30932 Likewise.
30933 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
30934 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
30935 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
30936 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
30937 * NEWS: Mention the move.
30938
30939 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
30940 Use __open, __read, __close rather than their public counterparts.
30941 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
30942 (__get_clockfreq_via_cpuinfo): Likewise.
30943 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
30944 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
30945
30946 * config.h.in (HAVE_IFUNC): New #undef.
30947 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
30948 was successful.
30949 * configure: Regenerated.
30950
0cae3f4b
MF
309512012-10-24 Mike Frysinger <vapier@gentoo.org>
30952
30953 * configure.in: Move READELF check to start of file.
30954 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
30955 libc_cv_asm_gnu_indirect_function in the process.
30956 * configure: Regenerated.
30957
8175a253
MF
309582012-10-24 Mike Frysinger <vapier@gentoo.org>
30959
30960 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
30961 send the output to /dev/null.
30962 (libc_cv_cc_with_libunwind): Likewise.
30963 (libc_cv_as_noexecstack): Likewise.
30964 * configure: Regenerate.
30965
0708a7d1
JM
309662012-10-24 Joseph Myers <joseph@codesourcery.com>
30967
10b40d85
JM
30968 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
30969
0708a7d1
JM
30970 * posix/globtest.sh (TMPDIR): Do not set.
30971 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
30972 (testout): Likewise.
30973
9fddec1a
AJ
309742012-10-24 Andreas Jaeger <aj@suse.de>
30975
3a8db22f
AJ
30976 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
30977 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
30978 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
30979 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
30980 posix_fadvise64, posix_fallocate64.
30981
9fddec1a
AJ
30982 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
30983 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
30984 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
30985 Likewise.
30986 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
30987 Likewise.
30988 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
30989
30990 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
30991 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
30992 <bits/fcntl-linux.h>.
30993 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
30994
30995 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
30996 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
30997 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
30998 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
30999 [__WORDSIZE != 64]: Likewise.
31000
ebfd1bbd
JM
310012012-10-23 Joseph Myers <joseph@codesourcery.com>
31002
03ac099f
JM
31003 * Makeconfig (run-built-tests): New variable.
31004 * Rules [$(cross-compiling) = yes]: Change condition to
31005 [$(run-built-tests) = no].
31006 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
31007 to [$(run-built-tests) = yes].
31008 * elf/Makefile [$(cross-compiling) = no]: Likewise
31009 * grp/Makefile [$(cross-compiling) = no]: Likewise.
31010 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
31011 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
31012 * intl/Makefile [$(cross-compiling) = no]: Likewise.
31013 * io/Makefile [$(cross-compiling) = no]: Likewise.
31014 * libio/Makefile [$(cross-compiling) = no]: Likewise.
31015 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
31016 * misc/Makefile [$(cross-compiling) = no]: Likewise.
31017 * posix/Makefile [$(cross-compiling) = no]: Likewise.
31018 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
31019 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
31020 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
31021 * string/Makefile [$(cross-compiling) = no]: Likewise.
31022
ebfd1bbd
JM
31023 * posix/Makefile ($(objpfx)globtest.out): Pass
31024 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
31025 $(rtld-installed-name).
31026 * posix/globtest.sh (elf_objpfx): Remove variable.
31027 (rtld_installed_name): Likewise.
31028 (library_path): Likewise.
31029 (run_program_prefix): New variable. Use for running globtest
31030 binary.
31031
166bca24
JB
310322012-10-23 Jim Blandy <jimb@codesourcery.com>
31033 Joseph Myers <joseph@codesourcery.com>
31034
31035 * Makeconfig (host-built-program-cmd): New variable.
31036 * elf/Makefile (tst-stackguard1-ARGS): Use
31037 $(host-built-program-cmd).
31038 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
31039 (tst-spawn-ARGS): Likewise.
31040 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
31041
88866099
JM
310422012-10-23 Joseph Myers <joseph@codesourcery.com>
31043 Jim Blandy <jimb@codesourcery.com>
31044
31045 * Makeconfig (run-via-rtld-prefix): New variable.
31046 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
31047 (built-program-cmd): Likewise.
31048
b4b4c296
AJ
310492012-10-22 Andreas Jaeger <aj@suse.de>
31050
31051 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
31052 __O_RSYNC if it exists, otherwise to O_SYNC.
31053
6fb54a22
JB
310542012-10-22 Jim Blandy <jimb@codesourcery.com>
31055 Joseph Myers <joseph@codesourcery.com>
31056
31057 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
31058 /dev/null.
31059 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
31060 from /dev/null
31061 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
31062 /dev/null.
31063
481b90b9
AJ
310642012-10-22 Andreas Jaeger <aj@suse.de>
31065
2a0e2669
AJ
31066 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
31067 Define always.
31068 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
31069
76e38f9a
AJ
31070 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
31071 bits/fcntl-linux.h.
31072
7cd37b43
AJ
31073 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
31074 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
31075
481b90b9
AJ
31076 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
31077 to __O_LARGEFILE.
31078 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
31079 to __O_LARGEFILE.
31080
aba75984
JB
310812012-10-21 Jim Blandy <jimb@codesourcery.com>
31082 Joseph Myers <joseph@codesourcery.com>
31083
31084 * config.make.in (NM): New variable.
31085
88d4247f
AJ
310862012-10-21 Andreas Jaeger <aj@suse.de>
31087
31088 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
31089 definitions and declarations that are provided by
31090 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
31091
f2eed205
L
310922012-10-20 H.J. Lu <hongjiu.lu@intel.com>
31093
31094 [BZ #14683]
31095 * elf/Makefile (tests-static): Add tst-leaks1-static.
31096 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
31097 ($(objpfx)tst-leaks1-static): New rule.
31098 ($(objpfx)tst-leaks1-static-mem): Likewise.
31099 (tst-leaks1-static-ENV): New macro.
31100 * elf/dl-open.c (dl_open_worker): Check the main application
31101 only if SHARED is defined.
31102 * elf/tst-leaks1-static.c: New file.
31103
335e6931
AJ
311042012-10-20 Andreas Jaeger <aj@suse.de>
31105
31106 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
31107 generic values for Linux.
31108 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
31109 and declarations that are provided by <bits/fcntl-linux.h> and
31110 include <bits/fcntl-linux.h>.
31111 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
31112 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
31113
ac5c94d3
RM
311142012-10-20 Roland McGrath <roland@hack.frob.com>
31115
31116 * io/fcntl.h: Move include of <bits/types.h> to the top and
31117 include it unconditionally.
31118
de54b33a
L
311192012-10-20 H.J. Lu <hongjiu.lu@intel.com>
31120
228cfb01
L
31121 * wcsmbs/Makefile (tests-ifunc): New variable.
31122 (tests): Add $(tests-ifunc).
31123 * wcsmbs/test-wcschr-ifunc.c: New file.
31124 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
31125 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
31126 * wcsmbs/test-wcslen-ifunc.c: Likewise.
31127 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
31128 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
31129
69f07e5f
L
31130 * string/Makefile (tests-ifunc): New variable.
31131 (tests): Add $(tests-ifunc).
31132 * string/test-memccpy.c (TEST_NAME): New macro.
31133 * string/test-memchr.c (TEST_NAME): Likewise.
31134 * string/test-memcmp.c (TEST_NAME): Likewise.
31135 * string/test-memcpy.c (TEST_NAME): Likewise.
31136 * string/test-memmem.c (TEST_NAME): Likewise.
31137 * string/test-memmove.c (TEST_NAME): Likewise.
31138 * string/test-memset.c (TEST_NAME): Likewise.
31139 * string/test-rawmemchr.c (TEST_NAME): Likewise.
31140 * string/test-stpcpy.c (TEST_NAME): Likewise.
31141 * string/test-stpncpy.c (TEST_NAME): Likewise.
31142 * string/test-strcasecmp.c (TEST_NAME): Likewise.
31143 * string/test-strcasestr.c (TEST_NAME): Likewise.
31144 * string/test-strcat.c (TEST_NAME): Likewise.
31145 * string/test-strchr.c (TEST_NAME): Likewise.
31146 * string/test-strcmp.c(TEST_NAME): Likewise.
31147 * string/test-strcpy.c (TEST_NAME): Likewise.
31148 * string/test-strcspn.c (TEST_NAME): Likewise.
31149 * string/test-strlen.c (TEST_NAME): Likewise.
31150 * string/test-strncasecmp.c (TEST_NAME): Likewise.
31151 * string/test-strncmp.c (TEST_NAME): Likewise.
31152 * string/test-strncpy.c (TEST_NAME): Likewise.
31153 * string/test-strnlen.c (TEST_NAME): Likewise.
31154 * string/test-strpbrk.c (TEST_NAME): Likewise.
31155 * string/test-strrchr.c (TEST_NAME): Likewise.
31156 * string/test-strspn.c (TEST_NAME): Likewise.
31157 * string/test-strstr.c (TEST_NAME): Likewise.
31158 * string/test-bcopy-ifunc.c: New file.
31159 * string/test-bzero-ifunc.c: Likewise.
31160 * string/test-memccpy-ifunc.c: Likewise.
31161 * string/test-memchr-ifunc.c: Likewise.
31162 * string/test-memcmp-ifunc.c: Likewise.
31163 * string/test-memcpy-ifunc.c: Likewise.
31164 * string/test-memmem-ifunc.c: Likewise.
31165 * string/test-memmove-ifunc.c: Likewise.
31166 * string/test-mempcpy-ifunc.c: Likewise.
31167 * string/test-memset-ifunc.c: Likewise.
31168 * string/test-rawmemchr-ifunc.c: Likewise.
31169 * string/test-stpcpy-ifunc.c: Likewise.
31170 * string/test-stpncpy-ifunc.c: Likewise.
31171 * string/test-strcasecmp-ifunc.c: Likewise.
31172 * string/test-strcasestr-ifunc.c: Likewise.
31173 * string/test-strcat-ifunc.c: Likewise.
31174 * string/test-strchr-ifunc.c: Likewise.
31175 * string/test-strchrnul-ifunc.c: Likewise.
31176 * string/test-strcmp-ifunc.c: Likewise.
31177 * string/test-strcpy-ifunc.c: Likewise.
31178 * string/test-strcspn-ifunc.c: Likewise.
31179 * string/test-strlen-ifunc.c: Likewise.
31180 * string/test-strncasecmp-ifunc.c: Likewise.
31181 * string/test-strncat-ifunc.c: Likewise.
31182 * string/test-strncmp-ifunc.c: Likewise.
31183 * string/test-strncpy-ifunc.c: Likewise.
31184 * string/test-strnlen-ifunc.c: Likewise.
31185 * string/test-strpbrk-ifunc.c: Likewise.
31186 * string/test-strrchr-ifunc.c: Likewise.
31187 * string/test-strspn-ifunc.c: Likewise.
31188 * string/test-strstr-ifunc.c: Likewise.
31189
de54b33a
L
31190 * debug/Makefile (tests-ifunc): New variable.
31191 (tests): Add $(tests-ifunc).
31192 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
31193 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
31194 * debug/test-stpcpy_chk-ifunc.c: New file.
31195 * debug/test-strcpy_chk-ifunc.c: Likewise.
31196
88481c16
SP
311972012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
31198
31199 [BZ #13601]
31200 * elf/dl-load.c (open_verify): Retry read if the entire ELF
31201 header is not read in.
31202
135948bd
JM
312032012-10-19 Joseph Myers <joseph@codesourcery.com>
31204
89f1c388
JM
31205 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
31206 script to $(SHELL) as $<. Pass $(common-objpfx) to script
31207 directly. Pass built executable to script as
31208 $(built-program-cmd).
31209 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
31210 $testprogram without using LD_LIBRARY_PATH and $ldso.
31211
e40a0d21
JM
31212 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
31213 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
31214 $(rtld-installed-name).
31215 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
31216 (rtld_installed_name): Likewise.
31217 (library_path): Likewise.
31218 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
31219 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
31220 $(run-program-prefix) to tst-tables.sh.
31221 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
31222 it to run tst-table-from and tst-table-to.
31223 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
31224 Pass it to tst-table.sh.
31225 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
31226 $(run-program-prefix) to tst-gettext.sh.
31227 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
31228 tst-translit.sh.
31229 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
31230 tst-gettext2.sh.
31231 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
31232 to run tst-gettext.
31233 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
31234 to run tst-gettext2.
31235 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
31236 to run tst-translit.
31237 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
31238 $(run-program-prefix) to tst-mtrace.sh.
31239 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
31240 to run tst-mtrace.
31241 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
31242 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
31243 $(rtld-installed-name).
31244 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
31245 (rtld_installed_name): Likewise.
31246 (run_program_prefix): New variable. Use it to run wordexp-test.
31247
728e272a
JM
31248 * Makeconfig (ARCH): Remove all definitions.
31249 (machine): Likewise.
31250 [ARCH]: Remove conditional code.
31251 [!objdir]: Give error.
31252 [!objdir] (objpfx): Remove.
31253 [!objdir] (common-objpfx): Likewise.
31254 [!objdir] (common-objdir): Likewise.
31255 * configure.in (config_makefile): Remove. Hardcode Makefile in
31256 AC_CONFIG_FILES call.
31257 * configure: Regenerated.
31258
d528cdcf
JM
31259 [BZ #13888]
31260 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
31261 or TMPDIR.
31262 (testout): Likewise.
31263
135948bd
JM
31264 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
31265 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
31266 $(rtld-installed-name).
31267 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
31268 (rtld_installed_name): Likwise.
31269 (runit): Remove function.
31270 (run_getconf): New variable, Use it for running getconf binary.
31271
38c78296
L
312722012-10-18 H.J. Lu <hongjiu.lu@intel.com>
31273
31274 [BZ #14716]
31275 * string/test-memmem.c (check_result): New function.
31276 (do_one_test): Use it.
31277 (check1): New function.
31278 (test_main): Use it.
31279
d077f65f
MT
312802012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
31281
31282 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
31283
ced52c71
JM
312842012-10-18 Joseph Myers <joseph@codesourcery.com>
31285
31286 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
31287 (_G_LSEEK64): Likewise.
31288 (_G_MMAP64): Likewise.
31289 (_G_FSTAT64): Likewise.
31290 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
31291 (_G_LSEEK64): Likewise.
31292 (_G_MMAP64): Likewise.
31293 (_G_FSTAT64): Likewise.
31294 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
31295 unconditional. Call __mmap64 directly.
31296 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
31297 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
31298 __lseek64 directly.
31299 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
31300 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
31301 __mmap64 directly.
31302 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
31303 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
31304 __lseek64 directly.
31305 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
31306 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
31307 __lseek64 directly.
31308 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
31309 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
31310 __lseek64 directly.
31311 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
31312 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
31313 __fxstat64 directly.
31314 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
31315 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
31316 unconditional.
31317 (freopen64) [!_G_OPEN64]: Remove conditional code.
31318 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
31319 unconditional.
31320 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
31321 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
31322 unconditional.
31323 (ftello64) [!_G_LSEEK64]: Remove conditional code.
31324 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
31325 unconditional.
31326 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
31327 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
31328 unconditional.
31329 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
31330 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
31331 unconditional.
31332 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
31333 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
31334 unconditional.
31335 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
31336 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
31337 unconditional.
31338 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
31339
b741de23
SP
313402012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
31341
31342 [BZ #12140]
31343 * manual/memory.texi (Malloc Tunable Parameters): Add note
31344 about free list pointers overwriting some perturb bytes.
31345 Wording suggested by Roland McGrath.
31346
f9b9d9c9
JM
313472012-10-17 Joseph Myers <joseph@codesourcery.com>
31348
31349 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
31350 (lgamma_test): Likewise.
31351 (tgamma_test): Likewise.
31352
172a631a
FW
313532012-10-16 Florian Weimer <fweimer@redhat.com>
31354
31355 [BZ #14700]
31356 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
31357 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
31358
e9f37252
MK
313592012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
31360
31361 * NEWS: Mention BZ #14716.
31362 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
31363 when removing AVAILABLE1_USES_J macro.
31364
d394eb74
L
313652012-10-12 H.J. Lu <hongjiu.lu@intel.com>
31366
31367 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
31368 (__bswap_64): __uint64_t for unsigned 64-bit int.
31369
ca38dc17
AS
313702012-10-12 Andreas Schwab <schwab@linux-m68k.org>
31371
31372 * include/string.h (memmem): Declare libc hidden alias.
31373 * string/memmem.c (memmem): Define libc hidden alias.
31374 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
31375 __read, __close instead of open, read, close.
31376
9a387d1f
L
313772012-10-11 H.J. Lu <hongjiu.lu@intel.com>
31378
ac49ecaf
L
31379 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
31380 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
31381 global and hidden.
31382 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
31383 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
31384 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
31385 Likewise.
31386 (__rawmemchr_sse2): Likewise.
31387 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
31388 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
31389 (__strchr_sse2): Likewise.
31390 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
31391 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
31392 (__strcasecmp_sse2): Likewise.
31393 (__strncasecmp_sse2): Likewise.
31394 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
31395 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
31396 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
31397 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
31398 (__strrchr_sse2): Likewise.
31399 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
31400 ifunc-impl-list.c.
31401 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
31402 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
31403 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
31404 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
31405 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
31406 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
31407 * sysdeps/x86_64/multiarch/memset.S: Likewise.
31408 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
31409 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
31410 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
31411 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
31412 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
31413 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
31414 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
31415 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
31416 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
31417 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
31418 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
31419 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
31420 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
31421 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
31422 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
31423 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
31424 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
31425 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
31426 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
31427 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
31428 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
31429 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
31430 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
31431
b090e8ea
L
31432 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
31433 global and hidden.
31434 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
31435 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
31436 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
31437 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
31438 Likewise.
31439 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
31440 Likewise.
31441 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
31442 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
31443 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
31444 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
31445 ifunc-impl-list.c.
31446 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
31447 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
31448 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
31449 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
31450 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
31451 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
31452 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
31453 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
31454 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
31455 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
31456 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
31457 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
31458 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
31459 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
31460 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
31461 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
31462 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
31463 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
31464 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
31465 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
31466 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
31467 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
31468 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
31469 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
31470 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
31471 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
31472 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
31473 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
31474 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
31475 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
31476 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
31477 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
31478 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
31479 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
31480 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
31481 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
31482 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
31483 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
31484 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
31485 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
31486 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
31487
11dd4af6
L
31488 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
31489 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
31490 * include/ifunc-impl-list.h: New file.
31491 * misc/ifunc-impl-list.c: Likewise.
31492 * misc/Makefile (routines): Add ifunc-impl-list.
31493 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
31494 * string/test-string.h: Include <ifunc-impl-list.h>.
57f41c40
AS
31495 (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
31496 TEST_NAME]: New variables.
11dd4af6
L
31497 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
31498 are defined.
31499 (test_init): Call __libc_ifunc_impl_list to initialize
31500 func_list if TEST_IFUNC and TEST_NAME are defined.
31501
9a387d1f
L
31502 * string/Makefile (strop-tests): Add bcopy and bzero.
31503 * string/test-bcopy.c: New file.
31504 * string/test-bzero.c: Likewise.
31505 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
31506 defined.
31507 * string/test-memset.c: Support bzero test if TEST_BZERO is
31508 defined.
31509 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
31510 __libc_memmove.
31511 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
31512 __libc_memset.
31513 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
31514 of memset.
31515
472371b9
JM
315162012-10-10 Joseph Myers <joseph@codesourcery.com>
31517
1e4a9536
JM
31518 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
31519 * configure: Regenerated.
31520
d173d12e
JM
31521 * Makeconfig (+link-static-before-libc): Don't include
31522 $(link-static-libc).
31523
472371b9
JM
31524 * libio/libio.h (_IO_pos_t): Remove.
31525
89a3ad0b
AO
315262012-10-10 Alexandre Oliva <aoliva@redhat.com>
31527
31528 * NEWS: Add note about FIPS mode. Wording suggested by Roland
31529 McGrath.
31530
e7451425
AO
315312012-10-10 Alexandre Oliva <aoliva@redhat.com>
31532
31533 * crypt/crypt-entry.c: Include fips-private.h.
31534 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
31535 * crypt/md5c-test.c (main): Tolerate disabled MD5.
31536 * sysdeps/unix/sysv/linux/fips-private.h: New file.
31537 * sysdeps/generic/fips-private.h: New file, dummy fallback.
31538
4ba74a35
AO
315392012-10-10 Alexandre Oliva <aoliva@redhat.com>
31540
31541 * crypt/crypt-private.h: Include stdbool.h.
31542 (_ufc_setup_salt_r): Return bool.
31543 * crypt/crypt-entry.c: Include errno.h.
31544 (__crypt_r): Return NULL with EINVAL for bad salt.
31545 * crypt/crypt_util.c (bad_for_salt): New.
31546 (_ufc_setup_salt_r): Check that salt is long enough and within
31547 the specified alphabet.
31548 * crypt/badsalttest.c: New file.
31549 * crypt/Makefile (tests): Add it.
31550 ($(objpfx)badsalttest): New.
31551
f96f1242
MK
315522012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
31553
31554 * NEWS: Add entry for BZ #14602.
31555
0e8e0c1c
JM
315562012-10-09 Joseph Myers <joseph@codesourcery.com>
31557
31558 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
31559 type-generic.
31560 * math/libm-test.inc: Update comment listing what functions and
31561 macros are tested.
31562 (isgreater_test): New function.
31563 (isgreaterequal_test): Likewise.
31564 (isless_test): Likewise.
31565 (islessequal_test): Likewise.
31566 (islessgreater_test): Likewise.
31567 (isunordered_test): Likewise.
31568 (main): Call the new functions.
31569
273edc5e
RM
315702012-10-09 Roland McGrath <roland@hack.frob.com>
31571
b8493de0
RM
31572 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
31573 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
31574 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
31575 * sysdeps/i386/configure: Regenerated.
31576 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
31577 * sysdeps/mach/configure: Regenerated.
31578 * sysdeps/mach/hurd/configure: Regenerated.
31579 * sysdeps/powerpc/configure: Regenerated.
31580 * sysdeps/powerpc/powerpc32/configure: Regenerated.
31581 * sysdeps/powerpc/powerpc64/configure: Regenerated.
31582 * sysdeps/s390/s390-32/configure: Regenerated.
31583 * sysdeps/s390/s390-64/configure: Regenerated.
31584 * sysdeps/sh/configure: Regenerated.
31585 * sysdeps/sparc/configure: Regenerated.
31586 * sysdeps/unix/sysv/linux/configure: Regenerated.
31587 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
31588 * sysdeps/x86_64/configure: Regenerated.
31589
273edc5e
RM
31590 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
31591 defined. Don't check if MAP is NULL.
31592
c8450f70
JM
315932012-10-09 Joseph Myers <joseph@codesourcery.com>
31594
31595 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
31596 (_G_stat64): Likewise.
31597 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
31598 (_G_stat64): Likewise.
31599 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
31600 instead of struct _G_stat64.
31601 * libio/fileops.c (mmap_remap_check): Likewise.
31602 (decide_maybe_mmap): Likewise.
31603 (_IO_new_file_seekoff): Likewise.
31604 (_IO_file_stat): Likewise.
31605 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
31606 _G_off64_t.
31607 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
31608 instead of struct _G_stat64.
31609 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
31610
57e605ba
MK
316112012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
31612
31613 [BZ #14602]
31614 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
31615 Replace with ...
31616 (CHECK_EOL): New macro.
31617 (two_way_short_needle): Check beginning of haystack for EOL. Use
31618 CHECK_EOL.
31619 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
31620 Replace with CHECK_EOL.
31621 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
31622 Replace with CHECK_EOL.
31623
ef1bb361
JM
316242012-10-08 Joseph Myers <joseph@codesourcery.com>
31625
31626 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
31627 type-generic.
31628 * math/libm-test.inc: Update comment listing what functions and
31629 macros are tested.
31630 (finite_test): New function.
31631 (isinf_test): Likewise.
31632 (isnan_test): Likewise.
31633 (fpclassify_test): Test subnormal input.
31634 (isfinite_test): Likewise.
31635 (isnormal_test): Likewise.
31636 (main): Call the new functions.
31637
55f11534
JN
316382012-10-08 Jonathan Nieder <jrnieder@gmail.com>
31639
31640 [BZ #14660]
31641 * Makerules (%.dynsym): Force C locale when running
31642 $(OBJDUMP) --dynamic-syms.
31643
1ab29350
AS
316442012-10-08 Andreas Schwab <schwab@linux-m68k.org>
31645
31646 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
31647 <stdint.h>.
31648
f1ecb7ef
DM
316492012-10-06 David S. Miller <davem@davemloft.net>
31650
31651 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
31652 upper 32-bits of the length value in %o2 since we use branch-on-register
31653 tests which consider the entire 64-bit register.
31654
5d41d91a
L
316552012-10-06 H.J. Lu <hongjiu.lu@intel.com>
31656
31657 * string/test-strstr.c (check2): Add a test for page boundary.
31658
3baddb72
DM
316592012-10-05 David S. Miller <davem@davemloft.net>
31660
31661 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
31662 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
31663 file.
31664 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
31665 sysdep_routines.
31666 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
31667 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
31668 and bzero when HWCAP_SPARC_CRYPTO is present.
31669
9cee5585
L
316702012-10-05 H.J. Lu <hongjiu.lu@intel.com>
31671
d7e0dab9
L
31672 [BZ #14602]
31673 * string/test-strstr.c (check2): New function.
31674 (test_main): Call check2.
31675
03759f47
L
31676 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
31677 and bug-strchr1.
31678 * string/bug-strcasestr1.c (do_test): Moved to ...
31679 * string/test-strcasestr.c (check1): Here. New function.
31680 (do_one_test): Break out result checking code into ...
31681 (check_result): This. New function.
31682 (do_one_test): Call check_result.
31683 (test_main): Call check1.
31684 * string/bug-strchr1.c (do_test): Moved to ...
31685 * string/test-strchr.c (check1): Here. New function.
31686 (do_one_test): Break out result checking code into ...
31687 (check_result): This. New function.
31688 (do_one_test): Call check_result.
31689 (test_main): Call check1.
31690 * string/bug-strstr1.c (main): Moved to ...
046f153e 31691 * string/test-strstr.c (check1): Here. New function.
03759f47
L
31692 (do_one_test): Break out result checking code into ...
31693 (check_result): This. New function.
31694 (do_one_test): Call check_result.
31695 (test_main): Call check1.
31696 * string/bug-strcasestr1.c: Removed.
31697 * string/bug-strchr1.c: Likewise.
31698 * string/bug-strstr1.c: Likewise.
31699
53cea63e
L
31700 * elf/Makefile (dl-routines): Add hwcaps.
31701 * elf/dl-support.c (_dl_important_hwcaps): Removed.
31702 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
31703 (_dl_important_hwcaps): Moved to ...
31704 * elf/dl-hwcaps.c: Here. New file.
31705 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
31706
9cee5585 31707 [BZ #14557]
bb859b06
L
31708 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
31709 if IS_IN_rtld isn't defined.
31710
9cee5585
L
31711 * elf/dl-support.c (_dl_sysinfo_map): New.
31712 Include "get-dynamic-info.h" and "setup-vdso.h".
31713 (_dl_non_dynamic_init): Call setup_vdso.
31714 * elf/dynamic-link.h: Don't include <assert.h>.
31715 (elf_get_dynamic_info): Moved to ...
31716 * elf/get-dynamic-info.h: Here. New file.
31717 * elf/dynamic-link.h: Include "get-dynamic-info.h".
31718 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
31719 * elf/setup-vdso.h: Here. New file.
31720 * elf/rtld.c: Include "setup-vdso.h".
31721 (dl_main): Call setup_vdso.
31722
23c31b76
JM
317232012-10-05 Joseph Myers <joseph@codesourcery.com>
31724
28234b07
JM
31725 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
31726 creal in comment listing functions tested. List finite, isinf,
31727 isnan, isless, islessequal, isgreater, isgreaterequal,
31728 islessgreater, isunordered, lgamma_r and pow10 as functions and
31729 macros not tested. Mention which functions not tested are aliases
31730 for other functions. Fix typo. Note that signs of NaNs are not
31731 tested.
31732
23c31b76
JM
31733 * scripts/config.guess: Update from config.git.
31734 * scripts/config.sub: Likewise.
31735
9043e228
RM
317362012-10-04 Roland McGrath <roland@hack.frob.com>
31737
31738 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
31739 * misc/madvise.c (madvise): Renamed to __madvise.
31740 Make madvise a weak alias.
31741 * include/sys/mman.h: Declare __madvise.
31742 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
31743 * sysdeps/unix/syscalls.list
31744 (madvise): Make __madvise the strong name, and madvise a weak alias.
31745 * sysdeps/unix/sysv/linux/syscalls.list
31746 (madvise, mmap): Remove redundant entries.
31747 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
31748 * malloc/malloc.c (mtrim): Likewise.
31749 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
31750
f57f8055
RM
317512012-10-03 Roland McGrath <roland@hack.frob.com>
31752
31753 * sysdeps/mach/hurd/dl-cache.c: File removed.
31754 * config.h.in (USE_LDCONFIG): New #undef.
31755 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
31756 * configure: Regenerated.
31757 * elf/Makefile (dl-routines): Add dl-cache only under
31758 [$(use-ldconfig) = yes].
31759 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
31760 cache on [USE_LDCONFIG].
31761 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
31762 [USE_LDCONFIG].
31763 * elf/rtld.c (dl_main): Likewise.
31764
5bb0c10a
PT
317652012-10-03 Pino Toscano <toscano.pino@tiscali.it>
31766
31767 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
31768 _SC_LEVEL4_CACHE_LINESIZE.
31769
010188c6
RM
317702012-10-03 Roland McGrath <roland@hack.frob.com>
31771
31772 * sysdeps/unix/bsd/confstr.h: File removed.
31773
b6c5ec07
AO
317742012-10-02 Alexandre Oliva <aoliva@redhat.com>
31775
31776 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
31777 sys/sdt-config.h.
31778
408223d4
RM
317792012-10-02 Roland McGrath <roland@hack.frob.com>
31780
31781 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
31782 Make 'mapoff' field ElfW(Off) rather than off_t.
31783
bb9510dc
DL
317842012-10-02 Dmitry V. Levin <ldv@altlinux.org>
31785
fc997c6e
DL
31786 * nscd/Makefile: Remove nscd-cflags and all its users.
31787 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
31788 (CFLAGS-nonlib): Add compiler flags for nscd modules.
31789
bb9510dc
DL
31790 [BZ #10631]
31791 * malloc.c (malloc_printerr): Clarify error message.
31792
05699367
L
317932012-10-02 H.J. Lu <hongjiu.lu@intel.com>
31794
31795 [BZ #14648]
31796 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
31797 Set bit_FMA_Usable if FMA is supported.
31798 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
31799 macro.
31800 (bit_FMA4_Usable): Updated.
31801 (index_FMA_Usable): New macro.
31802 (CPUID_FMA): Likewise
31803 (HAS_FMA): Defined with bit_FMA_Usable.
31804
51367701
RM
318052012-10-01 Roland McGrath <roland@hack.frob.com>
31806
31807 * bits/types.h (__swblk_t): Type removed.
31808 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
31809 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
31810 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
31811 (__SWBLK_T_TYPE): Likewise.
31812 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
31813 (__SWBLK_T_TYPE): Likewise.
31814 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
31815 (__SWBLK_T_TYPE): Likewise.
31816 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
31817 (__SWBLK_T_TYPE): Likewise.
31818
4d57bf63 318192012-10-01 Patsy Franklin <pfrankli@redhat.com>
1e9d84cd 31820 Honza Horak <hhorak@redhat.com>
4d57bf63
JL
31821
31822 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
31823 (xdr_mapname): Use YPMAXMAP as maxsize.
31824 (xdr_peername): Use YPMAXPEER as maxsize.
31825 (xdr_keydat): Use YPAXRECORD as maxsize.
31826 (xdr_valdat): Use YPMAXRECORD as maxsize.
31827
93c65d43
RM
318282012-10-01 Roland McGrath <roland@hack.frob.com>
31829
497a03d6
RM
31830 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
31831
93c65d43
RM
31832 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
31833 * csu/init-first.c: ... here.
31834 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
31835 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
31836 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
31837 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
31838 * sysdeps/i386/init-first.c: File removed.
31839 * sysdeps/sh/init-first.c: File removed.
31840
bec749fd
JM
318412012-10-01 Joseph Myers <joseph@codesourcery.com>
31842
31843 [BZ #14645]
31844 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
31845 if x * y might underflow to zero and z is zero.
31846 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
31847 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
31848 * math/libm-test.inc (min_subnorm_value): New variable.
31849 (fma_test): Add more tests.
31850 (fma_test_towardzero): Likewise.
31851 (fma_test_downward): Likewise
31852 (fma_test_upward): Likewise.
31853 (initialize): Set min_subnorm_value.
31854
8ec5b013
JM
318552012-09-29 Joseph Myers <joseph@codesourcery.com>
31856
31857 [BZ #14638]
31858 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
31859 0 + 0.
31860 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
31861 mode for addition resulting in exact zero.
31862 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
31863 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
31864 exact 0 + 0.
31865 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
31866 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
31867 * math/libm-test.inc (fma_test): Add more tests.
31868 (fma_test_towardzero): New function.
31869 (fma_test_downward): Likewise.
31870 (fma_test_upward): Likewise.
31871 (main): Call the new functions.
31872
b1fa802e
DM
318732012-09-28 David S. Miller <davem@davemloft.net>
31874
31875 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
31876
d3b9fd9e
RM
318772012-09-28 Roland McGrath <roland@hack.frob.com>
31878
ea4d37b3
RM
31879 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
31880 instead of SIGALRM.
31881
ac51c949
RM
31882 * sysdeps/gnu/_G_config.h: Moved to ...
31883 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
31884 * sysdeps/mach/hurd/_G_config.h: Moved to ...
31885 * sysdeps/generic/_G_config.h: ... here.
31886
28c195f7
RM
31887 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
31888
848917f9
RM
31889 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
31890
6bacf05b
RM
31891 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
31892 Conditionalize target on [libnss_test1.so-version].
31893
91363dbb
RM
31894 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
31895
cc87f7d8
RM
31896 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
31897 (elfobjdir): Move out of conditionals.
31898
b1c608fe
RM
31899 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
31900 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
31901 (__nss_lookup_function): Conditionalize label remove_from_tree on
31902 [!DO_STATIC_NSS || SHARED], matching its only use.
d3b9fd9e 31903
1d9a6d96
DM
319042012-09-28 David S. Miller <davem@davemloft.net>
31905
31906 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
31907 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
31908 file.
31909 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
31910 sysdep_routines.
31911 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
31912 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
31913 when HWCAP_SPARC_CRYPTO is present.
31914
72581615
PT
319152012-09-28 Pino Toscano <toscano.pino@tiscali.it>
31916
31917 * io/tst-mknodat.c: Create a FIFO instead of a socket.
31918
715a900c
JL
319192012-09-28 Andreas Schwab <schwab@linux-m68k.org>
31920
31921 [BZ #6530]
31922 * stdio-common/vfprintf.c (process_string_arg): Revert
31923 2000-07-22 change.
31924
319252011-09-28 Jonathan Nieder <jrnieder@gmail.com>
31926
31927 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
31928 for testcase.
31929 * stdio-common/tst-sprintf.c: Include <locale.h>
31930 (main): Test sprintf's handling of incomplete multibyte
31931 characters.
31932
9bac1d86
L
319332012-09-28 H.J. Lu <hongjiu.lu@intel.com>
31934
31935 * elf/dl-runtime.c (VERSYMIDX): Removed.
31936 * elf/dl-version.c (VERSYMIDX): Likewise.
31937 * elf/do-rel.h (VERSYMIDX): Likewise.
31938 (VALIDX): Likewise.
31939 * elf/dynamic-link.h (VERSYMIDX): Likewise.
31940 * elf/rtld.c (VALIDX): Likewise.
31941 (ADDRIDX): Likewise.
9bac1d86
L
31942 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
31943 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
31944 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
9c464f9c
L
31945 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
31946 (VALIDX): Likewise.
31947 (ADDRIDX): Likewise.
9bac1d86 31948
b31606c0
PT
319492012-09-28 Pino Toscano <toscano.pino@tiscali.it>
31950
31951 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
31952
11541177
JL
319532012-09-28 Dmitry V. Levin <ldv@altlinux.org>
31954
31955 [BZ #11438]
31956 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
31957 to global scope.
31958 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
31959 addresses are in the same scope as 192.0.2/24.
31960 * posix/gai.conf: Document new scope table defaults.
31961
adb26fae
SP
319622012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
31963
31964 [BZ #5298]
31965 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
31966 for ftell. Compute offsets from write pointers instead.
31967 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
31968
4573c6b0
SP
319692012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
31970
31971 [BZ #14543]
31972 * libio/Makefile (tests): New test case tst-fseek.
31973 * libio/tst-fseek.c: New test case to verify that fseek/ftell
31974 combination works in wide mode.
31975 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
31976 state when the external buffer state changes.
31977
aa9bbfe6
DM
319782012-09-27 David S. Miller <davem@davemloft.net>
31979
31980 [BZ #14376]
31981 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
31982 pass reloc->r_addend in as the 'high' argument to
31983 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
31984
784421e7
DM
31985 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31986
c39bc8b8
PT
319872012-09-28 Pino Toscano <toscano.pino@tiscali.it>
31988
31989 * rt/tst-aio2.c: Include <pthread.h>.
31990 * rt/tst-aio3.c: Likewise.
31991
1ccc2399
SE
319922012-09-27 Steve Ellcey <sellcey@mips.com>
31993
31994 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
31995
31ed4153
L
319962012-09-27 H.J. Lu <hongjiu.lu@intel.com>
31997
25f5f885
L
31998 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
31999 contents on [SHARED].
31ed4153 32000
b7bfe116
MP
320012012-09-26 Marek Polacek <polacek@redhat.com>
32002
32003 [BZ #14530]
32004 [BZ #13741]
32005 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
32006 for C++ and GCC <4.3 as well as for non GCC compilers.
32007
43c4edba
MT
320082012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
32009
32010 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
32011
6a1bf82f
RM
320122012-09-25 Roland McGrath <roland@hack.frob.com>
32013
32014 * Makefile.in (all, install): Declare with .PHONY.
32015 Reported by Michael Hope <michael.hope@linaro.org>.
32016
8ad11b9a
TMQMF
320172012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
32018
32019 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
32020 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
32021 system header.
32022 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
32023 Likewise.
32024 (sydep_routines): Add the new and the internal functions.
32025 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
32026 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
32027 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
32028 (GLIBC_2.17): Add the new function.
32029 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
32030 (GLIBC_2.17): Likewise.
32031 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
32032 (GLIBC_2.17): Likewise.
32033 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
32034 (GLIBC_2.17): Likewise.
32035 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
32036
7e2fca8d
AM
320372012-09-25 Alan Modra <amodra@gmail.com>
32038
32039 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
32040 Add release barrier before setting once_control to say
32041 initialisation is done. Add hints on lwarx. Use macro in
32042 place of isync.
32043 (clear_once_control): Add release barrier.
32044
b87c4b24
JM
320452012-09-25 Joseph Myers <joseph@codesourcery.com>
32046
d032e0d2
JM
32047 [BZ #13629]
32048 * math/s_clog.c (__clog): Handle more values close to |z| = 1
32049 specially.
32050 * math/s_clog10.c (__clog10): Likewise.
32051 * math/s_clog10f.c (__clog10f): Likewise.
32052 * math/s_clog10l.c (__clog10l): Likewise.
32053 * math/s_clogf.c (__clogf): Likewise.
32054 * math/s_clogl.c (__clogl): Likewise.
32055 * math/Makefile (libm-calls): Add x2y2m1.
32056 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
32057 (__x2y2m1): Likewise.
32058 (__x2y2m1l): Likewise.
32059 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
32060 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
32061 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
32062 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
32063 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
32064 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
32065 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
32066 * sysdeps/i386/fpu/libm-test-ulps: Update.
32067 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32068
b87c4b24
JM
32069 [BZ #14621]
32070 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
32071 int as type of variable DEPTH.
32072 (glob): Use size_t instead of int as type of variables NEWCOUNT
32073 and OLD_PATHC.
32074
6d3bf199
LD
320752012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32076
22bf5c17
LD
32077 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
32078 Add s_sincosf-sse2.
32079 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
32080 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
32081 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
32082 macros for using routine as __sincosf_ia32.
32083 Use macro for function declaration and weak_alias.
32084 * sysdeps/i386/fpu/libm-test-ulps: Update.
32085
32086 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
32087 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
32088
32089 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
6d3bf199
LD
32090 subnormal argument.
32091 * math/s_cexpf.c (__cexpf): Likewise.
32092 * math/s_csinf.c (__csinf): Likewise.
32093 * math/s_csinhf.c (__csinhf): Likewise.
32094 * math/s_ctanf.c (__ctanf): Likewise.
32095 * math/s_ctanhf.c (__ctanhf): Likewise.
32096 * math/s_ccosh.c (__ccoshf): Likewise.
32097 * math/s_cexp.c (__cexpl): Likewise.
32098 * math/s_csin.c (__csin): Likewise.
32099 * math/s_csinh.c (__csinh): Likewise.
32100 * math/s_ctan.c (__ctan): Likewise.
32101 * math/s_ctanh.c (ctanh): Likewise.
32102 * math/s_ccoshl.c (__ccoshl): Likewise.
32103 * math/s_cexpl.c (__cexpl): Likewise.
32104 * math/s_csinl.c (__csinl): Likewise.
32105 * math/s_csinhl.c (__csinhl): Likewise.
32106 * math/s_ctanl.c (__ctanl): Likewise.
32107 * math/s_ctanhl.c (__ctanhl): Likewise.
32108
203e5603
JM
321092012-09-25 Joseph Myers <joseph@codesourcery.com>
32110
32111 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
32112 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
32113 (_IO_off_t): Define to __off_t, not _G_off_t.
32114 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
32115 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
32116 (_IO_wint_t): Define to wint_t, not _G_wint_t.
32117 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
32118 type of __dummy and __dummy2 fields.
32119 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
32120 (_G_ssize_t): Likewise.
32121 (_G_off_t): Likewise.
32122 (_G_pid_t): Likewise.
32123 (_G_uid_t): Likewise.
32124 (_G_wchar_t): Likewise.
32125 (_G_wint_t): Likewise.
32126 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
32127 (_G_ssize_t): Likewise.
32128 (_G_off_t): Likewise.
32129 (_G_pid_t): Likewise.
32130 (_G_uid_t): Likewise.
32131 (_G_wchar_t): Likewise.
32132 (_G_wint_t): Likewise.
32133 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
32134 (_G_ssize_t): Likewise.
32135 (_G_off_t): Likewise.
32136 (_G_pid_t): Likewise.
32137 (_G_uid_t): Likewise.
32138 (_G_wchar_t): Likewise.
32139 (_G_wint_t): Likewise.
32140
9fab36eb
SP
321412012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
32142
32143 * malloc/arena.c: Include malloc-sysdep.h.
32144 (shrink_heap): Use check_may_shrink_heap to decide if madvise
32145 is sufficient to shrink the heap or an unmap is needed.
32146 * sysdeps/generic/malloc-sysdep.h: New file. Define
32147 new function check_may_shrink_heap.
32148 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
32149 new function check_may_shrink_heap.
32150
2b4f00d1
SP
321512012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
32152
32153 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
32154 comments.
32155
9a9028b1
DL
321562012-09-24 Dmitry V. Levin <ldv@altlinux.org>
32157
57c69bef
DL
32158 * catgets/test-gencat.sh: Add "set -e".
32159 * elf/tst-pathopt.sh: Likewise.
32160 * grp/tst_fgetgrent.sh: Likewise.
32161 * iconvdata/run-iconv-test.sh: Likewise.
32162 * intl/tst-gettext.sh: Likewise.
32163 * intl/tst-gettext2.sh: Likewise.
32164 * intl/tst-gettext4.sh: Likewise.
32165 * intl/tst-gettext6.sh: Likewise.
32166 * intl/tst-translit.sh: Likewise.
32167 * io/ftwtest-sh: Likewise.
32168 * libio/test-freopen.sh: Likewise.
32169 * malloc/tst-mtrace.sh: Likewise.
32170 * posix/globtest.sh: Likewise.
32171 * posix/tst-getconf.sh: Likewise.
32172 * posix/wordexp-tst.sh: Likewise.
32173 * stdio-common/tst-printf.sh: Likewise.
32174 * stdio-common/tst-unbputc.sh: Likewise.
32175 * stdlib/tst-fmtmsg.sh: Likewise.
32176 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
32177 * catgets/Makefile: Do not specify -e option when running
32178 testsuite shell scripts.
32179 * elf/Makefile: Likewise.
32180 * grp/Makefile: Likewise.
32181 * iconvdata/Makefile: Likewise.
32182 * intl/Makefile: Likewise.
32183 * io/Makefile: Likewise.
32184 * libio/Makefile: Likewise.
32185 * malloc/Makefile: Likewise.
32186 * posix/Makefile: Likewise.
32187 * stdio-common/Makefile: Likewise.
32188 * stdlib/Makefile: Likewise.
32189 * sysdeps/x86_64/Makefile: Likewise.
32190
9a9028b1
DL
32191 * io/ftwtest-sh: Add copyright header.
32192 * posix/globtest.sh: Likewise.
32193 * posix/tst-getconf.sh: Likewise.
32194 * posix/wordexp-tst.sh: Likewise.
32195 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
32196
ced6f16e
L
321972012-09-24 H.J. Lu <hongjiu.lu@intel.com>
32198
94b32c39
L
32199 [BZ #13679]
32200 * Makeconfig (+link): Defined as $(+link-static) if
32201 $(build-shared) isn't yes.
32202 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
32203 isn't yes.
32204 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
32205
189e935b
L
32206 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
32207
ced6f16e
L
32208 [BZ #14562]
32209 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
32210 new chunk size with MALLOC_ALIGN_MASK.
32211
a9f8e53a
JM
322122012-09-24 Joseph Myers <joseph@codesourcery.com>
32213
32214 [BZ #5044]
32215 * stdio-common/printf_fphex.c: Include <stdbool.h> and
32216 <rounding-mode.h>.
32217 (__printf_fphex): Determine rounding using get_rounding_mode and
32218 round_away.
32219 * stdio-common/tst-printf-round.c (struct hex_test): New
32220 structure.
32221 (hex_tests): New variable.
32222 (test_hex_in_one_mode): New function.
32223 (do_test): Also run tests for hex float output.
32224
43153109
JM
322252012-09-21 Joseph Myers <joseph@codesourcery.com>
32226
32227 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
32228 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
32229 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
32230 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
32231 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
32232 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
32233 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
32234 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
32235
8a26625d
JM
322362012-09-20 Joseph Myers <joseph@codesourcery.com>
32237
32238 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
32239 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
32240 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
32241 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
32242
f3fd569c
DL
322432012-09-19 Dmitry V. Levin <ldv@altlinux.org>
32244
32245 [BZ #14579]
32246 * elf/rtld.c (dl_main): Limit the check for self loading to normal
32247 mode only.
32248 * elf/tst-rtld-load-self.sh: New test.
32249 * elf/Makefile: Run it.
32250
63bbedd4
JM
322512012-09-18 Joseph Myers <joseph@codesourcery.com>
32252
32253 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
32254 (tst-writev-ENV): Remove.
32255 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
32256
626f8b6a
CM
322572012-09-17 Chris Metcalf <cmetcalf@tilera.com>
32258
32259 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
32260
b7aaa4d6
JM
322612012-09-17 Joseph Myers <joseph@codesourcery.com>
32262
32263 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
32264 unconditional.
32265 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
32266 Likewise.
32267 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
32268 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
32269 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
32270 Likewise.
32271
65513990
L
322722012-09-14 H.J. Lu <hongjiu.lu@intel.com>
32273
32274 [BZ #14587]
32275 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
32276 * config.make.in (have-cpp-asm-debuginfo): Removed.
32277 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
32278 * configure: Regenerated.
32279
784761be
JM
322802012-09-14 Joseph Myers <joseph@codesourcery.com>
32281
32282 [BZ #5044]
32283 * stdio-common/printf_fp.c: Include <stdbool.h> and
32284 <rounding-mode.h>.
32285 (___printf_fp): Determine rounding using get_rounding_mode and
32286 round_away.
32287 * stdio-common/tst-printf-round.c: New file.
32288 * stdio-common/Makefile (tests): Add tst-printf-round.
32289 (link-libm): New variable.
32290 ($(objpfx)tst-printf-round): Depend in $(link-libm).
32291
9503345f
L
322922012-09-13 H.J. Lu <hongjiu.lu@intel.com>
32293
32294 [BZ #14576]
32295 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
32296 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
32297 Likewise.
32298 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
32299 Likewise.
32300
ad35fc00
JM
323012012-09-13 Joseph Myers <joseph@codesourcery.com>
32302
32303 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
32304 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
32305 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
32306 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
32307
6c9b0f68
JM
323082012-09-12 Joseph Myers <joseph@codesourcery.com>
32309
32310 [BZ #14518]
32311 * include/rounding-mode.h: New file.
32312 * sysdeps/generic/get-rounding-mode.h: Likewise.
32313 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
32314 * stdlib/strtod_l.c: Include <rounding-mode.h>.
32315 (MAX_VALUE): New macro.
32316 (MIN_VALUE): Likewise.
32317 (overflow_value): New function.
32318 (underflow_value): Likewise.
32319 (round_and_return): Use overflow_value and underflow_value to
32320 determine return values in overflow and underflow cases. Use
32321 round_away to determine rounding depending on rounding mode.
32322 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
32323 determine return values in overflow and underflow cases.
32324 * stdlib/tst-strtod-round.c: Include <fenv.h>.
32325 (struct test_results): New structure.
32326 (struct test): Use struct test_results to store expected results
32327 for all rounding modes.
32328 (TEST): Include expected results for all rounding modes.
32329 (test_in_one_mode): New function.
32330 (do_test): Use test_in_one_mode to compute and check results.
32331 Check results for all rounding modes.
32332 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
32333 $(link-libm).
32334
19fcedd5
AM
323352012-12-09 Allan McRae <allan@archlinux.org>
32336
1e9d84cd 32337 * sysdeps/i386/fpu/libm-test-ulps: Update
19fcedd5 32338
8bbfd2f1
JM
323392012-09-11 Joseph Myers <joseph@codesourcery.com>
32340
32341 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
32342 (_G_int32_t): Likewise.
32343 (_G_uint16_t): Likewise.
32344 (_G_uint32_t): Likewise.
32345 (_G_HAVE_BOOL): Likewise.
32346 (_G_HAVE_ATEXIT): Likewise.
32347 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
32348 (_G_HAVE_IO_FILE_OPEN): Likewise.
32349 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
32350 (_G_int32_t): Likewise.
32351 (_G_uint16_t): Likewise.
32352 (_G_uint32_t): Likewise.
32353 (_G_HAVE_BOOL): Likewise.
32354 (_G_HAVE_ATEXIT): Likewise.
32355 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
32356 (_G_HAVE_IO_FILE_OPEN): Likewise.
32357 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
32358 (_G_int32_t): Likewise.
32359 (_G_uint16_t): Likewise.
32360 (_G_uint32_t): Likewise.
32361 (_G_HAVE_BOOL): Likewise.
32362 (_G_HAVE_ATEXIT): Likewise.
32363 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
32364 (_G_HAVE_IO_FILE_OPEN): Likewise.
32365
b1dc5912
L
323662012-09-11 H.J. Lu <hongjiu.lu@intel.com>
32367
32368 * csu/libc-tls.c: Update copyright years.
32369
0e886ef9
JM
323702012-09-10 Joseph Myers <joseph@codesourcery.com>
32371
28361c5e
JM
32372 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
32373 [!_G_USING_THUNKS]: Remove conditional code.
32374 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
32375 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
32376
0e886ef9
JM
32377 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
32378 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
32379 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
32380 (_G_VTABLE_LABEL_PREFIX): Likewise.
32381 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
32382 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
32383 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
32384 (_G_VTABLE_LABEL_PREFIX): Likewise.
32385 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
32386 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
32387 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
32388 (_G_VTABLE_LABEL_PREFIX): Likewise.
32389 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
32390
bcba7aa2
L
323912012-09-10 H.J. Lu <hongjiu.lu@intel.com>
32392
32393 * libio/Makefile: Include ../Makeconfig before tests.
32394 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
32395 only if $(build-shared) is yes.
32396
06585ee8
L
32397 * iconv/gconv_db.c: Update copyright years.
32398
80ccd52c
LD
323992012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32400
32401 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
32402 unwind info if defined PIC. Fix special cases description.
32403 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
32404
32405 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
32406 DP_HI_MASK entry.
32407 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
32408
691bc9c1
L
324092012-09-07 H.J. Lu <hongjiu.lu@intel.com>
32410
3d9b46b3
L
32411 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
32412
de2139a9
L
32413 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
32414 is NULL.
32415
5ca78dd0
L
32416 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
32417 (LDLIBS-tst-chk4): This.
32418 (LDFLAGS-tst-chk5): Renamed to ...
32419 (LDLIBS-tst-chk5): This.
32420 (LDFLAGS-tst-chk6): Renamed to ...
32421 (LDLIBS-tst-chk6): This.
32422 (LDFLAGS-tst-lfschk4): Renamed to ...
32423 (LDLIBS-tst-lfschk4): This.
32424 (LDFLAGS-tst-lfschk5): Renamed to ...
32425 (LDLIBS-tst-lfschk5): This.
32426 (LDFLAGS-tst-lfschk6): Renamed to ...
32427 (LDLIBS-tst-lfschk6): This.
32428
691bc9c1
L
32429 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
32430 on $(common-objpfx)soversions.mk.
32431
65cafb1c
JM
324322012-09-07 Joseph Myers <joseph@codesourcery.com>
32433
32434 [BZ #10014]
32435 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
32436 example host name.
32437
c78ab094
SP
324382012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
32439
32440 * malloc/arena.c (arena_get_retry): New function that gets
32441 another arena for the caller to try its request on.
32442 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
32443 current arena cannot fulfill the request.
32444 (__libc_memalign): Likewise.
32445 (__libc_memalign): Likewise.
32446 (__libc_pvalloc): Likewise.
32447 (__libc_calloc): Likewise.
32448
01f49f59
JT
324492012-09-05 John Tobey <john.tobey@gmail.com>
32450
32451 [BZ #13542]
32452 * manual/arith.texi (Operations on Complex): Fix description
32453 of carg branch cut.
32454
4c23fed5
JM
324552012-09-06 Joseph Myers <joseph@codesourcery.com>
32456
1d3c8572
JM
32457 [BZ #10014]
32458 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
32459 host name.
32460
4c23fed5
JM
32461 [BZ #10038]
32462 * manual/memory.texi (Memory): Make order of menu items match
32463 order of sections.
32464
04570aaa
L
324652012-09-06 H.J. Lu <hongjiu.lu@intel.com>
32466
32467 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
32468 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
32469 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
32470
b80af2f4
L
324712012-09-06 H.J. Lu <hongjiu.lu@intel.com>
32472
32473 * csu/libc-tls.c (static_dtv): Renamed to ...
32474 (_dl_static_dtv): This. Make it global.
32475 (_dl_initial_dtv): Removed.
32476 (__libc_setup_tls): Updated.
32477 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
32478 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
32479 DL_INITIAL_DTV.
32480
2abe9f15
PM
324812012-09-06 Petr Machata <pmachata@redhat.com>
32482
32483 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
32484 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
32485 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
32486 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
32487
0948c3af
L
324882012-09-06 H.J. Lu <hongjiu.lu@intel.com>
32489
32490 [BZ #14545]
32491 * csu/libc-tls.c (_dl_initial_dtv): New variable.
32492 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
32493 freeing dtv[-1].
32494
a5055ad1
L
324952012-09-06 H.J. Lu <hongjiu.lu@intel.com>
32496
32497 [BZ #14544]
32498 * Makeconfig (link-static-before-libc): Replace $(+prector)
32499 with $(+prectorT).
32500 (link-static-after-libc): Replace $(+postctor) with
32501 $(+postctorT).
32502 (link-bounded): Replace $(+prector)/$(+postctor) with
32503 $(+prectorT)/$(+postctorT).
32504 (+prectorT): New macro.
32505 (+postctorT): Likewise.
32506
ed8c2ecd
JM
325072012-09-06 Joseph Myers <joseph@codesourcery.com>
32508
32509 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
32510 (round_str): Handle values above the maximum for IBM long double
32511 as inexact.
32512 * stdlib/tst-strtod-round.c (tests): Regenerated.
32513
14c996c8
AK
325142012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
32515
32516 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
32517 assembler flag.
32518 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
32519 zarch_nohighgprs around the zarch optimized routines.
32520 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
32521 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
32522 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
32523 for zarch.
32524
430d6ce6
DM
325252012-09-05 David S. Miller <davem@davemloft.net>
32526
32527 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32528
57f41c40
AS
32529 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
32530 (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
ff04dda4
DM
32531 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
32532 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
32533 entries.
32534
24d4e01b
AO
325352012-09-05 Alexandre Oliva <aoliva@redhat.com>
32536
32537 * malloc/arena.c: Fold copyright years.
32538 * malloc/mcheck.c, malloc/memusage.c: Likewise.
32539
61d58174
AO
325402012-09-05 Alexandre Oliva <aoliva@redhat.com>
32541
32542 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
32543
20196a5e
AO
325442012-09-05 Alexandre Oliva <aoliva@redhat.com>
32545
32546 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
32547
5c447383
AO
325482012-09-05 Alexandre Oliva <aoliva@redhat.com>
32549
32550 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
32551 change internal state upon failure.
32552
fad64255
AO
325532012-09-05 Alexandre Oliva <aoliva@redhat.com>
32554
32555 * malloc/mcheck.c (mcheck_check_all): Fix typo.
32556 * malloc/memusage.c (mmap): Likewise.
32557 (mmap64, mremap): Likewise. Adjust name in comment.
32558
1ffb8c90
SP
325592012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
32560
32561 * libio/fileops.c: Fix typos in comments.
32562 * libio/oldfileops.c: Likewise.
32563 * libio/wfileops.c: Likewise.
32564
6ef9cc37
SP
325652012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
32566
32567 [BZ #1349]
32568 * malloc/Makefile (tests): Add tst-malloc-usable test case.
32569 (tst-malloc-usable-ENV): Set environment for test case.
32570 * malloc/hooks.c (malloc_check_get_size): New function to get
32571 requested size.
32572 * malloc/malloc.c (musable): Use malloc_check_get_size.
32573 * malloc/tst-malloc-usable.c: New test case.
32574
4d038ae3
AS
325752012-09-05 Andreas Schwab <schwab@linux-m68k.org>
32576
32577 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
32578
c4e85184
AM
325792012-09-05 Allan McRae <allan@archlinux.org>
32580
b9dafc56 32581 [BZ #13966]
c4e85184
AM
32582 * configure.in (CXX_SYSINCLUDES): Use compiler output to
32583 determine header location.
32584 * configure: Regenerated.
32585
e1343020
AS
325862012-09-05 Andreas Schwab <schwab@linux-m68k.org>
32587
32588 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
32589 float format.
32590 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
a0070b7e
AS
32591 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
32592 format.
e1343020
AS
32593 (test): Regenerate.
32594
0a9f1987
DM
325952012-09-04 David S. Miller <davem@davemloft.net>
32596
32597 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
32598 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
32599 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
32600
29237804
FW
326012012-09-04 Florian Weimer <fweimer@redhat.com>
32602
32603 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
32604 failures.
32605
edb3cb88
FW
32606 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
32607
60160d83
JM
326082012-09-04 Joseph Myers <joseph@codesourcery.com>
32609
32610 [BZ #9914]
32611 * libio/iogetdelim.c: Include <limits.h>.
32612 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
32613 + len + 1 would overflow.
32614
bcd6c8dc
AJ
326152012-09-03 Andreas Jaeger <aj@suse.de>
32616
32617 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
32618 * sysdeps/i386/fpu/libm-test-ulps: Update.
32619
4ffffbd2
LD
326202012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32621
32622 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
32623 Add s_sinf-sse2, s_conf-sse2.
32624
32625 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
32626 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
32627 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
32628 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
32629
32630 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
32631 for using routine as __sinf_ia32.
32632 Use macro for function declaration and weak_alias.
32633 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
32634 for using routine as __cosf_ia32.
32635 Use macro for function declaration and weak_alias.
32636
32637 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
32638 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
32639
32640 * sysdeps/x86_64/fpu/s_sinf.S: New file.
32641 * sysdeps/x86_64/fpu/s_cosf.S: New file.
32642 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
32643
32644 * math/libm-test.inc (cos_test): Add more test cases.
32645 (sin_test): Likewise.
32646 (sincos_test): Likewise.
32647
511fa286
AK
326482012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
32649
32650 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
32651 (IFUNC_RESOLVE): Make pointers to the specialized implementations
32652 hidden.
32653 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
32654
5f30cfec
L
326552012-09-02 H.J. Lu <hongjiu.lu@intel.com>
32656
32657 [BZ #14538]
32658 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
32659 first element of the GOT.
32660 (elf_machine_load_address): Return the difference between
32661 the runtime address of _DYNAMIC and elf_machine_dynamic ().
32662
0786794f
AM
326632012-09-01 Allan McRae <allan@archlinux.org>
32664
5f30cfec
L
32665 [BZ #13412]
32666 * configure.in (AWK): Require gawk version 3.0 or later.
32667 * configure: Regenerated.
0786794f 32668
26889eac
JM
326692012-09-01 Joseph Myers <joseph@codesourcery.com>
32670
32671 * sysdeps/unix/sysv/linux/kernel-features.h
32672 (__ASSUME_POSIX_CPU_TIMERS): Remove.
32673 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
32674 [__NR_clock_getres]: Make code unconditional.
32675 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
32676 (clock_getcpuclockid): Remove code left unreachable by removal of
32677 conditionals.
32678 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
32679 code unconditional.
32680 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
32681 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
32682 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
32683 Make code unconditional.
32684 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
32685 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
32686 * sysdeps/unix/sysv/linux/clock_settime.c
32687 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
32688 conditional code.
32689 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
32690 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
32691
d22e28b0
L
326922012-08-29 H.J. Lu <hongjiu.lu@intel.com>
32693
32694 [BZ #14476]
32695 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
32696 scripts/test-installation.pl.
32697
32698 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
32699 and $ld_so_version if it is set.
32700
050af9c4
SP
327012012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
32702
32703 [BZ #14516]
32704 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
32705 failure if reading from procfs failed.
32706 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
32707
ad845c0b
JM
327082012-08-27 Joseph Myers <joseph@codesourcery.com>
32709
32710 * sysdeps/unix/sysv/linux/kernel-features.h
32711 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
32712 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
32713 Remove conditional code.
32714 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
32715 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
32716 Remove conditional code.
32717 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
32718 * sysdeps/unix/sysv/linux/i386/fxstat.c
32719 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
32720 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
32721 * sysdeps/unix/sysv/linux/i386/fxstatat.c
32722 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
32723 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
32724 * sysdeps/unix/sysv/linux/i386/lxstat.c
32725 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
32726 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
32727 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
32728 Remove conditional code.
32729 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
32730 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
32731 Remove conditional code.
32732 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
32733 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
32734 <kernel-features.h>.
32735 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
32736 Remove.
32737 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
32738 Remove conditional code.
32739 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
32740 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
32741 Remove conditional.
32742
5dbf56af
MF
327432012-08-27 Mike Frysinger <vapier@gentoo.org>
32744
32745 [BZ #5400]
32746 * NEWS: Add fixed bug number.
32747
d6e70f43
JM
327482012-08-27 Joseph Myers <joseph@codesourcery.com>
32749
7efb4737
JM
32750 [BZ #14519]
32751 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
32752 underflowing exponent in case of negative sign.
32753 * stdlib/tst-strtod-round-data: Add more tests.
32754 * stdlib/tst-strtod-round.c (tests): Regenerated.
32755
af92131a
JM
32756 [BZ #3479]
32757 * stdlib/strtod_l.c (NDIG): Remove.
32758 (HEXNDIG): Likewise.
32759 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
32760 smallest representable value.
32761 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
32762 lie within an exact representation of 1/2 ulp of the result.
32763 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
32764 unconditionally.
32765 (TENS_P9_IDX): Define unconditionally.
32766 (TENS_P9_SIZE): Likewise.
32767 (TENS_P10_IDX): Likewise.
32768 (TENS_P10_SIZE): Likewise.
32769 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
32770 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
32771 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
32772 entries for 10^2^13 and 10^2^14.
32773 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
32774 (TENS_P13_IDX): Define.
32775 (TENS_P13_SIZE): Likewise.
32776 (TENS_P14_IDX): Likewise.
32777 (TENS_P14_SIZE): Likewise.
32778 (_fpioconst_pow10): Change array size to
32779 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
32780 unconditional.
32781 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
32782 1024]: Add entries for 10^2^13 and 10^2^14.
32783 [LAST_POW10 > _LAST_POW10]: Remove #error.
32784 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
32785 (_fpioconst_pow10): Change array size to
32786 FPIOCONST_POW10_ARRAY_SIZE.
32787 * stdlib/gen-fpioconst.c: New file.
32788 * stdlib/gen-tst-strtod-round.c: Likewise.
32789 * stdlib/tst-strtod-round-data: Likewise.
32790 * stdlib/tst-strtod-round.c: Likewise.
32791 * stdlib/Makefile (tests): Add tst-strtod-round.
32792
d6e70f43
JM
32793 [BZ #14459]
32794 * stdlib/strtod_l.c: Include <stdint.h>.
32795 (NDEBUG): Do not define.
32796 (round_and_return): Change EXPONENT parameter to type intmax_t.
32797 Rearrange calculations to avoid internal overflow possibilities.
32798 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
32799 Rearrange calculations to avoid internal overflow possibilities.
32800 Assert that number fits inside MPNSIZE limbs.
32801 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
32802 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
32803 calculations and add assertions to avoid internal overflow
32804 possibilities. Add casts to avoid signed/unsigned operations.
32805 * stdlib/tst-strtod-overflow.c: New file.
32806 * stdlib/Makefile (tests): Add tst-strtod-overflow.
32807
1f529f7d
MP
328082012-08-25 Marek Polacek <polacek@redhat.com>
32809
32810 * time/time.h: Fix some typos in comments.
32811
59a629f1
RM
328122012-08-23 Roland McGrath <roland@hack.frob.com>
32813
32814 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
32815 * posix/tst-rfc3484-2.c: Likewise.
32816 * posix/tst-rfc3484-3.c: Likewise.
32817
d3bafbc9
SM
328182012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
32819
32820 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
32821 (EF_ARM_ABI_FLOAT_HARD): Likewise.
32822
4efcc022
JM
328232012-08-23 Joseph Myers <joseph@codesourcery.com>
32824
32825 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
32826 #include of fxstatat64.c.
32827
3cc3ef96
RM
328282012-08-22 Roland McGrath <roland@hack.frob.com>
32829
f04e2132
RM
32830 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
32831 * shadow/getspent_r.c: Likewise.
32832 * shadow/getspnam.c: Likewise.
32833 * shadow/getspnam_r.c: Likewise.
32834 * gshadow/getsgent.c: Likewise.
32835 * gshadow/getsgent_r.c: Likewise.
32836 * gshadow/getsgnam.c: Likewise.
32837 * gshadow/getsgnam_r.c: Likewise.
32838 * inet/getnetbyad.c: Likewise.
32839 * inet/getnetbyad_r.c: Likewise.
32840 * inet/getnetbynm.c: Likewise.
32841 * inet/getnetbynm_r.c: Likewise.
32842 * inet/getnetent.c: Likewise.
32843 * inet/getnetent_r.c: Likewise.
32844 * inet/getproto.c: Likewise.
32845 * inet/getproto_r.c: Likewise.
32846 * inet/getprtent.c: Likewise.
32847 * inet/getprtent_r.c: Likewise.
32848 * inet/getprtname.c: Likewise.
32849 * inet/getprtname_r.c: Likewise.
32850 * inet/getrpcbyname.c: Likewise.
32851 * inet/getrpcbyname_r.c: Likewise.
32852 * inet/getrpcbynumber.c: Likewise.
32853 * inet/getrpcbynumber_r.c: Likewise.
32854 * inet/getrpcent.c: Likewise.
32855 * inet/getrpcent_r.c: Likewise.
32856 * inet/getaliasent.c: Likewise.
32857 * inet/getaliasent_r.c: Likewise.
32858 * inet/getaliasname.c: Likewise.
32859 * inet/getaliasname_r.c: Likewise.
32860 * nscd/getgrgid_r.c: Likewise.
32861 * nscd/getgrnam_r.c: Likewise.
32862 * nscd/gethstbyad_r.c: Likewise.
32863 * nscd/gethstbynm3_r.c: Likewise.
32864 * nscd/getpwnam_r.c: Likewise.
32865 * nscd/getpwuid_r.c: Likewise.
32866 * nscd/getsrvbynm_r.c: Likewise.
32867 * nscd/getsrvbypt_r.c: Likewise.
32868 * nscd/gai.c: Likewise.
32869
c53d909c
RM
32870 * configure.in (build_nscd): New substituted variable, set
32871 by --disable-build-nscd and defaults to $use_nscd.
32872 * configure: Regenerated.
32873 * config.make.in (build-nscd): New substituted variable.
32874 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
32875 Change conditional to require [$(build-nscd) = yes] as well.
32876 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
32877
3cc3ef96
RM
32878 [BZ# 13696]
32879 * configure.in (use_nscd): New substituted variable, set by
32880 --disable-nscd. If enabled, define USE_NSCD.
32881 * configure: Regenerated.
32882 * config.h.in: Add USE_NSCD.
32883 * config.make.in (use-nscd): New substituted variable.
32884 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
32885 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
32886 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
32887 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
32888 (CFLAGS-getgrnam_r.c): Likewise.
32889 (CFLAGS-initgroups.c): Likewise.
32890 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
32891 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
32892 Variables removed.
32893 * inet/getnetgrent_r.c
32894 (nscd_setnetgrent): New function, broken out of ...
32895 (setnetgrent): ... here. Call it.
32896 (innetgr): Conditionalize nscd bits on [USE_NSCD].
32897 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
32898 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
32899 * nscd/Makefile (routines, aux): Move definitions after include of
32900 Makeconfig. Conditionalize on [$(use-nscd) != no].
32901 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
32902 Conditionalize on [USE_NSCD].
32903 (is_nscd, nscd_init_cb): Likewise.
32904 (nss_load_library): Conditionalize init callback on [USE_NSCD].
32905 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
32906 * nss/nss_db/db-init.c: Likewise.
32907 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
32908 [USE_NSCD].
32909 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
32910 (make_request): Use it.
32911 (cache_valid_p): New function.
32912 (__check_pf): Use it.
32913 * NEWS: Add item for --disable-nscd.
32914
07e51550
DL
329152012-08-22 Dmitry V. Levin <ldv@altlinux.org>
32916
32917 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
32918 to support sed >= 4.2.1-20-ga9bf076.
32919 * configure: Regenerated.
32920
35a5b08b
RM
329212012-08-22 Roland McGrath <roland@hack.frob.com>
32922
32923 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
32924 Conditionalize whole body on [IREL].
32925
8479f23a
JL
329262012-08-22 Jeff Law <law@redhat.com>
32927
32928 [BZ #14505]
32929 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
32930 if the family is PF_UNSPEC.
32931
48da0b21
MF
329322012-08-22 Mike Frysinger <vapier@gentoo.org>
32933
32934 * Makerules (lib-version): Rename from V.
32935 (install-lib-nosubdir): Change V to lib-version.
32936
15d0da8c
WS
329372012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
32938
32939 [BZ #14252]
32940 * powerpc32/power6/wcschr.c: New file.
32941 * powerpc32/power6/wcscpy.c: New file.
32942 * powerpc32/power6/wcsrchr.c: New file.
32943 * powerpc64/power6/wcschr.c: New file.
32944 * powerpc64/power6/wcscpy.c: New file.
32945 * powerpc64/power6/wcsrchr.c: New file.
32946
bcca0895
MK
329472012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
32948
32949 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
32950 (two_way_short_needle): Use it.
5a4aaa33
RM
32951 * string/strstr.c (AVAILABLE1_USES_J): Define.
32952 * string/strcasestr.c: Likewise.
99677e57
MK
32953
32954 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
32955 array references.
32956 * string/strcasestr.c (TOLOWER): Make side-effect safe.
32957
400726de
MK
32958 [BZ #11607]
32959 * NEWS: Add an entry.
32960 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
32961 define their defaults.
32962 (two_way_short_needle): Detect end-of-string on-the-fly.
32963 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
32964 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
32965 * string/bug-strcasestr1.c: New test.
32966 * string/Makefile: Run it.
32967
20a71f2c
MK
329682012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
32969
32970 [BZ #11607]
32971 * string/str-two-way.h (two_way_short_needle): Optimize matching of
32972 the first character.
32973
21ad0558
RM
329742012-08-21 Roland McGrath <roland@hack.frob.com>
32975
32976 * csu/elf-init.c (__libc_csu_irel): Function removed.
32977 * csu/libc-start.c (apply_irel): New function.
32978 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
32979
0e1d9911
JM
329802012-08-21 Joseph Myers <joseph@codesourcery.com>
32981
32982 * sysdeps/unix/sysv/linux/kernel-features.h
32983 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
32984 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
32985 <kernel-features.h>.
32986 [__NR_fadvise64_64]: Make code unconditional.
32987 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
32988 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
32989 !__NR_fadvise64_64)]: Likewise.
32990 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
32991 !__NR_fadvise64_64))]: Likewise.
32992 [__NR_fadvise64]: Make code unconditional.
32993 [!__NR_fadvise64]: Remove conditional code.
32994 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
32995 <kernel-features.h>.
32996 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
32997 unconditional.
32998 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
32999 conditional code.
33000 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
33001 not include <kernel-features.h>.
33002 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
33003 unconditional.
33004 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
33005 conditional code.
33006 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
33007 include <kernel-features.h>.
33008 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
33009 unconditional.
33010 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
33011 conditional code.
33012
14a50c9d
WS
330132012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
33014
33015 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
33016 slight instruction rearrangements per scrollpipe analysis.
33017 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
33018
c0f4faf0
RM
330192012-08-20 Roland McGrath <roland@hack.frob.com>
33020
696da859
RM
33021 * manual/syslog.texi (syslog; vsyslog, closelog):
33022 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
33023 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
33024
c0f4faf0
RM
33025 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
33026 DSOCAPS to match condition on defining it.
33027
348363b2
JM
330282012-08-20 Joseph Myers <joseph@codesourcery.com>
33029
a35cbf28
JM
33030 * sysdeps/unix/sysv/linux/kernel-features.h
33031 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
33032 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
33033 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
33034 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
33035 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
33036 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
33037 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
33038 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
33039 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
33040 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
33041
445f7ecd
JM
33042 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
33043 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
33044
348363b2
JM
33045 * sysdeps/unix/sysv/linux/kernel-features.h
33046 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
33047 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
33048 unconditional.
33049 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
33050 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
33051 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
33052 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
33053 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
33054 Make code unconditional.
33055 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
33056 (__mmap64) [!__NR_mmap2]: Likewise.
33057 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
33058 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
33059 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
33060 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
33061 [__NR_mmap2]: Make code unconditional.
33062 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
33063 (__mmap64) [!__NR_mmap2]: Likewise.
33064
bc5bc0e5
AK
330652012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
33066
33067 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
33068
88d506de
AJ
330692012-08-18 Andreas Jaeger <aj@suse.de>
33070
33071 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
33072
493387d2
MF
330732012-08-18 Mike Frysinger <vapier@gentoo.org>
33074
33075 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
33076 * include/unistd.h (__have_sock_cloexec): Likewise.
33077 (__have_pipe2): Likewise.
33078 (__have_dup3): Likewise.
33079
a277af22
MF
330802012-08-18 Mike Frysinger <vapier@gentoo.org>
33081
33082 [BZ #9685]
33083 * include/unistd.h (__have_pipe2): Change define into an extern int.
33084 (__have_dup3): Likewise.
33085 * socket/have_sock_cloexec.c: Include fcntl.h.
33086 (__have_pipe2): New variable.
33087 (__have_dup3): Likewise.
33088
fdab8fd3
MF
330892012-08-17 Mike Frysinger <vapier@gentoo.org>
33090
33091 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
33092
31035e80
MP
330932012-08-17 Marek Polacek <polacek@redhat.com>
33094
33095 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
33096 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
33097
3bd9e993
RM
330982012-08-17 Roland McGrath <roland@hack.frob.com>
33099
c91c505f
RM
33100 * configure.in: Add AC_SUBST for sysheaders.
33101 * configure: Regenerated.
33102 * config.make.in (sysheaders): New substituted variable.
33103
7c6f9d53
RM
33104 * sysdeps/unix/mkfifo.c: Moved ...
33105 * sysdeps/posix/mkfifo.c: ... here.
33106 * sysdeps/unix/mkfifoat.c: Moved ...
33107 * sysdeps/posix/mkfifoat.c: ... here.
33108
33109 * sysdeps/unix/utime.c: Moved ...
33110 * sysdeps/posix/utime.c: ... here.
33111
33112 * sysdeps/unix/time.c: Moved ...
33113 * sysdeps/posix/time.c: ... here.
e3b398f9
RM
33114 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
33115 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7c6f9d53
RM
33116
33117 * sysdeps/unix/nice.c: Moved ...
33118 * sysdeps/posix/nice.c: ... here.
33119
33120 * sysdeps/unix/alarm.c: Moved ...
33121 * sysdeps/posix/alarm.c: ... here.
33122
3bd9e993
RM
33123 * intl/Makefile ($(codeset_mo)): Depend on the input file.
33124
d1f09384
JL
331252012-08-17 Jeff Law <law@redhat.com>
33126
33127 * intl/Makefile (codeset_mo): New variable.
33128 ($(codeset_mo)): New target.
33129 (tst-codeset.out): Depend on that. Remove explicit rule.
33130 (tst-gettext3.out, tst-gettext5.out): Likewise.
33131 (LOCPATH-ENV, tst-codeset-ENV): New variables.
33132 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
33133 * intl/tst-codeset.sh: Remove.
33134 * intl/tst-gettext3.sh: Likewise.
33135 * intl/tst-gettext5.sh: Likewise.
33136
2ae1ae5c
RM
331372012-08-17 Roland McGrath <roland@hack.frob.com>
33138
c31fdb83
RM
33139 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
33140 * sysdeps/unix/syscalls.list: ... here.
33141
a0844057
RM
33142 * sysdeps/posix/getaddrinfo.c
33143 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
33144 (gaiconf_init, gaiconf_reload): Use them.
33145 [!_STATBUF_ST_NSEC]
33146 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
33147 Define using time_t rather than struct timespec.
33148
750c1f2a
RM
33149 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
33150 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
33151 Macros removed.
33152 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
33153 [!NO_THREADS].
33154 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
33155 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
33156 Likewise.
33157
2ae1ae5c
RM
33158 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
33159 __libc_cleanup_push argument.
33160
e66a42f5
RM
33161 * bits/param.h: New file.
33162 * misc/sys/param.h: New file.
33163 * include/sys/param.h: New file.
33164 * misc/Makefile (headers): Add bits/param.h.
33165 * sysdeps/generic/sys/param.h: File removed.
33166 * sysdeps/unix/sysv/linux/bits/param.h: New file.
33167 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
33168 * sysdeps/mach/hurd/bits/param.h: New file.
4078da3d 33169 * sysdeps/mach/hurd/sys/param.h: File removed.
e66a42f5 33170
b7c08a66
RM
33171 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
33172 last change.
33173
b2e1c562
RM
33174 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
33175 [_IO_MTSAFE_IO].
33176 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
33177 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
33178 New macros.
33179
c75ccd4c
RM
33180 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
33181 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
33182 rather than -D_IO_MTSAFE_IO conditionally.
33183 * stdio-common/Makefile (CPPFLAGS): Likewise.
33184 * wcsmbs/Makefile (CPPFLAGS): Likewise.
33185 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
33186 Use $(libio-mtsafe).
33187 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
33188 of -D_IO_MTSAFE_IO.
33189 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
33190 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
33191 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
33192 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
33193 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
33194 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
33195 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
33196 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
33197 (CFLAGS-fread_u_chk.c): Likewise.
33198 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
33199 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
33200 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
33201 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
33202 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
33203 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
33204 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
33205 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
33206 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
33207
33208 * libio/Makefile: Test [$(libc-reentrant) = yes]
33209 instead of [$(filter %REENTRANT, $(defines)) nonempty].
33210
33211 * Makeconfig
33212 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
33213 * sysdeps/pthread/configure: File removed.
33214 * sysdeps/pthread/Makeconfig: New file.
33215 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
33216 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
33217
d9195db8
GB
332182012-08-16 Gary Benson <gbenson@redhat.com>
33219
33220 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
33221 unmapping the first object in a namespace.
33222
86466cd9
RM
332232012-08-16 Roland McGrath <roland@hack.frob.com>
33224
33225 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
33226 (__internal_setnetgrent): ... this. Add internal_function to
33227 definition. Add libc_hidden_def.
33228 (setnetgrent): Update caller.
33229 (internal_endnetgrent): Renamed to ...
33230 (__internal_endnetgrent): ... this. Add internal_function to
33231 definition. Add libc_hidden_def.
33232 (endnetgrent): Update caller.
33233 (internal_getnetgrent_r): Renamed to ...
33234 (__internal_getnetgrent_r): ... this. Add internal_function to
33235 definition. Add libc_hidden_def.
33236 (__getnetgrent_r): Update caller.
33237 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
33238
c3c8283c
JM
332392012-08-16 Joseph Myers <joseph@codesourcery.com>
33240
33241 * stdlib/longlong.h: Update from GCC.
33242
db1ee0a8
RM
332432012-08-16 Roland McGrath <roland@hack.frob.com>
33244
33245 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
33246 on _QL, which is set by umul_ppmm but never used.
33247 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
33248 variables, which are set by GMP macros but never used.
33249 * stdio-common/_itowa.c (_itowa): Likewise.
33250 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
33251 * stdlib/mod_1.c (mpn_mod_1): Likewise.
33252
30f69637
CD
332532012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
33254
33255 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
33256 struct La_sh_regs is not constant.
33257 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
33258 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
33259 and struct La_sparc64_regs are not constant.
33260
93a78ac4
JM
332612012-08-16 Joseph Myers <joseph@codesourcery.com>
33262
33263 * sysdeps/unix/sysv/linux/kernel-features.h
33264 (__ASSUME_POSIX_TIMERS): Remove.
33265 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
33266 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
33267 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
33268 Make code unconditional.
33269 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
33270 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
33271 Make code unconditional.
33272 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
33273 * sysdeps/unix/sysv/linux/clock_nanosleep.c
33274 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
33275 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
33276 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
33277 Make code unconditional.
33278 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
33279 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
33280 (__libc_missing_posix_timers): Remove.
33281
dd924cd7
RM
332822012-08-15 Roland McGrath <roland@hack.frob.com>
33283
4b4f2771
RM
33284 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
33285 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
33286
601c888b
RM
33287 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
33288
176790a7
RM
33289 * elf/dl-sym.c: Include <stdlib.h>.
33290
329bc018
RM
33291 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
33292 constants, which avoids warnings in 32-bit builds.
33293
e04e272d
RM
33294 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
33295 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
33296
952bf94a
RM
33297 * misc/lseek.c: File moved to ...
33298 * io/lseek.c: ... here.
33299
7c99b50a
RM
33300 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
33301
dd924cd7
RM
33302 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
33303 shifting LEN more than 31 bits at once.
33304
b3f479a8
LD
333052012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
33306
33307 [BZ #14195]
8c4ae0d4
RM
33308 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
33309 segmentation fault for a case of two empty input strings.
b3f479a8
LD
33310 * string/test-strncasecmp.c (check1): Renamed to...
33311 (bz12205): ...this.
33312 (bz14195): Add new testcase for two empty input strings and N > 0.
33313 (test_main): Call new testcase, adapt for renamed function.
33314
9c55864e
AJ
333152012-08-15 Andreas Jaeger <aj@suse.de>
33316
33317 [BZ #14090]
33318 * crypt/md5test2.c: New test, based on test supplied by Serge
33319 Belyshev <belyshev@depni.sinp.msu.ru>.
33320 * crypt/Makefile (xtests): Add md5test-giant..
33321 * crypt/Makefile ($(objpfx)md5test-giant): Add.
33322
02dcb6c5
PE
333232012-08-15 Paul Eggert <eggert@cs.ucla.edu>
33324
33325 [BZ #14090]
33326 * crypt/md5.c (md5_process_block): Don't assume the buffer
33327 length is less than 2**32.
33328 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
33329 length is less than 2**64.
33330
a3f95dcc
RM
333312012-08-15 Roland McGrath <roland@hack.frob.com>
33332
be75d758
RM
33333 * string/str-two-way.h: Include <sys/param.h>.
33334 (MAX): Macro removed.
33335
7312ca90
RM
33336 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
33337 Move #define and #undef of memmove to just before and after
33338 including <string.h>.
33339
9a0a5486
RM
33340 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
33341 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
33342 and after including <string.h>. Move declarations of
33343 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
33344 to before #include "string/memmove.c".
33345
67cc348d
RM
33346 * include/dirent.h: Declare __getdirentries.
33347
a3f95dcc
RM
33348 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
33349 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
33350
ca98e171
MF
333512012-08-14 Mike Frysinger <vapier@gentoo.org>
33352
33353 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
33354 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
33355 * sysdeps/i386/configure: Regenerated.
33356 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
33357 STABS_CURRENT_FILE, and STABS_FUN.
33358 (END): Remove call to STABS_FUN_END.
33359 (STABS_CURRENT_FILE1): Delete.
33360 (STABS_CURRENT_FILE): Likewise.
33361 (STABS_FUN): Likewise.
33362 (STABS_FUN_END): Likewise.
33363 (STABS_FUN2): Likewise.
33364 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
33365 * sysdeps/x86_64/configure: Regenerated.
33366
5908bf46
RM
333672012-08-14 Roland McGrath <roland@hack.frob.com>
33368
33369 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 33370 * elf/dl-lookup.c: Likewise.
5908bf46 33371
f2c05b9e
JM
333722012-08-14 Joseph Myers <joseph@codesourcery.com>
33373
33374 * sysdeps/unix/sysv/linux/kernel-features.h
33375 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
33376 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
33377 unconditionally.
33378 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
33379 unconditionally.
33380 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
33381 condition on __ASSUME_CLONE_THREAD_FLAGS.
33382
e11f5155
AJ
333832012-08-14 Andreas Jaeger <aj@suse.de>
33384
33385 * sysdeps/i386/fpu/libm-test-ulps: Update.
33386
51a9ba86
MK
333872012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
33388
2fdd4f78
AJ
33389 * include/atomic.h (atomic_exchange_and_add): Split into ...
33390 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
33391 New atomic macros.
51a9ba86 33392
ba6cba9e
MT
333932012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
33394
33395 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
33396
42443a47
JL
333972012-08-13 Jeff Law <law@redhat.com>
33398
33399 * manual/stdio.texi (snprintf): Clarify handling of the trailing
33400 null byte in the output string.
33401
121dce05
JM
334022012-08-10 Joseph Myers <joseph@codesourcery.com>
33403
33404 * sysdeps/unix/sysv/linux/kernel-features.h
33405 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
33406 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
33407 (__ASSUME_ARG_MAX_STACK_BASED): Define.
33408 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
33409 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
33410 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
33411 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
33412
bf51f568
JL
334132012-08-09 Jeff Law <law@redhat.com>
33414
33415 [BZ #13939]
33416 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
33417 When avoid_arena is set, don't retry in the that arena. Pick the
33418 next one, whatever it might be.
33419 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
33420 (arena_lock): Pass in new parameter to arena_get2.
33421 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
33422 arena_get2.
33423 (__libc_malloc): Unify retrying after main arena failure with
33424 __libc_memalign version.
33425 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
33426
f85fa270
L
334272012-08-09 H.J. Lu <hongjiu.lu@intel.com>
33428
33429 [BZ #14166]
33430 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
33431 to __redirect_strstr.
33432 (__strstr_sse42): Use typeof __redirect_strstr.
33433 (__strstr_ia32): Likewise.
33434 (__libc_strstr): New prototype.
33435 (strstr): Renamed to ...
33436 (__libc_strstr): This.
33437 (strstr): New strong alias of __libc_strstr.
33438 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
33439 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
33440 __redirect_time.
33441 Include <time.h>.
33442 (__libc_time): New prototype.
33443 (time_ifunc): Replace time with __libc_time.
33444 (time): New strong alias and hidden definition of __libc_time.
33445 (__GI_time): Remove strong alias.
33446 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
33447 Include <stddef.h>.
33448 (memmove): Redefined to __redirect_memmove.
33449 (__memmove_sse2): Use typeof __redirect_memmove.
33450 (__memmove_ssse3): Likewise.
33451 (__memmove_ssse3_back): Likewise.
33452 (__libc_memmove): New prototype.
33453 (memmove): Renamed to ...
33454 (__libc_memmove): This.
33455 (memmove): New strong alias of __libc_memmove.
33456
33b4a91e
MS
334572012-08-08 Mark Salter <msalter@redhat.com>
33458
33459 * elf/elf.h
33460 (R_MN10300_TLS_GD): Define.
33461 (R_MN10300_TLS_LD): Likewise.
33462 (R_MN10300_TLS_LDO): Likewise.
33463 (R_MN10300_TLS_GOTIE): Likewise.
33464 (R_MN10300_TLS_IE): Likewise.
33465 (R_MN10300_TLS_LE): Likewise.
33466 (R_MN10300_TLS_DTPMOD): Likewise.
33467 (R_MN10300_TLS_DTPOFF): Likewise.
33468 (R_MN10300_TLS_TPOFF): Likewise.
33469 (R_MN10300_SYM_DIFF): Likewise.
33470 (R_MN10300_ALIGN): Likewise.
33471 (R_MN10300_NUM): Update.
33472
b36137f1
JM
334732012-08-08 Joseph Myers <joseph@codesourcery.com>
33474
33475 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
33476 Remove.
33477
cdd915fd
RM
334782012-08-08 Roland McGrath <roland@hack.frob.com>
33479
a2433aac
RM
33480 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
33481
cdd915fd
RM
33482 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
33483 sysdeps/unix -> sysdeps/posix move.
33484 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
33485
bf9b740a
AM
334862012-08-07 Allan McRae <allan@archlinux.org>
33487
33488 [BZ #14303]
33489 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
33490 (SUNOS_CPP): Likewise.
33491 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
33492 not found.
33493 (open_input): Call CPP using execvp.
33494
93df14ee
JM
334952012-08-07 Joseph Myers <joseph@codesourcery.com>
33496
33497 * sysdeps/unix/sysv/linux/kernel-features.h
33498 (__ASSUME_PROT_GROWSUPDOWN): Remove.
33499 (__ASSUME_NO_CLONE_DETACHED): Likewise.
33500 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
33501 (__ASSUME_WAITID_SYSCALL): Likewise.
33502 * sysdeps/unix/sysv/linux/dl-execstack.c
33503 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
33504 code unconditional.
33505 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
33506 conditional code.
33507 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
33508 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
33509 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
33510 code.
33511 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
33512 unconditional.
33513 [__ASSUME_WAITID_SYSCALL]: Likewise.
33514 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
33515
d34689de
RM
335162012-08-07 Roland McGrath <roland@hack.frob.com>
33517
a281decc
RM
33518 * sysdeps/unix/closedir.c: Renamed to ...
33519 * sysdeps/posix/closedir.c: ... here.
33520 * sysdeps/unix/dirfd.c: Renamed to ...
33521 * sysdeps/posix/dirfd.c: ... here.
33522 * sysdeps/unix/dirstream.h: Renamed to ...
33523 * sysdeps/posix/dirstream.h: ... here.
33524 * sysdeps/unix/fdopendir.c: Renamed to ...
33525 * sysdeps/posix/fdopendir.c: ... here.
33526 * sysdeps/unix/opendir.c: Renamed to ...
33527 * sysdeps/posix/opendir.c: ... here.
33528 * sysdeps/unix/readdir.c: Renamed to ...
33529 * sysdeps/posix/readdir.c: ... here.
33530 * sysdeps/unix/readdir_r.c: Renamed to ...
33531 * sysdeps/posix/readdir_r.c: ... here.
33532 * sysdeps/unix/rewinddir.c: Renamed to ...
33533 * sysdeps/posix/rewinddir.c: ... here.
33534 * sysdeps/unix/seekdir.c: Renamed to ...
33535 * sysdeps/posix/seekdir.c: ... here.
33536 * sysdeps/unix/telldir.c: Renamed to ...
33537 * sysdeps/posix/telldir.c: ... here.
33538 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
33539 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
33540 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
33541 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
33542
22895b47
RM
33543 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
33544 * bits/fcntl.h: ... here.
33545
707a53b6
RM
33546 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
33547 not 0.
33548 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
33549 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
33550 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
33551 (struct flock): Move l_start, l_len to the beginning.
33552 Use __pid_t for l_pid.
33553 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
33554 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
33555 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
33556 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
33557 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
33558 [__USE_LARGEFILE64] (struct flock64): New type.
33559 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
33560
f0bd3e25
RM
33561 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
33562 * bits/dirent.h: ... here.
33563
d34689de
RM
33564 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
33565 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
33566
6dad2c06
JM
335672012-08-07 Joseph Myers <joseph@codesourcery.com>
33568
33569 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
33570 Change from 2.6.0 to 2.6.16.
33571 * sysdeps/unix/sysv/linux/configure: Regenerated.
33572 * sysdeps/unix/sysv/linux/kernel-features.h
33573 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
33574 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
33575 version.
33576 (__ASSUME_UTIMES): Likewise.
33577 (__ASSUME_CLONE_STOPPED): Remove.
33578 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
33579 architectures, not kernel version.
33580 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
33581 (__ASSUME_NO_CLONE_DETACHED): Likewise.
33582 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
33583 (__ASSUME_WAITID_SYSCALL): Likewise.
33584 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
33585 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
33586 * README: State 2.6.16 as minimum Linux kernel version. Do not
33587 refer to older versions.
33588
03af9520
RM
335892012-08-06 Roland McGrath <roland@hack.frob.com>
33590
8e49df1d
RM
33591 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
33592 Define alphasort64 as an alias.
33593 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
33594 Define versionsort64 as an alias.
33595 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
33596 Define scandir64 as an alias.
33597 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
33598 Define scandirat64 as an alias.
33599 * dirent/alphasort64.c (alphasort64):
33600 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
33601 * dirent/versionsort64.c: Likewise.
33602 * dirent/scandir64.c: Likewise.
33603 * dirent/scandirat64.c: Likewise.
33604 * sysdeps/wordsize-64/alphasort.c: File removed.
33605 * sysdeps/wordsize-64/alphasort64.c: File removed.
33606 * sysdeps/wordsize-64/scandir.c: File removed.
33607 * sysdeps/wordsize-64/scandir64.c: File removed.
33608 * sysdeps/wordsize-64/scandirat.c: File removed.
33609 * sysdeps/wordsize-64/scandirat64.c: File removed.
33610 * sysdeps/wordsize-64/versionsort.c: File removed.
33611 * sysdeps/wordsize-64/versionsort64.c: File removed.
33612 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
33613 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
33614 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
33615 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
33616 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
33617 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
33618 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
33619 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
33620
33621 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
33622 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
33623 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
33624 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
33625 [defined __arch64__ || defined __sparcv9]
33626 (__INO_T_MATCHES_INO64_T): New macro.
33627 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
33628 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
33629 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
33630 * sysdeps/unix/sysv/linux/bits/dirent.h
33631 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
33632 (_DIRENT_MATCHES_DIRENT64): New macro.
33633
03af9520
RM
33634 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
33635 Define lockf64 as an alias.
33636 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
33637 Define fseeko64 as an alias.
33638 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
33639 Define ftello64 as an alias.
33640 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
33641 Define _IO_fgetpos64 and fgetpos64 as aliases.
33642 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
33643 Define _IO_fsetpos64 and fsetpos64 as aliases.
33644 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
33645 Conditionalize body on this.
33646 * libio/fseeko64.c: Likewise.
33647 * libio/ftello64.c: Likewise.
33648 * libio/iofgetpos64.c: Likewise.
33649 * libio/iofsetpos64.c: Likewise.
33650 * sysdeps/wordsize-64/lockf.c: File removed.
33651 * sysdeps/wordsize-64/lockf64.c: File removed.
33652 * sysdeps/wordsize-64/fseeko.c: File removed.
33653 * sysdeps/wordsize-64/fseeko64.c: File removed.
33654 * sysdeps/wordsize-64/ftello.c: File removed.
33655 * sysdeps/wordsize-64/ftello64.c: File removed.
33656 * sysdeps/wordsize-64/iofgetpos.c: File removed.
33657 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
33658 * sysdeps/wordsize-64/iofsetpos.c: File removed.
33659 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
33660 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
33661 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
33662 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
33663 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
33664 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
33665 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
33666 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
33667 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
33668 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
33669 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
33670
33671 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
33672 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
33673 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
33674 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
33675 [defined __arch64__ || defined __sparcv9]
33676 (__OFF_T_MATCHES_OFF64_T): New macro.
33677 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
33678 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
33679 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
33680 (__OFF_T_MATCHES_OFF64_T): New macro.
33681
c5757acd
L
336822012-08-06 H.J. Lu <hongjiu.lu@intel.com>
33683
33684 * stdlib/secure-getenv.c (__secure_getenv): Replace
33685 GLIBC_2_16 with GLIBC_2_17.
33686
3a31811e
L
336872012-08-06 H.J. Lu <hongjiu.lu@intel.com>
33688
33689 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
33690 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
33691
faa2bccb
DM
336922012-08-03 David S. Miller <davem@davemloft.net>
33693
33694 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33695
85fe1997
JM
336962012-08-03 Joseph Myers <joseph@codesourcery.com>
33697
33698 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
33699 Remove.
33700 (__ASSUME_CORRECT_SI_PID): Likewise.
33701 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
33702 (__ASSUME_TMPFS_NAME): Likewise.
33703 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
33704 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
33705 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
33706 (HAVE_AUX_SECURE): Make definition unconditional.
33707 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
33708 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
33709
4f75b7a0
RM
337102012-08-03 Roland McGrath <roland@hack.frob.com>
33711
33712 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
33713 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
33714 * sysdeps/mach/hurd/eloop-threshold.h: New file.
33715 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
33716 __eloop_threshold instead of SYMLOOP_MAX.
33717
33718 * sysdeps/generic/eloop-threshold.h: New file.
33719 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
33720 of MAXSYMLINKS.
33721 * elf/chroot_canon.c (chroot_canon): Likewise.
33722
7aab07e4
JM
337232012-08-03 Joseph Myers <joseph@codesourcery.com>
33724
33725 [BZ #13717]
33726 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
33727 Change to 2.6.0 everywhere.
33728 * sysdeps/unix/sysv/linux/configure: Regenerated.
33729 * sysdeps/unix/sysv/linux/kernel-features.h
33730 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
33731 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
33732 kernel versions.
33733 (__ASSUME_POSIX_TIMERS): Define unconditionally.
33734 (__ASSUME_FUTEX_REQUEUE): Remove.
33735 (__ASSUME_STATFS64): Define unconditionally.
33736 (__ASSUME_AT_SECURE): Likewise.
33737 (__ASSUME_CORRECT_SI_PID): Likewise.
33738 (__ASSUME_TGKILL): Define without depending on kernel version for
33739 i386.
33740 (__ASSUME_UTIMES): Likewise.
33741 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
33742 kernel version.
33743 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
33744 (__ASSUME_TMPFS_NAME): Likewise.
33745 * README: Update reference to Linux kernel versions.
33746
b67e9372
MP
337472012-08-02 Marek Polacek <polacek@redhat.com>
33748
1f529f7d 33749 [BZ# 14150]
b67e9372
MP
33750 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
33751 libc_cv_asm_type_prefix with %.
33752 * configure: Regenerated.
d2441631
RM
33753 * include/libc-symbols.h: Remove comment about
33754 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
33755 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
33756 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
33757 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
33758 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
33759 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
33760 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
33761 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
33762 * elf/tst-unique2mod1.c: Likewise.
33763 * elf/tst-unique1mod2.c: Likewise.
33764 * elf/tst-unique1mod1.c: Likewise.
33765 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
33766 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
33767 Replace ASM_TYPE_DIRECTIVE with .type.
33768 * sysdeps/s390/s390-64/sysdep.h: Likewise.
33769 * sysdeps/i386/sysdep.h: Likewise.
33770 * sysdeps/x86_64/sysdep.h: Likewise.
33771 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
33772 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
33773 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 33774 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
33775 * sysdeps/powerpc/powerpc32/sysdep.h:
33776 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
33777 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
33778 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
33779 * sysdeps/i386/fpu/e_powf.S: Likewise.
33780 * sysdeps/i386/fpu/e_expl.S: Likewise.
33781 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
33782 * sysdeps/i386/fpu/e_acosh.S: Likewise.
33783 * sysdeps/i386/fpu/e_pow.S: Likewise.
33784 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
33785 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
33786 * sysdeps/i386/fpu/s_expm1.S: Likewise.
33787 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
33788 * sysdeps/i386/fpu/e_log2.S: Likewise.
33789 * sysdeps/i386/fpu/e_log2l.S: Likewise.
33790 * sysdeps/i386/fpu/e_scalb.S: Likewise.
33791 * sysdeps/i386/fpu/e_powl.S: Likewise.
33792 * sysdeps/i386/fpu/e_log10f.S: Likewise.
33793 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
33794 * sysdeps/i386/fpu/e_logl.S: Likewise.
33795 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
33796 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
33797 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
33798 * sysdeps/i386/fpu/e_log2f.S: Likewise.
33799 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
33800 * sysdeps/i386/fpu/e_log.S: Likewise.
33801 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
33802 * sysdeps/i386/fpu/e_logf.S: Likewise.
33803 * sysdeps/i386/fpu/e_log10l.S: Likewise.
33804 * sysdeps/i386/fpu/e_atanh.S: Likewise.
33805 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
33806 * sysdeps/i386/fpu/e_log10.S: Likewise.
33807 * sysdeps/i386/fpu/s_frexp.S: Likewise.
33808 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
33809 * sysdeps/i386/fpu/s_asinh.S: Likewise.
33810 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
33811 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
33812 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
33813 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
33814 * sysdeps/i386/i686/strtok.S: Likewise.
33815 * sysdeps/i386/i386-mcount.S: Likewise.
33816 * sysdeps/i386/strtok.S: Likewise.
33817 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
33818 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
33819 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
33820 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
33821 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
33822 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
33823 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
33824 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
33825 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
33826 * sysdeps/x86_64/_mcount.S: Likewise.
33827 * sysdeps/x86_64/strtok.S: Likewise.
33828 * sysdeps/sh/_mcount.S: Likewise.
33829
2747bf9a
RM
338302012-08-01 Roland McGrath <roland@hack.frob.com>
33831
33832 * libio/iofopen.c: Include <fcntl.h>.
33833 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
33834 (_IO_fopen64, fopen64): Define as aliases.
33835 * libio/iofopen64.c: Include <fcntl.h>.
33836 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
33837 Conditionalize body on this.
33838 * sysdeps/wordsize-64/iofopen.c: File removed.
33839 * sysdeps/wordsize-64/iofopen64.c: File removed.
33840
3fb791b8
MP
338412012-08-01 Marek Polacek <polacek@redhat.com>
33842
33843 * libc/Makeconfig: Use elf in place of binfmt-subdir.
33844 Use dlfcn directly instead of a variable.
33845 (binfmt-subdir): Do not define.
33846 (dlfcn): Likewise.
33847
a9f1039f
JM
338482012-08-01 Joseph Myers <joseph@codesourcery.com>
33849
23bddc06
JM
33850 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
33851 Remove all definitions.
33852 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
33853 <kernel-features.h>.
33854 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
33855 (miss_F_GETOWN_EX): Remove all definitions.
33856 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
33857 macro definition.
33858 [!__ASSUME_FCNTL64]: Remove conditional code.
33859 [__ASSUME_FCNTL64]: Make code unconditional.
33860 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
33861 <kernel-features.h>.
33862 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
33863 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
33864 (lockf64) [__NR_fcntl64]: Make code unconditional.
33865 (lockf64) [__ASSUME_FCNTL64]: Likewise.
33866
a9f1039f
JM
33867 * sysdeps/unix/sysv/linux/kernel-features.h
33868 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
33869 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
33870 Make code unconditional.
33871 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
33872 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
33873 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
33874 [__NR_vfork]: Make code unconditional.
33875 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
33876 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
33877 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
33878 [__NR_vfork]: Make code unconditional.
33879 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
33880 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
33881
09c0ee5f
RM
338822012-08-01 Roland McGrath <roland@hack.frob.com>
33883
48aec5b9
RM
33884 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
33885 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
33886
cd97c966
RM
33887 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
33888 Define mkstemp64 as an alias.
3f55550c
RM
33889 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
33890 Define mkstemps64 as an alias.
cd97c966
RM
33891 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
33892 Define mkostemp64 as an alias.
b8625cfc
RM
33893 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
33894 Define mkostemps64 as an alias.
cd97c966
RM
33895 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
33896 Conditionalize body on this.
33897 * misc/mkostemp64.c: Likewise.
b8625cfc 33898 * misc/mkostemps64.c: Likewise.
3f55550c 33899 * misc/mkstemps64.c: Likewise.
cd97c966
RM
33900 * sysdeps/wordsize-64/mkstemp64.c: File removed.
33901 * sysdeps/wordsize-64/mkostemp64.c: File removed.
33902 * sysdeps/wordsize-64/mkostemp.c: File removed.
33903 * sysdeps/wordsize-64/mkstemp.c: File removed.
33904 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
33905 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
33906 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
33907 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
33908
09c0ee5f
RM
33909 [BZ #14138]
33910 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
33911 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
33912 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
33913 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
33914
33915 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
33916 compat_symbol macros from <shlib-compat.h> rather than the underlying
33917 default_symbol_version and symbol_version macros, so that DEFAULT
33918 lines in shlib-versions are respected.
33919 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
33920
7e66ee51
FW
339212012-08-01 Florian Weimer <fweimer@redhat.com>
33922
33923 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
33924 Declare with warn_unused_result.
33925 (setgid, setregid, setegid, setresgid): Likewise.
33926 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
33927 Likewise.
33928 * WUR-REPORT: Remove set*id functions.
33929
d2a54255
PT
339302012-07-31 Pino Toscano <toscano.pino@tiscali.it>
33931
33932 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
33933
7ecdb005
RM
339342012-07-31 Roland McGrath <roland@hack.frob.com>
33935
b4180a5e 33936 [BZ #10191]
789bd351
RM
33937 * include/sys/socket.h (__libc_accept, __libc_accept4):
33938 Add attribute_hidden.
33939 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
33940
40ce302d
RM
33941 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
33942 use of PTR_MANGLE.
33943 * inet/getnetgrent_r.c (setup): Likewise.
33944
7ecdb005
RM
33945 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
33946
e2eabb2c
DM
339472012-07-31 David S. Miller <davem@davemloft.net>
33948
33949 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33950
d0419dbf
JM
339512012-07-31 Joseph Myers <joseph@codesourcery.com>
33952
33953 [BZ #13629]
33954 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
33955 value between 1.0 and 2.0 and smaller part has absolute value less
33956 than 1.0.
33957 * math/s_clog10.c (__clog10): Likewise.
33958 * math/s_clog10f.c (__clog10f): Likewise.
33959 * math/s_clog10l.c (__clog10l): Likewise.
33960 * math/s_clogf.c (__clogf): Likewise.
33961 * math/s_clogl.c (__clogl): Likewise.
33962 * math/libm-test.inc (clog_test): Add more tests.
33963 (clog10_test): Likewise.
33964 * sysdeps/i386/fpu/libm-test-ulps: Update.
33965 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33966
2bc13872
FW
339672012-07-31 Florian Weimer <fweimer@redhat.com>
33968
33969 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
33970 Exit with zero in case no suitable GID is found, and write a
33971 message to standard error.
33972
bea9b193
RM
339732012-07-30 Roland McGrath <roland@hack.frob.com>
33974
33975 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
33976 rather than to 1.
33977 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
33978 (MAXPATHLEN): Removed.
33979 (NOGROUP, NODEV): New macros.
33980 (setbit, clrbit, isset, isclr): New macros.
33981 (howmany, roundup, powerof2): New macros.
33982 (DEV_BSIZE): New macro.
33983
33984 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
33985 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
33986
33987 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
33988 definition on [!__NO_LONG_DOUBLE_MATH].
33989
33990 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
33991 PTR_MANGLE and PTR_DEMANGLE.
33992
33993 * socket/accept4.c (accept4): Rename to __libc_accept4.
33994 Define accept4 as a weak alias.
33995
33996 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
33997 on [_DIRENT_HAVE_D_TYPE].
33998 * io/ftw.c (ftw_dir): Likewise.
33999
34000 * io/xmknod.c (__xmknod): Don't check PATH for being null.
34001
34002 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
34003
34004 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
34005 Use the BSD numbers rather than the arbitrary ones we had.
34006 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
34007 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
34008 (SIGXCPU, SIGXFSZ): New macros.
34009 (_NSIG): Now 32.
34010
34011 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
34012 initializer on [_LIBC_REENTRANT].
34013
34014 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
34015 definitions inside [_POSIX_MAPPED_FILES].
34016
34017 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
34018
34019 * dirent/opendir.c: Include <fcntl.h>.
34020
34021 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
34022 (__libc_getspecific): Likewise.
34023 (__libc_key_create): Likewise.
34024
34025 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
34026 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
34027 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
34028 (tmpfile64): Define as alias.
34029 * sysdeps/wordsize-64/tmpfile.c: File removed.
34030 * sysdeps/wordsize-64/tmpfile64.c: File removed.
34031 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
34032 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
34033
34034 * stdio-common/vfscanf.c: Include <stdbool.h>.
34035 * nss/makedb.c: Likewise.
34036 * stdio-common/_i18n_number.h: Likewise.
34037 * argp/argp-help.c: Likewise.
34038 * posix/wordexp.c: Likewise.
34039 * sysdeps/posix/spawni.c: Likewise.
34040 * nss/nss_files/files-initgroups.c: Likewise.
34041 * stdio-common/reg-modifier.c: Include <stdlib.h>.
34042 * nss/nss_files/files-initgroups.c: Likewise.
34043 * nss/nss_db/db-netgrp.c: Likewise.
34044 * nss/nss_db/db-initgroups.c: Likewise.
34045 * io/fchmodat.c: Include <sys/stat.h>.
34046
34047 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
34048 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
34049
34050 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
34051 [HAVE_MMAP].
34052
34053 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
34054 Add multiple inclusion protection.
34055
e5abc686
DM
340562012-07-27 David S. Miller <davem@davemloft.net>
34057
34058 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34059
815e6fa3
GB
340602012-07-27 Gary Benson <gbenson@redhat.com>
34061
34062 [BZ #14298]
34063 * elf/rtld.c: Include <stap-probe.h>.
34064 (dl_main): Added static probes "init_start" and "init_complete".
34065 * elf/dl-load.c: Include <stap-probe.h>.
34066 (lose): Take new parameter "nsid".
34067 Added static probe "map_failed".
34068 (_dl_map_object_from_fd): Pass namespace id to lose.
34069 Added static probe "map_start".
34070 (open_verify): Pass namespace id to lose.
34071 * elf/dl-open.c: Include <stap-probe.h>.
34072 (dl_open_worker) Added static probes "map_complete", "reloc_start"
34073 and "reloc_complete".
34074 * elf/dl-close.c: Include <stap-probe.h>.
34075 (_dl_close_worker): Added static probes "unmap_start" and
34076 "unmap_complete".
34077 * elf/rtld-debugger-interface.txt: New file documenting the above.
34078
9f98c16c
RM
340792012-07-26 Roland McGrath <roland@hack.frob.com>
34080
34081 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
34082 rather than a string variable.
34083 * sunrpc/rpc_main.c (h_output): Likewise.
34084 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
34085
f3c22df3
PT
340862012-07-26 Pino Toscano <toscano.pino@tiscali.it>
34087
34088 * inet/check_native.c: New file.
34089
3129cfc6
JM
340902012-07-26 Joseph Myers <joseph@codesourcery.com>
34091
da865e95
JM
34092 [BZ #13629]
34093 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
34094 if larger part has absolute value 1.0.
34095 * math/s_clog10.c (__clog10): Likewise.
34096 * math/s_clog10f.c (__clog10f): Likewise.
34097 * math/s_clog10l.c (__clog10l): Likewise.
34098 * math/s_clogf.c (__clogf): Likewise.
34099 * math/s_clogl.c (__clogl): Likewise.
34100 * math/libm-test.inc (clog_test): Add more tests.
34101 (clog10_test): Likewise.
34102 * sysdeps/i386/fpu/libm-test-ulps: Update.
34103 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34104
3129cfc6
JM
34105 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
34106 (pltexit): Likewise.
34107 (La_regs): Likewise.
34108 (La_retval): Likewise.
34109 (int_retval): Likewise.
34110 Update #error for removed macros to refer only to definitions in
34111 tst-audit.h.
34112 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
34113 macro.
34114 (pltexit): Likewise.
34115 (La_regs): Likewise.
34116 (La_retval): Likewise.
34117 (int_retval): Likewise.
34118 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
34119 macro.
34120 (pltexit): Likewise.
34121 (La_regs): Likewise.
34122 (La_retval): Likewise.
34123 (int_retval): Likewise.
34124 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
34125 macro.
34126 (pltexit): Likewise.
34127 (La_regs): Likewise.
34128 (La_retval): Likewise.
34129 (int_retval): Likewise.
34130 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
34131 macro.
34132 (pltexit): Likewise.
34133 (La_regs): Likewise.
34134 (La_retval): Likewise.
34135 (int_retval): Likewise.
34136 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
34137 macro.
34138 (pltexit): Likewise.
34139 (La_regs): Likewise.
34140 (La_retval): Likewise.
34141 (int_retval): Likewise.
34142 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
34143 macro.
34144 (pltexit): Likewise.
34145 (La_regs): Likewise.
34146 (La_retval): Likewise.
34147 (int_retval): Likewise.
34148 * sysdeps/generic/tst-audit.h: Update comment to refer only to
34149 macro definitions in tst-audit.h.
34150 * sysdeps/i386/tst-audit.h: New file.
34151 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
34152 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
34153 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
34154 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
34155 * sysdeps/sh/tst-audit.h: Likewise.
34156 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
34157 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
34158 * sysdeps/x86_64/tst-audit.h: Likewise.
34159
bfc07087
AJ
341602012-07-26 Andreas Jaeger <aj@suse.de>
34161
b1b2aaf8
AJ
34162 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
34163 ptrace.
34164
34165 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
34166 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
34167 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
34168 PTRACE_O_MASK.
34169 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
34170 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
34171 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
34172
bfc07087
AJ
34173 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
34174 value.
34175
34176 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
34177 _sigsys.
34178 (si_call_addr, si_syscall, si_arch): Define new macro.
34179 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
34180 _sigsys.
34181 (si_call_addr, si_syscall, si_arch): Define new marcro.
34182 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
34183 _sigsys.
34184 (si_call_addr, si_syscall, si_arch): Define new macro.
34185 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
34186 _sigsys.
34187 (si_call_addr, si_syscall, si_arch): Define new macro.
34188
89b4b02f
JM
341892012-07-25 Joseph Myers <joseph@codesourcery.com>
34190
34191 [BZ #13717]
34192 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
34193 Change to 2.4.21 where previously 2.4.1.
34194 * sysdeps/unix/sysv/linux/configure: Regenerated.
34195 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
34196 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
34197 Linux kernel version.
34198 (__ASSUME_STD_AUXV): Remove.
34199 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
34200 kernel version.
34201 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
34202 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
34203 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
34204 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
34205 (__ASSUME_NETLINK_SUPPORT): Likewise.
34206 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
34207 (__no_netlink_support): Remove conditional definition.
34208 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
34209 Remove.
34210 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
34211 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
34212 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
34213 (if_nameindex_ioctl): Remove.
34214 (if_nameindex_netlink): Do not handle __no_netlink_support.
34215 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
34216 code.
34217 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
34218 Remove conditional code.
34219 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
34220 code.
34221 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
34222 unconditional.
34223 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
34224 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
34225 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
34226 Remove.
34227 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
34228 [!__ASSUME_STD_AUXV]: Remove conditional code.
34229 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
34230 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
34231 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
34232 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
34233 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
34234 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
34235 code.
34236 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
34237 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
34238 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
34239 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
34240 conditional code.
34241 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
34242 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
34243 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
34244 code.
34245 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
34246 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
34247 conditional code.
34248 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
34249 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
34250 code unconditional.
34251 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
34252 conditional code.
34253 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
34254 unconditional.
34255 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
34256 conditional code.
34257 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
34258 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
34259 unconditional.
34260 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
34261 conditional code.
34262 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
34263 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
34264 code unconditional.
34265 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
34266 conditional code.
34267 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
34268 unconditional.
34269 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
34270 conditional code.
34271 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
34272 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
34273 code unconditional.
34274 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
34275 conditional code.
34276 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
34277 unconditional.
34278 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
34279 conditional code.
34280
842a39cd
AS
342812012-07-25 Andreas Schwab <schwab@linux-m68k.org>
34282
34283 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
34284 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
34285 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
34286 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
34287 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
34288 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
34289 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
34290 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
34291 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
34292 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
34293 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
34294 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
34295 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
34296 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
34297 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
34298 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
34299 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
34300 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
34301 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
34302 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
34303 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
34304 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
34305 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
34306
84b3fd84
FW
343072012-07-25 Florian Weimer <fweimer@redhat.com>
34308
34309 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
34310 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
34311 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
34312 Introduce __libc_secure_getenv.
0c7936d5
FW
34313 * stdlib/Versions (2.17): Add secure_getenv
34314 (GLIBC_PRIVATE): Add __libc_secure_getenv.
34315 * stdlib/secure-getenv.c: Rename __secure_getenv to
34316 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
34317 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
34318 * stdlib/tst-secure-getenv.c: New.
34319 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
34320 * manual/startup.texi (Environment Access): Document
34321 secure_getenv.
84b3fd84
FW
34322 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
34323 __libc_secure_getenv.
34324 * inet/ruserpass.c (ruserpass): Likewise.
34325 * malloc/mtrace.c (mtrace): Likewise.
34326 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 34327 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
34328 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
34329 * sysdeps/posix/tempname.c: Likewise. Evaluate
34330 HAVE_SECURE_GETENV.
34331 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 34332 __secure_getenv to __libc_secure_getenv.
84b3fd84 34333 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
34334 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
34335 Likewise.
34336 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
34337 Likewise.
34338 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
34339 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
34340 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
34341 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
34342 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
34343 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
34344 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 34345
56e49b71
JM
343462012-07-25 Joseph Myers <joseph@codesourcery.com>
34347
34348 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
34349 (struct La_i86_retval): Likewise.
34350 (struct La_x86_64_regs): Likewise.
34351 (struct La_x86_64_retval): Likewise.
34352 (struct La_x32_regs): Likewise.
34353 (struct La_x32_retval): Likewise.
34354 (struct La_ppc32_regs): Likewise.
34355 (struct La_ppc32_retval): Likewise.
34356 (struct La_ppc64_regs): Likewise.
34357 (struct La_ppc64_retval): Likewise.
34358 (struct La_sh_regs): Likewise.
34359 (struct La_sh_retval): Likewise.
34360 (struct La_s390_32_regs): Likewise.
34361 (struct La_s390_32_retval): Likewise.
34362 (struct La_s390_64_regs): Likewise.
34363 (struct La_s390_64_retval): Likewise.
34364 (struct La_sparc32_regs): Likewise.
34365 (struct La_sparc32_retval): Likewise.
34366 (struct La_sparc64_regs): Likewise.
34367 (struct La_sparc64_retval): Likewise.
34368 (struct audit_ifaces): Remove architecture-specific pltenter and
34369 pltexit members.
34370 * sysdeps/i386/ldsodefs.h: New file.
34371 * sysdeps/powerpc/ldsodefs.h: Likewise.
34372 * sysdeps/s390/ldsodefs.h: Likewise.
34373 * sysdeps/sh/ldsodefs.h: Likewise.
34374 * sysdeps/sparc/ldsodefs.h: Likewise.
34375 * sysdeps/x86_64/ldsodefs.h: Likewise.
34376
354691b7
MP
343772012-07-25 Marek Polacek <polacek@redhat.com>
34378
34379 [BZ #6808]
34380 * math/libm-test.inc (yn_test): Add another test.
34381 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
34382 to ERANGE when the result is +-Inf.
34383 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
34384 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
34385 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
34386 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
34387
bf9e2071
JM
343882012-07-24 Joseph Myers <joseph@codesourcery.com>
34389
34390 * conform/data/time.h-data (NULL): Use macro-constant. Require
34391 equal to 0.
34392 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
34393 clock_t.
34394 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
34395
57633811
TS
343962012-07-23 Thomas Schwinge <thomas@codesourcery.com>
34397
34398 * configure.in <sysdeps resolving>: Correct printing
34399 Implies_before.
34400 * configure: Regenerate.
34401
c23c33b0
TS
344022012-07-22 Thomas Schwinge <thomas@codesourcery.com>
34403
34404 * math/w_ilogb.c: Include <limits.h>.
34405 * math/w_ilogbl.c: Likewise.
34406
b5982523
JM
344072012-07-20 Joseph Myers <joseph@codesourcery.com>
34408
34409 * manual/lang.texi (__va_copy): Document primarily as ISO C99
34410 va_copy. Document allowing for unavailable va_copy only as
34411 pre-C99 compatibility.
34412 * manual/string.texi (Copying and Concatenation): Use va_copy
34413 instead of __va_copy in concat example.
34414
ac4ea442
PT
344152012-07-20 Pino Toscano <toscano.pino@tiscali.it>
34416
34417 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
34418 (__sendto): Use create_address_port. Initialize APORT and deallocate
34419 it if not null.
34420
f98eafbd
PT
34421 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
34422 with O_NOLINK passed to __file_name_lookup.
34423
898c7aab
PT
34424 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
34425 with O_NOLINK passed to __file_name_lookup.
34426
0ced335a
PT
34427 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
34428 negative N or less than NGIDS.
34429
b3404dbd
PT
34430 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
34431 type to string_t. Set ERANGE as errno and return it if NAME is not big
34432 enough. Use memcpy instead of strncpy.
34433
0f48659e
JM
344342012-07-20 Joseph Myers <joseph@codesourcery.com>
34435
34436 * elf/Makefile (check-data): Remove.
34437 (localplt.data): New vpath directive.
34438 ($(objpfx)check-localplt.out): Use localplt.data from vpath
34439 instead of $(check-data).
34440 * scripts/data/localplt-generic.data: Move to ...
34441 * sysdeps/generic/localplt.data: ... here.
34442 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
34443 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
34444 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
34445 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
34446 ... here.
34447 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
34448 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
34449 ... here.
34450 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
34451 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
34452 ... here.
34453 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
34454 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
34455 ... here.
34456 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
34457 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
34458 ... here.
34459 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
34460 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
34461 ... here.
34462
d37cbdaa
AZ
344632012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34464
34465 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
34466 PPC32 and PPC64 files.
34467 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
34468 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
34469
46f85fc2
AK
344702012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
34471
34472 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
34473 __makecontext_ret to ...
34474 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
34475 ... here and call exit if uc_link is NULL. New file.
34476 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
34477 __makecontext_ret.S.
34478 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
34479 __makecontext_ret to ...
34480 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
34481 ... here and call exit if uc_link is NULL. New file.
34482 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
34483 __makecontext_ret.S.
34484
08f43f9b
AK
344852012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
34486
34487 * elf/elf.h (R_390_IRELATIVE): New definition.
34488 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
34489 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
34490 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
34491 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
34492 (elf_machine_lazy_rel): Likewise.
34493 * sysdeps/s390/dl-irel.h: New file.
34494 * sysdeps/s390/s390-64/memcpy.S: New asm code.
34495 * sysdeps/s390/s390-64/memset.S: New asm code.
34496 * sysdeps/s390/s390-64/memcmp.S: New asm code.
34497 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
34498 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
34499 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
34500 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
34501 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
34502 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
34503 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
34504 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
34505 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
34506 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
34507 * sysdeps/s390/s390-32/memcpy.S: New asm code.
34508 * sysdeps/s390/s390-32/memset.S: New asm code.
34509 * sysdeps/s390/s390-32/memcmp.S: New asm code.
34510
3b05db33
MP
345112012-07-17 Marek Polacek <polacek@redhat.com>
34512
34513 [BZ #14349]
34514 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
34515 * sysdeps/s390/s390-64/configure.in: Likewise.
34516 * sysdeps/sparc/configure.in: Likewise.
34517 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
34518 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
34519 * sysdeps/i386/configure.in: Likewise.
34520 * sysdeps/x86_64/configure.in: Likewise.
34521 * sysdeps/sh/configure.in: Likewise.
34522 * sysdeps/s390/s390-32/configure: Regenerated.
34523 * sysdeps/s390/s390-64/configure: Likewise.
34524 * sysdeps/x86_64/configure: Likewise.
34525 * sysdeps/sh/configure: Likewise.
34526 * sysdeps/powerpc/powerpc64/configure: Likewise.
34527 * sysdeps/powerpc/powerpc32/configure: Likewise.
34528 * sysdeps/sparc/configure: Likwise.
34529 * sysdeps/i386/configure: Likewise.
34530
a66877c6
MP
34531 * elf/dl-open.c: Comment fixes.
34532
cfc82fd8
JM
345332012-07-17 Joseph Myers <joseph@codesourcery.com>
34534
bd29910a
JM
34535 * Makefile [CXX] (check-data): Remove.
34536 [CXX] (c++-types.data): New vpath directive.
34537 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
34538 vpath. Do not allow for C++ type data being missing.
34539 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
34540 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
34541 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
34542 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
34543 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
34544 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
34545 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
34546 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
34547 ... here.
34548 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
34549 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
34550 ... here.
34551 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
34552 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
34553 ... here.
34554 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
34555 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
34556 ... here.
34557 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
34558 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
34559 ... here.
34560 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
34561 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
34562 ... here.
34563 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
34564 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
34565 ... here.
34566 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
34567 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
34568
cfc82fd8
JM
34569 * elf/tls-macros.h (TLS_LE): Move architecture-specific
34570 definitions to architecture-specific files.
34571 (TLS_IE): Likewise.
34572 (TLS_LD): Likewise.
34573 (TLS_GD): Likewise.
34574 * sysdeps/i386/tls-macros.h: New file.
34575 * sysdeps/powerpc/tls-macros.h: Likewise.
34576 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
34577 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
34578 * sysdeps/sh/tls-macros.h: Likewise.
34579 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
34580 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
34581 * sysdeps/x86_64/tls-macros.h: Likewise.
34582
f7db3170
TS
345832012-07-17 Thomas Schwinge <thomas@codesourcery.com>
34584
07cbfc23
TS
34585 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
34586 zero value for regular exit case.
34587
f7db3170
TS
34588 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
34589 (__start_context): Preserve zero value for regular exit case.
34590
dc97c227
TS
345912012-07-17 Thomas Schwinge <thomas@codesourcery.com>
34592 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
34593
34594 * manual/setjmp.texi (setcontext): Clarify normal process
34595 termination when uc_link is the null pointer.
34596 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
34597 exit call.
34598
d0cd7d02
AS
345992012-07-16 Andreas Schwab <schwab@linux-m68k.org>
34600
34601 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
34602 preprocessor. Test for each exception mask separately.
34603
dd318934
AJ
346042012-07-16 Andreas Jaeger <aj@suse.de>
34605
34606 * po/ru.po: Update from translation team.
34607
8048311a
JM
346082012-07-15 Joseph Myers <joseph@codesourcery.com>
34609
34610 * conform/data/string.h-data (NULL): Use macro-constant. Require
34611 equal to 0.
34612 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
34613 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
34614 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
34615 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
34616 [ISO || ISO99 || ISO11] (*_t): Do not allow.
34617
b637d46e
AJ
346182012-07-13 Andreas Jaeger <aj@suse.de>
34619
34620 * po/fr.po: Update from translation team.
34621
541428fe
MP
346222012-07-12 Marek Polacek <polacek@redhat.com>
34623
34624 [BZ #14173]
34625 * math/libm-test.inc (yn_test): Add test for BZ #14173.
34626 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
34627 loop condition.
34628
ec332e94
JM
346292012-07-12 Joseph Myers <joseph@codesourcery.com>
34630
34631 [BZ #13717]
34632 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
34633 Change to 2.4.1 where previously 2.4.0.
34634 * sysdeps/unix/sysv/linux/configure: Regenerated.
34635 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
34636 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
34637 version.
34638 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
34639 (__ASSUME_AT_CLKTCK): Remove.
34640 (__ASSUME_AT_PAGESIZE): Likewise.
34641 (__ASSUME_AT_XID): Likewise.
34642 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
34643 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
34644 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
34645 unconditionally.
34646 (HAVE_AUX_PAGESIZE): Likewise.
34647 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
34648 [__ASSUME_AT_CLKTCK]: Make code unconditional.
34649 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
34650
7b6e99be
JB
346512012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
34652
34653 [BZ #14307]
34654 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
34655 the temporary buffer used to invoke __gethostbyname2_r,
34656 __gethostbyaddr_r and gethostbyname4_r to make room for struct
34657 host_data / struct gaih_addrtuple.
34658 * resolv/nss_dns/dns-host.c (global scope): Move definition of
34659 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
34660 header file nss/nsswitch.h.
34661 * nss/nsswitch.h (global scope): Add definition of implementation
34662 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
34663 resolv/nss_dns/dns-host.c).
34664
608404eb
AJ
346652012-07-11 Andreas Jaeger <aj@suse.de>
34666
34667 * po/fr.po: Update from translation team.
34668
71220aca
AJ
34669 * po/sv.po: Update from translation team
34670 * po/fr.po: Another update from translation team.
34671
28cfe843
AZ
346722012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34673
34674 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
34675 for subnormals or multiply small sinh result by itself.
34676 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
34677 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34678
6b90f981
DM
346792012-07-11 David S. Miller <davem@davemloft.net>
34680
34681 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34682
c6825772
AS
346832012-07-10 Andreas Schwab <schwab@linux-m68k.org>
34684
34685 [BZ #14347]
34686 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
34687 (INTERNAL_MARK): Shift it here.
34688
7b8e0d49
MP
346892012-07-10 Marek Polacek <polacek@redhat.com>
34690
34691 [BZ #14151]
34692 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
34693 libc_cv_asm_global_directive with .globl.
34694 * configure: Regenerated.
34695 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
34696 with .globl.
34697 * sysdeps/i386/configure: Regenerated.
34698 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
34699 with .globl.
34700 * sysdeps/x86_64/configure: Regenerated.
34701 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
34702 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
34703 * elf/tst-unique2mod2.c: Likewise.
34704 * elf/tst-unique2mod1.c: Likewise.
34705 * elf/tst-unique1mod2.c: Likewise.
34706 * elf/tst-unique1mod1.c: Likewise.
34707 * sysdeps/s390/s390-32/sysdep.h: Likewise.
34708 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
34709 * sysdeps/s390/s390-64/sysdep.h: Likewise.
34710 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
34711 * sysdeps/mach/sysdep.h: Likewise.
34712 * sysdeps/i386/sysdep.h: Likewise.
34713 * sysdeps/i386/i386-mcount.S: Likewise.
34714 * sysdeps/x86_64/_mcount.S: Likewise.
34715 * sysdeps/x86_64/sysdep.h: Likewise.
34716 * sysdeps/sh/_mcount.S: Likewise.
34717 * sysdeps/sh/sysdep.h: Likewise.
34718 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
34719 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
34720 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
34721 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
34722 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
34723 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
34724 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
34725 * locale/localeinfo.h: Likewise.
34726 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
34727 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
34728
6c55cda3
RM
347292012-07-09 Roland McGrath <roland@hack.frob.com>
34730
34731 [BZ #14336]
34732 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
34733 system".
34734 * manual/message.texi (The Uniforum approach): Likewise.
34735 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
34736 (glibc iconv Implementation): Likewise.
34737
638a572e
JM
347382012-07-09 Joseph Myers <joseph@codesourcery.com>
34739
34740 [BZ #14337]
34741 * math/s_clog.c (__clog): Avoid scaling a value down where that
34742 could result in underflow.
34743 * math/s_clog10.c (__clog10): Likewise.
34744 * math/s_clog10f.c (__clog10f): Likewise.
34745 * math/s_clog10l.c (__clog10l): Likewise.
34746 * math/s_clogf.c (__clogf): Likewise.
34747 * math/s_clogl.c (__clogl): Likewise.
34748 * math/libm-test.inc (clog_test): Add more tests.
34749 (clog10_test): Likewise.
34750 * sysdeps/i386/fpu/libm-test-ulps: Update.
34751 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34752
261f4859
AS
347532012-07-06 Andreas Schwab <schwab@linux-m68k.org>
34754
0abaf3e4
AS
34755 [BZ #14283]
34756 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
34757 by 7 not 8 to examine high bit of fractional part.
34758
261f4859
AS
34759 [BZ #14042]
34760 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
34761 for call to __mcount_internal.
34762 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
34763 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
34764 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
34765
f17ac40d
JM
347662012-07-06 Joseph Myers <joseph@codesourcery.com>
34767
9ad63c23
JM
34768 [BZ #14154]
34769 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
34770 approximation for values within 0x1p-13f of an odd multiple of
34771 pi/4.
34772 * math/libm-test.inc (tan_test): Do not allow spurious underflow
34773 exception. Add more tests.
34774 * sysdeps/i386/fpu/libm-test-ulps: Update.
34775
f17ac40d
JM
34776 [BZ #6778]
34777 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
34778 inputs and return -1 for them. Do not check for +Inf in case not
34779 reachable for +Inf.
34780 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
34781 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
34782 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
34783 and return -1 for them. Do not check for +Inf in case not
34784 reachable for +Inf.
34785 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
34786 define.
34787 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
34788 and return -1 for them. Do not check for +Inf in case not
34789 reachable for +Inf.
34790 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
34791 spurious underflow.
34792 * sysdeps/i386/fpu/libm-test-ulps: Update.
34793 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34794
fb21f89b
MF
347952012-07-06 Mike Frysinger <vapier@gentoo.org>
34796
34797 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
34798
cdfe2c5e
JM
347992012-07-05 Joseph Myers <joseph@codesourcery.com>
34800
34801 [BZ #14157]
34802 [BZ #14331]
34803 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
34804 could result in spurious underflow. Scale down values above
34805 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
34806 * math/s_csqrtf.c (__csqrtf): Likewise.
34807 * math/s_csqrtl.c (__csqrtl): Likewise.
34808 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
34809 spurious underflow.
34810 * sysdeps/i386/fpu/libm-test-ulps: Update.
34811 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34812
70d35b67
AS
348132012-07-04 Andreas Schwab <schwab@linux-m68k.org>
34814
704bc459
AS
34815 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
34816 xopen-msg.sed.
34817 * catgets/xopen-msg.awk: New file.
34818 * catgets/xopen-msg.sed: Removed.
34819
70d35b67
AS
34820 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
34821 po2text.sed.
34822 * intl/po2test.awk: New file.
34823 * intl/po2test.sed: Removed.
34824
ca61cf32
JM
348252012-07-04 Joseph Myers <joseph@codesourcery.com>
34826
34827 [BZ #14328]
34828 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
34829 or multiply small sinh result by itself.
34830 * math/s_ctanf.c (__ctanf): Likewise.
34831 * math/s_ctanh.c (__ctanh): Likewise.
34832 * math/s_ctanhf.c (__ctanhf): Likewise.
34833 * math/s_ctanhl.c (__ctanhl): Likewise.
34834 * math/s_ctanl.c (__ctanl): Likewise.
34835 * math/libm-test.inc (ctan_test_tonearest): New function.
34836 (ctan_test_towardzero): Likewise.
34837 (ctan_test_downward): Likewise.
34838 (ctan_test_upward): Likewise.
34839 (ctanh_test_tonearest): Likewise.
34840 (ctanh_test_towardzero): Likewise.
34841 (ctanh_test_downward): Likewise.
34842 (ctanh_test_upward): Likewise.
34843 (main): Call these new functions.
34844 * sysdeps/i386/fpu/libm-test-ulps: Update.
34845 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34846
ca48a46a
MF
348472012-07-03 Mike Frysinger <vapier@gentoo.org>
34848
34849 * .gitignore: Delete /ports entry.
34850
9d63d37d
AJ
348512012-07-03 Andreas Jaeger <aj@suse.de>
34852
34853 * po/bg.po: Update from translation team.
34854 * po/cs.po: Likewise.
34855 * po/de.po: Likewise.
34856 * po/hr.po: Likewise.
34857 * po/nl.pl: Likewise.
34858 * po/pl.po: Likewise.
34859 * po/vi.po: Likewise.
34860
370ca3d2
JM
348612012-07-03 Joseph Myers <joseph@codesourcery.com>
34862
95f5a9a8
JM
34863 * Makeconfig [!+link] (+link-before-libc): New variable.
34864 [!+link] (+link-after-libc): Likewise.
34865 [!+link] (+link-tests): Likewise.
34866 [!+link] (+link): Define in terms of $(+link-before-libc) and
34867 $(+link-after-libc).
34868 [!+link-static] (+link-static-before-libc): New variable.
34869 [!+link-static] (+link-static-after-libc): Likewise.
34870 [!+link-static] (+link-static-tests): Likewise.
34871 [!+link-static] (+link-static): Define in terms of
34872 $(+link-static-before-libc) and $(+link-static-after-libc).
34873 [build-shared] (link-libc-before-gnulib): New variable.
34874 [build-shared] (link-libc-tests): Likewise.
34875 [build-shared] (link-libc): Define in terms of
34876 $(link-libc-before-gnulib).
34877 [!build-shared] (link-libc-tests): New variable.
34878 (link-libc-static-tests): New variable.
34879 [!gnulib] (gnulib-arch): New variable.
34880 [!gnulib] (gnulib-tests): Likewise.
34881 [!gnulib] (static-gnulib-arch): Likewise.
34882 [!gnulib] (static-gnulib-tests): Likewise.
34883 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
34884 Define with "=" instead of ":=".
34885 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
34886 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
34887 * Rules (binaries-all-notests): New variable.
34888 (binaries-all-tests): Likewise.
34889 (binaries-static-notests): Likewise.
34890 (binaries-static-tests): Likewise.
34891 (binaries-all): Define using $(binaries-all-notests) and
34892 $(binaries-all-tests).
34893 (binaries-static): Define using $(binaries-static-notests) and
34894 $(binaries-static-tests).
34895 (binaries-shared-tests): New variable.
34896 (binaries-shared-notests): Likewise.
34897 (binaries-shared): Remove variable.
34898 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
34899 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
34900 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
34901 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
34902 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
34903 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
34904 * elf/Makefile (sln-modules): New variable.
34905 (extra-objs): Add $(sln-modules:=.o).
34906 (ldconfig-modules): Add static-stubs.
34907 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
34908 * elf/static-stubs.c: New file.
34909
7a845b2c
JM
34910 [BZ #14283]
34911 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
34912 by 7 not 8 to examine high bit of fractional part. Use volatile
34913 variables when splitting into final array of floats if
34914 __FLT_EVAL_METHOD__ != 0.
34915 * math/libm-test.inc (cos_test): Add another test.
34916 (sin_test): Likewise.
34917 * sysdeps/i386/fpu/libm-test-ulps: Update.
34918
e2283f38
JM
34919 [BZ #14273]
34920 * math/libm-test.inc (cosh_test): Add more tests.
34921
370ca3d2
JM
34922 * version.h (RELEASE): Set to "development".
34923 (VERSION): Set to "2.16.90".
34924
ee9247c3
CD
349252012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
34926
34927 * NEWS: Update copyright. Remove last-updated date.
34928 Mention math library bug fixes and timezone data changes.
34929 * README: Mention GNU/Hurd, x32, and HPPA support status.
34930
4648c381
TS
349312012-06-28 Thomas Schwinge <thomas@codesourcery.com>
34932
34933 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
34934
aac78a43
AJ
349352012-06-27 Andreas Jaeger <aj@suse.de>
34936
34937 * manual/contrib.texi (Contributors): Add Samuel Thibault.
34938
ed3dbfad
AJ
349392012-06-25 Andreas Jaeger <aj@suse.de>
34940
34941 * sysdeps/s390/fpu/libm-test-ulps: Update.
34942
4d0ee855
AS
349432012-06-23 Andreas Schwab <schwab@linux-m68k.org>
34944 Thomas Schwinge <thomas@codesourcery.com>
34945
34946 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
34947 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
34948 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
34949 fanotify_mark.
34950
af1bce34
TS
349512012-06-23 Thomas Schwinge <thomas@codesourcery.com>
34952
a9fa33ba
TS
34953 * sysdeps/mach/start.c: Remove file.
34954 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
34955 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
34956 * sysdeps/sh/init-first.c: Likewise.
34957
58f902b8
TS
34958 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
34959 registers for frame unwinding purposes, add CFI directives.
34960 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
34961 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
34962 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
34963 Likewise.
34964
1518f58b
TS
34965 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
34966 __fortify_fail returning.
34967 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
34968
db9b5059
TS
34969 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
34970 sysdeps/sh/____longjmp_chk.S.
34971 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
34972 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
34973 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
34974 (gen-as-const-headers): Append sigaltstack-offsets.sym.
34975
967705fe
TS
34976 * sysdeps/sh/abort-instr.h: New file.
34977 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
34978 process in case exit returns.
34979
a9def8c4
TS
34980 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
34981 initialize the GOT register before use.
34982
2a649725
TS
34983 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
34984 calculation of ARGC > 4.
34985
af1bce34
TS
34986 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
34987 meaningful names to some local labels.
34988
d230f50a
KK
349892012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
34990 Kaz Kojima <kkojima@rr.iij4u.or.jp>
34991
34992 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
34993 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
34994 (__arch_compare_and_exchange_val_16_acq): Likewise.
34995 (__arch_compare_and_exchange_val_32_acq): Likewise.
34996 (atomic_exchange_and_add): Fix gUSA sequence.
34997 (atomic_add): Likewise.
34998 (atomic_add_negative): Likewise.
34999 (atomic_add_zero): Likewise.
35000 (atomic_bit_test_set): Likewise.
35001
0479b305
AS
350022012-06-22 Andreas Schwab <schwab@redhat.com>
35003
35004 [BZ #13579]
35005 * include/link.h (struct link_map): Add l_free_initfini.
35006 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
35007 l_initfini.
35008 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
35009 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
35010 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
35011 set.
35012
0e3933b9
CD
350132012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
35014
35015 * configure.in: Use AC_LANG_SOURCE.
35016 * configure: Regenerate.
35017
4248b1b1
RM
350182012-06-22 Roland McGrath <roland@hack.frob.com>
35019
35020 * configure.in (libc_cv_localstatedir): New substituted variable.
35021 * configure: Regenerated.
35022 * config.make.in (localstatedir): New variable, substituted from
35023 libc_cv_localstatedir.
35024 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
35025 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
35026 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
35027 * sysdeps/gnu/configure: Regenerated.
35028
006dd861
JL
350292012-06-21 Jeff Law <law@redhat.com>
35030
35031 [BZ #14277]
35032 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
35033 free. Simplify list management for _LIBC case.
35034
79662d42
JM
350352012-06-21 Joseph Myers <joseph@codesourcery.com>
35036
b7abb4bf
JM
35037 [BZ #14273]
35038 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
35039 Clear sign bit of 64-bit integer value before comparing against
35040 overflow value.
35041
79662d42
JM
35042 * sysdeps/mach/configure: Regenerated.
35043
1f150908
L
350442012-06-21 H.J. Lu <hongjiu.lu@intel.com>
35045
35046 [BZ #14278]
35047 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
35048
28363bbf
JL
350492012-06-21 Jeff Law <law@redhat.com>
35050
35051 [BZ #13882]
35052 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
35053 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 35054 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
35055 * elf/dl-open.c (dl_open_worker): Likewise.
35056
09615db4
CD
350572012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
35058
35059 * scripts/list-sources.sh: Scan PORTS for translations.
35060 * po/libc.pot: Regenerated.
35061
2174c6dd
AJ
350622012-06-21 Andreas Jaeger <aj@suse.de>
35063
35064 [BZ #12194]
35065 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
35066 warning.
35067 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
35068 * bits/byteswap-16.h (__bswap_16): Likewise.
35069 * bits/byteswap.h (__bswap_constant_16): Likewise.
35070
3ee947b1
L
350712012-06-18 H.J. Lu <hongjiu.lu@intel.com>
35072
35073 [BZ #14117]
a2f34833
L
35074 * sysdeps/i386/fpu_control.h: Removed.
35075 * sysdeps/x86_64/fpu_control.h: Moved to ...
35076 * sysdeps/x86/fpu_control.h: Here.
35077
3ee947b1
L
35078 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
35079 (_FPU_SETCW): Likewise.
35080
ed1825f8
L
350812012-06-15 H.J. Lu <hongjiu.lu@intel.com>
35082
25f1282a
L
35083 [BZ #14117]
35084 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
35085 * sysdeps/x86/fpu/bits/mathinline.h: This.
35086 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
35087
ed1825f8
L
35088 [BZ #14050]
35089 [BZ #14117]
35090 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
35091 functions if __x86_64__ is defined.
35092
36d54b74
CLT
350932012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
35094
35095 * string/endian.h: Add !__ASSEMBLER__ condition for including
35096 conversion interfaces.
35097
10285c21
JM
350982012-06-15 Joseph Myers <joseph@codesourcery.com>
35099
35100 [BZ #14241]
35101 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
35102 of ABS(x) in calculating zero to negative powers other than odd
35103 integers.
35104 * math/libm-test.inc (pow_test): Add more tests.
35105
06c5abbd
AJ
351062012-06-15 Andreas Jaeger <aj@suse.de>
35107
35108 * manual/contrib.texi (Contributors): Update entry of Liubov
35109 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
35110 Machado Filho.
35111
a3aeac40
CH
351122012-06-15 Cyril Hrubis <metan@ucw.cz>
35113
35114 * string/string.h: Add __wur to GNU version of strerror_r.
35115
49bdf4c1
L
351162012-06-14 H.J. Lu <hongjiu.lu@intel.com>
35117
35118 [BZ #14229]
35119 * string/Makefile (tests): Add tst-strtok_r.
35120 * string/tst-strtok_r.c: New file.
35121 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
35122 RAX_LP/RDX_LP on SAVE_PTR.
35123
834f9b8d
RM
351242012-06-14 Roland McGrath <roland@hack.frob.com>
35125
35126 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
35127
75fa1921
JM
351282012-06-14 Joseph Myers <joseph@codesourcery.com>
35129
35130 * libm_test.inc (csqrt_test): Allow more spurious underflow
35131 exceptions.
35132 (j0_test): Likewise.
35133 (j1_test): Likewise.
35134 (y0_test): Likewise.
35135 (y1_test): Likewise.
35136
771766df
CD
351372012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
35138
35139 * po/Makefile (libc.pot): Use UTF-8 charset.
35140
ceb9e56b
PP
351412012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
35142
35143 [BZ #14210]
35144 Suppress sign-conversion warning from FD_SET.
35145 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
35146 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
35147 not unsigned long int.
35148 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
35149
ddb28975
L
351502012-06-12 H.J. Lu <hongjiu.lu@intel.com>
35151
35152 [BZ #14050]
35153 [BZ #14117]
35154 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
35155 __extern_always_inline instead of __extern_inline.
35156 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
35157 (__signbit): Likewise.
35158 (__signbitl): Support C++ namespace.
35159 (lrintf): New inline function.
35160 (lrint): Likewise.
35161 (llrintf): Likewise.
35162 (llrint): Likewise.
35163 (fmaxf): Likewise.
35164 (fmax): Likewise.
35165 (fminf): Likewise.
35166 (fmin): Likewise.
35167 (rint): Likewise.
35168 (rintf): Likewise.
35169 (ceil): Likewise.
35170 (ceilf): Likewise.
35171 (floor): Likewise.
35172 (floorf): Likewise.
35173 (nearbyint): Likewise.
35174 (nearbyintf): Likewise.
35175
d7b4fb26
TS
351762012-06-12 Thomas Schwinge <thomas@codesourcery.com>
35177
35178 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
35179 non-default versions.
35180
eb55f5c2
RM
351812012-06-11 Roland McGrath <roland@hack.frob.com>
35182
35183 [BZ #14218]
35184 * manual/argp.texi (Argp): Reword argp_parse description slightly.
35185
366af02c
TS
351862012-06-09 Thomas Schwinge <thomas@codesourcery.com>
35187
99ff6e5c
TS
35188 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
35189 (FE_UPWARD, FE_DOWNWARD): Don't define.
35190 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
35191 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
35192
366af02c
TS
35193 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
35194 reading it.
35195 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
35196 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
35197
793ea851
KK
351982012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
35199
35200 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
35201 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
35202 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
35203 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
35204
a728a38f
L
352052012-06-06 H.J. Lu <hongjiu.lu@intel.com>
35206
35207 [BZ #14117]
c08010c7
L
35208 * sysdeps/i386/fpu/bits/fenv.h: Removed.
35209 * sysdeps/i386/fpu/Implies: New file.
35210 * sysdeps/x86_64/fpu/Implies: Likewise.
35211 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
35212 * sysdeps/x86/fpu/bits/fenv.h: This.
35213
a728a38f
L
35214 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
35215 __SSE_MATH__.
35216
6e230d11
SP
352172012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
35218
35219 [BZ #14134]
35220 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
35221 character 0xffff that matches the last element of the
35222 conversion table.
35223
1b671feb
AZ
352242012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35225
35226 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
35227 fmodl commit.
35228
6043738b
AZ
352292012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35230
35231 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
35232 values higher than 25.6283.
35233
34ae0b32
AZ
352342012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35235
35236 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
35237 subnormal exponent extraction and add some __builtin_expect.
35238 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
35239 Fix for subnormal mantissa calculation.
35240
1214ec8f
MF
352412012-06-04 Mike Frysinger <vapier@gentoo.org>
35242
35243 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
35244 cpu2 is -1 and errno is not ENOSYS.
35245
f3d1f93c
L
352462012-06-04 H.J. Lu <hongjiu.lu@intel.com>
35247
35248 [BZ #14117]
0e4a3cd7
L
35249 * sysdeps/i386/i486/bits/string.h: Renamed to ...
35250 * sysdeps/x86/bits/string.h: This.
35251 * sysdeps/x86_64/bits/string.h: Removed.
35252
6704c645
L
35253 * sysdeps/i386/i486/bits/string.h: Define inline functions only
35254 if not compiling for x86-64, but compiling for >= i486.
35255
48495318
L
35256 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
35257 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
35258
14adcbfc
L
35259 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
35260 New macro from Linux kernel 3.4.0.
35261 (FP_XSTATE_MAGIC2): Likewise.
35262 (FP_XSTATE_MAGIC2_SIZE): Likewise.
35263 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
35264 (struct _fpx_sw_bytes): New struct.
35265 (struct _xsave_hdr): Likewise.
35266 (struct _ymmh_state): Likewise.
35267 (struct _xstate): Likewise.
35268
68e408ab
L
35269 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
35270 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
35271 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
35272 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
35273 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
35274 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
35275
f3d1f93c
L
35276 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
35277 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
35278 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
35279 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
35280 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
35281 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
35282
d9dc34cd
TMQMF
352832012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
35284
35285 [BZ #13743]
35286 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
35287 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
35288 (sysdep_headers): Include sys/platform/ppc.h.
35289 * sysdeps/powerpc/test-gettimebase.c: Test for
35290 __ppc_get_timebase() to catch future ISA opcode/insn changes.
35291 * manual/Makefile (appendices): Include platform.texi.
35292 * manual/contrib.texi (Contributors): Update @node pointers.
35293 * manual/maint.texi (Maintenance): Likewise.
35294 (Platform): New node.
35295 * manual/platform.texi: New file. Document the new features.
35296
4af3879c
SP
352972012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
35298 Jakub Jelinek <jakub@redhat.com>
35299
35300 [BZ #14188]
35301 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
35302 where __builtin_expect is unavailable.
35303
2fd6ff13
DM
353042012-06-03 David S. Miller <davem@davemloft.net>
35305
35306 * stdlib/longlong.h: Updated from GCC.
35307
173f7220
AS
353082012-06-02 Andreas Schwab <schwab@linux-m68k.org>
35309
35310 [BZ #14042]
35311 * sysdeps/powerpc/powerpc32/mcount.c: New file.
35312 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
35313 __mcount_internal.
35314 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
35315 (GLIBC_2.16): Likewise.
35316
f34a1c6f
L
353172012-06-01 H.J. Lu <hongjiu.lu@intel.com>
35318
35319 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
35320
88a4576f
JM
353212012-06-01 Joseph Myers <joseph@codesourcery.com>
35322
ea32bcdd
JM
35323 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
35324 (default-abi): New variable.
35325 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
35326 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
35327 variable.
35328 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
35329 Likewise.
35330 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
35331 Likewise.
35332 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
35333 Likewise.
35334
88a4576f
JM
35335 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
35336 definition. Document in comment.
35337
402fe938
DM
353382012-06-01 David S. Miller <davem@davemloft.net>
35339
35340 * stdlib/longlong.h: Updated from GCC.
35341
3553723f
L
353422012-06-01 H.J. Lu <hongjiu.lu@intel.com>
35343
35344 [BZ #14117]
3bd872c4
L
35345 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
35346 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
35347 sys/debugreg.h sys/io.h here.
35348 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
35349 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
35350 sys/io.h.
35351 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
35352 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
35353 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
35354 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
35355 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
35356 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
35357
3553723f
L
35358 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
35359 Define only if __x86_64__ is defined.
35360
4842e4fe
JM
353612012-06-01 Joseph Myers <joseph@codesourcery.com>
35362
c5bfe3d5
JM
35363 [BZ #14048]
35364 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
35365 Use int64_t for variable i.
35366 * math/libm-test.inc (fmod_test): Add more tests.
35367
4842e4fe
JM
35368 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
35369 z computation is not scheduled after fetestexcept.
35370 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
35371 Use math_force_eval instead of asm to ensure calculation scheduled
35372 before exception test.
35373 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
35374 Ensure a1 + u.d computation is not scheduled after fetestexcept.
35375
efb73488
AJ
353762012-06-01 Aurelien Jarno <aurelien@aurel32.net>
35377
35378 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
35379 computation is not scheduled after fetestexcept.
35380
29bcce7c
L
353812012-06-01 H.J. Lu <hongjiu.lu@intel.com>
35382
35383 [BZ #14117]
35384 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
35385 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
35386
73a68f94
AZ
353872012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35388
35389 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
35390 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
35391
67b6df78
L
353922012-05-31 H.J. Lu <hongjiu.lu@intel.com>
35393
edf2933a 35394 [BZ #14117]
ebc64a18
L
35395 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
35396 <bits/wordsize.h>.
35397 (__WCHAR_MIN): Support __WORDSIZE == 64.
35398 (__WCHAR_MAX): Likewise.
35399
edf2933a
L
35400 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
35401 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
35402
57c6cf40
L
35403 [BZ #14183]
35404 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
35405 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
35406
67b6df78 35407 [BZ #14117]
8eb6281e
L
35408 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
35409 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
35410
aac639f4
L
35411 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
35412 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
35413
67b6df78
L
35414 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
35415 Defined to 1 if __x86_64__ isn't defined.
35416 (_STAT_VER_LINUX_OLD): New.
35417 (st_atime): Remove duplicate.
35418 (st_mtime): Likewise.
35419 (st_ctime): Likewise.
35420
1c2cfe81
DM
354212012-05-31 David S. Miller <davem@davemloft.net>
35422
35423 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
35424 entries.
35425
5be8418c
AS
354262012-06-01 Andreas Schwab <schwab@linux-m68k.org>
35427
e7725326
AS
35428 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
35429 gen-libm-test.pl.
35430
5be8418c
AS
35431 [BZ #14132]
35432 * elf/dl-reloc.c: Include <_itoa.h>.
35433 (_dl_reloc_bad_type): Remove use of INTUSE.
35434 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
35435 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
35436 * stdio-common/psiginfo.c (psiginfo): Likewise.
35437 * stdio-common/psignal.c (psignal): Likewise.
35438 * string/strsignal.c (strsignal): Likewise.
35439 * include/signal.h (_sys_siglist): Declare hidden proto.
35440 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
35441 INTVARDEF with libc_hidden_data_def.
35442 * stdio-common/itoa-udigits.c: Likewise.
35443 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
35444 (_itoa_lower_digits_internal): Remove declaration.
35445 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
35446 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
35447 (_sys_sigabbrev_internal): Remove aliases.
35448 (_sys_siglist): Define hidden alias.
35449
507352f1
MT
354502012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
35451
35452 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
35453 bits/sysctl.h.
35454
42bbb1c3
L
354552012-05-31 H.J. Lu <hongjiu.lu@intel.com>
35456
35457 [BZ #14117]
6bd784b6
L
35458 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
35459 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
35460
8bca20f0
L
35461 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
35462 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
35463 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
35464 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
35465 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
35466 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
35467
f9e890a9
L
35468 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
35469 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
35470 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
35471
471101a1
L
35472 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
35473 with __addr.
35474 (insw): Likewise.
35475 (insl): Likewise.
35476 (outsb): Likewise.
35477 (outsw): Likewise.
35478 (outsl): Likewise.
35479
6451c862
L
35480 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
35481 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
35482 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
35483
a254b8c9
L
35484 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
35485 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
35486 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
35487 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
35488 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
35489 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
35490
b8dfdd92
L
35491 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
35492 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
35493
578cd270
L
35494 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
35495 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
35496
de662f5f
L
35497 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
35498 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
35499 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
35500
25653439
L
35501 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
35502 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
35503 to ...
35504 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
35505
6bad24a0
L
35506 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
35507 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
35508 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
35509
42bbb1c3
L
35510 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
35511 for x86-64.
35512 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
35513
2d10d547
JM
355142012-05-31 Joseph Myers <joseph@codesourcery.com>
35515
35516 * math/math.h (M_El): Use two more decimal places.
35517 (M_LOG2El): Likewise.
35518 (M_LOG10El): Likewise.
35519 (M_LN2l): Likewise.
35520 (M_LN10l): Likewise.
35521 (M_PIl): Likewise.
35522 (M_PI_2l): Likewise.
35523 (M_PI_4l): Likewise.
35524 (M_1_PIl): Likewise.
35525 (M_2_PIl): Likewise.
35526 (M_2_SQRTPIl): Likewise.
35527 (M_SQRT2l): Likewise.
35528 (M_SQRT1_2l): Likewise.
35529
f230c29b
DM
355302012-05-31 David S. Miller <davem@davemloft.net>
35531
35532 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
35533 values between float registers.
35534 * sysdeps/sparc/sparc64/memset.S: Likewise.
35535 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
35536
fed806c3
MF
355372012-05-31 Mike Frysinger <vapier@gentoo.org>
35538
35539 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
35540 -D_FORTIFY_SOURCE=1.
35541 (CPPFLAGS-tst-longjmp_chk.c): Define.
35542 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
35543 (CPPFLAGS-tst-longjmp_chk2.c): Define.
35544 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
35545 CFLAGS-tst-wchar-h.c.
35546
30917259
MP
355472012-05-31 Marek Polacek <polacek@redhat.com>
35548
35549 [BZ #14132]
35550 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
35551 __endmntent_internal): Remove declaration.
35552 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
35553 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
35554 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
35555
1c58d5dc
DM
355562012-05-30 David S. Miller <davem@davemloft.net>
35557
35558 * sysdeps/sparc/sparc32/soft-fp/q_util.c
35559 (___Q_simulate_exceptions): Use real FP ops rather than writing
35560 into the %fsr.
35561 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
35562 Likewise.
35563
7dc00e0d
L
355642012-05-30 H.J. Lu <hongjiu.lu@intel.com>
35565
35566 [BZ #14117]
0bd53985
L
35567 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
35568 * sysdeps/x86/bits/xtitypes.h: This.
35569
3a257e66
L
35570 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
35571 * sysdeps/x86/bits/wordsize.h: This.
35572
62f62904
L
35573 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
35574 * sysdeps/x86/bits/huge_vall.h: This.
35575
404fe9d9
L
35576 * sysdeps/i386/bits/select.h: Removed.
35577 * sysdeps/x86_64/bits/select.h: Renamed to ...
35578 * sysdeps/x86/bits/select.h: This.
35579
d48d0446
L
35580 * sysdeps/i386/bits/setjmp.h: Removed.
35581 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
35582 * sysdeps/x86/bits/setjmp.h: This.
35583
7dc00e0d
L
35584 * sysdeps/i386/bits/mathdef.h: Removed.
35585 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
35586 * sysdeps/x86/bits/mathdef.h: This.
35587
03277f8f
AS
355882012-05-30 Andreas Schwab <schwab@linux-m68k.org>
35589
35590 [BZ #14132]
35591 * include/sys/socket.h (__connect_internal)
35592 (__libc_sa_len_internal): Remove declaration.
35593 (__connect, __libc_sa_len): Declare hidden_proto.
35594 (SA_LEN): Remove use of INTUSE.
35595 * socket/connect.c: Add libc_hidden_def.
35596 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
35597 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
35598 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
35599 alias.
35600 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
35601 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
35602 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
35603 of adding _internal alias.
35604
13764867
L
356052012-05-30 H.J. Lu <hongjiu.lu@intel.com>
35606
35607 [BZ #14117]
6bd97696
L
35608 * sysdeps/i386/bits/link.h: Removed.
35609 * sysdeps/i386/bits/linkmap.h: Likewise.
35610 * sysdeps/x86_64/bits/link.h: Renamed to ...
35611 * sysdeps/x86/bits/link.h: This.
35612 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
35613 * sysdeps/x86/bits/linkmap.h: This.
35614
f726f0bb
L
35615 * sysdeps/i386/bits/endian.h: Removed.
35616 * sysdeps/x86_64/bits/endian.h: Renamed to ...
35617 * sysdeps/x86/bits/endian.h: This.
35618
13764867
L
35619 * sysdeps/i386/bits/byteswap.h: Removed.
35620 * sysdeps/i386/bits/byteswap-16.h: Likewise.
35621 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
35622 * sysdeps/x86/bits/byteswap.h: This.
35623 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
35624 * sysdeps/x86/bits/byteswap-16.h: This.
35625 * sysdeps/i386/Implies: Add x86.
35626 * sysdeps/x86_64/Implies: Likewise.
35627
ae251b0b
DM
356282012-05-30 David S. Miller <davem@davemloft.net>
35629
35630 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
35631 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
35632 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
35633 (FP_TRAPPING_EXCEPTIONS): Define.
35634 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
35635 (FP_TRAPPING_EXCEPTIONS): Define.
35636 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
35637 subnormals only when inexact has been signalled or underflow
35638 exceptions are enabled.
35639 (_FP_PACK_CANONICAL): Likewise.
35640
d5c90867
L
356412012-05-30 H.J. Lu <hongjiu.lu@intel.com>
35642
35643 [BZ #14183]
35644 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
35645 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
35646
63f1549e
RH
356472012-05-30 Richard Henderson <rth@twiddle.net>
35648
8d8f2279
RH
35649 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
35650 with #ifndef NOT_IN_libc.
35651
63f1549e
RH
35652 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
35653 marked to avoid plt entry.
35654
0ab0291b
L
356552012-05-30 H.J. Lu <hongjiu.lu@intel.com>
35656
35657 [BZ #14112]
35658 * Makeconfig (default-abi): New macro.
35659 (abi-includes): Likewise.
35660 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
35661 $(abi-$(default-abi)-lib-soname) for soname if defined.
35662 ($(common-objpfx)gnu/lib-names.stmp): Generate from
35663 abi-variants.
35664 * Makefile (installed-stubs): Likewise.
35665 * include/stubs-biarch.h: Removed.
35666 * scripts/lib-names.awk: Only handle one library at a time.
35667 * scripts/soversions.awk: Remove WORDSIZE support.
35668 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
35669 entries.
35670 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
35671 Removed.
35672 (syscall-list-default-condition): Likewise.
35673 (syscall-list-default-condition): Likewise.
35674 (syscall-list-includes): Likewise.
35675 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
35676 syscall-list-* with abi-*. Handle undefined abi-variants.
35677 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
35678 * sysdeps/unix/sysv/linux/i386/Implies: New file.
35679 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
35680 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
35681 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
35682 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
35683 Removed.
35684 (syscall-list-32-options): Likewise.
35685 (syscall-list-32-condition): Likewise.
35686 (syscall-list-64-options): Likewise.
35687 (syscall-list-64-condition): Likewise.
35688 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
35689 macro.
35690 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
35691 Renamed to ...
35692 (abi-*): This.
35693 (abi-64-ld-soname): New macro.
35694 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
35695 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
35696 Renamed to ...
35697 (abi-*): This.
35698 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
35699 * sysdeps/x86_64/x32/shlib-versions: Likewise.
35700
4da0431d
JM
357012012-05-30 Joseph Myers <joseph@codesourcery.com>
35702
3a85279c
JM
35703 * sysdeps/unix/sysv/linux/kernel-features.h
35704 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
35705 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
35706 include <kernel-features.h>.
35707 [!__NR_ftruncate64]: Remove conditional code.
35708 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
35709 [__NR_ftruncate64]: Make code unconditional.
35710 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
35711 * sysdeps/unix/sysv/linux/truncate64.c: Do not
35712 include <kernel-features.h>.
35713 [!__NR_ftruncate64]: Remove conditional code.
35714 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
35715 [__NR_ftruncate64]: Make code unconditional.
35716 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
35717 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
35718 include <kernel-features.h>.
35719 [!__NR_ftruncate64]: Remove conditional code.
35720 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
35721 [__NR_ftruncate64]: Make code unconditional.
35722 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
35723 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
35724 include <kernel-features.h>.
35725 [!__NR_ftruncate64]: Remove conditional code.
35726 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
35727 [__NR_ftruncate64]: Make code unconditional.
35728 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
35729
4da0431d
JM
35730 * configure.in (libc_cv_fpie): Weaken to a compile test using
35731 LIBC_TRY_CC_OPTION.
35732 * configure: Regenerated.
35733
11ef492c
AK
357342012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
35735
35736 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
35737 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
35738 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
35739 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
35740 Refreshed.
35741 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
35742 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
35743 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
35744 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
35745 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
35746 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
35747 Refreshed.
35748
d66ef399
DM
357492012-05-27 David S. Miller <davem@davemloft.net>
35750
35751 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
35752 (___Q_zero): New.
35753 (__Q_simulate_exceptions): Return void. Change to simulate
35754 exceptions by writing into the %fsr.
35755 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
35756 (__Qp_handle_exceptions): Likewise.
35757 (numbers): Delete.
35758 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
35759 __Qp_handle_exceptions.
35760 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
35761 __Qp_handle_exceptions.
35762 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
35763 as unused and give dummy FP_RND_NEAREST initializer.
35764 (FP_INHIBIT_RESULTS): Define.
35765 (___Q_simulate_exceptions): Update declaration.
35766 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
35767 formatting.
35768 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
35769 as unused and give dummy FP_RND_NEAREST initializer.
35770 (__Qp_handle_exceptions): Update declaration.
35771 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
35772 formatting.
35773
04fb54b5
TS
357742012-05-27 Thomas Schwinge <thomas@codesourcery.com>
35775
35776 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
35777 the temporary FPU control word.
35778 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
35779 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
35780 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
35781 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
35782 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
35783 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
35784 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
35785 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
35786 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
35787 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
35788 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
35789
3f99608f
KK
357902012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
35791
35792 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
35793 fields.
35794
65a4de4e
CLT
357952012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
35796
35797 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
35798 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
35799 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
35800 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
35801 Likewise.
35802 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
35803 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
35804 Likewise.
35805
15749d40
UD
358062012-05-27 Ulrich Drepper <drepper@gmail.com>
35807
35808 * po/h.po: Update from translation team.
35809
25dbcb27
AS
358102012-05-26 Andreas Schwab <schwab@linux-m68k.org>
35811
3d3f8e55
AS
35812 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
35813
25dbcb27
AS
35814 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
35815 handling of denormals.
35816 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
35817 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
35818 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
35819 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
35820 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
35821 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
35822 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
35823 Likewise.
35824
7ad47a80 358252012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
35826
35827 [BZ #14152]
35828 * math/libm-test.inc (fma_test): Don't always expect underflow
35829 exception.
35830
9c6ea9fa
SP
358312012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
35832
35833 [BZ #12416]
35834 * elf/tst-execstack.c: Include stackinfo.h.
35835 (do_test): Adjust test case to ensure that pthread_getattr_np
35836 behaviour remains the same after marking stack executable.
35837
a8239222
JM
358382012-05-25 Joseph Myers <joseph@codesourcery.com>
35839
35840 * sysdeps/unix/sysv/linux/kernel-features.h
35841 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
35842 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
35843 kernel-features.h.
35844 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
35845 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
35846 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
35847 kernel-features.h.
35848 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
35849 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
35850
918b5606
L
358512012-05-25 H.J. Lu <hongjiu.lu@intel.com>
35852
35853 * configure.in: Define the default includes to being none.
35854 * configure: Regenerated.
35855
3a097cc7
RM
358562012-05-25 Roland McGrath <roland@hack.frob.com>
35857
8422c9a5
RM
35858 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
35859 * sysdeps/x86_64/setjmp.S: Likewise.
35860 * sysdeps/i386/bsd-setjmp.S: Likewise.
35861 * sysdeps/i386/bsd-_setjmp.S: Likewise.
35862 * sysdeps/i386/setjmp.S: Likewise.
35863 * sysdeps/i386/__longjmp.S: Likewise.
35864 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
35865 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
35866
3a097cc7
RM
35867 * include/stap-probe.h: New file.
35868 * configure.in: Handle --enable-systemtap.
35869 * configure: Regenerated.
35870 * config.h.in (USE_STAP_PROBE): New #undef.
35871 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
35872 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
35873 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
35874
21708942
JM
358752012-05-25 Joseph Myers <joseph@codesourcery.com>
35876
35877 [BZ #13717]
35878 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
35879 to 2.4.0 where earlier.
35880 * sysdeps/unix/sysv/linux/configure: Regenerated.
35881 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
35882 <kernel-features.h>.
35883 [__ASSUME_32BITUIDS]: Make code unconditional.
35884 [!__ASSUME_32BITUIDS]: Remove conditional code.
35885 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
35886 <kernel-features.h>.
35887 [__ASSUME_32BITUIDS]: Make code unconditional.
35888 [!__ASSUME_32BITUIDS]: Remove conditional code.
35889 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
35890 [__ASSUME_32BITUIDS]: Make code unconditional.
35891 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
35892 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
35893 <kernel-features.h>.
35894 [__ASSUME_32BITUIDS]: Make code unconditional.
35895 [!__ASSUME_32BITUIDS]: Remove conditional code.
35896 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
35897 <kernel-features.h>.
35898 [__ASSUME_32BITUIDS]: Make code unconditional.
35899 [!__ASSUME_32BITUIDS]: Remove conditional code.
35900 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
35901 <kernel-features.h>.
35902 [__ASSUME_32BITUIDS]: Make code unconditional.
35903 [!__ASSUME_32BITUIDS]: Remove conditional code.
35904 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
35905 <kernel-features.h>.
35906 [__ASSUME_32BITUIDS]: Make code unconditional.
35907 [!__ASSUME_32BITUIDS]: Remove conditional code.
35908 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
35909 <kernel-features.h>.
35910 [__ASSUME_32BITUIDS]: Make code unconditional.
35911 [!__ASSUME_32BITUIDS]: Remove conditional code.
35912 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
35913 <kernel-features.h>.
35914 [__ASSUME_32BITUIDS]: Make code unconditional.
35915 [!__ASSUME_32BITUIDS]: Remove conditional code.
35916 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
35917 <kernel-features.h>.
35918 [__ASSUME_32BITUIDS]: Make code unconditional.
35919 [!__ASSUME_32BITUIDS]: Remove conditional code.
35920 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
35921 <kernel-features.h>.
35922 [__ASSUME_32BITUIDS]: Make code unconditional.
35923 [!__ASSUME_32BITUIDS]: Remove conditional code.
35924 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
35925 <kernel-features.h>.
35926 [__ASSUME_32BITUIDS]: Make code unconditional.
35927 [!__ASSUME_32BITUIDS]: Remove conditional code.
35928 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
35929 <kernel-features.h>.
35930 [__ASSUME_32BITUIDS]: Make code unconditional.
35931 [!__ASSUME_32BITUIDS]: Remove conditional code.
35932 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
35933 <kernel-features.h>.
35934 [__NR_setresgid] (__setresgid): Do not declare.
35935 [__ASSUME_32BITUIDS]: Make code unconditional.
35936 [!__ASSUME_32BITUIDS]: Remove conditional code.
35937 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
35938 <kernel-features.h>.
35939 [__NR_setresuid] (__setresuid): Do not declare.
35940 [__ASSUME_32BITUIDS]: Make code unconditional.
35941 [!__ASSUME_32BITUIDS]: Remove conditional code.
35942 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
35943 <kernel-features.h>.
35944 [__ASSUME_32BITUIDS]: Make code unconditional.
35945 [!__ASSUME_32BITUIDS]: Remove conditional code.
35946 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
35947 <kernel-features.h>.
35948 [__ASSUME_32BITUIDS]: Make code unconditional.
35949 [!__ASSUME_32BITUIDS]: Remove conditional code.
35950 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
35951 <kernel-features.h>.
35952 [__ASSUME_32BITUIDS]: Make code unconditional.
35953 [!__ASSUME_32BITUIDS]: Remove conditional code.
35954 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
35955 <kernel-features.h>.
35956 [__ASSUME_32BITUIDS]: Make code unconditional.
35957 [!__ASSUME_32BITUIDS]: Remove conditional code.
35958 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
35959 <kernel-features.h>.
35960 [__ASSUME_32BITUIDS]: Make code unconditional.
35961 [!__ASSUME_32BITUIDS]: Remove conditional code.
35962 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
35963 <kernel-features.h>.
35964 [__ASSUME_32BITUIDS]: Make code unconditional.
35965 [!__ASSUME_32BITUIDS]: Remove conditional code.
35966 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
35967 <kernel-features.h>.
35968 [__ASSUME_32BITUIDS]: Make code unconditional.
35969 [!__ASSUME_32BITUIDS]: Remove conditional code.
35970 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
35971 <kernel-features.h>.
35972 [__ASSUME_32BITUIDS]: Make code unconditional.
35973 [!__ASSUME_32BITUIDS]: Remove conditional code.
35974 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
35975 <kernel-features.h>.
35976 [__ASSUME_32BITUIDS]: Make code unconditional.
35977 [!__ASSUME_32BITUIDS]: Remove conditional code.
35978 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
35979 <kernel-features.h>.
35980 [__ASSUME_32BITUIDS]: Make code unconditional.
35981 [!__ASSUME_32BITUIDS]: Remove conditional code.
35982 * sysdeps/unix/sysv/linux/kernel-features.h
35983 (__ASSUME_SETRESUID_SYSCALL): Remove.
35984 (__ASSUME_SETRESGID_SYSCALL): Likewise.
35985 (__ASSUME_32BITUIDS): Likewise.
35986 (__ASSUME_LDT_WORKS): Likewise.
35987 (__ASSUME_O_DIRECTORY): Likewise.
35988 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
35989 architecture but not kernel version.
35990 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
35991 (__ASSUME_MMAP2_SYSCALL): Likewise.
35992 (__ASSUME_STAT64_SYSCALL): Likewise.
35993 (__ASSUME_IPC64): Likewise.
35994 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
35995 <kernel-features.h>.
35996 [__ASSUME_32BITUIDS]: Make code unconditional.
35997 [!__ASSUME_32BITUIDS]: Remove conditional code.
35998 * sysdeps/unix/sysv/linux/opendir.c: Do not include
35999 <kernel-features.h>.
36000 [__ASSUME_O_DIRECTORY]: Make code unconditional.
36001 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
36002 132096]: Remove conditional code.
36003 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
36004 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
36005 <kernel-features.h>.
36006 [__ASSUME_32BITUIDS]: Make code unconditional.
36007 [!__ASSUME_32BITUIDS]: Remove conditional code.
36008 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
36009 <kernel-features.h>.
36010 [__ASSUME_32BITUIDS]: Make code unconditional.
36011 [!__ASSUME_32BITUIDS]: Remove conditional code.
36012 * sysdeps/unix/sysv/linux/setegid.c: Do not include
36013 <kernel-features.h>.
36014 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
36015 unconditional.
36016 (__setresgid): Do not declare.
36017 [__ASSUME_32BITUIDS]: Make code unconditional.
36018 [!__ASSUME_32BITUIDS]: Remove conditional code.
36019 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
36020 <kernel-features.h>.
36021 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
36022 unconditional.
36023 (__setresuid): Do not declare.
36024 [__ASSUME_32BITUIDS]: Make code unconditional.
36025 [!__ASSUME_32BITUIDS]: Remove conditional code.
36026 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
36027 <kernel-features.h>.
36028 [__ASSUME_32BITUIDS]: Make code unconditional.
36029 [!__ASSUME_32BITUIDS]: Remove conditional code.
36030 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
36031 <kernel-features.h>.
36032 [__ASSUME_32BITUIDS]: Make code unconditional.
36033 [!__ASSUME_32BITUIDS]: Remove conditional code.
36034
a386f1cc
RH
360352012-05-25 Richard Henderson <rth@twiddle.net>
36036
36037 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
36038 dl_hwcap to ifunc resolver.
36039 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
36040 elf_ifunc_invoke.
36041 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
36042 dl_hwcap to ifunc resolver.
36043 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
36044
b6550497
JM
360452012-05-24 Joseph Myers <joseph@codesourcery.com>
36046
36047 [BZ #14153]
36048 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
36049 for |x| <= 2**-26, not 2**-57.
36050 * math/libm-test.inc (acos_test): Do not allow spurious underflow
36051 exception.
36052
b0bc23a1
JL
360532012-05-24 Jeff Law <law@redhat.com>
36054
36055 * stdio-common/Makefile (tests): Add bug25.
36056 * stdio-common/bug25.c: New test.
36057
347c92e9
L
360582012-05-24 H.J. Lu <hongjiu.lu@intel.com>
36059
36060 [BZ #13576]
36061 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
36062 multiple of MALLOC_ALIGNMENT in size.
36063 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
36064
6bcc8b3f
JM
360652012-05-24 Joseph Myers <joseph@codesourcery.com>
36066
36067 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
36068 Require >= 256.
36069 (FILENAME_MAX): Use macro-int-constant.
36070 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
36071 (_IOFBF): Use macro-int-constant.
36072 (_IOLBF): Likewise.
36073 (_IONBF): Likewise.
36074 (SEEK_CUR): Likewise.
36075 (SEEK_END): Likewise.
36076 (SEEK_SET): Likewise.
36077 (TMP_MAX): Likewise.
36078 (EOF): Use macro-int-constant. Require < 0.
36079 (NULL): Use macro-constant. Require == 0.
36080 (stdin): Require type to be FILE *.
36081 (stdout): Likewise.
36082 (stderr): Likewise.
36083 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
36084 macro-int-constant.
36085 (EXIT_SUCCESS): Likewise.
36086 (NULL): Use macro-constant. Require == 0.
36087 (RAND_MAX): Use macro-int-constant.
36088 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
36089 [C99-based standards] (strtof): Require function.
36090 [C99-based standards] (strtold): Likewise.
36091 [C99-based standards] (strtoll): Likewise.
36092 [C99-based standards] (strtoull): Likewise.
36093 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
36094 [ISO || ISO99 || ISO11] (limits.h): Likewise.
36095 [ISO || ISO99 || ISO11] (math.h): Likewise.
36096 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
36097 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
36098 [ISO || ISO99 || ISO11] (*_t): Do not allow.
36099
d18ea0c5
AS
361002012-05-24 Andreas Schwab <schwab@linux-m68k.org>
36101
36102 [BZ #14132]
56d25bb8
AS
36103 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
36104 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
36105 * intl/dgettext.c (DCGETTEXT): Likewise.
36106 * intl/gettext.c (DCGETTEXT): Likewise.
36107 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
36108 * posix/regex_internal.h (gettext): Likewise.
36109 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
36110 Remove declaration.
36111 * include/argz.h (__argz_count_internal)
36112 (__argz_stringify_internal): Remove declaration.
36113 (__argz_count, __argz_stringify): Declare hidden proto.
36114 * intl/dcgettext.c: Remove use of INTDEF.
36115 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
36116 * string/argz-stringify.c: Likewise.
36117 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
36118 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
36119 Declare hidden proto.
d18ea0c5
AS
36120 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
36121 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
36122 Declare hidden proto.
36123 * include/stdio.h (__asprintf_internal): Don't declare.
36124 (__asprintf): Don't define as macro. Declare hidden proto.
36125 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
36126 (__fsetlocking): Declare hidden proto.
36127 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
36128 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
36129 hidden proto.
36130 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
36131 (_IO_setlinebuf): Remove use of INTUSE.
36132 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
36133 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
36134 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
36135 Remove declaration.
36136 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
36137 (_IO_do_flush): Remove use of INTUSE.
36138 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
36139 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
36140 (_IO_adjust_column, _IO_least_wmarker)
36141 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
36142 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
36143 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
36144 (_IO_default_doallocate, _IO_wdefault_doallocate)
36145 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
36146 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
36147 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
36148 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
36149 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
36150 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
36151 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
36152 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
36153 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
36154 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
36155 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
36156 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
36157 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
36158 proto.
36159 (_IO_flush_all_internal, _IO_adjust_column_internal)
36160 (_IO_default_uflow_internal, _IO_default_finish_internal)
36161 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
36162 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
36163 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
36164 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
36165 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
36166 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
36167 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
36168 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
36169 (_IO_file_close_internal, _IO_file_close_it_internal)
36170 (_IO_file_underflow_internal, _IO_file_overflow_internal)
36171 (_IO_file_init_internal, _IO_file_attach_internal)
36172 (_IO_file_fopen_internal, _IO_file_read_internal)
36173 (_IO_file_sync_internal, _IO_file_seek_internal)
36174 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
36175 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
36176 (_IO_str_underflow_internal, _IO_str_overflow_internal)
36177 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
36178 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
36179 (_IO_list_all_internal, _IO_link_in_internal)
36180 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
36181 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
36182 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
36183 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
36184 (_IO_do_write_internal, _IO_padn_internal)
36185 (_IO_getline_info_internal, _IO_getline_internal)
36186 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
36187 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
36188 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
36189 (_IO_vfscanf_internal, _IO_vfprintf_internal)
36190 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
36191 (_IO_init_internal, _IO_un_link_internal): Don't declare.
36192 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
36193 with libc_hidden_ver, remove use of INTUSE.
36194 * libio/genops.c: Likewise.
36195 * libio/freopen.c: Likewise.
36196 * libio/freopen64.c: Likewise.
36197 * libio/iofclose.c: Likewise.
36198 * libio/iofdopen.c: Likewise.
36199 * libio/iofflush.c: Likewise.
36200 * libio/iofflush_u.c: Likewise.
36201 * libio/iofgets.c: Likewise.
36202 * libio/iofgets_u.c: Likewise.
36203 * libio/iofopen.c: Likewise.
36204 * libio/iofopncook.c: Likewise.
36205 * libio/iofread.c: Likewise.
36206 * libio/iofread_u.c: Likewise.
36207 * libio/ioftell.c: Likewise.
36208 * libio/iofwrite.c: Likewise.
36209 * libio/iogetline.c: Likewise.
36210 * libio/iogets.c: Likewise.
36211 * libio/iogetwline.c: Likewise.
36212 * libio/iopadn.c: Likewise.
36213 * libio/iopopen.c: Likewise.
36214 * libio/ioseekoff.c: Likewise.
36215 * libio/ioseekpos.c: Likewise.
36216 * libio/iosetbuffer.c: Likewise.
36217 * libio/iosetvbuf.c: Likewise.
36218 * libio/ioungetc.c: Likewise.
36219 * libio/ioungetwc.c: Likewise.
36220 * libio/iovdprintf.c: Likewise.
36221 * libio/iovsprintf.c: Likewise.
36222 * libio/iovsscanf.c: Likewise.
36223 * libio/memstream.c: Likewise.
36224 * libio/obprintf.c: Likewise.
36225 * libio/oldfileops.c: Likewise.
36226 * libio/oldiofclose.c: Likewise.
36227 * libio/oldiofdopen.c: Likewise.
36228 * libio/oldiofopen.c: Likewise.
36229 * libio/oldiopopen.c: Likewise.
36230 * libio/oldstdfiles.c: Likewise.
36231 * libio/putc.c: Likewise.
36232 * libio/setbuf.c: Likewise.
36233 * libio/setlinebuf.c: Likewise.
36234 * libio/stdfiles.c: Likewise.
36235 * libio/strops.c: Likewise.
36236 * libio/vasprintf.c: Likewise.
36237 * libio/vscanf.c: Likewise.
36238 * libio/vsnprintf.c: Likewise.
36239 * libio/vswprintf.c: Likewise.
36240 * libio/wfiledoalloc.c: Likewise.
36241 * libio/wfileops.c: Likewise.
36242 * libio/wgenops.c: Likewise.
36243 * libio/wmemstream.c: Likewise.
36244 * libio/wstrops.c: Likewise.
36245 * libio/__fpurge.c: Likewise.
36246 * libio/__fsetlocking.c: Likewise.
36247 * assert/assert.c: Likewise.
36248 * debug/fgets_chk.c: Likewise.
36249 * debug/fgets_u_chk.c: Likewise.
36250 * debug/fread_chk.c: Likewise.
36251 * debug/fread_u_chk.c: Likewise.
36252 * debug/gets_chk.c: Likewise.
36253 * debug/obprintf_chk.c: Likewise.
36254 * debug/vasprintf_chk.c: Likewise.
36255 * debug/vdprintf_chk.c: Likewise.
36256 * debug/vsnprintf_chk.c: Likewise.
36257 * debug/vsprintf_chk.c: Likewise.
36258 * malloc/mtrace.c: Likewise.
36259 * misc/error.c: Likewise.
36260 * misc/syslog.c: Likewise.
36261 * stdio-common/asprintf.c: Likewise.
36262 * stdio-common/fxprintf.c: Likewise.
36263 * stdio-common/getw.c: Likewise.
36264 * stdio-common/isoc99_fscanf.c: Likewise.
36265 * stdio-common/isoc99_scanf.c: Likewise.
36266 * stdio-common/isoc99_vfscanf.c: Likewise.
36267 * stdio-common/isoc99_vscanf.c: Likewise.
36268 * stdio-common/isoc99_vsscanf.c: Likewise.
36269 * stdio-common/printf-prs.c: Likewise.
36270 * stdio-common/printf_fp.c: Likewise.
36271 * stdio-common/printf_fphex.c: Likewise.
36272 * stdio-common/printf_size.c: Likewise.
36273 * stdio-common/putw.c: Likewise.
36274 * stdio-common/scanf.c: Likewise.
36275 * stdio-common/sprintf.c: Likewise.
36276 * stdio-common/tmpfile.c: Likewise.
36277 * stdio-common/vfprintf.c: Likewise.
36278 * stdio-common/vfscanf.c: Likewise.
36279 * stdlib/strfmon_l.c: Likewise.
36280 * sunrpc/openchild.c: Likewise.
36281 * sunrpc/xdr_stdio.c: Likewise.
36282 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
36283 * sysdeps/mach/hurd/tmpfile.c: Likewise.
36284
d6c33fda
RM
362852012-05-24 Roland McGrath <roland@hack.frob.com>
36286
c1487492
RM
36287 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
36288
36289 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
36290 in the third column, to generate for the shared library an IFUNC
36291 that uses _dl_vdso_vsym.
36292 * Makerules (COMPILE.c, compile-stdin.c): New variables.
36293 * Makeconfig (object-suffixes-noshared): New variable.
36294
36295 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
36296 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
36297 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
36298 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
36299
d6c33fda
RM
36300 [BZ #14132]
36301 * include/sys/time.h (__gettimeofday): Remove macro.
36302 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
36303 * time/gettimeofday.c (__gettimeofday): Remove #undef.
36304 Remove INTDEF.
36305 (__gettimeofday): Add libc_hidden_def.
36306 (gettimeofday): Add libc_hidden_weak.
36307 * sysdeps/mach/gettimeofday.c: Likewise.
36308 * sysdeps/posix/gettimeofday.c: Likewise.
36309 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
36310 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
36311 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
36312 (__gettimeofday_internal): Remove strong_alias.
36313 (__gettimeofday): Add libc_hidden_def.
36314 (gettimeofday): Add libc_hidden_weak.
36315 * sysdeps/unix/syscalls.list (gettimeofday):
36316 Remove __gettimeofday_internal alias.
36317
b5a2bbe6
L
363182012-05-24 Daniel Jacobowitz <drow@false.org>
36319 H.J. Lu <hongjiu.lu@intel.com>
36320
36321 [BZ #12495]
36322 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
36323 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
36324 (largebin_index_32_big): New.
36325 (largebin_index): Use it for 16-byte alignment.
36326 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
36327 correction with front_misalign.
36328
cfba4fda
L
363292012-05-24 H.J. Lu <hongjiu.lu@intel.com>
36330
7f907421
L
36331 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
36332 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
36333 Likewise.
36334 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
36335 Likewise.
36336 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
36337 Likewise.
36338 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
36339 Likewise.
36340 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
36341 Likewise.
36342 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
36343 Likewise.
36344 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
36345 Likewise.
36346 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
36347 Likewise.
36348 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
36349 Likewise.
36350 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
36351 Likewise.
36352 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
36353 Likewise.
36354 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
36355 Likewise.
36356
cfba4fda
L
36357 * scripts/data/c++-types-x32-linux-gnu.data: New file.
36358 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
36359
80bad0cc
JM
363602012-05-24 Joseph Myers <joseph@codesourcery.com>
36361
7a25eb06
JM
36362 [BZ #10846]
36363 [BZ #14036]
36364 * math/libm-test.inc (exp_test): Add test from bug 14036.
36365 (pow_test): Add test from bug 10846.
36366
795405f9
JM
36367 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
36368 and other flags.
36369 (special_function): Do not include flags in test name.
36370 (parse_args): Likewise.
36371 * sysdeps/i386/fpu/libm-test-ulps: Update.
36372 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
36373 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
36374 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
36375 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36376
80bad0cc
JM
36377 * math/gen-libm-test.pl (%beautify): Add entries for underflow
36378 exceptions.
36379 * math/libm-test.inc ("Philosophy"): Update comment about
36380 exception testing.
36381 (UNDERFLOW_EXCEPTION): New macro.
36382 (UNDERFLOW_EXCEPTION_OK): Likewise.
36383 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
36384 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
36385 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
36386 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
36387 (INVALID_EXCEPTION_OK): Update value.
36388 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
36389 (OVERFLOW_EXCEPTION_OK): Likewise.
36390 (IGNORE_ZERO_INF_SIGN): Likewise.
36391 (test_exceptions): Handle underflow exceptions.
36392 (acos_test): Update for underflow exception expectations.
36393 (cexp_test): Likewise.
36394 (clog_test): Likewise.
36395 (clog10_test): Likewise.
36396 (csqrt_test): Likewise.
36397 (ctan_test): Likewise.
36398 (ctanh_test): Likewise.
36399 (exp_test): Likewise.
36400 (exp10_test): Likewise.
36401 (exp2_test): Likewise.
36402 (expm1_test): Likewise.
36403 (fma_test): Likewise.
36404 (j0_test): Likewise.
36405 (jn_test): Likewise.
36406 (nexttoward_test): Likewise.
36407 (pow_test): Likewise.
36408 (scalbn_test): Likewise.
36409 (scalbln_test): Likewise.
36410 (tan_test): Likewise.
36411 (y1_test): Likewise.
36412 * sysdeps/i386/fpu/libm-test-ulps: Update.
36413 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36414
9e0e3d0b
DM
364152012-05-23 David S. Miller <davem@davemloft.net>
36416
36417 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
36418 (__libc_sigaction): Remove unused local variables.
36419
ccd0a08f
L
364202012-05-23 H.J. Lu <hongjiu.lu@intel.com>
36421
36422 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
36423
62bdf9a6
PE
364242012-05-23 Paul Eggert <eggert@cs.ucla.edu>
36425
f8591f80
PE
36426 mktime: avoid signed integer overflow
36427 * time/mktime.c (__mktime_internal): Do not mishandle the case
36428 where diff == INT_MIN.
36429
94c7d826
PE
36430 mktime: simplify computation of average
36431 * time/mktime.c (ranged_convert): Use new time_t_avg function
36432 instead of rolling our own (probably-slower) code.
36433
ce73d683
PE
36434 mktime: do not assume signed right shift propagates sign bit
36435 * time/mktime.c (isdst_differ): New static function.
36436 (__mktime_internal): No need to normalize tm_isdst now.
36437 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
36438 tm_isdst values.
36439
72a22e59
PE
36440 mktime: merge another wrapv change from gnulib
36441 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
36442 from some compilers.
36443
68605433
PE
36444 mktime: remove incorrect attempt at unusual arithmetics
36445 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
36446 The code didn't really work on such machines anyway.
36447 (TYPE_MINIMUM): Assume two's complement.
36448 (twos_complement_arithmetic): Verify that long_int and time_t
36449 are two's complement (or unsigned, in the latter case).
36450
03cf7fe3
PE
36451 mktime: check signed shifts on long_int and time_t, too
36452 * time/mktime.c (SHR): Check that shifts work as desired
36453 on the types long_int and time_t too, as SHR is used on
36454 such types.
36455
f04dfbc2
PE
36456 mktime: do not assume 'long' is wide enough
36457 * time/mktime.c (verify): Move decl up.
36458 (long_int): New type.
36459 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
36460 to remove assumption in the code that 'long' is wide enough to
36461 store year values. This assumption is not true on x32 and on
36462 some non-glibc platforms.
36463
62bdf9a6
PE
36464 mktime: merge wrapv change from gnulib
36465 * time/mktime.c (WRAPV): New macro.
36466 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
36467 (guess_time_tm, __mktime_internal): Do not assume that signed
36468 integer overflow wraps around; modern compilers generate code
36469 where this assumption is no longer valid.
36470
5e292e4f
L
364712012-05-23 H.J. Lu <hongjiu.lu@intel.com>
36472
36473 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
36474 Replace "jmp L(pseudo_end)" with "ret".
36475 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
36476 Likewise.
36477
8caf8c87
AJ
364782012-05-23 Andreas Jaeger <aj@suse.de>
36479
36480 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
36481 * sysdeps/unix/sysv/linux/poll.c: Remove file.
36482
1a09dc56
AJ
364832012-05-23 Andreas Jaeger <aj@suse.de>
36484 Maximilian Attems <max@stro.at>
36485
36486 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
36487 New macros.
36488
1c87aba0
L
364892012-05-23 H.J. Lu <hongjiu.lu@intel.com>
36490
36491 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
36492 code so that pseudo_end is just ret and the stack pointer is
36493 correct also for static library in error case.
36494
40e45bd5
JM
364952012-05-23 Joseph Myers <joseph@codesourcery.com>
36496
c2670533
JM
36497 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
36498 move to syscalls.list.
36499 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
36500 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
36501 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
36502 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
36503
40e45bd5
JM
36504 * manual/install.texi (Running make install): Do not mention Linux
36505 kernel version for which pt_chown is not needed.
36506 (Linux): Do not mention problems with nscd with 2.0 kernels.
36507 * INSTALL: Regenerated.
36508
be08eda5
AJ
365092012-05-23 Andreas Jaeger <aj@suse.de>
36510
36511 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
36512 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
36513 macro.
36514 * sysdeps/unix/sysv/linux/s390/bits/mman.h
36515 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
36516 * sysdeps/unix/sysv/linux/sh/bits/mman.h
36517 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
36518 * sysdeps/unix/sysv/linux/i386/bits/mman.h
36519 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
36520 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
36521 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
36522 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
36523 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
36524 * sysdeps/unix/sysv/linux/bits/in.h
36525 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
36526
a6a056bb
RM
365272012-05-22 Roland McGrath <roland@hack.frob.com>
36528
36529 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
36530 (PREPARE_VERSION): Just use assert instead, it will be elided
36531 under [NDEBUG] anyway.
36532
c9009328
L
365332012-05-22 H.J. Lu <hongjiu.lu@intel.com>
36534
36535 * sysdeps/unix/sysv/linux/Makefile: Include
36536 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 36537 (sysdep_routines): Remove sysctl.
c9009328
L
36538 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
36539 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
36540 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
36541 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
36542 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
36543
73338355
AJ
365442012-05-22 Andreas Jaeger <aj@suse.de>
36545
36546 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
36547 that pseudo_end is just ret and the stack pointer is correct also
36548 for static library in error case.
36549
d44638b0
PP
365502012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
36551
36552 [BZ #14122]
36553 * nss/nsswitch.c (defconfig_entries): New variable.
36554 (__nss_database_lookup): Don't leak defconfig entries.
36555 (nss_parse_service_list): Don't leak on error paths.
36556 (free_database_entries): New function.
36557 (free_defconfig): New function.
36558 (free_mem): Move common code to free_database_entries.
36559
31a39bd8
L
365602012-05-22 H.J. Lu <hongjiu.lu@intel.com>
36561
da0331a8
L
36562 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
36563 Add arch_prctl.
36564 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
36565
31a39bd8
L
36566 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
36567 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
36568 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
36569 New macro.
36570 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
36571 (INTERNAL_SYSCALL_TYPES): Likewise.
36572 (LOAD_ARGS_TYPES_[1-6]): Likewise.
36573 (LOAD_REGS_TYPES_[1-6]): Likewise.
36574 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
36575 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
36576
45470df3
AZ
365772012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36578
36579 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
36580 copysignl for GLIBC_2_0.
36581 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
36582 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
36583 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
36584 logbl for GLIBC_2_0.
36585 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
36586 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
36587
98a61bcb
L
365882012-05-22 H.J. Lu <hongjiu.lu@intel.com>
36589
a4f6e481
L
36590 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
36591 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
36592
f63d5db6
L
36593 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
36594 Use "neg %eax".
36595
98a61bcb
L
36596 * time/mktime.c: Update copyright years.
36597
95770f14
PE
365982012-05-22 Paul Eggert <eggert@cs.ucla.edu>
36599
6226efbd
PE
36600 mktime: merge comment-quoting-style change from gnulib
36601 * time/mktime.c: Quote 'like this' in comments.
36602 The GNU coding standards suggest that we no longer quote `like this',
36603 as "`" and "'" are typically rendered asymmetrically nowadays.
36604 The typical gnulib style is to quote 'like this' when quoting
36605 code, and "like this" when quoting English.
36606
b99e4f78
PE
36607 * time/mktime.c (compile-command): Add "-I.".
36608
643e01e6
PE
36609 mktime: merge mktime-internal.h change from gnulib
36610 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
36611
2554247d
PE
36612 mktime: merge time_r change from gnulib
36613 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
36614
826dd0ab
PE
36615 mktime: merge DEBUG change from gnulib
36616 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
36617 case system <time.h> has a #define.
36618
bd83aabe
PE
36619 mktime: merge <sys/types.h> change from gnulib
36620 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
36621 since <time.t> is now guaranteed to define time_t.
36622
95770f14
PE
36623 mktime: merge HAVE_CONFIG_H change from gnulib
36624 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
36625
5e1a27a9
L
366262012-05-22 H.J. Lu <hongjiu.lu@intel.com>
36627
0e44a77e
L
36628 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
36629 Use "neg %eax".
36630
5e1a27a9
L
36631 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
36632 __rlim_t cast.
36633 (struct rusage): Use anonymous union to pad each field to
36634 __syscall_slong_t.
36635
46259bec
DM
366362012-05-21 David S. Miller <davem@davemloft.net>
36637
36638 * Makefules (o-iterator): Remove .s cases.
36639 (compile-command.s): Delete.
36640 (COMPILE.s): Delete.
36641 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
36642
59f0c22e
JM
366432012-05-21 Joseph Myers <joseph@codesourcery.com>
36644
36645 * configure.in (libc_cv_predef_stack_protector): Only consider
36646 "foobar" and "__stack_chk_fail" lines in libc_undefs.
36647 * configure: Regenerated.
36648
20c07380
L
366492012-05-21 H.J. Lu <hongjiu.lu@intel.com>
36650
bbb3154b
L
36651 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
36652 New macro. Use R*LP on int and pointer.
36653 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
36654 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
36655 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
36656 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
36657
20c07380
L
36658 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
36659 [__WORDSIZE_TIME64_COMPAT32] instead of
36660 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
36661 (struct utmp): Likewise.
36662 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
36663 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
36664 Renamed to ...
36665 (__WORDSIZE_TIME64_COMPAT32): This.
36666 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
36667 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
36668 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
36669 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
36670 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
36671 (__WORDSIZE_TIME64_COMPAT32): New macro.
36672
d8d1017e
AJ
366732012-05-21 Andreas Jaeger <aj@suse.de>
36674
36675 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
36676 only if [SHARED]. Add prototype for __wcschr_ia32.
36677
6c7fb145
RM
366782012-05-21 Roland McGrath <roland@hack.frob.com>
36679
36680 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
36681 of %rbp unmolested in the jmp_buf while mangling the low bits.
36682 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
36683 unmolested high bits of %rbp while demangling the low bits.
36684 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
36685
66274218
AJ
366862012-05-21 Andreas Jaeger <aj@suse.de>
36687
07c58f8f
AJ
36688 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
36689 * sunrpc/svc_simple.c: Use it for registerrpc.
36690 * sunrpc/xcrypt.c: Use it for passwd2des.
36691
66274218
AJ
36692 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
36693
61f65140
L
366942012-05-21 H.J. Lu <hongjiu.lu@intel.com>
36695
36696 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
36697 Don't define if [__SYSCALL_WORDSIZE != 32].
36698 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
36699 New macro.
36700
5fefb436
AJ
367012012-05-21 Bruno Haible <bruno@clisp.org>
36702 Andreas Jaeger <aj@suse.de>
36703
36704 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
36705 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
36706 inptr and inend for must_buffer_ch.
36707 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
36708 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
36709 * stdio-common/Makefile (tests): Remove bug15.
36710 (bug15-ENV): Remove macro.
36711 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
36712 anymore.
36713
d8e272ab
AJ
367142012-05-19 Andreas Jaeger <aj@suse.de>
36715 Roland McGrath <roland@hack.frob.com>
36716
36717 * manual/contrib.texi: Completely rewritten. It contains now an
36718 alphabetical list of contributors and their contributions.
36719
4a56a162
RH
367202012-05-21 Richard Henderson <rth@twiddle.net>
36721
36722 * misc/getauxval.c (__getauxval): Use unsigned long int.
36723 * misc/sys/auxv.h: Include <sys/cdefs.h>.
36724 (getauxval): Use unsigned long int.
36725
d024d23c
L
367262012-05-21 H.J. Lu <hongjiu.lu@intel.com>
36727
36728 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
36729
cbc00a03
RM
367302012-05-21 Roland McGrath <roland@hack.frob.com>
36731
36732 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
36733 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
36734 __alignof__ (long double).
36735
478143fa
AZ
367362012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36737
36738 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36739
c7683a6d
RH
367402012-05-20 Richard Henderson <rth@twiddle.net>
36741
36742 * misc/getauxval.c: New file.
36743 * misc/sys/auxv.h: New file.
36744 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
36745 (routines): Add getauxval.
36746 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
36747 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
36748 * elf/dl-sysdep.c (_dl_auxv): Remove.
36749 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
36750 * elf/dl-support.c (_dl_auxv): New variable.
36751 (_dl_aux_init): Initialize it.
36752 * manual/startup.texi (Auxiliary Vector): New node.
36753 * sysdeps/generic/bits/hwcap.h: New file.
36754 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
36755 * sysdeps/powerpc/sysdep.h: ... here. Include it.
36756 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
36757 * sysdeps/sparc/sysdep.h: ... here. Include it.
36758 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
36759 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
36760 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
36761 Update.
c7683a6d
RH
36762 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
36763 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
36764 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
36765 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
36766 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
36767 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
36768 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
36769 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
36770
a6f1845d
AZ
367712012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36772
36773 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36774
cbcbe830
DM
367752012-05-19 David S. Miller <davem@davemloft.net>
36776
36777 * sysdeps/sparc/fpu/libm-test-ulps: Update.
36778
e0b16cc2
JM
367792012-05-19 Joseph Myers <joseph@codesourcery.com>
36780
36781 [BZ #14123]
36782 * math/s_ccosh.c: Include <float.h>
36783 (__ccosh): Avoid internal overflow calculating sinh and cosh
36784 values before multiplying by sin and cos values.
36785 * math/s_ccoshf.c: Likewise.
36786 * math/s_ccoshl.c: Likewise.
36787 * math/s_csin.c: Likewise.
36788 * math/s_csinf.c: Likewise.
36789 * math/s_csinl.c: Likewise.
36790 * math/s_csinh.c: Likewise.
36791 * math/s_csinhf.c: Likewise.
36792 * math/s_csinhl.c: Likewise.
36793 * math/libm-test.inc (ccos_test): Add more tests.
36794 (ccosh_test): Likewise.
36795 (csin_test): Likewise.
36796 (csinh_test): Likewise.
36797 * sysdeps/i386/fpu/libm-test-ulps: Update.
36798 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36799
6ad13e08
L
368002012-05-19 H.J. Lu <hongjiu.lu@intel.com>
36801
f66f0ce8
L
36802 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
36803 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
36804
6ad13e08
L
36805 * sysdeps/x86_64/x32/_itoa.h: Add comment.
36806
b1d072a7
JM
368072012-05-19 Joseph Myers <joseph@codesourcery.com>
36808
36809 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
36810 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
36811 * sysdeps/powerpc/soft-fp/Versions: Likewise.
36812 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
36813 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
36814 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
36815 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
36816 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
36817 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
36818 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
36819 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
36820 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
36821 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
36822 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
36823 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
36824 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
36825 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
36826 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
36827 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
36828 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
36829 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
36830 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
36831 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
36832 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
36833 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
36834 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
36835 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
36836 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
36837 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
36838 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
36839 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
36840
9eae47cb
AJ
368412012-05-18 Andreas Jaeger <aj@suse.de>
36842
36843 * csu/.gitignore: Delete.
36844
bb07f69f
L
368452012-05-18 H.J. Lu <hongjiu.lu@intel.com>
36846
36847 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
36848 (timex): Use __syscall_slong_t.
36849
e6bdb741
AJ
368502012-05-18 Andreas Jaeger <aj@suse.de>
36851 Carlos O'Donell <carlos_odonell@mentor.com>
36852
36853 * manual/install.texi (Configuring and compiling): Update
36854 description about files modified in the source directory.
d6c33fda 36855 * INSTALL: Regenerated.
e6bdb741 36856
1b74487e
L
368572012-05-18 H.J. Lu <hongjiu.lu@intel.com>
36858
36859 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
36860 value. Use "or" to set return value to -1.
36861 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
36862 negate return value.
36863
a88b64b9
TMQMF
368642012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
36865
57f41c40
AS
36866 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
36867 (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
a88b64b9
TMQMF
36868 failure if the compiler has Graphite support disabled.
36869 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
36870 Likewise.
57f41c40
AS
36871 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
36872 (CFLAGS-memmove.c): Likewise.
a88b64b9
TMQMF
36873 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
36874 Likewise.
36875
3707636e
L
368762012-05-18 H.J. Lu <hongjiu.lu@intel.com>
36877
610b8622
L
36878 * sysdeps/x86_64/x32/_itoa.h: New file.
36879
7cd195df
L
36880 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
36881 getdents system call only if kernel and user dirents have the
36882 same d_ino and d_off.
36883
94b07d20
L
36884 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
36885 LLONG_MAX != LONG_MAX.
36886 (_itoa_word): Use _ITOA_WORD_TYPE on value.
36887 (_fitoa_word): Likewise.
36888
18298070
L
36889 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
36890 years.
36891 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
36892 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
36893 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
36894
553c7ea4
L
36895 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
36896 include <bits/wordsize.h>. Check __x86_64__ instead of
36897 __WORDSIZE.
36898 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
36899 if __x86_64__ is defined. Use anonymous union on fpstate.
36900
3707636e
L
36901 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
36902 anonymous union.
36903
b53ef01a
AS
369042012-05-18 Andreas Schwab <schwab@linux-m68k.org>
36905
37fb1dc0
AS
36906 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
36907 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
36908 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
36909 Refer to _rtld_local_ro instead of _rtld_global_ro.
36910 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
36911 Likewise.
36912 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
36913 Likewise.
36914 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
36915 Likewise.
36916 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
36917 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
36918 of _rtld_global, and rtld_progname instead of _dl_argv[0].
36919
b53ef01a
AS
36920 * sysdeps/powerpc/powerpc32/dl-machine.c
36921 (__elf_machine_runtime_setup) [PROF]: Don't reference
36922 _dl_prof_resolve.
36923
7a185db2
AJ
369242012-05-18 Andreas Jaeger <aj@suse.de>
36925
36926 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
36927 function only available for GCCs before 3.4 since GCC 3.4
36928 introduced a builtin.
36929 (lrint): Likewise.
36930 (llrintf): Likewise.
36931 (llrint): Likewise.
36932 (fmaxf): Likewise.
36933 (fmax): Likewise.
36934 (fminf): Likewise.
36935 (fmin): Likewise.
36936 (rint): Likewise.
36937 (rintf): Likewise.
36938 (nearbyint): Likewise.
36939 (nearbyintf): Likewise.
36940 (ceil): Likewise.
36941 (ceilf): Likewise.
36942 (floor): Likewise.
36943 (floorf): Likewise.
36944
3e5aef87
L
369452012-05-17 H.J. Lu <hongjiu.lu@intel.com>
36946
428bd707
L
36947 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
36948 on both fields and cast pointer to __syscall_ulong_t.
36949
3e5aef87
L
36950 * bits/types.h (__fsword_t): New type.
36951 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
36952 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
36953 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
36954 (__FSWORD_T_TYPE): Likewise.
36955 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
36956 (__FSWORD_T_TYPE): Likewise.
36957 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
36958 (__FSWORD_T_TYPE): Likewise.
36959 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
36960 (__FSWORD_T_TYPE): Likewise.
36961 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
36962 __SWORD_TYPE with __fsword_t.
36963 (statfs64): Likewise.
36964
1ba7c3dc
DM
369652012-05-17 David S. Miller <davem@davemloft.net>
36966
36967 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
36968
59910343
AJ
369692012-05-17 Andreas Jaeger <aj@suse.de>
36970
36971 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
36972 warning.
36973
2e4c1e9e
L
369742012-05-17 H.J. Lu <hongjiu.lu@intel.com>
36975
36976 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
36977
de7f5ce7
AJ
369782012-05-17 Andreas Jaeger <aj@suse.de>
36979
36980 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
36981 when it is used.
36982
286abc3d
CM
369832012-05-17 Chris Metcalf <cmetcalf@tilera.com>
36984
36985 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
36986
477cc68e
L
369872012-05-17 H.J. Lu <hongjiu.lu@intel.com>
36988
36989 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
36990 * sysdeps/x86_64/tst-mallocalign1.c: New file.
36991
1a0994f5
CD
369922012-05-17 Andreas Jaeger <aj@suse.de>
36993 Carlos O'Donell <carlos_odonell@mentor.com>
36994
36995 [BZ #14059]
36996 * sysdeps/x86_64/multiarch/init-arch.h
36997 (bit_YMM_Usable): Rename to...
36998 (bit_AVX_Usable): ... this.
36999 (bit_FMA4_Usable): New macro.
37000 (bit_XMM_state): New macro.
37001 (bit_YMM_state): New macro.
37002 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
37003 [__ASSEMBLER__] (index_AVX_Usable): ... this.
37004 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
37005 (CPUID_OSXSAVE): New macro.
37006 (CPUID_AVX): New macro.
37007 (CPUID_FMA4): New macro.
37008 (index_YMM_Usable): Rename to...
37009 (index_AVX_Usable): ... this.
37010 (HAS_AVX): Use HAS_ARCH_FEATURE.
37011 (HAS_FMA4): Likewise.
37012 (HAS_YMM_USABLE): Remove.
37013 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
37014 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
37015 are present.
37016 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
37017 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
37018 * sysdeps/x86_64/multiarch/Makefile: Likewise.
37019 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
37020 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
37021
0af797de
CM
370222012-05-17 Chris Metcalf <cmetcalf@tilera.com>
37023
37024 * math/libm-test.c: Support platforms without multiple rounding modes.
37025 * math/bug-nextafter.c: Support platforms without FP exceptions.
37026 * math/bug-nexttoward.c: Likewise.
37027 * math/test-fenv.c: Likewise.
37028 * math/test-misc.c: Likewise.
37029 * stdlib/bug-getcontext.c: Likewise.
37030
e39745ff
AJ
370312012-05-17 Andreas Jaeger <aj@suse.de>
37032
37033 * manual/examples/search.c (critter_cmp): Change signature to
37034 avoid warnings.
37035 * manual/string.texi (Collation Functions): Likewise.
37036
48970aba
L
370372012-05-16 H.J. Lu <hongjiu.lu@intel.com>
37038
37039 * bits/types.h: Fold copyright years.
37040 * bits/typesizes.h: Likewise.
37041 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
37042 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
37043 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
37044 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
37045 * time/time.h: Likewise.
37046
bedee953
PP
370472012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
37048
37049 [BZ #208]
37050 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
37051 in instead of returning them. Return void.
37052 (__libc_mallinfo): Accumulate over all arenas.
37053 (__malloc_stats): Adjust for change in int_mallinfo interface.
37054
61653dfb
RM
370552012-05-16 Roland McGrath <roland@hack.frob.com>
37056
30b99d79
RM
37057 [BZ #10375]
37058 * configure.in (NM): Add AC_CHECK_TOOL for it.
37059 (libc_extra_cflags): New substituted variable.
37060 Check for -fstack-protector being used implicitly.
37061 * configure: Regenerated.
37062 * config.make.in (config-extra-cflags): New variable,
37063 gets @libc_extra_cflags@.
37064 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
37065
61653dfb
RM
37066 [BZ #10375]
37067 * configure.in: Check for _FORTIFY_SOURCE being predefined.
37068 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
37069 * configure: Regenerated.
37070 * config.make.in (CPPUNDEFS): New substituted variable.
37071 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
37072 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
37073 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
37074
661768bb
L
370752012-05-16 H.J. Lu <hongjiu.lu@intel.com>
37076
37077 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
37078 (mq_attr): Use __syscall_slong_t.
37079
d4261567
L
370802012-05-16 H.J. Lu <hongjiu.lu@intel.com>
37081
37082 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
37083 Check __x86_64__ instead of __WORDSIZE.
37084 (_STAT_VER_LINUX): Likewise.
37085 (stat): Check __x86_64__ instead of __WORDSIZE. Use
37086 __syscall_ulong_t and __syscall_slong_t.
37087 (stat64): Likewise.
37088
cf3ff365
L
370892012-05-16 H.J. Lu <hongjiu.lu@intel.com>
37090
37091 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
37092
76cf3e4d
L
370932012-05-16 H.J. Lu <hongjiu.lu@intel.com>
37094
37095 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
37096
a637753a
L
370972012-05-16 H.J. Lu <hongjiu.lu@intel.com>
37098
37099 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
37100 __syscall_ulong_t.
37101
d5e05119
L
37102 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
37103 include <bits/wordsize.h>. Check __x86_64__ instead of
37104 __WORDSIZE.
37105 (greg_t): Use "__extension__ long long int" if __x86_64__ is
37106 defined.
37107 (mcontext_t): Replace "unsigned long" with "unsigned long long".
37108
f62ee380
L
37109 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
37110 include <bits/wordsize.h>. Check __x86_64__ instead of
37111 __WORDSIZE.
37112 (user_regs_struct): Use "__extension__ unsigned long long"
37113 instead of "unsigned long" if __x86_64__ is defined.
37114 (user): Likewise. Pad after pointer field if __ILP32__ is
37115 defined.
37116
4e124ced
JM
371172012-05-16 Joseph Myers <joseph@codesourcery.com>
37118
6a3951a0
JM
37119 * configure.in (makeinfo): Require version 4.5 or later. Allow
37120 versions 5 to 9.
37121 * configure: Regenerated.
37122 * manual/install.texi (texinfo): Increase version requirement to
37123 4.5 or later.
37124 * INSTALL: Regenerated.
37125
4e124ced
JM
37126 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
37127
953ca31a
L
371282012-05-16 H.J. Lu <hongjiu.lu@intel.com>
37129
37130 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
37131
617aca05
L
37132 * sysdeps/x86_64/x32/ffs.c: New file.
37133
5762f7ae
L
37134 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
37135 __syscall_ulong_t.
37136 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
37137 defined. Use __syscall_ulong_t.
37138 (shminfo): Use __syscall_ulong_t.
37139 (shm_info): Likewise.
37140
a26b6856
L
37141 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
37142 __syscall_ulong_t.
37143
cb2b9ef7
L
37144 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
37145 <bits/wordsize.h>.
37146 (msgqnum_t): Use __syscall_ulong_t.
37147 (msglen_t): Likewise.
37148 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
37149 __syscall_ulong_t.
37150
34683bb0
L
37151 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
37152 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
37153
84a68786
L
37154 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
37155
48baa5f1
L
37156 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
37157 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
37158
180be88b
L
37159 * sysvipc/sys/msg.h (msgbuf): Replace long int with
37160 __syscall_slong_t.
37161
5e90c8ad
L
37162 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
37163 include <bits/wordsize.h>. Check __x86_64__ instead of
37164 __WORDSIZE.
37165
23dfb58b
L
37166 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
37167 "unsigned long long int" if __x86_64__ is defined.
37168 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
37169
ce5d54b0
L
37170 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
37171 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
37172 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
37173
13dc9eac
L
37174 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
37175 <stdint.h>.
37176 (GET_PC): Cast to uintptr_t first.
37177 (GET_FRAME): Likewise.
37178 (GET_STACK): Likewise.
37179
a7895d15
L
37180 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
37181 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
37182 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
37183 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
37184 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
37185 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
37186 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
37187 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
37188 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
37189 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
37190 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
37191 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
37192 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
37193 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
37194 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
37195 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
37196 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
37197 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
37198 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
37199 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
37200 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
37201 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
37202 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
37203 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
37204 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
37205 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
37206 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
37207 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
37208 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
37209
656416c9
AS
372102012-05-16 Andreas Schwab <schwab@linux-m68k.org>
37211
5bd66283
AS
37212 * Makerules (+depfiles): Also collect depfiles from .oS in
37213 $(extra-objs).
37214 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
37215 .oS, $(libnldbl-routines)).
37216
656416c9
AS
37217 * Makerules (native-compile-mkdep-flags): Define.
37218 * sunrpc/Makefile (extra-objs): Add $(addprefix
37219 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
37220 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
37221 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
37222 calling $(make-target-directory).
37223
a46f2169
L
372242012-05-15 H.J. Lu <hongjiu.lu@intel.com>
37225
37226 * bits/types.h (__snseconds_t): Removed.
37227 * time/time.h (struct timespec): Replace __snseconds_t with
37228 __syscall_slong_t.
37229 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
37230 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
37231 Likewise.
37232 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
37233 (__SNSECONDS_T_TYPE): Likewise.
37234 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
37235 (__SNSECONDS_T_TYPE): Likewise.
37236 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
37237 (__SNSECONDS_T_TYPE): Likewise.
37238
6af6528b
L
372392012-05-15 H.J. Lu <hongjiu.lu@intel.com>
37240
37241 * sysdeps/mach/hurd/bits/typesizes.h
37242 (__SYSCALL_SLONG_TYPE): New macro.
37243 (__SYSCALL_ULONG_TYPE): Likewise.
37244
de986b56
L
372452012-05-15 H.J. Lu <hongjiu.lu@intel.com>
37246
37247 * bits/types.h (__syscall_slong_t): New type.
37248 (__syscall_ulong_t): Likewise.
37249
37250 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
37251 (__SYSCALL_ULONG_TYPE): Likewise.
37252 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
37253 (__SYSCALL_SLONG_TYPE): Likewise.
37254 (__SYSCALL_ULONG_TYPE): Likewise.
37255 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
37256 (__SYSCALL_SLONG_TYPE): Likewise.
37257 (__SYSCALL_ULONG_TYPE): Likewise.
37258 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
37259 (__SYSCALL_SLONG_TYPE): Likewise.
37260 (__SYSCALL_ULONG_TYPE): Likewise.
37261
85736dc7
L
372622012-05-15 H.J. Lu <hongjiu.lu@intel.com>
37263
37264 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
37265 Add sigaltstack-offsets.sym.
37266 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
37267 <sigaltstack-offsets.h>.
37268 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
37269 longjmp_msg pointer.
37270 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
37271 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
37272 signal stack.
37273 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
37274
cc03b296
JM
372752012-05-15 Joseph Myers <joseph@codesourcery.com>
37276
a9538892
JM
37277 * elf/stackguard-macros.h: Remove file.
37278 * sysdeps/generic/stackguard-macros.h: New file.
37279 * sysdeps/i386/stackguard-macros.h: Likewise.
37280 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
37281 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
37282 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
37283 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
37284 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
37285 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
37286 * sysdeps/x86_64/stackguard-macros.h: Likewise.
37287 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
37288 <elf/stackguard-macros.h>.
37289
cc03b296
JM
37290 [BZ #14109]
37291 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
37292 __aligned__ in attribute.
37293 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
37294 (gregset_t): Likewise.
37295
93171016
L
372962012-05-15 H.J. Lu <hongjiu.lu@intel.com>
37297
37298 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
37299 * sysdeps/x86_64/64/Implies-after: Here. New file.
37300 * sysdeps/x86_64/x32/Implies-after: New file.
37301
d86813a0
L
373022012-05-15 H.J. Lu <hongjiu.lu@intel.com>
37303
37304 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
37305 and access return value for _dl_profile_fixup. Use R10_LP to
37306 load frame size.
37307
2953ec75
L
373082012-05-15 H.J. Lu <hongjiu.lu@intel.com>
37309
37310 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
37311
3b550e9e
L
373122012-05-15 H.J. Lu <hongjiu.lu@intel.com>
37313
37314 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
37315 * sysdeps/x86_64/x32/sysdep.h: New file.
37316
eda41706
L
373172012-05-15 H.J. Lu <hongjiu.lu@intel.com>
37318
37319 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
37320 * sysdeps/x86_64/setjmp.S: Likewise.
37321
9ea01d93
AZ
373222012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37323
37324 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
37325 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
37326 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
37327 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
37328 remove unused global constant.
37329
02a91938
CM
373302012-05-15 Chris Metcalf <cmetcalf@tilera.com>
37331
37332 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
37333 include of <not-cancel.h>.
37334
6540185f
RM
373352012-05-15 Roland McGrath <roland@hack.frob.com>
37336
37337 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
37338
509072a0
AJ
373392012-05-15 Jeff Law <law@redhat.com>
37340 Andreas Jaeger <aj@suse.de>
37341
37342 [BZ #13594]
37343 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
37344 out from...
37345 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
37346 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
37347 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
37348 code changing __hst_map_handle.map.
37349
ba75122d
RM
373502012-05-15 Roland McGrath <roland@hack.frob.com>
37351
37352 * configure.in (sysnames): Look for Implies-before and Implies-after
37353 files.
37354 * configure: Regenerated.
37355
890d8bd8
L
373562012-05-15 H.J. Lu <hongjiu.lu@intel.com>
37357
37358 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
37359 8-byte data alignment with LP_SIZE alignment.
37360
f6ee6623
L
373612012-05-15 H.J. Lu <hongjiu.lu@intel.com>
37362
37363 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
37364 into R10_LP.
37365
ea2626f6
L
373662012-05-15 H.J. Lu <hongjiu.lu@intel.com>
37367
37368 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
37369
085f715e
L
373702012-05-15 H.J. Lu <hongjiu.lu@intel.com>
37371
37372 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
37373 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
37374 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
37375 Likewise.
37376 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
37377
be8498fc
L
373782012-05-15 H.J. Lu <hongjiu.lu@intel.com>
37379
37380 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
37381 (stackinfo_sub_sp): Likewise.
37382
70bc83b9
L
373832012-05-15 H.J. Lu <hongjiu.lu@intel.com>
37384
37385 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
37386 RAX_LP.
37387
9bc0b730
L
373882012-05-15 H.J. Lu <hongjiu.lu@intel.com>
37389
37390 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
37391 into R*_LP.
37392
6d2850e7
L
373932012-05-15 H.J. Lu <hongjiu.lu@intel.com>
37394
37395 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
37396 sizes into R*_LP.
37397
3cb84561
L
373982012-05-15 H.J. Lu <hongjiu.lu@intel.com>
37399
37400 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
37401
54e2ed81
L
374022012-05-15 H.J. Lu <hongjiu.lu@intel.com>
37403
37404 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
37405 into R11_LP and load __x86_64_shared_cache_size_half into
37406 R8_LP.
37407
8a17f349
L
374082012-05-15 H.J. Lu <hongjiu.lu@intel.com>
37409
37410 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
37411 R8_LP.
37412
777b1eea
AZ
374132012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37414
37415 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
37416 logb for POWER7.
37417 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
37418 logbf for POWER7.
37419 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
37420 logbl for POWER7.
37421 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
37422 powerpc32/power7/fpu/s_logb.c via #include.
37423 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
37424 powerpc32/power7/fpu/s_logbf.c via #include.
37425 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
37426 powerpc32/power7/fpu/s_logbl.c via #include.
37427
d20d4ac2
JM
374282012-05-15 Joseph Myers <joseph@codesourcery.com>
37429
37430 * README.libm: Remove file.
37431
6cdef1ab
L
374322012-05-14 H.J. Lu <hongjiu.lu@intel.com>
37433
37434 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
37435 count for x32. Use R*_LP and omit operand-size suffix.
37436
0b254d8f
L
374372012-05-14 H.J. Lu <hongjiu.lu@intel.com>
37438
37439 * shlib-versions: Move x86_64-.*-linux.* entries to ...
37440 * sysdeps/x86_64/64/shlib-versions: Here. New file.
37441 * sysdeps/x86_64/x32/shlib-versions: New file.
37442
ceb809dc
RM
374432012-05-14 Roland McGrath <roland@hack.frob.com>
37444
37445 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
37446 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
37447 Use _dl_fatal_printf instead.
37448
37f1abd4
JM
374492012-05-14 Joseph Myers <joseph@codesourcery.com>
37450
37451 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
37452 set if not set by the user. Do not allow for being unset.
37453 * sysdeps/unix/sysv/linux/configure: Regenerated.
37454
11de3a33
L
374552012-05-14 H.J. Lu <hongjiu.lu@intel.com>
37456
37457 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
37458 the `q' suffix from lea and replace .quad with ASM_ADDR.
37459
e02f153a
L
374602012-05-14 H.J. Lu <hongjiu.lu@intel.com>
37461
37462 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
37463 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
37464 instead of $17.
37465 (PTR_DEMANGLE): Likewise.
37466
520ae0fd
L
374672012-05-14 H.J. Lu <hongjiu.lu@intel.com>
37468
37469 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
37470 (LP_OP): Likewise.
37471 (ASM_ADDR): Likewise.
37472 (RAX_LP): Likewise.
37473 (RBP_LP): Likewise.
37474 (RBX_LP): Likewise.
37475 (RCX_LP): Likewise.
37476 (RDI_LP): Likewise.
37477 (RSI_LP): Likewise.
37478 (RSP_LP): Likewise.
37479 (R8_LP): Likewise.
37480 (R9_LP): Likewise.
37481 (R10_LP): Likewise.
37482 (R10_LP): Likewise.
37483 (R11_LP): Likewise.
37484 (R12_LP): Likewise.
37485 (R13_LP): Likewise.
37486 (R14_LP): Likewise.
37487 (R15_LP): Likewise.
37488
b985be81
L
374892012-05-14 H.J. Lu <hongjiu.lu@intel.com>
37490
37491 * sysdeps/x86_64/x32/dl-machine.h: New file.
37492
6a4888ff
AJ
374932012-05-14 Andreas Jaeger <aj@suse.de>
37494
37495 * manual/Makefile (subdir): Remove export of subdir.
37496 (all): Remove target.
37497 (.PHONY): Remove all from list.
37498 (mkinstalldirs): Remove.
37499 (.PHONY): Remove installdirs from list.
37500 ($(inst_infodir)/libc.info): Use make-target-directory.
37501 (installdirs): Remove.
37502 (subdir_%): Remove.
37503 (glibc-targets): Remove.
37504 (lib): Remove.
37505 (stubs): Remove.
37506 ($(objpfx)stubs ../po/manual.pot): Remove.
37507 ($(objpfx)stamp%): Remove.
37508 (make-target-directory): Remove.
37509 (subdir_install): Remove.
37510 (routines): Remove.
37511 (aux): Remove.
37512 (sources): Remove.
37513 (objects): Remove.
37514 (headers): Remove.
37515
37516 [BZ #13750]
37517 * manual/.gitignore: Remove, it's not needed anymore.
37518 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
37519 all files in it.
37520 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
37521 directory.
37522 (texis): Renamed to $(objpfx)texis.
37523 (texis-path): New, contains path to generated files.
37524 (chapters.%): Use texis-path for complete path, add extra argument
37525 libc-texinfo.sh.
37526 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
37527 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
37528 (summary,texi, stamp-summary): Use complete path of
37529 files. Generate files in build dir.
37530 (dir-add.texi): Build in build dir.
37531 (libm-err.texi,stamp-libm-err): Likewise.
37532 (version.texi, stamp-version): Likewise.
37533 (.%c.texi): Likewise.
37534 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
37535 (mostlyclean): Remove target.
37536 (realclean): Remove target.
37537 (generated): Add new variable with contents from mostlyclean and
37538 realclean, remove entries duplicated in common-mostlyclean, add
37539 stamp-libm-err and stamp-version.
37540 (generated-dirs): Add libc directory.
37541 ($(inst_infodir)/libc.info): Install files from build dir.
37542
37543 * manual/install.texi (Configuring and compiling): Adjust since
37544 the info files are not part of the tar ball anymore.
37545
7ac77294
AJ
375462012-05-14 Andreas Jaeger <aj@suse.de>
37547
37548 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
37549 variable.
37550
ffb7875d
JM
375512012-05-14 Joseph Myers <joseph@codesourcery.com>
37552
37553 [BZ #13717]
37554 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
37555 to 2.2.0 where earlier.
37556 * sysdeps/unix/sysv/linux/configure: Regenerated.
37557 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
37558 Remove conditional code.
37559 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
37560 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
37561 Remove conditional code.
37562 [!__NR_lchown]: Likewise.
37563 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
37564 [__NR_lchown]: Likewise.
37565 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
37566 comment referencing __ASSUME_LCHOWN_SYSCALL.
37567 * sysdeps/unix/sysv/linux/i386/sigaction.c
37568 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
37569 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
37570 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
37571 Remove conditional code.
37572 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
37573 (__protocol_available): Remove #if 0 code.
37574 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
37575 conditional code.
37576 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
37577 * sysdeps/unix/sysv/linux/kernel-features.h
37578 (__ASSUME_GETCWD_SYSCALL): Don't define.
37579 (__ASSUME_REALTIME_SIGNALS): Likewise.
37580 (__ASSUME_PREAD_SYSCALL): Likewise.
37581 (__ASSUME_PWRITE_SYSCALL): Likewise.
37582 (__ASSUME_POLL_SYSCALL): Likewise.
37583 (__ASSUME_LCHOWN_SYSCALL): Likewise.
37584 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
37585 non-SPARC.
37586 (__ASSUME_SIOCGIFNAME): Don't define.
37587 (__ASSUME_MSG_NOSIGNAL): Likewise.
37588 (__ASSUME_SENDFILE): Define unconditionally.
37589 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
37590 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
37591 conditional code.
37592 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
37593 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
37594 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
37595 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
37596 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
37597 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
37598 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
37599 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
37600 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
37601 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
37602 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
37603 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
37604 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
37605 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
37606 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
37607 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
37608 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
37609 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
37610 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
37611 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
37612 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
37613 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
37614 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
37615 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
37616 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
37617 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
37618 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
37619 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
37620 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
37621 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
37622 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
37623 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
37624 Remove conditional code.
37625 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
37626 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
37627 Remove conditional code.
37628 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
37629 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
37630 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
37631 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
37632 Remove conditional code.
37633 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
37634 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
37635 Remove conditional code.
37636 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
37637 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
37638 Remove conditional code.
37639 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
37640 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
37641 Remove conditional code.
37642 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
37643 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
37644 Remove conditional code.
37645 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
37646 * sysdeps/unix/sysv/linux/sh/pwrite64.c
37647 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
37648 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
37649 * sysdeps/unix/sysv/linux/sigaction.c
37650 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
37651 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
37652 * sysdeps/unix/sysv/linux/sigpending.c
37653 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
37654 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
37655 * sysdeps/unix/sysv/linux/sigprocmask.c
37656 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
37657 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
37658 * sysdeps/unix/sysv/linux/sigsuspend.c
37659 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
37660 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
37661 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
37662 (__libc_missing_rt_sigs): Remove.
37663 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
37664 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
37665 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
37666 Remove conditional code.
37667 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
37668 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
37669 return 1.
37670 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
37671 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
37672 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
37673 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
37674
1bfb7291
AJ
376752012-05-14 Andreas Jaeger <aj@suse.de>
37676
caae5a81
AJ
37677 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
37678 it's not used in glibc.
37679 (__coshm1): Likewise.
37680 (__acosh1p): Likewise.
37681 (__sgn): Likewise.
37682
1bfb7291
AJ
37683 * manual/string.texi (Copying and Concatenation): Add missing
37684 variable in concat example.
37685 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
37686
c044d724
L
376872012-05-14 H.J. Lu <hongjiu.lu@intel.com>
37688
144c5467 37689 [BZ #14103]
c044d724
L
37690 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
37691 __builtin_clzl with __builtin_clzll.
37692
2523c62b
L
376932012-05-14 H.J. Lu <hongjiu.lu@intel.com>
37694
37695 [BZ #14104]
37696 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
37697 libc_freeres_ptr.
37698
d7bb4c42
LD
376992012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37700
37701 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
37702 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
37703 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
37704 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
37705
9dc4e1fb
MF
377062012-05-14 Mike Frysinger <vapier@gentoo.org>
37707
37708 * NEWS: Update ia64 info.
37709
c7df0112
AS
377102012-05-12 Andreas Schwab <schwab@linux-m68k.org>
37711
37712 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
37713 used as bcopy.
37714
dc70356c
TS
377152012-05-12 Thomas Schwinge <thomas@codesourcery.com>
37716
37717 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
37718 * sysdeps/unix/syscalls.list (dup3): Likewise.
37719 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
37720 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
37721
9fb1a21f
L
377222012-05-11 H.J. Lu <hongjiu.lu@intel.com>
37723
37724 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
37725 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
37726
4822a2a5
L
377272012-05-11 H.J. Lu <hongjiu.lu@intel.com>
37728
37729 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
37730 thread pointer.
37731 (TLS_IE): Use mov/add instead of movq/addq to load thread
37732 pointer.
37733 (TLS_GD_PREFIX): New.
37734 (TLS_GD): Use it.
37735
842b81d6
DM
377362012-05-11 David S. Miller <davem@davemloft.net>
37737
37738 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
37739 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
37740 (_FPU_SETCW): Likewise.
37741
1cf463cd
L
377422012-05-10 H.J. Lu <hongjiu.lu@intel.com>
37743
37744 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
37745 is 32-byte aligned.
37746
60cc4a18
AS
377472012-05-11 Andreas Schwab <schwab@linux-m68k.org>
37748
37749 [BZ #11837]
37750 * iconvdata/gb18030.c: Update tables.
37751 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
37752 characters specially.
37753 (BODY for TO_LOOP): Add encoding of missing ranges.
37754
febb44a4
TS
377552012-05-11 Thomas Schwinge <thomas@codesourcery.com>
37756
37757 [BZ #13673]
37758 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
37759 * sysdeps/mach/hurd/dup3.c: Likewise.
37760 * sysdeps/mach/hurd/readlinkat.c: Likewise.
37761 * sysdeps/powerpc/memmove.c:: Likewise.
37762
0a10fb9e
L
377632012-05-10 H.J. Lu <hongjiu.lu@intel.com>
37764
37765 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
37766 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
37767
df8a552f
L
377682012-05-10 H.J. Lu <hongjiu.lu@intel.com>
37769
37770 * elf/elf.h (R_X86_64_RELATIVE64): New.
37771 (R_X86_64_NUM): Updated.
37772 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
37773 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
37774 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
37775 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
37776 tst-quad1pie tst-quad2pie
37777 (modules-names): Add tst-quadmod1 tst-quadmod2.
37778 ($(objpfx)tst-quad1): New dependency.
37779 ($(objpfx)tst-quad2): Likewise.
37780 ($(objpfx)tst-quad1pie): Likewise.
37781 ($(objpfx)tst-quad2pie): Likewise.
37782 * sysdeps/x86_64/tst-quad1.c: New file.
37783 * sysdeps/x86_64/tst-quad1pie.c: New file.
37784 * sysdeps/x86_64/tst-quad2.c: Likewise.
37785 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
37786 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
37787 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
37788 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
37789 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
37790
f34d6f84
ST
377912012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
37792
f42d41d1
ST
37793 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
37794 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
37795 * streams/stropts.h (t_scalar_t): Define type.
37796
3c3571fc
ST
37797 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
37798 (_PATH_PRESERVE): Set to "/var/lib".
37799 (_PATH_RWHODIR): Set to "/var/spool/rwho".
37800
61f06bd3
ST
37801 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
37802 instead of int.
37803
918d4d71
ST
37804 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
37805 if __dir_mkfile succeeded.
37806
f34d6f84
ST
37807 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
37808 checking for _hurd_dtablesize. Unlock it right after having
37809 finished _hurd_dtable allocation.
37810
10589b4a
TS
378112012-05-10 Thomas Schwinge <thomas@schwinge.name>
37812
674cdbc7
TS
37813 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
37814 * sysdeps/mach/hurd/configure: Regenerated.
37815 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
37816 special-casing to...
37817 * sysdeps/gnu/configure.in: ... this new file.
37818 * sysdeps/unix/sysv/linux/configure: Regenerated.
37819 * sysdeps/gnu/configure: New generated file.
37820
8e41b99f
TS
37821 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
37822 for Linux: use nsec instead of usec, as well as:
37823 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
37824 members of type struct timespec.
37825 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
37826 New macros.
37827 (struct stat64): Likewise.
37828 (_STATBUF_ST_NSEC): New macro.
37829 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
37830
10589b4a
TS
37831 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
37832 __strtoul_internal rather than strtoul.
37833
63643c85
PT
378342012-05-10 Pino Toscano <toscano.pino@tiscali.it>
37835
37836 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
37837 and reject them.
37838
3faebe6a
ST
378392012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
37840
37841 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
37842 which preserves existing values.
37843 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
37844
c6474b07
PT
378452012-05-10 Pino Toscano <toscano.pino@tiscali.it>
37846
37847 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
37848 TIMEOUT values. Return EINVAL for NFDS values either negative or
37849 greater than FD_SETSIZE.
37850
1043890b
ST
378512012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
37852
37853 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
37854 allocated, call __vm_protect to finish enabling the existing space, and
37855 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
37856 allocate the remainder.
37857
37ed8b9b
PT
378582012-05-10 Pino Toscano <toscano.pino@tiscali.it>
37859
37860 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
37861 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
37862
db653660
ST
378632012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
37864
37ed8b9b
PT
37865 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
37866 sysdeps/mach/hurd/readlink.c.
b29d4053 37867
db653660
ST
37868 * posix/tst-sysconf.c (posix_options): Only use
37869 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
37870 _POSIX_SYNCHRONIZED_IO when they are defined
37871 * sysdeps/mach/hurd/bits/posix_opt.h:
37872 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
37873 (_XOPEN_REALTIME): Undefine macro.
37874 (_XOPEN_REALTIME_THREADS): Undefine macro.
37875 (_XOPEN_SHM): Undefine macro.
37876 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
37877 macro to -1.
37878 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
37879 macro to -1.
37880 (_POSIX_ASYNC_IO): Undefine macro.
37881 (_POSIX_PRIORITIZED_IO): Undefine macro.
37882 (_POSIX_SPIN_LOCKS): Define macro to -1.
37883
ee16e894
ST
37884 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
37885 SA_NODEFER, SA_RESETHAND.
37886 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
37887 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
37888 F_DUPFD_CLOEXEC.
37889
6103ae3b
TS
378902012-05-10 Thomas Schwinge <thomas@schwinge.name>
37891
37892 * elf/Makefile (pldd-modules): Define unconditionally.
37893
80b4e5f3
TS
378942012-05-10 Thomas Schwinge <thomas@schwinge.name>
37895
37896 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
37897
edadcbd6
ST
378982012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
37899
37900 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
37901 Return ENOENT when name is empty.
37902 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
37903
80694780
TS
379042012-05-10 Thomas Schwinge <thomas@schwinge.name>
37905
1792c087
TS
37906 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
37907
80694780
TS
37908 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
37909
6b645f0d
ST
379102012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
37911
80694780
TS
37912 Fix mlock in all cases except non-readable pages.
37913 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
37914 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 37915
6b645f0d
ST
37916 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
37917 (__mkdir): When path is `/', just fail with EEXIST.
37918 * sysdeps/mach/hurd/mkdirat.c: Likewise.
37919
e468f8a3
TS
379202012-05-10 Thomas Schwinge <thomas@schwinge.name>
37921
37922 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
37923 <sys/uio.h> (for writev).
37924 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
37925 and <sys/param.h> (for MIN).
37926
a4186cff
PT
379272012-05-10 Pino Toscano <toscano.pino@tiscali.it>
37928
37929 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
37930 REQUESTED_TIME. Properly set the remaining time and return EINTR
37931 if interrupted.
37932
510bbf14
TS
379332012-05-10 Thomas Schwinge <thomas@schwinge.name>
37934
37935 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
37936 Depend on against $(link-rpcuserlibs).
37937
5d5722e8
ST
379382012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
37939
a4186cff
PT
37940 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
37941 (__libc_stack_end): Do not use attribute_relro.
37942 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
37943 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 37944 to libthread-provided value.
a4186cff
PT
37945 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
37946 attribute_relro.
5d5722e8 37947
37233df9
TS
379482012-05-10 Thomas Schwinge <thomas@schwinge.name>
37949
be971a2b
TS
37950 [BZ #3748]
37951 * bits/libc-lock.h (__libc_once_get): New macro.
37952 * sysdeps/mach/bits/libc-lock.h: Likewise.
37953 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
37954 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
37955 instead of using implementation details.
37956
37233df9
TS
37957 * libio/fileops.c: Unconditionally include <kernel-features.h>.
37958 * libio/freopen.c: Likewise.
37959 * libio/freopen64.c: Likewise.
37960 * misc/syslog.c: Likewise.
37961 * nscd/connections.c: Likewise.
37962 * nscd/netgroupcache.c: Likewise.
37963 * sysdeps/posix/getcwd.c: Likewise.
37964
38de94a5
RM
379652012-05-10 Roland McGrath <roland@hack.frob.com>
37966
37967 * math/w_ilogbf.c: Add #include <limits.h>.
37968
67530489
ST
379692012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
37970
a4186cff 37971 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
37972 path instead of returning without unlocking.
37973
67530489
ST
37974 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
37975 immediate-write ioctls.
37976 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
37977
5aa3a74a
TS
379782012-05-10 Thomas Schwinge <thomas@schwinge.name>
37979
18bad2ae
TS
37980 * sysdeps/mach/hurd/i386/init-first.c (init): Use
37981 __builtin_frame_address instead of making assumptions about the
37982 location of the return address relative to DATA. Force early load of
37983 the return address.
37984 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
37985 __builtin_frame_address.
37986
5aa3a74a
TS
37987 dup3 for GNU Hurd.
37988 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
37989 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
37990 implement dup3 and do some further code clean-ups.
37991 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
37992 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
37993
ecd0de9a
ST
379942012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
37995
cd9fa985
ST
37996 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
37997
a4186cff
PT
37998 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
37999 HURD_CRITICAL_END around holding _hurd_dtable_lock.
38000 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
38001 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
38002 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
38003 d->port.lock.
802ca5a5 38004
a4186cff
PT
38005 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
38006 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
38007 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 38008
bcf55240
TS
380092012-05-10 Thomas Schwinge <thomas@schwinge.name>
38010
6960eb42
TS
38011 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
38012 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
38013 definitions.
38014
eb43375f
TS
38015 accept4 for GNU Hurd.
38016 * include/sys/socket.h (__libc_accept4): New prototype.
38017 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
38018 to implement __libc_accept4.
38019 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
38020 __libc_accept4.
38021 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
38022
bcf55240
TS
38023 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
38024 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
38025 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
38026 signal-defines.sym.
38027
6178c55b
ST
380282012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
38029
a4186cff 38030 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 38031
6f080c2f
TS
380322012-05-10 Thomas Schwinge <thomas@schwinge.name>
38033
38034 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
38035 assertion on O_CLOEXEC flag.
38036 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
38037 * hurd/intern-fd.c: Likewise.
38038 * hurd/port2fd.c: Likewise.
38039
bcfe3a54
ST
380402012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
38041
38042 [BZ #3906]
38043 * bits/in.h (IPV6_PKTINFO): Define new macro.
38044 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
38045
89c9aa49
AZ
380462012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38047
38048 [BZ #13954]
38049 [BZ #13955]
38050 [BZ #13956]
38051 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
38052 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
38053 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
38054 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
38055 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
38056 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
38057 * math/libm-test.inc (logb_test) : Additional logb tests.
38058
021db4be
AJ
380592012-05-09 Andreas Schwab <schwab@linux-m68k.org>
38060 Andreas Jaeger <aj@suse.de>
38061
38062 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
38063 * configure: Regenerated.
38064 * config.h.in (LINK_OBSOLETE_RPC): New macro.
38065 * config.make.in (link-obsolete-rpc): New substituted variable.
38066 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
38067 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
38068 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
38069 (shared-only-routines): Don't set it under [link-obsolete-rpc],
38070 so that libc.a contains the symbols.
38071 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
38072 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
38073 * sunrpc/auth_none.c: Likewise.
38074 * sunrpc/auth_unix.c: Likewise.
38075 * sunrpc/authdes_prot.c: Likewise.
38076 * sunrpc/authuxprot.c: Likewise.
38077 * sunrpc/clnt_gen.c: Likewise.
38078 * sunrpc/clnt_perr.c: Likewise.
38079 * sunrpc/clnt_raw.c: Likewise.
38080 * sunrpc/clnt_simp.c: Likewise.
38081 * sunrpc/clnt_tcp.c: Likewise.
38082 * sunrpc/clnt_udp.c: Likewise.
38083 * sunrpc/clnt_unix.c: Likewise.
38084 * sunrpc/des_crypt.c: Likewise.
38085 * sunrpc/des_soft.c: Likewise.
38086 * sunrpc/get_myaddr.c: Likewise.
38087 * sunrpc/key_call.c: Likewise.
38088 * sunrpc/key_prot.c: Likewise.
38089 * sunrpc/netname.c: Likewise.
38090 * sunrpc/pm_getmaps.c: Likewise.
38091 * sunrpc/pm_getport.c: Likewise.
38092 * sunrpc/pmap_clnt.c: Likewise.
38093 * sunrpc/pmap_prot.c: Likewise.
38094 * sunrpc/pmap_prot2.c: Likewise.
38095 * sunrpc/pmap_rmt.c: Likewise.
38096 * sunrpc/publickey.c: Likewise.
38097 * sunrpc/rpc_cmsg.c: Likewise.
38098 * sunrpc/rpc_common.c: Likewise.
38099 * sunrpc/rpc_dtable.c: Likewise.
38100 * sunrpc/rpc_prot.c: Likewise.
38101 * sunrpc/rpc_thread.c: Likewise.
38102 * sunrpc/rtime.c: Likewise.
38103 * sunrpc/svc.c: Likewise.
38104 * sunrpc/svc_auth.c: Likewise.
38105 * sunrpc/svc_raw.c: Likewise.
38106 * sunrpc/svc_run.c: Likewise.
38107 * sunrpc/svc_tcp.c: Likewise.
38108 * sunrpc/svc_udp.c: Likewise.
38109 * sunrpc/svc_unix.c: Likewise.
38110 * sunrpc/svcauth_des.c: Likewise.
38111 * sunrpc/xcrypt.c: Likewise.
38112 * sunrpc/xdr.c: Likewise.
38113 * sunrpc/xdr_array.c: Likewise.
38114 * sunrpc/xdr_float.c: Likewise.
38115 * sunrpc/xdr_intXX_t.c: Likewise.
38116 * sunrpc/xdr_mem.c: Likewise.
38117 * sunrpc/xdr_rec.c: Likewise.
38118 * sunrpc/xdr_ref.c: Likewise.
38119 * sunrpc/xdr_sizeof.c: Likewise.
38120 * sunrpc/xdr_stdio.c: Likewise.
38121
b5c086a2
RM
381222012-05-10 Roland McGrath <roland@hack.frob.com>
38123
38124 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
38125 change. Update copyright years.
38126
6d74dd09
JM
381272012-05-10 Joseph Myers <joseph@codesourcery.com>
38128
38129 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
38130
28e72501
MK
381312012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
38132 Joseph Myers <joseph@codesourcery.com>
38133 Paul Pluzhnikov <ppluzhnikov@google.com>
38134
38135 [BZ #14012]
38136 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
38137 requiring rpcgen.
38138 [cross-compiling] (extra-libs): Likewise.
38139 [cross-compiling] (extra-libs-others): Likewise.
38140 [cross-compiling] (librpcsvc-routines): Likewise.
38141 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
38142 [cross-compiling] (omit-deps): Likewise.
38143 (sunrpc-CPPFLAGS): New variable.
38144 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
38145 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
38146 (cross-rpcgen-objs): New variable.
38147 (extra-objs): Append $(cross-rpcgen-objs).
38148 ($(cross-rpcgen-objs)): New rule.
38149 ($(objpfx)cross-rpcgen): Likewise.
38150 (rpcgen-cmd): Define to use $(built-program-file). Expand
38151 comment.
38152 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
38153 ($(objpfx)x%.stmp): Likewise.
38154 * sunrpc/proto.h [IS_IN_build] (_): Define.
38155 [IS_IN_build] (_libc_intl_domainname): Likewise.
38156
c8c59454
L
381572012-05-10 H.J. Lu <hongjiu.lu@intel.com>
38158
38159 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
38160 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
38161 and R_X86_64_TPOFF64.
38162
6f27cd16
JM
381632012-05-10 Joseph Myers <joseph@codesourcery.com>
38164
38165 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
38166 sysdeps/unix/sysv/syscalls.list.
38167 (stime): Likewise.
38168 (utime): Likewise.
38169 * sysdeps/unix/sysv/syscalls.list: Remove file.
38170
02467e1c
PE
381712012-05-10 Paul Eggert <eggert@cs.ucla.edu>
38172
38173 [BZ #3440]
38174 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
38175 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
38176 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
38177 (__LC_IDENTIFICATION): Make these macros useful in #if
38178 expressions, as required by C99.
38179
da392631
AS
381802012-05-10 Andreas Schwab <schwab@linux-m68k.org>
38181
38182 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
38183 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
38184 after this.
38185
8115f29b
L
381862012-05-09 H.J. Lu <hongjiu.lu@intel.com>
38187
38188 * stdlib/longlong.h: Updated from GCC.
38189
bdd74070
AJ
381902012-05-09 Andreas Jaeger <aj@suse.de>
38191
edfe0dbe
AJ
38192 * nscd/nscd.c (run_modes): Make named enum, reorder so that
38193 default is first entry.
38194 (run_mode): Set type.
38195 (main): Remove informal message about syslog.
38196 (options): Fix typo.
38197
bcfe3a54
ST
38198 [BZ #14053]
38199 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 38200 to asm.
bcfe3a54
ST
38201 (lrint): Likewise.
38202 (llrintf): Likewise.
38203 (llrint): Likewise.
38204 (rint): Likewise.
38205 (rintf): Likewise.
38206 (nearbyint): Likewise.
38207 (nearbyintf): Likewise.
bdd74070 38208
91d8d69e
AJ
382092012-05-09 Andreas Jaeger <aj@suse.de>
38210 Pedro Alves <palves@redhat.com>
38211
38212 * nscd/nscd.c (run_mode): Use enum.
38213 (main): Cleanup coding style issue.
38214
bb90b80b
AJ
382152012-05-09 Alexandre Oliva <aoliva@redhat.com>
38216 Andreas Jaeger <aj@suse.de>
38217
bcfe3a54
ST
38218 * nscd/nscd.c (go_background): Replaced with...
38219 (run_mode): ... this.
bb90b80b 38220 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
38221 (options): Add -F --foreground.
38222 (main): Implement it.
38223 (parse_opt): Parse it.
bb90b80b 38224
1a4b75a1
AJ
382252012-05-09 Andreas Jaeger <aj@suse.de>
38226
38227 [BZ #14083]
38228 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
38229 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
38230 -Wconversion warning.
38231 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
38232 Likewise.
38233
b1cc2472
JM
382342012-05-09 Joseph Myers <joseph@codesourcery.com>
38235
38236 * conform/data/locale.h-data (NULL): Use macro-constant. Require
38237 == 0.
38238 (LC_ALL): Use macro-int-constant.
38239 (LC_COLLATE): Likewise.
38240 (LC_CTYPE): Likewise.
38241 (LC_MESSAGES): Likewise.
38242 (LC_MONETARY): Likewise.
38243 (LC_NUMERIC): Likewise.
38244 (LC_TIME): Likewise.
38245 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
38246 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
38247 [ISO || ISO99 || ISO11] (*_t): Do not allow.
38248 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
38249 Specify type.
38250 [C99-based standards] (float_t): Expect type.
38251 [C99-based standards] (double_t): Expect type.
38252 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
38253 type.
38254 [C99-based standards] (HUGE_VALL): Likewise.
38255 [C99-based standards] (INFINITY): Likewise.
38256 [C99-based standards] (NAN): Likewise.
38257 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
38258 [C99-based standards] (FP_NAN): Likewise.
38259 [C99-based standards] (FP_NORMAL): Likewise.
38260 [C99-based standards] (FP_SUBNORMAL): Likewise.
38261 [C99-based standards] (FP_ZERO): Likewise.
38262 [C99-based standards] (FP_FAST_FMA): Use
38263 optional-macro-int-constant. Specify type. Require == 1.
38264 [C99-based standards] (FP_FAST_FMAF): Likewise.
38265 [C99-based standards] (FP_FAST_FMAL): Likewise.
38266 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
38267 [C99-based standards] (FP_ILOGBNAN): Likewise.
38268 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
38269 Specify type.
38270 [C99-based standards] (MATH_ERREXCEPT): Likewise.
38271 [C99-based standards] (math_errhandling): Specify type.
38272 [ISO99 || ISO11] (signgam): Do not allow.
38273 [non-C99-based standards] (copysignf): Do not allow.
38274 [non-C99-based standards] (exp2f): Likewise.
38275 [non-C99-based standards] (log2f): Likewise.
38276 [non-C99-based standards] (modff): Allow.
38277 [non-C99-based standards] (erff): Do not allow.
38278 [non-C99-based standards] (erfcf): Likewise.
38279 [non-C99-based standards] (gammaf): Likewise.
38280 [non-C99-based standards] (hypotf): Likewise.
38281 [non-C99-based standards] (j0f): Likewise.
38282 [non-C99-based standards] (j1f): Likewise.
38283 [non-C99-based standards] (jnf): Likewise.
38284 [non-C99-based standards] (lgammaf): Likewise.
38285 [non-C99-based standards] (tgammaf): Likewise.
38286 [non-C99-based standards] (y0f): Likewise.
38287 [non-C99-based standards] (y1f): Likewise.
38288 [non-C99-based standards] (ynf): Likewise.
38289 [non-C99-based standards] (isnanf): Likewise.
38290 [non-C99-based standards] (acoshf): Likewise.
38291 [non-C99-based standards] (asinhf): Likewise.
38292 [non-C99-based standards] (atanhf): Likewise.
38293 [non-C99-based standards] (cbrtf): Likewise.
38294 [non-C99-based standards] (expm1f): Likewise.
38295 [non-C99-based standards] (ilogbf): Likewise.
38296 [non-C99-based standards] (log1pf): Likewise.
38297 [non-C99-based standards] (logbf): Likewise.
38298 [non-C99-based standards] (nextafterf): Likewise.
38299 [non-C99-based standards] (remainderf): Likewise.
38300 [non-C99-based standards] (rintf): Likewise.
38301 [non-C99-based standards] (scalbf): Likewise.
38302 [non-C99-based standards] (copysignl): Likewise.
38303 [non-C99-based standards] (exp2l): Likewise.
38304 [non-C99-based standards] (log2l): Likewise.
38305 [non-C99-based standards] (modfl): Allow.
38306 [non-C99-based standards] (erfl): Do not allow.
38307 [non-C99-based standards] (erfcl): Likewise.
38308 [non-C99-based standards] (gammal): Likewise.
38309 [non-C99-based standards] (hypotl): Likewise.
38310 [non-C99-based standards] (j0l): Likewise.
38311 [non-C99-based standards] (j1l): Likewise.
38312 [non-C99-based standards] (jnl): Likewise.
38313 [non-C99-based standards] (lgammal): Likewise.
38314 [non-C99-based standards] (tgammal): Likewise.
38315 [non-C99-based standards] (y0l): Likewise.
38316 [non-C99-based standards] (y1l): Likewise.
38317 [non-C99-based standards] (ynl): Likewise.
38318 [non-C99-based standards] (isnanl): Likewise.
38319 [non-C99-based standards] (acoshl): Likewise.
38320 [non-C99-based standards] (asinhl): Likewise.
38321 [non-C99-based standards] (atanhl): Likewise.
38322 [non-C99-based standards] (cbrtl): Likewise.
38323 [non-C99-based standards] (expm1l): Likewise.
38324 [non-C99-based standards] (ilogbl): Likewise.
38325 [non-C99-based standards] (log1pl): Likewise.
38326 [non-C99-based standards] (logbl): Likewise.
38327 [non-C99-based standards] (nextafterl): Likewise.
38328 [non-C99-based standards] (remainderl): Likewise.
38329 [non-C99-based standards] (rintl): Likewise.
38330 [non-C99-based standards] (scalbl): Likewise.
38331 [ISO || ISO99 || ISO11] (*_t): Do not allow.
38332 [non-C99-based standards] (FP_*): Do not allow.
38333 [C99-based standards] (FP_*): Change to
38334 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
38335 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
38336 allow.
38337 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
38338 (SIG_ERR): Likewise.
38339 [X/Open-based standards] (SIG_HOLD): Likewise.
38340 (SIG_IGN): Likewise.
38341 (SIGABRT): Use macro-int-constant. Specify type. Require
38342 positive value.
38343 (SIGFPE): Likewise.
38344 (SIGILL): Likewise.
38345 (SIGINT): Likewise.
38346 (SIGSEGV): Likewise.
38347 (SIGTER): Likewise.
38348 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
38349 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
38350 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
38351 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
38352 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
38353 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
38354 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
38355 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
38356 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
38357 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
38358 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
38359 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
38360 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
38361 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
38362 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
38363 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
38364 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
38365 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
38366 [X/Open-based standards] (SIGTRAP): Likewise.
38367 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
38368 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
38369 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
38370 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
38371 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
38372 allow.
38373
b9f1922d
IW
383742012-05-08 Ian Wienand <ianw@vmware.com>
38375
38376 [BZ #14080]
38377 * time/tzset.c (__tzset_parse_tz): Update default rules for
38378 daylight time changes in the Energy Policy Act of 2005.
38379
1db86e88
AJ
383802012-05-09 Andreas Jaeger <aj@suse.de>
38381
38382 [BZ #13983]
38383 * elf/ldconfig.c (parse_conf): Change string to make clear that
38384 ldconfig only issued a warning if ld.so.conf does not exist.
38385
dee4a4e3
DM
383862012-05-08 David S. Miller <davem@davemloft.net>
38387
ee0db190
DM
38388 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
38389 movxtod instead of popping the value on the stack.
38390
dee4a4e3
DM
38391 * sysdeps/sparc/fpu/libm-test-ulps: Update.
38392
6a43ec98
CD
383932012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
38394
38395 * config.h.in: Add HAVE_ARM_PCS_VFP.
38396
05c2c961
RMG
383972012-05-08 Roland Mc Grath <roland@hack.frob.com>
38398
bcfe3a54
ST
38399 [BZ #13979]
38400 * include/features.h: Warn if user requests __FORTIFY_SOURCE
38401 checking but the checks are disabled for any reason.
05c2c961 38402
4b30f61a
L
384032012-05-08 H.J. Lu <hongjiu.lu@intel.com>
38404
38405 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
38406 and ELF64_R_TYPE with ELFW(R_TYPE).
38407
eee2bc67
JM
384082012-05-08 Joseph Myers <joseph@codesourcery.com>
38409
7ea5391a
JM
38410 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
38411 (ulimit): Likewise.
38412
eee2bc67
JM
38413 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
38414 (settimeofday): Likewise.
38415
abb66a67
MF
384162012-05-08 Mike Frysinger <vapier@gentoo.org>
38417
38418 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
38419 a struct th_u2 inside the union, and move tu_block/tu_code into
38420 a new th_u3 union of tu_block/tu_code inside of that. Move
38421 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
38422 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
38423 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
38424 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
38425 (th_stuff): Change to th_u1.tu_stuff.
38426 (th_data): Define.
38427 (th_msg): Change to th_u1.th_u2.tu_data.
38428
7f18b530
DM
384292012-05-07 David S. Miller <davem@davemloft.net>
38430
05760585
DM
38431 * sysdeps/sparc/fpu/libm-test-ulps: Update.
38432
7f18b530
DM
38433 [BZ #14074]
38434 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
38435 (SETUP_PIC_REG): Use it.
38436 (SETUP_PIC_REG_LEAF): Use it.
38437
495fd99f
JM
384382012-05-07 Joseph Myers <joseph@codesourcery.com>
38439
38440 [BZ #13885]
38441 [BZ #13923]
38442 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
38443 USE_AS_EXPM1L.
38444 (EXPL_FINITE): Likewise.
38445 (FLDLOG): Likewise.
38446 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
38447 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
38448 e_expl.S.
38449 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
38450 USE_AS_EXPM1L.
38451 (EXPL_FINITE): Likewise.
38452 (FLDLOG): Likewise.
38453 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
38454 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
38455 e_expl.S.
38456 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
38457 test of -max_value argument for long double.
38458 * sysdeps/i386/fpu/libm-test-ulps: Update.
38459 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38460
6693d694
DM
384612012-05-06 David S. Miller <davem@davemloft.net>
38462
38463 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
38464 quad soft-float symbols whose references which are compiler
38465 generated.
38466 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
38467
6c23e11c
JM
384682012-05-06 Joseph Myers <joseph@codesourcery.com>
38469
d8b82cad
JM
38470 [BZ #13884]
38471 [BZ #13914]
38472 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
38473 USE_AS_EXP10L.
38474 (EXPL_FINITE): Likewise.
38475 (FLDLOG): Likewise.
38476 (c0): Likewise.
38477 (c1): Likewise.
38478 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
38479 Adjust comments for base varying.
38480 (__expl_finite): Change alias to EXPL_FINITE.
38481 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
38482 e_expl.S.
38483 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
38484 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
38485 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
38486 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
38487 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
38488 USE_AS_EXP10L.
38489 (EXPL_FINITE): Likewise.
38490 (FLDLOG): Likewise.
38491 (c0): Likewise.
38492 (c1): Likewise.
38493 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
38494 Adjust comments for base varying.
38495 (__expl_finite): Change alias to EXPL_FINITE.
38496 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
38497 tests for bugs.
38498 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
38499
6c23e11c
JM
38500 [BZ #14064]
38501 * math/libm-test.inc (check_float_internal): Correct ulp
38502 calculation for subnormal expected results.
38503
29ba805c
AJ
385042012-05-06 Andreas Jaeger <aj@suse.de>
38505
38506 * Makeconfig (+math-flags): New, set to -frounding-math.
38507 (+cflags): Add +math-flags so that all of glibc gets compiled with
38508 it.
38509
38510 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
38511
7b17aeda
JM
385122012-05-05 Joseph Myers <joseph@codesourcery.com>
38513
5779f134
JM
38514 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
38515 Disable one test.
38516
41498f4d
JM
38517 [BZ #13787]
38518 [BZ #13922]
38519 [BZ #14036]
38520 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
38521 (__ieee754_expl): Allow for and saturate large arguments.
38522 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
38523 (u_threshold): Likewise.
38524 (__exp): Call __ieee754_exp before checking for overflow and
38525 underflow.
38526 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
38527 (u_threshold): Likewise.
38528 (__expf): Call __ieee754_expf before checking for overflow and
38529 underflow.
38530 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
38531 (u_threshold): Likewise.
38532 (__expl): Call __ieee754_expl before checking for overflow and
38533 underflow.
38534 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
38535 (__ieee754_expl): Allow for and saturate large arguments.
38536 * math/libm-test.inc (exp_test): Add another test. Do not allow
38537 missing overflow exception on overflow.
38538 (expm1_test): Do not allow missing overflow exception on overflow.
38539
6698b8bf
JM
38540 * sysdeps/i386/fpu/e_expl.c: Move to ...
38541 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
38542 rather than using inline asm.
38543 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
38544 * sysdeps/x86_64/fpu/e_expl.S: Copy from
38545 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
38546
7b17aeda
JM
38547 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
38548 (nice): Likewise.
38549 (poll): Likewise.
38550 (signal): Likewise.
38551 (time): Likewise.
38552 (times): Likewise.
38553
f7c85819
JM
385542012-05-04 Joseph Myers <joseph@codesourcery.com>
38555
38556 * sysdeps/unix/syscalls.list (adjtime): Add entry from
38557 sysdeps/unix/common/syscalls.list.
38558 (fchmod): Likewise.
38559 (fchown): Likewise.
38560 (ftruncate): Likewise.
38561 (getrusage): Likewise.
38562 (gettimeofday): Likewise.
38563 (setpgid): Likewise.
38564 (setregid): Likewise.
38565 (setreuid): Likewise.
38566 (sigaction): Likewise.
38567 (truncate): Likewise.
38568 (vhangup): Likewise.
38569 * sysdeps/unix/common/syscalls.list: Remove file.
38570 * sysdeps/unix/bsd/Implies: Don't include unix/common.
38571 * sysdeps/unix/sysv/linux/Implies: Likewise.
38572
336270d0
L
385732012-05-04 H.J. Lu <hongjiu.lu@intel.com>
38574
38575 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
38576 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
38577 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
38578 Moved to ...
38579 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
38580 Here.
38581 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
38582 to ...
38583 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
38584 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
38585 to ...
38586 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
38587 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
38588 to ...
38589 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
38590 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
38591 to ...
38592 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
38593 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
38594 to ...
38595 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
38596 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
38597 to ...
38598 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
38599 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
38600 to ...
38601 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
38602 Here.
38603 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
38604 to ...
38605 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
38606 Here.
38607 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
38608 to ...
38609 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
38610 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
38611 Moved to ...
38612 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
38613 Here.
38614 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
38615 to ...
38616 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
38617
d128e450
JM
386182012-05-04 Joseph Myers <joseph@codesourcery.com>
38619
fa8ee516
JM
38620 * sysdeps/unix/common/bits/dirent.h: Remove file.
38621 * sysdeps/unix/common/bits/fcntl.h: Likewise.
38622
d128e450
JM
38623 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
38624 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
38625 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
38626 * sysdeps/unix/bsd/isatty.c: Likewise.
38627 * sysdeps/unix/bsd/tcdrain.c: Likewise.
38628 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
38629 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
38630
ff8faaf0 386312012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 38632
62881be4 38633 [BZ #13563]
31dc8730
AZ
38634 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
38635 long double comparison inaccuracies.
38636 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
38637 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38638
6fef930c
AS
386392012-05-04 Andreas Schwab <schwab@linux-m68k.org>
38640
38641 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
38642 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
38643
8f203e6c
JM
386442012-05-04 Joseph Myers <joseph@codesourcery.com>
38645
38646 [BZ #14049]
38647 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
38648 nonzero digits before rounding a hex value.
38649 * stdlib/tst-strtod.c (tests): Add another test.
38650
5197d9c2
AK
386512012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
38652
38653 * sysdeps/s390/fpu/libm-test-ulps: Update.
38654
f0c1dedf
AJ
386552012-05-03 Andreas Jaeger <aj@suse.de>
38656
38657 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
38658 does not get optimized out.
38659 (malloc_opt_barrier): New.
38660
a65ef2ae 386612012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 38662 Roland McGrath <roland@hack.frob.com>
a65ef2ae 38663
2b942cb7 38664 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 38665 intermediate file deletion.
2b942cb7 38666 (generated): Add .symlist files.
a65ef2ae 38667
54b71e02
JM
386682012-05-03 Joseph Myers <joseph@codesourcery.com>
38669
38670 [BZ #13775]
38671 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
38672 Redirect under this condition.
38673 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
38674 [__USE_GNU] (__dprintf_chk): Not under this condition.
38675 [__USE_GNU] (__vdprintf_chk): Likewise.
38676 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
38677 under this condition.
38678 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
38679 [__USE_XOPEN2K8] (dprintf): Define under this condition.
38680 [__USE_XOPEN2K8] (vdprintf): Likewise.
38681 [__USE_GNU] (__dprintf_chk): Not under this condition.
38682 [__USE_GNU] (__vdprintf_chk): Likewise.
38683 [__USE_GNU] (dprintf): Likewise.
38684 [__USE_GNU] (vdprintf): Likewise.
38685
d3dfcc41
RM
386862012-05-03 Roland McGrath <roland@hack.frob.com>
38687
38688 * elf/Makefile (common-generated): Set this instead of generated for
38689 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
38690 $(all-built-dso)-derived lists.
38691
7ac30cc5
AJ
386922012-05-03 Andreas Jaeger <aj@suse.de>
38693
0c51e550
AJ
38694 * sysdeps/i386/fpu/libm-test-ulps: Update.
38695
7ac30cc5
AJ
38696 * FAQ: Removed.
38697 * FAQ.in: Likewise.
38698 * scripts/gen-FAQ.pl: Likewise.
38699 * manual/install.texi (Installation): Point to online location of
38700 FAQ.
38701 * Makefile (files-for-dist): Remove FAQ.
38702 (FAQ): Remove.
38703
d4c2917f
AM
387042012-05-02 Allan McRae <allan@archlinux.org>
38705
38706 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
38707 (LDFLAGS-reldepmod5.so): Likewise.
38708 (LDFLAGS-reldep6mod1.so): Likewise.
38709 (LDFLAGS-reldep6mod4.so): Likewise.
38710 (LDFLAGS-reldep8mod3.so): Likewise.
38711 (LDFLAGS-unload4mod1.so): Likewise.
38712 (LDFLAGS-unload4mod2.so): Likewise.
38713 (LDFLAGS-tst-initorder): Likewise.
38714 (LDFLAGS-tst-initordera2.so): Likewise.
38715 (LDFLAGS-tst-initordera3.so): Likewise.
38716 (LDFLAGS-tst-initordera4.so): Likewise.
38717 (LDFLAGS-tst-initorderb2.so): Likewise.
38718 (LDFLAGS-noload): Likewise.
38719 (LDFLAGS-next): Likewise.
38720 (LDFLAGS-order2mod1.so): Likewise.
38721 (LDFLAGS-order2mod2.so): Likewise.
38722 (LDFLAGS-tst-initorder2): Likewise.
38723 (LDFLAGS-tst-initorder2a.so): Likewise.
38724 (LDFLAGS-tst-initorder2b.so): Likewise.
38725 (LDFLAGS-tst-initorder2c.so): Likewise.
38726 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
38727
d77f993f
DM
387282012-05-02 David S. Miller <davem@davemloft.net>
38729
38730 * sysdeps/sparc/fpu/libm-test-ulps: Update.
38731
171a70b4
PP
387322012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
38733
38734 [BZ #14055]
38735 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
38736
0be196ad
AJ
387372012-05-02 Andreas Jaeger <aj@suse.de>
38738
38739 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
38740 since we manipulate rounding mode.
38741 (CPPFLAGS-test-idouble.c): Likewise.
38742 (CPPFLAGS-test-ifloat.c): Likewise.
38743 (CFLAGS-test-ldouble.c): Likewise.
38744 (CFLAGS-test-double.c): Likewise.
38745 (CFLAGS-test-float.c): Likewise.
38746 (CFLAGS-test-misc.c): Likewise.
38747 (CFLAGS-test-test-fenv.c): Likewise.
38748
4f9d04aa
AZ
387492012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38750
2b942cb7
RM
38751 [BZ #2550]
38752 [BZ #2570]
38753 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
38754 comparisons to determine direction to adjust input.
4f9d04aa 38755
82a79e7d
RM
387562012-05-01 Roland McGrath <roland@hack.frob.com>
38757
f5a01ca9
RM
38758 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
38759 output to the target.
38760
90fe4186
RM
38761 * scripts/localplt.awk: New file.
38762 * elf/Makefile ($(objpfx)check-localplt): Target removed.
38763 (check-localplt-CFLAGS): Variable removed.
38764 ($(all-built-dso:=.jmprel)): New static pattern rule.
38765 (generated): Add those targets.
38766 (localplt-built-dso): New variable.
38767 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
38768
38769 * elf/check-localplt.c: File removed.
38770
82397ed6
RM
38771 * scripts/check-execstack.awk: New file.
38772 * elf/Makefile ($(objpfx)check-execstack): Target removed.
38773 (check-execstack-CFLAGS): Variable removed.
38774 ($(objpfx)check-execstack.h): Target removed.
38775 ($(objpfx)execstack-default): New target.
38776 (generated): Add that instead of check-execstack.h.
38777 ($(all-built-dso:=.phdr)): New static pattern rule.
38778 (generated): Add those targets.
38779 * elf/check-execstack.c: File removed.
38780
82a79e7d
RM
38781 * scripts/check-textrel.awk: New file.
38782 * elf/Makefile ($(objpfx)check-textrel): Target removed.
38783 (check-textrel-CFLAGS): Variable removed.
38784 (all-built-dso): Use := to define.o
38785 ($(all-built-dso:=.dyn)): New static pattern rule.
38786 (generated): Add those targets.
38787 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
38788 * config.make.in (READELF): New substituted variable.
38789 * elf/check-textrel.c: File removed.
38790
62fde54f 387912012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 38792
615605c9
JM
38793 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
38794 allow.
38795 * conform/data/ctype.h-data [C99-based standards] (isblank):
38796 Expect function.
38797 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
38798 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
38799 [ISO || ISO99 || ISO11] (*_t): Do not allow.
38800 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
38801 Specify type. Require positive value.
38802 (EILSEQ): Likewise.
38803 (ERANGE): Likewise.
38804 [ISO || POSIX] (EILSEQ): Do not expect.
38805 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
38806 Specify type. Require positive value.
38807 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
38808 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
38809 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
38810 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
38811 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
38812 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
38813 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
38814 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
38815 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
38816 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
38817 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
38818 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
38819 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
38820 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
38821 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
38822 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
38823 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
38824 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
38825 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
38826 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
38827 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
38828 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
38829 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
38830 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
38831 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
38832 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
38833 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
38834 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
38835 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
38836 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
38837 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
38838 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
38839 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
38840 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
38841 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
38842 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
38843 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
38844 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
38845 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
38846 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
38847 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
38848 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
38849 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
38850 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
38851 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
38852 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
38853 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
38854 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
38855 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
38856 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
38857 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
38858 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
38859 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
38860 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
38861 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
38862 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
38863 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
38864 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
38865 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
38866 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
38867 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
38868 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
38869 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
38870 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
38871 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
38872 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
38873 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
38874 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
38875 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
38876 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
38877 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
38878 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
38879 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
38880 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
38881 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
38882 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
38883 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
38884 Require >= 2.
38885 (FLT_ROUNDS): Expect as macro, not constant.
38886 (FLT_MANT_DIG): Use macro-int-constant.
38887 (DBL_MANT_DIG): Likewise.
38888 (LDBL_MANT_DIG): Likewise.
38889 (FLT_DIG): Likewise.
38890 (DBL_DIG): Likewise.
38891 (LDBL_DIG): Likewise.
38892 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
38893 (DBL_MIN_EXP): Likewise.
38894 (LDBL_MIN_EXP): Likewise.
38895 (FLT_MAX_EXP): Use macro-int-constant.
38896 (DBL_MAX_EXP): Likewise.
38897 (LDBL_MAX_EXP): Likewise.
38898 (FLT_MAX_10_EXP): Likewise.
38899 (DBL_MAX_10_EXP): Likewise.
38900 (LDBL_MAX_10_EXP): Likewise.
38901 (FLT_MAX): Use macro-constant.
38902 (DBL_MAX): Likewise.
38903 (LDBL_MAX): Likewise.
38904 (FLT_EPSILON): Use macro-constant. Give upper bound.
38905 (DBL_EPSILON): Likewise.
38906 (LDBL_EPSILON): Likewise.
38907 (FLT_MIN): Likewise.
38908 (DBL_MIN): Likewise.
38909 (LDBL_MIN): Likewise.
38910 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
38911 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
38912 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
38913 [ISO11] (FLT_HAS_SUBNORM): Likewise.
38914 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
38915 [ISO11] (DBL_DECIMAL_DIG): Likewise.
38916 [ISO11] (FLT_DECIMAL_DIG): Likewise.
38917 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
38918 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
38919 [ISO11] (FLT_TRUE_MIN): Likewise.
38920 [ISO11] (LDBL_TRUE_MIN): Likewise.
38921 [ISO || ISO99 || ISO11] (*_t): Do not allow.
38922 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
38923 (SCHAR_MIN): Use macro-int-constant. Specify type.
38924 (SCHAR_MAX): Likewise.
38925 (UCHAR_MAX): Likewise.
38926 (CHAR_MIN): Likewise.
38927 (CHAR_MAX): Likewise.
38928 (MB_LEN_MAX): Use macro-int-constant.
38929 (SHRT_MIN): Use macro-int-constant. Specify type.
38930 (SHRT_MAX): Likewise.
38931 (USHRT_MAX): Likewise.
38932 (INT_MAX): Likewise.
38933 (INT_MIN): Use macro-int-constant. Specify type. Make upper
38934 bound negative.
38935 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
38936 bound with "U".
38937 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
38938 bound with "L".
38939 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
38940 bound negative. Suffix upper bound with "L".
38941 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
38942 bound with "UL".
38943 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
38944 Specify type.
38945 [C99-based standards] (LLONG_MAX): Likewise.
38946 [C99-based standards] (ULLONG_MAX): Likewise.
38947 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
38948 == 0.
38949 [ISO11] (max_align_t): Require type.
38950 [ISO || ISO99 || ISO11] (*_t): Do not allow.
38951
c9140a62
JM
38952 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
38953 from $CFLAGS, without defining away __attribute__ calls.
38954 (checknamespace): Use $CFLAGS_namespace.
38955
9af0bf29
JM
38956 * conform/conformtest.pl (@keywords): Only include C99 keywords
38957 for standards based on C99 or C11.
38958
343222a2
JM
38959 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
38960 Disable tests.
38961 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
38962 UNIX98]: Likewise.
38963
661f8cf0
JM
38964 * conform/conformtest.pl: Handle "macro-int-constant" and test for
38965 usability of symbols in #if.
38966
ee74b9cb
JM
38967 * conform/conformtest.pl: If macro or constant types start
38968 "promoted:", expect the symbol to be of the following type
38969 promoted by the integer promotions.
62fde54f 38970
aafc49b3
JM
38971 * conform/conformtest.pl: Parse all "constant" and "macro" lines
38972 in one place. Also handle "macro-constant".
38973
fefdf574
JM
38974 * conform/conformtest.pl: Only accept expected macro values with
38975 "==". Parse all "macro" lines in one place.
38976 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
38977
f2d922fe
JM
38978 * conform/conformtest.pl: Handle braced types on "constant" lines
38979 instead of handling "typed-constant".
38980 * conform/data/signal.h-data: Use "constant" instead of
38981 "typed-constant".
38982
d22956c9
JM
38983 * conform/conformtest.pl: Handle "optional-" at start of lines in
38984 one place rather than duplicating several cases. Handle each
38985 format of "macro" line with initial "optional-".
38986
028e2e38
JM
38987 * conform/conformtest.pl: Only accept expected constant or
38988 optional-constant values with "==". Parse all "constant" lines in
38989 one place. Parse all "optional-constant" lines in one place.
38990 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
38991 * conform/data/fmtmsg.h-data: Likewise.
38992 * conform/data/netinet/in.h-data: Likewise.
38993 * conform/data/tar.h-data: Likewise.
38994 * conform/data/limits.h-data: Use "==" form on "constant" and
38995 "optional-constant" lines.
38996
1b8f2850
JM
38997 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
38998 Use -std=c99 for XOPEN2K.
38999 (@knownproblems): Remove.
39000 (newtoken): Don't check %isknown.
39001
a05a144b
JM
39002 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
39003 Do not expect macro.
39004 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
39005 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
39006 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
39007 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
39008 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
39009 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
39010 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
39011 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
39012 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
39013 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
39014 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
39015 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
39016 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
39017 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
39018 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
39019 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
39020 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
39021 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
39022 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
39023 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
39024 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
39025 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
39026 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
39027 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
39028 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
39029 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
39030 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
39031 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
39032 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
39033 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
39034 [XPG3] (acosh): Likewise.
39035 [XPG3] (asinh): Likewise.
39036 [XPG3] (atanh): Likewise.
39037 [XPG3] (cbrt): Likewise.
39038 [XPG3] (expm1): Likewise.
39039 [XPG3] (ilogb): Likewise.
39040 [XPG3] (log1p): Likewise.
39041 [XPG3] (logb): Likewise.
39042 [XPG3] (nextafter): Likewise.
39043 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
39044 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
39045 [XPG3] (remainder): Likewise.
39046 [XPG3] (rint): Likewise.
39047 [XPG3 || XPG4 || UNIX98] (round): Likewise.
39048 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
39049 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
39050 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
39051 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
39052 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
39053 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
39054 [UNIX98 || XOPEN2K] (scalb): Expect.
39055 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
39056 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
39057 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
39058 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
39059 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
39060 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
39061 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
39062 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
39063 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
39064 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
39065 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
39066 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
39067 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
39068 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
39069 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
39070 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
39071 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
39072 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
39073 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
39074 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
39075 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
39076 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
39077 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
39078 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
39079 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
39080 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
39081 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
39082 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
39083 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
39084 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
39085 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
39086 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
39087 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
39088 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
39089 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
39090 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
39091 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
39092 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
39093 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
39094 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
39095 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
39096 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
39097 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
39098 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
39099 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
39100 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
39101 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
39102 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
39103 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
39104 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
39105 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
39106 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
39107 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
39108 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
39109 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
39110 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
39111 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
39112 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
39113 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
39114 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
39115 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
39116 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
39117 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
39118 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
39119 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
39120 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
39121 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
39122 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
39123 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
39124 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
39125 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
39126 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
39127 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
39128 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
39129 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
39130 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
39131 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
39132 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
39133 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
39134 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
39135 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
39136 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
39137 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
39138 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
39139 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
39140 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
39141 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
39142 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
39143 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
39144 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
39145 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
39146 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
39147 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
39148 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
39149 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
39150 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
39151 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
39152 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
39153 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
39154 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
39155 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
39156 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
39157 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
39158 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
39159 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
39160 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
39161 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
39162 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
39163 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
39164 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
39165 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
39166 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
39167 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
39168 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
39169 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
39170 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
39171 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
39172 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
39173 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
39174 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
39175 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
39176 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
39177 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
39178 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
39179 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
39180 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
39181 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
39182 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
39183 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
39184 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
39185 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
39186 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
39187 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
39188 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
39189 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
39190 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
39191 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
39192
73c5ebe3
JM
39193 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
39194 _XOPEN_SOURCE_EXTENDED for XPG4.
39195
39c33b6c
JM
39196 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
39197
62fde54f
JM
39198 * Makeconfig (localtime): Remove variable.
39199 (inst_localtime-file): Likewise.
39200
0741d64c
AS
392012012-05-01 Andreas Schwab <schwab@linux-m68k.org>
39202
39203 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
39204 Update.
39205 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
39206 Update.
39207 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
39208 Update.
39209 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
39210 Update.
39211 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
39212 Update.
39213 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
39214 Update.
39215 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
39216 Update.
39217 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
39218 Update.
39219 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
39220 Update.
39221
7cb029ee
JM
392222012-05-01 Joseph Myers <joseph@codesourcery.com>
39223
39224 [BZ #2550]
39225 [BZ #2570]
39226 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
39227 comparisons to determine direction to adjust input.
39228 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
39229 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
39230 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
39231 Likewise.
39232 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
39233 Likewise.
39234 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
39235 Likewise.
39236 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
39237 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
39238 Likewise.
39239 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
39240 Likewise.
39241 * math/libm-test.inc (nexttoward_test): Add more tests.
39242
412bd966
AS
392432012-05-01 Andreas Schwab <schwab@linux-m68k.org>
39244
39245 [BZ #14040]
39246 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
39247 in version GLIBC_2.1, not GLIBC_2.0.
39248 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
39249 Likewise.
39250
9568c0c2
JM
392512012-04-30 Joseph Myers <joseph@codesourcery.com>
39252
adfbc8ac
JM
39253 [BZ #13942]
39254 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
39255 (1 - x) * (1 + x).
39256 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
39257 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
39258 * math/libm-test.inc (acos_test): Add more tests.
39259 (asin_test): Likewise.
39260 * sysdeps/i386/fpu/libm-test-ulps: Update.
39261 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39262
5ba3cc69
JM
39263 [BZ #14034]
39264 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
39265 of square root.
39266 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
39267 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
39268 * math/libm-test.inc (acos_test_tonearest): New function.
39269 (acos_test_towardzero): Likewise.
39270 (acos_test_downward): Likewise.
39271 (acos_test_upward): Likewise.
39272 (asin_test_tonearest): Likewise.
39273 (asin_test_towardzero): Likewise.
39274 (asin_test_downward): Likewise.
39275 (asin_test_upward): Likewise.
39276 (main): Call the new functions.
39277 * sysdeps/i386/fpu/libm-test-ulps: Update.
39278 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
39279
9568c0c2
JM
39280 [BZ #13884]
39281 [BZ #13924]
39282 * math/e_exp10.c: Include <float.h>.
39283 (__ieee754_exp10): Handle underflow here rather than multiplying
39284 large negative argument by M_LN10.
39285 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
39286 of __ieee754_expf.
39287 * math/e_exp10l.c: Include <float.h>.
39288 (__ieee754_exp10l): Handle underflow here rather than multiplying
39289 large negative argument by M_LN10l.
39290 * math/libm-test.inc (exp10_test): Add another test. Do not allow
39291 spurious overflow exception on underflow.
39292
5ac3ea17
MP
392932012-04-29 Marek Polacek <polacek@redhat.com>
39294
39295 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
39296 (__fortify_function): New macro.
39297 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
39298 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
39299 __extern_always_inline.
39300 * libio/bits/stdio2.h: Likewise.
39301 * libio/bits/stdio.h: Likewise.
39302 * string/string.h: Likewise.
39303 * string/bits/string3.h: Likewise.
39304 * include/stdio.h: Likewise.
39305 * stdlib/bits/stdlib.h: Likewise.
39306 * stdlib/stdlib.h: Likewise.
39307 * rt/bits/mqueue2.h: Likewise.
39308 * rt/mqueue.h: Likewise.
39309 * posix/bits/unistd.h: Likewise.
39310 * posix/unistd.h: Likewise.
39311 * io/bits/poll2.h: Likewise.
39312 * io/bits/fcntl2.h: Likewise.
39313 * io/fcntl.h: Likewise.
39314 * io/sys/poll.h: Likewise.
39315 * misc/bits/syslog.h: Likewise.
39316 * misc/bits/syslog-ldbl.h: Likewise.
39317 * misc/sys/syslog.h: Likewise.
39318 * socket/bits/socket2.h: Likewise.
39319 * socket/sys/socket.h: Likewise.
39320 * debug/tst-chk1.c: Likewise.
39321 * wcsmbs/bits/wchar2.h: Likewise.
39322 * wcsmbs/bits/wchar-ldbl.h: Likewise.
39323 * wcsmbs/wchar.h: Likewise.
39324
ecf0ebfb
AJ
393252012-04-29 Andreas Jaeger <aj@suse.de>
39326
39327 * Makerules (tests): Remove enable-check-abi protection.
39328 (check-abi-warn): Remove.
39329 (check-abi-%): Remove check-abi-warn usage.
39330
39331 * configure.in: Remove check-abi configure option.
39332 * configure: Regenerated.
39333 * config.make.in (enable-check-abi): Remove.
39334
6d5c57fa
AS
393352012-04-28 Andreas Schwab <schwab@linux-m68k.org>
39336
24c5d07e 39337 [BZ #14033]
ded5180a
AS
39338 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
39339 double functions to double *_finite functions.
39340
7e0d315d
AS
39341 [BZ #13941]
39342 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
39343 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
39344 LDBL_MIN_EXP.
39345 * stdio-common/Makefile (tests): Add tst-sprintf3.
39346 * stdio-common/tst-sprintf3.c: New file.
39347
6d5c57fa
AS
39348 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
39349 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
39350
0749ff8b
JM
393512012-04-28 Joseph Myers <joseph@codesourcery.com>
39352
39353 * conform/conformtest.pl: Remove duplicate typed-constant
39354 handling.
39355
8dbd5d7b
DM
393562012-04-28 David S. Miller <davem@davemloft.net>
39357
39358 * Makerules (%.abilist): Add vpath on sysdep_dirs.
39359 (check-abi-%): Remove AWK script prerequisite and explicit
39360 abilist directory.
39361 (check-abi): Rewrite to just diff the symlist with the abilist.
39362 (config-tls, config-abi-config): Delete, no longer used.
39363 (update-abi-%): Remove AWK script and explicit abilist directory.
39364 (update-abi): Rewrite to simply compare and conditionally copy the
39365 symlist and the sysdep abilist file. Remove update-abi-config
39366 checks.
39367 * abilist/ld.abilist: Remove.
39368 * abilist/libBrokenLocale.abilist: Remove.
39369 * abilist/libanl.abilist: Remove.
39370 * abilist/libcrypt.abilist: Remove.
39371 * abilist/libdl.abilist: Remove.
39372 * abilist/librt.abilist: Remove.
39373 * abilist/libthread_db.abilist: Remove.
39374 * abilist/libutil.abilist: Remove.
39375 * scripts/extract-abilist.awk: Remove.
39376 * scripts/merge-abilist.awk: Remove.
39377 * sysdeps/generic/libcidn.abilist: New file.
39378 * sysdeps/generic/libnss_compat.abilist: New file.
39379 * sysdeps/generic/libnss_db.abilist: New file.
39380 * sysdeps/generic/libnss_dns.abilist: New file.
39381 * sysdeps/generic/libnss_files.abilist: New file.
39382 * sysdeps/generic/libnss_hesiod.abilist: New file.
39383 * sysdeps/generic/libnss_nis.abilist: New file.
39384 * sysdeps/generic/libnss_nisplus.abilist: New file.
39385 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
39386 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
39387 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
39388 file.
39389 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
39390 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
39391 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
39392 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
39393 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
39394 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
39395 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
39396 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
39397 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
39398 file.
39399 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
39400 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
39401 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
39402 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
39403 file.
39404 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
39405 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
39406 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
39407 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
39408 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
39409 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
39410 file.
39411 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
39412 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
39413 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
39414 file.
39415 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
39416 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
39417 New file.
39418 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
39419 New file.
39420 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
39421 New file.
39422 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
39423 New file.
39424 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
39425 New file.
39426 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
39427 New file.
39428 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
39429 New file.
39430 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
39431 New file.
39432 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
39433 New file.
39434 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
39435 New file.
39436 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
39437 New file.
39438 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
39439 New file.
39440 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
39441 New file.
39442 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
39443 file.
39444 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
39445 New file.
39446 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
39447 New file.
39448 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
39449 file.
39450 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
39451 New file.
39452 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
39453 New file.
39454 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
39455 file.
39456 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
39457 New file.
39458 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
39459 New file.
39460 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
39461 New file.
39462 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
39463 New file.
39464 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
39465 New file.
39466 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
39467 New file.
39468 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
39469 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
39470 file.
39471 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
39472 New file.
39473 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
39474 file.
39475 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
39476 file.
39477 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
39478 file.
39479 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
39480 file.
39481 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
39482 file.
39483 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
39484 New file.
39485 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
39486 file.
39487 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
39488 file.
39489 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
39490 New file.
39491 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
39492 file.
39493 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
39494 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
39495 file.
39496 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
39497 New file.
39498 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
39499 file.
39500 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
39501 file.
39502 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
39503 file.
39504 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
39505 file.
39506 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
39507 file.
39508 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
39509 New file.
39510 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
39511 file.
39512 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
39513 file.
39514 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
39515 New file.
39516 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
39517 file.
39518 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
39519 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
39520 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
39521 file.
39522 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
39523 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
39524 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
39525 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
39526 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
39527 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
39528 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
39529 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
39530 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
39531 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
39532 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
39533 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
39534 file.
39535 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
39536 New file.
39537 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
39538 file.
39539 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
39540 file.
39541 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
39542 file.
39543 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
39544 file.
39545 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
39546 file.
39547 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
39548 New file.
39549 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
39550 New file.
39551 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
39552 file.
39553 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
39554 New file.
39555 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
39556 file.
39557 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
39558 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
39559 file.
39560 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
39561 New file.
39562 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
39563 file.
39564 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
39565 file.
39566 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
39567 file.
39568 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
39569 file.
39570 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
39571 file.
39572 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
39573 New file.
39574 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
39575 New file.
39576 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
39577 file.
39578 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
39579 New file.
39580 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
39581 file.
39582
41d73a1b
JM
395832012-04-28 Joseph Myers <joseph@codesourcery.com>
39584
39585 * conform/conformtest.pl: Fix typo in handling typed-constant from
39586 allow-header.
39587
28aeeda4
JM
395882012-04-27 Joseph Myers <joseph@codesourcery.com>
39589
adae8f5e
JM
39590 * README: Cut down references to pre-2.6 Linux kernels and
39591 Linuxthreads. Update lists of configurations in libc and ports
39592 and sort alphabetically. Say "or newer" with Linux kernel version
39593 requirements.
39594
28aeeda4
JM
39595 * config.h.in [IS_IN_build]: Allow compiling without optimization.
39596
a462cb63
RA
395972012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
39598
39599 [BZ #887]
39600 * math/libm-test.inc (logb_test_downward): New test to expose
39601 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
39602 rounding mode.
39603
6ad3493e
JM
396042012-04-27 Joseph Myers <joseph@codesourcery.com>
39605
39606 [BZ #14027]
39607 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
39608 to be done.
39609 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
39610 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
39611
2ce4f015
JM
396122012-04-26 Joseph Myers <joseph@codesourcery.com>
39613
5aeb141a
JM
39614 * sysdeps/unix/i386/brk.S: Remove file.
39615 * sysdeps/unix/i386/dl-brk.S: Likewise.
39616 * sysdeps/unix/i386/pipe.S: Likewise.
39617 * sysdeps/unix/i386/sigreturn.S: Likewise.
39618 * sysdeps/unix/i386/syscall.S: Likewise.
39619 * sysdeps/unix/i386/vfork.S: Likewise.
39620 * sysdeps/unix/i386/wait.S: Likewise.
39621
7143acae
JM
39622 * sysdeps/unix/common/tcsendbrk.c: Move to ...
39623 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
39624
2ce4f015
JM
39625 * configure.in (arm*-none*): Do not allow without
39626 --enable-hacker-mode.
39627 (netbsd*): Remove case setting base_os.
39628 (386bsd*): Likewise.
39629 (freebsd*): Likewise.
39630 (bsdi*): Likewise.
39631 (osf*): Likewise.
39632 (sunos*): Likewise.
39633 (ultrix*): Likewise.
39634 (newsos*): Likewise.
39635 (dynix*): Likewise.
39636 (*bsd*): Likewise.
39637 (sysv*): Likewise.
39638 (isc*): Likewise.
39639 (esix*): Likewise.
39640 (sco*): Likewise.
39641 (minix*): Likewise.
39642 (irix4*): Likewise.
39643 (irix6*): Likewise.
39644 (solaris[2-9]*): Likewise.
39645 (none): Likewise.
39646 * configure: Regenerated.
39647
0ac229c8
AZ
396482012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39649
39650 [BZ #11521]
39651 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
39652 overflow or cancellation in calculating denominator.
39653 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
39654 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
39655 down expression to avoid unexpected rounding in newer GCCs.
39656 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
39657
33f244f4
DM
396582012-04-26 David S. Miller <davem@davemloft.net>
39659
39660 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
39661 long-double compat symbols.
39662 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
39663 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
39664 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
39665 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
39666 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
39667 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
39668 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
39669 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
39670 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
39671 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
39672 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
39673 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
39674 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
39675
cfa1f3e8
DM
396762012-04-25 David S. Miller <davem@davemloft.net>
39677
39678 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
39679 HWCAP_* values only after the memory barriers have been defined.
39680 (atomic_full_barrier): Define.
39681 (atomic_read_barrier): Define.
39682 (atomic_write_barrier): Define.
39683
6e236b92
SP
396842012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
39685
39686 * shlib-versions: Add libgcc_s version information.
39687 * sysdeps/generic/libgcc_s.h: Remove.
39688 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
39689 libgcc_s.h.
39690 * sysdeps/gnu/unwind-resume.c: Likewise.
39691 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
39692
aab39a09
DM
396932012-04-25 David S. Miller <davem@davemloft.net>
39694
39695 * sysdeps/unix/sparc/brk.S: Delete.
39696 * sysdeps/unix/sparc/dl-brk.S: Delete.
39697 * sysdeps/unix/sparc/pipe.S: Delete.
39698 * sysdeps/unix/sparc/sysdep.S: Delete.
39699 * sysdeps/unix/sparc/sysdep.h: Delete.
39700 * sysdeps/unix/sparc/vfork.S: Delete.
57f41c40
AS
39701 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
39702 (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
39703 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
39704 (ret_ERRVAL, r0, r1, MOVE): Define.
aab39a09
DM
39705 (JUMPTARGET): Remove.
39706 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
39707 sysdeps/unix/sparc/sysdep.h
39708 (ENTRY, END): Remove.
39709 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
39710
a3cc4f48
JM
397112012-04-25 Joseph Myers <joseph@codesourcery.com>
39712
2ed8cda2
JM
39713 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
39714 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
39715 -DIS_IN_build.
39716
35d76d59
JM
39717 * timezone/README: Update upstream location and email address for
39718 tzcode and tzdata.
39719 * timezone/zdump.c: Update from tzcode 2012b.
39720 * timezone/zic.c: Likewise.
39721
a3cc4f48
JM
39722 * configure.in (libc_cv_as_needed): Remove test.
39723 * configure: Regenerated.
39724 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
39725 conditional definition.
39726 [$(have-as-needed) != yes] (no-as-needed): Likewise.
39727 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
39728 * config.make.in (have-as-needed): Remove variable.
39729
ceab42c3
SP
397302012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
39731 Paul Pluzhnikov <ppluzhnikov@google.com>
39732
39733 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
39734 strings correctly.
39735
3ce2865f
CLT
397362012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
39737
39738 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
39739 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
39740 * sysdeps/sh/strlen.S: Likewise.
39741
f37e0d68
JM
397422012-04-24 Joseph Myers <joseph@codesourcery.com>
39743
ae186e9a
JM
39744 * sysdeps/unix/fork.S: Remove file.
39745 * sysdeps/unix/i386/fork.S: Likewise.
39746 * sysdeps/unix/sparc/fork.S: Likewise.
39747
b96914af
JM
39748 * sysdeps/unix/system.c: Remove file.
39749 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
39750
f37e0d68
JM
39751 * sysdeps/unix/getegid.S: Remove file.
39752 * sysdeps/unix/geteuid.S: Likewise.
39753
87ef29ca
RM
397542012-04-24 Roland McGrath <roland@hack.frob.com>
39755
83bcd236
RM
39756 * scripts/check-localplt.awk: New file.
39757 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
39758 of diff.
39759 * scripts/data/localplt-generic.data: Add a comment.
39760
87ef29ca
RM
39761 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
39762 NODE when __dir_mkfile failed.
39763 * sysdeps/mach/hurd/symlinkat.c: Likewise.
39764 Reported by Ludovic Courtès <ludo@gnu.org>.
39765
e5a6e567
AJ
397662012-04-24 Andreas Jaeger <aj@suse.de>
39767
39768 * Makerules (common-clean): Also remove gen-as-const-headers
39769 files.
39770
c1820385
JM
397712012-04-24 Joseph Myers <joseph@codesourcery.com>
39772
39773 * Makerules (native-compile): Do not change working directory for
39774 build. Use $(OUTPUT_OPTION) in command.
39775 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
39776
94e02fc4
AZ
397772012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39778
39779 [BZ #13886]
39780 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
39781 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
39782 * math/libm-test.inc (floor_test): Add more tests.
39783 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
39784
3a533ca3
JM
397852012-04-24 Joseph Myers <joseph@codesourcery.com>
39786
940ab4b3
JM
39787 * sysdeps/unix/getdents.c: Remove file.
39788 * sysdeps/unix/sysv/getdents.c: Likewise.
39789 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
39790
90e037bd
JM
39791 * sysdeps/unix/syscalls.list (madvise): Add syscall from
39792 sysdeps/unix/mman/syscalls.list.
39793 (mmap): Likewise.
39794 (mprotect): Likewise.
39795 (msync): Likewise.
39796 (munmap): Likewise.
39797 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
39798 * sysdeps/unix/mman/syscalls.list: Remove.
39799 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
39800
3a533ca3
JM
39801 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
39802 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
39803 * configure: Regenerated.
39804 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
39805 $(libgcc_s_suffix).
39806 * config.make.in (libgcc_s_suffix): Remove variable.
39807
1ad743de
JM
398082012-04-23 Joseph Myers <joseph@codesourcery.com>
39809
4ad451e2
JM
39810 * sysdeps/unix/sysv/gethostname.c: Move to ...
39811 * sysdeps/posix/gethostname.c: ... here.
39812
5e37ce39
JM
39813 * sysdeps/unix/execve.S: Remove file.
39814
1ad743de
JM
39815 * sysdeps/unix/_exit.S: Remove file.
39816
4e681b5b
AJ
398172012-04-23 Andreas Jaeger <aj@suse.de>
39818
39819 [BZ #13739]
39820 * manual/Makefile: Remove make dist support, there's no
39821 need for a stand-alone documentation tar ball.
39822 (TEXI2DVI): Define always, it's not in Makeconfig.
39823 (dist): Removed.
39824 (tar-it): Removed.
39825 (edition): Removed.
39826 (glibc-doc-$(edition).tar): Removed
39827 (%.Z): Removed.
39828 (%.gz): Removed.
39829 (%.uu): Removed.
39830 (ETAGS): Remove, it's in Makeconfig.
39831 (move-if-change): Remove, it's in Makeconfig.
39832
38686a03 398332012-04-23 Paul Eggert <eggert@cs.ucla.edu>
c0baea34
PE
39834
39835 [BZ #13970]
39836 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
39837 (strtod, strtof, strtold, strtol, strtoul, strtoq)
39838 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
39839 (strtod_l, strtof_l, strtold_l): Remove __wur.
39840 It is not necessarily an error to ignore strtol's return value.
39841 One can reliably look at the stored endptr to decide whether
39842 the number had valid syntax.
39843
7c0616fa
AJ
398442012-04-21 Andreas Jaeger <aj@suse.de>
39845
803cb6b7 39846 [BZ #13739]
7c0616fa
AJ
39847 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
39848
b0fe253f
JM
398492012-04-21 Joseph Myers <joseph@codesourcery.com>
39850
39851 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
39852 * sysdeps/unix/sysv/Versions: Remove file.
39853
8280f22d
MT
398542012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
39855
39856 [BZ #13927]
39857 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
39858
75ce411f 398592012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
39860
39861 [BZ #7064]
39862 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
39863 version from __vm86.
39864
097d59fa
JM
398652012-04-20 Joseph Myers <joseph@codesourcery.com>
39866
a90f3bcb
JM
39867 * sysdeps/unix/common/lxstat.c: Remove file.
39868 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
39869
edc7ea78
JM
39870 * sysdeps/unix/sysv/Makefile: Remove file.
39871
cb78c221
JM
39872 * sysdeps/unix/sysv/direct.h: Remove file.
39873
efa6a45f
JM
39874 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
39875 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
39876 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
39877 * sysdeps/unix/sysv/bits/signum.h: Likewise.
39878 * sysdeps/unix/sysv/bits/stat.h: Likewise.
39879 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
39880 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
39881
9c9f2d0c
JM
39882 * sysdeps/unix/sysv/setrlimit.c: Remove file.
39883
4541c83b
JM
39884 * sysdeps/unix/xmknod.c: Remove file.
39885 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
39886
f5d153a0
JM
39887 * sysdeps/unix/sysv/settimeofday.c: Remove file.
39888
aa746595
JM
39889 * sysdeps/unix/sysv/i386/time.S: Remove file.
39890
cce5905e
JM
39891 * sysdeps/unix/fxstat.c: Remove file.
39892 * sysdeps/unix/xstat.c: Likewise.
39893 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
39894
37fa3841
JM
39895 * sysdeps/unix/sysv/sigaction.c: Remove file.
39896
ff1962a3
JM
39897 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
39898 (sysdep_headers): Remove variable.
39899 [termio.h not in sysdep_headers] (generated): Likewise.
39900 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
39901 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
39902 * sysdeps/unix/sysv/tcdrain.c: Likewise.
39903 * sysdeps/unix/sysv/tcflow.c: Likewise.
39904 * sysdeps/unix/sysv/tcflush.c: Likewise.
39905 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
39906 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
39907 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
39908 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
39909 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
39910
e7740d31
JM
39911 * sysdeps/unix/siglist.c: Remove file.
39912
ee06f18b
JM
39913 * sysdeps/unix/getppid.S: Remove file.
39914
097d59fa
JM
39915 * sysdeps/unix/mkdir.c: Remove file.
39916 * sysdeps/unix/rmdir.c: Likewise.
39917
ff3d51ec
AS
399182012-04-19 Andreas Schwab <schwab@linux-m68k.org>
39919
39920 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
39921 ERR_MAX value.
39922 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
39923 errlist-compat value.
39924
50f81fd7
DM
399252012-04-18 David S. Miller <davem@davemloft.net>
39926
39927 * sysdeps/generic/memcopy.h (reg_char): Delete.
39928 * debug/strcat_chk.c: Use char, not reg_char.
39929 * debug/strcpy_chk.c: Likewise.
39930 * debug/strncat_chk.c: Likewise.
39931 * debug/strncpy_chk.c: Likewise.
39932 * string/memchr.c: Likewise.
39933 * string/memrchr.c: Likewise.
39934 * string/rawmemchr.c: Likewise.
39935 * string/strcat.c: Likewise.
39936 * string/strchr.c: Likewise.
39937 * string/strchrnul.c: Likewise.
39938 * string/strcmp.c: Likewise.
39939 * string/strcpy.c: Likewise.
39940 * string/strncat.c: Likewise.
39941 * string/strncmp.c: Likewise.
39942 * string/strncpy.c: Likewise.
39943
8ff41c46
WS
399442012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
39945
39946 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
39947 __builtin_memcopy is called when src and dest ranges are known to not
39948 overlap.
39949
6b652f46
WS
399502012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
39951
39952 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
39953 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
39954 fwd_align_merge macro call.
39955 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
39956 bwd_align_merge macro call.
39957 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
39958
b282631e
WS
399592012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
39960
39961 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
39962 bwd_align_merge macros.
39963 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
39964 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
39965 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
39966
95aa737c
DM
399672012-04-18 David S. Miller <davem@davemloft.net>
39968
39969 * sysdeps/sparc/sparc64/memcopy.h: Delete.
39970
7a99a614
AJ
399712012-04-18 Andreas Jaeger <aj@suse.de>
39972
39973 [BZ# 6794]
39974 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
39975 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
39976 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
39977
39978 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
39979 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
39980 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
39981
39982 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
39983 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
39984 Adjust for changed ldbl-128 files.
39985
39986 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
39987 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
39988 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
39989
e5270c23
DM
399902012-04-17 David S. Miller <davem@davemloft.net>
39991
39992 * sysdeps/sparc/sparc32/memcopy.h: Delete.
39993
fb5e92c9
AS
399942012-04-17 Andreas Schwab <schwab@linux-m68k.org>
39995
39996 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
39997 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
39998 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
39999 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
40000 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
40001 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
40002
76da7265
AZ
400032012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40004
40005 [BZ #6794]
40006 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
40007 * math/libm-test.inc: Add ilogb errno and exception tests.
40008 * math/w_ilogb.c: New file: ilogb wrapper.
40009 * math/w_ilogbf.c: New file: ilogbf wrapper.
40010 * math/w_ilogbl.c: New file: ilogbl wrapper.
40011 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
40012 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
40013 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
40014 exception being thrown with 0.0 as argument.
40015 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
40016 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
40017 exception being thrown with 0.0 as argument.
40018 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
40019 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
40020 exception being thrown with 0.0 as argument.
40021 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
40022 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
40023 exception being thrown with 0.0 as argument.
40024 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
40025 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 40026 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
40027 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
40028 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
40029 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
40030 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
40031 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
40032 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
40033
0396e69d
PB
400342012-04-17 Petr Baudis <pasky@ucw.cz>
40035
40036 * include/sys/uio.h: Change __vector to __iovec to avoid clash
40037 with altivec.
40038
750b5926
MP
400392012-04-16 Marek Polacek <polacek@redhat.com>
40040
40041 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
40042
751728a1
MP
400432012-04-16 Marek Polacek <polacek@redhat.com>
40044
40045 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
40046 operands of fdivp instruction.
40047
34a27407
L
400482012-04-13 H.J. Lu <hongjiu.lu@intel.com>
40049
40050 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
40051 * elf/tst-auditmod3b.c: Likewise.
40052 * elf/tst-auditmod4b.c: Likewise.
40053 * elf/tst-auditmod5b.c: Likewise.
40054 * elf/tst-auditmod6b.c: Likewise.
40055 * elf/tst-auditmod6c.c: Likewise.
40056 * elf/tst-auditmod7b.c: Likewise.
40057 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
40058 * sysdeps/x86_64/preconfigure.in: Likewise.
40059 * sysdeps/x86_64/preconfigure: Regenerated.
40060
7e73e17d
L
400612012-04-13 H.J. Lu <hongjiu.lu@intel.com>
40062
40063 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
40064 __ILP32__.
40065
c7a6ab72
AB
400662012-04-13 Antoine Balestrat <merkil33@gmail.com>
40067
40068 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
40069 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
40070
a9e8e0e0
CL
400712012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
40072
40073 [BZ #13973]
40074 * locale/iso-639.def: Fix gl language name. Spotted by
40075 Yaron Shahrabani.
40076
ec98af7d
RM
400772012-04-12 Roland McGrath <roland@hack.frob.com>
40078
40079 [BZ #2074]
40080 * libio/libio.h (__io_write_fn): Update comment.
40081
247c3ede
PB
400822012-04-12 Petr Baudis <pasky@ucw.cz>
40083
40084 [BZ #2074]
40085 * stdio.texi (Hook Functions): The user provided writer function
40086 is not allowed to return -1.
40087
55939d6d
DM
400882012-04-11 David S. Miller <davem@davemloft.net>
40089
40090 * sysdeps/sparc/fpu/libm-test-ulps: Update.
40091
90020f5a
MF
400922012-04-11 Mike Frysinger <vapier@gentoo.org>
40093
40094 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
40095 Add a leading slash to rtkaio.
40096
288f9098
JM
400972012-04-11 Jim Meyering <meyering@redhat.com>
40098
90020f5a
MF
40099 [BZ #11959]
40100 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
40101 It is not necessarily an error to ignore fwrite's return
40102 value. One can reliably use ferror to test for errors after
40103 the fact.
288f9098 40104
4be2b570
L
401052012-04-10 H.J. Lu <hongjiu.lu@intel.com>
40106
40107 * bits/types.h (__snseconds_t): New type.
40108 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
40109
40110 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
40111 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
40112 (__SNSECONDS_T_TYPE): Likewise.
40113 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
40114 (__SNSECONDS_T_TYPE): Likewise.
40115 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
40116 (__SNSECONDS_T_TYPE): Likewise.
40117
288f9098 401182012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
40119
40120 [BZ #2636]
40121 * manual/time.texi (Processor Time): Return type of times is
40122 elapsed real time since an arbitrary point in the past.
40123 (CPU Time): Move CLK_TCK from here...
40124 (Processor Time): ...to here. Correct description.
40125 * manual/conf.texi (Constants for Sysconf): Correct description of
40126 _SC_CLK_TCK.
40127
d7dd4413
DM
401282012-04-10 David S. Miller <davem@davemloft.net>
40129
40130 [BZ #13967]
40131 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
40132 where the is a gap between DT_REL(A) and DT_JMPREL.
40133
b46068fc
L
401342012-04-10 H.J. Lu <hongjiu.lu@intel.com>
40135
40136 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
40137 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
40138 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
40139
73d65cc3
SP
401402012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
40141
40142 * elf/dl-support.c (_dl_inhibit_cache): New variable.
40143 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
40144 (dl_main): Handle --inhibit-cache.
40145 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
40146 _dl_inhibit_cache.
40147 * elf/dl-load.c (_dl_map_object): Use it.
40148 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
40149
bcc8d661
JM
401502012-04-09 Joseph Myers <joseph@codesourcery.com>
40151
8f9a2fae
JM
40152 [BZ #13872]
40153 * sysdeps/i386/fpu/e_powl.S (p78): New object.
40154 (__ieee754_powl): Saturate large exponents rather than testing for
40155 overflow of y*log2(x).
40156 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
40157 * math/libm-test.inc (pow_test): Do not permit spurious overflow
40158 exceptions.
40159
bcc8d661
JM
40160 [BZ #11521]
40161 * math/s_ctan.c: Include <float.h>.
40162 (__ctan): Avoid internal overflow or cancellation in calculating
40163 denominator.
40164 * math/s_ctanf.c: Likewise.
40165 * math/s_ctanl.c: Likewise.
40166 * math/s_ctanh.c: Likewise.
40167 * math/s_ctanhf.c: Likewise.
40168 * math/s_ctanhl.c: Likewise.
40169 * math/libm-test.inc (ctan_test): Add more tests.
40170 (ctanh_test): Likewise.
40171 * sysdeps/i386/fpu/libm-test-ulps: Update.
40172 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40173
823fbbb4
AJ
401742012-04-09 Andreas Jaeger <aj@suse.de>
40175
03879793
AJ
40176 [BZ #6894]
40177 * manual/filesys.texi (Directory Entries): Mention that d_namlen
40178 is an optional BSD extension.
40179
823fbbb4
AJ
40180 [BZ #10254]
40181 * manual/stdio.texi (Opening Streams): Document additional fopen
40182 parameters.
40183
8de131cb
RM
401842012-04-09 Roland McGrath <roland@hack.frob.com>
40185
40186 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
40187 %eax without telling the compiler.
40188
c0ed9d7d
CD
401892012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
40190
40191 [BZ # 13963]
40192 * manual/install.texi: Use sourceware.org.
40193
c483f6b4
JM
401942012-04-09 Joseph Myers <joseph@codesourcery.com>
40195
d7dd9453
JM
40196 [BZ #13873]
40197 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
40198 (__ieee754_pow): Generate overflow and underflow using huge*huge
40199 and tiny*tiny rather than just returning constant infinity or zero
40200 for large exponents.
40201 * math/libm-test.inc (pow_test): Require overflow exceptions for
40202 applicable cases of large exponents.
40203
c483f6b4
JM
40204 [BZ #706]
40205 * sysdeps/i386/fpu/e_pow.S (p10): New object.
40206 (__ieee754_pow): Use iterative multiplication algorithm only for
40207 integer exponents with absolute value below 1024. Check for odd
40208 integer exponents when using algorithm for real exponents.
40209 * math/libm-test.inc (pow_test): Add more tests.
40210 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
40211
d2de7579
JM
402122012-04-08 Joseph Myers <joseph@codesourcery.com>
40213
40214 [BZ #13705]
40215 * math/libm-test.inc (exp_test): Do not allow overflow exception
40216 on underflow test.
40217
f77f1232
AJ
402182012-04-08 Aurelien Jarno <aurelien@aurel32.net>
40219
40220 [BZ #13705]
40221 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
40222 instead of __kernel_standard_f.
40223
3884932b
MF
402242012-04-08 Mike Frysinger <vapier@gentoo.org>
40225
40226 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
40227 * sysdeps/x86_64/memset_chk.S: Likewise.
40228
54472e9c
AJ
402292012-04-08 Andreas Jaeger <aj@suse.de>
40230
6ab0fbfc
AJ
40231 [BZ #10153]
40232 * manual/startup.texi (Environment Access): Describe return value
40233 for putenv and setenv.
40234
61efba8c
AJ
40235 [BZ #6895]
40236 * manual/filesys.texi (Directory Entries): Add description for
40237 DT_LNK.
40238
95c3f29a
AJ
40239 [BZ #6890]
40240 * manual/filesys.texi (Directory Entries): Clarify that it's file
40241 system not operating system in the description of DT_UNKNOWN.
40242
54472e9c
AJ
40243 [BZ #6578]
40244 * manual/syslog.texi (closelog): Fix reference, it's openlog.
40245
624254b1
SC
402462012-04-08 Stephen Compall <s11@member.fsf.org>
40247
40248 [BZ #6649]
40249 * manual/llio.texi (Opening and Closing Files): Add cross
40250 reference to explain mode argument.
40251
1e4920e0
MF
402522012-04-07 Mike Frysinger <vapier@gentoo.org>
40253
40254 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
40255 * sysdeps/x86_64/memset_chk.S: Likewise.
40256
5ed848f3
DM
402572012-04-07 David S. Miller <davem@davemloft.net>
40258
40259 * elf/elf.h (R_SPARC_WDISP10): Define.
40260 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
40261 R_SPARC_SIZE32.
40262 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
40263 R_SPARC_SIZE64 and R_SPARC_H34.
40264
96154cd8
CD
402652012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
40266
40267 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
40268 conditions and remove no longer applicable assertion.
40269
9904dc47
L
402702012-04-06 H.J. Lu <hongjiu.lu@intel.com>
40271
40272 * bits/byteswap.h: Include <features.h>.
40273 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
40274 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
40275
f8887d0a
L
402762012-04-06 H.J. Lu <hongjiu.lu@intel.com>
40277
40278 * bits/byteswap.h (__bswap_16): Removed.
40279 Include <bits/byteswap-16.h> to get __bswap_16.
40280 * sysdeps/i386/bits/byteswap.h: Likewise.
40281 * sysdeps/s390/bits/byteswap.h: Likewise.
40282 * sysdeps/x86_64/bits/byteswap.h: Likewise.
40283 * bits/byteswap-16.h: New file.
40284 * sysdeps/i386/bits/byteswap-16.h: Likewise.
40285 * sysdeps/s390/bits/byteswap-16.h: Likewise.
40286 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
40287 * string/Makefile (headers): Add bits/byteswap-16.h.
40288
62470f60
PP
402892012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
40290
40291 [BZ #13895]
40292 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
40293 extra indirection.
40294 * nss/Makefile (tests-static, tests): Add tst-nss-static.
40295 * nss/tst-nss-static.c: New.
40296
4dad7bab
RM
402972012-04-06 Robert Millan <rmh@gnu.org>
40298
40299 [BZ #6486]
40300 * manual/llio.texi (File Position Primitive): lseek
40301 refers to WHENCE when it really means OFFSET.
40302
e9142a17
AJ
403032012-04-06 Andreas Jaeger <aj@suse.de>
40304
2c040eff
AJ
40305 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
40306 strncmp declarations.
40307
e9142a17
AJ
40308 * abilist/libc.abilist: Add __poll and __ppoll.
40309
ff9f1c5f
DM
403102012-04-05 David S. Miller <davem@davemloft.net>
40311
dcd2ae90
DM
40312 * scripts/check-local-headers.sh: Accept a host triplet in the
40313 path matched by the exclude regexp.
40314
993eb054
DM
40315 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
40316 definition.
40317 * sysdeps/powerpc/powerpc32/dl-machine.h
40318 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
40319 * sysdeps/s390/s390-32/dl-machine.h
40320 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
40321 * sysdeps/sparc/sparc32/dl-machine.h
40322 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
40323 * sysdeps/sparc/sparc64/dl-machine.h
40324 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
40325
ff9f1c5f
DM
40326 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
40327 lazy binding.
48e2e132 40328 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
40329 undefined symbol errors.
40330
48e2e132 40331 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
40332 DT_NEEDED entries.
40333
e80d6f94
MM
403342012-04-05 Michael Matz <matz@suse.de>
40335
40336 [BZ #13592]
40337 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
40338
349fa79f
AJ
403392012-04-05 Andreas Jaeger <aj@suse.de>
40340
40341 [BZ #13908]
40342 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
40343 comment.
40344
f402708f
KK
403452012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
40346
40347 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
40348 which ROUND is no valid rounding mode.
40349
2ecccfc9
KK
403502012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
40351
40352 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
40353 read again.
40354 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
40355
8a53f50f
KK
403562012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
40357
40358 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
40359 an exception using FPU order intentionally.
40360
403612012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
40362
40363 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
40364 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
40365 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
40366 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
40367
d653abb7
SJ
403682012-04-05 Simon Josefsson <simon@josefsson.org>
40369
40370 [BZ #12340]
40371 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
40372 EINVAL when BUFLEN is too smal.
40373
c3b1bf7d
TS
403742012-04-05 Thomas Schwinge <thomas@codesourcery.com>
40375
40376 [BZ #13553]
40377 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
40378 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
40379
b1aa60f3
AJ
403802012-04-03 Andreas Jaeger <aj@suse.de>
40381
c3b1bf7d 40382 [BZ #13938]
67f60a26
AJ
40383 * manual/setjmp.texi (System V contexts): Fix sentence.
40384
b1aa60f3
AJ
40385 [BZ #13926]
40386 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
40387 New macro for this case.
40388 [!__GNUC__] (__bswap_64): New inline function for this case.
40389 * sysdeps/x86_64/bits/byteswap.h: Likewise.
40390 * bits/byteswap.h: Likewise.
40391 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
40392 ull, guard with __GLIBC_HAVE_LONG_LONG.
40393
40394 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
40395 __GLIBC_HAVE_LONG_LONG.
40396
40397 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
40398 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
40399
39c59c35
TMQMF
404002012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
40401
40402 [BZ #13691]
40403 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
40404 inptr and inend, rather than using last_ch.
40405
135ffda8
DM
404062012-04-02 David S. Miller <davem@davemloft.net>
40407
40408 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
40409 * stdio-common/printf-parse.h (read_int): Change return type to
40410 'int', return -1 on INT_MAX overflow.
40411 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
40412 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
40413 overflows INT_MAX. Check for overflow of in-format-string precision
40414 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
40415 SIZE_MAX not INT_MAX for integer overflow test.
40416 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
40417 skip the construct in the format string but do not record anything.
40418 * stdio-common/bug22.c: Adjust to test both width/prevision
40419 INT_MAX overflow as well as total length INT_MAX overflow. Check
40420 explicitly for proper errno values.
40421
228c019e
TS
404222012-04-02 Thomas Schwinge <thomas@codesourcery.com>
40423
302cadd3
TS
40424 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
40425 CHAR_MAX.
40426 * string/test-strcmp.c [! WIDE]: Likewise.
40427 * time/tst-mktime2.c: Likewise for INT_MAX.
40428 * string/test-string.h: #include <sys/param.h> for MIN.
40429
228c019e
TS
40430 * csu/init-first.c (__libc_init_first): Call __ctype_init.
40431 * sysdeps/i386/init-first.c (init): Likewise.
40432 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
40433 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
40434 * sysdeps/sh/init-first.c (init): Likewise.
40435
cfa633f5
UD
404362012-04-01 Ulrich Drepper <drepper@gmail.com>
40437
40438 * po/ru.po: Update from translation team.
d1635ef8 40439 * po/vi.po: Likewise.
cfa633f5 40440
6cd0a5ea
SP
404412012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
40442
40443 * resolv/nss_dns/dns-host.c: Merge copyright years.
40444
4b43400f
LD
404452012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
40446
40447 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
40448 Optimize memcpy with prefetch if
40449 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
40450 src, dst pointers have unequal 16 byte alignments.
40451
48c41d04
SP
404522012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
40453
40454 [BZ #13928]
40455 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
40456 from a CNAME entry and return the minimum ttl for the query.
40457 (gaih_getanswer_slice): Likewise.
40458
b8dc394d
JL
404592012-03-30 Jeff Law <law@redhat.com>
40460
40461 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
40462 due to long keys.
40463 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
40464 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
40465
2f5a5ed0
JL
40466 * resolv/nss_dns/dns-host.c: Update copyright year.
40467
1d39e359
UD
404682012-03-30 Ulrich Drepper <drepper@gmail.com>
40469
c030f70c 40470 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 40471 requests to save a system call. Fix check that all bytes are sent.
c030f70c 40472
1d39e359
UD
40473 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
40474 comments for sendmmsg.
40475
404762012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
40477
40478 [BZ #13691]
40479 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
40480 with only 1 character between 0x0041 and 0x01b0.
40481 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
40482 * wcsmbs/tst-mbsnrtowcs.c: New file.
40483
20fde227
DM
404842012-03-29 David S. Miller <davem@davemloft.net>
40485
40486 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
40487 small copies by hand.
40488
984a4237
JL
404892012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
40490
40491 [BZ #13761]
57f41c40
AS
40492 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
40493 (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
40494 group memberships.
984a4237 40495
18c9d62b
DM
404962012-03-28 David S. Miller <davem@davemloft.net>
40497
88d85d4f
DM
40498 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
40499 that branches into memcpy.
40500 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
40501 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
40502 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
40503 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
40504 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
40505 bits.
40506 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
40507 implementation too.
40508 * sysdeps/sparc/mempcpy.S: New file.
40509
e5aa83e1
DM
40510 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
40511 the IFUNC routine in the libc case.
40512 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
40513
88570753
DM
40514 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
40515 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
40516 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
40517 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
40518 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
40519 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
40520 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
40521 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
40522
249d7567
DM
40523 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
40524 loop to 256 bytes instead of 64 bytes and fix test signedness.
40525
18c9d62b
DM
40526 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
40527 * sysdeps/sparc/sparc32/Makefile: rather than here...
40528 * sysdeps/sparc/sparc64/Makefile: and here.
40529
05f3d1f6
UD
405302012-03-28 Ulrich Drepper <drepper@gmail.com>
40531
40532 * malloc/mallocbug.c: Avoid warnings about unused variables.
40533
86ae07a8
JL
405342012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
40535
40536 [BZ #13760]
40537 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
40538 in the right place. Discard and retry query if response is
40539 larger than input buffer size.
40540
41bf21a1
JM
405412012-03-28 Joseph Myers <joseph@codesourcery.com>
40542
d6270972
JM
40543 [BZ #369]
40544 [BZ #2678]
40545 [BZ #3866]
40546 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
40547 x for large integer exponent.
40548 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
40549 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
40550 sign of result as needed afterwards.
40551 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
40552 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
40553 result for underflowing pow the same as for overflow.
40554 (__kernel_standard_l): Handle powl overflow and underflow here
40555 rather than calling __kernel_standard.
40556 * math/libm-test.inc (pow_test): Add more tests.
40557
414fca03 40558 [BZ #3868]
41bf21a1
JM
40559 [BZ #13879]
40560 [BZ #13910]
40561 [BZ #13911]
40562 [BZ #13912]
40563 [BZ #13913]
40564 [BZ #13915]
40565 [BZ #13916]
40566 [BZ #13917]
40567 [BZ #13918]
40568 [BZ #13919]
40569 [BZ #13920]
40570 [BZ #13921]
40571 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
40572 * sysdeps/ieee754/k_standard.c: Include <float.h>.
40573 (__kernel_standard_l): New function.
40574 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
40575 __kernel_standard.
40576 * math/w_acosl.c (__acosl): Likewise.
40577 * math/w_asinl.c (__asinl): Likewise.
40578 * math/w_atan2l.c (__atan2l): Likewise.
40579 * math/w_atanhl.c (__atanhl): Likewise.
40580 * math/w_coshl.c (__coshl): Likewise.
40581 * math/w_exp10l.c (__exp10l): Likewise.
40582 * math/w_exp2l.c (__exp2l): Likewise.
40583 * math/w_fmodl.c (__fmodl): Likewise.
40584 * math/w_hypotl.c (__hypotl): Likewise.
40585 * math/w_j0l.c (__j0l, __y0l): Likewise.
40586 * math/w_j1l.c (__j1l, __y1l): Likewise.
40587 * math/w_jnl.c (__jnl, __ynl): Likewise.
40588 * math/w_lgammal.c (__lgammal): Likewise.
40589 * math/w_log10l.c (__log10l): Likewise.
40590 * math/w_log2l.c (__log2l): Likewise.
40591 * math/w_logl.c (__logl): Likewise.
40592 * math/w_powl.c (__powl): Likewise.
40593 * math/w_remainderl.c (__remainderl): Likewise.
40594 * math/w_scalbl.c (sysv_scalbl): Likewise.
40595 * math/w_sinhl.c (__sinhl): Likewise.
40596 * math/w_sqrtl.c (__sqrtl): Likewise.
40597 * math/w_tgammal.c (__tgammal): Likewise.
40598 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
40599 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
40600 * math/libm-test.inc (acos_test): Add more tests.
40601 (acosh_test): Likewise.
40602 (asin_test): Likewise.
40603 (atanh_test): Likewise.
40604 (exp_test): Likewise.
40605 (exp10_test): Likewise.
40606 (exp2_test): Likewise.
40607 (expm1_test): Likewise.
40608 (lgamma_test): Likewise.
40609 (log_test): Likewise.
40610 (log10_test): Likewise.
40611 (log1p_test): Likewise.
40612 (log2_test): Likewise.
40613 (pow_test): Do not allow some spurious overflow exceptions.
40614 (sqrt_test): Add more tests.
40615 (tgamma_test): Likewise.
40616 (y0_test): Likewise.
40617 (y1_test): Likewise.
40618 (yn_test): Likewise.
40619
dd62fda6
AB
406202012-03-27 Anton Blanchard <anton@samba.org>
40621
40622 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
40623 MAP_HUGETLB.
40624 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
40625 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
40626 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
40627
1e3cdfda
AJ
406282012-03-27 David S. Miller <davem@davemloft.net>
40629
b855ab85
DM
40630 * conform/Makefile: Run run-conformtest.sh using $(BASH).
40631
1e3cdfda
AJ
40632 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
40633 have-as-vis3 check.
40634
406352012-03-27 Andreas Jaeger <aj@suse.de>
40636
40637 * sysdeps/x86_64/elf/configure.in: Moved to ...
40638 * sysdeps/x86_64/configure.in: ... here.
40639 * sysdeps/x86_64/elf/start.S: Moved to ...
40640 * sysdeps/x86_64/start.S: ... here.
40641 * sysdeps/x86_64/elf/configure: Delete.
40642
40643 * sysdeps/x86_64/configure.in: Merge contents from
40644 sysdeps/i386/configure.in (without i686 check).
40645
40646 * sysdeps/i386/elf/Versions: Merge into ...
40647 * sysdeps/i386/Versions: ... this.
40648 * sysdeps/i386/elf/Versions: Delete file.
40649 * sysdeps/i386/elf/start.S: Moved to ...
40650 * sysdeps/i386/start.S: ...here.
40651 * sysdeps/i386/elf/configure.in: Merge into...
40652 * sysdeps/i386/configure.in: ...here.
40653 * sysdeps/i386/elf/configure.in: Delete file.
40654 * sysdeps/i386/elf/configure: Delete file.
40655
40656 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
40657 * debug/backtracesyms.c: ... here.
40658 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
40659 * debug/backtracesymsfd.c: ... here.
40660 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
40661 * sysdeps/generic/ifunc-sel.h: ... here.
40662
40663 * sysdeps/unix/i386/start.c: Delete file.
40664 * sysdeps/unix/sparc/start.c: Delete file.
40665 * sysdeps/unix/start.c: Delete file.
40666
40667 * sysdeps/sh/elf/configure.in: Moved to ...
40668 * sysdeps/sh/configure.in: ... here.
40669 * sysdeps/sh/elf/start.S: Moved to ...
40670 * sysdeps/sh/start.S: ... here.
40671 * sysdeps/sh/elf/configure: Delete file.
40672
40673 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
40674 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
40675 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
40676 * sysdeps/powerpc/powerpc64/entry.h: ... here.
40677 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
40678 * sysdeps/powerpc/powerpc64/start.S: here.
40679 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
40680 * sysdeps/powerpc/powerpc64/Makefile: ... this.
40681 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
40682 * sysdeps/powerpc/powerpc64/configure.in: ... this.
40683 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
40684
40685 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
40686 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
40687 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
40688 * sysdeps/powerpc/powerpc32/start.S: ... here.
40689 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
40690 * sysdeps/powerpc/powerpc32/configure.in: ... this.
40691 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
40692
40693 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
40694 * sysdeps/powerpc/ifunc-sel.h: ... here.
40695 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
40696 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
40697
40698 * sysdeps/sparc/elf/configure.in: Moved to ...
40699 * sysdeps/sparc/configure.in: ... here.
40700 * sysdeps/sparc/elf/configure: Delete file.
40701 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
40702 * sysdeps/sparc/sparc32/start.S: ... here.
40703 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
40704 * sysdeps/sparc/sparc64/start.S: ... here.
40705 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
40706 * sysdeps/sparc/sparc32/Makefile: ... this.
40707 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
40708 * sysdeps/sparc/sparc64/Makefile: ... this.
40709
40710 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
40711 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
40712 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
40713 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
40714 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
40715 * sysdeps/s390/s390-32/setjmp.S: ... here.
40716 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
40717 * sysdeps/s390/s390-32/configure.in: ... here.
40718 * sysdeps/s390/s390-32/elf/configure: Delete file.
40719 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
40720 * sysdeps/s390/s390-32/start.S: ... here.
40721
40722 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
40723 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
40724 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
40725 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
40726 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
40727 * sysdeps/s390/s390-64/setjmp.S: ... here.
40728 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
40729 * sysdeps/s390/s390-64/configure.in: ... here
40730 * sysdeps/s390/s390-64/elf/configure: Delete file.
40731 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
40732 * sysdeps/s390/s390-64/start.S: ... here.
40733 * sysdeps/s390/s390-64/elf/configure: Delete.
40734
40735 * configure.in: Remove support for elf directories in sysdeps.
40736
40737 * configure: Regenerated.
40738 * sysdeps/i386/configure: Regenerated.
40739 * sysdeps/powerpc/powerpc32/configure: Regenerated.
40740 * sysdeps/powerpc/powerpc64/configure: Regenerated.
40741 * sysdeps/s390/s390-32/configure: Regenerated.
40742 * sysdeps/s390/s390-64/configure: Regenerated.
40743 * sysdeps/sh/configure: Regenerated.
40744 * sysdeps/sparc/configure: Regenerated.
40745 * sysdeps/x86_64/configure: Regenerated.
40746
a3f61311
AS
407472012-03-26 Andreas Schwab <schwab@linux-m68k.org>
40748
c876e002
AS
40749 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40750
a3f61311
AS
40751 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
40752 denormal result into account.
40753
ac4c54f0
RM
407542012-03-25 Roland McGrath <roland@hack.frob.com>
40755
40756 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
40757 Reported by Allan McRae <allan@archlinux.org>.
40758
6a9b9c02
JL
407592012-03-23 Jeff Law <law@redhat.com>
40760
40761 * nss/getnssent.c (__nss_getent): Fix typo.
40762
4c42a0c1
DM
407632012-03-23 David S. Miller <davem@davemloft.net>
40764
40765 * sysdeps/sparc/fpu/libm-test-ulps: Update.
40766
1532c7ac
L
407672012-03-23 H.J. Lu <hongjiu.lu@intel.com>
40768
40769 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
40770 to pad to uint64_t for each field.
40771 (dl_tls_index): Replace unsigned long with uint64_t.
40772
3ff42526
PP
407732012-03-23 Daniel Jacobowitz <dmj@google.com>
40774 Paul Pluzhnikov <ppluzhnikov@google.com>
40775
40776 [BZ #6528]
40777 * grp/Makefile (otherlibs): Don't set it.
40778 * inet/Makefile (otherlibs): Likewise.
40779 * login/Makefile (otherlibs): Likewise.
40780 * nscd/Makefile (otherlibs): Likewise.
40781 * posix/Makefile (otherlibs): Likewise.
40782 * pwd/Makefile (otherlibs): Likewise.
40783 * rt/Makefile (otherlibs): Likewise.
40784 * sunrpc/Makefile (otherlibs): Likewise.
40785 * nss/Makefile (otherlibs): Likewise.
40786 Add libnss_files to routines and static-only-routines.
40787 ($(objpfx)getent): Remove rule.
40788 * resolv/Makefile: Add libnss_dns and libresolv to routines and
40789 static-only-routines.
40790
7c69cd14
JM
407912012-03-22 Joseph Myers <joseph@codesourcery.com>
40792
40793 [BZ #13892]
40794 * math/s_cexp.c: Include <float.h>.
40795 (__cexp): Handle exp result overflowing not necessarily
40796 overflowing both real and imaginary parts of result.
40797 * math/s_cexpf.c: Likewise.
40798 * math/s_cexpl.c: Likewise.
40799 * math/libm-test.inc (cexp_test): Add more tests.
40800 * sysdeps/i386/fpu/libm-test-ulps: Update.
40801 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40802
81b035fe
L
408032012-03-22 H.J. Lu <hongjiu.lu@intel.com>
40804
40805 * include/link.h (ELFW): New macro.
40806 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
40807 Replace ELF64_R_TYPE with ELFW(R_TYPE).
40808
1da7940c
L
408092012-03-22 H.J. Lu <hongjiu.lu@intel.com>
40810
40811 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
40812 with uint64_t.
40813
b749dbb9
L
408142012-03-22 H.J. Lu <hongjiu.lu@intel.com>
40815
40816 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
40817 declaration.
40818 (struct La_x32_retval): Likewise.
40819
2ff87f3f
L
408202012-03-22 H.J. Lu <hongjiu.lu@intel.com>
40821
40822 * sysdeps/x86_64/preconfigure.in: New file.
40823 * sysdeps/x86_64/preconfigure: New generated file.
40824
c0df8e69
JM
408252012-03-22 Joseph Myers <joseph@codesourcery.com>
40826
48e44791
JM
40827 [BZ #13824]
40828 * math/e_exp2l.c: Include <float.h>.
40829 (__ieee754_exp2l): Handle overflow and underflow cases
40830 separately. Only pass fractional part of argument to
40831 __ieee754_expl.
40832 * math/libm-test.inc (exp2_test): Add more tests.
40833
c0df8e69
JM
40834 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
40835 negating x to take absolute value.
40836 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
40837 Likewise.
40838 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
40839 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
40840 Likewise.
40841 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
40842 computing low part if x was negated.
40843 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
40844
c8e43ba7
L
408452012-03-21 H.J. Lu <hongjiu.lu@intel.com>
40846
40847 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
40848 la_x32_gnu_pltexit.
40849 (pltexit): Cast int_retval to ptrdiff_t.
40850 * elf/tst-auditmod3b.c: Likewise.
40851 * elf/tst-auditmod4b.c: Likewise.
40852 * elf/tst-auditmod5b.c: Likewise.
40853 * elf/tst-auditmod6b.c: Likewise.
40854 * elf/tst-auditmod6c.c: Likewise.
40855 * elf/tst-auditmod7b.c: Likewise.
40856
40857 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
40858 and x32_gnu_pltexit.
40859
40860 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
40861 __ELF_NATIVE_CLASS.
40862 (La_x32_regs): New macro.
40863 (La_x32_retval): Likewise.
40864 (la_x32_gnu_pltenter): New function prototype.
40865 (la_x32_gnu_pltexit): Likewise.
40866
7998fa78
AS
408672012-03-21 Andreas Schwab <schwab@linux-m68k.org>
40868
dcb33988
AS
40869 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
40870 exponent.
40871
233fc563
AS
40872 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40873
7998fa78
AS
40874 * configure.in (libc_cv_cc_nofma): Check for option to disable
40875 generation of FMA instructions.
40876 * configure: Regenerate.
40877 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
40878 * sysdeps/ieee754/dbl-64/Makefile: New file.
40879 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
40880 Remove brandred-fma4.
40881 (CFLAGS-brandred-fma4.c): Remove.
40882 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
40883 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
40884 define.
40885 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
40886 define.
40887
8e95c99a
L
408882012-03-21 H.J. Lu <hongjiu.lu@intel.com>
40889
40890 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
40891 LLONG_MAX != LONG_MAX.
40892 (_itoa_word): Use _ITOA_WORD_TYPE on value.
40893 (_fitoa_word): Likewise.
40894 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
40895 LLONG_MAX != LONG_MAX.
40896 * stdio-common/_itowa.h: Include <_itoa.h>.
40897 (_itowa_word): Use _ITOA_WORD_TYPE on value.
40898 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
40899 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
40900 only if not defined.
40901 (_ITOA_WORD_TYPE): Likewise.
40902 (_itoa_word): Use _ITOA_WORD_TYPE on value.
40903 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
40904
6f4db457
DM
409052012-03-21 David S. Miller <davem@davemloft.net>
40906
40907 * sysdeps/sparc/fpu/libm-test-ulps: Update.
40908
7785fe5a
L
409092012-03-21 H.J. Lu <hongjiu.lu@intel.com>
40910
40911 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
40912 of x86_64 when setting libc_cv_slibdir, libdir and
40913 libc_cv_localedir.
40914 * sysdeps/unix/sysv/linux/configure: Regenerated.
40915
4535cd55
JM
409162012-03-21 Joseph Myers <joseph@codesourcery.com>
40917
40918 * manual/lang.texi (Old Varargs): Remove section.
40919 (How Variadic): Update menu.
40920 (va_start): Do not mention varargs.h.
40921
17228132
TS
409222012-03-21 Thomas Schwinge <thomas@codesourcery.com>
40923 Joseph Myers <joseph@codesourcery.com>
40924
40925 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
40926 link test.
40927 * configure: Regenerated.
40928
8149f976
TS
409292012-03-21 Thomas Schwinge <thomas@codesourcery.com>
40930
05f3d1f6
UD
40931 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
40932 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
40933 conformtest.pl
8149f976 40934
1a4ac776
JM
409352012-03-21 Joseph Myers <joseph@codesourcery.com>
40936
be22ce65
JM
40937 * NOTES: Remove.
40938 * Makefile (files-for-dist): Remove NOTES.
40939 (NOTES): Remove rule.
40940 * README: Don't refer to NOTES.
40941 * manual/creature.texi: Don't include macros.texi.
40942 * manual/intro.texi (creature.texi): Remove comment referring to
40943 NOTES.
40944
40b601fb
JM
40945 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
40946 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
40947 * configure: Regenerated.
40948 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
40949 LIBC_TRY_CC_OPTION.
40950 (libc_cv_as_i686): Likewise.
40951 (libc_cv_cc_avx): Likewise.
40952 (libc_cv_cc_sse2avx): Likewise.
40953 (libc_cv_cc_fma4): Likewise.
40954 (libc_cv_cc_novzeroupper): Likewise.
40955 * sysdeps/i386/configure: Regenerated.
40956
1a4ac776
JM
40957 [BZ #13883]
40958 * sysdeps/i386/fpu/s_cexp.S: Remove.
40959 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
40960 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
40961 * math/libm-test.inc (cexp_test): Add more tests.
40962 * sysdeps/i386/fpu/libm-test-ulps: Update.
40963 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40964
a458e7fe
AM
409652012-03-21 Allan McRae <allan@archlinux.org>
40966
40967 * timezone/Makefile: Do not install iso3166.tab and zone.tab
40968
0cb7efc5
JM
409692012-03-21 Joseph Myers <joseph@codesourcery.com>
40970
40971 [BZ #13871]
40972 * math/w_exp2.c: Do not include <float.h>.
40973 (o_threshold, u_threshold): Remove.
40974 (__exp2): Calculate result before checking finiteness and calling
40975 __kernel_standard.
40976 * math/w_exp2f.c: Likewise.
40977 * math/w_exp2l.c: Likewise.
40978 * math/libm-test.inc (exp2_test): Require overflow exception for
40979 1e6 input.
2460d3aa
JM
40980
40981 [BZ #3866]
40982 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
40983 range of signed 64-bit integers before using fistpll. Remove
40984 checks for whether integers fit in mantissa bits.
40985 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
40986 the range of signed 32-bit integers before using fistpl. Remove
40987 checks for whether integers fit in mantissa bits.
40988 * sysdeps/i386/fpu/e_powl.S (p64): New object.
40989 (__ieee754_powl): Test for y outside the range of signed 64-bit
40990 integers before using fistpll. Reduce 64-bit values to 63-bit
40991 ones as needed.
40992 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
40993 divide-by-zero is raised for zero to large negative powers.
40994 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
40995 (__ieee754_powl): Test for y outside the range of signed 64-bit
40996 integers before using fistpll. Reduce 64-bit values to 63-bit
40997 ones as needed.
40998 * math/libm-test.inc (pow_test): Add more tests.
40999
eb96ffb0
L
410002012-03-20 H.J. Lu <hongjiu.lu@intel.com>
41001
41002 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
41003 <stdio-common/_itoa.h>.
41004 * debug/segfault.c: Likewise.
41005 * elf/dl-cache.c: Likewise.
41006 * elf/dl-minimal.c: Likewise.
41007 * elf/dl-misc.c: Likewise.
41008 * elf/dl-sysdep.c: Likewise.
41009 * elf/dl-version.c: Likewise.
41010 * elf/rtld.c: Likewise.
41011 * hurd/hurdsock.c: Likewise.
41012 * hurd/lookup-retry.c: Likewise.
41013 * malloc/malloc.c: Likewise.
41014 * malloc/mtrace.c: Likewise.
41015 * nscd/nscd_getgr_r.c: Likewise.
41016 * nscd/nscd_getpw_r.c: Likewise.
41017 * nscd/nscd_getserv_r.c: Likewise.
41018 * posix/getopt_init.c: Likewise.
41019 * posix/wordexp.c: Likewise.
41020 * stdio-common/_itoa.c: Likewise.
41021 * stdio-common/printf_fphex.c: Likewise.
41022 * stdio-common/vfprintf.c: Likewise.
41023 * string/_strerror.c: Likewise.
41024 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
41025 * sysdeps/i386/i686/hp-timing.h: Likewise.
41026 * sysdeps/mach/_strerror.c: Likewise.
41027 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
41028 * sysdeps/mach/hurd/sethostid.c: Likewise.
41029 * sysdeps/mach/hurd/xmknodat.c: Likewise.
41030 * sysdeps/mach/xpg-strerror.c: Likewise.
41031 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
41032 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
41033 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
41034 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
41035 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
41036 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
41037 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
41038 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
41039 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
41040 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
41041 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
41042 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
41043 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
41044 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
41045 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
41046 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
41047 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
41048 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
41049 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
41050 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
41051 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
41052
41053 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
41054
41055 * stdio-common/_itoa.h: Moved to ...
41056 * sysdeps/generic/_itoa.h: Here.
41057
41058 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
41059
41060 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
41061 instead of "_itoa.h" and "_itowa.h".
41062 * stdio-common/vfprintf.: Likewise.
41063
d1af992d
L
410642012-03-20 H.J. Lu <hongjiu.lu@intel.com>
41065
41066 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
41067 <bits/wordsize.h>.
41068 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
41069 (__signbit): Likwise.
41070 (llrintf): Likwise.
41071 (llrint): Likwise.
41072
114883e0
L
410732012-03-20 H.J. Lu <hongjiu.lu@intel.com>
41074
41075 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
41076 __WORDSIZE != 64.
41077
c135cc1b
JM
410782012-03-20 Joseph Myers <joseph@codesourcery.com>
41079
41080 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
41081 OVERFLOW_EXCEPTION_OK.
41082 * math/libm-test.inc ("Philosophy"): Update comment about
41083 exception testing.
41084 (OVERFLOW_EXCEPTION): Define.
41085 (OVERFLOW_EXCEPTION_OK): Likewise.
41086 (INVALID_EXCEPTION_OK): Renumber.
41087 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
41088 (IGNORE_ZERO_INF_SIGN): Likewise.
41089 (test_exceptions): Handle FE_OVERFLOW.
41090 (exp10_test): Expect overflow exceptions.
41091 (exp2_test): Likewise.
41092 (expm1_test): Likewise.
41093 (nextafter_test): Likewise.
41094 (pow_test): Likewise.
41095 (scalbn_test): Likewise.
41096 (scalbln_test): Likewise.
41097
95443d88
L
410982012-03-19 H.J. Lu <hongjiu.lu@intel.com>
41099
41100 * sysdeps/x86_64/bits/atomic.h
41101 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
41102 64bit integer.
41103 (atomic_exchange_acq): Likewise.
41104 (__arch_exchange_and_add_body): Likewise.
41105 (__arch_add_body): Likewise.
41106 (atomic_add_negative): Likewise.
41107 (atomic_add_zero): Likewise.
41108
490df6c4
L
411092012-03-19 H.J. Lu <hongjiu.lu@intel.com>
41110
c2722551 41111 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
41112 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
41113
5e52b189
L
411142012-03-19 H.J. Lu <hongjiu.lu@intel.com>
41115
41116 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
41117 Check __x86_64__ instead of __WORDSIZE.
41118
a9879d4c
L
411192012-03-19 H.J. Lu <hongjiu.lu@intel.com>
41120
41121 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
41122
5df98260
DM
411232012-03-19 David S. Miller <davem@davemloft.net>
41124
e1497744
DM
41125 * sysdeps/sparc/fpu/libm-test-ulps: Update.
41126
5df98260
DM
41127 * sysdeps/sparc/fpu/fenv_private.h: New file.
41128 * sysdeps/sparc/fpu/math_private.h: Use it.
41129 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
41130 Remove.
57f41c40 41131 (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
5df98260
DM
41132 (libc_feholdexcept_setroundl): Remove.
41133 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
41134 Remove.
41135 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
41136 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
41137
b4c35121
L
411382012-03-19 H.J. Lu <hongjiu.lu@intel.com>
41139
41140 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
41141 int64_t instead of long int.
41142 (INSERT_WORDS64): Likwise.
41143
56965fd7
L
411442012-03-19 H.J. Lu <hongjiu.lu@intel.com>
41145
41146 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
41147 _Unwind_GetCFA return to _Unwind_Ptr first.
41148
83d1aec8
JM
411492012-03-19 Joseph Myers <joseph@codesourcery.com>
41150
1897ad44
JM
41151 [BZ #13629]
41152 * math/s_clog.c: Include <float.h>.
41153 (__clog): Scale large or subnormal inputs.
41154 * math/s_clogf.c: Likewise.
41155 * math/s_clogl.c: Likewise.
41156 * math/s_clog10.c: Include <float.h>.
41157 (M_LOG10_2): Define.
41158 (__clog10): Scale large or subnormal inputs.
41159 * math/s_clog10f.c: Likewise.
41160 * math/s_clog10l.c: Likewise.
41161 * math/libm-test.inc (clog_test): Add more tests.
41162 (clog10_test): Likewise.
41163 * sysdeps/i386/fpu/libm-test-ulps: Update.
41164 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41165
7726d6a9
JM
41166 [BZ #11451]
41167 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
41168 x and y.
41169 * math/libm-test.inc (atan2_test): Add another test.
41170
83d1aec8
JM
41171 * Makerules (common-objdir-compile): Remove.
41172 * sysdeps/unix/Makefile (config-generated): Do not add
41173 $(unix-generated) to variable.
41174 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
41175 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
41176 Remove rule.
41177 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
41178 Likewise.
41179 [generic bits/local_lim.h] (before-compile): Do not append to
41180 variable.
41181 [generic bits/local_lim.h] (common-generated): Likewise.
41182 [generic sys/param.h] (before-compile): Do not append to variable.
41183 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
41184 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
41185 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
41186 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
41187 include.
41188 [generic sys/param.h] (sys/param.h-includes): Remove variable.
41189 [generic sys/param.h] (sys/param.h-includes): Remove rule.
41190 [generic sys/param.h] ($(addprefix
41191 $(common-objpfx),$(sys/param.h-includes))): Likewise.
41192 [generic sys/param.h] (common-generated): Do not append to
41193 variable.
41194 [generic sys/param.h] (sysdep_headers): Likewise.
41195 [generic bits/errno.h] (before-compile): Do not append to
41196 variable.
41197 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
41198 rule.
41199 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
41200 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
41201 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
41202 [generic bits/errno.h] (common-generated): Do not append to
41203 variable.
41204 [generic bits/ioctls.h] (before-compile): Do not append to
41205 variable.
41206 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
41207 rule.
41208 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
41209 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
41210 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
41211 rule.
41212 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
41213 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
41214 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
41215 [generic bits/ioctls.h] (common-generated): Do not append to
41216 variable.
41217 [generic sys/syscall.h] (syscall.h): Remove variable.
41218 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
41219 rule.
41220 [generic sys/syscall.h] (before-compile): Do not append to
41221 variable.
41222 [generic sys/syscall.h] (common-generated): Likewise.
41223 * sysdeps/unix/errnos-tmpl.c: Remove file.
41224 * sysdeps/unix/errnos.awk: Likewise.
41225 * sysdeps/unix/ioctls-tmpl.c: Likewise.
41226 * sysdeps/unix/ioctls.awk: Likewise.
41227 * sysdeps/unix/mk-local_lim.c: Likewise.
41228 * sysdeps/unix/snarf-ioctls: Likewise.
41229
4851a949
RH
412302012-03-19 Richard Henderson <rth@twiddle.net>
41231
bd37f2ee
RH
41232 * sysdeps/i386/fpu/fenv_private.h: New file.
41233 * sysdeps/i386/fpu/math_private.h: Use it.
41234 (math_opt_barrier, math_force_eval): Remove.
41235 (libc_feholdexcept_setround_53bit): Remove.
41236 (libc_feupdateenv_53bit): Remove.
41237 * sysdeps/x86_64/fpu/math_private.h: Likewise.
41238 (math_opt_barrier, math_force_eval): Remove.
41239 (libc_feholdexcept): Remove.
41240 (libc_feholdexcept_setround): Remove.
41241 (libc_fetestexcept, libc_fesetenv): Remove.
41242 (libc_feupdateenv_test): Remove.
41243 (libc_feupdateenv, libc_feholdsetround): Remove.
41244 (libc_feresetround): Remove.
41245
d0adc922
RH
41246 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
41247 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
41248
0fe0f1f8
RH
41249 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
41250 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
41251 (libc_feupdateenv_testl): New.
41252 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
41253 (libc_feupdateenv_testf): New.
41254 (libc_feupdateenv): Use libc_feupdateenv_test.
41255 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
41256 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
41257
eb92c487
RH
41258 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
41259 (libc_feholdsetroundf, libc_feholdsetroundl): New.
41260 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
41261 (libc_feresetround_noex): New.
41262 (libc_feresetround_noexf): New.
41263 (libc_feresetround_noexl): New.
41264 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
41265 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
41266 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
41267 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
41268 SET_RESTORE_ROUND.
41269 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
41270 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
41271 (__cos): Likewise.
41272 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
41273 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
41274 SET_RESTORE_ROUND_NOEX.
41275 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
41276 SET_RESTORE_ROUND_NOEXF.
41277 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
41278 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
41279 (libc_feholdsetroundf): New.
41280 (libc_feresetround, libc_feresetroundf): New.
41281
7d2e8012
RH
41282 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
41283 (libc_feholdexcept_setround_53bit): Convert from macro to function.
41284 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
41285
b4dabbb4
RH
41286 * sysdeps/generic/math_private.h: Include <fenv.h>.
41287 (default_libc_feholdexcept): New.
41288 (default_libc_feholdexcept_setround): New.
41289 (default_libc_fesetenv, default_libc_feupdateenv): New.
41290 (libc_feholdexcept): Only define if undefined.
41291 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
41292 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
41293 (libc_feholdexcept_setroundl): Likewise.
41294 (libc_feholdexcept_setround_53bit): Likewise.
41295 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
41296 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
41297 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
41298 (libc_feupdateenv_53bit): Likewise.
41299 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
41300 (libc_feholdexcept): Convert from macro to inline function.
41301 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
41302 (libc_fesetenv, libc_feupdateenv): Likewise.
41303
4851a949
RH
41304 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
41305 not previously defined.
41306 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
41307 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
41308 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
41309 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
41310 * sysdeps/ieee754/flt-32/math_private.h: New file.
41311 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
41312 math_private.h below SET_FLOAT_WORD.
41313 (__isnan, __isinf_ns, __finite): Remove.
41314 (__isnanf, __isinf_nsf, __finitef): Remove.
41315
e79d442e
AS
413162012-03-18 Andreas Schwab <schwab@linux-m68k.org>
41317
41318 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41319
90b80344
DM
413202012-03-17 David S. Miller <davem@davemloft.net>
41321
41322 [BZ #6471]
41323 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
41324 for 2.16.
41325
edc21804
DM
413262012-03-16 David S. Miller <davem@davemloft.net>
41327
77e927af
DM
41328 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
41329 warnings.
41330
374976dd
DM
41331 [BZ #6471]
41332 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
41333 properly.
41334 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
41335 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
41336 sysdep_routines when subdir is sysvipc.
41337 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
41338 __getshmlba helper.
41339
edc21804
DM
41340 * sysdeps/sparc/fpu/libm-test/ulps: Update.
41341
473c3ef3
L
413422012-03-16 H.J. Lu <hongjiu.lu@intel.com>
41343
41344 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
41345 [__LP64__].
41346
eb0f39b6
L
413472012-03-16 H.J. Lu <hongjiu.lu@intel.com>
41348
41349 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
41350 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
41351 (__lround): Renamed to ...
41352 (__llround): This. Replace long int with long long int.
41353 Define lround functions as aliases of llround functions.
41354 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
41355
6b6cd74b
L
413562012-03-16 H.J. Lu <hongjiu.lu@intel.com>
41357
41358 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
41359 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
41360 adresses to uintptr_t. Replace "long int" and "unsigned long
41361 int" with "greg_t" on va_arg.
41362
f1a77b01
L
413632012-03-16 H.J. Lu <hongjiu.lu@intel.com>
41364
41365 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
41366 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
41367
41368 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
41369 Move e_machine check before EI_CLASS check. Handle x32
41370 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
41371 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
41372 SKIP_EM_IA_64 and include
41373 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
41374
41375 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
41376 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
41377 (add_system_dir): New macro.
41378
41379 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
41380 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
41381
11b90b9f
JM
413822012-03-16 Joseph Myers <joseph@codesourcery.com>
41383
c36e1d23
JM
41384 [BZ #2551]
41385 [BZ #2552]
41386 [BZ #2553]
41387 [BZ #2554]
41388 [BZ #2562]
41389 [BZ #2563]
41390 [BZ #2565]
41391 [BZ #2566]
41392 [BZ #2576]
41393 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
41394 (y0): Likewise.
41395 * math/w_j0f.c (j0f): Likewise.
41396 (y0f): Likewise.
41397 * math/w_j0l.c (__j0l): Likewise.
41398 (__y0l): Likewise.
41399 * math/w_j1.c (j1): Likewise.
41400 (y1): Likewise.
41401 * math/w_j1f.c (j1f): Likewise.
41402 (y1f): Likewise.
41403 * math/w_j1l.c (__j1l): Likewise.
41404 (__y1l): Likewise.
41405 * math/w_jn.c (jn): Likewise.
41406 (yn): Likewise.
41407 * math/w_jnf.c (jnf): Likewise.
41408 (ynf): Likewise.
41409 * math/w_jnl.c (__jnl): Likewise.
41410 (__ynl): Likewise.
41411 * math/libm-test.inc (j0_test): Add more tests.
41412 (j1_test): Likewise.
41413 (jn_test): Likewise. Add trailing semicolon to existing test.
41414 (y0_test): Likewise.
41415 (y1_test): Likewise.
41416 * sysdeps/i386/fpu/libm-test-ulps: Update.
41417 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41418
11b90b9f
JM
41419 [BZ #13851]
41420 [BZ #13854]
41421 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
41422 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
41423 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
41424 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
41425 (__tanl): Set errno for infinite argument.
41426 * sysdeps/i386/fpu/mptan.c: Remove.
41427 * sysdeps/i386/fpu/s_tan.S: Likewise.
41428 * sysdeps/i386/fpu/s_tanl.S: Likewise.
41429 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
41430 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
41431 * math/libm-test.inc (tan_test): Add more tests and enable more
41432 tests for double and long double.
41433 * sysdeps/i386/fpu/libm-test-ulps: Update.
41434 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41435
6a1bd2a1
JK
414362012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
41437
41438 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
41439 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
41440
10a803e0
RM
414412012-03-16 Roland McGrath <roland@hack.frob.com>
41442
41443 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
41444 * configure.in: Use it for both main tree and add-ons.
41445 * configure: Regenerated.
41446
f196c7f7
L
414472012-03-16 H.J. Lu <hongjiu.lu@intel.com>
41448
41449 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
41450
8848d99d
JM
414512012-03-16 Joseph Myers <joseph@codesourcery.com>
41452
96cbe7f4
JM
41453 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
41454 in comment.
41455
8848d99d
JM
41456 [BZ #13851]
41457 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
41458 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
41459 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
41460 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
41461 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
41462 infinite argument.
41463 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
41464 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
41465 != 0 for prec == 2.
41466 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
41467 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
41468 * sysdeps/i386/fpu/s_cosl.S: Likewise.
41469 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
41470 * sysdeps/i386/fpu/s_sinl.S: Likewise.
41471 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
41472 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
41473 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
41474 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
41475 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
41476 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
41477 * math/libm-test.inc (cos_test): Add more tests and enable more
41478 tests for long double.
41479 (sin_test): Likewise.
41480 (sincos_test): Likewise.
41481 * sysdeps/i386/fpu/libm-test-ulps: Update.
41482 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41483
dd7f4703
DM
414842012-03-16 David S. Miller <davem@davemloft.net>
41485
41486 * sysdeps/sparc/fpu/math_private.h: New file.
41487
006f1daa
DM
414882012-03-15 David S. Miller <davem@davemloft.net>
41489
c0c83bc8
DM
41490 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
41491 file.
e6a62e18 41492 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
41493 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
41494 file.
e6a62e18
DM
41495 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
41496 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
41497 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
41498 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
41499 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
41500 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
41501 sysdep routines.
41502 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
41503
88cb87d9
DM
41504 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
41505 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
41506
006f1daa 41507 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
41508 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
41509 sparc-ifunc.h
006f1daa 41510 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
41511 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
41512 Likewise.
41513 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
41514 Likewise.
006f1daa
DM
41515 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
41516 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
41517 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
41518 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
41519 Likewise.
006f1daa
DM
41520 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
41521 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
41522 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
41523 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
41524 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
41525 Likewise.
41526 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
41527 Likewise.
006f1daa
DM
41528 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
41529 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
41530 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
41531 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
41532 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
41533 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
41534 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
41535 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
41536 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
41537 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
41538 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
41539 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
41540 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
41541 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
41542 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
41543 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
41544 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
41545 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
41546 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
41547 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
41548 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
41549 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
41550 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
41551 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
41552
11e0098e
AS
415532012-03-15 Andreas Schwab <schwab@linux-m68k.org>
41554
41555 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
41556 scaling.
41557 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41558
e85b09d0
AJ
415592012-03-15 Andreas Jaeger <aj@suse.de>
41560
41561 [BZ #13852]
41562 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
41563 ieee754/flt-32 implementation for sin, cos and sincos.
41564 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
41565 * sysdeps/i386/fpu/s_cosf.S: Likewise.
41566 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
41567 * sysdeps/i386/fpu/s_sinf.S: Likewise.
41568 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
41569 ieee754/flt-32 implementation for tan.
41570
41571 * math/libm-test.inc (cos_test): Enable some large input tests for
41572 float as well
41573 (sin_test): Likewise.
41574 (sincos_test): Likewise.
41575 (tan_test): Add tests for large input.
41576
41577 * sysdeps/i386/fpu/libm-test-ulps: Update.
41578
81c64153
AJ
415792012-03-15 Andreas Jaeger <aj@suse.de>
41580
41581 [BZ #13658]
41582 * math/libm-test.inc (cos_test): Add more test cases.
41583 (sin_test): Likewise.
41584 (sincos_test): Likewise.
41585
7bbfa5c6
AJ
415862012-03-15 Andreas Jaeger <aj@suse.de>
41587
41588 [BZ #13837]
41589 * math/libm-test.inc (cos_test): Add a test case for large input
41590 value.
41591 (sin_test): Likewise.
41592 (sincos_test): Likewise.
41593
57f41c40
AS
415942012-03-15 Andreas Jaeger <aj@suse.de>
41595 Joseph Myers <joseph@codesourcery.com>
7bbfa5c6
AJ
41596
41597 [BZ #13658]
0671f479 41598 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
41599 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
41600 * sysdeps/i386/fpu/branred.c: Likewise.
41601 * sysdeps/i386/fpu/dosincos.c: Likewise.
41602 * sysdeps/i386/fpu/mpa.c: Likewise.
41603 * sysdeps/i386/fpu/s_cos.S: Likewise.
41604 * sysdeps/i386/fpu/s_sin.S: Likewise.
41605 * sysdeps/i386/fpu/s_sincos.S: Likewise.
41606 * sysdeps/i386/fpu/sincos32.c: Likewise.
41607
41608 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
41609 Define.
41610 (libc_feupdateenv_53bit): Define.
41611 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
41612 Define.
41613 (libc_feupdateenv_53bit): Define.
41614
41615 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
41616 53 bit (without extend i386 double precision).
41617
41618 * math/libm-test.inc (sincos_test): Add tests for large input.
41619 (sin): Likewise.
41620 (cos): Likewise.
41621
41622 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
41623
9cad04ea
AS
416242012-03-15 Andreas Schwab <schwab@linux-m68k.org>
41625
41626 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41627
f7062b9a
DM
416282012-03-15 David S. Miller <davem@davemloft.net>
41629
41630 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
41631 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
41632 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
41633 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
41634 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
41635 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
41636 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
41637 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
41638 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
41639 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
41640 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
41641 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
41642 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
41643 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
41644 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
41645 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
41646 file.
f7062b9a 41647 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
41648 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
41649 file.
f7062b9a 41650 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
41651 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
41652 file.
f7062b9a 41653 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
41654 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
41655 file.
f7062b9a
DM
41656 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
41657 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
41658 fmin/fmax sysdep routines.
41659 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
41660
7bd951ff
DM
416612012-03-14 David S. Miller <davem@davemloft.net>
41662
559398ab
DM
41663 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
41664 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
41665 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
41666 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
41667 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
41668 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
41669 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
41670 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
41671 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
41672 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
41673 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
41674 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
41675 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
41676 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
41677 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
41678 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
41679 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
41680 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
41681 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
41682 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
41683 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
41684 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
41685 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
41686 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
41687 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
41688 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
41689 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
41690 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
41691 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
41692 routines.
41693 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
41694 file.
559398ab 41695 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
41696 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
41697 file.
559398ab 41698 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
41699 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
41700 file.
559398ab 41701 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
41702 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
41703 file.
559398ab 41704 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
41705 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
41706 file.
559398ab 41707 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
41708 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
41709 file.
41710 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
41711 file.
41712 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
41713 file.
41714 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
41715 file.
41716 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
41717 New file.
41718 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
41719 file.
41720 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
41721 file.
559398ab 41722 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
41723 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
41724 file.
559398ab 41725 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
41726 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
41727 file.
559398ab 41728 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
41729 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
41730 file.
559398ab 41731 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
41732 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
41733 VIS3 routines.
559398ab
DM
41734
41735 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
41736 New file.
41737
5a1c1e32
DM
41738 * sysdeps/sparc/fpu/libm-test-ulps: Update.
41739
eae47a36
DM
41740 * sysdeps/sparc/configure.in: New file.
41741 * sysdeps/sparc/configure: Generate.
41742 * configure.in (libc_cv_sparc_as_vis3): Substitute.
41743 * configure: Regenerate.
41744 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
41745 * config.make.in (have-as-vis3): New.
41746 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
41747 available use -Av9d instead of -Av9a.
41748 * sysdeps/sparc/sparc64/Makefile: Likewise.
41749 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
41750 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
41751 New file.
41752 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
41753 file.
41754 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
41755 New file.
41756 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
41757 file.
eae47a36
DM
41758 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
41759 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
41760 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
41761 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
41762 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
41763
c0c83bc8
DM
41764 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
41765 fzeros/fnegs to load 0x80000000 into a float register instead of
41766 using the stack.
7bd951ff
DM
41767 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
41768
bd951ccb
JM
417692012-03-14 Joseph Myers <joseph@codesourcery.com>
41770
41771 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
41772 bits/syscall.h.
41773 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
41774 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
41775 ($(inst_includedir)/bits/syscall.h): Remove rule.
41776 ($(objpfx)bits/syscall.d): Include instead of
41777 $(objpfx)syscall-list.d.
41778 (generated): Change syscall-list.h and syscall-list.d to
41779 bits/syscall.h and bits/syscall.d.
41780
bb4e6db2
RM
417812012-03-14 Roland McGrath <roland@hack.frob.com>
41782
41783 [BZ #13846]
41784 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
41785
aa4a2ae1
JM
417862012-03-14 Joseph Myers <joseph@codesourcery.com>
41787
e456826d
JM
41788 [BZ #13841]
41789 * math/s_csqrt.c: Include <float.h>.
41790 (__csqrt): Scale large or subnormal inputs.
41791 * math/s_csqrtf.c: Likewise.
41792 * math/s_csqrtl.c: Likewise.
41793 * math/libm-test.inc (csqrt_test): Add more tests.
41794 * sysdeps/i386/fpu/libm-test-ulps: Update.
41795 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41796
aa4a2ae1
JM
41797 [BZ #13840]
41798 * math/libm-test.inc (hypot_test): Add more tests.
41799
7c10fd35
DM
418002012-03-13 David S. Miller <davem@davemloft.net>
41801
41802 [BZ #13840]
41803 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
41804 double-precision for the calculation instead of scaling.
41805
f453b98b
JM
418062012-03-13 Joseph Myers <joseph@codesourcery.com>
41807
41808 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
41809 manipulate bits before adding and subtracting TWO52[sx].
41810 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
41811 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
41812 Likewise.
41813 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
41814
09a3453f
DM
418152012-03-13 David S. Miller <davem@davemloft.net>
41816
8e59da90
DM
41817 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
41818 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
41819 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
41820 rtld-global-offsets.h
41821 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
41822
2a8ab7f2
DM
41823 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
41824 large parameters.
41825
10f62770
DM
41826 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
41827
5f0bdb18
DM
41828 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
41829 'err' in the ifdef scope in which it is actually used.
41830
09a3453f
DM
41831 * nss/nss_db/db-init.c: Include string.h
41832
b4b2eb5e
DM
418332012-03-12 David S. Miller <davem@davemloft.net>
41834
98bb2f1c
DM
41835 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
41836 masking out of the most significant byte of random value used.
41837 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
41838 Fix coding style in previous change.
41839
b4b2eb5e
DM
41840 * sysdeps/unix/sysv/linux/kernel-features.h
41841 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
41842 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
41843 expression.
41844 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
41845 later.
41846
6e226b09
DM
418472012-03-11 David S. Miller <davem@davemloft.net>
41848
a1bcbd40
DM
41849 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
41850 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
41851 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
41852 for 'resultvar' otherwise things get truncated on 64-bit.
41853
cb9d6174
DM
41854 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
41855 Fix masking out of the most significant byte of random value used.
41856
6e226b09
DM
41857 * sysdeps/sparc/fpu/libm-test-ulps: Update.
41858
058c132d
AS
418592012-03-10 Andreas Schwab <schwab@linux-m68k.org>
41860
41861 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41862
2d2cd515
DM
418632012-03-09 David S. Miller <davem@davemloft.net>
41864
41865 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
41866 variables with appropriate CPP guards.
57f41c40
AS
41867 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
41868 from the frame pointer, not the stack pointer. Correct layout
41869 comments. Fix test on resulting framesize and the management of
41870 the outregs buffer for pltexit. Preserve floating point return
41871 values across _dl_call_pltexit call.
2d2cd515
DM
41872 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
41873 framesize and the management of the outregs buffer for pltexit.
41874 Preserve floating point return values across _dl_call_pltexit
41875 call.
57f41c40
AS
41876 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
41877 (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
41878 (la_sparc64_gnu_pltexit): New functions.
2d2cd515
DM
41879 (print_exit): Fix format string for return register value.
41880
9a07f9d0
JM
418812012-03-10 Joseph Myers <joseph@codesourcery.com>
41882
41883 * sunrpc/Makefile (others): Add rpcgen.
41884 ($(objpfx)rpcgen): Remove special build rule and dependency on
41885 libc.
41886 * sunrpc/rpcgen.c: New file.
41887
547b5e30
PE
418882012-03-09 Paul Eggert <eggert@cs.ucla.edu>
41889
c524201a
PE
41890 [BZ #13673]
41891 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
41892 * stdio-common/bug-vfprintf-nargs.c: Likewise.
41893 * sysdeps/i386/crti.S: Likewise.
41894 * sysdeps/i386/crtn.S: Likewise.
41895 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
41896 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
41897 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
41898 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
41899 * sysdeps/sh/crti.S: Likewise.
41900 * sysdeps/sh/crtn.S: Likewise.
41901 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
41902
7b6235f2
PE
41903 [BZ #13673]
41904 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
41905 with URL.
41906 * locale/programs/locfile-kw.gperf: Likewise.
41907 * locale/programs/charmap-kw.h: Regenerated.
41908 * locale/programs/locfile-kw.h: Likewise.
41909
547b5e30
PE
41910 [BZ #13673]
41911 * intl/plural.y: Replace FSF snail mail address with URL.
41912 * intl/plural.c: Regenerated.
41913
5f0a5dae
RH
419142012-03-09 Richard Henderson <rth@twiddle.net>
41915
41916 * include/math_private.h: Remove file.
41917 * math/math_private.h: Move file ...
41918 * sysdeps/generic/math_private.h: ... here.
41919
b8c03620
RH
41920 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
41921 * sysdeps/powerpc/fpu/math_private.h: Likewise.
41922 * sysdeps/x86_64/fpu/math_private.h: Likewise.
41923
4e234f5d 41924 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
41925 and <math_private.h>.
41926 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
41927 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
41928 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
41929 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
41930 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
41931 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
41932 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
41933 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
41934 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
41935 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
41936 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
41937 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
41938 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
41939 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
41940 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
41941 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
41942 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
41943 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
41944 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
41945 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
41946 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
41947 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
41948 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
41949 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
41950 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
41951 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
41952 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
41953 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
41954 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
41955 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
41956 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
41957 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
41958 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
41959 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
41960 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
41961 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
41962 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
41963 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
41964 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
41965 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
41966 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
41967 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
41968 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
41969 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
41970 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
41971 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
41972 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
41973 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
41974 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
41975 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
41976 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
41977 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
41978 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
41979 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
41980 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
41981 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
41982 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
41983 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
41984 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
41985 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
41986 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
41987 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
41988 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
41989 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
41990 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
41991 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
41992 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
41993 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
41994 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
41995 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
41996 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
41997 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
41998 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
41999 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
42000 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
42001 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
42002 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
42003 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
42004 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
42005 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
42006 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
42007 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
42008 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
42009 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
42010 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
42011 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
42012 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
42013 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
42014 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
42015 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
42016 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
42017 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
42018 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
42019 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
42020 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
42021 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
42022 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
42023 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
42024 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
42025 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
42026 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
42027 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
42028 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
42029 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
42030 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
42031 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
42032 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
42033 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
42034 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
42035 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
42036 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
42037 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
42038 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
42039 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
42040 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
42041 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
42042 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
42043 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
42044 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
42045 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
42046 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
42047 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
42048 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
42049 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
42050 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
42051 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
42052 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
42053 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
42054 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
42055 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
42056 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
42057 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
42058 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
42059 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
42060 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
42061 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
42062 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
42063 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
42064 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
42065 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
42066 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
42067 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
42068 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
42069 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
42070 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
42071 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
42072 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
42073 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
42074 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
42075 * sysdeps/ieee754/k_standard.c: Likewise.
42076 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
42077 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
42078 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
42079 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
42080 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
42081 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
42082 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
42083 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
42084 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
42085 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
42086 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
42087 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
42088 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
42089 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
42090 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
42091 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
42092 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
42093 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
42094 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
42095 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
42096 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
42097 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
42098 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
42099 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
42100 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
42101 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
42102 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
42103 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
42104 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
42105 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
42106 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
42107 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
42108 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
42109 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
42110 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
42111 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
42112 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
42113 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
42114 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
42115 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
42116 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
42117 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
42118 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
42119 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
42120 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
42121 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
42122 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
42123 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
42124 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
42125 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
42126 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
42127 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
42128 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
42129 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
42130 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
42131 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
42132 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
42133 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
42134 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
42135 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
42136 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
42137 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
42138 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
42139 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
42140 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
42141 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
42142 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
42143 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
42144 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
42145 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
42146 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
42147 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
42148 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
42149 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
42150 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
42151 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
42152 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
42153 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
42154 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
42155 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
42156 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
42157 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
42158 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
42159 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
42160 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
42161 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
42162 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
42163 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
42164 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
42165 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
42166 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
42167 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
42168 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
42169 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
42170 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
42171 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
42172 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
42173 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
42174 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
42175 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
42176 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
42177 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
42178 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
42179 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
42180 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
42181 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
42182 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
42183 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
42184 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
42185 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
42186 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
42187 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
42188 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
42189 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
42190 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
42191 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
42192 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
42193 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
42194 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
42195 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
42196 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
42197 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
42198 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
42199 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
42200 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
42201 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
42202 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
42203 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
42204 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
42205 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
42206 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
42207 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
42208 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
42209 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
42210 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
42211 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
42212 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
42213 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
42214 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
42215 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
42216 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
42217 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
42218 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
42219 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
42220 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
42221 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
42222 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
42223 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
42224 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
42225 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
42226 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
42227 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
42228 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
42229 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
42230 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
42231 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
42232 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
42233 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
42234 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
42235 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
42236 * sysdeps/ieee754/s_lib_version.c: Likewise.
42237 * sysdeps/ieee754/s_matherr.c: Likewise.
42238 * sysdeps/ieee754/s_signgam.c: Likewise.
42239 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
42240 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
42241 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
42242 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
42243 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
42244 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
42245 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
42246 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
42247 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
42248 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
42249 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
42250 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
42251 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
42252 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
42253 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
42254 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
42255 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
42256 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
42257 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
42258 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
42259 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 42260
1991fa03
JM
422612012-03-09 Joseph Myers <joseph@codesourcery.com>
42262
42263 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
42264 * sunrpc/rpc_main.c: Likewise.
42265 * sunrpc/rpc_svcout.c: Likewise.
42266
60d6f5a6
DM
422672012-03-09 David S. Miller <davem@davemloft.net>
42268
42269 * include/math_private.h: New file.
42270
4962050e
JM
422712012-03-09 Joseph Myers <joseph@codesourcery.com>
42272
02a6f887
JM
42273 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
42274 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
42275 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
42276 from <bits/socket_type.h>.
42277 (enum __socket_type): Don't define here.
42278 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
42279 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
42280 bits/socket_type.h.
42281
c6e013c1
JM
42282 [BZ #13566]
42283 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
42284 checking __USE_GNU.
42285
4962050e
JM
42286 * Makerules ($(inst_includedir)/%.h): New rule.
42287 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
42288 (install-others): Remove variable setting.
42289 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
42290
38842f45
RH
422912012-03-08 Richard Henderson <rth@twiddle.net>
42292
67bb6da6
RH
42293 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
42294 from macro to inline function; merge with the
42295 !__LIBC_INTERNAL_MATH_INLINES version.
42296 (__ieee754_sqrtf): Likewise.
42297
15194b4b
RH
42298 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
42299 to inline function.
42300 (__rintf, __floor, __floorf): Likewise.
42301
64e21ede
RH
42302 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
42303 macro to inline function.
42304 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
42305
38842f45
RH
42306 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
42307 not <math/math_private.h>.
42308
c64bf5fe
DM
423092012-03-08 David S. Miller <davem@davemloft.net>
42310
42311 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
42312 copyright year.
42313 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
42314
82d86f28
TS
423152012-03-08 Thomas Schwinge <thomas@codesourcery.com>
42316
42317 * resolv/gai_misc.c (handle_requests): Fix struct timespec
42318 normalization.
42319 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
42320 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
42321
aea5d727
UD
423222012-03-08 Ulrich Drepper <drepper@gmail.com>
42323
42324 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
42325 be defined individually, they must be defined as a block. Define
42326 S for printing a string instead of hidint the different by using a
42327 macro for adding the 'l'.
42328 * stdio-common/tst-fphex-wide.c: Adjust.
42329
70bca0a3
MP
423302012-03-07 Marek Polacek <polacek@redhat.com>
42331
42332 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
42333
65b81130
MP
423342012-03-08 Marek Polacek <polacek@redhat.com>
42335
42336 [BZ #13806]
42337 * stdio-common/Makefile (tests): Add tst-fphex-wide.
42338 * stdio-common/tst-fphex.c: Define a few macros to make the
42339 test reusable. Use them.
42340 * stdio-common/tst-fphex-wide.c: New file.
42341
07037eeb
JM
423422012-03-08 Joseph Myers <joseph@codesourcery.com>
42343
a7a93d50
JM
42344 [BZ #6911]
42345 * manual/macros.texi (gnusystems): New macro.
42346 (nongnusystems): Likewise.
42347 (gnulinuxhurdsystems): Likewise.
42348 (gnuhurdsystems): Likewise..
42349 (gnulinuxsystems): Likewise.
42350 * manual/charset.texi: Use new macros or @theglibc{} to refer to
42351 variants of the GNU system, not "GNU system".
42352 * manual/conf.texi: Likewise.
42353 * manual/errno.texi: Likewise. Update example of errno macro
42354 expansion.
42355 * manual/filesys.texi: Likewise.
42356 (getumask): Document as specific to GNU/Hurd.
42357 * manual/install.texi: Likewise. Reword some references to
42358 GNU/Linux.
42359 * manual/intro.texi: Likewise.
42360 * manual/io.texi: Likewise.
42361 (File Name Portability): Detail which constraints are inapplicable
42362 to all GNU systems and which are only inapplicable to GNU/Hurd.
42363 * manual/job.texi: Likewise.
42364 * manual/llio.texi: Likewise.
42365 (O_NOCTTY): Document as present on GNU/Linux.
42366 * manual/maint.texi: Likewise.
42367 * manual/memory.texi: Likewise.
42368 * manual/pattern.texi: Likewise.
42369 * manual/pipe.texi: Likewise.
42370 * manual/process.texi: Likewise.
42371 * manual/resource.texi: Likewise.
42372 (RUSAGE_CHILDREN): Remove statement about specifying a particular
42373 child on GNU/Hurd.
42374 * manual/setjmp.texi: Likewise.
42375 * manual/signal.texi: Likewise.
42376 * manual/startup.texi: Likewise.
42377 * manual/stdio.texi: Likewise.
42378 * manual/terminal.texi: Likewise.
42379 (ONLCR): Document as POSIX.
42380 (OXTABS): Document availability on GNU/Linux as XTABS.
42381 (ONOEOT): Document availability separately from other bits.
42382 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
42383 * manual/time.texi: Likewise.
42384 * manual/users.texi: Likewise.
42385 * INSTALL: Regenerated.
42386 * sysdeps/gnu/errlist.c: Regenerated.
42387
07037eeb
JM
42388 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
42389 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
42390 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
42391 puts.
42392 * configure: Regenerated.
42393
d1d3431a
JM
423942012-03-07 Joseph Myers <joseph@codesourcery.com>
42395
af6a1e37
JM
42396 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
42397 default includes instead of AC_HEADER_CHECK.
42398 * sysdeps/i386/configure: Regenerated.
42399
d1d3431a
JM
42400 [BZ #10716]
42401 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
42402 * math/s_cacoshf.c (__cacoshf): Likewise.
42403 * math/s_cacoshl.c (__cacoshl): Likewise.
42404 * math/s_casinh.c (__casinh): Set signs of result from argument.
42405 * math/s_casinhf.c (__casinhf): Likewise.
42406 * math/s_casinhl.c (__casinhl): Likewise.
42407 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
42408 (casinh_test): Add more tests.
42409 * sysdeps/i386/fpu/libm-test-ulps: Update.
42410 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42411
482ff4da
UD
424122012-03-07 Ulrich Drepper <drepper@gmail.com>
42413
872fda05
UD
42414 * po/zh_TW.po: Update from translation team.
42415
a4300c7a
UD
42416 * login/Makefile (distribute): Remove variable.
42417 * catgets/Makefile: Likewise.
42418 * mach/Makefile: Likewise.
42419 * malloc/Makefile: Likewise.
42420 * misc/Makefile: Likewise.
42421 * iconv/Makefile: Likewise.
42422 * nscd/Makefile: Likewise.
42423 * hurd/Makefile: Likewise.
42424 * manual/Makefile: Likewise.
42425 * locale/Makefile: Likewise.
42426 * intl/Makefile: Likewise.
42427 * conform/Makefile: Likewise.
42428 * nss/Makefile: Likewise.
42429 * time/Makefile: Likewise.
42430 * soft-fp/Makefile: Likewise.
42431 * dirent/Makefile: Likewise.
42432 * gmon/Makefile: Likewise.
42433 * po/Makefile: Likewise.
42434 * rt/Makefile: Likewise.
42435 * socket/Makefile: Likewise.
42436 * math/Makefile: Likewise.
42437 * signal/Makefile: Likewise.
42438 * debug/Makefile: Likewise.
42439 * elf/Makefile: Likewise.
42440 * timezone/Makefile: Likewise.
42441 * stdlib/Makefile: Likewise.
42442 * iconvdata/Makefile: Likewise.
42443 * sunrpc/Makefile: Likewise.
42444 * io/Makefile: Likewise.
42445 * argp/Makefile: Likewise.
42446 * inet/Makefile: Likewise.
42447 * hesiod/Makefile: Likewise.
42448 * grp/Makefile: Likewise.
42449 * csu/Makefile: Likewise.
42450 * wctype/Makefile: Likewise.
42451 * crypt/Makefile: Likewise.
42452 * libio/Makefile: Likewise.
42453 * string/Makefile: Likewise.
42454 * nis/Makefile: Likewise.
42455 * resolv/Makefile: Likewise.
42456 * stdio-common/Makefile: Likewise.
42457 * wcsmbs/Makefile: Likewise.
42458 * dlfcn/Makefile: Likewise.
42459 * posix/Makefile: Likewise.
42460
3b7c4e74 42461 [BZ #6959]
482ff4da
UD
42462 * timezone/Makefile: Don't install timezone files, just the programs
42463 and scripts.
42464
f72ed77d
UD
424652012-03-06 Ulrich Drepper <drepper@gmail.com>
42466
a000466f
UD
42467 * nss/databases.def: Add missing gshadow entry.
42468
f72ed77d
UD
42469 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
42470
a53b7a4e
MP
424712012-03-06 Marek Polacek <polacek@redhat.com>
42472
42473 [BZ #13726]
42474 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
42475 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
42476 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
42477 * stdio-common/tst-long-dbl-fphex.c: New file.
42478
e9258400
DM
424792012-03-06 David S. Miller <davem@davemloft.net>
42480
42481 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
42482 (set_obp_int): New function.
42483 (get_obp_int): New function.
42484 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
42485 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
42486 Avoid unused variable warnings on 'val' and use builtin_expect.
42487 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
42488 __builtin_expect.
e9258400
DM
42489 (INLINE_CLONE_SYSCALL): Likewise.
42490
3bd2c723
DM
424912012-03-05 David S. Miller <davem@davemloft.net>
42492
42493 * sysdeps/sparc/fpu/libm-test-ulps: Update.
42494
bbb78d03
AS
424952012-03-05 Andreas Schwab <schwab@linux-m68k.org>
42496
884c5db4
AS
42497 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42498
bbb78d03
AS
42499 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
42500 only for |x| >= 40.
42501 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
42502
1c9f702a 425032012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
42504
42505 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
42506 Replace gettimeofday with __vdso_gettimeofday.
42507
7be16f82
RM
42508 * sysdeps/unix/sysv/linux/x86_64/init-first.c
42509 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
42510 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
42511
42512 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
42513 time with __vdso_time.
42514
ed58a00f
JM
425152012-03-05 Joseph Myers <joseph@codesourcery.com>
42516
42517 * manual/lang.texi (size_t): Note types to which size_t may be
42518 equivalent with the GNU C Library, but do not describe when
42519 differences between them are significant.
42520
30ee4ced
AJ
425212012-03-05 Andreas Jaeger <aj@suse.de>
42522
42523 * sysdeps/i386/fpu/libm-test-ulps: Update.
42524
b7cd39e8
JM
425252012-03-05 Joseph Myers <joseph@codesourcery.com>
42526
42527 [BZ #3976]
42528 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
42529 (__ieee754_pow): Save and restore rounding mode and use
42530 round-to-nearest for main computations.
42531 * math/libm-test.inc (pow_test_tonearest): New function.
42532 (pow_test_towardzero): Likewise.
42533 (pow_test_downward): Likewise.
42534 (pow_test_upward): Likewise.
42535 (main): Call the new functions.
42536 * sysdeps/i386/fpu/libm-test-ulps: Update.
42537 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
42538
42539 [BZ #3976]
42540 * math/libm-test.inc (cosh_test_tonearest): New function.
42541 (cosh_test_towardzero): Likewise.
42542 (cosh_test_downward): Likewise.
42543 (cosh_test_upward): Likewise.
42544 (sinh_test_tonearest): Likewise.
42545 (sinh_test_towardzero): Likewise.
42546 (sinh_test_downward): Likewise.
42547 (sinh_test_upward): Likewise.
42548 (main): Call the new functions.
42549 * sysdeps/i386/fpu/libm-test-ulps: Update.
42550 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42551
6c6a98c9
TV
425522012-03-05 Tom de Vries <tom@codesourcery.com>
42553
42554 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
42555 default stack guard is set in last bytes.
42556 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
42557
21bb2d2e 425582012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 42559
21bb2d2e 42560 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 42561
21bb2d2e
AJ
42562 [BZ #13656]
42563 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
42564 possibly allocate from heap instead of stack.
42565 * stdio-common/bug-vfprintf-nargs.c: New file.
42566 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 42567
c6922934
AS
425682012-03-03 Andreas Schwab <schwab@linux-m68k.org>
42569
42570 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42571
bc957d53
MP
425722012-03-03 Marek Polacek <polacek@redhat.com>
42573
42574 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
42575 * math/math_private.h: Likewise.
42576 * stdlib/tst-strtod.c: Likewise.
42577 * sysdeps/i386/i486/bits/atomic.h: Likewise.
42578 * sysdeps/x86_64/bits/atomic.h: Likewise.
42579
6358490d
DM
425802012-03-02 David S. Miller <davem@davemloft.net>
42581
42582 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
42583 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
42584 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
42585 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
42586 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
42587 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
42588 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
42589 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
42590
01ae168d
RM
425912012-03-02 Roland McGrath <roland@hack.frob.com>
42592
d9a17c07
RM
42593 [BZ #13792]
42594 * manual/examples/README: New file, says the example source files
42595 can be used under GPL>=2.
42596 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
42597 line containing just "*/".
42598 * manual/examples/add.c: Add copyright header (GPL>=2).
42599 * manual/examples/argp-ex1.c: Likewise.
42600 * manual/examples/argp-ex2.c: Likewise.
42601 * manual/examples/argp-ex3.c: Likewise.
42602 * manual/examples/argp-ex4.c: Likewise.
42603 * manual/examples/atexit.c: Likewise.
42604 * manual/examples/db.c: Likewise.
42605 * manual/examples/dir.c: Likewise.
42606 * manual/examples/dir2.c: Likewise.
42607 * manual/examples/execinfo.c: Likewise.
42608 * manual/examples/filecli.c: Likewise.
42609 * manual/examples/filesrv.c: Likewise.
42610 * manual/examples/fmtmsgexpl.c: Likewise.
42611 * manual/examples/genpass.c: Likewise.
42612 * manual/examples/inetcli.c: Likewise.
42613 * manual/examples/inetsrv.c: Likewise.
42614 * manual/examples/isockad.c: Likewise.
42615 * manual/examples/longopt.c: Likewise.
42616 * manual/examples/memopen.c: Likewise.
42617 * manual/examples/memstrm.c: Likewise.
42618 * manual/examples/mkfsock.c: Likewise.
42619 * manual/examples/mkisock.c: Likewise.
42620 * manual/examples/mygetpass.c: Likewise.
42621 * manual/examples/pipe.c: Likewise.
42622 * manual/examples/popen.c: Likewise.
42623 * manual/examples/rprintf.c: Likewise.
42624 * manual/examples/search.c: Likewise.
42625 * manual/examples/select.c: Likewise.
42626 * manual/examples/setjmp.c: Likewise.
42627 * manual/examples/sigh1.c: Likewise.
42628 * manual/examples/sigusr.c: Likewise.
42629 * manual/examples/stpcpy.c: Likewise.
42630 * manual/examples/strdupa.c: Likewise.
42631 * manual/examples/strftim.c: Likewise.
42632 * manual/examples/strncat.c: Likewise.
42633 * manual/examples/subopt.c: Likewise.
42634 * manual/examples/swapcontext.c: Likewise.
42635 * manual/examples/termios.c: Likewise.
42636 * manual/examples/testopt.c: Likewise.
42637 * manual/examples/testpass.c: Likewise.
42638 * manual/examples/timeval_subtract.c: Likewise.
42639
01ae168d
RM
42640 [BZ #13792]
42641 * manual/time.texi (Elapsed Time): Move timeval_subtract example
42642 function to ...
42643 * manual/timeval_subtract.c.texi: ... here, new file.
42644
49efa33d
DM
426452012-03-02 David S. Miller <davem@davemloft.net>
42646
42647 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
42648
28afd92d
JM
426492012-03-02 Joseph Myers <joseph@codesourcery.com>
42650
804360ed
JM
42651 [BZ #3976]
42652 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
42653 (__sin): Save and restore rounding mode and use round-to-nearest
42654 for all computations.
42655 (__cos): Save and restore rounding mode and use round-to-nearest
42656 for all computations.
42657 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
42658 <fenv.h>.
42659 (tan): Save and restore rounding mode and use round-to-nearest for
42660 all computations.
42661 * math/libm-test.inc (cos_test_tonearest): New function.
42662 (cos_test_towardzero): Likewise.
42663 (cos_test_downward): Likewise.
42664 (cos_test_upward): Likewise.
42665 (sin_test_tonearest): Likewise.
42666 (sin_test_towardzero): Likewise.
42667 (sin_test_downward): Likewise.
42668 (sin_test_upward): Likewise.
42669 (tan_test_tonearest): Likewise.
42670 (tan_test_towardzero): Likewise.
42671 (tan_test_downward): Likewise.
42672 (tan_test_upward): Likewise.
42673 (main): Call the new functions.
42674 * sysdeps/i386/fpu/libm-test-ulps: Update.
42675 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42676
a6d06d7b
JM
42677 [BZ #10135]
42678 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
42679 small n, then large n, before computing and testing k+n.
42680 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
42681 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
42682 Likewise.
42683 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
42684 Likewise.
42685 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
42686 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
42687 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
42688 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
42689 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
42690 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
42691 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
42692 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
42693 * math/libm-test.inc (scalbn_test): Add more tests.
42694 (scalbln_test): Likewise.
42695
07e12bb3
JM
42696 * manual/filesys.texi (mode_t): Describe constraints on size and
42697 signedness, not exact equivalence to a particular type.
42698 (ino_t): Likewise.
42699 (ino64_t): Likewise.
42700 (dev_t): Likewise.
42701 (nlink_t): Likewise.
42702 (blkcnt_t): Likewise.
42703 (blkcnt64_t): Likewise.
42704 * manual/llio.texi (off_t): Likewise.
42705
28afd92d
JM
42706 [BZ #3976]
42707 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
42708 (__ieee754_exp): Save and restore rounding mode and use
42709 round-to-nearest for all computations.
42710 * math/libm-test.inc (exp_test_tonearest): New function.
42711 (exp_test_towardzero): Likewise.
42712 (exp_test_downward): Likewise.
42713 (exp_test_upward): Likewise.
42714 (main): Call the new functions.
42715 * sysdeps/i386/fpu/libm-test-ulps: Update.
42716 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42717
b1eeb65d
CD
427182012-03-01 Chris Demetriou <cgd@google.com>
42719
42720 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
42721 have predictable order.
42722
53362a4b
DM
427232012-03-01 David S. Miller <davem@davemloft.net>
42724
3c969083
DM
42725 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
42726
759707de
DM
42727 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
42728 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
42729 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
42730 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
42731
dfdb8ff2
DM
42732 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
42733 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
42734 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
42735 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
42736 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
42737 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
42738 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
42739 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
42740 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
42741
ead89f96
DM
42742 * sysdeps/sparc/fpu/libm-test-ulps: Update.
42743
7f66bd07
DM
42744 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
42745 * sysdeps/sparc/fpu/libm-test-ulps: to here.
42746 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
42747
53362a4b
DM
42748 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
42749 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
42750 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
42751 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
42752 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
42753 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
42754 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
42755 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
42756 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
42757 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
42758 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
42759 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
42760 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
42761 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
42762 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
42763 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
42764 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
42765 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
42766 * sysdeps/sparc/elf/configure: Regenerated.
42767
7b1902cb
JM
427682012-03-01 Joseph Myers <joseph@codesourcery.com>
42769
bec039bc
JM
42770 * configure.in (AS, LD): Require binutils 2.20 or later.
42771 * configure: Regenerated.
42772 * manual/install.texi (Tools for Compilation): Give binutils 2.20
42773 as required minimum version.
42774 * INSTALL: Regenerated.
42775
7b1902cb
JM
42776 [BZ #2541]
42777 [BZ #4108]
42778 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
42779 before squaring exponent.
42780 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
42781 bottom long double and 27 bits of top long double before squaring
42782 exponent.
42783 * math/libm-test.inc (erfc_test): Add more tests.
42784 * sysdeps/i386/fpu/libm-test-ulps: Update.
42785 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
42786 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42787
f775c276
KT
427882012-03-01 Kai Tietz <ktietz@redhat.com>
42789
42790 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
42791 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
42792 containing bit-fields.
42793 * soft-fp/extended.h (_FP_UNION_E): Likewise.
42794 * soft-fp/single.h (_FP_UNION_S): Likewise.
42795 * soft-fp/double.h (_FP_UNION_D): Likewise.
42796
5b8a4d4a
JM
427972012-02-29 Joseph Myers <joseph@codesourcery.com>
42798
0bab47b6
JM
42799 [BZ #13786]
42800 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
42801 not include ../strcmp.S.
42802 [USE_AS_STRNCASECMP_L]: Likewise.
42803 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
42804 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
42805 * sysdeps/i386/i686/multiarch/strncase_l-c.c
42806 (__strncasecmp_l_ia32): Define as alias to
42807 __strncasecmp_l_nonascii.
42808
0fcad3e2
JM
42809 [BZ #5794]
42810 * math/libm-test.inc (expm1_test): Add test for bug 5794.
42811 * sysdeps/i386/fpu/libm-test-ulps: Update.
42812 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42813
5b8a4d4a
JM
42814 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
42815 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42816
8fdceb2e
JL
428172012-02-29 Jeff Law <law@redhat.com>
42818
42819 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
42820 out of bounds read.
42821
1f393a11
MP
428222012-02-29 Marek Polacek <polacek@redhat.com>
42823
42824 [BZ #13706]
42825 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
42826 * elf/Makefile: Add rules to run tst-unused-dep.out.
42827
8847f037
DM
428282012-02-28 David S. Miller <davem@davemloft.net>
42829
42830 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
42831 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
42832 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
42833 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
42834 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
42835 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
42836
169d7f11
JM
428372012-02-29 Joseph Myers <joseph@codesourcery.com>
42838
42839 * math/libm-test.inc (llround_test): Move one test from
42840 lround_test. Use TEST_f_L in moved test.
42841 (lround_test): Move misplaced test to llround_test. Add testcase
42842 from bug 2561.
42843
39adf059
UD
428442012-02-28 Ulrich Drepper <drepper@gmail.com>
42845
42846 * sysdeps/x86_64/fpu/e_expf.S: New file.
42847 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
42848
71b5d1c5
SB
428492012-02-28 Stanislav Brabec <sbrabec@suse.cz>
42850
42851 [BZ #13637]
42852 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
42853 of remain_len that may cause incomplete multi-byte character and
42854 false match.
42855 * posix/bug-regex33.c: New file.
42856 * posix/Makefile (tests): Add bug-regex33.
42857
1f77f049
JM
428582012-02-28 Joseph Myers <joseph@codesourcery.com>
42859
42860 * manual/macros.texi: New file.
42861 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
42862 * manual/libc.texinfo: Include macros.texi.
42863 * manual/creatute.texi: Likewise.
42864 * manual/install.texi: Likewise.
42865 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
42866 @glibcadj{} in references to the GNU C Library.
42867 * manual/charset.texi: Likewise.
42868 * manual/conf.texi: Likewise.
42869 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
42870 when not using those macros.
42871 * manual/creature.texi: Likewise.
42872 * manual/crypt.texi: Likewise.
42873 * manual/errno.texi: Likewise.
42874 * manual/filesys.texi: Likewise.
42875 * manual/header.texi: Likewise.
42876 * manual/install.texi: Likewise.
42877 * manual/intro.texi: Likewise.
42878 * manual/io.texi: Likewise.
42879 * manual/job.texi: Likewise.
42880 * manual/lang.texi: Likewise.
42881 * manual/libc.texiinfo: Likewise.
42882 * manual/llio.texi: Likewise.
42883 * manual/locale.texi: Likewise.
42884 * manual/maint.texi: Likewise.
42885 * manual/math.texi: Likewise.
42886 * manual/memory.texi: Likewise.
42887 * manual/message.texi: Likewise.
42888 * manual/nss.texi: Likewise.
42889 * manual/pattern.texi: Likewise.
42890 * manual/process.texi: Likewise.
42891 * manual/resource.texi: Likewise.
42892 * manual/search.texi: Likewise.
42893 * manual/setjmp.texi: Likewise.
42894 * manual/signal.texi: Likewise.
42895 * manual/socket.texi: Likewise.
42896 * manual/startup.texi: Likewise.
42897 * manual/stdio.texi: Likewise.
42898 * manual/string.texi: Likewise.
42899 * manual/sysinfo.texi: Likewise.
42900 * manual/syslog.texi: Likewise.
42901 * manual/terminal.texi: Likewise.
42902 * manual/time.texi: Likewise.
42903 * manual/users.texi: Likewise.
42904 * INSTALL: Regenerated.
42905 * NOTES: Regenerated.
d40c5d54 42906 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 42907
450bf206
AS
429082012-02-28 Andreas Schwab <schwab@linux-m68k.org>
42909
42910 * include/dirent.h: Include <dirstream.h> before
42911 <dirent/dirent.h>.
42912
741a235b
DM
429132012-02-28 David S. Miller <davem@davemloft.net>
42914
42915 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
42916 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
42917 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
42918 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
42919
d6b5aa58
DM
429202012-02-27 David S. Miller <davem@davemloft.net>
42921
1aff59a3
DM
42922 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
42923 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
42924 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
42925 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
42926
d6b5aa58
DM
42927 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
42928 frame pointer instead of stack pointer relative arg slot.
42929 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
42930 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
42931 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
42932
433f48bf
CD
429332012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
42934
42935 [BZ #3992]
42936 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
42937
d674b76d
DM
429382012-02-27 David S. Miller <davem@davemloft.net>
42939
42940 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
42941 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
42942 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
42943 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
42944 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
42945 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
42946 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
42947 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
42948
0e7727f7
JM
429492012-02-27 Joseph Myers <joseph@codesourcery.com>
42950
42951 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
42952 later. Allow versions 5-9.
43be4ca2 42953 * configure: Regenerated.
0e7727f7
JM
42954 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
42955 required minimum version and 4.6 as recommended version. Do not
42956 mention bugs in GCC 2.7 and 2.8.
43be4ca2 42957 * INSTALL: Regenerated.
0e7727f7 42958
a78bc654
DM
429592012-02-27 David S. Miller <davem@davemloft.net>
42960
428d5830
DM
42961 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
42962 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
42963 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
42964 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
42965 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
42966 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
42967 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
42968 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
42969
a78bc654
DM
42970 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
42971 manipulate bits before adding and subtracting TWO112[sx].
42972 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
42973
4579f81c
RM
429742012-02-27 Roland McGrath <roland@hack.frob.com>
42975
36c8acb4
RM
42976 [BZ #13775]
42977 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
42978 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
42979 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
42980 being in POSIX, because they are in 1003.1-2008.
42981
84ad622b
RM
42982 * rt/tst-aio.c: Include <fcntl.h>.
42983 * rt/tst-aio7.c: Likewise.
42984 * rt/tst-aio64.c: Likewise.
42985
4579f81c
RM
42986 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
42987
abd923db
JM
429882012-02-27 Joseph Myers <joseph@codesourcery.com>
42989
42990 * manual/install.texi (--with-headers): Describe headers as
42991 interface headers, not private headers.
42992 (Specific advice for GNU/Linux systems): Describe use of headers
42993 from "make headers_install", not private headers from older
42994 kernels.
43be4ca2 42995 * INSTALL: Regenerated.
abd923db
JM
42996 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
42997 Change to 2.6.19.
42998 * sysdeps/unix/sysv/linux/configure: Regenerated.
42999
6664049b
JM
43000 * manual/llio.texi (fclean): Remove documentation.
43001
bb8b6697
JM
43002 * manual/Makefile (libc-texi-generated): New variable. Include
43003 version.texi.
43004 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
43005 $(libc-texi-generated), not duplicated list of files.
43006 (version.texi, stamp-version): New rules.
43007 (realclean): Remove $(libc-texi-generated), not individual files
43008 from that list. Do not remove dir-add.texinfo.
43009 * manual/libc.texinfo: Comment out uses of edition numbers and
43010 references to printed manual. Remove last-updated dates.
43011 (EDITION): Comment out.
43012 (ISBN): Likewise.
43013 (VERSION, UPDATED): Remove.
43014 (version.texi): Include.
43015
12e5c3b9
AS
430162012-02-27 Andreas Schwab <schwab@linux-m68k.org>
43017
43018 * sysdeps/posix/spawni.c: Include <signal.h>.
43019 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
43020 * sysdeps/pthread/aio_fsync.c: Likewise.
43021
4efeffc1 430222012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 43023
ba63ba08
UD
43024 * conform/Makefile (tests): Run only when not cross-compiling and
43025 when fast-check is not defined.
43026
d94a4670
UD
43027 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
43028 * conform/data/limits.h-data: Fixes for POSIX2008.
43029 * conform/run-conformtest.sh: Run all tests.
43030 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
43031 headers.
43032 * include/bits/dlfcn.h: Likewise.
43033 * include/langinfo.h: Likewise.
43034 * include/monetary.h: Likewise.
43035 * include/sys/poll.h: Likewise.
43036
43037 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
43038 for __USE_GNU.
43039 * posix/spawn.h: Define __need_sigset_t.
43040 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
43041 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
43042 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
43043 to get sigevent_t only.
43044 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
43045 only for __USE_GNU.
43046 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
43047 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
43048 process_vm_writev only for __USE_GNU.
43049 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
43050
43051 * conform/Makefile: For now ignore errors from run-conformtest.
43052 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
43053 POSIX to avoid namespace pollution. Don't prepend headers.
43054 * conform/data/aio.h-data: Fixes for POSIX testing.
43055 * conform/data/fcntl.h-data: Likewise.
43056 * conform/data/glob.h-data: Likewise.
43057 * conform/data/grp.h-data: Likewise.
43058 * conform/data/pthread.h-data: Likewise.
43059 * conform/data/pwd.h-data: Likewise.
43060 * conform/data/signal.h-data: Likewise.
43061 * conform/data/spawn.h-data: Likewise.
43062 * conform/data/stdio.h-data: Likewise.
43063 * conform/data/stdlib.h-data: Likewise.
43064 * conform/data/stropts.h-data: Likewise.
43065 * conform/data/sys/mman.h-data: Likewise.
43066 * conform/data/sys/stat.h-data: Likewise.
43067 * conform/data/sys/types.h-data: Likewise.
43068 * conform/data/sys/wait.h-data: Likewise.
43069 * conform/data/time.h-data: Likewise.
43070 * conform/data/unistd.h-data: Likewise.
43071 * conform/data/utime.h-data: Likewise.
43072
43073 * io/sys/stat.h: fchmod was always in POSIX.
43074 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
43075 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
43076 * rt/aio.h: Define __need_timespec before including <time.h>.
43077 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
43078 struct. Add forward declaration of pthread_attr_t and use it in
43079 sigevent.
43080 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
43081 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
43082 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
43083 always remove CLK_TCK definition.
43084
c20105c3
AS
430852012-02-26 Andreas Schwab <schwab@linux-m68k.org>
43086
43087 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
43088
7a270350
UD
430892012-02-25 Ulrich Drepper <drepper@gmail.com>
43090
31341567
UD
43091 * conform/run-conformtest.sh: New file.
43092 * conform/Makefile: Run run-conformtest for tests.
43093 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
43094 support.
43095
43096 * conform/data/uchar.h-data: New file.
43097 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
43098 * conform/data/arpa/inet.h-data: Likewise.
43099 * conform/data/assert.h-data: Likewise.
43100 * conform/data/complex.h-data: Likewise.
43101 * conform/data/cpio.h-data: Likewise.
43102 * conform/data/ctype.h-data: Likewise.
43103 * conform/data/dirent.h-data: Likewise.
43104 * conform/data/dlfcn.h-data: Likewise.
43105 * conform/data/errno.h-data: Likewise.
43106 * conform/data/fcntl.h-data: Likewise.
43107 * conform/data/float.h-data: Likewise.
43108 * conform/data/fmtmsg.h-data: Likewise.
43109 * conform/data/fnmatch.h-data: Likewise.
43110 * conform/data/ftw.h-data: Likewise.
43111 * conform/data/glob.h-data: Likewise.
43112 * conform/data/grp.h-data: Likewise.
43113 * conform/data/iconv.h-data: Likewise.
43114 * conform/data/inttypes.h-data: Likewise.
43115 * conform/data/langinfo.h-data: Likewise.
43116 * conform/data/libgen.h-data: Likewise.
43117 * conform/data/limits.h-data: Likewise.
43118 * conform/data/locale.h-data: Likewise.
43119 * conform/data/math.h-data: Likewise.
43120 * conform/data/monetary.h-data: Likewise.
43121 * conform/data/mqueue.h-data: Likewise.
43122 * conform/data/ndbm.h-data: Likewise.
43123 * conform/data/net/if.h-data: Likewise.
43124 * conform/data/netdb.h-data: Likewise.
43125 * conform/data/netinet/in.h-data: Likewise.
43126 * conform/data/nl_types.h-data: Likewise.
43127 * conform/data/poll.h-data: Likewise.
43128 * conform/data/pthread.h-data: Likewise.
43129 * conform/data/pwd.h-data: Likewise.
43130 * conform/data/regex.h-data: Likewise.
43131 * conform/data/sched.h-data: Likewise.
43132 * conform/data/search.h-data: Likewise.
43133 * conform/data/semaphore.h-data: Likewise.
43134 * conform/data/setjmp.h-data: Likewise.
43135 * conform/data/signal.h-data: Likewise.
43136 * conform/data/spawn.h-data: Likewise.
43137 * conform/data/stdarg.h-data: Likewise.
43138 * conform/data/stdio.h-data: Likewise.
43139 * conform/data/stdlib.h-data: Likewise.
43140 * conform/data/string.h-data: Likewise.
43141 * conform/data/strings.h-data: Likewise.
43142 * conform/data/stropts.h-data: Likewise.
43143 * conform/data/sys/ipc.h-data: Likewise.
43144 * conform/data/sys/mman.h-data: Likewise.
43145 * conform/data/sys/msg.h-data: Likewise.
43146 * conform/data/sys/resource.h-data: Likewise.
43147 * conform/data/sys/select.h-data: Likewise.
43148 * conform/data/sys/sem.h-data: Likewise.
43149 * conform/data/sys/shm.h-data: Likewise.
43150 * conform/data/sys/socket.h-data: Likewise.
43151 * conform/data/sys/stat.h-data: Likewise.
43152 * conform/data/sys/statvfs.h-data: Likewise.
43153 * conform/data/sys/time.h-data: Likewise.
43154 * conform/data/sys/timeb.h-data: Likewise.
43155 * conform/data/sys/times.h-data: Likewise.
43156 * conform/data/sys/types.h-data: Likewise.
43157 * conform/data/sys/uio.h-data: Likewise.
43158 * conform/data/sys/un.h-data: Likewise.
43159 * conform/data/sys/utsname.h-data: Likewise.
43160 * conform/data/sys/wait.h-data: Likewise.
43161 * conform/data/syslog.h-data: Likewise.
43162 * conform/data/tar.h-data: Likewise.
43163 * conform/data/termios.h-data: Likewise.
43164 * conform/data/utime.h-data: Likewise.
43165 * conform/data/utmpx.h-data: Likewise.
43166 * conform/data/varargs.h-data: Likewise.
43167 * conform/data/wchar.h-data: Likewise.
43168 * conform/data/wctype.h-data: Likewise.
43169 * conform/data/wordexp.h-data: Likewise.
43170
43171 * include/stropts.h: New file.
43172 * include/uchar.h: New file.
43173 * include/aio.h: Changes to allow conformtest.pl to use the headers.
43174 * include/assert.h: Likewise.
43175 * include/ctype.h: Likewise.
43176 * include/dirent.h: Likewise.
43177 * include/dlfcn.h: Likewise.
43178 * include/fcntl.h: Likewise.
43179 * include/fnmatch.h: Likewise.
43180 * include/glob.h: Likewise.
43181 * include/grp.h: Likewise.
43182 * include/libio.h: Likewise.
43183 * include/locale.h: Likewise.
43184 * include/math.h: Likewise.
43185 * include/net/if.h: Likewise.
43186 * include/netdb.h: Likewise.
43187 * include/netinet/in.h: Likewise.
43188 * include/pthread.h: Likewise.
43189 * include/pwd.h: Likewise.
43190 * include/regex.h: Likewise.
43191 * include/sched.h: Likewise.
43192 * include/search.h: Likewise.
43193 * include/setjmp.h: Likewise.
43194 * include/signal.h: Likewise.
43195 * include/stdio.h: Likewise.
43196 * include/stdlib.h: Likewise.
43197 * include/string.h: Likewise.
43198 * include/sys/cdefs.h: Likewise.
43199 * include/sys/mman.h: Likewise.
43200 * include/sys/msg.h: Likewise.
43201 * include/sys/resource.h: Likewise.
43202 * include/sys/select.h: Likewise.
43203 * include/sys/socket.h: Likewise.
43204 * include/sys/stat.h: Likewise.
43205 * include/sys/statvfs.h: Likewise.
43206 * include/sys/time.h: Likewise.
43207 * include/sys/times.h: Likewise.
43208 * include/sys/uio.h: Likewise.
43209 * include/sys/utsname.h: Likewise.
43210 * include/sys/wait.h: Likewise.
43211 * include/termios.h: Likewise.
43212 * include/time.h: Likewise.
43213 * include/ulimit.h: Likewise.
43214 * include/unistd.h: Likewise.
43215 * include/utime.h: Likewise.
43216 * include/wchar.h: Likewise.
43217 * include/wctype.h: Likewise.
43218 * include/wordexp.h: Likewise.
43219
43220 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
43221
7a270350
UD
43222 * time/time.h: TIME_UTC must be a macro.
43223 Make timespec_get available for ISO C11 only as well.
43224
7724defc
UD
432252012-02-24 Ulrich Drepper <drepper@gmail.com>
43226
43227 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
43228 Reported by Peng Haitao <penght@cn.fujitsu.com>.
43229
6b1d1d46
JM
432302012-02-24 Joseph Myers <joseph@codesourcery.com>
43231
43232 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 43233
0f8bbd69
JM
432342012-02-24 Joseph Myers <joseph@codesourcery.com>
43235
43236 * manual/texinfo.tex: Update to version 2012-01-19.16.
43237
66ab80bc
JM
432382012-02-24 Joseph Myers <joseph@codesourcery.com>
43239
43240 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
43241
74981cc5
RM
432422012-02-24 Roland McGrath <roland@hack.frob.com>
43243
ee968201
RM
43244 [BZ #13738]
43245 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
43246 * manual/fdl-1.3.texi: New file.
43247 * manual/fdl-1.1.texi: File removed.
43248
74981cc5
RM
43249 [BZ #13738]
43250 * manual/libc.texinfo (FDL_VERSION): New @set.
43251 Use it for mention of FDL in cover text.
43252 (Documentation License): Use it in @include file name.
43253
7bb764bc
JM
432542012-02-22 Joseph Myers <joseph@codesourcery.com>
43255 Roland McGrath <roland@hack.frob.com>
43256
43257 [BZ #5461]
57f41c40
AS
43258 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
43259 (not LONG_LONG_MAX and LONG_LONG_MIN.
7bb764bc
JM
43260 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
43261 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
43262 name.
43263 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
43264
6cbeae47
JM
432652012-02-22 Joseph Myers <joseph@codesourcery.com>
43266
43267 [BZ #2547]
43268 [BZ #11365]
43269 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
43270 manipulate bits before adding and subtracting TWO23[sx].
43271 * math/libm-test.inc (nearbyint_test): Add more tests.
43272
fe45ce09
JM
432732012-02-22 Joseph Myers <joseph@codesourcery.com>
43274
43275 [BZ #2548]
43276 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
43277 bits before adding and subtracting TWO23[sx].
43278 * math/libm-test.inc (rint_test): Add more tests.
43279 (rint_test_tonearest): Likewise.
43280 (rint_test_towardzero): Likewise.
43281 (rint_test_downward): Likewise.
43282 (rint_test_upward: Likewise.
43283
ff3b3d82
JM
432842012-02-22 Joseph Myers <joseph@codesourcery.com>
43285
43286 [BZ #10110]
43287 * include/stdc-predef.h: New file. Extracted from features.h.
43288 * include/features.h: Include stdc-predef.h.
43289 * Makefile (headers): Add stdc-predef.h.
43290 * CONFORMANCE (Compiler limitations): Update.
43291
ef0aab35
JM
432922012-02-22 Joseph Myers <joseph@codesourcery.com>
43293
43294 * manual/libc.texinfo (VERSION, UPDATED): Revert.
43295
58639409
DM
432962012-02-21 David S. Miller <davem@davemloft.net>
43297
43298 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
43299 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
43300
c0e70b25
DM
433012012-02-20 David S. Miller <davem@davemloft.net>
43302
43303 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
43304 using a normal save/restore sequence, rather than allocating a
43305 dummy stack frame just to store a frame pointer and restore.
43306 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
43307
fb06851d
JM
433082012-02-21 Joseph Myers <joseph@codesourcery.com>
43309
43310 * manual/install.texi: Fix stray word in line-wrapped comment.
43311
7a8b71c3
DM
433122012-02-20 David S. Miller <davem@davemloft.net>
43313
d510c123
DM
43314 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
43315 both binutils and gcc support GOTDATA.
43316
0722d7c2
DM
43317 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
43318 "rd %pc" in the PIC register setup sequences.
43319
3d2b3019
DM
43320 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
43321 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
43322 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
43323 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
43324 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
43325 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
43326 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
43327 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
43328 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
43329 (SYSCALL_ERROR_HANDLER): Likewise.
43330 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
43331 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
43332 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
43333 (SYSCALL_ERROR_HANDLER): Likewise.
43334
c80098a9
DM
43335 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
43336 (HAVE_GCC_GOTDATA): New.
43337 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
43338 relocation support in both binutils and gcc.
43339 * sysdeps/sparc/elf/configure: Regenerate.
43340
3a2545a0
DM
43341 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
43342 * sysdeps/sparc/sparc32/elf/configure: Delete.
43343 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
43344 * sysdeps/sparc/sparc64/elf/configure: Delete.
43345 * sysdeps/sparc/elf/configure.in: New file.
43346 * sysdeps/sparc/elf/configure: Generate.
43347
7a8b71c3
DM
43348 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
43349 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
43350 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
43351 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
43352 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
43353
f1e86fca
JM
433542012-02-21 Joseph Myers <joseph@codesourcery.com>
43355
43356 * manual/install.texi: Do not mention specific glibc version
43357 numbers.
43358 * manual/libc.texinfo (VERSION, UPDATED): Update.
43359 (@copying): Use @copyright{} and range of years.
43360
0e7dfaef
JM
433612012-02-21 Joseph Myers <joseph@codesourcery.com>
43362
43363 [BZ #13695]
43364 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
43365 [crti.S not in sysdirs] (generated): Do not append.
43366 [crti.S not in sysdirs] (omit-deps): Likewise.
43367 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
43368 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
43369 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
43370 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
43371 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
43372 Likewise.
43373 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
43374 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
43375 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
43376 * csu/defs.awk: Remove file.
43377 * sysdeps/generic/initfini.c: Likewise.
43378 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
43379 variable.
43380 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
43381 Likewise.
43382
599af3ca
JM
433832012-02-20 Joseph Myers <joseph@codesourcery.com>
43384
43385 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
43386 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
43387 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
43388 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
43389 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
43390 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
43391 <bits/epoll.h>.
43392 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
43393 (__EPOLL_PACKED): Define to empty if not defined by
43394 <bits/epoll.h>.
43395 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
43396 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
43397 bits/epoll.h.
43398
0e499750
JM
433992012-02-20 Joseph Myers <joseph@codesourcery.com>
43400
43401 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
43402 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
43403 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
43404 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
43405 <bits/timerfd.h>.
43406 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
43407 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
43408 bits/timerfd.h.
43409
5ad91f6e
JM
434102012-02-20 Joseph Myers <joseph@codesourcery.com>
43411
43412 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
43413 in C locale.
43414 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
43415 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
43416 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
43417 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43418
06b99b02
AJ
434192012-02-20 Aurelien Jarno <aurelien@aurel32.net>
43420
43421 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
43422 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
43423
7638c0fd
AS
434242012-02-19 Andreas Schwab <schwab@linux-m68k.org>
43425
43426 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
43427 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
43428 defined.
43429 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
43430 Likewise.
43431 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
43432 entry for 2.16.
43433
92221550
AJ
434342012-02-19 Aurelien Jarno <aurelien@aurel32.net>
43435
43436 * math/w_acos.c: Use non-signaling floating-point comparisons.
43437 * math/w_acosf.c: Likewise.
43438 * math/w_acosh.c: Likewise.
43439 * math/w_acoshf.c: Likewise.
43440 * math/w_acoshl.c: Likewise.
43441 * math/w_acosl.c: Likewise.
43442 * math/w_asin.c: Likewise.
43443 * math/w_asinf.c: Likewise.
43444 * math/w_asinl.c: Likewise.
43445 * math/w_atanh.c: Likewise.
43446 * math/w_atanhf.c: Likewise.
43447 * math/w_atanhl.c: Likewise.
43448 * math/w_exp2.c: Likewise.
43449 * math/w_exp2f.c: Likewise.
43450 * math/w_exp2l.c: Likewise.
43451 * math/w_j0.c: Likewise.
43452 * math/w_j0f.c: Likewise.
43453 * math/w_j0l.c: Likewise.
43454 * math/w_j1.c: Likewise.
43455 * math/w_j1f.c: Likewise.
43456 * math/w_j1l.c: Likewise.
43457 * math/w_jn.c: Likewise.
43458 * math/w_jnf.c: Likewise.
43459 * math/w_log.c: Likewise.
43460 * math/w_log10.c: Likewise.
43461 * math/w_log10f.c: Likewise.
43462 * math/w_log10l.c: Likewise.
43463 * math/w_log2.c: Likewise.
43464 * math/w_log2f.c: Likewise.
43465 * math/w_log2l.c: Likewise.
43466 * math/w_logf.c: Likewise.
43467 * math/w_logl.c: Likewise.
43468 * math/w_sqrt.c: Likewise.
43469 * math/w_sqrtf.c: Likewise.
43470 * math/w_sqrtl.c: Likewise.
43471 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
43472 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
43473 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
43474 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
43475 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
43476
ebaf36eb
JM
434772012-02-19 Joseph Myers <joseph@codesourcery.com>
43478
43479 [BZ #9739]
43480 * manual/string.texi (strnlen): Use correct parameter name in
43481 equivalent expression.
43482
71c254a6
JM
434832012-02-19 Joseph Myers <joseph@codesourcery.com>
43484
43485 [BZ #11174]
43486 * manual/users.texi (seteuid): Consistently use neweuid for
43487 argument name.
43488
16d2c631
JM
434892012-02-19 Joseph Myers <joseph@codesourcery.com>
43490
43491 [BZ #13704]
43492 * manual/nss.texi (Services in the NSS configuration): Correct
43493 list of services in example configuration file.
43494
cd837b09
NB
434952012-02-19 Nick Bowler <nbowler@draconx.ca>
43496
43497 [BZ #11322]
43498 * manual/arith.texi: Remove statements about negative zero
43499 behaving identically to zero.
43500
02c4bbad
JM
435012012-02-18 Joseph Myers <joseph@codesourcery.com>
43502
43503 [BZ #5993]
43504 * manual/install.texi: Do not document upgrading from libc5.
43505
366842e7
JM
435062012-02-18 Joseph Myers <joseph@codesourcery.com>
43507
43508 [BZ #4596]
43509 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
43510
dd54084d
DM
435112012-02-18 David S. Miller <davem@davemloft.net>
43512
43513 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
43514 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
43515 %o7 across the call.
43516 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
43517 instead.
43518 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
43519 SETUP_PIC_REG_LEAF.
43520 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
43521 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
43522 * sysdeps/sparc/crtn.S: Likewise.
43523
2bcc53a3
UD
435242012-02-17 Ulrich Drepper <drepper@gmail.com>
43525
43526 * aout/Makefile: Remove.
43527
09c093b5
RK
435282012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
43529
43530 [BZ #13058]
43531 * manual/examples/argp-ex1.c (main): Format definition in GNU
43532 style.
43533 * manual/examples/argp-ex2.c (main): Likewise.
43534 * manual/examples/argp-ex3.c (main): Likewise.
43535 * manual/examples/argp-ex4.c (main): Likewise.
43536 * manual/examples/longopt.c (main): Use new-style prototype
43537 definition.
43538 * manual/examples/strncat.c (main): Specify return type and use
43539 (void) for arguments.
43540 * manual/examples/subopt.c (main): Use char **argv argument.
43541
2ee633a2
JM
435422012-02-17 Joseph Myers <joseph@codesourcery.com>
43543
43544 [BZ #5077]
43545 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
43546 rounding modes.
43547
0520adde
FB
435482012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
43549
43550 [BZ #6907]
43551 * manual/string.texi (strchr): Change when strchrnul is
43552 recommended.
43553
3f4081cd
DGM
435542012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
43555
43556 [BZ #174]
43557 * manual/locale.texi (setlocale): Document LOCPATH.
43558
d1b10e78
JM
435592012-02-17 Joseph Myers <joseph@codesourcery.com>
43560
43561 [BZ #10210]
43562 * manual/process.texi (execle): Move @dots{} before last argument.
43563
79c6869c
PB
435642012-02-17 Paul Bolle <pebolle@tiscali.nl>
43565
43566 [BZ #12047]
43567 * manual/charset.texi (Generic Charset Conversion): Fix typo
43568 (LC_TYPE -> LC_CTYPE).
43569
cc6e48bc
NB
435702012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
43571
43572 [BZ #5805]
43573 * manual/arith.texi (scalbn): Use @var{} on parameter names.
43574 (scalbnf): Likewise.
43575 (scalbnl): Likewise.
43576 (scalbln): Likewise.
43577 (scalblnf): Likewise.
43578 (scalblnl): Likewise.
43579 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
43580 (vwarnx): Likewise.
43581 (verr): Likewise.
43582 (verrx): Likewise.
43583 * manual/filesys.texi (telldir): Use braces around return type.
43584 * manual/llio.texi (mmap): Add space after comma.
43585 (mmap64): Likewise.
43586 * manual/math.texi (jn): Use @var{} on parameter names.
43587 (jnf): Likewise.
43588 (jnl): Likewise.
43589 (yn): Likewise.
43590 (ynf): Likewise.
43591 (ynl): Likewise.
43592 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
43593 line.
43594 * manual/resource.texi (ulimit): Use @dots{} instead of literal
43595 "...".
43596 (sched_get_priority_min): Remove semicolon on @deftypefun line.
43597 (sched_get_priority_max): Likewise.
43598 * manual/signal.texi (sigvec): Add space after comma.
43599 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
43600 names.
43601 (if_indextoname): Likewise.
43602 (if_freenameindex): Likewise.
43603 (sendto): Use ',' instead of '.' in prototype.
43604 * manual/startup.texi (syscall): Use @dots{} instead of literal
43605 "...".
43606 * manual/stdio.texi (__fpending): Separate initial words of
43607 paragraph from @deftypefun line.
43608 * manual/syslog.texi (syslog): Use @dots{} instead of literal
43609 "...".
43610 (vsyslog): Use @var{} on parameter names.
43611 * manual/terminal.texi (stty): Use @var{} on parameter names.
43612 * manual/users.texi (getutmp): Use @var{} on parameter names.
43613 (getutmpx): Likewise.
43614
5b23062f
JM
436152012-02-17 Joseph Myers <joseph@codesourcery.com>
43616
43617 [BZ #6884]
43618 * manual/stdio.texi (fopen): Fix typos in description of
43619 ",ccs=STRING".
43620
8dee4833
AJ
436212012-02-17 Aurelien Jarno <aurelien@aurel32.net>
43622
43623 [BZ #4026]
43624 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
43625 get clock_id definition.
43626
9078ce93
TS
436272012-02-17 Thomas Schwinge <thomas@schwinge.name>
43628
43629 [BZ #4822]
43630 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
43631 (madvise): Cast every argument to void on its own.
43632
3835c55f
JM
436332012-02-17 Joseph Myers <joseph@codesourcery.com>
43634
43635 [BZ #9902]
43636 * manual/startup.texi (Exit Status): Fix typo.
43637
35c47e37
JM
436382012-02-17 Joseph Myers <joseph@codesourcery.com>
43639
43640 [BZ #10140]
43641 * manual/examples/argp-ex1.c: Include <stdlib.h>.
43642 * manual/examples/argp-ex2.c: Likewise.
43643 * manual/examples/argp-ex3.c: Likewise.
43644
e3b69ca7
RH
436452012-02-16 Richard Henderson <rth@redhat.com>
43646
43647 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
43648 * sysdeps/s390/s390-32/initfini.c: Remove.
43649 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
43650 * sysdeps/s390/s390-64/initfini.c: Remove.
43651
df83af67
KK
436522012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
43653
43654 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
43655 compiler output for sysdeps/generic/initfini.c.
43656 * sysdeps/sh/elf/initfini.c: Remove file.
43657
f63f3380
DM
436582012-02-16 David S. Miller <davem@davemloft.net>
43659
fb59b3a4
DM
43660 [BZ #11494]
43661 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
43662
f63f3380
DM
43663 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
43664 * sysdeps/sparc/crti.S: New file.
43665 * sysdeps/sparc/crtn.S: New file.
43666 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
43667 * sysdeps/sparc/sparc64/Makefile: Likewise.
43668
df6a4a4a
MF
436692012-02-15 Mike Frysinger <vapier@gentoo.org>
43670
6dd8f3dc 43671 [BZ #3335]
df6a4a4a
MF
43672 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
43673
1cac7236
RM
436742012-02-15 Roland McGrath <roland@hack.frob.com>
43675
d2c736f8
RM
43676 [BZ #4822]
43677 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
43678
1cac7236
RM
43679 * mach/devstream.c (cookie_io_functions_t): Macro removed.
43680 (write, read, close): Likewise.
43681 Patch by Aurelien Jarno <aurelien@aurel32.net>.
43682
8e475601
JM
436832012-02-15 Joseph Myers <joseph@codesourcery.com>
43684
43685 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
43686 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
43687 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
43688 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
43689 <bits/signalfd.h>.
43690 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
43691 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
43692 bits/signalfd.h.
43693
ed656b40
MP
436942012-02-14 Marek Polacek <polacek@redhat.com>
43695
43696 * sysdeps/x86_64/crti.S: New file.
43697 * sysdeps/x86_64/crtn.S: New file.
43698 * sysdeps/x86_64/elf/initfini.c: Remove file.
43699
2a979d3a
JM
437002012-02-13 Joseph Myers <joseph@codesourcery.com>
43701
43702 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
43703 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
43704 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
43705 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
43706 <bits/inotify.h>.
43707 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
43708 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
43709 bits/inotify.h.
43710
2a418ac3
JM
437112012-02-13 Joseph Myers <joseph@codesourcery.com>
43712
43713 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
43714 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
43715 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
43716 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
43717 <bits/eventfd.h>.
43718 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
43719 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
43720 bits/eventfd.h.
43721
fb779be7
TS
437222012-02-10 Thomas Schwinge <thomas@codesourcery.com>
43723
e19e83c5
RM
43724 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
43725 __feraiseexcept instead of feraiseexcept.
7c35ffed 43726
fb779be7
TS
43727 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
43728 nanosleep invocations.
43729 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
43730 strings, and add error checking for a nanosleep invocations.
43731
59ba27a6
PE
437322012-02-09 Paul Eggert <eggert@cs.ucla.edu>
43733
43734 Replace FSF snail mail address with URLs, as per GNU coding standards.
43735 Most of the snail mail addresses were wrong anyway, and omitting
43736 them makes the source code easier to maintain. Almost all of the
43737 changes are to license notices and to locale LC_IDENTIFICATION
43738 addresses, except for this one:
43739 * manual/libc.texinfo: In "Published by", give the FSF's URL,
43740 not its snail mail address.
43741
57b957eb
RH
437422012-02-09 Richard Henderson <rth@twiddle.net>
43743
af850b1c
RH
43744 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
43745 of kernel-features.h.
43746
57b957eb
RH
43747 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
43748
6b73181a
MP
437492012-02-08 Marek Polacek <polacek@redhat.com>
43750
43751 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
43752 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
43753 * sysdeps/gnu/_G_config.h: Likewise.
43754 * sysdeps/generic/_G_config.h: Likewise.
43755
26ecc33a
AS
437562012-02-08 Andreas Schwab <schwab@linux-m68k.org>
43757
6c6dbc63
AS
43758 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
43759 tests.
43760 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43761
e216c012
AS
43762 * sysdeps/powerpc/powerpc32/crti.S: New file.
43763 * sysdeps/powerpc/powerpc32/crtn.S: New file.
43764 * sysdeps/powerpc/powerpc64/crti.S: New file.
43765 * sysdeps/powerpc/powerpc64/crtn.S: New file.
43766
26ecc33a
AS
43767 * Makeconfig (have-initfini): Don't set.
43768 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
43769 * configure.in (nopic_initfini): Don't substitute.
43770 * config.h.in (HAVE_INITFINI): Don't #undef.
43771 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
43772 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
43773
3add8e13
JM
437742012-02-08 Joseph Myers <joseph@codesourcery.com>
43775
43776 Support crti.S and crtn.S provided directly by architectures.
43777 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
43778 [crti.S in sysdirs] (omit-deps): Likewise.
43779 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
43780 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
43781 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
43782 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
43783 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
43784 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
43785 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
43786 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
43787 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
43788 compiler output for sysdeps/generic/initfini.c.
43789 * sysdeps/i386/elf/Makefile: Remove file.
43790 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
43791
a22f12b4
MP
437922012-02-07 Marek Polacek <polacek@redhat.com>
43793
43794 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
43795 * sysdeps/gnu/_G_config.h: Likewise.
43796 * sysdeps/mach/hurd/_G_config.h: Likewise.
43797
148cf100
MP
437982012-02-07 Marek Polacek <polacek@redhat.com>
43799
43800 * math/Makefile (tests): Add tst-CMPLX2.
43801 * math/tst-CMPLX2.c: New file.
43802
cfdc0dd7
AS
438032012-02-07 Andreas Schwab <schwab@linux-m68k.org>
43804
84ba42c4
AS
43805 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
43806
cfdc0dd7
AS
43807 * math/libm-test.inc (jn_test): Add missing L suffix.
43808
622c86f4
MP
438092012-02-06 Marek Polacek <polacek@redhat.com>
43810
43811 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
43812 * sysdeps/i386/fpu/e_powf.S: Likewise.
43813 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
43814 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
43815 * sysdeps/i386/fpu/e_acosh.S: Likewise.
43816 * sysdeps/i386/fpu/e_pow.S: Likewise.
43817 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
43818 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
43819 * sysdeps/i386/fpu/s_expm1.S: Likewise.
43820 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
43821 * sysdeps/i386/fpu/e_log2.S: Likewise.
43822 * sysdeps/i386/fpu/e_log2l.S: Likewise.
43823 * sysdeps/i386/fpu/e_scalb.S: Likewise.
43824 * sysdeps/i386/fpu/e_powl.S: Likewise.
43825 * sysdeps/i386/fpu/s_log1p.S: Likewise.
43826 * sysdeps/i386/fpu/e_log10f.S: Likewise.
43827 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
43828 * sysdeps/i386/fpu/e_logl.S: Likewise.
43829 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
43830 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
43831 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
43832 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
43833 * sysdeps/i386/fpu/e_log2f.S: Likewise.
43834 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
43835 * sysdeps/i386/fpu/e_log.S: Likewise.
43836 * sysdeps/i386/fpu/s_cexp.S: Likewise.
43837 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
43838 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
43839 * sysdeps/i386/fpu/e_logf.S: Likewise.
43840 * sysdeps/i386/fpu/e_log10l.S: Likewise.
43841 * sysdeps/i386/fpu/e_atanh.S: Likewise.
43842 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
43843 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
43844 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
43845 * sysdeps/i386/fpu/e_log10.S: Likewise.
43846 * sysdeps/i386/fpu/s_frexp.S: Likewise.
43847 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
43848 * sysdeps/i386/fpu/s_asinh.S: Likewise.
43849 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
43850 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
43851 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
43852 * sysdeps/i386/asm-syntax.h: Likewise.
43853 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
43854 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
43855 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
43856 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
43857 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
43858 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
43859 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
43860 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
43861 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
43862 * sysdeps/powerpc/sysdep.h: Likewise.
43863 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
43864 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
43865
d4a54ac6
JM
438662012-02-06 Joseph Myers <joseph@codesourcery.com>
43867
43868 [BZ #411]
43869 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
43870
314054ea
JM
438712012-02-06 Joseph Myers <joseph@codesourcery.com>
43872
43873 * sysdeps/i386/sysdep.h: Include <features.h>.
43874 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
43875 version.
43876
d8e0ca50
JM
438772012-02-05 Joseph Myers <joseph@codesourcery.com>
43878
43879 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
43880 Define.
43881 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
43882 LOAD_PIC_REG_STR.
43883
b1da7dd9
JM
438842012-02-03 Joseph Myers <joseph@codesourcery.com>
43885
43886 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
43887 (SETUP_PIC_REG): Use GET_PC_THUNK.
43888 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
43889 macro.
43890
9a1d9254
JM
438912012-02-03 Joseph Myers <joseph@codesourcery.com>
43892
43893 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
43894 for non-PIC compilation.
43895 (SETUP_PIC_REG): Add .p2align directive.
43896 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
43897 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
43898 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
43899 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
43900 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
43901 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
43902 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
43903 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
43904 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
43905 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
43906 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
43907 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
43908 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
43909 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
43910 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
43911 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
43912 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
43913 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
43914 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
43915 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
43916 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
43917 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
43918 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
43919 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
43920 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
43921 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
43922 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
43923 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
43924 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
43925 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
43926 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
43927 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
43928 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
43929 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
43930 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
43931 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
43932 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
43933 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
43934 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
43935 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
43936 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
43937
65dc3b75
JM
439382012-02-03 Joseph Myers <joseph@codesourcery.com>
43939
43940 * math/tst-CMPLX.c: Include <stdio.h>.
43941
d55bf177
JM
439422012-01-31 Joseph Myers <joseph@codesourcery.com>
43943
43944 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
43945 float.
43946 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
43947 * sysdeps/sparc/bits/mathdef.h: Likewise.
43948
69db4f8f
MP
439492012-01-31 Marek Polacek <polacek@redhat.com>
43950
43951 * libio/libio.h: Don't define _PARAMS.
43952 * locale/programs/config.h: Don't define PARAMS.
43953 * stdlib/strtol_l.c: Likewise.
43954 (__strtol_l): Remove PARAMS from the prototype.
43955
41b81892
UD
439562012-01-31 Ulrich Drepper <drepper@gmail.com>
43957
3b49edc0
UD
43958 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
43959 names. Just use the correct names. Remove unnecessary wrapper
43960 functions.
43961 * malloc/arena.c: Likewise.
43962 * malloc/hooks.c: Likewise.
43963
41b81892
UD
43964 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
43965 ARENA_TEST says not to. Simplify test for creation of a new arena.
43966 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
43967
27a25b6e
UD
439682012-01-30 Ulrich Drepper <drepper@gmail.com>
43969
43970 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
43971 into tail calls.
43972 (update_get_addr): New function.
43973 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
43974 GET_ADDR_MODULE parameter.
43975
c8a89e7d
JM
439762012-01-30 Joseph Myers <joseph@codesourcery.com>
43977
43978 * crypt/cert.c: Remove __STDC__ conditionals.
43979 * crypt/crypt-entry.c: Likewise.
43980 * crypt/crypt_util.c: Likewise.
43981 * libio/filedoalloc.c: Likewise.
43982 * libio/fileops.c: Likewise.
43983 * libio/genops.c: Likewise.
43984 * libio/iofclose.c: Likewise.
43985 * libio/iofdopen.c: Likewise.
43986 * libio/iofopen.c: Likewise.
43987 * libio/iofopen64.c: Likewise.
43988 * libio/iogetdelim.c: Likewise.
43989 * libio/iopopen.c: Likewise.
43990 * libio/obprintf.c: Likewise.
43991 * libio/oldfileops.c: Likewise.
43992 * libio/oldiofclose.c: Likewise.
43993 * libio/oldiofdopen.c: Likewise.
43994 * libio/oldiofopen.c: Likewise.
43995 * libio/oldiopopen.c: Likewise.
43996 * libio/wfiledoalloc.c: Likewise.
43997 * libio/wgenops.c: Likewise.
43998 * locale/programs/xmalloc.c: Likewise.
43999 * misc/syslog.c: Likewise.
44000 * stdio-common/xbug.c: Likewise.
44001 * string/memchr.c: Likewise.
44002 * string/memcmp.c: Likewise.
44003 * string/memrchr.c: Likewise.
44004 * string/rawmemchr.c: Likewise.
44005 * sysdeps/posix/getcwd.c: Likewise.
44006 * time/strftime_l.c: Likewise.
44007
3b100462
JM
440082012-01-30 Joseph Myers <joseph@codesourcery.com>
44009
44010 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
44011 * config.make.in (config-cflags-sse2avx): Define.
44012 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
44013 Fix typo.
44014
607998af
CM
440152012-01-29 Chris Metcalf <cmetcalf@tilera.com>
44016
44017 * scripts/config.guess: Update from upstream config git repository.
44018 * scripts/config.sub: Likewise.
44019
3601428f
CM
440202012-01-28 Chris Metcalf <cmetcalf@tilera.com>
44021
3ac8b282
CM
44022 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
44023 (EM_NUM): Update.
44024 (R_TILEPRO_*, R_TILEGX_*): New macros.
44025
e034841e
CM
44026 * scripts/firstversions.awk: Fix bug in version range handling.
44027
540d7568
CM
44028 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
44029
3601428f
CM
44030 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
44031
463de862
CM
44032 * include/sys/epoll.h: New file.
44033 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
44034 libc_hidden_def.
44035
73139a76
UD
440362012-01-28 Ulrich Drepper <drepper@gmail.com>
44037
96bc5b45
UD
44038 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
44039 Avoid unnecessary __WORDSIZE == 64 test.
44040 (fmaxf): Use VEX format if possible.
44041 (fmax): Likewise.
44042 (fminf): Likewise.
44043 (fmin): Likewise.
44044
56f6f6a2
UD
44045 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
44046 * math/math_private.h: Remove libc_fegetround* and
44047 libc_fesetround*.
44048 * sysdeps/i386/configure.in: Check for -msse2avx.
44049 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
44050 also if SSE2AVX is defined.
44051 Remove libc_fegetround* and libc_fesetround*.
44052 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
44053 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
44054 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
44055 of HAS_YMM_USABLE.
44056 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
44057 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
44058 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
44059 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
44060 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
44061
73139a76
UD
44062 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
44063
d73f93a4
AZ
440642012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
44065
44066 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
44067 size is not set.
44068 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
44069
6ee65ed6
UD
440702012-01-27 Ulrich Drepper <drepper@gmail.com>
44071
44072 [BZ #13618]
44073 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
44074 relocation.
44075 * Makeconfig (libm): Define.
44076 * elf/Makefile: Add rules to build and run tst-relsort1.
44077 * elf/tst-relsort1.c: New file.
44078 * elf/tst-relsort1mod1.c: New file.
44079 * elf/tst-relsort1mod2.c: New file.
44080
8db21882
JM
440812012-01-27 Joseph Myers <joseph@codesourcery.com>
44082
44083 * math/s_ldexp.c: Remove __STDC__ conditionals.
44084 * math/s_ldexpf.c: Likewise.
44085 * math/s_ldexpl.c: Likewise.
44086 * math/s_nextafter.c: Likewise.
44087 * math/s_nexttowardf.c: Likewise.
44088 * math/s_significand.c: Likewise.
44089 * math/s_significandf.c: Likewise.
44090 * math/s_significandl.c: Likewise.
44091 * math/w_jnl.c: Likewise.
44092 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
44093 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
44094 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
44095 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
44096 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
44097 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
44098 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
44099 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
44100 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
44101 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
44102 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
44103 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
44104 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
44105 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
44106 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
44107 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
44108 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
44109 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
44110 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
44111 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
44112 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
44113 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
44114 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
44115 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
44116 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
44117 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
44118 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
44119 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
44120 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
44121 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
44122 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
44123 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
44124 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
44125 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
44126 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
44127 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
44128 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
44129 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
44130 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
44131 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
44132 * sysdeps/ieee754/k_standard.c: Likewise.
44133 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
44134 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
44135 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
44136 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
44137 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
44138 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
44139 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
44140 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
44141 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
44142 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
44143 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
44144 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
44145 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
44146 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
44147 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
44148 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
44149 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
44150 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
44151 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
44152 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
44153 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
44154 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
44155 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
44156 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
44157 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
44158 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
44159 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
44160 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
44161 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
44162 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
44163 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
44164 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
44165 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
44166 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
44167 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
44168 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
44169 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
44170 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
44171 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
44172 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
44173 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
44174 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
44175 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
44176 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
44177 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
44178 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
44179 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
44180 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
44181 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
44182 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
44183 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
44184 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
44185 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
44186 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
44187 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
44188 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
44189 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
44190 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
44191 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
44192 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
44193 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
44194 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
44195 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
44196 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
44197 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
44198 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
44199 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
44200 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
44201 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
44202 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
44203 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
44204 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
44205 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
44206 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
44207 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
44208 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
44209 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
44210 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
44211 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
44212 * sysdeps/ieee754/s_matherr.c: Likewise.
44213 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
44214 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
44215 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
44216 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
44217
965a54a4
JM
442182012-01-26 Joseph Myers <joseph@codesourcery.com>
44219
44220 * crypt/md5.h: Remove __STDC__ conditionals.
44221 * libio/libioP.h: Likewise.
44222 * locale/programs/config.h: Likewise.
44223 * sysdeps/generic/sysdep.h: Likewise.
44224 * sysdeps/i386/asm-syntax.h: Likewise.
44225 * sysdeps/s390/asm-syntax.h: Likewise.
44226 * sysdeps/unix/sysdep.h: Likewise.
44227 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
44228 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
44229
7071ad79
JM
442302012-01-26 Joseph Myers <joseph@codesourcery.com>
44231
44232 * libio/libio.h: Remove __STDC__ conditionals.
44233 * malloc/obstack.h: Likewise.
44234 * math/complex.h: Likewise.
44235 * math/math.h: Likewise.
44236 * sysdeps/generic/_G_config.h: Likewise.
44237 * sysdeps/gnu/_G_config.h: Likewise.
44238 * sysdeps/mach/hurd/_G_config.h: Likewise.
44239 * sysdeps/powerpc/bits/mathdef.h: Likewise.
44240 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
44241 * sysdeps/sparc/bits/mathdef.h: Likewise.
44242
afc5ed09
UD
442432012-01-26 Ulrich Drepper <drepper@gmail.com>
44244
44245 [BZ #13583]
44246 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 44247 Clean up HAS_* macros.
afc5ed09 44248 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
44249 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
44250 possible.
44251 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
44252 HAS_AVX.
44253 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
44254 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
44255 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
44256 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
44257 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 44258
bdb6de1d
JM
442592012-01-25 Joseph Myers <joseph@codesourcery.com>
44260
44261 * elf/tst-unique3.cc (gets): Remove declaration.
44262 * elf/tst-unique3lib.cc (gets): Likewise.
44263 * elf/tst-unique3lib2.cc (gets): Likewise.
44264 * elf/tst-unique4.cc (gets): Likewise.
44265
b15549e6
UD
442662012-01-24 Ulrich Drepper <drepper@gmail.com>
44267
44268 * include/stdio.h: Add C++ protection. Add gets declarations and
44269 definitions.
44270 * debug/tst-chk1.c: Don't declare gets here.
44271 * stdio-common/tst-gets.c: Likewise.
44272
a037381f
JM
442732012-01-24 Joseph Myers <joseph@codesourcery.com>
44274
44275 * posix/glob: Remove directory.
44276
f1d4aa75
JM
442772012-01-24 Joseph Myers <joseph@codesourcery.com>
44278
44279 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
44280
81c0c964
PT
442812012-01-22 Pino Toscano <toscano.pino@tiscali.it>
44282
44283 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
44284 of the non-standard EPFNOSUPPORT.
44285
0ea698ae
ST
442862011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
44287
44288 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
44289 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
44290 ANYWHERE set to 1 only on KERN_NO_SPACE error.
44291
d220b117
UD
442922012-01-21 Ulrich Drepper <drepper@gmail.com>
44293
44294 * wcsmbs/uchar.h: Test __STDC_VERSION__.
44295
3e1aa84e
UD
442962012-01-20 Ulrich Drepper <drepper@gmail.com>
44297
44298 * nscd/aicache.c (addhstaiX): Do not cache negative results of
44299 transient errors.
44300 * nscd/grpcache.c (cache_addgr): Likewise.
44301 * nscd/hstcache.c (cache_addhst): Likewise.
44302 * nscd/initgrcache.c (addinitgroupsX): Likewise.
44303 * nscd/pwdcache.c (cache_addpw): Likewise.
44304 * nscd/servicescache.c (cache_addserv): Likewise.
44305
400aa020
UD
443062012-01-16 Ulrich Drepper <drepper@gmail.com>
44307
d77e7869
UD
44308 * malloc/malloc.c: Various cleanups.
44309 * malloc/hooks.c: Likewise.
44310
400aa020
UD
44311 * stdlib/Makefile (tests): Add bug-fmtmsg1.
44312 * stdlib/bug-fmtmsg1.c: New file.
44313
44314 * stdlib/fmtmsg.c (init): Add missing unlock.
44315 Patch by Peng Haitao <penght@cn.fujitsu.com>.
44316
e0a309cf
MP
443172012-01-12 Marek Polacek <polacek@redhat.com>
44318
44319 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
44320 and _GNU_SOURCE.
44321
929d11c7
WS
443222012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
44323
44324 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
44325 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
44326 macro to ensure uniqueness of label name.
44327 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
44328 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
44329
41d0e869
UD
443302012-01-11 Ulrich Drepper <drepper@gmail.com>
44331
0cc5ed3b
UD
44332 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
44333
41d0e869
UD
44334 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
44335 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
44336 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
44337 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
44338
a47a831a
UD
443392012-01-10 Ulrich Drepper <drepper@gmail.com>
44340
daa891c0
UD
44341 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
44342
44343 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
44344 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
44345 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
44346
e58ef0f2
UD
44347 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
44348
a47a831a 44349 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
44350 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
44351 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 44352 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
44353
44354 * math/bits/math-finite.h: Add ldexp support.
44355
a0bfc9c7
MP
443562012-01-10 Marek Polacek <polacek@redhat.com>
44357
44358 * locale/programs/localedef.h (show_archive_content): Add noreturn
44359 attribute.
44360
d6e97a1d
UD
443612012-01-09 Ulrich Drepper <drepper@gmail.com>
44362
44363 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
44364
d5835c26
UD
443652012-01-08 Ulrich Drepper <drepper@gmail.com>
44366
e5f484c6
UD
44367 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
44368
d5835c26
UD
44369 * io/Makefile (headers): Add bits/poll2.h.
44370
d1f741e9
WS
443712011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
44372
44373 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
44374 typo #include statement.
44375
ec09c1c4
UD
443762012-01-08 Ulrich Drepper <drepper@gmail.com>
44377
44378 * include/sys/cdefs.h: Define __attribute_alloc_size.
44379 * catgets/gencat.c: Add alloc_size attribute and apply consistently
44380 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
44381 * elf/pldd.c: Likewise.
44382 * iconv/iconv_charmap.c: Likewise.
44383 * iconv/iconvconfig.c: Likewise.
44384 * iconv/strtab.c: Likewise.
44385 * locale/programs/locale.c: Likewise.
44386 * locale/programs/localedef.h: Likewise.
44387 * locale/programs/simple-hash.c: Likewise.
44388 * nscd/nscd.h: Likewise.
44389 * nss/makedb.c: Likewise.
44390 * sysdeps/generic/ldconfig.h: Likewise.
44391 * locale/programs/localedef.c: Remove xmalloc prototype.
44392 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
44393
20b38e03
PP
443942012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
44395
44396 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
44397 appropriate.
44398
a0da5fe1
UD
443992012-01-08 Ulrich Drepper <drepper@gmail.com>
44400
1d5a644a 44401 * math/Makefile (tests): Add tst-CMPLX.
669704fd 44402 * math/tst-CMPLX.c: New file.
1d5a644a 44403
8784a6db
UD
44404 * math/complex.h (CMPLXL): Fix typo.
44405
d9a216c0
UD
44406 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
44407 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
44408 GLIBC_2.16.
44409 * debug/tst-chk1.c: Add poll and ppoll tests.
44410 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
44411 * include/sys/poll.h: Add hidden proto for ppoll.
44412 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
44413 * sysdeps/mach/hurd/ppoll.c: Likewise.
44414 * io/ppoll.c: Likewise.
44415 * debug/poll_chk.c: New file.
44416 * debug/ppoll_chk.c: New file.
44417 * include/bits/poll2.h: New file.
44418 * io/bits/poll2.h: New file.
44419
ac097f5c
UD
44420 [BZ #1350]
44421 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
44422
2119dcfa
UD
44423 * configure.in: static is always set to yes. Remove.
44424 * config.make.in: Don't set build-static.
44425 * Makeconfig: Remove use of build-static.
44426 * dlfcn/Makefile: Likewise.
44427 * elf/Makefile: Likewise.
44428 * math/Makefile: Likewise.
44429 * misc/Makefile: Likewise.
44430 * nptl/Makefile: Likewise.
44431 * sysdeps/mach/hurd/Makefile: Likewise.
44432
121766a9
UD
44433 * configure.in: PWD_P is not used anymore.
44434 * config.make.in: Remove PWD_P entry.
44435
51a1d39c 44436 * configure.in: Remove last remnants of RANLIB.
8720d066 44437 No need to check for signed size_t anymore.
215f4bdc
UD
44438 Don't set libc_commonpagesize and libc_relro_required here for Alpha
44439 and IA-64.
3857022a 44440 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
44441 * aclocal.m4: Likewise.
44442
d3ed7225
UD
44443 * wcsmbs/mbrtoc16.c: Implement using towc function.
44444 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
44445 * wcsmbs/wcsmbsload.c: Likewise.
44446 * iconv/gconv_simple.c: Likewise.
44447 * iconv/gconv_int.h: Likewise.
44448 * iconv/gconv_builtin.h: Likewise.
44449 * iconv/iconv_prog.c: Remove CHAR16 handling.
44450
44451 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
44452
44453 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
44454
a0da5fe1
UD
44455 * configure.in: Remove --with-elf and --enable-bounded options.
44456 Dont set base_machine for ia64. More non-ELF conditions removed.
44457 Remove testing and setting of leading underscore information.
44458 * config.make.in (build-bounded): Set to no.
44459 * config.h.in: Remove NO_UNDERSCORES entry.
44460 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
44461 them.
44462 * csu/start.c: Remove !NO_UNDERSCORE code.
44463 * locale/localeinfo.h: Likewise.
44464 * sysdeps/generic/machine-gmon.h: Likewise.
44465 * sysdeps/generic/sysdep.h: Likewise.
44466 * sysdeps/i386/sysdep.h: Likewise.
44467 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
44468 * sysdeps/mach/sysdep.h: Likewise.
44469 * sysdeps/s390/s390-32/sysdep.h: Likewise.
44470 * sysdeps/s390/s390-64/sysdep.h: Likewise.
44471 * sysdeps/sh/sysdep.h: Likewise.
44472 * sysdeps/sparc/sparc32/alloca.S: Likewise.
44473 * sysdeps/unix/i386/sysdep.S: Likewise.
44474 * sysdeps/unix/sparc/start.c: Likewise.
44475 * sysdeps/unix/sparc/sysdep.S: Likewise.
44476 * sysdeps/unix/sparc/sysdep.h: Likewise.
44477 * sysdeps/unix/start.c: Likewise.
44478 * sysdeps/unix/x86_64/sysdep.S: Likewise.
44479 * sysdeps/x86_64/sysdep.h: Likewise.
44480
df78418a
UD
444812012-01-07 Ulrich Drepper <drepper@gmail.com>
44482
a784e502
UD
44483 [BZ #13553]
44484 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
44485 for non-gcc.
44486 * argp/argp-fmtstream.h: Use const instead __const.
44487 * argp/argp.h: Likewise.
44488 * assert/assert.h: Likewise.
44489 * bits/fenv.h: Likewise.
44490 * bits/sched.h: Likewise.
44491 * bits/sigset.h: Likewise.
44492 * bits/sigthread.h: Likewise.
44493 * catgets/nl_types.h: Likewise.
44494 * conform/data/pthread.h-data: Likewise.
44495 * crypt/crypt-private.h: Likewise.
44496 * crypt/crypt.h: Likewise.
44497 * crypt/crypt_util.c: Likewise.
44498 * ctype/ctype.h: Likewise.
44499 * debug/execinfo.h: Likewise.
44500 * debug/mbsnrtowcs_chk.c: Likewise.
44501 * debug/mbsrtowcs_chk.c: Likewise.
44502 * debug/wcsnrtombs_chk.c: Likewise.
44503 * debug/wcsrtombs_chk.c: Likewise.
44504 * debug/wcstombs_chk.c: Likewise.
44505 * dirent/dirent.h: Likewise.
44506 * dlfcn/dlfcn.h: Likewise.
44507 * elf/neededtest4.c: Likewise.
44508 * grp/grp.h: Likewise.
44509 * gshadow/gshadow.h: Likewise.
44510 * iconv/gconv.h: Likewise.
44511 * iconv/gconv_int.h: Likewise.
44512 * iconv/gconv_simple.c: Likewise.
44513 * iconv/iconv.h: Likewise.
44514 * iconv/loop.c: Likewise.
44515 * iconv/skeleton.c: Likewise.
44516 * include/aio.h: Likewise.
44517 * include/aliases.h: Likewise.
44518 * include/argz.h: Likewise.
44519 * include/arpa/inet.h: Likewise.
44520 * include/assert.h: Likewise.
44521 * include/dirent.h: Likewise.
44522 * include/dlfcn.h: Likewise.
44523 * include/execinfo.h: Likewise.
44524 * include/fcntl.h: Likewise.
44525 * include/fenv.h: Likewise.
44526 * include/glob.h: Likewise.
44527 * include/grp.h: Likewise.
44528 * include/libintl.h: Likewise.
44529 * include/mntent.h: Likewise.
44530 * include/netdb.h: Likewise.
44531 * include/pwd.h: Likewise.
44532 * include/rpc/netdb.h: Likewise.
44533 * include/sched.h: Likewise.
44534 * include/search.h: Likewise.
44535 * include/shadow.h: Likewise.
44536 * include/signal.h: Likewise.
44537 * include/stdio.h: Likewise.
44538 * include/stdlib.h: Likewise.
44539 * include/string.h: Likewise.
44540 * include/sys/socket.h: Likewise.
44541 * include/sys/stat.h: Likewise.
44542 * include/sys/statfs.h: Likewise.
44543 * include/sys/statvfs.h: Likewise.
44544 * include/sys/syslog.h: Likewise.
44545 * include/sys/time.h: Likewise.
44546 * include/sys/uio.h: Likewise.
44547 * include/time.h: Likewise.
44548 * include/unistd.h: Likewise.
44549 * include/utmp.h: Likewise.
44550 * include/wchar.h: Likewise.
44551 * include/wctype.h: Likewise.
44552 * inet/aliases.h: Likewise.
44553 * inet/arpa/inet.h: Likewise.
44554 * inet/netinet/ether.h: Likewise.
44555 * inet/netinet/in.h: Likewise.
44556 * intl/libintl.h: Likewise.
44557 * io/bits/fcntl2.h: Likewise.
44558 * io/fcntl.h: Likewise.
44559 * io/ftw.h: Likewise.
44560 * io/sys/poll.h: Likewise.
44561 * io/sys/stat.h: Likewise.
44562 * io/sys/statfs.h: Likewise.
44563 * io/sys/statvfs.h: Likewise.
44564 * io/utime.h: Likewise.
44565 * libio/bits/stdio.h: Likewise.
44566 * libio/bits/stdio2.h: Likewise.
44567 * libio/libio.h: Likewise.
44568 * libio/libioP.h: Likewise.
44569 * libio/stdio.h: Likewise.
44570 * locale/lc-ctype.c: Likewise.
44571 * locale/locale.h: Likewise.
44572 * login/utmp.h: Likewise.
44573 * malloc/arena.c: Likewise.
44574 * malloc/malloc.c: Likewise.
44575 * malloc/malloc.h: Likewise.
44576 * malloc/mcheck.c: Likewise.
44577 * malloc/mtrace.c: Likewise.
44578 * math/bits/mathcalls.h: Likewise.
44579 * math/fenv.h: Likewise.
44580 * math/math_private.h: Likewise.
44581 * misc/bits/error.h: Likewise.
44582 * misc/bits/syslog.h: Likewise.
44583 * misc/err.h: Likewise.
44584 * misc/error.h: Likewise.
44585 * misc/fstab.h: Likewise.
44586 * misc/mntent.h: Likewise.
44587 * misc/regexp.h: Likewise.
44588 * misc/search.h: Likewise.
44589 * misc/sgtty.h: Likewise.
44590 * misc/sys/mman.h: Likewise.
44591 * misc/sys/syslog.h: Likewise.
44592 * misc/sys/uio.h: Likewise.
44593 * misc/sys/xattr.h: Likewise.
44594 * misc/ttyent.h: Likewise.
44595 * nis/rpcsvc/ypclnt.h: Likewise.
44596 * nss/nss.h: Likewise.
44597 * posix/bits/unistd.h: Likewise.
44598 * posix/fnmatch.h: Likewise.
44599 * posix/glob.h: Likewise.
44600 * posix/sched.h: Likewise.
44601 * posix/spawn.h: Likewise.
44602 * posix/sys/wait.h: Likewise.
44603 * posix/unistd.h: Likewise.
44604 * posix/wordexp.h: Likewise.
44605 * pwd/pwd.h: Likewise.
44606 * resolv/netdb.h: Likewise.
44607 * resource/sys/resource.h: Likewise.
44608 * rt/aio.h: Likewise.
44609 * rt/bits/mqueue2.h: Likewise.
44610 * rt/mqueue.h: Likewise.
44611 * shadow/shadow.h: Likewise.
44612 * signal/signal.h: Likewise.
44613 * socket/send.c: Likewise.
44614 * socket/sendto.c: Likewise.
44615 * socket/sys/socket.h: Likewise.
44616 * stdio-common/printf.h: Likewise.
44617 * stdlib/bits/stdlib.h: Likewise.
44618 * stdlib/fmtmsg.h: Likewise.
44619 * stdlib/monetary.h: Likewise.
44620 * stdlib/stdlib.h: Likewise.
44621 * stdlib/ucontext.h: Likewise.
44622 * streams/stropts.h: Likewise.
44623 * string/argz.h: Likewise.
44624 * string/bits/string2.h: Likewise.
44625 * string/string.h: Likewise.
44626 * string/strings.h: Likewise.
44627 * sunrpc/rpc/auth.h: Likewise.
44628 * sunrpc/rpc/auth_des.h: Likewise.
44629 * sunrpc/rpc/clnt.h: Likewise.
44630 * sunrpc/rpc/netdb.h: Likewise.
44631 * sunrpc/rpc/pmap_clnt.h: Likewise.
44632 * sunrpc/rpc/xdr.h: Likewise.
44633 * sysdeps/generic/inttypes.h: Likewise.
44634 * sysdeps/generic/net/if.h: Likewise.
44635 * sysdeps/generic/sys/swap.h: Likewise.
44636 * sysdeps/gnu/net/if.h: Likewise.
44637 * sysdeps/gnu/utmpx.h: Likewise.
44638 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
44639 * sysdeps/i386/i486/bits/string.h: Likewise.
44640 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
44641 * sysdeps/s390/bits/string.h: Likewise.
44642 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
44643 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
44644 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
44645 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
44646 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
44647 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
44648 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
44649 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
44650 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
44651 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
44652 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
44653 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
44654 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
44655 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
44656 * sysdeps/unix/sysv/linux/readv.c: Likewise.
44657 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
44658 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
44659 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
44660 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
44661 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
44662 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
44663 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
44664 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
44665 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
44666 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
44667 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
44668 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
44669 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
44670 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
44671 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
44672 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
44673 * sysvipc/sys/ipc.h: Likewise.
44674 * sysvipc/sys/msg.h: Likewise.
44675 * sysvipc/sys/sem.h: Likewise.
44676 * sysvipc/sys/shm.h: Likewise.
44677 * termios/termios.h: Likewise.
44678 * time/sys/time.h: Likewise.
44679 * time/time.h: Likewise.
44680 * wcsmbs/bits/wchar2.h: Likewise.
44681 * wcsmbs/uchar.h: Likewise.
44682 * wcsmbs/wchar.h: Likewise.
44683 * wctype/wctype.h: Likewise.
44684
0269750c
UD
44685 [BZ #13551]
44686 * Makeconfig: Remove all but ELF support including AIX support.
44687 * Makerules: Likewise.
44688 * config.h.in: Likewise.
44689 * config.make.in: Likewise.
44690 * configure: Likewise.
44691 * configure.in: Likewise.
44692 * csu/Makefile: Likewise.
44693 * csu/version.c: Likewise.
44694 * debug/Makefile: Likewise.
44695 * dlfcn/Makefile: Likewise.
44696 * elf/Makefile: Likewise.
44697 * extra-lib.mk: Likewise.
44698 * iconv/Makefile: Likewise.
44699 * include/libc-symbols.h: Likewise.
44700 * include/shlib-compat.h: Likewise.
44701 * resolv/Makefile: Likewise.
44702 * resolv/res_libc.c: Likewise.
44703 * rt/Makefile: Likewise.
44704 * sysdeps/i386/asm-syntax.h: Likewise.
44705 * sysdeps/i386/sysdep.h: Likewise.
44706 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
44707 * sysdeps/mach/sysdep.h: Likewise.
44708 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
44709 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
44710 * sysdeps/s390/asm-syntax.h: Likewise.
44711 * sysdeps/s390/s390-32/sysdep.h: Likewise.
44712 * sysdeps/s390/s390-64/sysdep.h: Likewise.
44713 * sysdeps/sh/sysdep.h: Likewise.
44714 * sysdeps/unix/sparc/sysdep.h: Likewise.
44715 * sysdeps/wordsize-32/divdi3.c: Likewise.
44716 * sysdeps/x86_64/sysdep.h: Likewise.
44717
00bbd29b
UD
44718 * argp/Versions: Remove _argp_unlock_xxx.
44719
44720 [BZ #13559]
44721 * abilist/ld.abilist: Update. Adjust for removal of tls option.
44722 * abilist/libBrokenLocale.abilist: Likewise.
44723 * abilist/libanl.abilist: Likewise.
44724 * abilist/libc.abilist: Likewise.
44725 * abilist/libcrypt.abilist: Likewise.
44726 * abilist/libdl.abilist: Likewise.
44727 * abilist/libm.abilist: Likewise.
44728 * abilist/libnsl.abilist: Likewise.
44729 * abilist/libpthread.abilist: Likewise.
44730 * abilist/libresolv.abilist: Likewise.
44731 * abilist/librt.abilist: Likewise.
44732 * abilist/libthread_db.abilist: Likewise.
44733 * abilist/libutil.abilist: Likewise.
44734 * abilist/libnss_db.abilist: New file.
44735
44736 * scripts/abilist.awk: Add support for indirect functions.
44737
a2693a0e
UD
44738 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
44739
3f05895f
UD
44740 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
44741
ecb6fb48
UD
44742 * shlib-versions: Remove entries for ports architectures.
44743
664f8cb9
UD
44744 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
44745 files in ports.
44746 * elf/stackguard-macros.h: Remove support for IA-64.
44747 * elf/tst-auditmod1.c: Likewise.
44748 * sysdeps/generic/ldsodefs.h: Likewise.
44749
7ae81d88
UD
44750 * sysdeps/unix/sysv/linux/configure.in: Ports should define
44751 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
44752 configure files.
44753
bdeba135
UD
44754 [BZ #13552]
44755 * configure.in: Remove --enable-omitfp support.
44756 * FAQ.in: Adjust.
44757 * config.make.in: Likewise.
44758 * Makeconfig: Likewise.
44759 * manual/install.texi: Likewise.
44760
d75a0a62
UD
44761 In case anyone cares, the IA-64 architecture could move to ports.
44762 * sysdeps/ia64/*: Removed.
44763 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 44764 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 44765
dcc9756b
UD
44766 [BZ #13555]
44767 * configure.in: Remove entries for unsupported architectures.
44768
d3761ebc 44769 [BZ #13533]
9954432e
UD
44770 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
44771 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
44772 routines.
44773 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
44774 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
44775 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
44776 fall back to using wcrtomb.
44777 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
44778 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
44779 renaming.
44780 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
44781 * wcsmbs/tst-c16c32-1.c: New file.
44782
44783 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
44784 local variable.
44785
c3a87236
UD
44786 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
44787
28926a1b
UD
44788 * elf/tst-unique3.cc: Add explicit declaration of gets.
44789 * elf/tst-unique3lib.cc: Likewise.
44790 * elf/tst-unique3lib2.cc: Likewise.
44791 * elf/tst-unique4.cc: Likewise.
44792
df78418a
UD
44793 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
44794
8ecd6b2a
JM
447952012-01-06 Joseph Myers <joseph@codesourcery.com>
44796
44797 [BZ #13566]
44798 * assert/assert.h (static_assert): Don't define for C++.
44799 * libio/stdio.h (gets): Do declare for C++ <= C++11.
44800 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
44801
9f115170
UD
448022012-01-03 Ulrich Drepper <drepper@gmail.com>
44803
5e0d0300
UD
44804 * iconv/loop.c (single loop): Fix assertion in storing of
44805 remaining bytes.
44806
9f115170
UD
44807 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
44808
81fb02b0
UD
448092012-01-01 Ulrich Drepper <drepper@gmail.com>
44810
44811 * posix/getconf.c: Update copyright year.
44812 * nss/getent.c: Likewise.
a316c1f6 44813 * nss/makedb.c: Likewise.
81fb02b0
UD
44814 * iconv/iconvconfig.c: Likewise.
44815 * iconv/iconv_prog.c: Likewise.
44816 * elf/ldconfig.c: Likewise.
a316c1f6
UD
44817 * elf/pldd.c: Likewise.
44818 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
44819 * catgets/gencat.c: Likewise.
44820 * csu/version.c: Likewise.
44821 * elf/ldd.bash.in: Likewise.
44822 * elf/sprof.c (print_version): Likewise.
44823 * locale/programs/locale.c: Likewise.
44824 * locale/programs/localedef.c: Likewise.
a316c1f6 44825 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
44826 * nscd/nscd.c (print_version): Likewise.
44827 * debug/xtrace.sh: Likewise.
44828 * malloc/memusage.sh: Likewise.
44829 * malloc/mtrace.pl: Likewise.
44830 * debug/catchsegv.sh: Likewise.
44831
2ba92745
JJ
448322011-12-30 Jakub Jelinek <jakub@redhat.com>
44833
44834 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
44835 pure attribute.
44836
dadebdae
UD
448372011-12-24 Ulrich Drepper <drepper@gmail.com>
44838
d3761ebc 44839 [BZ #13533]
db6af3eb
UD
44840 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
44841 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
44842 transformations.
44843 * iconv/gconv_int.h: Likewise.
44844 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
44845 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
44846 from libc for GLIBC_2.16.
44847 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
44848 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
44849 * wcsmbs/uchar.h: Really define mbstate_t.
44850 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
44851 * wcsmbs/c16rtomb.c: New file.
44852 * wcsmbs/mbrtoc16.c: New file.
44853 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
44854 for C/POSIX locale.
44855 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
44856 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
44857
dadebdae
UD
44858 * wcsmbs/wchar.h: Add missing __restrict.
44859
67371b56
UD
448602011-12-23 Ulrich Drepper <drepper@gmail.com>
44861
74033a25
UD
44862 [BZ #13532]
44863 * time/Makefile (routines): Add timespec_get.
44864 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
44865 * time/time.h: Define TIME_UTC and declare timespec_get. Define
44866 timespec for ISO C11.
44867 * time/timespec_get.c: New file.
44868 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
44869 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
44870
380d7e87
UD
44871 [BZ #13531]
44872 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
44873 * stdlib/stdlib.h: Declare aligned_alloc.
44874 * Versions.def: Add GLIBC_2.16 for libc.
44875 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
44876
4e9e7a35
UD
44877 [BZ 13527]
44878 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
44879 ISO C11.
44880
380d7e87 44881 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
44882 code.
44883
03a71829
UD
44884 [BZ #13528]
44885 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
44886
839e283e
UD
44887 [BZ #13529]
44888 * assert/assert.h (static_assert): Define.
44889
ce5294e2 44890 * version.h: Update for 2.16 development version.
90fa7312 44891
8d44e150 44892 [BZ #13526]
d7809905
UD
44893 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
44894 _ISOC11_SOURCE.
44895
c0da14cd
UD
44896 * version.h (RELEASE): Bump for 2.15 release.
44897 * include/features.h (__GLIBC_MINOR__): Bump to 15.
44898
530a3249
MP
44899 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
44900 Patch by Marek Polacek <mpolacek@redhat.com>.
44901
67371b56
UD
44902 * bits/byteswap.h: Protect long long constants with __extension__.
44903 * sysdeps/i386/bits/byteswap.h: Likewise.
44904 * sysdeps/ia64/bits/byteswap.h: Likewise.
44905 * sysdeps/s390/bits/byteswap.h: Likewise.
44906 * sysdeps/x86_64/bits/byteswap.h: Likewise.
44907
15db4de1
LD
449082011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
44909
44910 [BZ #13540]
bbe315ea
LD
44911 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
44912 destination buffer.
15db4de1
LD
44913 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
44914
2b2596b1
MP
449152011-12-23 Marek Polacek <polacek@redhat.com>
44916
44917 * elf/dl-addr.c (determine_info): Add inline keyword.
44918 * elf/tst-auditmod4b.c (check_avx): Likewise.
44919 * elf/tst-auditmod6b.c (check_avx): Likewise.
44920 * elf/tst-auditmod6c.c (check_avx): Likewise.
44921 * elf/tst-auditmod7b.c (check_avx): Likewise.
44922
70c6c246
UD
449232011-12-23 Ulrich Drepper <drepper@gmail.com>
44924
44925 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
44926 !__SSE_MATH__.
44927
c044cf14
LD
449282011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
44929
15db4de1 44930 [BZ #13540]
c044cf14
LD
44931 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
44932 processing for last bytes.
44933
6b13d9d9
BH
449342011-08-06 Bruno Haible <bruno@clisp.org>
44935
d455f537
BH
44936 [BZ #13061]
44937 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
44938 U+0385, not to U+1FEE.
44939
6b13d9d9
BH
44940 [BZ #13062]
44941 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
44942 entry for U+00A5 U+0301.
44943
db910efd
UD
449442011-12-22 Ulrich Drepper <drepper@gmail.com>
44945
27deeafc
UD
44946 [BZ #13166]
44947 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
44948 buffer for the output is too small.
44949
aed9d171
UD
44950 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
44951 optimization.
44952
db910efd
UD
44953 [BZ #13185]
44954 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
44955 SSE flags if possible.
44956
2bd779ae
LD
449572011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
44958
e7f9dac3 44959 [BZ #13540]
2bd779ae
LD
44960 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
44961 processing for last bytes.
44962
154bfc16
JM
449632011-12-22 Joseph Myers <joseph@codesourcery.com>
44964
44965 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
44966 (syscall-list-default-options, syscall-list-default-condition)
44967 (syscall-list-includes): Define.
44968 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
44969 list of ABIs and options and #if conditions for each ABI. Do not
44970 handle common syscalls between ABIs specially.
44971 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
44972 Remove.
44973 (syscall-list-variants, syscall-list-32bit-options)
44974 (syscall-list-32bit-condition, syscall-list-64bit-options)
44975 (syscall-list-64bit-condition): Define.
44976 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
44977 (syscall-list-variants, syscall-list-32bit-options)
44978 (syscall-list-32bit-condition, syscall-list-64bit-options)
44979 (syscall-list-64bit-condition): Define.
44980 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
44981 Remove.
44982 (syscall-list-variants, syscall-list-32bit-options)
44983 (syscall-list-32bit-condition, syscall-list-64bit-options)
44984 (syscall-list-64bit-condition): Define.
44985 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
44986 Remove.
44987 (syscall-list-variants, syscall-list-32bit-options)
44988 (syscall-list-32bit-condition, syscall-list-64bit-options)
44989 (syscall-list-64bit-condition): Define.
44990
21eaf3a5
UD
449912011-12-22 Ulrich Drepper <drepper@gmail.com>
44992
16c6f992
UD
44993 * locale/iso-639.def: Add brx entry.
44994
41043168
UD
44995 [BZ #13328]
44996 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
44997 Proposed by Mariusz_Cukr <marcukr@op.pl>.
44998
21eaf3a5
UD
44999 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
45000 __feraiseexcept_renamed.
45001
e3a851a2
UD
450022011-12-21 Ulrich Drepper <drepper@gmail.com>
45003
4920765e
UD
45004 [BZ #13538]
45005 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
45006 EPOLLET with unsigned values.
45007 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
45008 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
45009
e3a851a2
UD
45010 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
45011 to large cancellation.
45012 * math/s_cacoshf.c: Likewise.
45013 * math/s_cacoshl.c: Likewise.
45014
b27e24b8
RK
450152011-11-18 Richard B. Kreckel <kreckel@ginac.de>
45016
45017 [BZ #13305]
aebefeee 45018 [BZ #12786]
b27e24b8
RK
45019 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
45020 * math/s_cacoshf.c: Likewise.
45021 * math/s_cacoshl.c: Likewise.
45022
ee190f67
UD
450232011-12-21 Ulrich Drepper <drepper@gmail.com>
45024
45025 [BZ #13439]
45026 * iconv/gconv.h: Define __GCONV_SWAP.
45027 * iconvdata/unicode.c: The swap bit must be stored in __flags.
45028 * iconvdata/utf-16.c: Likewise.
45029 * iconvdata/utf-32.c: Likewise.
45030
707f25df
AS
450312011-12-21 Andreas Schwab <schwab@linux-m68k.org>
45032
45033 [BZ #13524]
45034 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
45035 numerator after shifting it by one limb.
45036
d2daaa1e
RÁE
450372011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
45038
45039 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
45040 under [__USE_EXTERN_INLINES].
45041
a4647e72
UD
450422011-12-17 Ulrich Drepper <drepper@gmail.com>
45043
45044 [BZ #13446]
45045 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
45046
f0b264f1
AZ
450472011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
45048
45049 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
45050 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
45051 optimized code.
45052 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
45053 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
45054 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
45055 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
45056 for strncasecmp/strncasecmp_l compilation.
45057 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
45058 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
45059
8ef4f244
MP
450602011-12-08 Marek Polacek <mpolacek@redhat.com>
45061
45062 [BZ #13484]
45063 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
45064 of __asm__.
45065
97ac2654
UD
450662011-12-17 Ulrich Drepper <drepper@gmail.com>
45067
45068 [BZ #13506]
45069 * time/tzfile.c (__tzfile_read): Check values from file header.
45070
91d2a845
WS
450712011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
45072
45073 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
45074 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
45075 * powerpc/powerpc32/dl-start.S: Likewise.
45076 * powerpc/powerpc32/elf/start.S: Likewise.
45077 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
45078 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
45079 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
45080 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
45081 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
45082 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
45083 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
45084 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
45085 * powerpc/powerpc32/fpu/s_round.S: Likewise.
45086 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
45087 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
45088 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
45089 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
45090 * powerpc/powerpc32/memset.S: Likewise.
45091 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
45092 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
45093 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
45094 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
45095 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
45096 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
45097 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
45098 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
45099 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
45100 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
45101 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
45102 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
45103 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
45104
a1267ba1
AZ
451052011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
45106
45107 * math/libm-test.inc: Added more nearbyint tests.
45108 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
45109 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
45110 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
45111 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
45112
ad8ac1bd
RL
451132011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
45114
45115 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
45116 FD_CLOEXEC.
45117
1d3e4b61
UD
451182011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
45119
45120 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
45121 Add wcscpy-ssse3 wcscpy-c.
45122 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
45123 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
45124 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
45125 * sysdeps/x86_64/wcschr.S: New file.
45126 * sysdeps/x86_64/wcsrchr.S: New file.
45127 * string/test-strcmp.c: Remove checking of wcscmp function for
45128 wrong alignments.
45129 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
45130 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
45131 wcsrchr-sse2 wcsrchr-c.
45132 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
45133 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
45134 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
45135 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
45136 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
45137 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
45138 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
45139 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
45140 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
45141 * wcsmbc/wcschr.c (WCSCHR): New macro.
45142
5b330a2d
UD
451432011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
45144
45145 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
45146 * wcsmbs/test-wcsrchr.c: New file.
45147 * string/test-strrchr.c: Add wcsrchr support.
45148 (WIDE): New macro.
45149 * wcsmbs/test-wcscpy.c: New file.
45150 * string/test-strcpy.c: Add wcscpy support.
45151 (WIDE): New macro.
26428b7c 45152
f039c043
UD
451532011-12-10 Ulrich Drepper <drepper@gmail.com>
45154
45155 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
45156 the inner loop.
45157
850fb039
AS
451582011-12-06 Andreas Schwab <schwab@linux-m68k.org>
45159
45160 [BZ #13472]
45161 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
45162
4efbd5cb
UD
451632011-12-04 Ulrich Drepper <drepper@gmail.com>
45164
52ff5dd0 45165 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 45166 Minor optimizations.
52ff5dd0 45167
4efbd5cb
UD
45168 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
45169 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
45170 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
45171
8a426e12
UD
451722011-12-03 Ulrich Drepper <drepper@gmail.com>
45173
aff2453d
UD
45174 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
45175 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
45176 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
45177 for gcc to avoid warnings.
45178 * inet/Makefile (tests): Add tst-checks.
45179 * inet/tst-checks.c: New file.
45180
45181 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
45182 warning.
45183
45184 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
45185 __wmemcmp_sse2.
45186
45187 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
45188 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
45189
8a426e12
UD
45190 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
45191
9bea3473
UD
451922011-12-02 Ulrich Drepper <drepper@gmail.com>
45193
3a965496
UD
45194 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
45195 problem.
45196
9bea3473
UD
45197 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
45198
f101631b
UD
451992011-11-29 Joseph Myers <joseph@codesourcery.com>
45200
45201 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
45202 conditional on GCC version.
45203 (__arch_compare_and_exchange_val_8_acq)
45204 (__arch_compare_and_exchange_val_16_acq)
45205 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
45206 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
45207 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
45208
a98275aa
UD
452092011-12-02 Joseph Myers <joseph@codesourcery.com>
45210
45211 * sysdeps/sh/backtrace.c: New file.
45212
d4cc29a2
AS
452132011-12-02 Andreas Schwab <schwab@redhat.com>
45214
45215 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
45216 parenthesis.
45217
6257af2d
AS
452182011-12-01 Andreas Schwab <schwab@redhat.com>
45219
45220 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
45221 falling back to utime.
45222
b5f44c1a
AS
452232011-11-30 Andreas Schwab <schwab@redhat.com>
45224
45225 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
45226 expectations for float.
45227
f3a6cc0a
AS
452282011-11-29 Andreas Schwab <schwab@redhat.com>
45229
45230 * locale/weight.h (findidx): Add parameter len.
45231 * locale/weightwc.h (findidx): Likewise.
45232 * posix/fnmatch_loop.c (FCT): Adjust caller.
45233 * posix/regcomp.c (build_equiv_class): Likewise.
45234 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
45235 * posix/regexec.c (check_node_accept_bytes): Likewise.
45236 * string/strcoll_l.c (STRCOLL): Likewise.
45237 * string/strxfrm_l.c (STRXFRM): Likewise.
45238
9d65ea3a
UD
452392011-11-17 Ulrich Drepper <drepper@gmail.com>
45240
45241 * Makefile.in: Remove CVSOPT handling.
45242 * configure.in: Remove use of AC_REVISION.
45243 * iconvdata/Makefile (distribute): No need to filter out CVS.
45244 * scripts/list-sources.sh: Remove CVS, subversion and monotone
45245 handling.
45246
5583a086
AS
452472011-11-16 Andreas Schwab <schwab@redhat.com>
45248
45249 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
45250 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
45251 [USE_AS_STRNCASECMP_L]: Likewise.
45252 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
45253 NO_TLS_DIRECT_SEG_REFS.
45254 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
45255 Fix argument offsets for non-PIC.
45256 [USE_AS_STRNCASECMP_L]: Likewise.
45257 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
45258 NO_TLS_DIRECT_SEG_REFS.
45259
d62a8200
UD
452602011-11-15 Ulrich Drepper <drepper@gmail.com>
45261
9d65ea3a 45262 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
45263 O_CLOEXEC.
45264 * locale/loadlocale.c (_nl_load_locale): Likewise.
45265
09f93bd3
AS
452662011-11-15 Andreas Schwab <schwab@redhat.com>
45267
446514f9
AS
45268 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
45269 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
45270 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
45271 (SYSCALL_GETTIME): Set errno on error.
45272
09f93bd3
AS
45273 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
45274 count references to noai6ai_cached.
45275
312be3f9
UD
452762011-11-15 Ulrich Drepper <drepper@gmail.com>
45277
45278 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
45279
45280 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
45281 FD_CLOEXEC for /proc/self/maps.
45282
45283 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
45284 FD_CLOEXEC for /proc/meminfo.
45285
45286 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
45287 gai.conf.
45288
45289 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
45290 FD_CLOEXEC for given file.
45291
45292 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
45293
45294 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
45295 FD_CLOEXEC for /etc/hosts.
45296 (_gethtent): Likewise.
45297
45298 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
45299
45300 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
45301 cancellation and set FD_CLOEXEC for /etc/netgroup.
45302
45303 * nss/nss_files/files-key.c (search): Don't allow cancellation when
45304 reading /etc/publickey.
45305
45306 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
45307 allow cancellation when reading /etc/group.
45308
45309 * nss/nss_files/files-alias.c (internal_setent): Don't allow
45310 cancellation.
45311 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
45312
45313 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
45314 when using data file.
45315
45316 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
45317
45318 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
45319 (write_nis_obj): Use "c" and "e" in fopen.
45320
45321 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
45322
45323 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
45324
45325 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
45326
45327 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
45328
45329 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
45330 locale.alias.
45331
45332 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
45333
45334 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
45335
45336 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
45337
45338 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
45339 file parsing and set FD_CLOEXEC.
45340
82af0fa8
UD
453412011-11-14 Ulrich Drepper <drepper@gmail.com>
45342
45343 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
45344
a5fb313c
AS
453452011-11-14 Andreas Schwab <schwab@redhat.com>
45346
45347 * malloc/arena.c (arena_get2): Don't call reused_arena when
45348 _int_new_arena failed.
45349
6abf3465
UD
453502011-11-14 Ulrich Drepper <drepper@gmail.com>
45351
45352 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
45353 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
45354 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
45355 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
45356 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
45357 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
45358 to compile strcasecmp and strncasecmp.
45359 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
45360 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
45361
45362 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
45363
76e3966e
UD
453642011-11-13 Ulrich Drepper <drepper@gmail.com>
45365
45366 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
45367 locale-defines.sym to gen-as-const-headers.
45368 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
45369 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
45370 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
45371 to compile strcasecmp and strncasecmp.
45372 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
45373 strcasecmp_l and strncasecmp_l.
45374 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
45375 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
45376 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
45377 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
45378 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
45379 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
45380 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
45381 * sysdeps/i386/i686/multiarch/strncase.S: New file.
45382 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
45383 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
45384 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
45385
ab26144e
UD
453862011-11-12 Ulrich Drepper <drepper@gmail.com>
45387
7edb22ef
UD
45388 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
45389 result of SYSDEP_GETTIME_CPU to retval.
45390 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
45391 parameter list to macro. Remove trailing semicolon. Adjust users.
45392
9694fc44
UD
45393 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
45394 variable.
45395
8ad89ef8
UD
45396 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
45397 mantissa words.
45398 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
45399
0c822ef9
UD
45400 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
45401 from unused variable.
45402
874e0564
UD
45403 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
45404 DWARF definitions.
45405 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
45406 for assembling.
45407
3a2edc79
UD
45408 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
45409 over namespaces.
45410
f3c2577f
UD
45411 * sunrpc/rpc_prot.c (rejected): Fix case value.
45412
294ce126
UD
45413 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
45414 unsigned long long int to avoid warnings in shift.
45415
5e2b63c6
UD
45416 * posix/regex_internal.c (re_string_reconstruct): Actually use result
45417 of use of trans.
45418 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
45419 variable tmp.
45420
e7f4b08e
UD
45421 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
45422 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
45423 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
45424
ab26144e
UD
45425 * nis/nis_table.c (nis_list): Use variable of correct type for
45426 result of __follow_path call.
45427
8a6d5255
AZ
454282011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
45429
45430 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
45431 of math functions ceil, trunc, floor, round, and sqrt, when
45432 avaliable on the platform.
45433 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
45434 name clash.
45435 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
45436 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
45437 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
45438
aaddc98c
MP
454392011-10-30 Marek Polacek <mpolacek@redhat.com>
45440
45441 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
45442 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
45443
95b7042b
RM
454442011-11-11 Roland McGrath <roland@hack.frob.com>
45445
45446 * include/unistd.h: Fix __readlink return type.
45447 Reported by Chris Metcalf <cmetcalf@tilera.com>.
45448
57769839
UD
454492011-11-11 Ulrich Drepper <drepper@gmail.com>
45450
45451 * stdlib/ucontext.h: Undo last change for makecontext.
45452
edc5984d
AS
454532011-11-11 Andreas Schwab <schwab@redhat.com>
45454
98591e58
AS
45455 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
45456
edc5984d
AS
45457 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
45458 * setjmp/setjmp.h: Mark functions as non-leaf.
45459 * setjmp/bits/setjmp2.h: Likewise.
45460 * stdlib/ucontext.h: Likewise.
45461
77cdc054
AS
454622011-11-10 Andreas Schwab <schwab@redhat.com>
45463
45464 * malloc/arena.c (_int_new_arena): Don't increment narenas.
45465 (reused_arena): Don't check arena limit.
45466 (arena_get2): Atomically check arena limit.
45467
fe72eebd
UD
454682011-11-08 Ulrich Drepper <drepper@gmail.com>
45469
5f078c32
UD
45470 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
45471 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
45472
fe72eebd
UD
45473 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
45474 instructions.
45475
ae1bc2fa
AS
454762011-11-07 Andreas Schwab <schwab@redhat.com>
45477
7583a88d
AS
45478 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
45479 handler when locking.
45480
ae1bc2fa
AS
45481 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
45482 Fix size of allocated buffer.
45483
10fb0bfa
AS
454842011-11-04 Andreas Schwab <schwab@redhat.com>
45485
998832a4
AS
45486 [BZ #10103]
45487 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
45488 declarations for long double functions.
45489 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
45490
10fb0bfa
AS
45491 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
45492
3d7ba52b
AS
454932011-11-03 Andreas Schwab <schwab@redhat.com>
45494
a9ae54a1
AS
45495 * nscd/nscd.c (main): Don't start AVC thread until credentials are
45496 installed.
45497
3d7ba52b
AS
45498 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
45499 is disabled.
45500
bc8db248
ST
455012011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
45502
45503 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
45504
45b96dd6
AS
455052011-11-01 Andreas Schwab <schwab@linux-m68k.org>
45506
647776f6
AS
45507 * include/alloca.h (stackinfo_alloca_round): Define.
45508 (extend_alloca): Use it.
45509 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
45510 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
45511 here.
45512
d91a8b93
AS
45513 * scripts/check-local-headers.sh: Ignore libaudit.h.
45514
45b96dd6
AS
45515 * nscd/Makefile (extra-objs): Make recursively expanded.
45516
432d41ce
UD
455172011-11-01 Ulrich Drepper <drepper@gmail.com>
45518
34372fc6
UD
45519 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
45520 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
45521
fadb59f8
UD
45522 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
45523 * posix/tst-rfc3484-2.c: Likewise.
45524 * posix/tst-rfc3484-3.c: Likewise.
45525
78239589
UD
45526 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
45527 process_vm_writev.
45528 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
45529 process_vm_writev.
45530 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
45531 process_vm_writev from libc using GLIBC_2.15 version.
45532
432d41ce
UD
45533 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
45534
02f9c6cf
PP
455352011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
45536
45537 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
45538 stack usage.
45539
3a2c0242
UD
455402011-10-31 Ulrich Drepper <drepper@gmail.com>
45541
f4ec4833
UD
45542 [BZ #13367]
45543 * nss/getent.c (initgroups_keys): Show error message in case no group
45544 names are given.
45545
3a2c0242
UD
45546 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
45547 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
45548 __bump_nl_timestamp.
45549 * nscd/connections (nscd_init): When host database is served open
45550 netlink socket and request notification about configuration changes.
45551 (main_loop_poll): Track netlink file descriptor and bump timestamp
45552 in case data becomes available.
45553 (main_loop_epoll): Likewise.
45554 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
45555 (database_pers_head): Add extra_data fileds.
45556 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
45557 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
45558 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
45559 Adjust caller.
45560 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
45561 in6ai data, call __free_in6ai.
45562 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
45563 Add -DHAVE_NETLINK.
45564 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
45565 interface information. Reuse previous data if netlink timestamp
45566 is not changed.
45567 (__bump_nl_timestamp): New function.
45568 (__free_in6ai): New function.
45569
636064eb
UD
455702011-10-30 Ulrich Drepper <drepper@gmail.com>
45571
45572 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
45573 close_not_cancel_no_status here.
45574 (__check_pf): Reorganize code a bit to not call close twice if OOM.
45575
9beb2334
UD
455762011-10-29 Ulrich Drepper <drepper@gmail.com>
45577
6ef76f3b
UD
45578 [BZ #13276]
45579 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
45580 return value.
45581
0ffc4f3e 45582 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
45583 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
45584 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
45585
cb95113e
UD
455862011-07-03 Andreas Jaeger <aj@suse.de>
45587
45588 [BZ #10709]
45589 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
45590 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
45591 * math/libm-test.inc (sin_test): Add test case.
45592
a1b560ff
UD
455932011-10-29 Ulrich Drepper <drepper@gmail.com>
45594
c9aaface
UD
45595 [BZ #13337]
45596 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
45597 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
45598
d272e7f1
UD
45599 * elf/chroot_canon.c (chroot_canon): Cleanups.
45600
1bc33071
UD
45601 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
45602
1760874d
TJ
45603 [BZ #13335]
45604 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
45605 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
45606
51d91b18
UD
45607 * string/test-strchr.c: Make usable for strchrnul testing.
45608 * string/test-strchrnul.c: New file.
45609 * string/Makefile (strop-tests): Add strchrnul.
45610
a1b560ff 45611 * po/it.po: Update from translation team.
b611fb81 45612 * po/es.po: Likewise.
a1b560ff 45613
a5b81e1f
UD
456142011-10-28 Ulrich Drepper <drepper@gmail.com>
45615
fd52bc6d
UD
45616 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
45617 the three constants needed as parameters. Drop the others.
45618 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
45619 __m128i_strloadu_tolower.
52e4b9eb
UD
45620 Create and initialize variable zero and use it in all the places
45621 where _mm_setzero_si128 was used.
fd52bc6d 45622
a5b81e1f
UD
45623 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
45624 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
45625 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
45626 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
45627 anymore.
45628 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
45629 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
45630 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
45631 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
45632 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
45633 __mpranred, __mptan.
45634 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
45635 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
45636 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
45637 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
45638 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
45639 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
45640 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
45641 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
45642 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
45643
b4343346
AS
456442011-10-28 Andreas Schwab <schwab@redhat.com>
45645
0c92d8a8
AS
45646 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
45647 redefine if SHARED.
45648 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
45649
b4343346
AS
45650 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
45651 wide char related routines to wcsmbs subdir.
45652
3871f58f
AS
456532011-10-27 Andreas Schwab <schwab@redhat.com>
45654
45655 [BZ #13344]
45656 * misc/sys/cdefs.h (__THROWNL): Define.
45657 * posix/unistd.h: Use __THREADNL instead of __THREAD
45658 for memory synchronization functions.
45659
94d44d9f
RM
456602011-10-26 Roland McGrath <roland@hack.frob.com>
45661
21b64b15 45662 [BZ #13349]
94d44d9f
RM
45663 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
45664 doesn't exist.
45665 * manual/stdio.texi (Obstack Streams): Node removed.
45666
f6ce9294
AS
456672011-10-26 Andreas Schwab <schwab@redhat.com>
45668
80479147
AS
45669 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
45670 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
45671 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
45672
f6ce9294
AS
45673 * math/math_private.h (math_force_eval): Allow non-addressable
45674 arguments.
45675 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
45676
618280a1
UD
456772011-10-25 Ulrich Drepper <drepper@gmail.com>
45678
e0016b11
UD
45679 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
45680 file is not needed.
45681
45682 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
45683 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
45684 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
45685 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
45686 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
45687 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
45688 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
45689 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
45690 Add AVX variants.
45691 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
45692 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
45693 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
45694 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
45695 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
45696 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
45697 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
45698 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
45699 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
45700 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
45701 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
45702 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
45703 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
45704 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
45705 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
45706 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
45707 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
45708 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
45709 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
45710
45711 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
45712 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
45713
618280a1
UD
45714 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
45715 place. Use VEX encoding when compiling for AVX.
45716
37822576
AS
457172011-10-25 Andreas Schwab <schwab@redhat.com>
45718
1f1e1947
AS
45719 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
45720 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
45721
37822576
AS
45722 * string/test-strchr.c (do_test): Don't generate NUL bytes.
45723
31ea014d
UD
457242011-10-25 Ulrich Drepper <drepper@gmail.com>
45725
d7826aa1 45726 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 45727 useless if() expression.
d7826aa1
UD
45728 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
45729 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
45730 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
45731 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
45732 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
45733 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
45734 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
45735 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
45736 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
45737 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
45738 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
45739 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
45740 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
45741 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
45742 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
45743 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
45744 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
45745 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
45746 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
45747
31ea014d
UD
45748 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
45749
16437fec
AS
457502011-10-25 Andreas Schwab <schwab@redhat.com>
45751
45752 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
45753 condition.
45754 * elf/dl-fini.c (_dl_sort_fini): Likewise.
45755
31d3cc00
UD
457562011-10-25 Ulrich Drepper <drepper@gmail.com>
45757
45758 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
45759 .text section. Avoid duplicate constants.
45760 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
45761 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
45762 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
45763 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
45764 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
45765 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
45766 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
45767 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
45768 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
45769 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
45770 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
45771 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
45772 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
45773 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
45774 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
45775 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
45776 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
45777 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
45778 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
45779 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
45780 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
45781 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
45782 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
45783 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
45784 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
45785 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
45786 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
45787 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
45788 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
45789 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
45790 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
45791 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
45792 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
45793 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
45794 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
45795 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
45796 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
45797 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
45798 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
45799 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
45800 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
45801 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
45802 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
45803 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
45804 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
45805
58985aa9
UD
458062011-10-24 Ulrich Drepper <drepper@gmail.com>
45807
202c9deb
UD
45808 * sysdeps/x86_64/dla.h: Move to ...
45809 * sysdeps/x86_64/fpu/dla.h: ...here.
45810 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
45811 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 45812
af968f62
UD
45813 * config.make.in: Add have-mfma4 entry.
45814 * configure.in: Substitute libc_cv_cc_fma4.
45815 * math/Makefile (dbl-only-routines): Add sincostab.
45816 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
45817 Use __sincostab not sincos.
45818 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
45819 name is a macro.
45820 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
45821 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
45822 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
45823 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
45824 using __copysign.
45825 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
45826 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
45827 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
45828 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
45829 and __inv.
45830 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
45831 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
45832 __copysign.
45833 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
45834 define aliases when function name is a macro.
45835 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
45836 sysdeps/ieee754/dbl-64/sincos.tbl.
45837 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
45838 fma4-enabled routines.
45839 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
45840 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
45841 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
45842 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
45843 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
45844 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
45845 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
45846 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
45847 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
45848 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
45849 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
45850 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
45851 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
45852 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
45853 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
45854 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
45855 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
45856 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
45857 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
45858 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
45859 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
45860 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
45861 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
45862 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
45863 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
45864 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
45865 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
45866 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
45867 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
45868 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
45869
58985aa9
UD
45870 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
45871 rename.
45872 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
45873 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
45874 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
45875 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
45876 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
45877 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
45878 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
45879 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
45880
a201fbcf
AS
458812011-10-24 Andreas Schwab <schwab@redhat.com>
45882
45883 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
45884
fc2ee42a
LD
458852011-10-23 Ulrich Drepper <drepper@gmail.com>
45886
bb3129bd
UD
45887 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
45888
0275fff8
UD
45889 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
45890 prediction.
45891 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
45892
2fa2ae85
UD
45893 * string/strnlen.c: Don't define STRNLEN, reverse logic.
45894 Remove unused variable magic_bits.
45895 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
45896
fc2ee42a
LD
45897 * string/strnlen.c: Define and use STRNLEN macro.
45898 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
45899 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
45900 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
45901 * wcsmbs/wcslen.c: Define and use WCSLEN.
45902 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
45903 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
45904 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
45905 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
45906 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
45907 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
45908 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
45909
ce7dd29f
LD
459102011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
45911
45912 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
45913 strnlen-sse2-no-bsf.
45914 Rename strlen-no-bsf to strlen-sse2-no-bsf.
45915 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
45916 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
45917 Add strnlen support.
45918 (USE_AS_STRNLEN): New macro.
45919 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
45920 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
45921 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
45922 * sysdeps/x86_64/wcslen.S: New file.
45923
979c70a3
MZ
459242011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
45925
45926 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
45927 XMM-moves are used for copying on small sizes.
45928
2d09f82f
LD
459292011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
45930
45931 * wcsmbs/Makefile (strop-tests): Add wcschr.
45932 * wcsmbs/test-wcschr.c: New file.
45933 * string/test-strchr.c: Update.
45934 Add wcschr support.
45935 (WIDE): New macro.
45936
619fccca
LD
459372011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
45938
2d09f82f 45939 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
45940 * wcsmbs/test-wcslen.c: New file.
45941 * string/test-strlen.c: Update.
45942 Add wcslen support.
45943 (WIDE): New macro.
45944
09f699ea
UD
459452011-10-23 Ulrich Drepper <drepper@gmail.com>
45946
45947 * po/it.po: Update from translation team.
45948
95584d3b
LD
459492011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
45950
45951 * sysdeps/x86_64/wcscmp.S: Update.
45952 Fix wrong comparison semantics.
45953 wcscmp shall use signed comparison not unsigned.
45954 Don't use substraction to avoid overflow bug.
45955 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
45956 * wcsmbc/wcscmp.c: Likewise.
45957 * string/test-strcmp.c: Likewise.
45958 Add new tests to check cases with negative values.
45959
c8b3296b
UD
459602011-10-23 Ulrich Drepper <drepper@gmail.com>
45961
45962 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
45963 * sysdeps/x86_64/dla.h: ...here. New file.
45964 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
45965 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
45966 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
45967 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
45968 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
45969 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
45970 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
45971 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
45972 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
45973
246ad57a
AS
459742011-10-23 Andreas Schwab <schwab@linux-m68k.org>
45975
45976 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
45977 __ynl_finite aliases.
45978
a1a87169
UD
459792011-10-22 Ulrich Drepper <drepper@gmail.com>
45980
0d355eb7
UD
45981 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
45982
a1a87169
UD
45983 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
45984 define DLA_FMA.
45985 [DLA_FMA] (EMULV): Use DLA_FMA.
45986 [DLA_FMA] (MUL12): Use EMULV.
45987 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
45988 that are not needed.
45989 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
45990 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
45991 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
45992 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
45993 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
45994 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
45995 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
45996
ee2aafe0
AS
459972011-10-22 Andreas Schwab <schwab@linux-m68k.org>
45998
45999 * math/s_nan.c: Undef __nan.
46000 * math/s_nanf.c: Undef __nanf.
46001 * math/s_nanl.c: Undef __nanl.
46002 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
46003 "math_private.h".
46004
bc62c2fb
UD
460052011-10-22 Ulrich Drepper <drepper@gmail.com>
46006
77425c63
UD
46007 * math/s_catan.c: Add branch predictions.
46008 * math/s_catanf.c: Likewise.
46009 * math/s_catanh.c: Likewise.
46010 * math/s_catanhf.c: Likewise.
46011 * math/s_catanhl.c: Likewise.
46012 * math/s_catanl.c: Likewise.
46013 * math/s_cexp.c: Likewise.
46014 * math/s_cexpf.c: Likewise.
46015 * math/s_cexpl.c: Likewise.
46016 * math/s_clog.c: Likewise.
46017 * math/s_clog10.c: Likewise.
46018 * math/s_clog10f.c: Likewise.
46019 * math/s_clog10l.c: Likewise.
46020 * math/s_clogf.c: Likewise.
46021 * math/s_clogl.c: Likewise.
46022 * math/s_csqrt.c: Likewise.
46023 * math/s_csqrtf.c: Likewise.
46024 * math/s_csqrtl.c: Likewise.
46025 * math/s_ctanf.c: Likewise.
46026 * math/s_ctanh.c: Likewise.
46027 * math/s_ctanhf.c: Likewise.
46028 * math/s_ctanhl.c: Likewise.
46029 * math/s_ctanl.c: Likewise.
46030
bc62c2fb
UD
46031 * math/math_private.h: Define __nan, __nanf, __nanl.
46032 * math/s_cacosh.c: Include <math_private.h>.
46033 * math/s_cacoshl.c: Likewise.
46034 * math/s_casinh.c: Likewise.
46035 * math/s_casinhf.c: Likewise.
46036 * math/s_casinhl.c: Likewise.
46037 * math/s_ccos.c: Rely entire on ccosh.
46038 * math/s_ccosf.c: Rely entire on ccoshf.
46039 * math/s_ccosl.c: Rely entirely on ccoshl.
46040 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
46041 Remove tests for FE_INVALID.
46042 * math/s_ccoshf.c: Likewise.
46043 * math/s_ccoshl.c: Likewise.
46044 * math/s_csin.c: Likewise.
46045 * math/s_csinf.c: Likewise.
46046 * math/s_csinh.c Likewise.
46047 * math/s_csinhf.c: Likewise.
46048 * math/s_csinhl.c: Likewise.
46049 * math/s_csinl.c: Likewise.
46050 * math/s_ctan.c: Likewise.
46051 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
46052 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
46053 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
46054
8ec250a4
UD
460552011-10-21 Ulrich Drepper <drepper@gmail.com>
46056
c196fed8
UD
46057 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
46058 compilation problems.
46059
8ec250a4
UD
46060 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
46061 __builtin_expect.
46062
8d4f46c6
UD
460632011-10-20 Ulrich Drepper <drepper@gmail.com>
46064
ed72b654
UD
46065 * sysdeps/i386/configure.in: Test for -mfma4 option.
46066 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
46067 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
46068 COMMON_CPUID_INDEX_80000001.
46069 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
46070 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
46071 use it if FMA3 is not supported.
46072 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
46073
8d4f46c6
UD
46074 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
46075 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
46076
d45c60c2
AS
460772011-10-20 Andreas Schwab <schwab@redhat.com>
46078
46079 [BZ #12892]
46080 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
46081 it would create a cycle with a link time dependency.
46082
d9a4d2ab
UD
460832011-10-19 Ulrich Drepper <drepper@gmail.com>
46084
855d1560
UD
46085 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
46086 instruction.
46087 * string/Makefile (strop-tests): Add rawmemchr.
46088 * string/test-rawmemchr.c: New file.
46089
d9a4d2ab
UD
46090 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
46091 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
46092 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
46093 when compiling str{,n}casecmp and when AVX is available. Hook up
46094 new optimized code in initializers.
46095
8f3b1ffe
AS
460962011-10-19 Andreas Schwab <schwab@redhat.com>
46097
46098 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
46099 __feraiseexcept instead of feraiseexcept.
46100
d38f1dba
UD
461012011-10-18 Ulrich Drepper <drepper@gmail.com>
46102
d9a8d0ab
UD
46103 * math/math_private.h: Define defaults for libc_fetestexcept and
46104 libc_feupdateenv.
46105 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
46106 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
46107 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
46108 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
46109 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
46110 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
46111 libc_fetestexcept and libc_feupdateenv.
46112
4855e3dd
UD
46113 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
46114 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
46115 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
46116 * sysdeps/x86_64/fpu/math_private.h: Define special version of
46117 libc_feholdexcept_setround.
46118
581d30e3
UD
46119 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
46120 Add s_nearbyint-c and s_nearbyintf-c.
46121 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
46122 nearbyintf inlines.
46123 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
46124 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
46125 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
46126 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
46127
d38f1dba
UD
46128 * math/math_private.h: Define defaults for libc_fegetround,
46129 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
46130 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
46131 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
46132 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
46133 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
46134 standard functions.
46135 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
46136 Remove comments and hacks for old compiler versions.
46137 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
46138 libc_fegetround, libc_fesetround, libc_feholdexcept, and
46139 libc_feholdexceptl.
46140
caa6c9d8
AS
461412011-10-18 Andreas Schwab <schwab@redhat.com>
46142
46143 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
46144 (__feraiseexcept_renamed): Add __NTH.
46145 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
46146 namespace violations.
46147
97c066e6
UD
461482011-10-17 Ulrich Drepper <drepper@gmail.com>
46149
99ce7b04
UD
46150 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
46151
1004d182
UD
46152 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
46153
228a984d
UD
46154 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
46155 recently added interfaces.
46156 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
46157
c8553a6a
UD
46158 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
46159 about macro parameter expansion.
46160
ed22dcf6
UD
46161 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
46162 __NO_MATH_INLINES is defined. Cleanups.
46163
46164 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
46165 and __floorf is target has SSE4.1.
46166 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
46167 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
46168 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
46169 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
46170
b171c137
UD
46171 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
46172 name.
46173 (floorf): Likewise.
46174
97c066e6
UD
46175 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
46176
629f62ef
AS
461772011-10-17 Andreas Schwab <schwab@redhat.com>
46178
49a43d80
AS
46179 * misc/sys/cdefs.h: Fix last change.
46180
629f62ef
AS
46181 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
46182 database lookup.
46183
e453f6cd
UD
461842011-10-16 Ulrich Drepper <drepper@gmail.com>
46185
aa78043a
UD
46186 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
46187
ad0f5cad
UD
46188 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
46189 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
46190 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
46191 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
46192 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
46193 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
46194 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
46195 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
46196 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
46197 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
46198 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
46199 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
46200 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
46201 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
46202 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
46203 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
46204 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
46205 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
46206 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
46207 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
46208 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
46209 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
46210
46211 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
46212 ceil, ceilf, floor, floorf.
46213
46214 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
46215 Perform IRELATIVE relocations last.
46216
e453f6cd
UD
46217 * elf/do-rel.h: Add another parameter nrelative, replacing the
46218 local variable with the same name. Change name of the function
46219 to end in Rel or Rela (uppercase).
46220 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
46221 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
46222 elf_dynamic_do_##reloc function.
46223
fd5bdc09
UD
462242011-10-15 Ulrich Drepper <drepper@gmail.com>
46225
79b195b5
UD
46226 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
46227 is sufficient, at least on modern CPUs.
46228
d4a28569
UD
46229 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
46230
b61099b5
UD
46231 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
46232 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
46233
bcf01e6d
UD
46234 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
46235 __expl_finite.
46236 * math/bits/math-finite.h: Add entries for exp.
46237 * math/e_expl.c: Add __*_finite alias.
46238 * sysdeps/i386/fpu/e_exp.S: Likewise.
46239 * sysdeps/i386/fpu/e_expf.S: Likewise.
46240 * sysdeps/i386/fpu/e_expl.c: Likewise.
46241 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
46242 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
46243 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
46244 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
46245 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
46246 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
46247 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
46248
ba1a0d59
UD
46249 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
46250 is sufficient, at least on modern CPUs.
46251
fd5bdc09
UD
46252 * ctype/ctype-info.c (__ctype_init): Define.
46253 * include/ctype.h (__ctype_init): Declare.
46254 (__ctype_b_loc): The variable is always initialized.
46255 (__ctype_toupper_loc): Likewise.
46256 (__ctype_tolower_loc): Likewise.
46257 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
46258 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
46259
7872cfb0
AS
462602011-10-15 Andreas Schwab <schwab@linux-m68k.org>
46261
b468825a
AS
46262 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
46263
7872cfb0
AS
46264 * configure.in: Also look in $cxxmachine/include for C++ system
46265 headers.
46266
be13f7bf
LD
462672011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
46268
46269 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
46270 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
46271 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
46272 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
46273 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
46274 (USE_AS_WMEMCMP): New macro.
46275 Fixing indents.
46276 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
46277 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
46278 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
46279 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
46280 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
46281 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
46282 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
46283 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
46284 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
46285 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
46286 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
46287 (USE_AS_WMEMCMP): New macro.
46288 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
46289 * sysdeps/string/test-memcmp.c: Update.
46290 Fix simple_wmemcmp.
46291 Add new tests.
46292 * wcsmbs/wmemcmp.c: Update.
46293 (WMEMCMP): New macro.
46294 Fix overflow bug.
46295
556a2007
AJ
462962011-10-12 Andreas Jaeger <aj@suse.de>
46297
46298 [BZ #13268]
46299 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
46300
538faaa7
UD
463012011-10-15 Ulrich Drepper <drepper@gmail.com>
46302
ab6737ff
UD
46303 * libio/iofwide.c (do_length): Avoid warning.
46304
538faaa7
UD
46305 * ctype/ctype.h (__isctype_f): Add missing __THROW.
46306
396a21b1
UD
463072011-10-14 Ulrich Drepper <drepper@gmail.com>
46308
cdf2901f
UD
46309 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
46310
38ad40ce
UD
46311 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
46312 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
46313 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
46314 * sysdeps/i386/i686/fpu/e_log.S: New file.
46315 * sysdeps/i386/i686/fpu/e_logf.S: New file.
46316 * sysdeps/i386/i686/fpu/e_logl.S: New file.
46317
396a21b1
UD
46318 * ctype/ctype.h: Add support for inlined isXXX functions when
46319 compiling C++ code.
46320
6b1f68c9
AS
463212011-10-14 Andreas Schwab <schwab@redhat.com>
46322
349290c0
AS
46323 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
46324
6b1f68c9
AS
46325 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
46326
f2282d42
RM
463272011-10-13 Roland McGrath <roland@hack.frob.com>
46328
46329 [BZ #13291]
46330 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
46331
5298ffa8
AS
463322011-10-13 Andreas Schwab <schwab@redhat.com>
46333
714fad23
AS
46334 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
46335 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
46336 feraiseexcept.
46337
81dcc7fb
AS
46338 * sysdeps/x86_64/memrchr.S: Check for zero size.
46339
5298ffa8
AS
46340 * string/stratcliff.c: Add memrchr tests.
46341
951fbcec
LD
463422011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
46343
46344 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
46345 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
46346 rawmemchr-sse2 rawmemchr-sse2-bsf.
46347 * sysdeps/i386/i686/multiarch/memchr.S: New file.
46348 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
46349 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
46350 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
46351 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
46352 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
46353 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
46354 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
46355 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
46356 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
46357 * string/memrchr.c (MEMRCHR): New macro.
46358
0ac5ae23
UD
463592011-10-12 Ulrich Drepper <drepper@gmail.com>
46360
46361 Add integration with gcc's -ffinite-math-only and optimize wrapper
46362 functions in libm.
46363 * Versions.def: Define GLIBC_2.15 version for libm.
46364 * math/Makefile (headers): Add bits/math-finite.h.
46365 * math/bits/math-finite.h: New file.
46366 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
46367 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
46368 * math/e_acoshl.c: Add __*_finite alias.
46369 * math/e_acosl.c: Likewise.
46370 * math/e_asinl.c: Likewise.
46371 * math/e_atan2l.c: Likewise.
46372 * math/e_atanhl.c: Likewise.
46373 * math/e_coshl.c: Likewise.
46374 * math/e_exp10.c: Likewise.
46375 * math/e_exp10f.c: Likewise.
46376 * math/e_exp10l.c: Likewise.
46377 * math/e_exp2l.c: Likewise.
46378 * math/e_fmodl.c: Likewise.
46379 * math/e_gammal_r.c: Likewise.
46380 * math/e_hypotl.c: Likewise.
46381 * math/e_j0l.c: Likewise.
46382 * math/e_j1l.c: Likewise.
46383 * math/e_jnl.c: Likewise.
46384 * math/e_lgammal_r.c: Likewise.
46385 * math/e_log10l.c: Likewise.
46386 * math/e_log2l.c: Likewise.
46387 * math/e_logl.c: Likewise.
46388 * math/e_powl.c: Likewise.
46389 * math/e_sinhl.c: Likewise.
46390 * math/e_sqrtl.c: Likewise.
46391 * math/e_scalb.c: Completely rewritten and optimized.
46392 * math/e_scalbf.c: Likewise.
46393 * math/e_scalbl.c: Likewise.
46394 * math/w_acos.c: Likewise.
46395 * math/w_acosf.c: Likewise.
46396 * math/w_acosl.c: Likewise.
46397 * math/w_acosh.c: Likewise.
46398 * math/w_acoshf.c: Likewise.
46399 * math/w_acoshl.c: Likewise.
46400 * math/w_asin.c: Likewise.
46401 * math/w_asinf.c: Likewise.
46402 * math/w_asinl.c: Likewise.
46403 * math/w_atan2.c: Likewise.
46404 * math/w_atan2f.c: Likewise.
46405 * math/w_atan2l.c: Likewise.
46406 * math/w_atanh.c: Likewise.
46407 * math/w_atanhf.c: Likewise.
46408 * math/w_atanhl.c: Likewise.
46409 * math/w_exp10.c: Likewise.
46410 * math/w_exp10f.c: Likewise.
46411 * math/w_exp10l.c: Likewise.
46412 * math/w_fmod.c: Likewise.
46413 * math/w_fmodf.c: Likewise.
46414 * math/w_fmodl.c: Likewise.
46415 * math/w_j0.c: Likewise.
46416 * math/w_j0f.c: Likewise.
46417 * math/w_j0l.c: Likewise.
46418 * math/w_j1.c: Likewise.
46419 * math/w_j1f.c: Likewise.
46420 * math/w_j1l.c: Likewise.
46421 * math/w_jn.c: Likewise.
46422 * math/w_jnf.c: Likewise.
46423 * math/w_log.c: Likewise.
46424 * math/w_logf.c: Likewise.
46425 * math/w_logl.c: Likewise.
46426 * math/w_log10.c: Likewise.
46427 * math/w_log10f.c: Likewise.
46428 * math/w_log10l.c: Likewise.
46429 * math/w_log2.c: Likewise.
46430 * math/w_log2f.c: Likewise.
46431 * math/w_log2l.c: Likewise.
46432 * math/w_pow.c: Likewise.
46433 * math/w_powf.c: Likewise.
46434 * math/w_powl.c: Likewise.
46435 * math/w_remainder.c: Likewise.
46436 * math/w_remainderf.c: Likewise.
46437 * math/w_remainderl.c: Likewise.
46438 * math/w_scalb.c: Likewise.
46439 * math/w_scalbf.c: Likewise.
46440 * math/w_scalbl.c: Likewise.
46441 * math/w_sqrt.c: Likewise.
46442 * math/w_sqrtf.c: Likewise.
46443 * math/w_sqrtl.c: Likewise.
46444 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
46445 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
46446 used.
46447 * math/math_private.h: Declare __kernel_standard_f.
46448 * math/w_cosh.c: Remove cruft and optimize a bit.
46449 * math/w_coshf.c: Likewise.
46450 * math/w_coshl.c: Likewise.
46451 * math/w_exp2.c: Likewise.
46452 * math/w_exp2f.c: Likewise.
46453 * math/w_exp2l.c: Likewise.
46454 * math/w_hypot.c: Likewise.
46455 * math/w_hypotf.c: Likewise.
46456 * math/w_hypotl.c: Likewise.
46457 * math/w_lgamma.c: Likewise.
46458 * math/w_lgamma_r.c: Likewise.
46459 * math/w_lgammaf.c: Likewise.
46460 * math/w_lgammaf_r.c: Likewise.
46461 * math/w_lgammal.c: Likewise.
46462 * math/w_lgammal_r.c: Likewise.
46463 * math/w_sinh.c: Likewise.
46464 * math/w_sinhf.c: Likewise.
46465 * math/w_sinhl.c: Likewise.
46466 * math/w_tgamma.c: Likewise.
46467 * math/w_tgammaf.c: Likewise.
46468 * math/w_tgammal.c: Likewise.
46469 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
46470 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
46471 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
46472 Minor optimizations. Pretty printing. Remove cruft.
46473 * sysdeps/i386/fpu/e_acosf.S: Likewise.
46474 * sysdeps/i386/fpu/e_acosh.S: Likewise.
46475 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
46476 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
46477 * sysdeps/i386/fpu/e_acosl.c: Likewise.
46478 * sysdeps/i386/fpu/e_asin.S: Likewise.
46479 * sysdeps/i386/fpu/e_asinf.S: Likewise.
46480 * sysdeps/i386/fpu/e_atan2.S: Likewise.
46481 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
46482 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
46483 * sysdeps/i386/fpu/e_atanh.S: Likewise.
46484 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
46485 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
46486 * sysdeps/i386/fpu/e_exp10.S: Likewise.
46487 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
46488 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
46489 * sysdeps/i386/fpu/e_exp2.S: Likewise.
46490 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
46491 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
46492 * sysdeps/i386/fpu/e_fmod.S: Likewise.
46493 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
46494 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
46495 * sysdeps/i386/fpu/e_hypot.S: Likewise.
46496 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
46497 * sysdeps/i386/fpu/e_log.S: Likewise.
46498 * sysdeps/i386/fpu/e_log10.S: Likewise.
46499 * sysdeps/i386/fpu/e_log10f.S: Likewise.
46500 * sysdeps/i386/fpu/e_log10l.S: Likewise.
46501 * sysdeps/i386/fpu/e_log2.S: Likewise.
46502 * sysdeps/i386/fpu/e_log2f.S: Likewise.
46503 * sysdeps/i386/fpu/e_log2l.S: Likewise.
46504 * sysdeps/i386/fpu/e_logf.S: Likewise.
46505 * sysdeps/i386/fpu/e_logl.S: Likewise.
46506 * sysdeps/i386/fpu/e_pow.S: Likewise.
46507 * sysdeps/i386/fpu/e_powf.S: Likewise.
46508 * sysdeps/i386/fpu/e_powl.S: Likewise.
46509 * sysdeps/i386/fpu/e_remainder.S: Likewise.
46510 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
46511 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
46512 * sysdeps/i386/fpu/e_scalb.S: Likewise.
46513 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
46514 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
46515 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
46516 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
46517 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
46518 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
46519 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
46520 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
46521 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
46522 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
46523 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
46524 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
46525 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
46526 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
46527 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
46528 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
46529 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
46530 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
46531 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
46532 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
46533 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
46534 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
46535 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
46536 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
46537 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
46538 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
46539 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
46540 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
46541 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
46542 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
46543 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
46544 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
46545 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
46546 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
46547 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
46548 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
46549 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
46550 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
46551 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
46552 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
46553 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
46554 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
46555 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
46556 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
46557 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
46558 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
46559 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
46560 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
46561 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
46562 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
46563 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
46564 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
46565 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
46566 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
46567 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
46568 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
46569 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
46570 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
46571 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
46572 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
46573 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
46574 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
46575 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
46576 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
46577 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
46578 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
46579 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
46580 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
46581 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
46582 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
46583 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
46584 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
46585 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
46586 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
46587 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
46588 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
46589 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
46590 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
46591 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
46592 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
46593 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
46594 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
46595 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
46596 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
46597 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
46598 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
46599 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
46600 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
46601 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
46602 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
46603 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
46604 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
46605 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
46606 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
46607 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
46608 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
46609 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
46610 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
46611 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
46612 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
46613 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
46614 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
46615 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
46616 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
46617 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
46618 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
46619 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
46620 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
46621 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
46622 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
46623 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
46624 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
46625 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
46626 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
46627 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
46628 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
46629 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
46630 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
46631 (__isnanf): Likewise.
46632 (__isinf_ns): Likewise.
46633 (__isinf_nsf): Likewise.
46634 (__finite): Likewise.
46635 (__finitef): Likewise.
46636 (__ieee754_sqrt): Define as macro.
46637 (__ieee754_sqrtf): Define as macro.
46638 (__ieee754_sqrtl): Define as macro.
46639 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
46640 inlined copy.
46641 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
46642 __FINITE_MATH_ONLY__ consistent.
46643 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
46644
12cc2fcd
AS
466452011-10-10 Andreas Schwab <schwab@linux-m68k.org>
46646
a843a204
AS
46647 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
46648 of rawmemchr.
46649
12cc2fcd
AS
46650 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
46651
c853acd5
UD
466522011-10-09 Ulrich Drepper <drepper@gmail.com>
46653
46654 * po/ja.po: Update from translation team.
46655
c658d255
RM
466562011-10-08 Roland McGrath <roland@hack.frob.com>
46657
110946e4
RM
46658 * locale/programs/locarchive.c (prepare_address_space): New function.
46659 (create_archive, enlarge_archive, open_archive): Use it.
46660
50604220
RM
46661 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
46662 inside [SHARED], where it is used.
46663
c658d255
RM
46664 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
46665
46666 * nss/getent.c (netgroup_keys): Remove unused variable.
46667 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
46668
6a621eb7
UD
466692011-10-08 Ulrich Drepper <drepper@gmail.com>
46670
7edb55ce
UD
46671 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
46672 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
46673 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
46674 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
46675 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
46676 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
46677 * math/Makefile (libm-calls): Add s_isinf_ns.
46678 * math/divtc3.c: Use __isinf_nsl instead of isinf.
46679 * math/multc3.c: Likewise.
46680 * math/s_casin.c: Likewise.
46681 * math/s_casinf.c: Likewise.
46682 * math/s_casinl.c: Likewise.
46683 * math/s_ccos.c: Likewise.
46684 * math/s_ccosf.c: Likewise.
46685 * math/s_ccosl.c: Likewise.
46686 * math/s_ctan.c: Likewise.
46687 * math/s_ctanf.c: Likewise.
46688 * math/s_ctanh.c: Likewise.
46689 * math/s_ctanhf.c: Likewise.
46690 * math/s_ctanhl.c: Likewise.
46691 * math/s_ctanl.c: Likewise.
46692 * math/w_fmod.c: Likewise.
46693 * math/w_fmodf.c: Likewise.
46694 * math/w_fmodl.c: Likewise.
46695 * math/w_remainder.c: Likewise.
46696 * math/w_remainderf.c: Likewise.
46697 * math/w_remainderl.c: Likewise.
46698 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
46699 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
46700 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
46701 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
46702 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
46703 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
46704 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
46705 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
46706
187da0ae
UD
46707 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
46708 of the number.
46709 * stdio-common/printf_fphex.c: Likewise.
46710 * stdio-common/printf_size.c: Likewise.
46711
9277c064
UD
46712 * math/e_exp10.c: Include math_private.h using <...> not "...".
46713 * math/e_exp10f.c: Likewise.
46714 * math/e_exp10l.c: Likewise.
46715 * math/e_exp2l.c: Likewise.
46716 * math/e_j0l.c: Likewise.
46717 * math/e_j1l.c: Likewise.
46718 * math/e_jnl.c: Likewise.
46719 * math/e_lgammal_r.c: Likewise.
46720 * math/e_rem_pio2l.c: Likewise.
46721 * math/e_scalb.c: Likewise.
46722 * math/e_scalbf.c: Likewise.
46723 * math/e_scalbl.c: Likewise.
46724 * math/k_cosl.c: Likewise.
46725 * math/k_sinl.c: Likewise.
46726 * math/k_tanl.c: Likewise.
46727 * math/s_cacoshf.c: Likewise.
46728 * math/s_catan.c: Likewise.
46729 * math/s_catanf.c: Likewise.
46730 * math/s_catanh.c: Likewise.
46731 * math/s_catanhf.c: Likewise.
46732 * math/s_catanhl.c: Likewise.
46733 * math/s_catanl.c: Likewise.
46734 * math/s_ccosh.c: Likewise.
46735 * math/s_ccoshf.c: Likewise.
46736 * math/s_ccoshl.c: Likewise.
46737 * math/s_cexp.c: Likewise.
46738 * math/s_cexpf.c: Likewise.
46739 * math/s_cexpl.c: Likewise.
46740 * math/s_clog.c: Likewise.
46741 * math/s_clog10.c: Likewise.
46742 * math/s_clog10f.c: Likewise.
46743 * math/s_clog10l.c: Likewise.
46744 * math/s_clogf.c: Likewise.
46745 * math/s_clogl.c: Likewise.
46746 * math/s_csin.c: Likewise.
46747 * math/s_csinf.c: Likewise.
46748 * math/s_csinh.c: Likewise.
46749 * math/s_csinhf.c: Likewise.
46750 * math/s_csinhl.c: Likewise.
46751 * math/s_csinl.c: Likewise.
46752 * math/s_csqrt.c: Likewise.
46753 * math/s_csqrtf.c: Likewise.
46754 * math/s_csqrtl.c: Likewise.
46755 * math/s_ctan.c: Likewise.
46756 * math/s_ctanf.c: Likewise.
46757 * math/s_ctanh.c: Likewise.
46758 * math/s_ctanhf.c: Likewise.
46759 * math/s_ctanhl.c: Likewise.
46760 * math/s_ctanl.c: Likewise.
46761 * math/s_ldexp.c: Likewise.
46762 * math/s_ldexpf.c: Likewise.
46763 * math/s_ldexpl.c: Likewise.
46764 * math/s_significand.c: Likewise.
46765 * math/s_significandf.c: Likewise.
46766 * math/s_significandl.c: Likewise.
46767 * math/w_acos.c: Likewise.
46768 * math/w_acosf.c: Likewise.
46769 * math/w_acosh.c: Likewise.
46770 * math/w_acoshf.c: Likewise.
46771 * math/w_acoshl.c: Likewise.
46772 * math/w_acosl.c: Likewise.
46773 * math/w_asin.c: Likewise.
46774 * math/w_asinf.c: Likewise.
46775 * math/w_asinl.c: Likewise.
46776 * math/w_atan2.c: Likewise.
46777 * math/w_atan2f.c: Likewise.
46778 * math/w_atan2l.c: Likewise.
46779 * math/w_atanh.c: Likewise.
46780 * math/w_atanhf.c: Likewise.
46781 * math/w_atanhl.c: Likewise.
46782 * math/w_cosh.c: Likewise.
46783 * math/w_coshf.c: Likewise.
46784 * math/w_coshl.c: Likewise.
46785 * math/w_dremf.c: Likewise.
46786 * math/w_exp10.c: Likewise.
46787 * math/w_exp10f.c: Likewise.
46788 * math/w_exp10l.c: Likewise.
46789 * math/w_exp2.c: Likewise.
46790 * math/w_exp2f.c: Likewise.
46791 * math/w_fmod.c: Likewise.
46792 * math/w_fmodf.c: Likewise.
46793 * math/w_fmodl.c: Likewise.
46794 * math/w_hypot.c: Likewise.
46795 * math/w_hypotf.c: Likewise.
46796 * math/w_hypotl.c: Likewise.
46797 * math/w_j0.c: Likewise.
46798 * math/w_j0f.c: Likewise.
46799 * math/w_j0l.c: Likewise.
46800 * math/w_j1.c: Likewise.
46801 * math/w_j1f.c: Likewise.
46802 * math/w_j1l.c: Likewise.
46803 * math/w_jn.c: Likewise.
46804 * math/w_jnf.c: Likewise.
46805 * math/w_jnl.c: Likewise.
46806 * math/w_lgamma.c: Likewise.
46807 * math/w_lgamma_r.c: Likewise.
46808 * math/w_lgammaf.c: Likewise.
46809 * math/w_lgammaf_r.c: Likewise.
46810 * math/w_lgammal.c: Likewise.
46811 * math/w_lgammal_r.c: Likewise.
46812 * math/w_log.c: Likewise.
46813 * math/w_log10.c: Likewise.
46814 * math/w_log10f.c: Likewise.
46815 * math/w_log10l.c: Likewise.
46816 * math/w_log2.c: Likewise.
46817 * math/w_log2f.c: Likewise.
46818 * math/w_log2l.c: Likewise.
46819 * math/w_logf.c: Likewise.
46820 * math/w_logl.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_sinh.c: Likewise.
46831 * math/w_sinhf.c: Likewise.
46832 * math/w_sinhl.c: Likewise.
46833 * math/w_sqrt.c: Likewise.
46834 * math/w_sqrtf.c: Likewise.
46835 * math/w_sqrtl.c: Likewise.
46836 * math/w_tgamma.c: Likewise.
46837 * math/w_tgammaf.c: Likewise.
46838 * math/w_tgammal.c: Likewise.
46839
6a621eb7
UD
46840 * po/ja.po: Update from translation team.
46841
bf582445
AJ
468422011-09-29 Andreas Jaeger <aj@suse.de>
46843
f9efbf3a
AJ
46844 [BZ #13179]
46845 * sunrpc/netname.c (netname2host): Fix logic.
46846
bf582445
AJ
46847 [BZ #6779]
46848 [BZ #6783]
46849 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
46850 correctly.
46851 * math/w_remainder.c (__remainder): Likewise.
46852 * math/w_remainderf.c (__remainderf): Likewise.
46853 * math/libm-test.inc (remainder_test): Add test cases.
46854
48693bea
AK
468552011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
46856
46857 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
46858 sdiv_qrnnd.
46859
42622229
LD
468602011-10-07 Ulrich Drepper <drepper@gmail.com>
46861
46862 * string/test-memcmp.c: Avoid unncessary #defines.
46863 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
46864
093ecf92
LD
468652011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
46866
46867 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
46868 Use new sse2 version for core i3 - i7 as it's faster
46869 than sse42 version.
46870 (bit_Prefer_PMINUB_for_stringop): New.
46871 * sysdeps/x86_64/rawmemchr.S: Update.
46872 Replace with faster SSE2 version.
46873 * sysdeps/x86_64/memrchr.S: New file.
46874 * sysdeps/x86_64/memchr.S: Update.
46875 Replace with faster SSE2 version.
46876
fde56e5c
MP
468772011-09-12 Marek Polacek <mpolacek@redhat.com>
46878
46879 * elf/dl-load.c (lose): Add cast to avoid warning.
46880
21fd49a9
UD
468812011-10-07 Ulrich Drepper <drepper@gmail.com>
46882
5a06e643
UD
46883 * po/ca.po: Update from translation team.
46884
684ae515
UD
46885 * inet/getnetgrent_r.c: Hook up nscd.
46886 * nscd/Makefile (routines): Add nscd_netgroup.
46887 (nscd-modules): Add netgroupcache.
46888 (CFLAGS-netgroupcache.c): Define.
46889 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
46890 (cache_search): Add const to second parameter.
46891 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
46892 INNETGR.
46893 (dbs): Add netgrdb entry.
46894 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
46895 (verify_persistent_db): Handle netgrdb.
46896 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
46897 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
46898 GETFDNETGR.
46899 (netgroup_response_header): Define.
46900 (innetgroup_response_header): Define.
46901 (datahead): Add netgroup_response_header and innetgroup_response_header
46902 elements.
46903 * nscd/nscd.conf: Add entries for netgroup cache.
46904 * nscd/nscd.h (dbtype): Add netgrdb.
46905 (_PATH_NSCD_NETGROUP_DB): Define.
46906 (netgroup_iov_disabled): Declare.
46907 (xmalloc, xcalloc, xrealloc): Move declarations here.
46908 (cache_search): Adjust prototype.
46909 Add netgroup-related prototypes.
46910 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
46911 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
46912 (__nscd_innetgr): Declare.
46913 * nscd/selinux.c (perms): Use access_vector_t as element type and
46914 add netgroup-related initializers.
46915 * nscd/netgroupcache.c: New file.
46916 * nscd/nscd_netgroup.c: New file.
46917 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
46918 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
46919 For four parameters use innetgr.
46920 * nss/nss_files/files-init.c: Add definition and callback for netgr.
46921 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
46922 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
46923 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
46924
21fd49a9
UD
46925 * nscd/connections.c (register_traced_file): Don't register file
46926 for disabled databases.
46927
054c0457
UD
469282011-10-06 Ulrich Drepper <drepper@gmail.com>
46929
32b63198
UD
46930 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
46931
054c0457
UD
46932 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
46933 from tree and freeing node.
46934
64031225
JO
469352011-09-25 Jiri Olsa <jolsa@redhat.com>
46936
46937 * nss/nsswitch.c (__nss_database_lookup): Handle
46938 nss_parse_service_list out of memory case.
46939
0490345c
JO
469402011-09-15 Jiri Olsa <jolsa@redhat.com>
46941
46942 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
46943 out of memory case.
46944
3a62d00d
AS
469452011-10-04 Andreas Schwab <schwab@redhat.com>
46946
46947 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
46948 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
46949 pass it down.
46950 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
46951 elf_machine_rela, elf_machine_lazy_rel.
46952 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
46953 (ELF_DYNAMIC_DO_REL): Likewise.
46954 (ELF_DYNAMIC_DO_RELA): Likewise.
46955 (ELF_DYNAMIC_RELOCATE): Likewise.
46956 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
46957 to ELF_DYNAMIC_DO_REL.
46958 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
46959 (dl_main): In trace mode always set __RTLD_NOIFUNC.
46960 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
46961 elf_machine_rela.
46962 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
46963 skip_ifunc, don't call ifunc function if non-zero.
46964 (elf_machine_rela): Likewise.
46965 (elf_machine_lazy_rel): Likewise.
46966 (elf_machine_lazy_rela): Likewise.
46967 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
46968 (elf_machine_lazy_rel): Likewise.
46969 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
46970 Likewise.
46971 (elf_machine_lazy_rel): Likewise.
46972 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
46973 Likewise.
46974 (elf_machine_lazy_rel): Likewise.
46975 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
46976 (elf_machine_lazy_rel): Likewise.
46977 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
46978 (elf_machine_lazy_rel): Likewise.
46979 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
46980 (elf_machine_lazy_rel): Likewise.
46981 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
46982 (elf_machine_lazy_rel): Likewise.
46983 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
46984 (elf_machine_lazy_rel): Likewise.
46985 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
46986 (elf_machine_lazy_rel): Likewise.
46987
68577918
UD
469882011-09-28 Ulrich Drepper <drepper@gmail.com>
46989
46990 * nss/nss_files/files-init.c (_nss_files_init): Use static
46991 initialization for all the *_traced_file variables.
46992
68822d74
AS
469932011-09-28 Andreas Schwab <schwab@redhat.com>
46994
46995 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
46996
2056100b
RM
469972011-09-27 Roland McGrath <roland@hack.frob.com>
46998
46999 [BZ #13226]
47000 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
47001
32c76b63
AS
470022011-09-27 Andreas Schwab <schwab@redhat.com>
47003
47004 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
47005 Reread the line before reparsing it.
47006
bf972c9d
AS
470072011-09-26 Andreas Schwab <schwab@redhat.com>
47008
47009 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
47010
e057a1b5
JM
470112011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
47012 Maxim Kuvyrkov <maxim@codesourcery.com>
47013 Joseph Myers <joseph@codesourcery.com>
47014
47015 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
47016 if needed for __stack_chk_guard.
47017
bc7e1c36
RM
470182011-09-19 Roland McGrath <roland@hack.frob.com>
47019
ecb1482f
RM
47020 * sysdeps/posix/spawni.c (script_execute): Always define it.
47021 It will be optimized away if unused.
47022 (maybe_script_execute): New function.
47023 (__spawni): Call it.
47024
bc7e1c36
RM
47025 * Makerules: Don't include tls.make.
47026 (config-tls): Always set to thread.
47027 * tls.make.c: File removed.
47028
1c3b002b
MF
470292011-09-19 Mike Frysinger <vapier@gentoo.org>
47030
47031 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
47032 * config.make.in (CPPFLAGS-config): New substituted variable.
47033
2840865d
UD
470342011-09-15 Ulrich Drepper <drepper@gmail.com>
47035
88738eb6
UD
47036 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
47037
cbf645a6 47038 [BZ #13192]
2840865d
UD
47039 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
47040 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
47041
b402e91a
RM
470422011-09-15 Roland McGrath <roland@hack.frob.com>
47043
47044 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
47045 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
47046 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
47047 (CALL_FAIL): Likewise.
47048 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
47049 (CALL_FAIL): Macro removed.
47050 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
47051
4c1a1f71
UD
470522011-09-15 Ulrich Drepper <drepper@gmail.com>
47053
47054 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
47055 for __FINITE_MATH_ONLY__ == 1.
47056
edc121be
AS
470572011-09-15 Andreas Schwab <schwab@redhat.com>
47058
47059 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
47060 __ieee754_sqrt instead of sqrt.
47061 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
47062 __ieee754_sqrtf instead of sqrtf.
47063 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
47064 __floorf instead of floorf.
47065 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
47066 __floorf, __truncf instead of floorf, truncf.
47067
cd205654
UD
470682011-09-14 Ulrich Drepper <drepper@gmail.com>
47069
ee4d0315
UD
47070 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
47071
cd205654
UD
47072 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
47073 __extern_always_inline.
47074 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
47075 32-bit.
47076
48b67d71
AS
470772011-09-14 Andreas Schwab <schwab@redhat.com>
47078
47079 * elf/rtld.c (dl_main): Also relocate in dependency order when
47080 doing symbol dependency testing.
47081
1ae12c75
AS
470822011-09-13 Andreas Schwab <schwab@linux-m68k.org>
47083
47084 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
47085 Always define `refsym'.
47086
995a80df
AS
470872011-09-13 Andreas Schwab <schwab@redhat.com>
47088
e529793b
AS
47089 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
47090 (__FD_ELT): Renamed from __FDELT.
47091 * misc/bits/select2.h (__FD_ELT): Likewise.
47092 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
47093 __FD_MASK instead of __FDELT, __FDMASK.
47094 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
47095 Likewise.
47096 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
47097 Likewise.
47098
52d4fef8
AS
47099 * elf/Makefile (gen-ldd): Fix pattern.
47100
995a80df
AS
47101 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
47102 (init_tls): Likewise.
47103
8682f8b0
UD
471042011-09-12 Ulrich Drepper <drepper@gmail.com>
47105
47106 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
47107
de82006d
AS
471082011-09-12 Andreas Schwab <schwab@redhat.com>
47109
a7c8e6a1
AS
47110 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
47111 `struct cmsghdr *' instead of `void *'.
47112 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
47113 Likewise.
47114
0f31fe77
AS
471152011-09-11 Andreas Schwab <schwab@linux-m68k.org>
47116
47117 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
47118 if non-absolute.
47119 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
47120 ldd_rewrite_script.
0f31fe77 47121
32b4c839
UD
471222011-09-11 Ulrich Drepper <drepper@gmail.com>
47123
83cd1420
UD
47124 * configure.in: Remove --with-tls option.
47125 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
47126 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
47127 out in case it is missing.
47128 * sysdeps/ia64/elf/configure.in: Likewise.
47129 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
47130 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
47131 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
47132 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
47133 * sysdeps/sh/elf/configure.in: Likewise.
47134 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
47135 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
47136 * sysdeps/x86_64/elf/configure.in: Likewise.
47137 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
47138 * sysdeps/mach/hurd/tls.h: Likewise.
47139
633f745d
UD
47140 [BZ #13067]
47141 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
47142
f318beb8
UD
47143 [BZ #13090]
47144 * configure.in: Fix use of AC_INIT.
47145
32b4c839
UD
47146 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
47147
3ce1f295
UD
471482011-09-10 Ulrich Drepper <drepper@gmail.com>
47149
bb016596
UD
47150 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
47151 __set_errno.
8e58439c
UD
47152 * malloc/hooks.c: Likewise.
47153
aebae053 47154 [BZ #11929]
02d46fc4
UD
47155 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
47156 variables statically.
47157 (narenas): Initialize.
47158 (list_lock): Initialize.
bb016596
UD
47159 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
47160 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
47161 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
47162 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
47163 Add initializers to main_arena and mp_.
47164 (malloc_state): Remove pagesize member. Change all users to use
47165 GLRO(dl_pagesize).
47166
47167 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
47168 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
47169 is always initialized.
47170
22a89187
UD
47171 * malloc/malloc.c: Removed unused configurations and dead code.
47172 * malloc/arena.c: Likewise.
47173 * malloc/hooks.c: Likewise.
02d46fc4 47174 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 47175
d063d164
UD
47176 * include/tls.h: Removed. USE___THREAD must always be defined.
47177 * bits/libc-tsd.h: Don't handle !USE___THREAD.
47178 * elf/dl-libc.c: Likewise.
47179 * elf/dl-tsd.c: Likewise.
47180 * include/errno.h: Likewise.
47181 * include/netdb.h: Likewise.
47182 * include/resolv.h: Likewise.
47183 * inet/herrno-loc.c: Likewise.
47184 * inet/herrno.c: Likewise.
47185 * malloc/arena.c: Likewise.
47186 * malloc/hooks.c: Likewise.
47187 * malloc/malloc.c: Likewise.
47188 * resolv/res-state.c: Likewise.
47189 * resolv/res_libc.c: Likewise.
47190 * sysdeps/i386/dl-machine.h: Likewise.
47191 * sysdeps/ia64/dl-machine.h: Likewise.
47192 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
47193 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
47194 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
47195 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
47196 * sysdeps/sh/dl-machine.h: Likewise.
47197 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
47198 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
47199 * sysdeps/unix/i386/sysdep.S: Likewise.
47200 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
47201 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
47202 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
47203 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
47204 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
47205 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
47206 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
47207 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
47208 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
47209 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
47210 * sysdeps/unix/x86_64/sysdep.S: Likewise.
47211 * sysdeps/x86_64/dl-machine.h: Likewise.
47212 * tls.make.c: Likewise.
47213
3ce1f295
UD
47214 * configure.in: Remove --with-__thread option. Make tests for
47215 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
47216 tls_model attribute fail if no support is available. Remove
47217 USE_IN_LIBIO.
47218 * Makeconfig: Adjust for dropped configure option. All features are
47219 now mandatory.
47220 * Makerules: Likewise.
47221 * Versions.def: Likewise.
47222 * argp/argp-fmtstream.c: Likewise.
47223 * argp/argp-fmtstream.h: Likewise.
47224 * argp/argp-help.c: Likewise.
47225 * assert/assert.c: Likewise.
47226 * config.h.in: Likewise.
47227 * config.make.in: Likewise.
47228 * configure: Likewise.
47229 * configure.in: Likewise.
47230 * csu/Versions: Likewise.
47231 * csu/init.c: Likewise.
47232 * elf/tst-audit2.c: Likewise.
47233 * elf/tst-tls10.c: Likewise.
47234 * elf/tst-tls10.h: Likewise.
47235 * elf/tst-tls11.c: Likewise.
47236 * elf/tst-tls12.c: Likewise.
47237 * elf/tst-tls14.c: Likewise.
47238 * elf/tst-tlsmod11.c: Likewise.
47239 * elf/tst-tlsmod12.c: Likewise.
47240 * elf/tst-tlsmod13.c: Likewise.
47241 * elf/tst-tlsmod13a.c: Likewise.
47242 * elf/tst-tlsmod14a.c: Likewise.
47243 * elf/tst-tlsmod15b.c: Likewise.
47244 * elf/tst-tlsmod16a.c: Likewise.
47245 * elf/tst-tlsmod16b.c: Likewise.
47246 * elf/tst-tlsmod7.c: Likewise.
47247 * elf/tst-tlsmod8.c: Likewise.
47248 * elf/tst-tlsmod9.c: Likewise.
47249 * gmon/gmon.c: Likewise.
47250 * grp/fgetgrent_r.c: Likewise.
47251 * grp/putgrent.c: Likewise.
47252 * hurd/fopenport.c: Likewise.
47253 * include/libc-symbols.h: Likewise.
47254 * include/tls.h: Likewise.
47255 * intl/gettextP.h: Likewise.
47256 * intl/loadinfo.h: Likewise.
47257 * locale/global-locale.c: Likewise.
47258 * locale/localeinfo.h: Likewise.
47259 * mach/devstream.c: Likewise.
47260 * malloc/arena.c: Likewise.
47261 * malloc/set-freeres.c: Likewise.
47262 * misc/err.c: Likewise.
47263 * misc/getttyent.c: Likewise.
47264 * misc/mntent_r.c: Likewise.
47265 * posix/getopt.c: Likewise.
47266 * posix/wordexp.c: Likewise.
47267 * pwd/fgetpwent_r.c: Likewise.
47268 * resolv/Versions: Likewise.
47269 * resolv/res_hconf.c: Likewise.
47270 * shadow/fgetspent_r.c: Likewise.
47271 * shadow/putspent.c: Likewise.
47272 * stdio-common/printf_fphex.c: Likewise.
47273 * stdio-common/tmpfile.c: Likewise.
47274 * stdlib/abort.c: Likewise.
47275 * stdlib/fmtmsg.c: Likewise.
47276 * sunrpc/auth_unix.c: Likewise.
47277 * sunrpc/clnt_perr.c: Likewise.
47278 * sunrpc/clnt_tcp.c: Likewise.
47279 * sunrpc/clnt_udp.c: Likewise.
47280 * sunrpc/clnt_unix.c: Likewise.
47281 * sunrpc/openchild.c: Likewise.
47282 * sunrpc/svc_simple.c: Likewise.
47283 * sunrpc/svc_tcp.c: Likewise.
47284 * sunrpc/svc_udp.c: Likewise.
47285 * sunrpc/svc_unix.c: Likewise.
47286 * sunrpc/xdr.c: Likewise.
47287 * sunrpc/xdr_array.c: Likewise.
47288 * sunrpc/xdr_rec.c: Likewise.
47289 * sunrpc/xdr_ref.c: Likewise.
47290 * sunrpc/xdr_stdio.c: Likewise.
47291
1248c1c4
PB
472922011-09-09 Ulrich Drepper <drepper@gmail.com>
47293
47294 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
47295
472962011-07-03 Andreas Jaeger <aj@suse.de>
47297
47298 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
47299 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
47300 regenerate with gen-libm-tests.pl.
47301
473022010-05-12 Petr Baudis <pasky@suse.cz>
47303
47304 [BZ #11589]
47305 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
47306 around j0() zero points by switching to j1().
47307 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
47308 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
47309 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
47310 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
47311
f22e1074
UD
473122011-09-09 Ulrich Drepper <drepper@gmail.com>
47313
f19009c1
UD
47314 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
47315 instead of 0.
47316 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
3a235abb 47317 instead of 0.
f19009c1
UD
47318 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
47319 Patch in part by Pavel Roskin <proski@gnu.org>.
47320
3f8cc204
UD
47321 [BZ #13138]
47322 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
47323 realloc.
47324 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
47325 Free memory block if necessary.
47326
f22e1074
UD
47327 [BZ #12847]
47328 * libio/genops.c (INTDEF): For string streams the _lock pointer can
47329 be NULL. Don't lock in this case.
47330
0a2349f9
RM
473312011-09-09 Roland McGrath <roland@hack.frob.com>
47332
47333 * elf/elf.h (ELFOSABI_GNU): New macro.
47334 (ELFOSABI_LINUX): Define to that.
47335
f3cdd467
DZ
473362011-07-29 Denis Zaitceff <zaitceff@gmail.com>
47337
47338 * string/strncat.c (strncat): Undef the symbol in case it has been
47339 defined in bits/string.h.
47340
74718d13
UD
473412011-09-09 Ulrich Drepper <drepper@gmail.com>
47342
633e9e0f
UD
47343 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
47344
0a2349f9 47345 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
47346 link map.
47347
f9924780
AJ
473482011-08-17 Andreas Jaeger <aj@suse.de>
47349
47350 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
47351
7f5517aa
PP
473522011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
47353 Ian Lance Taylor <iant@google.com>
47354
47355 * math/libm-test.inc (lround_test): New testcase.
47356 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
47357
762011fe
UD
473582011-09-08 Ulrich Drepper <drepper@gmail.com>
47359
92963737
UD
47360 * Makefile: Remove support for automatic cvs check-ins.
47361 * Makerules: Likewise.
47362 * config.make.in: Likewise.
47363 * configure.in: Likewise.
47364 * intl/Makefile: Likewise.
47365 * locale/Makefile: Likewise.
47366 * po/Makefile: Likewise.
47367 * posix/Makefile: Likewise.
47368 * sysdeps/gnu/Makefile: Likewise.
47369 * sysdeps/mach/hurd/Makefile: Likewise.
47370 * sysdeps/sparc/sparc32/Makefile: Likewise.
47371
b0727fd8
JS
47372 [BZ #13118]
47373 * posix/Makefile (bug-regex32-ENV): Define.
47374 Patch by John Stanley <jpsinthemix@verizon.net>.
47375
a0f33f99
UD
47376 * misc/Makefile (headers): Add bits/select2.h.
47377 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
47378 * misc/bits/select2.h: New file.
47379 * include/bits/select2.h: New file.
47380 * debug/Makefile (routines): Add fdelt_chk.
47381 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
47382 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
47383 FD_ISSET.
47384 * debug/fdelt_chk.c: New file.
47385
762011fe
UD
47386 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
47387 * wcsmbs/test-wmemcmp.c: Likewise.
47388 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 47389 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
47390
473912011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
47392
47393 * string/Makefile (strop-tests): Add memcmp.
47394 * string/test-wmemcmp.c: New file.
47395 * string/test-memcmp.c: Add wmemcmp support.
47396
7f513ec8
RM
473972011-09-08 Roland McGrath <roland@hack.frob.com>
47398
0442afb4
RM
47399 [BZ #13153]
47400 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
47401 2011-07-19 change.
47402
7f513ec8
RM
47403 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
47404 garbage value in a __mach_port_mod_refs call in the cases of the
47405 task-self and thread-self ports.
47406
a12b2239
ST
474072011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
47408
47409 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
47410
610f9ab4
AS
474112011-09-08 Andreas Schwab <schwab@redhat.com>
47412
7f513ec8 47413 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 47414
48882a1a
LD
474152011-09-07 Ulrich Drepper <drepper@gmail.com>
47416
b49865be
UD
47417 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
47418
fdc86bc9
UD
47419 * elf/dl-libc.c (dlerror_run): Pass back error code from
47420 dl_catch_error.
47421
c966526a
UD
47422 [BZ #13123]
47423 * elf/dl-load.c (lose): Free l_origin if it is valid.
47424
48882a1a
LD
47425 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
47426 names.
47427 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
47428 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
47429 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
47430 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
47431 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
47432 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
47433
77a2a8b4
AZ
474342011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
47435
47436 * sysdeps/powerpc/fpu/e_hypot.c: New file.
47437 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
47438 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
47439 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
47440 * sysdeps/powerpc/fpu/k_cosf.c: New file.
47441 * sysdeps/powerpc/fpu/k_sinf.c: New file.
47442 * sysdeps/powerpc/fpu/s_cosf.c: New file.
47443 * sysdeps/powerpc/fpu/s_sinf.c: New file.
47444 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
47445 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
47446
24f579d8
AM
474472011-08-15 Alan Modra <amodra@gmail.com>
47448
47449 [BZ #13092]
47450 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
47451 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
47452 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
47453 ppc_mcount to static-only-routines.
47454 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
47455 __mcount_internal.
47456 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
47457 __mcount_internal with usual JUMPTARGET. Remove useless nop.
47458
3d4837df
UD
474592011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
47460
47461 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
47462 for finite and infinity parameters.
47463
22700377
WS
474642011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
47465
47466 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
47467 and add nop instructions for throughput optimization.
47468 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
47469
5025581e
WS
474702011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
47471
47472 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
47473 aligned copy for power7 with vector-scalar instructions.
47474 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
47475
08a300c9
L
474762011-07-24 H.J. Lu <hongjiu.lu@intel.com>
47477
47478 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
47479 AVX check.
47480
59178ef9
AS
474812011-09-07 Andreas Schwab <schwab@redhat.com>
47482
47483 [BZ #13144]
47484 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
47485 last change.
47486
e38ba7ab
UD
474872011-09-07 Ulrich Drepper <drepper@gmail.com>
47488
47489 * sysdeps/unix/sysv/linux/x86_64/init-first.c
47490 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
47491 syscall wrapper around clock_gettime in __vdso_clock_gettime.
47492 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
47493 clock_gettime.
47494
d53a73ac
UD
474952011-09-06 Ulrich Drepper <drepper@gmail.com>
47496
fc8bffcc
UD
47497 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
47498 Forgot to demangle the pointer.
47499
ceaa0c5d
UD
47500 * sysdeps/i386/sysdep.h: Define atom_text_section.
47501 * sysdeps/x86_64/sysdep.h: Likewise.
47502 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
47503 section with atom_text_section.
47504 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
47505 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
47506 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
47507 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
47508 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
47509
a77d3c17
UD
47510 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
47511 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
47512 already be defined. Change to take two parameters and don't assign
47513 result to variable. Adjust all users.
47514 Define INTERNAL_GETTIME if not already defined.
47515 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
47516 call.
47517 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
47518 HAVE_CLOCK_GETTIME_VSYSCALL.
47519 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
47520
d53a73ac
UD
47521 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
47522 gettimeofday vsyscall, just use time.
47523
a8f84144
AS
475242011-09-06 Andreas Schwab <schwab@redhat.com>
47525
47526 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
47527 <errno.h>.
47528
ef606249
UD
475292011-09-06 Ulrich Drepper <drepper@gmail.com>
47530
47531 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
47532 syscall on x86-64.
47533 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
47534 syscall.
47535 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
47536 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
47537 syscall if possible.
47538
6585cb60
UD
475392011-09-05 Ulrich Drepper <drepper@gmail.com>
47540
47541 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
47542 e_ident. Don't pass to find_mapsXX.
47543 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
47544
a5f524e4
LD
475452011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
47546
47547 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
47548 strchr-sse2-no-bsf strrchr-sse2-no-bsf
47549 * sysdeps/x86_64/multiarch/strchr.S: Update.
47550 Check bit_slow_BSF bit.
47551 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
47552 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
47553 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
47554
554881ef
UD
475552011-09-05 Ulrich Drepper <drepper@gmail.com>
47556
d96de963
UD
47557 [BZ #13134]
47558 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
47559 before glibc 2.15.
47560 (tryshell): Define.
47561 (__spawni): Change last parameter to be flag. Test
47562 SPAWN_XFLAGS_USE_PATH flag to use path or not.
47563 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
47564 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
47565 * posix/spawni.c: Likewise.
47566 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
47567 * posix/spawnp.c: Likewise. Change normal version to use
47568 SPAWN_XFLAGS_USE_PATH.
47569 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
47570 SPAWN_XFLAGS_TRY_SHELL.
47571
d48e5868
UD
47572 [BZ #13150]
47573 * posix/glob.h: Remove gcc 1.x support.
47574
554881ef
UD
47575 [BZ #13068]
47576 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
47577
693fb948
LD
475782011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
47579
47580 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
47581 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
47582 strrchr-sse2-bsf
47583 * sysdeps/i386/i686/multiarch/strchr.S: New file.
47584 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
47585 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
47586 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
47587 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
47588 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
47589
1b48c537
UD
475902011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
47591
49d42c37
UD
47592 * sysdeps/x86_64/wcscmp.S: New file.
47593
1b48c537
UD
47594 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
47595 wcscmp-c wcscmp-sse2
47596 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
47597 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
47598 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
47599 * wcsmbs/wcscmp.c: Allow renaming.
47600
15c95c5d
DM
476012011-09-05 David S. Miller <davem@davemloft.net>
47602
47603 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
47604 stack slot, rather than the struct return pointer slot.
47605 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
47606 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
47607 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
47608 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
47609
2f0ad8f3
UD
476102011-09-05 Ulrich Drepper <drepper@gmail.com>
47611
d88ae418
UD
47612 * po/ja.po: Update from translation team.
47613
2f0ad8f3
UD
47614 [BZ #13144]
47615 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
47616 kernel in 64-bit binaries.
47617
5f4318d1
DM
476182011-09-01 David S. Miller <davem@davemloft.net>
47619
47620 * elf/elf.h (HWCAP_SPARC_*): Move to..
47621 * sysdeps/sparc/sysdep.h: this new file and add new values.
47622 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
47623 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
47624 _DL_HWCAP_COUNT to 24.
47625 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
47626 entries.
47627 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
47628 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
47629 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
47630 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
47631 instead of magic constants.
47632 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
47633
3ba57516
DM
476342011-08-31 David S. Miller <davem@davemloft.net>
47635
47636 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
47637 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
47638 Reimplement to do errno handling inline.
47639 (SYSCALL_ERROR_HANDLER): New macro.
47640 (__SYSCALL_STRING): Do not do errno handling in asm.
47641 (__CLONE_SYSCALL_STRING): Delete.
47642 (__INTERNAL_SYSCALL_STRING): Delete.
47643 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
47644 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
47645 (PSEUDO): Reimplement to do errno handling inline.
47646 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
47647 (SYSCALL_ERROR_HANDLER): New macro.
47648 (__SYSCALL_STRING): Do not do errno handling in asm.
47649 (__CLONE_SYSCALL_STRING): Delete.
47650 (__INTERNAL_SYSCALL_STRING): Delete.
47651 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
47652 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
47653 i386.
47654 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
47655 (inline_syscall*): Add 'err' argument.
47656 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
47657 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
47658 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
47659 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
47660
47661 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
47662 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
47663
2bc17433
AS
476642011-08-30 Andreas Schwab <schwab@redhat.com>
47665
47666 * elf/rtld.c (dl_main): Relocate objects in dependency order.
47667
fbeb5f4d
JO
476682011-08-29 Jiri Olsa <jolsa@redhat.com>
47669
47670 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
47671 directive.
47672
ad69cc26
DM
476732011-08-24 David S. Miller <davem@davemloft.net>
47674
47675 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
47676
39dd69df
AS
476772011-08-24 Andreas Schwab <schwab@redhat.com>
47678
47679 * elf/Makefile: Add rules to build and run unload8 test.
47680 * elf/unload8.c: New file.
47681 * elf/unload8mod1.c: New file.
47682 * elf/unload8mod1x.c: New file.
47683 * elf/unload8mod2.c: New file.
47684 * elf/unload8mod3.c: New file.
47685
47686 * elf/dl-close.c (_dl_close_worker): Reset private search list if
47687 it wasn't used.
47688
2c0b250a
DM
476892011-08-23 David S. Miller <davem@davemloft.net>
47690
47691 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
47692 subtract stack bias.
47693 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
47694 %sp not %fp in calculations.
47695 (_JMPBUF_UNWINDS_ADJ): Likewise.
47696
22044b48
DM
47697 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
47698 (aio_suspend): Call it to force an exception region around the
47699 AIO_MISC_WAIT() invocation.
47700
2cae4995
AS
477012011-08-23 Andreas Schwab <schwab@redhat.com>
47702
47703 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
47704 backslash.
47705
873a772e
AJ
477062011-07-04 Aurelien Jarno <aurelien@aurel32.net>
47707
47708 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
47709 protection macro.
47710 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
47711 and <dl-machine.h>.
47712 (Elf64_FuncDesc): Remove.
47713
25ad0df1
DM
477142011-08-22 David S. Miller <davem@davemloft.net>
47715
47716 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
47717 sigaltstack check, add missing cfi directives.
47718 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
47719 missing cfi directives, and sigaltstack handling.
47720
e888bcbe
AS
477212011-08-16 Andreas Schwab <schwab@redhat.com>
47722
47723 [BZ #11724]
47724 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
47725 object is seen twice.
47726 * elf/dl-fini.c (_dl_sort_fini): Likewise.
47727
47728 * elf/Makefile (distribute): Add tst-initorder2.c.
47729 (tests): Add tst-initorder2.
47730 (modules-names): Add tst-initorder2a tst-initorder2b
47731 tst-initorder2c tst-initorder2d. Add rules to build them.
47732 ($(objpfx)tst-initorder2.out): New rule.
47733 * elf/tst-initorder2.c: New file.
47734 * elf/tst-initorder2.exp: New file.
47735
87162f46
AS
477362011-08-22 Andreas Schwab <schwab@redhat.com>
47737
70538b7f
AS
47738 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
47739
f55ffe58
AS
47740 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
47741 dependencies back to end of function.
47742
87162f46
AS
47743 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
47744 $(elfobjdir)/ld.so.
47745
91b392a4
UD
477462011-08-21 Ulrich Drepper <drepper@gmail.com>
47747
47748 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
47749 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
47750 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
47751 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
47752 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
47753 of __vdso_gettimeofday.
47754 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
47755 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
47756 attribute_hidden.
47757 (_libc_vdso_platform_setup): Remove initialization of
47758 __vdso_gettimeofday and __vdso_time.
47759
5c43483f
UD
477602011-08-20 Ulrich Drepper <drepper@gmail.com>
47761
775a77e7
UD
47762 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
47763 and fgetc_unlocked.
47764 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
47765 getc_unlocked.
89f447ed 47766
49c74ba9
UD
47767 * elf/dl-open.c (add_to_global): Report additions to the global scope
47768 for LD_DEBUG=scopes.
47769 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 47770 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 47771
5c43483f
UD
47772 [BZ #13114]
47773 * stdio-common/Makefile (tests): Add bug24.
47774 * stdio-common/bug24.c: New file.
47775
a101b025
AJ
477762011-08-19 Andreas Jaeger <aj@suse.de>
47777
47778 [BZ #13114]
47779 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
47780 non-existant file when using close-on-exec mode.
47781
c88f1766
UD
477822011-08-20 Ulrich Drepper <drepper@gmail.com>
47783
0276a718
UD
47784 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
47785 the very first instruction.
47786
c88f1766
UD
47787 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
47788 the CFI state in the end.
47789 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
47790 inclusion of dl-trampoline.h.
47791 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
47792
51ccffa0
AS
477932011-08-19 Andreas Schwab <schwab@redhat.com>
47794
94d7165f
AS
47795 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
47796 expectations for long double.
47797
51ccffa0
AS
47798 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
47799 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
47800
fd708658 478012011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
47802
47803 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
47804 artificual limit depends upon the system page size.
47805
44f0a71e
UD
478062011-08-17 Ulrich Drepper <drepper@gmail.com>
47807
47808 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
47809 * resolv/Makefile: Define CFLAGS-libresolv.
47810
8de79a24
AS
478112011-08-17 Andreas Schwab <schwab@redhat.com>
47812
47813 * nss/makedb.c (compute_tables): Make variables used in nested
47814 function static.
47815
27724598
UD
478162011-08-17 Ulrich Drepper <drepper@gmail.com>
47817
c5305d88
UD
47818 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
47819 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
47820 if buffer was too small.
47821
27724598
UD
47822 * elf/pldd.c (main): Attach to all threads in the process.
47823 Rewrite /proc handling to use *at functions.
47824
076fe015
UD
478252011-08-16 Ulrich Drepper <drepper@gmail.com>
47826
174baab3
UD
47827 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
47828 specifies first scope to show.
47829 (dl_open_worker): Update callers. Move printing scope of new
47830 object to before the relocation.
44f0a71e 47831 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
47832 * sysdeps/generic/ldsodefs.h: Update declaration.
47833
076fe015
UD
47834 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
47835 string for the scope number.
47836
a60df2c3
UD
478372011-08-14 Ulrich Drepper <drepper@gmail.com>
47838
47839 * nscd/servicescache.c (cache_addserv): Make sure written is always
47840 initialized.
47841
5e4287d1
RM
478422011-08-14 Roland McGrath <roland@hack.frob.com>
47843
85ae0589
RM
47844 * sysdeps/i386/i486/bits/atomic.h
47845 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
47846 statement expression, so as to suppress "set but not used" warning.
47847 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
47848
69f63097
RM
47849 * string/strncat.c (STRNCAT): Use prototype definition.
47850
675456ef
RM
47851 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
47852 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
47853 -Iprograms here.
47854 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
47855 (localedef-modules): Add localedef.
47856 (locale-modules): Add locale.
47857
5e4287d1
RM
47858 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
47859 * elf/rtld.c (dl_main): Invert order of assignment in last change,
47860 to avoid a warning.
47861
9c96ff23
DM
478622011-08-14 David S. Miller <davem@davemloft.net>
47863
47864 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
47865 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
47866
f9ddf089
UD
478672011-08-13 Ulrich Drepper <drepper@gmail.com>
47868
44f0a71e 47869 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
47870 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
47871 * elf/rtld.c (dl_main): Set l_name of vDSO.
47872 Call _dl_show_scope when DL_DEBUG_SCOPES.
47873 (process_dl_debug): Recognize scopes flag and also set it for all.
47874 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
47875 Declare _dl_show_scope.
47876
1dc27704
UD
47877 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
47878 (do_dlopen): Pass caller_dlopen to dl_open.
47879 (__libc_dlopen_mode): Initialize caller_dlopen.
47880
f9ddf089
UD
47881 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
47882 of libc. Make tolower call locale-independent. Optimize a bit by
47883 using isdigit instead of isalnum.
47884 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
47885
9ac533d3
UD
478862011-08-12 Ulrich Drepper <drepper@gmail.com>
47887
47888 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
47889 was a dependency or dynamically loaded.
47890
89edf2e9
UD
478912011-08-11 Ulrich Drepper <drepper@gmail.com>
47892
8e999d29
UD
47893 * intl/l10nflist.c: Allow architecture-specific pop function.
47894 * sysdeps/x86_64/l10nflist.c: New file.
47895
89edf2e9
UD
47896 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
47897 classification.
47898
14d96785
AS
478992011-08-10 Andreas Schwab <schwab@redhat.com>
47900
47901 * include/dirent.h: Add libc_hidden_proto for scandirat and
47902 scandirat64. Don't declare __scandirat64.
47903 * dirent/scandirat.c: Add libc_hidden_def.
47904 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
47905 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
47906
6761ac04
DM
479072011-08-10 David S. Miller <davem@davemloft.net>
47908
47909 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
47910 enum.
47911 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
47912 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
47913 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
47914
c55fbd1e
UD
479152011-08-09 Ulrich Drepper <drepper@gmail.com>
47916
47917 * Versions.def [libc]: Add GLIBC_2.15.
47918 * dirent/Makefile (routines): Add scandirat and scandirat64.
47919 * dirent/Versions [libc]: Export scandirat and scandirat64 for
47920 GLIBC_2.15.
47921 * dirent/dirent.h: Declare scandirat and scandirat64.
47922 * dirent/scandirat.c: New file.
47923 * dirent/scandirat64.c: New file.
47924 * sysdeps/wordsize-64/scandirat.c: New file.
47925 * sysdeps/wordsize-64/scandirat64.c: New file.
47926 * dirent/opendir.c: Define opendirat.
47927 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
47928 using scandirat.
47929 * dirent/scandir64.c: Adjust for scandir.c change.
47930 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
47931 __scandirat64, and __scandir_cancel_handler.
47932 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
47933 additional parameter and use openat instead of open (outside of ld.so).
47934 Add new __opendir as wrapper around __opendirat.
47935 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
47936 here without requiring old scandirat implementation.
47937
879165f2
UD
479382011-08-08 Ulrich Drepper <drepper@gmail.com>
47939
47940 * dirent/scandir.c (cancel_handler): Renamed to
47941 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
47942 defined. Adjust users.
47943 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
47944 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
47945
cb7e923b
UD
479462011-08-04 Ulrich Drepper <drepper@gmail.com>
47947
16292edd
UD
47948 * string/test-string.h (IMPL): Use __STRING to expand name and then
47949 stringify it.
47950
cb7e923b
UD
47951 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
47952 of cleanups.
47953
cff82933
LD
479542011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
47955
47956 * string/Makefile: Update.
47957 (strop-tests): Append strncat.
47958 * string/test-wcscmp.c: New file.
47959 New comprehensive test for wcscmp.
47960 * string/test-strcmp.c: Update.
47961 (WIDE): New define.
47962
9be9bfcc
AS
479632011-07-22 Andreas Schwab <schwab@redhat.com>
47964
47965 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
47966 line.
47967
2e96f1c7
AS
479682011-07-26 Andreas Schwab <schwab@redhat.com>
47969
47970 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
47971 encoding to ACE if AI_IDN.
47972
85188888
JJ
479732011-08-01 Jakub Jelinek <jakub@redhat.com>
47974
47975 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
47976 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
47977
5fa16e9b
LD
479782011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
47979
47980 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
47981 Fix overflow bug in strncat.
47982 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
47983
47984 * string/test-strncat.c: Update.
47985 Add new tests for checking overflow bugs.
47986
479872011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
47988
47989 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
47990 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
47991 * sysdeps/i386/i686/multiarch/strcat.S: New file.
47992 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
47993 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
47994 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
47995 * sysdeps/i386/i686/multiarch/strncat.S: New file.
47996 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
47997 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
47998
47999 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
48000 (USE_AS_STRCAT): Define.
48001 Add strcat and strncat support.
48002 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
48003
8c1a459f
AS
480042011-07-25 Andreas Schwab <schwab@redhat.com>
48005
48006 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
48007 __n bigger than INT_MAX+1.
48008 (__strncmp_g): Likewise.
48009
bba33c28
UD
480102011-07-23 Ulrich Drepper <drepper@gmail.com>
48011
798be72d
UD
48012 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
48013 * libio/stido.h: Likewise.
48014
8accd4dc
UD
48015 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
48016 (AF_NFC): Define.
48017 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
48018 (AF_NFC): Define.
48019
cbff0d96
UD
48020 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
48021 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
48022 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
48023 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
48024 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
48025
9191c04a
UD
48026 [BZ #13021]
48027 * scripts/test-installation.pl: Don't expect libnss_test1 to be
48028 installed.
48029
bba33c28
UD
48030 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
48031 typo.
48032 (_dl_x86_64_save_sse): Likewise.
48033
90f139dd
UD
480342011-07-22 Ulrich Drepper <drepper@gmail.com>
48035
1aae088a
UD
48036 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
48037 OSXSAVE.
48038 (_dl_x86_64_save_sse): Likewise.
48039
8e2045f5
UD
48040 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
48041
90f139dd
UD
48042 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
48043
1d002f25
AS
480442011-07-21 Andreas Schwab <schwab@redhat.com>
48045
48046 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
48047 change.
48048 (_dl_x86_64_save_sse): Use correct AVX check.
48049
21137f89
UD
480502011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
48051
48052 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
48053 bug in strncpy/strncat.
48054 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
48055
a65c0b7a
UD
480562011-07-21 Ulrich Drepper <drepper@gmail.com>
48057
48058 * string/tester.c (test_strcat): Add tests for different alignments
48059 of source and destination.
48060 (test_strncat): Likewise.
48061
6986b98a
UD
480622011-07-20 Ulrich Drepper <drepper@gmail.com>
48063
90bb2039
UD
48064 [BZ #12852]
48065 * posix/glob.c (glob): Check passed in values before using them in
48066 expressions to avoid some overflows.
48067 (glob_in_dir): Likewise.
48068
5644ef54
UD
48069 [BZ #13007]
48070 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
48071 check for AVX enablement so that we don't crash with old kernels and
48072 new hardware.
48073 * elf/tst-audit4.c: Add same checks here.
48074 * elf/tst-audit6.c: Likewise.
48075
48076 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 48077
bfc9dc9b
AS
480782011-07-09 Andreas Schwab <schwab@linux-m68k.org>
48079
48080 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
48081
702e64bb
UD
480822011-07-20 Ulrich Drepper <drepper@gmail.com>
48083
48084 * po/cs.po: Update from translation team.
48085 * po/bg.po: Likewise.
48086
295e904f
MP
480872011-07-12 Marek Polacek <mpolacek@redhat.com>
48088
48089 * misc/sys/cdefs.h: Add support for const attribute.
48090 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
48091 to gnu_dev_{major,minor,makedev} functions.
48092
3ff94596
MP
480932011-07-20 Marek Polacek <mpolacek@redhat.com>
48094
48095 * intl/dcigettext.c (get_output_charset): Add missing bracket.
48096
28b59fca
AS
480972011-07-20 Andreas Schwab <schwab@redhat.com>
48098
48099 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
48100 strlen results.
48101
19df733e
AK
481022011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
48103
48104 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
48105 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
48106 register in order to avoid conflicts with the soft frame pointer
48107 being held in r11 when necessary.
48108 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
48109 (INTERNAL_VSYSCALL_NCS): Likewise.
48110
c8835729
MP
481112011-07-14 Marek Polacek <mpolacek@redhat.com>
48112
48113 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
48114 * elf/dl-fini.c (_dl_fini): Adjust caller.
48115 * elf/dl-close.c (_dl_close_worker): Likewise.
48116 * sysdeps/generic/ldsodefs.h: Adjust declaration.
48117
b902330c
MP
481182011-07-15 Marek Polacek <mpolacek@redhat.com>
48119
8991e135
MP
48120 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
48121 "aux_cache->nlibs < 0".
48122
b902330c
MP
48123 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
48124 in the reload-count case.
48125
99710781
LD
481262011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
48127
48128 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
48129 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
48130 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
48131 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
48132 * sysdeps/x86_64/multiarch/strcat.S: New file.
48133 * sysdeps/x86_64/multiarch/strncat.S: New file.
48134 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
48135 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
48136 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
48137 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
48138 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
48139 (USE_AS_STRCAT): Define.
48140 Add strcat and strncat support.
48141 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
48142 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
48143 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
48144 * string/strncat.c: Update.
48145 (USE_AS_STRNCAT): Define.
48146 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
48147 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
48148 and i7.
48149 * sysdeps/x86_64/multiarch/init-arch.h
48150 (bit_Prefer_PMINUB_for_stringop): New.
48151 (index_Prefer_PMINUB_for_stringop): Likewise.
48152 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
48153 bit_Prefer_PMINUB_for_stringop.
48154
7dc6bd90
UD
481552011-07-19 Ulrich Drepper <drepper@gmail.com>
48156
48157 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
48158 buffer64.
48159 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
48160 of casting of buffer.
48161 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
48162 buffer32 and buffer64.
48163 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
48164 writes instead of casting of buffer.
48165 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
48166 buffer32.
48167 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
48168 casting of buffer.
48169
e0e72284
AS
481702011-07-19 Andreas Schwab <schwab@redhat.com>
48171
48172 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
48173
feb1eb0b
UD
481742011-07-19 Ulrich Drepper <drepper@gmail.com>
48175
48176 * nscd/nscd.c (termination_handler): Don't do anything for a database
48177 if it has not yet been initialized.
48178
298711ff
UD
481792011-07-18 Ulrich Drepper <drepper@gmail.com>
48180
48181 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
48182
481832011-07-15 Marek Polacek <mpolacek@redhat.com>
48184
48185 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
48186
f9d68389
UD
481872011-07-18 Ulrich Drepper <drepper@gmail.com>
48188
48189 * po/nl.po: Update from translation team.
48190 * po/sv.po: Likewise.
48191
db290cf5
RM
481922011-07-16 Roland McGrath <roland@hack.frob.com>
48193
48194 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
48195 now disallowed by GCC.
5c550700 48196
fd5e21c7
RM
48197 * configure.in (use-default-link): Default to yes if a test -shared
48198 link meets our qualifications.
48199 * configure: Regenerated.
48200
5c550700
RM
48201 * config.make.in (output-format): New variable.
48202 * configure.in: Check for ld --print-output-format support.
48203 * configure: Regenerated.
48204 * Makerules ($(common-objpfx)format.lds)
48205 [$(output-format) != unknown]: Just use $(output-format),
48206 instead of the linker-script munging.
48207
9fa2c032
RM
482082011-07-14 Roland McGrath <roland@hack.frob.com>
48209
a6928d51
RM
48210 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
48211 of $(common-objpfx)shlib.lds.
48212 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
48213
661607b3
RM
48214 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
48215 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
48216
9fa2c032
RM
48217 * configure.in (-z relro check): Adjust test code to add a large
48218 writable data section after it.
48219 * configure: Regenerated.
48220
defe9061
RM
482212011-07-11 Roland McGrath <roland@hack.frob.com>
48222
48223 * configure.in (-z relro check): Fix test code to make the variable
48224 truly const.
48225 * configure: Regenerated.
48226
319b9ad4
UD
482272011-07-11 Ulrich Drepper <drepper@gmail.com>
48228
48229 * nscd/nscd.h (struct traced_file): Define.
48230 (struct database_dyn): Remove inotify_descr, reset_res, and filename
48231 elements. Add traced_files.
48232 (inotify_fd): Declare.
48233 (register_traced_file): Declare.
48234 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
48235 (inotify_fd): Export.
48236 (resolv_conf_descr): Remove.
48237 (nscd_init): Move inotify descriptor creation to main.
48238 Don't register files for notification here.
48239 (register_traced_file): New function.
48240 (invalidate_cache): Don't use reset_res to determine whether to call
48241 res_init, go through the list of registered files.
48242 (main_loop_poll): The inotify descriptors are now stored in the
48243 structures for the traced files.
48244 (main_loop_epoll): Likewise
48245 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
48246 to __nss_disable_nscd.
48247 * nscd/cache.c (prune_cache): There is no single inotify descriptor
48248 for a database anymore. Check the records for all the registered
48249 files instead.
48250 * nss/Makefile (libnss_files-routines): Add files-init.
48251 (libnss_db-routines): Add db-init.
48252 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
48253 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
48254 * nss/nss_db/db-init.c: New file.
48255 * nss/nss_files/files-init.c: New file.
48256 * nss/nsswitch.c (nss_load_library): New function. Broken out of
48257 __nss_lookup_function.
48258 (__nss_lookup_function): Call nss_load_library.
48259 (nss_load_all_libraries): New function.
48260 (__nss_disable_nscd): Take parameter with callback function for files
48261 to register. Set is_nscd. Load all the DSOs for the NSS modules
48262 used for the cached services.
48263 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
48264 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
48265 options for features to all the files in nscd.
48266
48267 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
48268
23bee3e8
RM
482692011-07-10 Roland McGrath <roland@hack.frob.com>
48270
48271 * csu/elf-init.c (__libc_csu_init): Comment typo.
48272
46a5b7f0
UD
482732011-07-09 Ulrich Drepper <drepper@gmail.com>
48274
48275 * po/pl.po: Update from translation team.
48276 * po/ja.po: Likewise.
48277 * po/ru.po: Likewise.
48278 * po/ko.po: Likewise.
48279 * po/fr.po: Likewise.
48280
d30cf5bb
RM
482812011-07-09 Roland McGrath <roland@hack.frob.com>
48282
113ddea4
RM
48283 * configure.in (.ctors/.dtors header and trailer check):
48284 Use an empirical test on a built program.
48285 * configure: Regenerated.
48286
574920b4
RM
48287 * configure.in (-z relro check): Use an empirical test on a built DSO.
48288 Detect, but do not require, on ia64.
48289 * configure: Regenerated.
48290
d30cf5bb
RM
48291 * configure.in (READELF): Find it with AC_CHECK_TOOL.
48292 Update tests that use readelf to use $READELF instead.
48293 * configure: Regenerated.
48294
8538fdb3
UD
482952011-07-08 Ulrich Drepper <drepper@gmail.com>
48296
48297 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
48298 if the result is not used.
48299
04d08991
AJ
483002011-07-05 Andreas Jaeger <aj@suse.de>
48301
48302 [BZ#9696]
48303 * stdlib/tst-strtod.c: Add testcase.
48304
de283087
AD
483052011-07-07 Ulrich Drepper <drepper@gmail.com>
48306
4e5f31c8 48307 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 48308 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
48309 The latter has a higher limit. Take additional parameter to pass to
48310 the new function.
48311 (__pathconf): Pass file to __statfs_link_max.
48312 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
48313 __statfs_link_max.
48314 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
48315 __statfs_link_max.
48316
de283087
AD
48317 [BZ #12868]
48318 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
48319 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
48320 Handle Lustre.
48321 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
48322 (__statfs_filesize_max): Likewise.
48323 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
48324
c75fa153
AJ
483252011-07-05 Andreas Jaeger <aj@suse.de>
48326
48327 * resolv/res_comp.c (dn_skipname): Remove unused variable.
48328
1a544854
UD
483292011-07-06 Marek Polacek <mpolacek@redhat.com>
48330
48331 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
48332 `status' variable.
48333 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
48334 Likewise.
48335
6f0eec67
UD
483362011-07-04 H.J. Lu <hongjiu.lu@intel.com>
48337
48338 * Makefile (strop-tests): Add strncat.
48339 * string/test-strncat.c: New file.
48340
aae30307
UD
483412011-06-30 Marek Polacek <mpolacek@redhat.com>
48342
48343 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
48344
c0cfb5eb
UD
483452011-06-21 Andreas Jaeger <aj@suse.de>
48346
48347 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
48348 Copy rule from iconvdata/Makefile.
48349
01636b21
UD
483502011-07-06 Ulrich Drepper <drepper@gmail.com>
48351
48352 [BZ #12922]
48353 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
48354 but no long options are defined, just return 'W'.
48355
9895c8bc
UD
483562011-06-22 Marek Polacek <mpolacek@redhat.com>
48357
48358 [BZ #9696]
48359 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
48360
5d4cf042
UD
483612011-07-06 Ulrich Drepper <drepper@gmail.com>
48362
48363 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
48364 netgroups to read.
960e5535 48365 (innetgr): Likewise.
5d4cf042 48366
751eb97e
RM
483672011-07-05 Roland McGrath <roland@hack.frob.com>
48368
48369 * config.make.in (install_root): Default to $(DESTDIR).
48370
f15f1e45
UD
483712011-07-05 Ulrich Drepper <drepper@gmail.com>
48372
48373 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
48374
4e34ac6a
RM
483752011-07-02 Roland McGrath <roland@hack.frob.com>
48376
5e9b6af4
RM
48377 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
48378
84f9ea0f
RM
48379 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
48380 containing directory rather than embedding absolute directory names.
48381
ea5ee9f7
RM
48382 * scripts/check-local-headers.sh: Rewritten using awk.
48383 Match by word, not by line. Print error messages for matches.
48384 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
48385
1b74661a
RM
48386 * Makerules [shlib-lds-flags empty]:
48387 ($(common-objpfx)libc_pic.opts): New target.
48388 ($(common-objpfx)libc_pic.os.clean): New target.
48389 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
48390
48391 * config.make.in (OBJCOPY): New variable.
48392 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
48393 * configure: Regenerated.
48394
f781ef40
RM
48395 * config.make.in (use-default-link): New variable.
48396 * configure.in (use_default_link): Grok --with-default-link to set it.
48397 * configure: Regenerated.
48398 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
48399 (shlib-lds, shlib-lds-flags): Define to empty.
48400
2d4fa81e
RM
48401 * Makerules (shlib-lds): New variable.
48402 (shlib-lds-flags): New variable.
48403 (build-shlib, build-moduile, build-module-asneeded): Use it.
48404 ($(common-objpfx)libc.so): Use $(shlib-lds).
48405 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
48406 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
48407
31fffa6b
RM
48408 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
48409 DT_FLAGS/DT_FLAGS_1 with zero flags.
48410
4e34ac6a
RM
48411 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
48412 linker script munging.
48413
fcfc776b
UD
484142011-07-02 Ulrich Drepper <drepper@gmail.com>
48415
48416 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
48417 as 128-bit value.
48418 * crypt/sha512.c (sha512_process_block): Perform total addition using
48419 128-bit if possible.
48420 (__sha512_finish_ctx): Likewise.
48421 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
48422 as 64-bit value.
48423 * crypt/sha256.c (SWAP64): Define.
48424 (sha256_process_block): Perform total addition using 64-bit if
48425 possible.
48426 (__sha256_finish_ctx): Likewise.
48427
99231d9a
UD
484282011-07-01 Ulrich Drepper <drepper@gmail.com>
48429
48430 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
48431 * nscd/initgrcache.c (addinitgroupsX): Likewise.
48432 * nscd/hstcache.c (cache_addhst): Likewise.
48433 * nscd/grpcache.c (cache_addgr): Likewise.
48434 * nscd/aicache.c (addhstaiX): Likewise
48435 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
48436
445b4a53
TK
484372011-07-01 Thorsten Kukuk <kukuk@suse.de>
48438
48439 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
48440 * nscd/initgrcache.c (addinitgroupsX): Likewise.
48441 * nscd/hstcache.c (cache_addhst): Likewise.
48442 * nscd/grpcache.c (cache_addgr): Likewise.
48443 * nscd/aicache.c (addhstaiX): Likewise
48444
6d4d8e8e
AS
484452011-07-01 Andreas Schwab <schwab@redhat.com>
48446
48447 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
48448 domain only when needed.
48449
89f654c5
AS
484502011-06-30 Andreas Schwab <schwab@redhat.com>
48451
48452 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
48453 is always restored.
48454
cf3b23ff
UD
484552011-06-29 Ulrich Drepper <drepper@gmail.com>
48456
48457 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
48458 are re-adding the entry.
48459 * nscd/servicescache.c (cache_addserv): Likewise.
48460
751626f9
AJ
484612011-06-30 Aurelien Jarno <aurelien@aurel32.net>
48462
48463 * sysdeps/generic/dl-irel.h: fix protection against multiple
48464 inclusions.
48465 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
48466
9113ea1f
UD
484672011-06-28 Ulrich Drepper <drepper@gmail.com>
48468
5c0b8d90
UD
48469 [BZ #12935]
48470 * malloc/memusage.sh: Fix quoting in message.
48471 * debug/xtrace.sh: Likewise.
48472
9113ea1f
UD
48473 * configure.in: Remove support for --experimental-malloc option, make
48474 it the default.
48475 * config.make.in: Likewise.
48476 * malloc/Makefile: Likewise.
48477
a4172181
AS
484782011-06-27 Andreas Schwab <schwab@redhat.com>
48479
48480 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
48481 two-byte characters.
48482
78a7eee7
RM
484832011-06-27 Roland McGrath <roland@hack.frob.com>
48484
62bede13
RM
48485 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
48486 AC_CACHE_CHECK invocation.
48487 * configure: Regenerated.
48488
78a7eee7
RM
48489 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
48490
5ce33a62
UD
484912011-06-27 Ulrich Drepper <drepper@gmail.com>
48492
034807a9
UD
48493 [BZ #12350]
48494 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
48495 bit from old_res_options.
48496
4902da17
UD
48497 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
48498
5ce33a62
UD
48499 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
48500 value type for setfct.
48501
c2344f56
L
485022011-06-23 H.J. Lu <hongjiu.lu@intel.com>
48503
48504 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
48505 __gettimeofday instead of gettimeofday.
48506
68468076
UD
485072011-06-26 Ulrich Drepper <drepper@gmail.com>
48508
48509 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
48510
acb0d739
L
485112011-06-24 H.J. Lu <hongjiu.lu@intel.com>
48512
48513 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
48514
48515 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
48516 info.
48517
8912479f
L
485182011-06-22 H.J. Lu <hongjiu.lu@intel.com>
48519
48520 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
48521 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
48522 strcpy-sse2-unaligned strncpy-sse2-unaligned
48523 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
48524 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
48525 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
48526 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
48527 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
48528 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
48529 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
48530 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
48531 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
48532 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
48533 (STRCPY): Support SSE2 and SSSE3 versions.
48534
d5495a11
UD
485352011-06-24 Ulrich Drepper <drepper@gmail.com>
48536
48537 [BZ #12874]
48538 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
48539 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
48540 kernels which artificially limit size of requests.
48541
0b1cbaae
L
485422011-06-22 H.J. Lu <hongjiu.lu@intel.com>
48543
48544 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
48545 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
48546 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
48547 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
48548 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
48549 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
48550 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
48551 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
48552 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
48553 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
48554 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
48555 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
48556 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
48557 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
48558 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
48559 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
48560 Enable unaligned load optimization for Intel Core i3, i5 and i7
48561 processors.
48562 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
48563 Define.
48564 (index_Fast_Unaligned_Load): Define.
48565 (HAS_FAST_UNALIGNED_LOAD): Define.
48566
07f494a0
MP
485672011-06-23 Marek Polacek <mpolacek@redhat.com>
48568
48569 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
48570
fa3fc0fe
UD
485712011-06-22 Ulrich Drepper <drepper@gmail.com>
48572
48573 [BZ #12907]
48574 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
48575 until it is clear that the information is realy needed.
48576 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
48577
e12df166
AS
485782011-06-22 Andreas Schwab <schwab@redhat.com>
48579
48580 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
48581
852eb34d
UD
485822011-06-22 Ulrich Drepper <drepper@gmail.com>
48583
84e2a551
UD
48584 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
48585 /sys/devices/system/cpu/online if it is usable.
48586
852eb34d
UD
48587 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
48588 reading the information from the /proc filesystem to once a second.
48589
6e502e19
UD
485902011-06-21 Andreas Jaeger <aj@suse.de>
48591
48592 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
48593 NULL after inclusion of kernel headers.
48594
75d39ff2
UD
485952011-06-21 Ulrich Drepper <drepper@gmail.com>
48596
51f9aa6a
UD
48597 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
48598 calls to internal_setent.
48599
c0244a9d
UD
48600 [BZ #12885]
48601 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
48602 addresses using gethostbyname4_r ignore IPv4 addresses.
48603
c5e3c2ae
UD
48604 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
48605 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
48606
75d39ff2
UD
48607 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
48608
42675c6f
DM
486092011-06-20 David S. Miller <davem@davemloft.net>
48610
48611 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
48612 inclusions.
48613 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
48614
48615 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
48616 (elf_irel): Use it.
48617 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
48618 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
48619 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
48620 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
48621 * sysdeps/x86_64/dl-irel.h: Likewise.
48622
48623 * elf/dl-runtime.c: Use elf_ifunc_invoke.
48624 * elf/dl-sym.c: Likewise.
48625
57912a71
UD
486262011-06-15 Ulrich Drepper <drepper@gmail.com>
48627
48628 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
48629 need to dereference resplen2.
48630
ee22793d
AS
486312011-06-14 Andreas Schwab <schwab@redhat.com>
48632
48633 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
48634
a9e836b0
UD
486352011-06-15 Ulrich Drepper <drepper@gmail.com>
48636
77fb9117
UD
48637 * Makeconfig: Define vardbdir and inst_vardbdir.
48638 * nss/Makefile: Add rules to install db-Makefile.
48639
40c1b22c
UD
48640 * nss/nss_db/db-XXX.c: Cleanup.
48641
9f2da732
UD
48642 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
48643 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
48644 GLIBC_PRIVATE.
48645 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
48646 * nss/makedb.c: Implement -g option to specify that value strings
48647 are generated and should not be added to table iterated over for
48648 get*ent calls.
48649 * nss/nss_db/db-initgroups.c: New file.
48650
82e9a1f7
UD
48651 * nss/getent.c: Add support for initgroups lookups through getgrouplist
48652 interface.
48653
c41af17e
UD
48654 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
48655 (internal_getgrouplist): Adjust to name change.
48656 Update use_initgroups_entry if this is not the first call.
48657 * nss/databases.def: Add initgroups entry.
48658
a9e836b0
UD
48659 * nss/makedb.c (compute_tables): Check result of multiple hash table
48660 sizes to minimize maximum chain length.
48661
2666d441
UD
486622011-06-14 Ulrich Drepper <drepper@gmail.com>
48663
48664 * Versions.def: Add entry for libnss_db.
48665 * shlib-versions: Likewise.
48666 * nss/Makefile: Add rules to build libnss_db.
48667 * nss/Versions: Add libnss_db information. Organize libnss_files
48668 entries better.
48669 * nss/db-Makefile: Add gshadow support. Change rules for the new
48670 makedb progra. Some minor improvements to generate smaller files.
48671 * nss/nss_db/nss_db.h: Move NSS database header data structures to
48672 here from...
48673 * nss/makedb.c: ...here.
48674 Improve database format to be smaller and require less memory at
48675 runtime.
48676 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
48677 db anymore.
48678 * nss/nss_db/db-netgrp.c: Likewise.
48679 * nss/nss_db/db-open.c: Likewise.
48680 * nss/nss_files/flies-XXX.x: Adjust comments.
48681 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
48682 * nss/nss_files/files-grp.c: Likewise.
48683 * nss/nss_files/files-hosts.c: Likewise.
48684 * nss/nss_files/files-network.c: Likewise.
48685 * nss/nss_files/files-proto.c: Likewise.
48686 * nss/nss_files/files-pwd.c: Likewise.
48687 * nss/nss_files/files-rpc.c: Likewise.
48688 * nss/nss_files/files-service.c: Likewise.
48689 * nss/nss_files/files-sgrp.c: Likewise.
48690 * nss/nss_files/files-spwd.c: Likewise.
48691 * nss/nss_db/db-alias.c: Removed.
48692 * nss/nss_db/dummy-db.h: Removed.
48693
9ee76b5a
UD
486942011-06-02 Ulrich Drepper <drepper@gmail.com>
48695
48696 * nss/makedb.c: Rewritten to not use database library.
48697 * nss/Makefile: Update to build new makedb program.
48698
c71ca1f8
AJ
486992011-06-14 Andreas Jaeger <aj@suse.de>
48700
48701 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
48702 memset declaration.
48703
3154bfb8
UD
487042011-06-10 Andreas Schwab <schwab@redhat.com>
48705
48706 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
48707 tmpbuf.
48708
b350afab
RM
487092011-06-10 Roland McGrath <roland@hack.frob.com>
48710
decd4e50
RM
48711 * Makerules (shlib.lds): Fail if the linker script comes out empty.
48712 * elf/Makefile ($(objpfx)ld.so): Likewise.
48713
5615eaf2
RM
48714 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
48715 Don't list ld.so twice in dependencies.
48716
48717 * posix/bug-regex31.c: Include <stdlib.h>.
48718
48719 * nscd/hstcache.c (cache_addhst): Remove unused variable.
48720
48721 * nis/nss_compat/compat-spwd.c
48722 (getspent_next_nss_netgr): Remove unused variable.
48723 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
48724
48725 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
48726 nonmembers" output to use the right array.
48727
48728 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
48729
48730 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
48731
48732 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
48733 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
48734 * catgets/gencat.c (read_input_file): Likewise.
48735 * locale/programs/locarchive.c (enlarge_archive): Likewise.
48736
48737 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
48738 variable definition inside #if's controlling its use.
48739
48740 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
48741
48742 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
48743
48744 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
48745
48746 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
48747 unreachable code.
48748
48749 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
48750
b68e08db
RM
48751 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
48752 * configure: Regenerated.
48753
b350afab
RM
48754 * Makerules: Revert last change.
48755 * elf/Makefile: Likewise.
48756
28368601
RM
487572011-06-09 Roland McGrath <roland@hack.frob.com>
48758
48759 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
48760 * elf/Makefile ($(objpfx)librtld.os): Likewise.
48761 (reloc-link): Likewise.
48762
11988f8f
UD
487632011-06-09 Ulrich Drepper <drepper@gmail.com>
48764
48765 * elf/Makefile: Add rules to build pldd.
48766 * elf/pldd.c: New file.
48767 * elf/pldd-xx.c: New file.
48768
e80fab37
UD
487692011-06-07 Ulrich Drepper <drepper@gmail.com>
48770
48771 * version.h: Update for 2.15 development version.
48772
9b849836
DM
487732011-06-07 David S. Miller <davem@davemloft.net>
48774
48775 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
48776 ifuncs.
48777 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
48778 elf_machine_lazy_rel): Likewise.
48779 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
48780 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
48781 elf_machine_lazy_rel): Likewise.
48782 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
48783 dl_hwcap via passed in argument.
48784 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
48785 Likewise.
48786
5a31b283
AK
487872011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
48788
48789 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
48790
069e52f8
RM
487912011-06-06 Roland McGrath <roland@hack.frob.com>
48792
48793 [BZ #12849]
48794 * manual/fdl-1.1.texi: New file, verbatim from:
48795 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
48796 * manual/lgpl-2.1.texi: New file, verbatim from:
48797 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
48798 * manual/Makefile (licenses): New variable, list those new file names.
48799 (texis): Use it.
48800 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
48801
48802 * manual/fdl.texi: File removed.
48803 * manual/lesser.texi: File removed.
48804 * manual/libc.texinfo (Copying, Documentation License):
48805 Use new @include file names, put @appendix directive before @include.
48806
f16846a5
JJ
488072011-06-04 Jakub Jelinek <jakub@redhat.com>
48808
48809 [BZ #12841]
48810 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
48811 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
48812 (mq_open): Add __NTH.
48813
3d29045b
L
488142011-06-02 H.J. Lu <hongjiu.lu@intel.com>
48815
48816 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
48817 Assume Intel Core i3/i5/i7 processor if AVX is available.
48818
8c297311
UD
488192011-05-31 Ulrich Drepper <drepper@gmail.com>
48820
48821 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
48822 typo.
48823
c8fc0c91
UD
488242011-05-31 Andreas Schwab <schwab@redhat.com>
48825
48826 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
48827 memory. Use alloca_account. Fix memory leak when retrying.
48828
5b27a807
UD
488292011-05-31 Ulrich Drepper <drepper@gmail.com>
48830
356f8bc6
UD
48831 * version.h (RELEASE): Bump for 2.14 release.
48832 * include/features.h (__GLIBC_MINOR__): Bump to 14.
48833
5b27a807
UD
48834 * config.make.in (RANLIB): Remove entry.
48835
01f16ab0
UD
488362011-05-30 Ulrich Drepper <drepper@gmail.com>
48837
41fce8bd
UD
48838 * po/Makefile (po-sed-cmd): Add ksh to extensions.
48839 (libc.pot): Work around missing support for .ksh extension in xgettext.
48840
4769ae77
UD
48841 [BZ #12684]
48842 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
48843 if both request failed.
48844 (send_dg): In case of server errors clear resplen or *resplen2.
48845
6b1e7d19
UD
48846 [BZ #12454]
48847 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
48848 when there are multiple maps.
48849 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
48850 (_dl_fini): Remove test here.
48851
01f16ab0
UD
48852 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
48853
b1ebd700
UD
488542011-05-29 Ulrich Drepper <drepper@gmail.com>
48855
7ae22829
UD
48856 [BZ #12350]
48857 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
48858 bit from old_res_options.
48859 (gaih_inet): Likewise.
48860
553149f6 48861 [BZ #11099]
18a84741 48862 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
48863 as signed.
48864
652ffab1
UD
48865 * resolv/res_init.c (res_setoptions): Make the code more compact.
48866
16985fd0
UD
48867 [BZ #11558]
48868 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
48869 set RES_USEVC.
48870
0464f746
UD
48871 [BZ #11634]
48872 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
48873
7d17596c
UD
48874 * malloc/malloc.h: Mark malloc hook variables as deprecated.
48875
cf6bbbd7
UD
48876 [BZ #11781]
48877 * malloc/malloc.h: Declare malloc hook variables as volatile.
48878
13f1ab36
UD
48879 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
48880 in last patch.
48881
b1ebd700
UD
48882 [BZ #11799]
48883 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 48884 raise in the comment.
80e2212d
UD
48885 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
48886 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
48887 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 48888
ce67228d
UD
488892011-05-28 Ulrich Drepper <drepper@gmail.com>
48890
8887a920
UD
48891 [BZ #12811]
48892 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
48893 grow the buffers more if it already has to be sufficient.
48894 (build_wcs_upper_buffer): Likewise.
48895 * posix/regexec.c (check_matching): Likewise.
48896 (clean_state_log_if_needed): Likewise.
48897 (extend_buffers): Don't enlarge buffers beyond size of the input
48898 buffer.
48899 Patches mostly by Emil Wojak <emil@wojak.eu>.
48900 * posix/bug-regex32.c: New file.
48901 * posix/Makefile (tests): Add bug-regex32.
48902
4f031072
UD
48903 * locale/findlocale.c (_nl_find_locale): Return right away if
48904 _nl_explode_name failed.
48905 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
48906
d0478f0c
UD
48907 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
48908
de81b246
UD
48909 * debug/xtrace.sh: Unify messages.
48910 * malloc/memusage.sh: Likewise.
48911
c738465a
UD
48912 [BZ #12813]
48913 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
48914 time symbol from vDSO. Substitute with vsyscall if not available.
48915 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
48916 __vdso_time.
48917
f1f929d7
UD
48918 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
48919 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
48920 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
48921 Add sendmmsg and internal_sendmmsg.
48922 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
48923 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
48924 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
48925
ce67228d
UD
48926 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
48927 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
48928 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
48929
e57420c6
UD
489302011-05-27 Ulrich Drepper <drepper@gmail.com>
48931
a8509ca5
UD
48932 [BZ #12813]
48933 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
48934 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
48935 available.
48936 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
48937 __vdso_getcpu.
48938
e57420c6
UD
48939 [BZ #12814]
48940 * iconvdata/Makefile (tests): Add bug-iconv9.
48941 * iconvdata/bug-iconv9.c: New file.
48942
4d07db15
AS
489432011-05-27 Andreas Schwab <schwab@redhat.com>
48944
48945 [BZ #12814]
48946 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
48947
ea486f69
JJ
489482011-05-25 Jakub Jelinek <jakub@redhat.com>
48949
48950 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
48951 (struct user_regs_struct): Change intcs field back to cs.
48952
6f038433
UD
489532011-05-25 Ulrich Drepper <drepper@gmail.com>
48954
48955 * po/ja.po: Update from translation team.
48956
67f86a25
UD
489572011-05-23 Ulrich Drepper <drepper@gmail.com>
48958
48959 [BZ #12795]
48960 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
48961 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
48962
def7fbd6
AS
489632011-05-20 Andreas Schwab <schwab@redhat.com>
48964
48965 * stdlib/longlong.h: Update from GCC.
48966
f50ef8f1
AS
489672011-05-23 Andreas Schwab <schwab@redhat.com>
48968
48969 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
48970 parameter name.
48971 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
48972 Add parameter name.
48973 (__sysconf): Pass it down.
48974
de7ce8f1
UD
489752011-05-22 Ulrich Drepper <drepper@gmail.com>
48976
f2962a71
UD
48977 [BZ #12671]
48978 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
48979 some situations.
48980 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
48981 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
48982 add in in __libc_use_alloca calls. Adjust callers.
48983 (glob): Use malloc in some situations.
48984
de7ce8f1
UD
48985 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
48986 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
48987 pltexit.
48988
aec84f53
UD
489892011-05-21 Ulrich Drepper <drepper@gmail.com>
48990
05bb4a68
UD
48991 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
48992 and CLOCK_BOOTTIME_ALARM.
48993
7ea72f99
UD
48994 [BZ #12782]
48995 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
48996 is returned.
48997
7e4afad5
UD
48998 * string/_strerror.c (__strerror_r): Print negative errors as signed
48999 numbers.
49000
8e211fec
UD
49001 [BZ #12777]
49002 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
49003 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
49004 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
49005
f7d82dc9
UD
49006 * configure.in: Fix typo in redirection and correct removal of test
49007 files in two cases.
49008
cc9e536d
UD
49009 [BZ #12788]
49010 * locale/setlocale.c (new_composite_name): Fix test to check for
49011 identical name of all categories.
49012
aec84f53
UD
49013 [BZ #12792]
49014 * libio/filedoalloc.c (local_isatty): New function.
49015 (_IO_file_doallocate): Use local_isatty.
49016 * stdio-common/perror.c (perror): In case a new stream is used
49017 forward the stream error.
49018 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
49019 error flag.
49020
78e64fdc
RT
490212011-05-20 Ulrich Drepper <drepper@gmail.com>
49022
34a9094f
UD
49023 [BZ #11869]
49024 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
49025 alloca.
49026 * include/alloca.h (extend_alloca_account): Define.
49027
78e64fdc
RT
49028 [BZ #11857]
49029 * posix/regex.h: Fix comments with documentation of user-accessible
49030 fields after compilation and describe correct free'ing of pattern
49031 after re_compile_pattern.
49032 Patch by Reuben Thomas <rrt@sc3d.org>.
49033
457bddfc
RA
490342011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
49035
49036 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
49037 and -mno-altivec to prevent the compiler from using Altivec and/or
49038 VSX instructions when the corresponding registers are not available.
49039
a4527b51
AS
490402011-05-19 Andreas Schwab <schwab@redhat.com>
49041
49042 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
49043
ed690b2f
UD
490442011-05-19 Ulrich Drepper <drepper@gmail.com>
49045
49046 * libio/freopen.c (freopen): Use __dup2, not dup2.
49047 * libio/freopen64.c (freopen64): Likewise.
49048
8db73634
L
490492011-05-17 H.J. Lu <hongjiu.lu@intel.com>
49050
49051 [BZ #12775]
49052 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
49053 * math/Makefile (tests): Add test-powl.
49054 (CFLAGS-test-powl.c): Define.
49055 * math/test-powl.c: New file.
49056
0a197a9d
L
490572011-05-16 H.J. Lu <hongjiu.lu@intel.com>
49058
49059 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
49060
ee30c380
UD
490612011-05-17 Ulrich Drepper <drepper@gmail.com>
49062
49063 [BZ #11837]
49064 * iconvdata/gb18030.c: Update to GB18020-2005.
49065
6ce75379
UD
490662011-05-16 Ulrich Drepper <drepper@gmail.com>
49067
a4b89fd8
AR
49068 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
49069 RE_SYNTAX_POSIX_AWK): Update to match recent development.
49070 Patch by Aharon Robbins <arnold@skeeve.com>.
49071
ea389b12
UD
49072 [BZ #11892]
49073 * stdlib/putenv.c (putenv): Don't always create copy of the variable
49074 on the stack.
49075
68a3f91f
UD
49076 [BZ #11895]
49077 * misc/pselect.c (__pselect): Handle timeout value errors hidden
49078 through underflows.
49079
15cc7dd1
UD
49080 [BZ #12766]
49081 * misc/error.c (error_at_line): Ensure file_name and old_file_name
49082 point to strings before performing equality test for error_one_per_line
49083 mode.
49084
f3799213
UD
49085 [BZ #11697]
49086 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
49087
d79a9c94
UD
49088 [BZ #11820]
49089 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
49090 (struct user_fpregs_struct): Avoid __uint*_t types.
49091
56e5eb46
UD
49092 [BZ #6420]
49093 * malloc/mtrace.c (tr_where): Add additional parameter to point to
49094 symbol info. Use it instead of calling _dl_addr locally.
49095 (lock_and_info): New function.
49096 (tr_freehook): Call lock_and_info and pass symbol info as additional
49097 parameter to tr_where.
49098 (tr_mallochook): Likewise.
49099 (tr_reallochook): Likewise.
49100 (tr_memalignhook): Likewise.
49101
6ce75379
UD
49102 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
49103 used and couldn't be at all thread-safe.
49104
f8a3b5bf
UD
491052011-05-15 Ulrich Drepper <drepper@gmail.com>
49106
94b7cc37
UD
49107 * libio/freopen.c (freopen): Don't close old file descriptor
49108 before the new one is opened. Instead dup the new file descriptor
49109 to the old one after the new stream is created.
49110 * libio/freopen64.c (freopen64): Likewise.
49111 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
49112 * libio/fileops.c (_IO_new_file_close_it): Handle new
49113 _IO_FLAGS2_NOCLOSE flag.
49114 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
49115 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
49116 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
49117 _IO_FLAGS2_NOCLOSE flag.
49118 * include/unistd.h: Add hidden_proto for dup3.
49119 Define __have_dup3.
49120 * io/dup3.c: Define hidden symbol.
49121 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
49122
bd25564e
UD
49123 [BZ #7101]
49124 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
49125 when an incomplete long option is used.
49126 * posix/tst-getopt_long1.c: New file.
49127 * posix/Makefile (tests): Add tst-getopt_long1.
49128
c84cfef4
UD
49129 [BZ #10138]
49130 * scripts/config.guess: Update from autoconf-2.68.
49131 * scripts/config.sub: Likewise.
49132
3b85df27
UD
49133 [BZ #10157]
49134 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
49135 tests into ...
49136 (has_cpuclock): ...this. New function.
49137 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
49138 macro here based on has_cpuclock code.
49139
15a856b1
UD
49140 [BZ #10149]
49141 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
49142 First byte (not low byte) is now always NUL.
49143 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
49144
05f399e6
UD
49145 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
49146 Use non-cancelable interfaces.
49147
10a52685 49148 [BZ #9809]
94ecc67d
UD
49149 * locale/iso-639.def: Add entry for Sorani.
49150
f8a3b5bf
UD
49151 [BZ #11901]
49152 * include/stdlib.h: Move include protection to the right place.
49153 Define abort_msg_s. Declare __abort_msg with it.
49154 * stdlib/abort.c (__abort_msg): Adjust type.
49155 * assert/assert.c (__assert_fail_base): New function. Majority
49156 of code from __assert_fail. Allocate memory for __abort_msg with
49157 mmap.
49158 (__assert_fail): Now call __assert_fail_base.
49159 * assert/assert-perr.c: Remove bulk of implementation. Use
49160 __assert_fail_base.
49161 * include/assert.hL Declare __assert_fail_base.
49162 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
49163 mmap.
49164 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
49165
1af4e298
UD
491662011-05-14 Ulrich Drepper <drepper@gmail.com>
49167
f8a3b5bf 49168 [BZ #11952]
d26dfc60
MG
49169 [BZ #12453]
49170 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
49171 until all modules are registered in the DTV.
49172 * elf/Makefile: Add rules to build and run tst-tls19.
49173 * elf/tst-tls19.c: New file.
49174 * elf/tst-tls19mod1.c: New file.
49175 * elf/tst-tls19mod2.c: New file.
49176 * elf/tst-tls19mod3.c: New file.
49177 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
49178
2fc54d6f
UD
49179 [BZ #12083]
49180 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
49181 correctly.
49182
98d76b46
UD
49183 [BZ #12601]
49184 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
49185 two-byte sequence errors.
49186 * iconvdata/Makefile (tests): Add bug-iconv8.
49187 * iconvdata/bug-iconv8.c: New file.
49188
da3c19ef
UD
49189 [BZ #12626]
49190 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
49191 buf2 definition.
49192
ca408c15
UD
49193 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
49194
d6f67f7d
UD
49195 [BZ #12432]
49196 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
49197 (dummy_getcfa): New function.
49198 (init): Get _Unwind_GetCFA address, use dummy if not found.
49199 (backtrace_helper): In recursion check, also check whether CFA changes.
49200 (__backtrace): Completely initialize arg.
49201
1af4e298 49202 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
49203 storing incomplete byte sequence in state object. Avoid testing for
49204 guaranteed too small input if we know there is enough data available.
1af4e298 49205
da62f81b
AS
492062011-05-11 Andreas Schwab <schwab@redhat.com>
49207
49208 * Makeconfig (+link-pie): Indent.
49209 * Rules (binaries-pie): Define if $(have-fpie) and
49210 $(build-shared).
49211 (binaries-shared): Also filter out $(binaries-pie).
49212 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
49213 * nscd/Makefile (others-pie): Add nscd.
49214 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
49215 ($(objpfx)nscd): Remove command override.
49216 * login/Makefile (others-pie): Add pt_chown.
49217 ($(objpfx)pt_chown): Remove command override.
49218 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
49219 remove command overrides.
49220
fcabc0f8
UD
492212011-05-13 Ulrich Drepper <drepper@gmail.com>
49222
20030ae6
UD
49223 * libio/tst_putwc.c: Fix error messages.
49224
fcabc0f8
UD
49225 [BZ #12724]
49226 * libio/fileops.c (_IO_new_file_close_it): Always flush when
49227 currently writing and seek to current position when not.
49228 * libio/Makefile (tests): Add bug-fclose1.
49229 * libio/bug-fclose1.c: New file.
49230
320a5dc0
PB
492312011-05-12 Ulrich Drepper <drepper@gmail.com>
49232
49233 [BZ #12511]
49234 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
49235 don't set DF_1_NODELETE here.
49236 (do_lookup_x): When entering new entry test for copy relocation
49237 and if necessary set DF_1_NODELETE flag.
49238 * elf/tst-unique4.cc: New file.
49239 * elf/tst-unique4.h: New file.
49240 * elf/tst-unique4lib.cc: New file.
49241 * elf/Makefile: Add rules to build and run tst-unique4.
49242 Patch by Piotr Bury <pbury@goahead.com>.
49243
22836f52
UD
492442011-05-11 Ulrich Drepper <drepper@gmail.com>
49245
f574184a
UD
49246 [BZ #12052]
49247 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
49248
e1fb097f
UD
49249 [BZ #12625]
49250 * misc/mntent_r.c (addmntent): Flush the stream after the output
49251
22836f52
UD
49252 [BZ #12393]
49253 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
49254 (is_trusted_path_normalize): Skip initial colon. Append slash
49255 to empty buffer. Duplicate is_trusted_path code but allow
49256 constructed patch to be prefix.
49257 (is_dst): Allow $ORIGIN followed by /.
49258 (_dl_dst_substitute): Correct clearing of check_for_trusted.
49259 Correct testing of result of is_trusted_path_normalize
49260 (decompose_rpath): Fix warning.
49261
7b3b0b2a
UD
492622011-05-10 Ulrich Drepper <drepper@gmail.com>
49263
49264 [BZ #11257]
49265 * grp/initgroups.c (internal_getgrouplist): When we found the service
49266 list through the initgroups entry in nsswitch.conf do not always
49267 continue on a successful lookup. Don't always use the
eac80ce2 49268 __nss_group_database value if it is set.
7b3b0b2a
UD
49269 * nss/nsswitch.conf (initgroups): Change action for successful db
49270 lookup to continue for compatibility.
49271
2a81eaa5
UD
492722011-05-09 Ulrich Drepper <drepper@gmail.com>
49273
be97a69e
UD
49274 [BZ #11532]
49275 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
49276 and CP774 modules.
49277 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
49278 and CP774 modules.
49279 * iconvdata/tst-tables.sh: Likewise.
49280 * iconvdata/cp770.c: New file.
49281 * iconvdata/cp771.c: New file.
49282 * iconvdata/cp772.c: New file.
49283 * iconvdata/cp773.c: New file.
49284 * iconvdata/cp774.c: New file.
49285 * iconvdata/testdata/CP770: New file.
49286 * iconvdata/testdata/CP770..UTF8: New file.
49287 * iconvdata/testdata/CP771: New file.
49288 * iconvdata/testdata/CP771..UTF8: New file.
49289 * iconvdata/testdata/CP772: New file.
49290 * iconvdata/testdata/CP772..UTF8: New file.
49291 * iconvdata/testdata/CP773: New file.
49292 * iconvdata/testdata/CP773..UTF8: New file.
49293 * iconvdata/testdata/CP774: New file.
49294 * iconvdata/testdata/CP774..UTF8: New file.
49295
49296 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
49297 END CHARMAP line.
49298 * iconvdata/gen-8bit-gap.sh: Likewise.
49299 * iconvdata/gen-8bit.sh: Likewise.
49300
c1e9e399
UD
49301 * locale/iso-639.def: Add ary entry.
49302
24c55fb3 49303 [BZ #11258]
96b4b1b0
UD
49304 * locale/C-translit.h.in: Add U20A1 transliteration.
49305
bdc2f971
KB
49306 [BZ #12178]
49307 * locale/iso-639.def: Add wae entry.
49308 Patch by Kevin Bortis <bortis@translate-wae.ch>.
49309
2952b117
UD
49310 [BZ #12545]
49311 * locale/programs/localedef.c (construct_output_path): Use ssize_t
49312 for n.
49313
2a81eaa5
UD
49314 [BZ #12711]
49315 * locale/C-translit.h.in: Add entry for U20B9.
49316 Patch by pravin.d.s@gmail.com.
49317
28377d1b
UD
493182011-05-08 Ulrich Drepper <drepper@gmail.com>
49319
7fb90fb8
UD
49320 [BZ #12713]
49321 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
49322 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
49323 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
49324 in rtld. Use *stat64.
7fb90fb8 49325 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 49326 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 49327 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
49328 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
49329 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
49330 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
49331 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
49332 __fstatat64 macros.
7fb90fb8
UD
49333 * include/dirent.h: Add libc_hidden_proto for rewinddir.
49334 * dirent/rewinddir.c: Add libc_hidden_def.
49335 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 49336 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 49337
28377d1b
UD
49338 * include/dirent.h (__alloc_dir): Add flags parameter.
49339 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
49340 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
49341 __alloc_dir.
49342 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
49343 from fdopendir if O_CLOEXEC is already set.
49344
66bdbaa4
AM
493452011-03-15 Alan Modra <amodra@gmail.com>
49346
49347 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
49348 l_tls_firstbyte_offset non-zero. Save padding offset in
49349 l_tls_firstbyte_offset for later use.
49350 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
49351 freeing static tls block.
49352
95721191
JN
493532011-03-05 Jonathan Nieder <jrnieder@gmail.com>
49354
49355 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
49356 where #ifdef was intended. The intent is to prevent ARG_MAX from
49357 being defined by the kernel headers.
49358
f87dfb1f
UD
493592011-05-07 Ulrich Drepper <drepper@gmail.com>
49360
49361 [BZ #12734]
49362 * resolv/resolv.h: Define RES_NOTLDQUERY.
49363 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
49364 no-tld-query and set RES_NOTLDQUERY.
49365 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
49366 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
49367 modern BIND to search name as TLD unless forbidden.
49368
47c3cd7a
UD
493692011-05-07 Petr Baudis <pasky@suse.cz>
49370 Ulrich Drepper <drepper@gmail.com>
49371
49372 [BZ #12393]
49373 * elf/dl-load.c (fillin_rpath): Move trusted path check...
49374 (is_trusted_path): ...to here.
c1e9ea35 49375 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 49376 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 49377 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 49378
8a35c912
PP
493792011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
49380
49381 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
49382 __BEGIN/__END_DECLS.
49383
acd41f47
UD
493842011-05-06 Ulrich Drepper <drepper@gmail.com>
49385
49386 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
49387 NSS_STATUS_NOTFOUND if no record was found.
49388
597df647
AS
493892011-05-05 Andreas Schwab <schwab@redhat.com>
49390
49391 * sunrpc/Makefile (headers): Add rpc/netdb.h.
49392 (headers-not-in-tirpc): Remove rpc/netdb.h
49393 * resolv/netdb.h: Revert last change.
49394
b9af1301
PP
493952011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
49396
49397 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
49398 circular dependency between libgcc.a and libc.a.
49399
4e34d5f5
AS
494002011-05-05 Andreas Schwab <schwab@redhat.com>
49401
49402 * resolv/netdb.h: Don't include <rpc/netdb.h>.
49403 * nis/Makefile: Don't install rpcsvc/*.
49404 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
49405 instead of <rpc/types.h>.
49406 (MAXHOSTNAMELEN): Define.
49407
00ee369c
AS
494082011-05-03 Andreas Schwab <schwab@redhat.com>
49409
49410 * elf/ldconfig.c (add_dir): Don't crash on empty path.
49411
0b592a30
MB
494122011-04-28 Maciej Babinski <mbabinski@google.com>
49413
49414 [BZ #12714]
49415 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
49416 gethostbyname4_r when IPv6 results are possible.
49417
6e04cbbe
UD
494182011-05-02 Ulrich Drepper <drepper@gmail.com>
49419
49420 [BZ #12723]
49421 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
49422 _PC_PIPE_BUF handling.
49423
e4ecafe0
BH
494242011-04-30 Bruno Haible <bruno@clisp.org>
49425
49426 [BZ #12717]
49427 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
49428 * resolv/netdb.h (getnameinfo): Change type of flags parameter
49429 to 'int'.
49430 * inet/getnameinfo.c (getnameinfo): Likewise.
49431
125ee683
UD
494322011-04-29 Ulrich Drepper <drepper@gmail.com>
49433
49434 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
49435 to groups setting in database lookup.
49436 * nss/nsswitch.conf: Add initgroups entry.
49437
b722481a
EB
494382011-04-22 Ulrich Drepper <drepper@gmail.com>
49439
49440 [BZ #12685]
49441 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
49442 mode string.
49443 Patch by Eric Blake <eblake@redhat.com>.
49444
4df46dbd
L
494452011-04-20 H.J. Lu <hongjiu.lu@intel.com>
49446
49447 * sunrpc/Makefile (need-export-routines): Add svc_run.
49448 (routines): Remove svc_run.
49449 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
49450 * sunrpc/clnt_perr.c (clnt_perrno): Export.
49451 * sunrpc/svc_run.c (svc_run): Likewise.
49452 * sunrpc/svc_udp.c (svcudp_create): Likewise.
49453
e84142d2
UD
494542011-04-21 Ulrich Drepper <drepper@gmail.com>
49455
49456 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
49457 problem in reallocation in last patch.
49458
877175d8
UD
494592011-04-20 Ulrich Drepper <drepper@gmail.com>
49460
49461 * sunrpc/Makefile: Move inclusion of Rules.
49462
ab8eed78
UD
494632011-04-19 Ulrich Drepper <drepper@gmail.com>
49464
49465 * nss/nss_files/files-initgroups.c: New file.
49466 * nss/Makefile (libnss_files-routines): Add files-initgroups.
49467 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
49468 _nss_files_initgroups_dyn.
49469
e3d8f584
RS
494702011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
49471
49472 * elf/elf.h (R_ARM_IRELATIVE): Define.
49473
af190f45
UD
494742011-04-19 Ulrich Drepper <drepper@gmail.com>
49475
49476 * po/ru.po: Update from translation team.
49477
53cf59ef
UD
494782011-04-17 Ulrich Drepper <drepper@gmail.com>
49479
49480 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
49481 dependencies.
49482
4c559bcd
MF
494832011-02-06 Mike Frysinger <vapier@gentoo.org>
49484
49485 [BZ #12653]
49486 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
49487 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
49488 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
49489 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
49490 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
49491
4420675c
AS
494922011-03-28 Andreas Schwab <schwab@linux-m68k.org>
49493
49494 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
49495 differing bytes.
49496 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
49497 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
49498 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
49499
75ea32ab
UD
495002011-04-17 Ulrich Drepper <drepper@gmail.com>
49501
49502 [BZ #12420]
49503 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
49504 storing it.
49505 * stdlib/bug-getcontext.c: New file.
49506 * stdlib/Makefile: Add rules to build and run bug-getcontext.
49507
27390476
AK
495082011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
49509
49510 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
49511 instructions into .machine "z9-109".
49512 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
49513 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
49514
10442705
AK
495152011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
49516
49517 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
49518 between environment variables and auxiliary vector.
49519
7b57bfe5
UD
495202011-04-16 Ulrich Drepper <drepper@gmail.com>
49521
49522 * Makefile: Add rules to build linkobj/libc.so.
49523 * include/libc-symbols.h: Define libc_hidden_nolink.
49524 * include/rpc/auth.h: Mark functions which are to be hidden.
49525 * include/rpc/auth_des.h: Likewise.
49526 * include/rpc/auth_unix.h: Likewise.
49527 * include/rpc/clnt.h: Likewise.
49528 * include/rpc/des_crypt.h: Likewise.
49529 * include/rpc/key_prot.h: Likewise.
49530 * include/rpc/pmap_clnt.h: Likewise.
49531 * include/rpc/pmap_prot.h: Likewise.
49532 * include/rpc/pmap_rmt.h: Likewise.
49533 * include/rpc/rpc_msg.h: Likewise.
49534 * include/rpc/svc.h: Likewise.
49535 * include/rpc/svc_auth.h: Likewise.
49536 * include/rpc/xdr.h: Likewise.
49537 * nis/Makefile: Link all DSOs against linkobj/libc.so.
49538 * nss/Makefile: Likewise.
49539 * sunrpc/Makefile: Don't install headers. Build library with normal
49540 entry points. Don't build rpcinfo. Link RPC tests appropriately.
49541 * sunrpc/auth_des.c: Hide exported symbols by default, export some
49542 for the compat linking library. Remove use of INTDEF/INTUSE.
49543 * sunrpc/auth_none.c: Likewise.
49544 * sunrpc/auth_unix.c: Likewise.
49545 * sunrpc/authdes_prot.c: Likewise.
49546 * sunrpc/authuxprot.c: Likewise.
49547 * sunrpc/clnt_gen.c: Likewise.
49548 * sunrpc/clnt_perr.c: Likewise.
49549 * sunrpc/clnt_raw.c: Likewise.
49550 * sunrpc/clnt_simp.c: Likewise.
49551 * sunrpc/clnt_tcp.c: Likewise.
49552 * sunrpc/clnt_udp.c: Likewise.
49553 * sunrpc/clnt_unix.c: Likewise.
49554 * sunrpc/des_crypt.c: Likewise.
49555 * sunrpc/des_soft.c: Likewise.
49556 * sunrpc/get_myaddr.c: Likewise.
49557 * sunrpc/key_call.c: Likewise.
49558 * sunrpc/key_prot.c: Likewise.
49559 * sunrpc/netname.c: Likewise.
49560 * sunrpc/pm_getmaps.c: Likewise.
49561 * sunrpc/pm_getport.c: Likewise.
49562 * sunrpc/pmap_clnt.c: Likewise.
49563 * sunrpc/pmap_prot.c: Likewise.
49564 * sunrpc/pmap_prot2.c: Likewise.
49565 * sunrpc/pmap_rmt.c: Likewise.
49566 * sunrpc/publickey.c: Likewise.
49567 * sunrpc/rpc_cmsg.c: Likewise.
49568 * sunrpc/rpc_common.c: Likewise.
49569 * sunrpc/rpc_dtable.c: Likewise.
49570 * sunrpc/rpc_prot.c: Likewise.
49571 * sunrpc/rpc_thread.c: Likewise.
49572 * sunrpc/rtime.c: Likewise.
49573 * sunrpc/svc.c: Likewise.
49574 * sunrpc/svc_auth.c: Likewise.
49575 * sunrpc/svc_authux.c: Likewise.
49576 * sunrpc/svc_raw.c: Likewise.
49577 * sunrpc/svc_run.c: Likewise.
49578 * sunrpc/svc_simple.c: Likewise.
49579 * sunrpc/svc_tcp.c: Likewise.
49580 * sunrpc/svc_udp.c: Likewise.
49581 * sunrpc/svc_unix.c: Likewise.
49582 * sunrpc/svcauth_des.c: Likewise.
49583 * sunrpc/xcrypt.c: Likewise.
49584 * sunrpc/xdr.c: Likewise.
49585 * sunrpc/xdr_array.c: Likewise.
49586 * sunrpc/xdr_float.c: Likewise.
49587 * sunrpc/xdr_intXX_t.c: Likewise.
49588 * sunrpc/xdr_mem.c: Likewise.
49589 * sunrpc/xdr_rec.c: Likewise.
49590 * sunrpc/xdr_ref.c: Likewise.
49591 * sunrpc/xdr_sizeof.c: Likewise.
49592 * sunrpc/xdr_stdio.c: Likewise.
49593
e6c61494
UD
495942011-04-10 Ulrich Drepper <drepper@gmail.com>
49595
49596 [BZ #12650]
49597 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
49598 * sysdeps/ia64/dl-tls.h: Likewise.
49599 * sysdeps/powerpc/dl-tls.h: Likewise.
49600 * sysdeps/s390/dl-tls.h: Likewise.
49601 * sysdeps/sh/dl-tls.h: Likewise.
49602 * sysdeps/sparc/dl-tls.h: Likewise.
49603 * sysdeps/x86_64/dl-tls.h: Likewise.
49604 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
49605
34fe483e
AS
496062011-03-14 Andreas Schwab <schwab@redhat.com>
49607
49608 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
49609 rpath element also skip the following colon.
49610 (expand_dynamic_string_token): Add is_path parameter and pass
49611 down to DL_DST_REQUIRED and _dl_dst_substitute.
49612 (decompose_rpath): Call expand_dynamic_string_token with
49613 non-zero is_path. Ignore empty rpaths.
49614 (_dl_map_object_from_fd): Call expand_dynamic_string_token
49615 with zero is_path.
49616
f12a32e6
AS
496172011-04-08 Andreas Schwab <schwab@linux-m68k.org>
49618
49619 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
49620 Make cancelable.
49621
38a7d692
UD
496222011-04-09 Ulrich Drepper <drepper@gmail.com>
49623
49624 [BZ #12655]
49625 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
49626 Patch by Filipe David Manana <fdmanana@apache.org>.
49627
e451d22b
AS
496282011-04-07 Andreas Schwab <schwab@redhat.com>
49629
49630 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
49631 Maintain aligned stack.
49632 (CHECK_RSP): Remove unused macro.
49633
dedc7c7b
UD
496342011-04-03 Ulrich Drepper <drepper@gmail.com>
49635
49636 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
49637 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
49638
94521213
UD
496392011-04-02 Ulrich Drepper <drepper@gmail.com>
49640
49641 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
49642
8cb700c0 49643 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 49644
0354e355
L
496452011-03-26 H.J. Lu <hongjiu.lu@intel.com>
49646
49647 [BZ #12518]
49648 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
49649 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
49650 * sysdeps/x86_64/memmove.c: New file.
49651 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
49652 (memcpy): Renamed to ...
49653 (__new_memcpy): This.
49654 (memcpy): Provide GLIBC_2_14 memcpy.
49655 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
49656 (memcpy): Provide GLIBC_2_2_5 memcpy.
49657
8593482f
UD
496582011-04-01 Ulrich Drepper <drepper@gmail.com>
49659
49660 [BZ #12631]
49661 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
49662
81a5726b
AS
496632011-03-30 Andreas Schwab <schwab@redhat.com>
49664
49665 * misc/syncfs.c: New file.
49666 * misc/Makefile (routines): Add syncfs.
49667 * posix/unistd.h: Declare syncfs.
49668 * sysdeps/unix/syscalls.list: Add syncfs.
49669
00e5419f
AS
496702011-04-01 Andreas Schwab <schwab@redhat.com>
49671
49672 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
49673 open_by_handle_at.
49674 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
49675 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
49676 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
49677 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
49678 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
49679 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
49680 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
49681
748876bf
UD
496822011-04-01 Ulrich Drepper <drepper@gmail.com>
49683
658e451d
UD
49684 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
49685 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
49686 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
49687 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
49688 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
49689 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
49690 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
49691
748876bf
UD
49692 * io/Makefile: Compile fallocate.c, fallocate64.c, and
49693 sync_file_range.c with -fexceptions.
49694 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
49695 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
49696 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
49697 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
49698 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
49699 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
49700 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
49701 sync_file_range as cancellation point
49702 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
49703 now a wrapper around __call_sync_file_range with cancellation handling.
49704 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
49705 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
49706 function name to __call_sync_file_range.
49707 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
49708 Add call_sync_file_range.
748876bf 49709
6e63d5e1
AS
497102011-04-01 Andreas Schwab <schwab@redhat.com>
49711
49712 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 49713 bits/timex.h.
6e63d5e1 49714
46998f74
UD
497152011-04-01 Ulrich Drepper <drepper@gmail.com>
49716
4c1423ed
UD
49717 * iconv/iconv.h: Fix typo in comment.
49718 * io/fcntl.h: Likewise.
49719 * libio/stdio.h: Likewise.
49720 * posix/spawn.h: Likewise.
49721 * posix/unistd.h: Likewise.
49722 * stdlib/stdlib.h: Likewise.
49723 * time/time.h: Likewise.
49724 * wcsmbs/wchar.h: Likewise.
49725
158648c0
UD
49726 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
49727 open_by_handle): Add.
49728 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
49729 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
49730 Augment a few comments.
49731 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
49732 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
49733 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
49734 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
49735 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
49736 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
49737 open_by_handle.
49738
46998f74
UD
49739 * io/fcntl.h (AT_EMPTY_PATH): Define.
49740
83fe108b
UD
497412011-03-30 Ulrich Drepper <drepper@gmail.com>
49742
49743 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
49744 * sysdeps/unix/sysv/linux/bits/time.h: New file.
49745 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
49746 to...
49747 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
49748 * Versions.def: Add GLIBC_2.14.
49749 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
49750 Export.
83fe108b 49751
bb242059
UD
497522011-03-22 Ulrich Drepper <drepper@gmail.com>
49753
49754 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
49755 round counter.
49756 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
49757
c97a1282
L
497582011-03-20 H.J. Lu <hongjiu.lu@intel.com>
49759
49760 [BZ #12597]
49761 * string/test-strncmp.c (do_page_test): New function.
49762 (check2): Likewise.
49763 (test_main): Call check2.
49764 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
49765
2a115601
UD
497662011-03-20 Ulrich Drepper <drepper@gmail.com>
49767
49768 [BZ #12587]
49769 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
49770 Handle cache information in CPU leaf 4.
49771 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
49772
8126d904
UD
497732011-03-18 Ulrich Drepper <drepper@gmail.com>
49774
042c49c6 49775 [BZ #12583]
8126d904
UD
49776 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
49777 character representation.
49778 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
49779
ccfe366e
RA
497802011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
49781
49782 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
49783 END(__isnan) to END(__isnanf) to match function entry point/label
49784 EALIGN(__isnanf,...).
49785
c6e13027
JJ
497862011-03-10 Jakub Jelinek <jakub@redhat.com>
49787
49788 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
49789
33f85a3f
UD
497902011-03-10 Ulrich Drepper <drepper@gmail.com>
49791
028478fa
UD
49792 [BZ #12510]
49793 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
49794 copy from the symbol referenced in the relocation to initialize the
49795 used variable.
49796 Patch by Piotr Bury <pbury@goahead.com>.
49797 * elf/Makefile: Add rules to build and tst-unique3.
49798 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
49799 * elf/tst-unique3.cc: New file.
49800 * elf/tst-unique3.h: New file.
49801 * elf/tst-unique3lib.cc: New file.
49802 * elf/tst-unique3lib2.cc: New file.
49803
33f85a3f
UD
49804 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
49805
03592fc7
MF
498062011-03-10 Mike Frysinger <vapier@gentoo.org>
49807
49808 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
49809 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
49810 to _start.
03592fc7 49811
6a5ee102
UD
498122011-03-06 Ulrich Drepper <drepper@gmail.com>
49813
49814 * elf/dl-load.c (_dl_map_object): If we are looking for the first
49815 to-be-loaded object along a path to loader is ld.so.
49816
7e4ba49c
HJ
498172011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
49818 Ulrich Drepper <drepper@gmail.com>
49819
49820 * sysdeps/x86_64/memset.S: After aligning destination, code
49821 branches to different locations depending on the value of
49822 misalignment, when multiarch is enabled. Fix this.
49823
498242011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
49825
49826 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
49827 Set _x86_64_preferred_memory_instruction for AMD processsors.
49828 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
49829 Set bit_Prefer_SSE_for_memop for AMD processors.
49830
13a804de
UD
498312011-03-04 Ulrich Drepper <drepper@gmail.com>
49832
49833 * libio/fmemopen.c (fmemopen): Optimize a bit.
49834
9d25c392
AS
498352011-03-03 Andreas Schwab <schwab@redhat.com>
49836
49837 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
49838
a5543c6a
RM
498392011-03-03 Roland McGrath <roland@redhat.com>
49840
49841 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
49842
012d35f7
DM
498432011-02-28 Aurelien Jarno <aurelien@aurel32.net>
49844
7e4ba49c 49845 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
49846 __bzero_ultra1 instead of __memset_ultra1.
49847
4bff6e01
AS
498482011-02-23 Andreas Schwab <schwab@redhat.com>
49849 Ulrich Drepper <drepper@gmail.com>
49850
49851 [BZ #12509]
49852 * include/link.h (struct link_map): Add l_orig_initfini.
49853 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
49854 returning unsuccessfully.
49855 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
49856 close of a file loaded at startup, restore the original l_initfini
49857 list.
49858 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
49859 list, store the pointer.
49860 * elf/Makefile ($(objpfx)noload-mem): New rule.
49861 (noload-ENV): Define.
49862 (tests): Add $(objpfx)noload-mem.
49863 * elf/noload.c: Include <memcheck.h>.
49864 (main): Call mtrace. Close all opened handles.
49865
f2092faf
AS
498662011-02-17 Andreas Schwab <schwab@redhat.com>
49867
49868 [BZ #12454]
49869 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
49870 dependencies are missing.
49871
6c8a2e88
ST
498722011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
49873
f2092faf 49874 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
49875 Hurd needs munmap.
49876 * sysdeps/mach/hurd/ifreq.h: New file.
49877
84a42118
PB
498782011-01-27 Petr Baudis <pasky@suse.cz>
49879 Ulrich Drepper <drepper@gmail.com>
49880
071f805e 49881 [BZ 12445]#
84a42118
PB
49882 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
49883 to extend_alloca().
49884 * stdio-common/bug23.c: New file.
49885 * stdio-common/Makefile (tests): Add bug23.
49886
e23fe25b
AS
498872010-09-28 Andreas Schwab <schwab@redhat.com>
49888 Ulrich Drepper <drepper@gmail.com>
49889
49890 [BZ #12489]
49891 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
49892 before performing relro protection. At old place add assertion
49893 to make sure nothing changed.
49894
d3f02e10
NS
498952011-02-17 Nathan Sidwell <nathan@codesourcery.com>
49896 Glauber de Oliveira Costa <glommer@gmail.com>
49897
49898 * elf/elf.h: Add new ARM TLS relocs.
49899
d55fd7a5
RA
499002011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
49901
49902 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
49903 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
49904 cast from r3.
49905 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
49906 'tests' variable.
49907 * sysdeps/wordsize-64/tst-writev.c: New file.
49908
2206397e
RA
499092011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
49910
49911 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
49912 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
49913 insns in _dl_start to prevent a TOC reference before relocs are
49914 resolved.
49915
e9433893
UD
499162011-02-15 Ulrich Drepper <drepper@gmail.com>
49917
49918 [BZ #12469]
49919 * Makeconfig: Remove RANLIB definition.
49920 * Makerules: Don't use RANLIB.
49921 * aclocal.m4: Remove ranlib test.
49922 * configure.in: No need to check for ranlib.
49923 * elf/rtld-Rules: Don't use RANLIB.
49924
f75286c6
ST
499252011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
49926
8e31c82d
ST
49927 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
49928 protection macro.
49929 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
49930 inclusion protection macro.
49931
f75286c6
ST
49932 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
49933 SIGRTMIN and SIGRTMAX and print information in that case only when
49934 SIGRTMIN is defined.
49935
c1d0e639
JJ
499362011-02-11 Jakub Jelinek <jakub@redhat.com>
49937
49938 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
49939 arginfo fn returning -1.
49940
49941 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
49942 and thousands string is zero terminated.
49943
edf9294e
AS
499442011-02-03 Andreas Schwab <schwab@redhat.com>
49945
49946 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
49947 sysdeps/unix/sysv/linux/bits/socket.h.
49948
2b7e92df
ST
499492011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
49950
edf9294e
AS
49951 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
49952 (__CPU_COUNT): Remove old macros.
49953 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
49954 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
49955 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
49956 (__sched_cpualloc, __sched_cpufree): Add declarations.
49957
a4c7ea7b
UD
499582011-02-05 Ulrich Drepper <drepper@gmail.com>
49959
49960 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
49961 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
49962 * nscd/aicache.c (addhstaiX): Return timeout of added value.
49963 (readdhstai): Return value of addhstaiX call.
49964 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
49965 (addgrbyX): Return value returned by cache_addgr.
49966 (readdgrbyname): Return value returned by addgrbyX.
49967 (readdgrbygid): Likewise.
49968 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
49969 (addpwbyX): Return value returned by cache_addpw.
49970 (readdpwbyname): Return value returned by addhstbyX.
49971 (readdpwbyuid): Likewise.
49972 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
49973 (addservbyX): Return value returned by cache_addserv.
49974 (readdservbyname): Return value returned by addservbyX:
49975 (readdservbyport): Likewise.
49976 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
49977 (addhstbyX): Return value returned by cache_addhst.
49978 (readdhstbyname): Return value returned by addhstbyX.
49979 (readdhstbyaddr): Likewise.
49980 (readdhstbynamev6): Likewise.
49981 (readdhstbyaddrv6): Likewise.
49982 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
49983 (readdinitgroups): Return value returned by addinitgroupsX.
49984 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
49985 (prune_cache): Keep track of timeout value of re-added entries.
49986 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
49987 * nscd/nscd.h: Adjust prototypes of readd* functions.
49988
a0bf67cc
RM
499892011-02-04 Roland McGrath <roland@redhat.com>
49990
49991 * nis/nis_server.c (nis_servstate): Use the right name for 0.
49992 (nis_stats): Likewise.
49993 * nis/nis_modify.c (nis_modify): Likewise.
49994 * nis/nis_remove.c (nis_remove): Likewise.
49995 * nis/nis_add.c (nis_add): Likewise.
49996
49997 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
49998
49999 * posix/fnmatch_loop.c: Add some consts.
50000
50001 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
50002
435b95eb
L
500032011-02-02 H.J. Lu <hongjiu.lu@intel.com>
50004
50005 [BZ #12460]
50006 * config.make.in (config-cflags-novzeroupper): Define.
50007 * configure.in: Substitute libc_cv_cc_novzeroupper.
50008 * elf/Makefile (AVX-CFLAGS): Define.
50009 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
50010 (CFLAGS-tst-auditmod4a.c): Likewise.
50011 (CFLAGS-tst-auditmod4b.c): Likewise.
50012 (CFLAGS-tst-auditmod6b.c): Likewise.
50013 (CFLAGS-tst-auditmod6c.c): Likewise.
50014 (CFLAGS-tst-auditmod7b.c): Likewise.
50015 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
50016
8517b15e
UD
500172011-02-02 Ulrich Drepper <drepper@gmail.com>
50018
50019 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
50020 function to the callback.
50021 Patch partly by Jiri Olsa <jolsa@redhat.com>.
50022
10a656fe
AS
500232011-02-02 Andreas Schwab <schwab@redhat.com>
50024
50025 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
50026 of errno.
50027
968dad0a
UD
500282011-01-19 Ulrich Drepper <drepper@gmail.com>
50029
9f94d2ea 50030 [BZ #11724]
968dad0a
UD
50031 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
50032 of constructors.
50033 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
50034 of destructors.
50035 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
50036
50037 [BZ #11724]
50038 * elf/Makefile: Add rules to build and run new test.
50039 * elf/tst-initorder.c: New file.
50040 * elf/tst-initorder.exp: New file.
50041 * elf/tst-initordera1.c: New file.
50042 * elf/tst-initordera2.c: New file.
50043 * elf/tst-initordera3.c: New file.
50044 * elf/tst-initordera4.c: New file.
50045 * elf/tst-initorderb1.c: New file.
50046 * elf/tst-initorderb2.c: New file.
50047 * elf/tst-order-a1.c: New file.
50048 * elf/tst-order-a2.c: New file.
50049 * elf/tst-order-a3.c: New file.
50050 * elf/tst-order-a4.c: New file.
50051 * elf/tst-order-b1.c: New file.
50052 * elf/tst-order-b2.c: New file.
50053 * elf/tst-order-main.c: New file.
50054 New test case by George Gensure <werkt0@gmail.com>.
50055
86e92359
UD
500562010-10-01 Andreas Schwab <schwab@redhat.com>
50057
50058 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
50059 decoding ACE if AI_CANONIDN.
50060
5d5732b0
UD
500612011-01-18 Ulrich Drepper <drepper@gmail.com>
50062
50063 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
50064
a77e8cbc
UD
500652011-01-17 Ulrich Drepper <drepper@gmail.com>
50066
6392473f
UD
50067 * version.h (RELEASE): Bump for 2.13 release.
50068 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
50069
620a0529
UD
50070 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
50071
18ba70a5
UD
50072 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
50073 MADV_NOHUGEPAGE.
32465c3e
UD
50074 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
50075 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
50076 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
50077 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
50078 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
50079 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
50080
c0dafcf1
UD
50081 * posix/getconf.c: Update copyright year.
50082 * catgets/gencat.c: Likewise.
50083 * csu/version.c: Likewise.
50084 * debug/catchsegv.sh: Likewise.
50085 * debug/xtrace.sh: Likewise.
50086 * elf/ldconfig.c: Likewise.
50087 * elf/ldd.bash.in: Likewise.
50088 * elf/sprof.c (print_version): Likewise.
50089 * iconv/iconv_prog.c: Likewise.
50090 * iconv/iconvconfig.c: Likewise.
50091 * locale/programs/locale.c: Likewise.
50092 * locale/programs/localedef.c: Likewise.
50093 * malloc/memusage.sh: Likewise.
50094 * malloc/mtrace.pl: Likewise.
50095 * nscd/nscd.c (print_version): Likewise.
50096 * nss/getent.c: Likewise.
50097
a77e8cbc
UD
50098 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
50099 PF_CAIF, and PF_ALG.
50100 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
50101
77e8bddf
AS
501022011-01-16 Andreas Schwab <schwab@linux-m68k.org>
50103
1f20b93a
AS
50104 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
50105 (modules-names): Use them.
50106 (ifunc-test-modules, ifunc-pie-tests): Define.
50107 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
50108 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
50109 (test-extras): Likewise.
50110 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
50111 $(compile-command.c).
50112 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
50113 (all-built-dso): Define.
50114 (check-textrel.out, check-execstack.out): Depend on it.
50115
77e8bddf
AS
50116 * configure.in: Don't override --enable-multi-arch.
50117
bc425b33
UD
501182011-01-15 Ulrich Drepper <drepper@gmail.com>
50119
50120 [BZ #6812]
50121 * nscd/hstcache.c (tryagain): Define.
50122 (cache_addhst): Return tryagain not notfound for temporary errors.
50123 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
50124 failed.
50125
794c3ad3
UD
501262011-01-14 Ulrich Drepper <drepper@gmail.com>
50127
70181fdd
UD
50128 [BZ #10563]
50129 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
50130 to make the syscall.
50131 * sysdeps/unix/sysv/linux/setgroups.c: New file.
50132
794c3ad3
UD
50133 [BZ #12378]
50134 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
50135 and fall back to matching as normal character if the string ends before
50136 the matching ']' is found. This is what POSIX requires.
50137 * posix/testfnm.c: Adjust test result.
50138 * posix/globtest.sh: Adjust test result. Add new test.
50139 * posix/tst-fnmatch.input: Likewise.
50140 * posix/tst-fnmatch2.c: Add new test.
50141
68dc9497
AS
501422010-12-28 Andreas Schwab <schwab@linux-m68k.org>
50143
50144 * elf/Makefile (check-execstack): Revert last change. Depend on
50145 check-execstack.h.
50146 (check-execstack.h): New target.
50147 (generated): Add check-execstack.h.
50148 * elf/check-execstack.c: Include "check-execstack.h".
50149 (main): Revert last change.
50150 (handle_file): Return zero if GNU_STACK is absent and
50151 DEFAULT_STACK_PERMS doesn't include PF_X.
50152
451f001b
UD
501532011-01-13 Ulrich Drepper <drepper@gmail.com>
50154
cfa28e56
UD
50155 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
50156 in child fails because the descriptor is already closed.
8cf8ce17
UD
50157 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
50158 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
50159 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 50160
1086d70d
UD
50161 [BZ #12397]
50162 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
50163 syscall.
50164
451f001b
UD
50165 [BZ #10484]
50166 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
50167 temporary buffer used to handle multi lookups locally.
a85b5cb4 50168 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 50169
08769175
UD
501702011-01-12 Ulrich Drepper <drepper@gmail.com>
50171
50172 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
50173 loader is ld.so.
50174
5e49c52e
UD
501752011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
50176
50177 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
50178 alignment for SSE2.
50179
60522a5f
UD
501802011-01-12 Ulrich Drepper <drepper@gmail.com>
50181
50182 [BZ #12394]
50183 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
50184 characters. When rounding increased number of integer digits recompute
50185 number of groups.
50186 * stdio-common/tst-grouping.c: New file.
50187 * stdio-common/Makefile: Add rules to build and run tst-grouping.
50188
f257bbd7
UD
501892011-01-09 Ulrich Drepper <drepper@gmail.com>
50190
50191 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
50192 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
50193
50194 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
50195 void.
50196 * bits/select.h: Likewise.
50197
fa9c15cb
UD
501982011-01-08 Ulrich Drepper <drepper@gmail.com>
50199
50200 * po/ja.po: Update from translation team.
50201
16c2895f
DM
502022011-01-04 David S. Miller <davem@sunset.davemloft.net>
50203
50204 [BZ #11155]
50205 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
50206 implementation just like for lxstat, fxstatat, et al.
50207
2543fef2
JM
502082010-12-27 Jim Meyering <meyering@redhat.com>
50209
50210 [BZ #12348]
50211 * posix/regexec.c (build_trtable): Return failure indication upon
50212 calloc failure. Otherwise, re_search_internal could infloop on OOM.
50213
98727dbe
UD
502142010-12-25 Ulrich Drepper <drepper@gmail.com>
50215
5bd6dc5c
UD
50216 [BZ #12201]
50217 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
50218 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
50219 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
50220 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
50221
97983464
UD
50222 [BZ #12207]
50223 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
50224
98727dbe
UD
50225 [BZ #12204]
50226 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
50227 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
50228
4a531bb0
L
502292010-12-15 H.J. Lu <hongjiu.lu@intel.com>
50230
50231 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
50232 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
50233 script has SORT_BY_INIT_PRIORITY.
50234 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
50235 NO_CTORS_DTORS_SECTIONS is defined.
50236 * elf/soinit.c: Likewise.
50237 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
50238 NO_CTORS_DTORS_SECTIONS is defined.
50239 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
50240 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
50241 * sysdeps/sh/init-first.c: Likewise.
50242 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
50243
07eb4b71
UD
502442010-12-24 Ulrich Drepper <drepper@gmail.com>
50245
50246 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
50247 always use the slow path.
50248
30950a5f
RA
502492010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
50250
50251 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
50252 similar rule which adds the sysdep directories to the header search in
50253 order to pick up the correct platform stackinfo.h.
50254 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
50255 perform test if it is, otherwise return successfully without testing.
50256 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
50257 DEFAULT_STACK_PERMS define in stackinfo.h.
50258 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
50259 defined in stackinfo.h.
50260 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
50261 DEFAULT_STACK_PERMS defined in stackinfo.h.
50262 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
50263 * sysdeps/ia64/stackinfo.h: Likewise.
50264 * sysdeps/s390/stackinfo.h: Likewise.
50265 * sysdeps/sh/stackinfo.h: Likewise.
50266 * sysdeps/sparc/stackinfo.h: Likewise.
50267 * sysdeps/x86_64/stackinfo.h: Likewise.
50268 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
50269 PF_X for powerpc64. Retain PF_X for powerpc32.
50270
db753e2c
UD
502712010-12-19 Ulrich Drepper <drepper@gmail.com>
50272
14b697f7
UD
50273 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
50274 accurately.
db753e2c
UD
50275 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
50276 GETDENTS_64BIT_ALIGNED.
50277
28300719
UD
502782010-12-14 Ulrich Drepper <dreper@gmail.com>
50279
14b697f7 50280 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 50281
4f197237
AS
502822010-12-10 Andreas Schwab <schwab@redhat.com>
50283
dbb0472f
AS
50284 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
50285 _GNU_SOURCE.
50286
4f197237
AS
50287 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
50288 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
50289 Remove __restrict.
50290 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
50291 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
50292
fb88ac72
UD
502932010-12-09 Ulrich Drepper <drepper@gmail.com>
50294
50295 [BZ #11655]
50296 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
50297 are initialized.
50298
42acbb92
JJ
502992010-12-09 Jakub Jelinek <jakub@redhat.com>
50300
50301 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
50302
c038d98d
UD
503032010-12-03 Ulrich Drepper <drepper@gmail.com>
50304
50305 * po/it.po: Update from translation team.
50306
3a4a2499
L
503072010-12-01 H.J. Lu <hongjiu.lu@intel.com>
50308
50309 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
50310 unused codes.
50311
1e24cf6e
UD
503122010-11-30 Ulrich Drepper <drepper@gmail.com>
50313
50314 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
50315
a7690819
AS
503162010-11-24 Andreas Schwab <schwab@redhat.com>
50317
50318 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
50319 specially.
50320 (gaih_getanswer_slice): Likewise.
50321
3bf8d1b1
JJ
503222010-10-20 Jakub Jelinek <jakub@redhat.com>
50323
50324 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
50325
6db52fbb
PB
503262010-05-31 Petr Baudis <pasky@suse.cz>
50327
50328 [BZ #11149]
50329 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
50330 silently even in the chroot mode.
50331
eaca7569
UD
503322010-11-22 Ulrich Drepper <drepper@gmail.com>
50333
50334 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
50335 last patch a bit. Pretty printing
50336
3056dcdb
UD
503372010-05-31 Petr Baudis <pasky@suse.cz>
50338
50339 [BZ #10085]
50340 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
50341 initialization of skip_initgroups_dyn.
50342
cf7c9078
UD
503432010-11-19 Ulrich Drepper <drepper@gmail.com>
50344
50345 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
50346 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
50347
a1fb5e3e
UD
503482010-11-16 Ulrich Drepper <drepper@gmail.com>
50349
50350 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
50351
3540d66b
AS
503522010-11-11 Andreas Schwab <schwab@redhat.com>
50353
50354 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
50355 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
50356 (tst-fnmatch-ENV): Set MALLOC_TRACE.
50357 ($(objpfx)tst-fnmatch-mem): New rule.
50358 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
50359 * posix/tst-fnmatch.c (main): Call mtrace.
50360
13b69574
L
503612010-11-11 H.J. Lu <hongjiu.lu@intel.com>
50362
50363 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
50364 Support Intel processor model 6 and model 0x2c.
50365
da93d214
LM
503662010-11-10 Luis Machado <luisgpm@br.ibm.com>
50367
50368 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
50369 signed comparison.
50370
8ca52c6e
L
503712010-11-09 H.J. Lu <hongjiu.lu@intel.com>
50372
50373 [BZ #12205]
50374 * string/test-strncasecmp.c (check_result): New function.
50375 (do_one_test): Use it.
50376 (check1): New function.
50377 (test_main): Use it.
50378 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
50379 Support strcasecmp and strncasecmp.
50380
69da074d
UD
503812010-11-08 Ulrich Drepper <drepper@gmail.com>
50382
50383 [BZ #12194]
50384 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
50385 * sysdeps/x86_64/bits/byteswap.h: Likewise.
50386
ff02d528
L
503872010-11-07 H.J. Lu <hongjiu.lu@intel.com>
50388
50389 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
50390 IFUNC support.
50391 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
50392 memset-x86-64.
50393 * sysdeps/x86_64/multiarch/bzero.S: New file.
50394 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
50395 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
50396 * sysdeps/x86_64/multiarch/memset.S: New file.
50397 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
50398 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
50399 Set bit_Prefer_SSE_for_memop for Intel processors.
50400 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
50401 Define.
50402 (index_Prefer_SSE_for_memop): Define.
50403 (HAS_PREFER_SSE_FOR_MEMOP): Define.
50404
344d0b54
LM
504052010-11-04 Luis Machado <luisgpm@br.ibm.com>
50406
50407 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
50408 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
50409
c0dde15b
UD
504102010-11-03 H.J. Lu <hongjiu.lu@intel.com>
50411
50412 [BZ #12191]
50413 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
50414 (__x86_64_raw_data_cache_size_half): Likewise.
50415 (__x86_64_raw_shared_cache_size): Likewise.
50416 (__x86_64_raw_shared_cache_size_half): Likewise.
50417
50418 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
50419 (__x86_64_raw_data_cache_size_half): Likewise.
50420 (__x86_64_raw_shared_cache_size): Likewise.
50421 (__x86_64_raw_shared_cache_size_half): Likewise.
50422 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
50423 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
50424 and __x86_64_raw_shared_cache_size_half. Round
50425 __x86_64_data_cache_size_half, __x86_64_data_cache_size
50426 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
50427 to multiple of 256 bytes.
50428
0e516e0e
MS
504292010-11-03 Ulrich Drepper <drepper@gmail.com>
50430
50431 [BZ #12167]
50432 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
50433 of inacessible symlinks. Verify result of symlink before returning it.
50434 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
50435 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
50436
0e012e87
ER
504372010-10-28 Erich Ritz <erichritz@gmail.com>
50438
50439 * math/math.h (isinf): Fix typo in comment.
50440
de0ff7bc
UD
504412010-11-01 Ulrich Drepper <drepper@gmail.com>
50442
50443 * po/da.po: Update from translation team.
50444
fa41c84d
UD
504452010-10-26 Ulrich Drepper <drepper@gmail.com>
50446
50447 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
50448 is added to the list.
50449
f0967738
AK
504502010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
50451 Ulrich Drepper <drepper@gmail.com>
50452
50453 * elf/dl-object.c (_dl_new_object): Don't append the new object to
50454 the global list here. Move code to...
50455 (_dl_add_to_namespace_list): ...here. New function.
50456 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
50457 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
50458 * elf/dl-load.c (lose): Don't remove the element from the list.
50459 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
50460 (_dl_map_object): Likewise.
50461
504622010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
50463
50464 [BZ #12159]
50465 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
50466 into all bytes of SSE register.
50467 Patch by Richard Li <richardpku@gmail.com>.
50468
f0967738 504692010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
50470
50471 [BZ #12140]
50472 * malloc/malloc.c (_int_free): Fill correct number of bytes when
50473 perturbing.
50474
d0b9e94f
MB
504752010-10-20 Michael B. Brutman <brutman@us.ibm.com>
50476
50477 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
50478 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
50479 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
50480 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
50481 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
50482 submachine.
50483 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
50484
8e9f92e9
AS
504852010-10-22 Andreas Schwab <schwab@redhat.com>
50486
50487 * include/dlfcn.h (__RTLD_SECURE): Define.
50488 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
50489 mode & __RTLD_SECURE instead.
50490 (open_path): Rename preloaded parameter to secure.
50491 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
50492 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
50493 * elf/dl-deps.c (openaux): Likewise.
50494 * elf/rtld.c (struct map_args): Remove is_preloaded.
50495 (map_doit): Don't use it.
50496 (dl_main): Likewise.
50497 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
50498 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
50499
bc96fbda
AS
505002010-09-09 Andreas Schwab <schwab@redhat.com>
50501
50502 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
50503 (sysd-rules-targets): Remove duplicates.
50504 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
50505 rtld-%.$o dependency.
50506
22cd1c9b
AS
505072010-10-18 Andreas Schwab <schwab@redhat.com>
50508
50509 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
50510 _dl_map_object do it.
50511
18edac48
UD
505122010-10-19 Ulrich Drepper <drepper@gmail.com>
50513
50514 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
50515 fast fma builtins, define the macros in the C99 standard.
50516 (FP_FAST_FMAF): Likewise.
50517 (FP_FAST_FMAL): Likewise.
50518 * sysdeps/x86_64/bits/mathdef.h: Likewise.
50519
50520 * bits/mathdef.h: Update copyright year.
50521 * sysdeps/powerpc/bits/mathdef.h: Likewise.
50522
d2050124
MM
505232010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
50524
50525 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
50526 builtins, define the macros in the C99 standard.
50527 (FP_FAST_FMAF): Likewise.
50528 (FP_FAST_FMAL): Likewise.
50529 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
50530 multiply/add.
50531 (FP_FAST_FMAF): Likewise.
50532
475facd1
JJ
505332010-10-15 Jakub Jelinek <jakub@redhat.com>
50534
50535 [BZ #3268]
50536 * math/libm-test.inc (fma_test): Some new testcases.
50537 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
50538 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
50539 y and infinite z. Do multiplication by C already in long double.
50540 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
50541 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
50542 y and infinite z. Do bitwise or of inexact bit into u.d.
50543 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
50544 * sysdeps/i386/fpu/s_fmaf.S: Removed.
50545 * sysdeps/i386/fpu/s_fma.S: Removed.
50546 * sysdeps/i386/fpu/s_fmal.S: Removed.
50547
7c08a05c
JJ
505482010-10-16 Jakub Jelinek <jakub@redhat.com>
50549
50550 [BZ #3268]
50551 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
50552 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
50553 computation is not scheduled after fetestexcept. Fix value
50554 of minimum denormal long double.
50555
f3f7372d
JJ
505562010-10-14 Jakub Jelinek <jakub@redhat.com>
50557
50558 [BZ #3268]
50559 * math/libm-test.inc (fma_test): Add some more tests.
50560 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
50561 correctly.
50562
14d43591
AS
505632010-10-15 Andreas Schwab <schwab@redhat.com>
50564
50565 * scripts/data/localplt-s390-linux-gnu.data: New file.
50566 * scripts/data/localplt-s390x-linux-gnu.data: New file.
50567
5e908464
JJ
505682010-10-13 Jakub Jelinek <jakub@redhat.com>
50569
50570 [BZ #3268]
50571 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
50572 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
50573 instead of dbl-64.
50574 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
50575 inlines.
50576 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
50577 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
50578 if one of x and y is very large and the other is subnormal.
50579 * sysdeps/s390/fpu/s_fmaf.c: New file.
50580 * sysdeps/s390/fpu/s_fma.c: New file.
50581 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
50582 * sysdeps/powerpc/fpu/s_fma.S: New file.
50583 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
50584 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
50585 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
50586
505872010-10-12 Jakub Jelinek <jakub@redhat.com>
50588
50589 [BZ #3268]
50590 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
50591 fma tests.
50592 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
50593 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
50594 * sysdeps/i386/i686/multiarch/s_fma.c: Include
50595 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
50596 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
50597 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
50598 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
50599
b833d51f
UD
506002010-10-12 Ulrich Drepper <drepper@redhat.com>
50601
50602 [BZ #12078]
50603 * posix/regcomp.c (parse_branch): One more memory leak plugged.
50604 * posix/bug-regex31.input: Add test case.
50605
1751705d
UD
506062010-10-11 Ulrich Drepper <drepper@gmail.com>
50607
e9b9cbf5
UD
50608 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
50609 * posix/bug-regex31.input: New file.
50610
50611 [BZ #12078]
50612 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
50613 (parse_sub_exp): Fix last change, use postorder.
50614
ef06edbe
UD
50615 * posix/bug-regex31.c: New file.
50616 * posix/Makefile: Add rules to build and run bug-regex31.
50617
a129c80d
UD
50618 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
50619
50620 [BZ #12078]
50621 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
50622
b76b818e
UD
50623 [BZ #12108]
50624 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
50625 to have entries in sys_siglist.
50626
1751705d
UD
50627 [BZ #12093]
50628 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
50629 be NULL.
50630
9ff8d36f
JJ
506312010-10-07 Jakub Jelinek <jakub@redhat.com>
50632
50633 [BZ #3268]
50634 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
50635 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
50636 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
50637 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
50638 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
50639 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
50640 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
50641 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
50642 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
50643 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
50644 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
50645 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
50646 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
50647 * math/ftestexcept.c (fetestexcept): Likewise.
50648 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
50649 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
50650 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
50651 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
50652 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
50653 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
50654 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
50655
af325969
UD
506562010-10-11 Ulrich Drepper <drepper@gmail.com>
50657
c579b202 50658 [BZ #12107]
af325969
UD
50659 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
50660 newline.
50661
67a67b95
UD
506622010-10-06 Ulrich Drepper <drepper@gmail.com>
50663
50664 * string/bug-strstr1.c: New file.
50665 * string/Makefile: Add rules to build and run bug-strstr1.
50666
5fb308bc
EB
506672010-10-05 Eric Blake <eblake@redhat.com>
50668
50669 [BZ #12092]
50670 * string/str-two-way.h (two_way_long_needle): Always clear memory
50671 when skipping input due to the shift table.
50672
45db99c7
UD
506732010-10-03 Ulrich Drepper <drepper@gmail.com>
50674
3b111893
UD
50675 [BZ #12005]
50676 * malloc/mcheck.c: Handle large requests.
50677
45db99c7
UD
50678 [BZ #12077]
50679 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
50680 for strncmp and strncasecmp.
50681 * string/stratcliff.c: Add tests for strcmp and strncmp.
50682 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
50683
cf7a1eb8
NI
506842010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
50685
50686 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
50687 __set_fpscr.
50688
6484ba5e
AJ
506892010-09-30 Andreas Jaeger <aj@suse.de>
50690
50691 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
50692 (CGROUP_SUPER_MAGIC): Define.
50693 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
50694 Handle btrfs and cgroup file systems.
50695 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
50696 Likewise.
50697
91c42559
LM
506982010-09-27 Luis Machado <luisgpm@br.ibm.com>
50699
50700 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
50701 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
50702
87a97932
AK
507032010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
50704
50705 [BZ #12067]
50706 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
50707 trying to locate the ELF header.
50708
c21cc9bc
AS
507092010-09-27 Andreas Schwab <schwab@redhat.com>
50710
50711 [BZ #11611]
50712 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
50713 Mask out sign-bit copies when constructing f_fsid.
50714
315970f6
PB
507152010-09-24 Petr Baudis <pasky@suse.cz>
50716
50717 * debug/stack_chk_fail_local.c: Add missing licence exception.
50718 * debug/warning-nop.c: Likewise.
50719
1ac7a2c7
JM
507202010-09-15 Joseph Myers <joseph@codesourcery.com>
50721
50722 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
50723 implementing getdents64 using getdents syscall, set d_type if
50724 __ASSUME_GETDENTS32_D_TYPE.
50725
56801c50
AS
507262010-09-16 Andreas Schwab <schwab@redhat.com>
50727
50728 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
50729 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
50730
dda51327
UD
507312010-09-21 Ulrich Drepper <drepper@redhat.com>
50732
50733 [BZ #12037]
50734 * posix/unistd.h: Undo change of feature selection for ftruncate from
50735 2010-01-11.
50736
8ffcee4a
UD
507372010-09-20 Ulrich Drepper <drepper@redhat.com>
50738
a545ecd9 50739 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
50740 detection.
50741
e24f0a8b
AS
507422010-09-20 Andreas Schwab <schwab@redhat.com>
50743
50744 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
50745 fanotify_mark.
50746 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
50747
7291c56f
AS
507482010-09-14 Andreas Schwab <schwab@redhat.com>
50749
50750 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
50751 variables after CHECK_SP call.
50752 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
50753
bc5fb037
AS
507542010-09-13 Andreas Schwab <schwab@redhat.com>
50755 Ulrich Drepper <drepper@redhat.com>
50756
50757 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
50758 re-relocationg ld.so.
50759 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
50760 _dl_init_paths call.
50761 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
50762 here anymore.
50763
e66e7419
UD
507642010-09-14 Ulrich Drepper <drepper@redhat.com>
50765
50766 * resolv/res_init.c (__res_vinit): Count the default server we added.
50767
c044aa75
CLT
507682010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
50769 Ulrich Drepper <drepper@redhat.com>
50770
50771 [BZ #11968]
50772 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
50773 (____longjmp_chk): Use %ebx for saving value across system call.
50774 Add unwind info.
50775
32cf4069
AS
507762010-09-06 Andreas Schwab <schwab@redhat.com>
50777
50778 * manual/Makefile: Don't mix pattern rules with normal rules.
50779
817328ee
AS
507802010-09-05 Andreas Schwab <schwab@linux-m68k.org>
50781
50782 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
50783 operation.
50784 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
50785 * libio/iofopncook.c (_IO_cookie_init): Likewise.
50786 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
50787 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
50788 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
50789 Likewise.
50790
29fddf61
UD
507912010-09-04 Ulrich Drepper <drepper@redhat.com>
50792
50793 [BZ #11979]
50794 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
50795 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
50796
0959ffc9
UD
507972010-09-02 Ulrich Drepper <drepper@redhat.com>
50798
50799 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
50800 * sysdeps/x86_64/addmul_1.S: Likewise.
50801 * sysdeps/x86_64/lshift.S: Likewise.
50802 * sysdeps/x86_64/mul_1.S: Likewise.
50803 * sysdeps/x86_64/rshift.S: Likewise.
50804 * sysdeps/x86_64/sub_n.S: Likewise.
50805 * sysdeps/x86_64/submul_1.S: Likewise.
50806
ece29840
ST
508072010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
50808
0959ffc9
UD
50809 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
50810 Define __sched_param instead of SCHED_* and sched_param when
ece29840 50811 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 50812 * bits/sched.h [__need_schedparam]
ece29840 50813 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
50814 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
50815 (__defined_schedparam): Define to 1.
ece29840
ST
50816 (__sched_param): New structure, identical to sched_param.
50817 (__need_schedparam): Undefine.
50818
e53a31fe
MF
508192010-08-31 Mike Frysinger <vapier@gentoo.org>
50820
fdc0c10d
MF
50821 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
50822 (epoll_create1): Declare.
50823
e53a31fe
MF
50824 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
50825
a726d796
AS
508262010-08-31 Andreas Schwab <schwab@redhat.com>
50827
50828 [BZ #7066]
50829 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
50830 shifting retval into place.
50831
2f3e3dc7
UD
508322010-09-01 Ulrich Drepper <drepper@redhat.com>
50833
f2933da9
UD
50834 * nis/rpcsvc/nis.h: Update copyright notice.
50835 * nis/rpcsvc/nis.x: Likewise.
50836 * nis/rpcsvc/nis_callback.h: Likewise.
50837 * nis/rpcsvc/nis_callback.x: Likewise.
50838 * nis/rpcsvc/nis_object.x: Likewise.
50839 * nis/rpcsvc/nis_tags.h: Likewise.
50840 * nis/rpcsvc/yp.h: Likewise.
50841 * nis/rpcsvc/yp.x: Likewise.
50842 * nis/rpcsvc/ypupd.h: Likewise.
50843 * nis/yp_xdr.c: Likewise.
50844 * nis/ypupdate_xdr.c: Likewise.
50845
2f3e3dc7
UD
50846 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
50847 mainly the body of pmap_getport. Add parameters to specify timeouts.
50848 (pmap_getport): Use __libc_rpc_getport.
50849 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
50850 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
50851 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
50852
f3dcc2f9
AS
508532010-08-31 Andreas Schwab <schwab@linux-m68k.org>
50854
50855 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
50856 fanotify_mark.
50857
6d34eb5b
RM
508582010-08-27 Roland McGrath <roland@redhat.com>
50859
50860 * sysdeps/i386/i686/multiarch/Makefile
50861 (CFLAGS-varshift.c): New variable.
50862
9ea3de11
UD
508632010-08-27 Ulrich Drepper <drepper@redhat.com>
50864
c96d23fc
UD
50865 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
50866 * sysdeps/i386/i686/multiarch/varshift.c: New file.
50867
9ea3de11
UD
50868 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
50869
50870 * sysdeps/x86_64/strlen.S: Minimal code improvement.
50871
623aac7f
L
508722010-08-26 H.J. Lu <hongjiu.lu@intel.com>
50873
50874 * sysdeps/x86_64/strlen.S: Unroll the loop.
50875 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
50876 strlen-sse2 strlen-sse2-bsf.
50877 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
50878 __strlen_no_bsf if bit_Slow_BSF is set.
50879 (__strlen_sse42): Removed.
50880 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
50881 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
50882
8b2b7715
RM
508832010-08-25 Roland McGrath <roland@redhat.com>
50884
50885 * sysdeps/x86_64/multiarch/varshift.S: File removed.
50886 * sysdeps/x86_64/multiarch/varshift.c: New file.
50887 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
50888 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
50889 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
50890 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
50891
e73015f2
L
508922010-08-25 H.J. Lu <hongjiu.lu@intel.com>
50893
50894 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
50895 strlen-sse2 strlen-sse2-bsf.
50896 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
50897 __strlen_sse2_bsf if bit_Slow_BSF is unset.
50898 (__strlen_sse2): Removed.
50899 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
50900 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
50901 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
50902 bit_Slow_BSF for Atom.
50903 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
50904 (index_Slow_BSF): Define.
50905 (HAS_SLOW_BSF): Define.
50906
df24a73e
UD
509072010-08-25 Ulrich Drepper <drepper@redhat.com>
50908
50909 [BZ #10851]
50910 * resolv/res_init.c (__res_vinit): When no server address at all
50911 is given default to loopback.
50912
f2ac4868
RM
509132010-08-24 Roland McGrath <roland@redhat.com>
50914
09055553
RM
50915 * configure.in: Remove config-name.h generation.
50916 * configure: Regenerated.
50917 * config-name.in: File removed.
50918 * scripts/config-uname.sh: New file.
50919 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
50920 ($(objdir)config-name.h): New target.
50921
f2ac4868
RM
50922 * sunrpc/rpc_parse.h: Avoid nested comment.
50923
73f27d5e
RH
509242010-08-24 Richard Henderson <rth@redhat.com>
50925 Ulrich Drepper <drepper@redhat.com>
50926 H.J. Lu <hongjiu.lu@intel.com>
50927
50928 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
50929 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
50930 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
50931 Replace _mm_srli_si128 with __m128i_shift_right. Replace
50932 _mm_alignr_epi8 with _mm_loadu_si128.
50933 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
50934 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
50935 (__m128i_shift_right): Removed.
50936 * sysdeps/i386/i686/multiarch/varshift.h: New file.
50937 * sysdeps/i386/i686/multiarch/varshift.S: New file.
50938 * sysdeps/x86_64/multiarch/varshift.h: New file.
50939 * sysdeps/x86_64/multiarch/varshift.S: New file.
50940
84b9230c
MF
509412010-08-21 Mike Frysinger <vapier@gentoo.org>
50942
50943 * configure.in: Move assembler checks to before sysdep dir checking.
50944
9bbd0ddc
PB
509452010-08-20 Petr Baudis <pasky@suse.cz>
50946
50947 * LICENSES: Sync the sunrpc license.
50948
9da4bb31
UD
509492010-08-19 Ulrich Drepper <drepper@redhat.com>
50950
a7ab6ec8
UD
50951 * sunrpc/auth_des.c: Update copyright notice once again.
50952 * sunrpc/auth_none.c: Likewise.
50953 * sunrpc/auth_unix.c: Likewise.
50954 * sunrpc/authdes_prot.c: Likewise.
50955 * sunrpc/authuxprot.c: Likewise.
50956 * sunrpc/bindrsvprt.c: Likewise.
50957 * sunrpc/clnt_gen.c: Likewise.
50958 * sunrpc/clnt_perr.c: Likewise.
50959 * sunrpc/clnt_raw.c: Likewise.
50960 * sunrpc/clnt_simp.c: Likewise.
50961 * sunrpc/clnt_tcp.c: Likewise.
50962 * sunrpc/clnt_udp.c: Likewise.
50963 * sunrpc/clnt_unix.c: Likewise.
50964 * sunrpc/des_crypt.c: Likewise.
50965 * sunrpc/des_soft.c: Likewise.
50966 * sunrpc/get_myaddr.c: Likewise.
50967 * sunrpc/getrpcport.c: Likewise.
50968 * sunrpc/key_call.c: Likewise.
50969 * sunrpc/key_prot.c: Likewise.
50970 * sunrpc/openchild.c: Likewise.
50971 * sunrpc/pm_getmaps.c: Likewise.
50972 * sunrpc/pm_getport.c: Likewise.
50973 * sunrpc/pmap_clnt.c: Likewise.
50974 * sunrpc/pmap_prot.c: Likewise.
50975 * sunrpc/pmap_prot2.c: Likewise.
50976 * sunrpc/pmap_rmt.c: Likewise.
50977 * sunrpc/rpc/auth.h: Likewise.
50978 * sunrpc/rpc/auth_unix.h: Likewise.
50979 * sunrpc/rpc/clnt.h: Likewise.
50980 * sunrpc/rpc/des_crypt.h: Likewise.
50981 * sunrpc/rpc/key_prot.h: Likewise.
50982 * sunrpc/rpc/netdb.h: Likewise.
50983 * sunrpc/rpc/pmap_clnt.h: Likewise.
50984 * sunrpc/rpc/pmap_prot.h: Likewise.
50985 * sunrpc/rpc/pmap_rmt.h: Likewise.
50986 * sunrpc/rpc/rpc.h: Likewise.
50987 * sunrpc/rpc/rpc_des.h: Likewise.
50988 * sunrpc/rpc/rpc_msg.h: Likewise.
50989 * sunrpc/rpc/svc.h: Likewise.
50990 * sunrpc/rpc/svc_auth.h: Likewise.
50991 * sunrpc/rpc/types.h: Likewise.
50992 * sunrpc/rpc/xdr.h: Likewise.
50993 * sunrpc/rpc_clntout.c: Likewise.
50994 * sunrpc/rpc_cmsg.c: Likewise.
50995 * sunrpc/rpc_common.c: Likewise.
50996 * sunrpc/rpc_cout.c: Likewise.
50997 * sunrpc/rpc_dtable.c: Likewise.
50998 * sunrpc/rpc_hout.c: Likewise.
50999 * sunrpc/rpc_main.c: Likewise.
51000 * sunrpc/rpc_parse.c: Likewise.
51001 * sunrpc/rpc_parse.h: Likewise.
51002 * sunrpc/rpc_prot.c: Likewise.
51003 * sunrpc/rpc_sample.c: Likewise.
51004 * sunrpc/rpc_scan.c: Likewise.
51005 * sunrpc/rpc_scan.h: Likewise.
51006 * sunrpc/rpc_svcout.c: Likewise.
51007 * sunrpc/rpc_tblout.c: Likewise.
51008 * sunrpc/rpc_util.c: Likewise.
51009 * sunrpc/rpc_util.h: Likewise.
51010 * sunrpc/rpcinfo.c: Likewise.
51011 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
51012 * sunrpc/rpcsvc/key_prot.x: Likewise.
51013 * sunrpc/rpcsvc/klm_prot.x: Likewise.
51014 * sunrpc/rpcsvc/mount.x: Likewise.
51015 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
51016 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
51017 * sunrpc/rpcsvc/rex.x: Likewise.
51018 * sunrpc/rpcsvc/rstat.x: Likewise.
51019 * sunrpc/rpcsvc/rusers.x: Likewise.
51020 * sunrpc/rpcsvc/sm_inter.x: Likewise.
51021 * sunrpc/rpcsvc/spray.x: Likewise.
51022 * sunrpc/rpcsvc/yppasswd.x: Likewise.
51023 * sunrpc/rtime.c: Likewise.
51024 * sunrpc/svc.c: Likewise.
51025 * sunrpc/svc_auth.c: Likewise.
51026 * sunrpc/svc_authux.c: Likewise.
51027 * sunrpc/svc_raw.c: Likewise.
51028 * sunrpc/svc_run.c: Likewise.
51029 * sunrpc/svc_simple.c: Likewise.
51030 * sunrpc/svc_tcp.c: Likewise.
51031 * sunrpc/svc_udp.c: Likewise.
51032 * sunrpc/svc_unix.c: Likewise.
51033 * sunrpc/svcauth_des.c: Likewise.
51034 * sunrpc/xcrypt.c: Likewise.
51035 * sunrpc/xdr.c: Likewise.
51036 * sunrpc/xdr_array.c: Likewise.
51037 * sunrpc/xdr_float.c: Likewise.
51038 * sunrpc/xdr_mem.c: Likewise.
51039 * sunrpc/xdr_rec.c: Likewise.
51040 * sunrpc/xdr_ref.c: Likewise.
51041 * sunrpc/xdr_sizeof.c: Likewise.
51042 * sunrpc/xdr_stdio.c: Likewise.
51043
9da4bb31
UD
51044 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
51045 handling.
51046
bdaa77bc
AS
510472010-08-19 Andreas Schwab <schwab@redhat.com>
51048
51049 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
51050
fe2f79db
LM
510512010-08-19 Luis Machado <luisgpm@br.ibm.com>
51052
51053 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
51054 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
51055 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
51056 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
51057 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
51058 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
51059 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
51060 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
51061 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
51062 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
51063 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
51064 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
51065 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
51066 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
51067
b9b42ee0
AB
510682010-07-26 Anton Blanchard <anton@samba.org>
51069
51070 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
51071 * malloc/arena.c (heap_trim): Likewise.
51072
1c06ba31
UD
510732010-08-16 Ulrich Drepper <drepper@redhat.com>
51074
51075 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
51076 here. Not...
51077 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
51078 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
51079
f8392f40
L
510802010-08-12 H.J. Lu <hongjiu.lu@intel.com>
51081
51082 * sysdeps/i386/elf/Makefile: New file.
51083
3162f12e
AS
510842010-08-14 Andreas Schwab <schwab@linux-m68k.org>
51085
51086 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
51087 from fanotify_init.
51088 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
51089 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
51090
28c90b2c
UD
510912010-08-15 Ulrich Drepper <drepper@redhat.com>
51092
51093 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
51094 of strncasecmp_l.
1feccb6c 51095 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 51096
ca6bb004
UD
510972010-08-14 Ulrich Drepper <drepper@redhat.com>
51098
e9f82e0d
UD
51099 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
51100 strncase_l-nonascii.
51101 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
51102 Add strncase_l-ssse3.
51103 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
51104 * sysdeps/x86_64/strcmp.S: Likewise.
51105 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
51106 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
51107 * sysdeps/x86_64/strncase.S: New file.
51108 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
51109 * sysdeps/x86_64/strncase_l.S: New file.
51110 * string/Makefile (strop-tests): Add strncasecmp.
51111 * string/test-strncasecmp.c: New file.
51112
51113 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
51114 warning.
51115
ca6bb004
UD
51116 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
51117 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
51118
052fa7b3
AS
511192010-08-14 Andreas Schwab <schwab@linux-m68k.org>
51120
51121 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
51122
962dba78
UD
511232010-08-12 Ulrich Drepper <drepper@redhat.com>
51124
51125 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
51126 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
51127 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
51128
bebff237
AM
511292010-05-01 Alan Modra <amodra@gmail.com>
51130
51131 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
51132 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
51133 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
51134 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
51135 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
51136 tidying. Don't tail-call __sigjmp_save for static lib.
51137 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
51138 save location.
51139 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
51140 (CALL_MCOUNT): Add eh info, and nop after bl.
51141 (TAIL_CALL_SYSCALL_ERROR): New macro.
51142 (PSEUDO_RET): Use it.
51143 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
51144 Correct save location of integer regs and cr.
51145 (_dl_profile_resolve): Correct cr save location. Delete nops
51146 after bl when SHARED. Reduce cfi size a little by better
51147 placement of cfi directives.
51148 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
51149 make a stack frame. Instead use parm save area as a temp.
51150 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
51151 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
51152 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
51153 Don't make a stack frame for parent, use parm save area.
51154 Increase child stack frame to 112 bytes. Don't save unused reg,
51155 and adjust reg usage. Set up cfi on error recovery and
51156 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
51157 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
51158 (__makecontext): Add dummy nop after jump to exit.
51159 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
51160 Use correct parm save area and cr save, reduce stack frame.
51161 Correct cfi for possible PSEUDO_RET frame setup.
51162 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
51163 Branch to local label emitted by PSEUDO_RET rather than
51164 __syscall_error.
51165
02637374
AS
511662010-08-12 Andreas Schwab <schwab@redhat.com>
51167
51168 [BZ #11904]
51169 * locale/programs/locale.c (print_assignment): New function.
51170 (show_locale_vars): Use it.
51171
c3e2f19b
UD
511722010-08-11 Ulrich Drepper <drepper@redhat.com>
51173
3cdaa6ad
UD
51174 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
51175 field.
51176 (struct statfs64): Likewise.
51177 (_STATFS_F_FLAGS): Define.
51178 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
51179 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
51180 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
51181 (ST_VALID): Define locally.
51182 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
51183 __statvfs_getflags, use the provided value.
51184 * sysdeps/unix/sysv/linux/kernel-features.h: Define
51185 __ASSUME_STATFS_F_FLAGS.
51186
754f7da3
UD
51187 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
51188
10b3bedc
UD
51189 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
51190 Add sys/fanotify.h.
51191 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
51192 fanotify_mask for GLIBC_2.13.
51193 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
51194 fanotify_init and fanotify_mark.
51195 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
51196 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
51197
c08fb0d7
UD
51198 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
51199 Add prlimit.
51200 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
51201 prlimit64 for GLIBC_2.13.
51202 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
51203 prlimit64.
51204 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
51205 syscall.
51206 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
51207 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
51208 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
51209 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
51210 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
51211 add prlimit alias.
51212 * sysdeps/unix/sysv/linux/prlimit.c: New file.
51213
15bac72b
UD
51214 [BZ #11903]
51215 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
51216 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
51217
c3e2f19b
UD
51218 * nss/Makefile: Add rules to build and run tst-nss-test1.
51219 * shlib-versions: Add entry for libnss_test1.
51220 * nss/nss_test1.c: New file.
51221 * nss/tst-nss-test1.c: New file.
51222
51223 * nss/nsswitch.c (__nss_database_custom): Define new variable.
51224 (__nss_configure_lookup): Set appropriate entry in
51225 __nss_configure_lookup to true.
51226 * nss/nsswitch.h: Define enum with indeces of databases in
51227 databases and __nss_database_custom arrays. Declare
51228 __nss_database_custom.
51229 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
51230 to avoid using nscd when custom rules are installed.
51231 * nss/getXXbyYY_r.c: Likewise.
51232 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
51233
51234 * nss/nss_files/files-parse.c: Whitespace fixes.
51235
f15ce4d8
UD
512362010-08-09 Ulrich Drepper <drepper@redhat.com>
51237
51238 [BZ #11883]
51239 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
51240 * posix/fnmatch_loop.c: Likewise.
51241
d22e4cc9
AK
512422010-07-17 Andi Kleen <ak@linux.intel.com>
51243
51244 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
51245 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
51246 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
51247 * Versions.def [GLIBC_2.13]: Add.
51248
805bc17d
UD
512492010-08-06 Ulrich Drepper <drepper@redhat.com>
51250
51251 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
51252 Also fail if tpwd after pwuid call is NULL.
51253
5a42321d
ST
512542010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
51255
51256 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
51257 when converting to ms.
51258
fd3ebeda
ST
512592010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
51260
51261 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
51262 EOPNOTSUPP errors with ENOTTY.
51263 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
51264 EOPNOTSUPP errors with ENOTTY.
51265
73507d3a
UD
512662010-07-31 Ulrich Drepper <drepper@redhat.com>
51267
51268 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
51269 Add strcasecmp_l-ssse3.
51270 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
51271 strcasecmp.
51272 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
51273 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
51274 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
51275
fe36dd02
UD
512762010-07-30 Ulrich Drepper <drepper@redhat.com>
51277
66f6765a
UD
51278 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
51279
42e08a54
UD
51280 * string/Makefile (strop-tests): Add strcasecmp.
51281 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
51282 strcasecmp_l-nonascii.
51283 (gen-as-const-headers): Add locale-defines.sym.
51284 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
51285 * sysdeps/x86_64/strcasecmp.S: New file.
51286 * sysdeps/x86_64/strcasecmp_l.S: New file.
51287 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
51288 * sysdeps/x86_64/locale-defines.sym: New file.
51289 * string/test-strcasecmp.c: New file.
51290
fe36dd02
UD
51291 * string/test-strcasestr.c: Test both ends of the range of characters.
51292 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
51293
48cbc0d6
RM
512942010-07-29 Roland McGrath <roland@redhat.com>
51295
76e6d6bc 51296 [BZ #11856]
48cbc0d6
RM
51297 * manual/locale.texi (Yes-or-No Questions): Fix example code.
51298
880113d9
UD
512992010-07-27 Ulrich Drepper <drepper@redhat.com>
51300
51301 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
51302 for ld.so.
51303
deb9cabb
AS
513042010-07-27 Andreas Schwab <schwab@redhat.com>
51305
51306 * manual/memory.texi (Malloc Tunable Parameters): Document
51307 M_PERTURB.
51308
1c7570ff
RM
513092010-07-26 Roland McGrath <roland@redhat.com>
51310
51311 [BZ #11840]
51312 * configure.in (-fgnu89-inline check): Set and substitute
51313 gnu89_inline, not libc_cv_gnu89_inline.
51314 * configure: Regenerated.
51315 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
51316
24fb0f88
UD
513172010-07-26 Ulrich Drepper <drepper@redhat.com>
51318
51319 * string/test-strnlen.c: New file.
51320 * string/Makefile (strop-tests): Add strnlen.
51321 * string/tester.c (test_strnlen): Add a few more test cases.
51322 * string/tst-strlen.c: Better error reporting.
51323
51324 * sysdeps/x86_64/strnlen.S: New file.
51325
8e96b93a
UD
513262010-07-24 Ulrich Drepper <drepper@redhat.com>
51327
51328 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
51329 lower-latency instructions.
51330
dbc676d4
UD
513312010-07-23 Ulrich Drepper <drepper@redhat.com>
51332
51333 * string/test-strcasestr.c: New file.
51334 * string/test-strstr.c: New file.
51335 * string/Makefile (strop-tests): Add strstr and strcasestr.
51336 * string/str-two-way.h: Don't undefine MAX.
51337 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
51338
f6a31e0e
AS
513392010-07-21 Andreas Schwab <schwab@redhat.com>
51340
51341 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
51342 strcasestr-nonascii.
51343 (CFLAGS-strcasestr-nonascii.c): Define.
51344 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
51345 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
51346 Remove unused attribute.
51347
5dbc3b6c
RM
513482010-07-20 Roland McGrath <roland@redhat.com>
51349
51350 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
51351 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
51352 ld.so.cache was broken. With it, there is no way to disable dsocaps
51353 like LD_HWCAP_MASK can disable hwcaps.
51354
23d101d8
EPM
513552010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
51356
51357 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
51358
cc9f2e47
UD
513592010-07-16 Ulrich Drepper <drepper@redhat.com>
51360
51361 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
51362 call in strcasestr.
51363 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
51364 __strcasestr_sse42_nonascii.
51365 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
51366 strcasestr-nonascii.c.
51367 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
51368
77c1b069
LM
513692010-06-15 Luis Machado <luisgpm@br.ibm.com>
51370
51371 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
51372 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
51373 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
51374 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
51375
440566c3
UD
513762010-07-09 Ulrich Drepper <drepper@redhat.com>
51377
51378 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
51379 fcntl.
51380
5be9d05d
AS
513812010-07-06 Andreas Schwab <schwab@redhat.com>
51382
c30b7ee2 51383 [BZ #11577]
5be9d05d
AS
51384 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
51385 dl_signal_cerror.
51386
8a492a67
UD
513872010-07-06 Ulrich Drepper <drepper@redhat.com>
51388
51389 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
51390 _PC_PIPE_BUF using F_GETPIPE_SZ.
51391
713df3d5
RM
513922010-07-05 Roland McGrath <roland@redhat.com>
51393
51394 * manual/arith.texi (Rounding Functions): Fix rint description
51395 implicit in round description.
51396
702e8f14
UD
513972010-07-02 Ulrich Drepper <drepper@redhat.com>
51398
51399 * elf/Makefile: Fix linking for a few tests to make recent linker
51400 happy.
51401
52ed8be9
AS
514022010-06-30 Andreas Schwab <schwab@redhat.com>
51403
51404 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
51405 $(common-objpfx)libc_nonshared.a.
51406
f47c9a11
LM
514072010-06-21 Luis Machado <luisgpm@br.ibm.com>
51408
51409 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
51410 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
51411 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
51412 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
51413 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
51414 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
51415 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
51416 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
51417 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
51418 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
51419 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
51420 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
51421 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
51422 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
51423 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
51424 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
51425 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
51426 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
51427 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
51428 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
51429 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
51430 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
51431 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
51432 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
51433 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
51434 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
51435 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
51436 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
51437 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
51438 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
51439 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
51440 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
51441 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
51442 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
51443 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
51444 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
51445 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
51446 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
51447 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
51448 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
51449 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
51450 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
51451 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
51452 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
51453 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
51454 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
51455 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
51456 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
51457
6fb8cbcb
L
514582010-06-25 H.J. Lu <hongjiu.lu@intel.com>
51459
51460 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
51461 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
51462 * string/memmove.c (memmove): Renamed to ...
51463 (MEMMOVE): ...this. Default to memmove.
51464 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
51465 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
51466 (END_CHK): Define.
51467 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
51468 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
51469 mempcpy-ssse3-back memmove-ssse3-back.
51470 * sysdeps/x86_64/multiarch/bcopy.S: New file .
51471 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
51472 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
51473 * sysdeps/x86_64/multiarch/memcpy.S: New file.
51474 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
51475 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
51476 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
51477 * sysdeps/x86_64/multiarch/memmove.c: New file.
51478 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
51479 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
51480 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
51481 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
51482 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
51483 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
51484 Define.
51485 (index_Fast_Copy_Backward): Define.
51486 (HAS_ARCH_FEATURE): Define.
51487 (HAS_FAST_REP_STRING): Define.
51488 (HAS_FAST_COPY_BACKWARD): Define.
51489
4e733bac 514902010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
51491
51492 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
51493 Restore proper fallback handling.
51494
63c4ed22
UD
514952010-06-19 Ulrich Drepper <drepper@redhat.com>
51496
ac2b484c
UD
51497 [BZ #11701]
51498 * posix/group_member.c (__group_member): Correct checking loop.
51499
63c4ed22
UD
51500 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
51501 OOM in getpwuid_r correctly. Return error number when the caller
51502 should return, otherwise -1.
51503 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
51504 call returning > 0 value.
51505 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
51506
765ade4b
AS
515072010-06-07 Andreas Schwab <schwab@redhat.com>
51508
51509 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
51510 libc_nonshared.a from targets in modules-names.
51511
80da2e09
KS
515122010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
51513
51514 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
51515 requires it.
51516
158db122
LM
515172010-06-10 Luis Machado <luisgpm@br.ibm.com>
51518
51519 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
51520 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
51521 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
51522 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
51523
caa78cf8
AS
515242010-06-02 Andreas Schwab <schwab@redhat.com>
51525
51526 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
51527
b2ef2c01
UD
515282010-06-14 Ulrich Drepper <drepper@redhat.com>
51529
51530 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
51531 and F_GETPIPE_SZ.
51532 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
51533 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
51534 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
51535 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
51536 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
51537 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
51538
fbd643b6
RM
515392010-06-14 Roland McGrath <roland@redhat.com>
51540
51541 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
51542
f32f2869
JJ
515432010-06-07 Jakub Jelinek <jakub@redhat.com>
51544
51545 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
51546 __REDIRECT followed by __THROW.
51547 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
51548 * posix/getopt.h (getopt): Likewise.
51549
2a50c078
EPM
515502010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
51551
51552 * hurd/lookup-at.c (__file_name_lookup_at): Accept
51553 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
51554 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
51555 in AT_FLAGS.
51556 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
51557 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
51558
eb5ad2eb
LM
515592010-05-28 Luis Machado <luisgpm@br.ibm.com>
51560
51561 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
51562
3c88fe1e
L
515632010-05-26 H.J. Lu <hongjiu.lu@intel.com>
51564
51565 [BZ #11640]
51566 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
51567 Properly check family and model.
51568
d2f73151
TY
515692010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
51570
51571 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
51572
ebd2e13d
LM
515732010-05-24 Luis Machado <luisgpm@br.ibm.com>
51574
51575 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
51576
b32b8b45
UD
515772010-05-21 Ulrich Drepper <drepper@redhat.com>
51578
51579 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
51580 symbol reference.
51581
9acbe24d
AS
515822010-05-19 Andreas Schwab <schwab@redhat.com>
51583
51584 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
51585 symbol reference.
51586
f0ccf6ea
AS
515872010-05-21 Andreas Schwab <schwab@redhat.com>
51588
3d04ff3a
AS
51589 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
51590 and internal_recvmmsg.
51591 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
51592 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
51593 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
51594 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
51595
f0ccf6ea
AS
51596 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
51597 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
51598 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
51599
5b08ac57
AS
516002010-05-20 Andreas Schwab <schwab@redhat.com>
51601
51602 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
51603
4828935d
LM
516042010-05-17 Luis Machado <luisgpm@br.ibm.com>
51605
51606 POWER7 optimizations.
51607 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
51608 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
51609
373d545e
UD
516102010-05-19 Ulrich Drepper <drepper@redhat.com>
51611
51612 * version.h: Update for 2.13 development version.
51613
21a2b1ae
AS
516142010-05-12 Andrew Stubbs <ams@codesourcery.com>
51615
51616 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
51617 exceptions. Return 0.
51618
3f7dcb2b
RM
516192010-05-07 Roland McGrath <roland@redhat.com>
51620
51621 * elf/ldconfig.c (main): Add a const.
51622
5f24d53a 516232010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 51624
a160f8d8
UD
51625 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
51626 (args_options): Add no-idn option.
51627 (ahosts_keys_int): Add idn_flags to ai_flags.
51628 (parse_option): Handle 'i' option to clear idn_flags.
51629
5f24d53a
UD
51630 * malloc/malloc.c (_int_free): Possible race in the most recently
51631 added check. Only act on the data if no current modification
51632 happened.
265bb1ce
UD
51633
51634See ChangeLog.17 for earlier changes.